2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.2.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
708 LIBGNOMEPRINTUI_CFLAGS
816 ICC_PCH_CREATE_SWITCH
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_DFB_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
943 COND_TOOLKIT_MGL_USE_GUI_1
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
966 COND_TOOLKIT_X11_USE_GUI_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1036 WXCONFIG_LDFLAGS_GUI
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1059 ac_precious_vars='build_alias
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1096 ac_subdirs_all='src/tiff
1099 # Initialize some variables set by options.
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1111 program_transform_name=s,x,x,
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1163 case $ac_dashdash$ac_option in
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1187 -datadir | --datadir | --datadi | --datad)
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1208 -docdir | --docdir | --docdi | --doc | --do)
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1256 htmldir=$ac_optarg ;;
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1270 -libdir | --libdir | --libdi | --libd)
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1361 -psdir | --psdir | --psdi | --psd | --ps)
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1374 sbindir=$ac_optarg ;;
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1385 sharedstatedir=$ac_optarg ;;
1387 -site | --site | --sit)
1389 -site=* | --site=* | --sit=*)
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1434 # Obsolete; use --with-x.
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1488 eval ac_val=\$$ac_var
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1502 target=$target_alias
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1518 test "$silent" = yes && exec 6>/dev/null
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1563 ac_srcdir_defaulted=no
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1593 # Report the --help message.
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1606 Defaults for the options are specified in brackets.
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1630 For better control, use the options below.
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.2:";;
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use 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-artstd use standard XPM icons in wxArtProvider
1813 --enable-arttango use Tango icons in wxArtProvider
1814 --enable-bmpbutton use wxBitmapButton class
1815 --enable-bmpcombobox use wxBitmapComboBox class
1816 --enable-button use wxButton class
1817 --enable-calendar use wxCalendarCtrl class
1818 --enable-caret use wxCaret class
1819 --enable-checkbox use wxCheckBox class
1820 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1821 --enable-choice use wxChoice class
1822 --enable-choicebook use wxChoicebook class
1823 --enable-collpane use wxCollapsiblePane class
1824 --enable-colourpicker use wxColourPickerCtrl class
1825 --enable-combobox use wxComboBox class
1826 --enable-comboctrl use wxComboCtrl class
1827 --enable-commandlinkbutton use wxCommmandLinkButton class
1828 --enable-dataviewctrl use wxDataViewCtrl class
1829 --enable-datepick use wxDatePickerCtrl class
1830 --enable-detect_sm use code to detect X11 session manager
1831 --enable-dirpicker use wxDirPickerCtrl class
1832 --enable-display use wxDisplay class
1833 --enable-editablebox use wxEditableListBox class
1834 --enable-filectrl use wxFileCtrl class
1835 --enable-filepicker use wxFilePickerCtrl class
1836 --enable-fontpicker use wxFontPickerCtrl class
1837 --enable-gauge use wxGauge class
1838 --enable-grid use wxGrid class
1839 --enable-headerctrl use wxHeaderCtrl class
1840 --enable-hyperlink use wxHyperlinkCtrl class
1841 --enable-imaglist use wxImageList class
1842 --enable-infobar use wxInfoBar class
1843 --enable-listbook use wxListbook class
1844 --enable-listbox use wxListBox class
1845 --enable-listctrl use wxListCtrl class
1846 --enable-notebook use wxNotebook class
1847 --enable-notifmsg use wxNotificationMessage class
1848 --enable-odcombobox use wxOwnerDrawnComboBox class
1849 --enable-popupwin use wxPopUpWindow class
1850 --enable-radiobox use wxRadioBox class
1851 --enable-radiobtn use wxRadioButton class
1852 --enable-richmsgdlg use wxRichMessageDialog class
1853 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1854 --enable-sash use wxSashWindow class
1855 --enable-scrollbar use wxScrollBar class and scrollable windows
1856 --enable-searchctrl use wxSearchCtrl class
1857 --enable-slider use wxSlider class
1858 --enable-spinbtn use wxSpinButton class
1859 --enable-spinctrl use wxSpinCtrl class
1860 --enable-splitter use wxSplitterWindow class
1861 --enable-statbmp use wxStaticBitmap class
1862 --enable-statbox use wxStaticBox class
1863 --enable-statline use wxStaticLine class
1864 --enable-stattext use wxStaticText class
1865 --enable-statusbar use wxStatusBar class
1866 --enable-taskbaricon use wxTaskBarIcon class
1867 --enable-tbarnative use native wxToolBar class
1868 --enable-textctrl use wxTextCtrl class
1869 --enable-tipwindow use wxTipWindow class
1870 --enable-togglebtn use wxToggleButton class
1871 --enable-toolbar use wxToolBar class
1872 --enable-toolbook use wxToolbook class
1873 --enable-treebook use wxTreebook class
1874 --enable-treectrl use wxTreeCtrl class
1875 --enable-commondlg use all common dialogs
1876 --enable-aboutdlg use wxAboutBox
1877 --enable-choicedlg use wxChoiceDialog
1878 --enable-coldlg use wxColourDialog
1879 --enable-filedlg use wxFileDialog
1880 --enable-finddlg use wxFindReplaceDialog
1881 --enable-fontdlg use wxFontDialog
1882 --enable-dirdlg use wxDirDialog
1883 --enable-msgdlg use wxMessageDialog
1884 --enable-numberdlg use wxNumberEntryDialog
1885 --enable-splash use wxSplashScreen
1886 --enable-textdlg use wxTextDialog
1887 --enable-tipdlg use startup tips
1888 --enable-progressdlg use wxProgressDialog
1889 --enable-wizarddlg use wxWizard
1890 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1891 --enable-miniframe use wxMiniFrame class
1892 --enable-tooltips use wxToolTip class
1893 --enable-splines use spline drawing code
1894 --enable-mousewheel use mousewheel
1895 --enable-validators use wxValidator and derived classes
1896 --enable-busyinfo use wxBusyInfo
1897 --enable-joystick use wxJoystick
1898 --enable-metafiles use wxMetaFile (Win32 only)
1899 --enable-dragimage use wxDragImage
1900 --enable-accessibility enable accessibility support
1901 --enable-uiactionsim use wxUIActionSimulator (experimental)
1902 --enable-palette use wxPalette class
1903 --enable-image use wxImage class
1904 --enable-gif use gif images (GIF file format)
1905 --enable-pcx use pcx images (PCX file format)
1906 --enable-tga use tga images (TGA file format)
1907 --enable-iff use iff images (IFF file format)
1908 --enable-pnm use pnm images (PNM file format)
1909 --enable-xpm use xpm images (XPM file format)
1910 --enable-ico_cur use Windows ICO and CUR formats
1911 --enable-dccache cache temporary wxDC objects (Win32 only)
1912 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1913 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1914 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1915 --enable-wxdib use wxDIB class (Win32 only)
1916 --enable-autoidman use automatic ids management
1917 --disable-largefile omit support for large files
1918 --disable-gtktest do not try to compile and run a test GTK+ program
1919 --disable-gtktest Do not try to compile and run a test GTK program
1920 --disable-sdltest Do not try to compile and run a test SDL program
1921 --enable-omf use OMF object format (OS/2)
1922 --disable-dependency-tracking
1923 don't use dependency tracking even if the compiler
1925 --disable-precomp-headers
1926 don't use precompiled headers even if compiler can
1929 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1930 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1931 --without-subdirs don't generate makefiles for samples/demos/...
1932 --with-flavour=NAME specify a name to identify this build
1933 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1934 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1935 --with-motif use Motif/Lesstif
1936 --with-osx_carbon use Mac OS X (Carbon)
1937 --with-osx_cocoa use Mac OS X (Cocoa)
1938 --with-osx_iphone use iPhone OS X port
1939 --with-osx use Mac OS X (default port, currently Carbon)
1940 --with-carbon same as --with-osx_carbon
1941 --with-cocoa same as --with-osx_cocoa
1942 --with-iphone same as --with-osx_iphone
1943 --with-mac same as --with-osx
1944 --with-old_cocoa use old, deprecated, Cocoa port
1945 --with-wine use Wine
1946 --with-msw use MS-Windows
1947 --with-pm use OS/2 Presentation Manager
1948 --with-mgl use SciTech MGL
1949 --with-directfb use DirectFB
1950 --with-microwin use MicroWindows
1952 --with-libpng use libpng (PNG image format)
1953 --with-libjpeg use libjpeg (JPEG file format)
1954 --with-libtiff use libtiff (TIFF file format)
1955 --with-libxpm use libxpm (XPM file format)
1956 --with-libiconv use libiconv (character conversion)
1957 --with-libmspack use libmspack (CHM help files loading)
1958 --without-gtkprint don't use GTK printing support
1959 --without-gnomeprint don't use GNOME printing libraries
1960 --with-gnomevfs use GNOME VFS for associating MIME types
1961 --with-hildon use Hildon framework for Nokia 770/800/810
1962 --with-opengl use OpenGL (or Mesa)
1963 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1964 --with-sdl use SDL for audio on Unix
1965 --with-regex enable support for wxRegEx class
1966 --with-zlib use zlib for LZW compression
1967 --with-expat enable XML support using expat parser
1968 --with-macosx-sdk=PATH use an OS X SDK at PATH
1969 --with-macosx-version-min=VER build binaries which require at least this OS X version
1970 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1971 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1972 --with-x use the X Window System
1973 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1974 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1975 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1976 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1977 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1979 Some influential environment variables:
1980 CC C compiler command
1981 CFLAGS C compiler flags
1982 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1983 nonstandard directory <lib dir>
1984 LIBS libraries to pass to the linker, e.g. -l<library>
1985 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1986 you have headers in a nonstandard directory <include dir>
1988 CXX C++ compiler command
1989 CXXFLAGS C++ compiler flags
1990 CXXCPP C++ preprocessor
1991 PKG_CONFIG path to pkg-config utility
1993 C compiler flags for DIRECTFB, overriding pkg-config
1995 linker flags for DIRECTFB, overriding pkg-config
1996 XMKMF Path to xmkmf, Makefile generator for X Window System
1998 C compiler flags for PANGOX, overriding pkg-config
1999 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2001 C compiler flags for PANGOFT2, overriding pkg-config
2003 linker flags for PANGOFT2, overriding pkg-config
2005 C compiler flags for PANGOXFT, overriding pkg-config
2007 linker flags for PANGOXFT, overriding pkg-config
2009 C compiler flags for GTKPRINT, overriding pkg-config
2011 linker flags for GTKPRINT, overriding pkg-config
2012 LIBGNOMEPRINTUI_CFLAGS
2013 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2014 LIBGNOMEPRINTUI_LIBS
2015 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2017 C compiler flags for GNOMEVFS, overriding pkg-config
2019 linker flags for GNOMEVFS, overriding pkg-config
2021 C compiler flags for HILDON, overriding pkg-config
2022 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2024 C compiler flags for HILDON2, overriding pkg-config
2026 linker flags for HILDON2, overriding pkg-config
2028 C compiler flags for CAIRO, overriding pkg-config
2029 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2030 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2031 GST_LIBS linker flags for GST, overriding pkg-config
2033 Use these variables to override the choices made by `configure' or to help
2034 it to find libraries and programs with nonstandard names/locations.
2036 Report bugs to <wx-dev@lists.wxwidgets.org>.
2041 if test "$ac_init_help" = "recursive"; then
2042 # If there are subdirs, report their specific --help.
2043 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2044 test -d "$ac_dir" || continue
2048 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2050 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2051 # A ".." for each directory in $ac_dir_suffix.
2052 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2053 case $ac_top_builddir_sub in
2054 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2055 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2058 ac_abs_top_builddir=$ac_pwd
2059 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2060 # for backward compatibility:
2061 ac_top_builddir=$ac_top_build_prefix
2064 .) # We are building in place.
2066 ac_top_srcdir=$ac_top_builddir_sub
2067 ac_abs_top_srcdir=$ac_pwd ;;
2068 [\\/]* | ?:[\\/]* ) # Absolute name.
2069 ac_srcdir=$srcdir$ac_dir_suffix;
2070 ac_top_srcdir=$srcdir
2071 ac_abs_top_srcdir=$srcdir ;;
2073 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2074 ac_top_srcdir=$ac_top_build_prefix$srcdir
2075 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2077 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2079 cd "$ac_dir" || { ac_status=$?; continue; }
2080 # Check for guested configure.
2081 if test -f "$ac_srcdir/configure.gnu"; then
2083 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2084 elif test -f "$ac_srcdir/configure"; then
2086 $SHELL "$ac_srcdir/configure" --help=recursive
2088 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2090 cd "$ac_pwd" || { ac_status=$?; break; }
2094 test -n "$ac_init_help" && exit $ac_status
2095 if $ac_init_version; then
2097 wxWidgets configure 2.9.2
2098 generated by GNU Autoconf 2.61
2100 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2101 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2102 This configure script is free software; the Free Software Foundation
2103 gives unlimited permission to copy, distribute and modify it.
2107 cat >config.log <<_ACEOF
2108 This file contains any messages produced by compilers while
2109 running configure, to aid debugging if configure makes a mistake.
2111 It was created by wxWidgets $as_me 2.9.2, which was
2112 generated by GNU Autoconf 2.61. Invocation command line was
2124 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2125 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2126 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2127 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2128 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2130 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2131 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2133 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2134 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2135 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2136 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2137 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2138 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2139 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 test -z "$as_dir" && as_dir=.
2148 echo "PATH: $as_dir"
2164 # Keep a trace of the command line.
2165 # Strip out --no-create and --no-recursion so they do not pile up.
2166 # Strip out --silent because we don't want to record it for future runs.
2167 # Also quote any args containing shell meta-characters.
2168 # Make two passes to allow for proper duplicate-argument suppression.
2172 ac_must_keep_next=false
2178 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2180 | -silent | --silent | --silen | --sile | --sil)
2183 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2186 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2188 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2189 if test $ac_must_keep_next = true; then
2190 ac_must_keep_next=false # Got value, back to normal.
2193 *=* | --config-cache | -C | -disable-* | --disable-* \
2194 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2195 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2196 | -with-* | --with-* | -without-* | --without-* | --x)
2197 case "$ac_configure_args0 " in
2198 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2201 -* ) ac_must_keep_next=true ;;
2204 ac_configure_args="$ac_configure_args '$ac_arg'"
2209 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2210 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2212 # When interrupted or exit'd, cleanup temporary files, and complete
2213 # config.log. We remove comments because anyway the quotes in there
2214 # would cause problems or look ugly.
2215 # WARNING: Use '\'' to represent an apostrophe within the trap.
2216 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2217 trap 'exit_status=$?
2218 # Save into config.log some information that might help in debugging.
2223 ## ---------------- ##
2224 ## Cache variables. ##
2225 ## ---------------- ##
2228 # The following way of writing the cache mishandles newlines in values,
2230 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2231 eval ac_val=\$$ac_var
2235 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2236 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2239 _ | IFS | as_nl) ;; #(
2240 *) $as_unset $ac_var ;;
2245 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2246 *${as_nl}ac_space=\ *)
2248 "s/'\''/'\''\\\\'\'''\''/g;
2249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2252 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2260 ## ----------------- ##
2261 ## Output variables. ##
2262 ## ----------------- ##
2265 for ac_var in $ac_subst_vars
2267 eval ac_val=\$$ac_var
2269 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2271 echo "$ac_var='\''$ac_val'\''"
2275 if test -n "$ac_subst_files"; then
2277 ## ------------------- ##
2278 ## File substitutions. ##
2279 ## ------------------- ##
2282 for ac_var in $ac_subst_files
2284 eval ac_val=\$$ac_var
2286 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2288 echo "$ac_var='\''$ac_val'\''"
2293 if test -s confdefs.h; then
2303 test "$ac_signal" != 0 &&
2304 echo "$as_me: caught signal $ac_signal"
2305 echo "$as_me: exit $exit_status"
2307 rm -f core *.core core.conftest.* &&
2308 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2311 for ac_signal in 1 2 13 15; do
2312 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2317 rm -f -r conftest* confdefs.h
2319 # Predefined preprocessor variables.
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_NAME "$PACKAGE_NAME"
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2331 cat >>confdefs.h <<_ACEOF
2332 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_STRING "$PACKAGE_STRING"
2341 cat >>confdefs.h <<_ACEOF
2342 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2346 # Let the site file select an alternate cache file if it wants to.
2347 # Prefer explicitly selected file to automatically selected ones.
2348 if test -n "$CONFIG_SITE"; then
2349 set x "$CONFIG_SITE"
2350 elif test "x$prefix" != xNONE; then
2351 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2353 set x "$ac_default_prefix/share/config.site" \
2354 "$ac_default_prefix/etc/config.site"
2359 if test -r "$ac_site_file"; then
2360 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2361 echo "$as_me: loading site script $ac_site_file" >&6;}
2362 sed 's/^/| /' "$ac_site_file" >&5
2367 if test -r "$cache_file"; then
2368 # Some versions of bash will fail to source /dev/null (special
2369 # files actually), so we avoid doing that.
2370 if test -f "$cache_file"; then
2371 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2372 echo "$as_me: loading cache $cache_file" >&6;}
2374 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2375 *) . "./$cache_file";;
2379 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2380 echo "$as_me: creating cache $cache_file" >&6;}
2384 # Check that the precious variables saved in the cache have kept the same
2386 ac_cache_corrupted=false
2387 for ac_var in $ac_precious_vars; do
2388 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2389 eval ac_new_set=\$ac_env_${ac_var}_set
2390 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2391 eval ac_new_val=\$ac_env_${ac_var}_value
2392 case $ac_old_set,$ac_new_set in
2394 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2395 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2396 ac_cache_corrupted=: ;;
2398 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2399 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2400 ac_cache_corrupted=: ;;
2403 if test "x$ac_old_val" != "x$ac_new_val"; then
2404 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2405 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2406 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2407 echo "$as_me: former value: $ac_old_val" >&2;}
2408 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2409 echo "$as_me: current value: $ac_new_val" >&2;}
2410 ac_cache_corrupted=:
2413 # Pass precious variables to config.status.
2414 if test "$ac_new_set" = set; then
2416 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2417 *) ac_arg=$ac_var=$ac_new_val ;;
2419 case " $ac_configure_args " in
2420 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2421 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2425 if $ac_cache_corrupted; then
2426 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2427 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2428 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2429 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2430 { (exit 1); exit 1; }; }
2458 ac_cpp='$CPP $CPPFLAGS'
2459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2469 if test -f "$ac_dir/install-sh"; then
2471 ac_install_sh="$ac_aux_dir/install-sh -c"
2473 elif test -f "$ac_dir/install.sh"; then
2475 ac_install_sh="$ac_aux_dir/install.sh -c"
2477 elif test -f "$ac_dir/shtool"; then
2479 ac_install_sh="$ac_aux_dir/shtool install -c"
2483 if test -z "$ac_aux_dir"; then
2484 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2485 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2486 { (exit 1); exit 1; }; }
2489 # These three variables are undocumented and unsupported,
2490 # and are intended to be withdrawn in a future Autoconf release.
2491 # They can cause serious problems if a builder's source tree is in a directory
2492 # whose full name contains unusual characters.
2493 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2494 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2495 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2498 # Make sure we can run config.sub.
2499 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2500 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2501 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2502 { (exit 1); exit 1; }; }
2504 { echo "$as_me:$LINENO: checking build system type" >&5
2505 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2506 if test "${ac_cv_build+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 ac_build_alias=$build_alias
2510 test "x$ac_build_alias" = x &&
2511 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2512 test "x$ac_build_alias" = x &&
2513 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2514 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2515 { (exit 1); exit 1; }; }
2516 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2517 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2518 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2519 { (exit 1); exit 1; }; }
2522 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2523 echo "${ECHO_T}$ac_cv_build" >&6; }
2524 case $ac_cv_build in
2526 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2527 echo "$as_me: error: invalid value of canonical build" >&2;}
2528 { (exit 1); exit 1; }; };;
2531 ac_save_IFS=$IFS; IFS='-'
2537 # Remember, the first character of IFS is used to create $*,
2538 # except with old shells:
2541 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2544 { echo "$as_me:$LINENO: checking host system type" >&5
2545 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2546 if test "${ac_cv_host+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 if test "x$host_alias" = x; then
2550 ac_cv_host=$ac_cv_build
2552 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2553 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2554 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2555 { (exit 1); exit 1; }; }
2559 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2560 echo "${ECHO_T}$ac_cv_host" >&6; }
2563 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2564 echo "$as_me: error: invalid value of canonical host" >&2;}
2565 { (exit 1); exit 1; }; };;
2568 ac_save_IFS=$IFS; IFS='-'
2574 # Remember, the first character of IFS is used to create $*,
2575 # except with old shells:
2578 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2582 if test "$cross_compiling" != "no"; then
2583 HOST_PREFIX="${host_alias}-"
2584 HOST_SUFFIX="-$host_alias"
2591 wx_major_version_number=2
2592 wx_minor_version_number=9
2594 wx_subrelease_number=0
2596 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2597 WX_VERSION=$WX_RELEASE.$wx_release_number
2598 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2600 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2603 wx_top_builddir="`pwd`"
2616 USE_BSD= USE_DARWIN= USE_FREEBSD=
2622 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2628 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2630 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2632 DEFAULT_wxUSE_OLD_COCOA=0
2634 DEFAULT_wxUSE_OSX_CARBON=0
2635 DEFAULT_wxUSE_OSX_COCOA=0
2636 DEFAULT_wxUSE_OSX_IPHONE=0
2638 DEFAULT_wxUSE_MICROWIN=0
2639 DEFAULT_wxUSE_MOTIF=0
2645 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2646 DEFAULT_DEFAULT_wxUSE_GTK=0
2647 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2648 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2649 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2650 DEFAULT_DEFAULT_wxUSE_MGL=0
2651 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2652 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2653 DEFAULT_DEFAULT_wxUSE_MSW=0
2654 DEFAULT_DEFAULT_wxUSE_PM=0
2655 DEFAULT_DEFAULT_wxUSE_X11=0
2656 DEFAULT_DEFAULT_wxUSE_DFB=0
2660 DYLIB_RPATH_INSTALL=
2661 DYLIB_RPATH_POSTLINK=
2663 DEFAULT_STD_FLAG=yes
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2670 cat >>confdefs.h <<\_ACEOF
2675 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2679 cat >>confdefs.h <<\_ACEOF
2684 if test "x$TMP" = "xalpha"; then
2686 cat >>confdefs.h <<\_ACEOF
2691 DEFAULT_DEFAULT_wxUSE_GTK=1
2693 *-*-gnu* | *-*-k*bsd*-gnu )
2696 if test "x$TMP" = "xalpha"; then
2698 cat >>confdefs.h <<\_ACEOF
2703 DEFAULT_DEFAULT_wxUSE_GTK=1
2705 *-*-irix5* | *-*-irix6* )
2708 cat >>confdefs.h <<\_ACEOF
2712 cat >>confdefs.h <<\_ACEOF
2716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2720 cat >>confdefs.h <<\_ACEOF
2724 DEFAULT_DEFAULT_wxUSE_X11=1
2730 cat >>confdefs.h <<\_ACEOF
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __SOLARIS__ 1
2738 cat >>confdefs.h <<\_ACEOF
2742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2749 cat >>confdefs.h <<\_ACEOF
2753 cat >>confdefs.h <<\_ACEOF
2757 cat >>confdefs.h <<\_ACEOF
2761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __FREEBSD__ 1
2770 cat >>confdefs.h <<\_ACEOF
2774 DEFAULT_DEFAULT_wxUSE_GTK=1
2776 *-*-openbsd*|*-*-mirbsd*)
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __OPENBSD__ 1
2783 cat >>confdefs.h <<\_ACEOF
2787 DEFAULT_DEFAULT_wxUSE_GTK=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __NETBSD__ 1
2796 cat >>confdefs.h <<\_ACEOF
2800 DEFAULT_DEFAULT_wxUSE_GTK=1
2801 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2803 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2808 cat >>confdefs.h <<\_ACEOF
2812 cat >>confdefs.h <<\_ACEOF
2816 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2817 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2822 cat >>confdefs.h <<\_ACEOF
2826 cat >>confdefs.h <<\_ACEOF
2830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2835 cat >>confdefs.h <<\_ACEOF
2839 cat >>confdefs.h <<\_ACEOF
2843 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2849 cat >>confdefs.h <<\_ACEOF
2853 cat >>confdefs.h <<\_ACEOF
2857 cat >>confdefs.h <<\_ACEOF
2861 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2868 cat >>confdefs.h <<\_ACEOF
2869 #define __UNIXWARE__ 1
2874 *-*-cygwin* | *-*-mingw32* )
2876 DEFAULT_DEFAULT_wxUSE_MSW=1
2882 cat >>confdefs.h <<\_ACEOF
2887 DEFAULT_DEFAULT_wxUSE_MGL=1
2890 *-pc-os2_emx | *-pc-os2-emx )
2891 cat >>confdefs.h <<\_ACEOF
2896 cat >>confdefs.h <<\_ACEOF
2901 DEFAULT_DEFAULT_wxUSE_PM=1
2903 LDFLAGS="$LDFLAGS -Zcrtdll"
2904 ac_executable_extensions=".exe"
2905 export ac_executable_extensions
2909 for ac_dir in $PATH; do
2911 if test -z "$ac_TEMP_PATH"; then
2912 ac_TEMP_PATH="$ac_dir"
2914 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2917 export PATH="$ac_TEMP_PATH"
2925 cat >>confdefs.h <<\_ACEOF
2929 cat >>confdefs.h <<\_ACEOF
2930 #define __DARWIN__ 1
2933 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2939 cat >>confdefs.h <<\_ACEOF
2943 cat >>confdefs.h <<\_ACEOF
2944 #define __DARWIN__ 1
2947 cat >>confdefs.h <<\_ACEOF
2948 #define TARGET_CARBON 1
2951 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2956 cat >>confdefs.h <<\_ACEOF
2963 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2964 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2965 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2966 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2968 DEFAULT_DEFAULT_wxUSE_X11=1
2969 DEFAULT_wxUSE_SHARED=no
2974 DEFAULT_wxUSE_ALL_FEATURES=yes
2976 DEFAULT_wxUSE_STD_CONTAINERS=$DEFAULT_STD_FLAG
2977 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2978 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2980 DEFAULT_wxUSE_DMALLOC=no
2981 DEFAULT_wxUSE_LIBGNOMEVFS=no
2982 DEFAULT_wxUSE_LIBHILDON=no
2983 DEFAULT_wxUSE_LIBHILDON2=no
2984 DEFAULT_wxUSE_LIBMSPACK=no
2985 DEFAULT_wxUSE_LIBSDL=no
2987 DEFAULT_wxUSE_ACCESSIBILITY=no
2988 DEFAULT_wxUSE_IPV6=no
2989 DEFAULT_wxUSE_GSTREAMER8=no
2991 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2992 DEFAULT_wxUSE_UNICODE_UTF8=auto
2993 DEFAULT_wxUSE_OPENGL=auto
2994 DEFAULT_wxUSE_MEDIACTRL=auto
2995 DEFAULT_wxUSE_COMPILER_TLS=auto
2997 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2999 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3000 DEFAULT_wxUSE_MAC_ARCH=no
3002 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3004 DEFAULT_wxUSE_GTK2=yes
3006 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3012 enablestring=disable
3014 if test -z "$defaultval"; then
3015 if test x"$enablestring" = xdisable; then
3022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3023 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3024 # Check whether --enable-gui was given.
3025 if test "${enable_gui+set}" = set; then
3026 enableval=$enable_gui;
3027 if test "$enableval" = yes; then
3028 wx_cv_use_gui='wxUSE_GUI=yes'
3030 wx_cv_use_gui='wxUSE_GUI=no'
3035 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3040 eval "$wx_cv_use_gui"
3042 if test x"$enablestring" = xdisable; then
3043 if test $wxUSE_GUI = no; then
3052 { echo "$as_me:$LINENO: result: $result" >&5
3053 echo "${ECHO_T}$result" >&6; }
3058 if test -z "$defaultval"; then
3059 if test x"$enablestring" = xdisable; then
3066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3067 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3068 # Check whether --enable-monolithic was given.
3069 if test "${enable_monolithic+set}" = set; then
3070 enableval=$enable_monolithic;
3071 if test "$enableval" = yes; then
3072 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3074 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3079 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3084 eval "$wx_cv_use_monolithic"
3086 if test x"$enablestring" = xdisable; then
3087 if test $wxUSE_MONOLITHIC = no; then
3093 result=$wxUSE_MONOLITHIC
3096 { echo "$as_me:$LINENO: result: $result" >&5
3097 echo "${ECHO_T}$result" >&6; }
3102 if test -z "$defaultval"; then
3103 if test x"$enablestring" = xdisable; then
3110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3111 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3112 # Check whether --enable-plugins was given.
3113 if test "${enable_plugins+set}" = set; then
3114 enableval=$enable_plugins;
3115 if test "$enableval" = yes; then
3116 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3118 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3123 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3128 eval "$wx_cv_use_plugins"
3130 if test x"$enablestring" = xdisable; then
3131 if test $wxUSE_PLUGINS = no; then
3137 result=$wxUSE_PLUGINS
3140 { echo "$as_me:$LINENO: result: $result" >&5
3141 echo "${ECHO_T}$result" >&6; }
3145 defaultval=$wxUSE_ALL_FEATURES
3146 if test -z "$defaultval"; then
3147 if test x"$withstring" = xwithout; then
3153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3154 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3156 # Check whether --with-subdirs was given.
3157 if test "${with_subdirs+set}" = set; then
3158 withval=$with_subdirs;
3159 if test "$withval" = yes; then
3160 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3162 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3167 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3172 eval "$wx_cv_use_subdirs"
3174 if test x"$withstring" = xwithout; then
3175 if test $wxWITH_SUBDIRS = yes; then
3181 result=$wxWITH_SUBDIRS
3184 { echo "$as_me:$LINENO: result: $result" >&5
3185 echo "${ECHO_T}$result" >&6; }
3188 # Check whether --with-flavour was given.
3189 if test "${with_flavour+set}" = set; then
3190 withval=$with_flavour; WX_FLAVOUR="$withval"
3196 if test -z "$defaultval"; then
3197 if test x"$enablestring" = xdisable; then
3204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3205 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3206 # Check whether --enable-official_build was given.
3207 if test "${enable_official_build+set}" = set; then
3208 enableval=$enable_official_build;
3209 if test "$enableval" = yes; then
3210 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3222 eval "$wx_cv_use_official_build"
3224 if test x"$enablestring" = xdisable; then
3225 if test $wxUSE_OFFICIAL_BUILD = no; then
3231 result=$wxUSE_OFFICIAL_BUILD
3234 { echo "$as_me:$LINENO: result: $result" >&5
3235 echo "${ECHO_T}$result" >&6; }
3237 # Check whether --enable-vendor was given.
3238 if test "${enable_vendor+set}" = set; then
3239 enableval=$enable_vendor; VENDOR="$enableval"
3242 if test "x$VENDOR" = "x"; then
3247 enablestring=disable
3249 if test -z "$defaultval"; then
3250 if test x"$enablestring" = xdisable; then
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3259 # Check whether --enable-all-features was given.
3260 if test "${enable_all_features+set}" = set; then
3261 enableval=$enable_all_features;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3265 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3270 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3275 eval "$wx_cv_use_all_features"
3277 if test x"$enablestring" = xdisable; then
3278 if test $wxUSE_ALL_FEATURES = no; then
3284 result=$wxUSE_ALL_FEATURES
3287 { echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6; }
3291 if test "$wxUSE_ALL_FEATURES" = "no"; then
3292 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3293 DEFAULT_wxUSE_MEDIACTRL=no
3297 if test "$wxUSE_GUI" = "yes"; then
3302 if test -z "$defaultval"; then
3303 if test x"$enablestring" = xdisable; then
3310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3311 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3312 # Check whether --enable-universal was given.
3313 if test "${enable_universal+set}" = set; then
3314 enableval=$enable_universal;
3315 if test "$enableval" = yes; then
3316 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3318 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3328 eval "$wx_cv_use_universal"
3330 if test x"$enablestring" = xdisable; then
3331 if test $wxUSE_UNIVERSAL = no; then
3337 result=$wxUSE_UNIVERSAL
3340 { echo "$as_me:$LINENO: result: $result" >&5
3341 echo "${ECHO_T}$result" >&6; }
3343 if test "$wxUSE_UNIVERSAL" = "yes"; then
3345 # Check whether --with-themes was given.
3346 if test "${with_themes+set}" = set; then
3347 withval=$with_themes; wxUNIV_THEMES="$withval"
3353 # Check whether --with-gtk was given.
3354 if test "${with_gtk+set}" = set; then
3355 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3359 # Check whether --with-motif was given.
3360 if test "${with_motif+set}" = set; then
3361 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3365 # Check whether --with-osx_carbon was given.
3366 if test "${with_osx_carbon+set}" = set; then
3367 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3371 # Check whether --with-osx_cocoa was given.
3372 if test "${with_osx_cocoa+set}" = set; then
3373 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3377 # Check whether --with-osx_iphone was given.
3378 if test "${with_osx_iphone+set}" = set; then
3379 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3383 # Check whether --with-osx was given.
3384 if test "${with_osx+set}" = set; then
3385 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3389 # Check whether --with-carbon was given.
3390 if test "${with_carbon+set}" = set; then
3391 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3395 # Check whether --with-cocoa was given.
3396 if test "${with_cocoa+set}" = set; then
3397 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3401 # Check whether --with-iphone was given.
3402 if test "${with_iphone+set}" = set; then
3403 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3407 # Check whether --with-mac was given.
3408 if test "${with_mac+set}" = set; then
3409 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-old_cocoa was given.
3414 if test "${with_old_cocoa+set}" = set; then
3415 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-wine was given.
3420 if test "${with_wine+set}" = set; then
3421 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3425 # Check whether --with-msw was given.
3426 if test "${with_msw+set}" = set; then
3427 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-pm was given.
3432 if test "${with_pm+set}" = set; then
3433 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-mgl was given.
3438 if test "${with_mgl+set}" = set; then
3439 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3443 # Check whether --with-directfb was given.
3444 if test "${with_directfb+set}" = set; then
3445 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3449 # Check whether --with-microwin was given.
3450 if test "${with_microwin+set}" = set; then
3451 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3455 # Check whether --with-x11 was given.
3456 if test "${with_x11+set}" = set; then
3457 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3463 if test -z "$defaultval"; then
3464 if test x"$enablestring" = xdisable; then
3471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3473 # Check whether --enable-nanox was given.
3474 if test "${enable_nanox+set}" = set; then
3475 enableval=$enable_nanox;
3476 if test "$enableval" = yes; then
3477 wx_cv_use_nanox='wxUSE_NANOX=yes'
3479 wx_cv_use_nanox='wxUSE_NANOX=no'
3484 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3489 eval "$wx_cv_use_nanox"
3491 if test x"$enablestring" = xdisable; then
3492 if test $wxUSE_NANOX = no; then
3501 { echo "$as_me:$LINENO: result: $result" >&5
3502 echo "${ECHO_T}$result" >&6; }
3505 # Check whether --enable-gtk2 was given.
3506 if test "${enable_gtk2+set}" = set; then
3507 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3513 if test -z "$defaultval"; then
3514 if test x"$enablestring" = xdisable; then
3521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3522 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3523 # Check whether --enable-gpe was given.
3524 if test "${enable_gpe+set}" = set; then
3525 enableval=$enable_gpe;
3526 if test "$enableval" = yes; then
3527 wx_cv_use_gpe='wxUSE_GPE=yes'
3529 wx_cv_use_gpe='wxUSE_GPE=no'
3534 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3539 eval "$wx_cv_use_gpe"
3541 if test x"$enablestring" = xdisable; then
3542 if test $wxUSE_GPE = no; then
3551 { echo "$as_me:$LINENO: result: $result" >&5
3552 echo "${ECHO_T}$result" >&6; }
3556 { echo "$as_me:$LINENO: checking for toolkit" >&5
3557 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3561 # In Wine, we need to default to MSW, not GTK or MOTIF
3562 if test "$wxUSE_WINE" = "yes"; then
3563 DEFAULT_DEFAULT_wxUSE_GTK=0
3564 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3565 DEFAULT_DEFAULT_wxUSE_MSW=1
3572 if test "$wxUSE_GUI" = "yes"; then
3574 if test "$USE_BEOS" = 1; then
3575 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3576 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3577 { (exit 1); exit 1; }; }
3580 if test "$TOOLKIT_GIVEN" = 1; then
3581 for toolkit in $ALL_TOOLKITS; do
3583 eval "value=\$${var}"
3584 if test "x$value" = "xno"; then
3586 elif test "x$value" != "x"; then
3590 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3591 eval "wx${toolkit}_VERSION=$value"
3595 for toolkit in $ALL_TOOLKITS; do
3596 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3597 eval "wxUSE_$toolkit=\$${var}"
3601 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3602 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3603 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3606 *-pc-os2_emx | *-pc-os2-emx )
3607 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3610 case "$NUM_TOOLKITS" in
3614 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3615 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3616 { (exit 1); exit 1; }; }
3619 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3620 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3621 { (exit 1); exit 1; }; }
3624 # to be removed when --disable-gtk2 isn't needed
3625 if test "x$wxUSE_GTK2" = "xyes"; then
3628 elif test "x$wxUSE_GTK2" = "xno"; then
3633 for toolkit in $ALL_TOOLKITS; do
3635 eval "value=\$${var}"
3636 if test "$value" = 1; then
3637 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3638 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3639 echo "${ECHO_T}$toolkit_echo" >&6; }
3643 if test "x$host_alias" != "x"; then
3644 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3645 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3647 { echo "$as_me:$LINENO: result: base only" >&5
3648 echo "${ECHO_T}base only" >&6; }
3653 if test "$wxUSE_OSX_CARBON" = 1 \
3654 -o "$wxUSE_OSX_COCOA" = 1 \
3655 -o "$wxUSE_OSX_IPHONE" = 1; then
3661 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3662 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3664 # Check whether --with-libpng was given.
3665 if test "${with_libpng+set}" = set; then
3666 withval=$with_libpng;
3667 if test "$withval" = yes; then
3668 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3669 elif test "$withval" = no; then
3670 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3671 elif test "$withval" = sys; then
3672 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3673 elif test "$withval" = builtin; then
3674 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3676 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3677 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3678 { (exit 1); exit 1; }; }
3683 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3688 eval "$wx_cv_use_libpng"
3690 if test "$wxUSE_LIBPNG" = yes; then
3691 { echo "$as_me:$LINENO: result: yes" >&5
3692 echo "${ECHO_T}yes" >&6; }
3693 elif test "$wxUSE_LIBPNG" = no; then
3694 { echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6; }
3696 elif test "$wxUSE_LIBPNG" = sys; then
3697 { echo "$as_me:$LINENO: result: system version" >&5
3698 echo "${ECHO_T}system version" >&6; }
3699 elif test "$wxUSE_LIBPNG" = builtin; then
3700 { echo "$as_me:$LINENO: result: builtin version" >&5
3701 echo "${ECHO_T}builtin version" >&6; }
3703 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3704 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3705 { (exit 1); exit 1; }; }
3709 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3710 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3712 # Check whether --with-libjpeg was given.
3713 if test "${with_libjpeg+set}" = set; then
3714 withval=$with_libjpeg;
3715 if test "$withval" = yes; then
3716 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3717 elif test "$withval" = no; then
3718 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3719 elif test "$withval" = sys; then
3720 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3721 elif test "$withval" = builtin; then
3722 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3724 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3725 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3726 { (exit 1); exit 1; }; }
3731 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3736 eval "$wx_cv_use_libjpeg"
3738 if test "$wxUSE_LIBJPEG" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3741 elif test "$wxUSE_LIBJPEG" = no; then
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3744 elif test "$wxUSE_LIBJPEG" = sys; then
3745 { echo "$as_me:$LINENO: result: system version" >&5
3746 echo "${ECHO_T}system version" >&6; }
3747 elif test "$wxUSE_LIBJPEG" = builtin; then
3748 { echo "$as_me:$LINENO: result: builtin version" >&5
3749 echo "${ECHO_T}builtin version" >&6; }
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3757 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3758 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3760 # Check whether --with-libtiff was given.
3761 if test "${with_libtiff+set}" = set; then
3762 withval=$with_libtiff;
3763 if test "$withval" = yes; then
3764 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3765 elif test "$withval" = no; then
3766 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3767 elif test "$withval" = sys; then
3768 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3769 elif test "$withval" = builtin; then
3770 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3772 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3773 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3774 { (exit 1); exit 1; }; }
3779 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3784 eval "$wx_cv_use_libtiff"
3786 if test "$wxUSE_LIBTIFF" = yes; then
3787 { echo "$as_me:$LINENO: result: yes" >&5
3788 echo "${ECHO_T}yes" >&6; }
3789 elif test "$wxUSE_LIBTIFF" = no; then
3790 { echo "$as_me:$LINENO: result: no" >&5
3791 echo "${ECHO_T}no" >&6; }
3792 elif test "$wxUSE_LIBTIFF" = sys; then
3793 { echo "$as_me:$LINENO: result: system version" >&5
3794 echo "${ECHO_T}system version" >&6; }
3795 elif test "$wxUSE_LIBTIFF" = builtin; then
3796 { echo "$as_me:$LINENO: result: builtin version" >&5
3797 echo "${ECHO_T}builtin version" >&6; }
3799 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3800 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3801 { (exit 1); exit 1; }; }
3805 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3806 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3808 # Check whether --with-libxpm was given.
3809 if test "${with_libxpm+set}" = set; then
3810 withval=$with_libxpm;
3811 if test "$withval" = yes; then
3812 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3813 elif test "$withval" = no; then
3814 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3815 elif test "$withval" = sys; then
3816 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3817 elif test "$withval" = builtin; then
3818 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3820 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3821 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3822 { (exit 1); exit 1; }; }
3827 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3832 eval "$wx_cv_use_libxpm"
3834 if test "$wxUSE_LIBXPM" = yes; then
3835 { echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6; }
3837 elif test "$wxUSE_LIBXPM" = no; then
3838 { echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6; }
3840 elif test "$wxUSE_LIBXPM" = sys; then
3841 { echo "$as_me:$LINENO: result: system version" >&5
3842 echo "${ECHO_T}system version" >&6; }
3843 elif test "$wxUSE_LIBXPM" = builtin; then
3844 { echo "$as_me:$LINENO: result: builtin version" >&5
3845 echo "${ECHO_T}builtin version" >&6; }
3847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3848 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3849 { (exit 1); exit 1; }; }
3854 defaultval=$wxUSE_ALL_FEATURES
3855 if test -z "$defaultval"; then
3856 if test x"$withstring" = xwithout; then
3862 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3863 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3865 # Check whether --with-libiconv was given.
3866 if test "${with_libiconv+set}" = set; then
3867 withval=$with_libiconv;
3868 if test "$withval" = yes; then
3869 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3871 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3876 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3881 eval "$wx_cv_use_libiconv"
3883 if test x"$withstring" = xwithout; then
3884 if test $wxUSE_LIBICONV = yes; then
3890 result=$wxUSE_LIBICONV
3893 { echo "$as_me:$LINENO: result: $result" >&5
3894 echo "${ECHO_T}$result" >&6; }
3898 defaultval=$wxUSE_ALL_FEATURES
3899 if test -z "$defaultval"; then
3900 if test x"$withstring" = xwithout; then
3906 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3907 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3909 # Check whether --with-libmspack was given.
3910 if test "${with_libmspack+set}" = set; then
3911 withval=$with_libmspack;
3912 if test "$withval" = yes; then
3913 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3915 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3920 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3925 eval "$wx_cv_use_libmspack"
3927 if test x"$withstring" = xwithout; then
3928 if test $wxUSE_LIBMSPACK = yes; then
3934 result=$wxUSE_LIBMSPACK
3937 { echo "$as_me:$LINENO: result: $result" >&5
3938 echo "${ECHO_T}$result" >&6; }
3942 defaultval=$wxUSE_ALL_FEATURES
3943 if test -z "$defaultval"; then
3944 if test x"$withstring" = xwithout; then
3950 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3951 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3953 # Check whether --with-gtkprint was given.
3954 if test "${with_gtkprint+set}" = set; then
3955 withval=$with_gtkprint;
3956 if test "$withval" = yes; then
3957 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3959 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3964 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3969 eval "$wx_cv_use_gtkprint"
3971 if test x"$withstring" = xwithout; then
3972 if test $wxUSE_GTKPRINT = yes; then
3978 result=$wxUSE_GTKPRINT
3981 { echo "$as_me:$LINENO: result: $result" >&5
3982 echo "${ECHO_T}$result" >&6; }
3986 defaultval=$wxUSE_ALL_FEATURES
3987 if test -z "$defaultval"; then
3988 if test x"$withstring" = xwithout; then
3994 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3995 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3997 # Check whether --with-gnomeprint was given.
3998 if test "${with_gnomeprint+set}" = set; then
3999 withval=$with_gnomeprint;
4000 if test "$withval" = yes; then
4001 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4003 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4008 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4013 eval "$wx_cv_use_gnomeprint"
4015 if test x"$withstring" = xwithout; then
4016 if test $wxUSE_LIBGNOMEPRINT = yes; then
4022 result=$wxUSE_LIBGNOMEPRINT
4025 { echo "$as_me:$LINENO: result: $result" >&5
4026 echo "${ECHO_T}$result" >&6; }
4030 defaultval=$wxUSE_ALL_FEATURES
4031 if test -z "$defaultval"; then
4032 if test x"$withstring" = xwithout; then
4038 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4039 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4041 # Check whether --with-gnomevfs was given.
4042 if test "${with_gnomevfs+set}" = set; then
4043 withval=$with_gnomevfs;
4044 if test "$withval" = yes; then
4045 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4047 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4052 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4057 eval "$wx_cv_use_gnomevfs"
4059 if test x"$withstring" = xwithout; then
4060 if test $wxUSE_LIBGNOMEVFS = yes; then
4066 result=$wxUSE_LIBGNOMEVFS
4069 { echo "$as_me:$LINENO: result: $result" >&5
4070 echo "${ECHO_T}$result" >&6; }
4074 defaultval=$wxUSE_ALL_FEATURES
4075 if test -z "$defaultval"; then
4076 if test x"$withstring" = xwithout; then
4082 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4083 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4085 # Check whether --with-hildon was given.
4086 if test "${with_hildon+set}" = set; then
4087 withval=$with_hildon;
4088 if test "$withval" = yes; then
4089 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4091 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4096 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4101 eval "$wx_cv_use_hildon"
4103 if test x"$withstring" = xwithout; then
4104 if test $wxUSE_LIBHILDON = yes; then
4110 result=$wxUSE_LIBHILDON
4113 { echo "$as_me:$LINENO: result: $result" >&5
4114 echo "${ECHO_T}$result" >&6; }
4118 defaultval=$wxUSE_ALL_FEATURES
4119 if test -z "$defaultval"; then
4120 if test x"$withstring" = xwithout; then
4126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4127 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4129 # Check whether --with-opengl was given.
4130 if test "${with_opengl+set}" = set; then
4131 withval=$with_opengl;
4132 if test "$withval" = yes; then
4133 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4135 wx_cv_use_opengl='wxUSE_OPENGL=no'
4140 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4145 eval "$wx_cv_use_opengl"
4147 if test x"$withstring" = xwithout; then
4148 if test $wxUSE_OPENGL = yes; then
4154 result=$wxUSE_OPENGL
4157 { echo "$as_me:$LINENO: result: $result" >&5
4158 echo "${ECHO_T}$result" >&6; }
4165 defaultval=$wxUSE_ALL_FEATURES
4166 if test -z "$defaultval"; then
4167 if test x"$withstring" = xwithout; then
4173 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4174 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4176 # Check whether --with-dmalloc was given.
4177 if test "${with_dmalloc+set}" = set; then
4178 withval=$with_dmalloc;
4179 if test "$withval" = yes; then
4180 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4182 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4192 eval "$wx_cv_use_dmalloc"
4194 if test x"$withstring" = xwithout; then
4195 if test $wxUSE_DMALLOC = yes; then
4201 result=$wxUSE_DMALLOC
4204 { echo "$as_me:$LINENO: result: $result" >&5
4205 echo "${ECHO_T}$result" >&6; }
4209 defaultval=$wxUSE_ALL_FEATURES
4210 if test -z "$defaultval"; then
4211 if test x"$withstring" = xwithout; then
4217 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4218 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4220 # Check whether --with-sdl was given.
4221 if test "${with_sdl+set}" = set; then
4223 if test "$withval" = yes; then
4224 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4226 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4231 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4236 eval "$wx_cv_use_sdl"
4238 if test x"$withstring" = xwithout; then
4239 if test $wxUSE_LIBSDL = yes; then
4245 result=$wxUSE_LIBSDL
4248 { echo "$as_me:$LINENO: result: $result" >&5
4249 echo "${ECHO_T}$result" >&6; }
4252 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4253 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4255 # Check whether --with-regex was given.
4256 if test "${with_regex+set}" = set; then
4257 withval=$with_regex;
4258 if test "$withval" = yes; then
4259 wx_cv_use_regex='wxUSE_REGEX=yes'
4260 elif test "$withval" = no; then
4261 wx_cv_use_regex='wxUSE_REGEX=no'
4262 elif test "$withval" = sys; then
4263 wx_cv_use_regex='wxUSE_REGEX=sys'
4264 elif test "$withval" = builtin; then
4265 wx_cv_use_regex='wxUSE_REGEX=builtin'
4267 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4268 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4269 { (exit 1); exit 1; }; }
4274 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4279 eval "$wx_cv_use_regex"
4281 if test "$wxUSE_REGEX" = yes; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4284 elif test "$wxUSE_REGEX" = no; then
4285 { echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6; }
4287 elif test "$wxUSE_REGEX" = sys; then
4288 { echo "$as_me:$LINENO: result: system version" >&5
4289 echo "${ECHO_T}system version" >&6; }
4290 elif test "$wxUSE_REGEX" = builtin; then
4291 { echo "$as_me:$LINENO: result: builtin version" >&5
4292 echo "${ECHO_T}builtin version" >&6; }
4294 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4295 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4296 { (exit 1); exit 1; }; }
4300 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4301 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4303 # Check whether --with-zlib was given.
4304 if test "${with_zlib+set}" = set; then
4306 if test "$withval" = yes; then
4307 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4308 elif test "$withval" = no; then
4309 wx_cv_use_zlib='wxUSE_ZLIB=no'
4310 elif test "$withval" = sys; then
4311 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4312 elif test "$withval" = builtin; then
4313 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4315 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4316 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4317 { (exit 1); exit 1; }; }
4322 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4327 eval "$wx_cv_use_zlib"
4329 if test "$wxUSE_ZLIB" = yes; then
4330 { echo "$as_me:$LINENO: result: yes" >&5
4331 echo "${ECHO_T}yes" >&6; }
4332 elif test "$wxUSE_ZLIB" = no; then
4333 { echo "$as_me:$LINENO: result: no" >&5
4334 echo "${ECHO_T}no" >&6; }
4335 elif test "$wxUSE_ZLIB" = sys; then
4336 { echo "$as_me:$LINENO: result: system version" >&5
4337 echo "${ECHO_T}system version" >&6; }
4338 elif test "$wxUSE_ZLIB" = builtin; then
4339 { echo "$as_me:$LINENO: result: builtin version" >&5
4340 echo "${ECHO_T}builtin version" >&6; }
4342 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4343 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4344 { (exit 1); exit 1; }; }
4348 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4349 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4351 # Check whether --with-expat was given.
4352 if test "${with_expat+set}" = set; then
4353 withval=$with_expat;
4354 if test "$withval" = yes; then
4355 wx_cv_use_expat='wxUSE_EXPAT=yes'
4356 elif test "$withval" = no; then
4357 wx_cv_use_expat='wxUSE_EXPAT=no'
4358 elif test "$withval" = sys; then
4359 wx_cv_use_expat='wxUSE_EXPAT=sys'
4360 elif test "$withval" = builtin; then
4361 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4363 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4364 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4365 { (exit 1); exit 1; }; }
4370 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4375 eval "$wx_cv_use_expat"
4377 if test "$wxUSE_EXPAT" = yes; then
4378 { echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6; }
4380 elif test "$wxUSE_EXPAT" = no; then
4381 { echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6; }
4383 elif test "$wxUSE_EXPAT" = sys; then
4384 { echo "$as_me:$LINENO: result: system version" >&5
4385 echo "${ECHO_T}system version" >&6; }
4386 elif test "$wxUSE_EXPAT" = builtin; then
4387 { echo "$as_me:$LINENO: result: builtin version" >&5
4388 echo "${ECHO_T}builtin version" >&6; }
4390 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4391 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4392 { (exit 1); exit 1; }; }
4396 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4397 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4399 # Check whether --with-macosx-sdk was given.
4400 if test "${with_macosx_sdk+set}" = set; then
4401 withval=$with_macosx_sdk;
4402 wxUSE_MACOSX_SDK=$withval
4403 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4407 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4408 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4410 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4411 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4413 # Check whether --with-macosx-version-min was given.
4414 if test "${with_macosx_version_min+set}" = set; then
4415 withval=$with_macosx_version_min;
4416 wxUSE_MACOSX_VERSION_MIN=$withval
4417 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4421 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4422 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4425 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4426 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4427 # Check whether --enable-debug was given.
4428 if test "${enable_debug+set}" = set; then
4429 enableval=$enable_debug;
4430 if test "$enableval" = yes; then
4432 elif test "$enableval" = no; then
4434 elif test "$enableval" = max; then
4436 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4438 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4439 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4440 { (exit 1); exit 1; }; }
4449 case "$wxUSE_DEBUG" in
4451 DEFAULT_wxUSE_DEBUG_FLAG=yes
4452 DEFAULT_wxUSE_DEBUG_INFO=yes
4454 DEFAULT_wxUSE_OPTIMISE=no
4458 DEFAULT_wxUSE_DEBUG_FLAG=no
4459 DEFAULT_wxUSE_DEBUG_INFO=no
4463 DEFAULT_wxUSE_DEBUG_FLAG=yes
4464 DEFAULT_wxUSE_DEBUG_INFO=no
4469 enablestring=disable
4471 if test -z "$defaultval"; then
4472 if test x"$enablestring" = xdisable; then
4479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4481 # Check whether --enable-debug_flag was given.
4482 if test "${enable_debug_flag+set}" = set; then
4483 enableval=$enable_debug_flag;
4484 if test "$enableval" = yes; then
4485 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4487 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4492 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4497 eval "$wx_cv_use_debug_flag"
4499 if test x"$enablestring" = xdisable; then
4500 if test $wxUSE_DEBUG_FLAG = no; then
4506 result=$wxUSE_DEBUG_FLAG
4509 { echo "$as_me:$LINENO: result: $result" >&5
4510 echo "${ECHO_T}$result" >&6; }
4515 if test -z "$defaultval"; then
4516 if test x"$enablestring" = xdisable; then
4523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4524 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4525 # Check whether --enable-debug_info was given.
4526 if test "${enable_debug_info+set}" = set; then
4527 enableval=$enable_debug_info;
4528 if test "$enableval" = yes; then
4529 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4531 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4536 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4541 eval "$wx_cv_use_debug_info"
4543 if test x"$enablestring" = xdisable; then
4544 if test $wxUSE_DEBUG_INFO = no; then
4550 result=$wxUSE_DEBUG_INFO
4553 { echo "$as_me:$LINENO: result: $result" >&5
4554 echo "${ECHO_T}$result" >&6; }
4561 if test -z "$defaultval"; then
4562 if test x"$enablestring" = xdisable; then
4569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4571 # Check whether --enable-debug_gdb was given.
4572 if test "${enable_debug_gdb+set}" = set; then
4573 enableval=$enable_debug_gdb;
4574 if test "$enableval" = yes; then
4575 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4577 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4582 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4587 eval "$wx_cv_use_debug_gdb"
4589 if test x"$enablestring" = xdisable; then
4590 if test $wxUSE_DEBUG_GDB = no; then
4596 result=$wxUSE_DEBUG_GDB
4599 { echo "$as_me:$LINENO: result: $result" >&5
4600 echo "${ECHO_T}$result" >&6; }
4605 if test -z "$defaultval"; then
4606 if test x"$enablestring" = xdisable; then
4613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4615 # Check whether --enable-debug_cntxt was given.
4616 if test "${enable_debug_cntxt+set}" = set; then
4617 enableval=$enable_debug_cntxt;
4618 if test "$enableval" = yes; then
4619 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4621 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4626 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4631 eval "$wx_cv_use_debug_cntxt"
4633 if test x"$enablestring" = xdisable; then
4634 if test $wxUSE_DEBUG_CONTEXT = no; then
4640 result=$wxUSE_DEBUG_CONTEXT
4643 { echo "$as_me:$LINENO: result: $result" >&5
4644 echo "${ECHO_T}$result" >&6; }
4649 if test -z "$defaultval"; then
4650 if test x"$enablestring" = xdisable; then
4657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4659 # Check whether --enable-mem_tracing was given.
4660 if test "${enable_mem_tracing+set}" = set; then
4661 enableval=$enable_mem_tracing;
4662 if test "$enableval" = yes; then
4663 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4665 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4670 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4675 eval "$wx_cv_use_mem_tracing"
4677 if test x"$enablestring" = xdisable; then
4678 if test $wxUSE_MEM_TRACING = no; then
4684 result=$wxUSE_MEM_TRACING
4687 { echo "$as_me:$LINENO: result: $result" >&5
4688 echo "${ECHO_T}$result" >&6; }
4693 enablestring=disable
4695 if test -z "$defaultval"; then
4696 if test x"$enablestring" = xdisable; then
4703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4705 # Check whether --enable-shared was given.
4706 if test "${enable_shared+set}" = set; then
4707 enableval=$enable_shared;
4708 if test "$enableval" = yes; then
4709 wx_cv_use_shared='wxUSE_SHARED=yes'
4711 wx_cv_use_shared='wxUSE_SHARED=no'
4716 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4721 eval "$wx_cv_use_shared"
4723 if test x"$enablestring" = xdisable; then
4724 if test $wxUSE_SHARED = no; then
4730 result=$wxUSE_SHARED
4733 { echo "$as_me:$LINENO: result: $result" >&5
4734 echo "${ECHO_T}$result" >&6; }
4739 if test -z "$defaultval"; then
4740 if test x"$enablestring" = xdisable; then
4747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4749 # Check whether --enable-stl was given.
4750 if test "${enable_stl+set}" = set; then
4751 enableval=$enable_stl;
4752 if test "$enableval" = yes; then
4753 wx_cv_use_stl='wxUSE_STL=yes'
4755 wx_cv_use_stl='wxUSE_STL=no'
4760 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4765 eval "$wx_cv_use_stl"
4767 if test x"$enablestring" = xdisable; then
4768 if test $wxUSE_STL = no; then
4777 { echo "$as_me:$LINENO: result: $result" >&5
4778 echo "${ECHO_T}$result" >&6; }
4783 if test -z "$defaultval"; then
4784 if test x"$enablestring" = xdisable; then
4791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4793 # Check whether --enable-std_containers was given.
4794 if test "${enable_std_containers+set}" = set; then
4795 enableval=$enable_std_containers;
4796 if test "$enableval" = yes; then
4797 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4799 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4804 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4809 eval "$wx_cv_use_std_containers"
4811 if test x"$enablestring" = xdisable; then
4812 if test $wxUSE_STD_CONTAINERS = no; then
4818 result=$wxUSE_STD_CONTAINERS
4821 { echo "$as_me:$LINENO: result: $result" >&5
4822 echo "${ECHO_T}$result" >&6; }
4827 if test -z "$defaultval"; then
4828 if test x"$enablestring" = xdisable; then
4835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4836 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4837 # Check whether --enable-std_iostreams was given.
4838 if test "${enable_std_iostreams+set}" = set; then
4839 enableval=$enable_std_iostreams;
4840 if test "$enableval" = yes; then
4841 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4843 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4848 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4853 eval "$wx_cv_use_std_iostreams"
4855 if test x"$enablestring" = xdisable; then
4856 if test $wxUSE_STD_IOSTREAM = no; then
4862 result=$wxUSE_STD_IOSTREAM
4865 { echo "$as_me:$LINENO: result: $result" >&5
4866 echo "${ECHO_T}$result" >&6; }
4871 if test -z "$defaultval"; then
4872 if test x"$enablestring" = xdisable; then
4879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4880 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4881 # Check whether --enable-std_string was given.
4882 if test "${enable_std_string+set}" = set; then
4883 enableval=$enable_std_string;
4884 if test "$enableval" = yes; then
4885 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4887 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4892 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4897 eval "$wx_cv_use_std_string"
4899 if test x"$enablestring" = xdisable; then
4900 if test $wxUSE_STD_STRING = no; then
4906 result=$wxUSE_STD_STRING
4909 { echo "$as_me:$LINENO: result: $result" >&5
4910 echo "${ECHO_T}$result" >&6; }
4915 if test -z "$defaultval"; then
4916 if test x"$enablestring" = xdisable; then
4923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4925 # Check whether --enable-std_string_conv_in_wxstring was given.
4926 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4927 enableval=$enable_std_string_conv_in_wxstring;
4928 if test "$enableval" = yes; then
4929 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4931 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4936 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4941 eval "$wx_cv_use_std_string_conv_in_wxstring"
4943 if test x"$enablestring" = xdisable; then
4944 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4950 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4953 { echo "$as_me:$LINENO: result: $result" >&5
4954 echo "${ECHO_T}$result" >&6; }
4957 enablestring=disable
4959 if test -z "$defaultval"; then
4960 if test x"$enablestring" = xdisable; then
4967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4968 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4969 # Check whether --enable-unicode was given.
4970 if test "${enable_unicode+set}" = set; then
4971 enableval=$enable_unicode;
4972 if test "$enableval" = yes; then
4973 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4975 wx_cv_use_unicode='wxUSE_UNICODE=no'
4980 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4985 eval "$wx_cv_use_unicode"
4987 if test x"$enablestring" = xdisable; then
4988 if test $wxUSE_UNICODE = no; then
4994 result=$wxUSE_UNICODE
4997 { echo "$as_me:$LINENO: result: $result" >&5
4998 echo "${ECHO_T}$result" >&6; }
5003 if test -z "$defaultval"; then
5004 if test x"$enablestring" = xdisable; then
5011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5013 # Check whether --enable-mslu was given.
5014 if test "${enable_mslu+set}" = set; then
5015 enableval=$enable_mslu;
5016 if test "$enableval" = yes; then
5017 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5019 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5024 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5029 eval "$wx_cv_use_mslu"
5031 if test x"$enablestring" = xdisable; then
5032 if test $wxUSE_UNICODE_MSLU = no; then
5038 result=$wxUSE_UNICODE_MSLU
5041 { echo "$as_me:$LINENO: result: $result" >&5
5042 echo "${ECHO_T}$result" >&6; }
5046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5047 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5048 # Check whether --enable-utf8 was given.
5049 if test "${enable_utf8+set}" = set; then
5050 enableval=$enable_utf8;
5051 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5055 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5060 eval "$wx_cv_use_utf8"
5062 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5063 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5068 if test -z "$defaultval"; then
5069 if test x"$enablestring" = xdisable; then
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5078 # Check whether --enable-utf8only was given.
5079 if test "${enable_utf8only+set}" = set; then
5080 enableval=$enable_utf8only;
5081 if test "$enableval" = yes; then
5082 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5084 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5089 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5094 eval "$wx_cv_use_utf8only"
5096 if test x"$enablestring" = xdisable; then
5097 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5103 result=$wxUSE_UNICODE_UTF8_LOCALE
5106 { echo "$as_me:$LINENO: result: $result" >&5
5107 echo "${ECHO_T}$result" >&6; }
5112 if test -z "$defaultval"; then
5113 if test x"$enablestring" = xdisable; then
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5122 # Check whether --enable-extended_rtti was given.
5123 if test "${enable_extended_rtti+set}" = set; then
5124 enableval=$enable_extended_rtti;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5128 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5133 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5138 eval "$wx_cv_use_extended_rtti"
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_EXTENDED_RTTI = no; then
5147 result=$wxUSE_EXTENDED_RTTI
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5153 if test "$USE_OS2" = 1; then
5154 DEFAULT_wxUSE_OMF=no
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5168 # Check whether --enable-omf was given.
5169 if test "${enable_omf+set}" = set; then
5170 enableval=$enable_omf;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_omf='wxUSE_OMF=yes'
5174 wx_cv_use_omf='wxUSE_OMF=no'
5179 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5184 eval "$wx_cv_use_omf"
5186 if test x"$enablestring" = xdisable; then
5187 if test $wxUSE_OMF = no; then
5196 { echo "$as_me:$LINENO: result: $result" >&5
5197 echo "${ECHO_T}$result" >&6; }
5202 enablestring=disable
5204 if test -z "$defaultval"; then
5205 if test x"$enablestring" = xdisable; then
5212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5214 # Check whether --enable-optimise was given.
5215 if test "${enable_optimise+set}" = set; then
5216 enableval=$enable_optimise;
5217 if test "$enableval" = yes; then
5218 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5220 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5225 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5230 eval "$wx_cv_use_optimise"
5232 if test x"$enablestring" = xdisable; then
5233 if test $wxUSE_OPTIMISE = no; then
5239 result=$wxUSE_OPTIMISE
5242 { echo "$as_me:$LINENO: result: $result" >&5
5243 echo "${ECHO_T}$result" >&6; }
5249 if test -z "$defaultval"; then
5250 if test x"$enablestring" = xdisable; then
5257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5259 # Check whether --enable-profile was given.
5260 if test "${enable_profile+set}" = set; then
5261 enableval=$enable_profile;
5262 if test "$enableval" = yes; then
5263 wx_cv_use_profile='wxUSE_PROFILE=yes'
5265 wx_cv_use_profile='wxUSE_PROFILE=no'
5270 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5275 eval "$wx_cv_use_profile"
5277 if test x"$enablestring" = xdisable; then
5278 if test $wxUSE_PROFILE = no; then
5284 result=$wxUSE_PROFILE
5287 { echo "$as_me:$LINENO: result: $result" >&5
5288 echo "${ECHO_T}$result" >&6; }
5293 if test -z "$defaultval"; then
5294 if test x"$enablestring" = xdisable; then
5301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5303 # Check whether --enable-no_rtti was given.
5304 if test "${enable_no_rtti+set}" = set; then
5305 enableval=$enable_no_rtti;
5306 if test "$enableval" = yes; then
5307 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5309 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5314 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5319 eval "$wx_cv_use_no_rtti"
5321 if test x"$enablestring" = xdisable; then
5322 if test $wxUSE_NO_RTTI = no; then
5328 result=$wxUSE_NO_RTTI
5331 { echo "$as_me:$LINENO: result: $result" >&5
5332 echo "${ECHO_T}$result" >&6; }
5337 if test -z "$defaultval"; then
5338 if test x"$enablestring" = xdisable; then
5345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5347 # Check whether --enable-no_exceptions was given.
5348 if test "${enable_no_exceptions+set}" = set; then
5349 enableval=$enable_no_exceptions;
5350 if test "$enableval" = yes; then
5351 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5353 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5358 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5363 eval "$wx_cv_use_no_exceptions"
5365 if test x"$enablestring" = xdisable; then
5366 if test $wxUSE_NO_EXCEPTIONS = no; then
5372 result=$wxUSE_NO_EXCEPTIONS
5375 { echo "$as_me:$LINENO: result: $result" >&5
5376 echo "${ECHO_T}$result" >&6; }
5381 if test -z "$defaultval"; then
5382 if test x"$enablestring" = xdisable; then
5389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5391 # Check whether --enable-permissive was given.
5392 if test "${enable_permissive+set}" = set; then
5393 enableval=$enable_permissive;
5394 if test "$enableval" = yes; then
5395 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5397 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5402 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5407 eval "$wx_cv_use_permissive"
5409 if test x"$enablestring" = xdisable; then
5410 if test $wxUSE_PERMISSIVE = no; then
5416 result=$wxUSE_PERMISSIVE
5419 { echo "$as_me:$LINENO: result: $result" >&5
5420 echo "${ECHO_T}$result" >&6; }
5425 if test -z "$defaultval"; then
5426 if test x"$enablestring" = xdisable; then
5433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5434 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5435 # Check whether --enable-no_deps was given.
5436 if test "${enable_no_deps+set}" = set; then
5437 enableval=$enable_no_deps;
5438 if test "$enableval" = yes; then
5439 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5441 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5446 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5451 eval "$wx_cv_use_no_deps"
5453 if test x"$enablestring" = xdisable; then
5454 if test $wxUSE_NO_DEPS = no; then
5460 result=$wxUSE_NO_DEPS
5463 { echo "$as_me:$LINENO: result: $result" >&5
5464 echo "${ECHO_T}$result" >&6; }
5467 enablestring=disable
5469 if test -z "$defaultval"; then
5470 if test x"$enablestring" = xdisable; then
5477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5478 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5479 # Check whether --enable-vararg_macros was given.
5480 if test "${enable_vararg_macros+set}" = set; then
5481 enableval=$enable_vararg_macros;
5482 if test "$enableval" = yes; then
5483 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5485 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5490 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5495 eval "$wx_cv_use_vararg_macros"
5497 if test x"$enablestring" = xdisable; then
5498 if test $wxUSE_VARARG_MACROS = no; then
5504 result=$wxUSE_VARARG_MACROS
5507 { echo "$as_me:$LINENO: result: $result" >&5
5508 echo "${ECHO_T}$result" >&6; }
5513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5514 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5515 # Check whether --enable-universal_binary was given.
5516 if test "${enable_universal_binary+set}" = set; then
5517 enableval=$enable_universal_binary;
5518 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5522 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5527 eval "$wx_cv_use_universal_binary"
5529 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5530 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5536 # Check whether --enable-macosx_arch was given.
5537 if test "${enable_macosx_arch+set}" = set; then
5538 enableval=$enable_macosx_arch;
5539 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5543 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5548 eval "$wx_cv_use_macosx_arch"
5550 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5551 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5557 if test -z "$defaultval"; then
5558 if test x"$enablestring" = xdisable; then
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5567 # Check whether --enable-compat26 was given.
5568 if test "${enable_compat26+set}" = set; then
5569 enableval=$enable_compat26;
5570 if test "$enableval" = yes; then
5571 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5573 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5578 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5583 eval "$wx_cv_use_compat26"
5585 if test x"$enablestring" = xdisable; then
5586 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5592 result=$WXWIN_COMPATIBILITY_2_6
5595 { echo "$as_me:$LINENO: result: $result" >&5
5596 echo "${ECHO_T}$result" >&6; }
5599 enablestring=disable
5601 if test -z "$defaultval"; then
5602 if test x"$enablestring" = xdisable; then
5609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5610 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5611 # Check whether --enable-compat28 was given.
5612 if test "${enable_compat28+set}" = set; then
5613 enableval=$enable_compat28;
5614 if test "$enableval" = yes; then
5615 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5617 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5622 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5627 eval "$wx_cv_use_compat28"
5629 if test x"$enablestring" = xdisable; then
5630 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5636 result=$WXWIN_COMPATIBILITY_2_8
5639 { echo "$as_me:$LINENO: result: $result" >&5
5640 echo "${ECHO_T}$result" >&6; }
5644 enablestring=disable
5646 if test -z "$defaultval"; then
5647 if test x"$enablestring" = xdisable; then
5654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5656 # Check whether --enable-rpath was given.
5657 if test "${enable_rpath+set}" = set; then
5658 enableval=$enable_rpath;
5659 if test "$enableval" = yes; then
5660 wx_cv_use_rpath='wxUSE_RPATH=yes'
5662 wx_cv_use_rpath='wxUSE_RPATH=no'
5667 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5672 eval "$wx_cv_use_rpath"
5674 if test x"$enablestring" = xdisable; then
5675 if test $wxUSE_RPATH = no; then
5684 { echo "$as_me:$LINENO: result: $result" >&5
5685 echo "${ECHO_T}$result" >&6; }
5691 if test -z "$defaultval"; then
5692 if test x"$enablestring" = xdisable; then
5699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5700 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5701 # Check whether --enable-objc_uniquifying was given.
5702 if test "${enable_objc_uniquifying+set}" = set; then
5703 enableval=$enable_objc_uniquifying;
5704 if test "$enableval" = yes; then
5705 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5707 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5712 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5717 eval "$wx_cv_use_objc_uniquifying"
5719 if test x"$enablestring" = xdisable; then
5720 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5726 result=$wxUSE_OBJC_UNIQUIFYING
5729 { echo "$as_me:$LINENO: result: $result" >&5
5730 echo "${ECHO_T}$result" >&6; }
5734 enablestring=disable
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5746 # Check whether --enable-visibility was given.
5747 if test "${enable_visibility+set}" = set; then
5748 enableval=$enable_visibility;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5752 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5757 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5762 eval "$wx_cv_use_visibility"
5764 if test x"$enablestring" = xdisable; then
5765 if test $wxUSE_VISIBILITY = no; then
5771 result=$wxUSE_VISIBILITY
5774 { echo "$as_me:$LINENO: result: $result" >&5
5775 echo "${ECHO_T}$result" >&6; }
5778 enablestring=disable
5780 if test -z "$defaultval"; then
5781 if test x"$enablestring" = xdisable; then
5788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5790 # Check whether --enable-tls was given.
5791 if test "${enable_tls+set}" = set; then
5792 enableval=$enable_tls;
5793 if test "$enableval" = yes; then
5794 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5796 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5801 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5806 eval "$wx_cv_use_tls"
5808 if test x"$enablestring" = xdisable; then
5809 if test $wxUSE_COMPILER_TLS = no; then
5815 result=$wxUSE_COMPILER_TLS
5818 { echo "$as_me:$LINENO: result: $result" >&5
5819 echo "${ECHO_T}$result" >&6; }
5825 defaultval=$wxUSE_ALL_FEATURES
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5836 # Check whether --enable-intl was given.
5837 if test "${enable_intl+set}" = set; then
5838 enableval=$enable_intl;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_intl='wxUSE_INTL=yes'
5842 wx_cv_use_intl='wxUSE_INTL=no'
5847 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5852 eval "$wx_cv_use_intl"
5854 if test x"$enablestring" = xdisable; then
5855 if test $wxUSE_INTL = no; then
5864 { echo "$as_me:$LINENO: result: $result" >&5
5865 echo "${ECHO_T}$result" >&6; }
5869 defaultval=$wxUSE_ALL_FEATURES
5870 if test -z "$defaultval"; then
5871 if test x"$enablestring" = xdisable; then
5878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5880 # Check whether --enable-xlocale was given.
5881 if test "${enable_xlocale+set}" = set; then
5882 enableval=$enable_xlocale;
5883 if test "$enableval" = yes; then
5884 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5886 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5891 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5896 eval "$wx_cv_use_xlocale"
5898 if test x"$enablestring" = xdisable; then
5899 if test $wxUSE_XLOCALE = no; then
5905 result=$wxUSE_XLOCALE
5908 { echo "$as_me:$LINENO: result: $result" >&5
5909 echo "${ECHO_T}$result" >&6; }
5913 defaultval=$wxUSE_ALL_FEATURES
5914 if test -z "$defaultval"; then
5915 if test x"$enablestring" = xdisable; then
5922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5924 # Check whether --enable-config was given.
5925 if test "${enable_config+set}" = set; then
5926 enableval=$enable_config;
5927 if test "$enableval" = yes; then
5928 wx_cv_use_config='wxUSE_CONFIG=yes'
5930 wx_cv_use_config='wxUSE_CONFIG=no'
5935 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5940 eval "$wx_cv_use_config"
5942 if test x"$enablestring" = xdisable; then
5943 if test $wxUSE_CONFIG = no; then
5949 result=$wxUSE_CONFIG
5952 { echo "$as_me:$LINENO: result: $result" >&5
5953 echo "${ECHO_T}$result" >&6; }
5958 defaultval=$wxUSE_ALL_FEATURES
5959 if test -z "$defaultval"; then
5960 if test x"$enablestring" = xdisable; then
5967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5969 # Check whether --enable-protocols was given.
5970 if test "${enable_protocols+set}" = set; then
5971 enableval=$enable_protocols;
5972 if test "$enableval" = yes; then
5973 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5975 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5980 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5985 eval "$wx_cv_use_protocols"
5987 if test x"$enablestring" = xdisable; then
5988 if test $wxUSE_PROTOCOL = no; then
5994 result=$wxUSE_PROTOCOL
5997 { echo "$as_me:$LINENO: result: $result" >&5
5998 echo "${ECHO_T}$result" >&6; }
6002 defaultval=$wxUSE_ALL_FEATURES
6003 if test -z "$defaultval"; then
6004 if test x"$enablestring" = xdisable; then
6011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6013 # Check whether --enable-ftp was given.
6014 if test "${enable_ftp+set}" = set; then
6015 enableval=$enable_ftp;
6016 if test "$enableval" = yes; then
6017 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6019 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6024 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6029 eval "$wx_cv_use_ftp"
6031 if test x"$enablestring" = xdisable; then
6032 if test $wxUSE_PROTOCOL_FTP = no; then
6038 result=$wxUSE_PROTOCOL_FTP
6041 { echo "$as_me:$LINENO: result: $result" >&5
6042 echo "${ECHO_T}$result" >&6; }
6046 defaultval=$wxUSE_ALL_FEATURES
6047 if test -z "$defaultval"; then
6048 if test x"$enablestring" = xdisable; then
6055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6056 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6057 # Check whether --enable-http was given.
6058 if test "${enable_http+set}" = set; then
6059 enableval=$enable_http;
6060 if test "$enableval" = yes; then
6061 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6063 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6068 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6073 eval "$wx_cv_use_http"
6075 if test x"$enablestring" = xdisable; then
6076 if test $wxUSE_PROTOCOL_HTTP = no; then
6082 result=$wxUSE_PROTOCOL_HTTP
6085 { echo "$as_me:$LINENO: result: $result" >&5
6086 echo "${ECHO_T}$result" >&6; }
6090 defaultval=$wxUSE_ALL_FEATURES
6091 if test -z "$defaultval"; then
6092 if test x"$enablestring" = xdisable; then
6099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6101 # Check whether --enable-fileproto was given.
6102 if test "${enable_fileproto+set}" = set; then
6103 enableval=$enable_fileproto;
6104 if test "$enableval" = yes; then
6105 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6107 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6112 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6117 eval "$wx_cv_use_fileproto"
6119 if test x"$enablestring" = xdisable; then
6120 if test $wxUSE_PROTOCOL_FILE = no; then
6126 result=$wxUSE_PROTOCOL_FILE
6129 { echo "$as_me:$LINENO: result: $result" >&5
6130 echo "${ECHO_T}$result" >&6; }
6134 defaultval=$wxUSE_ALL_FEATURES
6135 if test -z "$defaultval"; then
6136 if test x"$enablestring" = xdisable; then
6143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6145 # Check whether --enable-sockets was given.
6146 if test "${enable_sockets+set}" = set; then
6147 enableval=$enable_sockets;
6148 if test "$enableval" = yes; then
6149 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6151 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6156 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6161 eval "$wx_cv_use_sockets"
6163 if test x"$enablestring" = xdisable; then
6164 if test $wxUSE_SOCKETS = no; then
6170 result=$wxUSE_SOCKETS
6173 { echo "$as_me:$LINENO: result: $result" >&5
6174 echo "${ECHO_T}$result" >&6; }
6178 defaultval=$wxUSE_ALL_FEATURES
6179 if test -z "$defaultval"; then
6180 if test x"$enablestring" = xdisable; then
6187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6189 # Check whether --enable-ipv6 was given.
6190 if test "${enable_ipv6+set}" = set; then
6191 enableval=$enable_ipv6;
6192 if test "$enableval" = yes; then
6193 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6195 wx_cv_use_ipv6='wxUSE_IPV6=no'
6200 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6205 eval "$wx_cv_use_ipv6"
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_IPV6 = no; then
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6222 defaultval=$wxUSE_ALL_FEATURES
6223 if test -z "$defaultval"; then
6224 if test x"$enablestring" = xdisable; then
6231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6232 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6233 # Check whether --enable-ole was given.
6234 if test "${enable_ole+set}" = set; then
6235 enableval=$enable_ole;
6236 if test "$enableval" = yes; then
6237 wx_cv_use_ole='wxUSE_OLE=yes'
6239 wx_cv_use_ole='wxUSE_OLE=no'
6244 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6249 eval "$wx_cv_use_ole"
6251 if test x"$enablestring" = xdisable; then
6252 if test $wxUSE_OLE = no; then
6261 { echo "$as_me:$LINENO: result: $result" >&5
6262 echo "${ECHO_T}$result" >&6; }
6266 defaultval=$wxUSE_ALL_FEATURES
6267 if test -z "$defaultval"; then
6268 if test x"$enablestring" = xdisable; then
6275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6277 # Check whether --enable-dataobj was given.
6278 if test "${enable_dataobj+set}" = set; then
6279 enableval=$enable_dataobj;
6280 if test "$enableval" = yes; then
6281 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6283 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6288 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6293 eval "$wx_cv_use_dataobj"
6295 if test x"$enablestring" = xdisable; then
6296 if test $wxUSE_DATAOBJ = no; then
6302 result=$wxUSE_DATAOBJ
6305 { echo "$as_me:$LINENO: result: $result" >&5
6306 echo "${ECHO_T}$result" >&6; }
6311 defaultval=$wxUSE_ALL_FEATURES
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6322 # Check whether --enable-ipc was given.
6323 if test "${enable_ipc+set}" = set; then
6324 enableval=$enable_ipc;
6325 if test "$enableval" = yes; then
6326 wx_cv_use_ipc='wxUSE_IPC=yes'
6328 wx_cv_use_ipc='wxUSE_IPC=no'
6333 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6338 eval "$wx_cv_use_ipc"
6340 if test x"$enablestring" = xdisable; then
6341 if test $wxUSE_IPC = no; then
6350 { echo "$as_me:$LINENO: result: $result" >&5
6351 echo "${ECHO_T}$result" >&6; }
6356 defaultval=$wxUSE_ALL_FEATURES
6357 if test -z "$defaultval"; then
6358 if test x"$enablestring" = xdisable; then
6365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6367 # Check whether --enable-baseevtloop was given.
6368 if test "${enable_baseevtloop+set}" = set; then
6369 enableval=$enable_baseevtloop;
6370 if test "$enableval" = yes; then
6371 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6373 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6378 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6383 eval "$wx_cv_use_baseevtloop"
6385 if test x"$enablestring" = xdisable; then
6386 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6392 result=$wxUSE_CONSOLE_EVENTLOOP
6395 { echo "$as_me:$LINENO: result: $result" >&5
6396 echo "${ECHO_T}$result" >&6; }
6400 defaultval=$wxUSE_ALL_FEATURES
6401 if test -z "$defaultval"; then
6402 if test x"$enablestring" = xdisable; then
6409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6411 # Check whether --enable-epollloop was given.
6412 if test "${enable_epollloop+set}" = set; then
6413 enableval=$enable_epollloop;
6414 if test "$enableval" = yes; then
6415 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6417 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6422 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6427 eval "$wx_cv_use_epollloop"
6429 if test x"$enablestring" = xdisable; then
6430 if test $wxUSE_EPOLL_DISPATCHER = no; then
6436 result=$wxUSE_EPOLL_DISPATCHER
6439 { echo "$as_me:$LINENO: result: $result" >&5
6440 echo "${ECHO_T}$result" >&6; }
6444 defaultval=$wxUSE_ALL_FEATURES
6445 if test -z "$defaultval"; then
6446 if test x"$enablestring" = xdisable; then
6453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6455 # Check whether --enable-selectloop was given.
6456 if test "${enable_selectloop+set}" = set; then
6457 enableval=$enable_selectloop;
6458 if test "$enableval" = yes; then
6459 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6461 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6466 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6471 eval "$wx_cv_use_selectloop"
6473 if test x"$enablestring" = xdisable; then
6474 if test $wxUSE_SELECT_DISPATCHER = no; then
6480 result=$wxUSE_SELECT_DISPATCHER
6483 { echo "$as_me:$LINENO: result: $result" >&5
6484 echo "${ECHO_T}$result" >&6; }
6489 defaultval=$wxUSE_ALL_FEATURES
6490 if test -z "$defaultval"; then
6491 if test x"$enablestring" = xdisable; then
6498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6500 # Check whether --enable-any was given.
6501 if test "${enable_any+set}" = set; then
6502 enableval=$enable_any;
6503 if test "$enableval" = yes; then
6504 wx_cv_use_any='wxUSE_ANY=yes'
6506 wx_cv_use_any='wxUSE_ANY=no'
6511 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6516 eval "$wx_cv_use_any"
6518 if test x"$enablestring" = xdisable; then
6519 if test $wxUSE_ANY = no; then
6528 { echo "$as_me:$LINENO: result: $result" >&5
6529 echo "${ECHO_T}$result" >&6; }
6533 defaultval=$wxUSE_ALL_FEATURES
6534 if test -z "$defaultval"; then
6535 if test x"$enablestring" = xdisable; then
6542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6544 # Check whether --enable-apple_ieee was given.
6545 if test "${enable_apple_ieee+set}" = set; then
6546 enableval=$enable_apple_ieee;
6547 if test "$enableval" = yes; then
6548 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6550 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6555 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6560 eval "$wx_cv_use_apple_ieee"
6562 if test x"$enablestring" = xdisable; then
6563 if test $wxUSE_APPLE_IEEE = no; then
6569 result=$wxUSE_APPLE_IEEE
6572 { echo "$as_me:$LINENO: result: $result" >&5
6573 echo "${ECHO_T}$result" >&6; }
6577 defaultval=$wxUSE_ALL_FEATURES
6578 if test -z "$defaultval"; then
6579 if test x"$enablestring" = xdisable; then
6586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6588 # Check whether --enable-arcstream was given.
6589 if test "${enable_arcstream+set}" = set; then
6590 enableval=$enable_arcstream;
6591 if test "$enableval" = yes; then
6592 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6594 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6599 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6604 eval "$wx_cv_use_arcstream"
6606 if test x"$enablestring" = xdisable; then
6607 if test $wxUSE_ARCHIVE_STREAMS = no; then
6613 result=$wxUSE_ARCHIVE_STREAMS
6616 { echo "$as_me:$LINENO: result: $result" >&5
6617 echo "${ECHO_T}$result" >&6; }
6621 defaultval=$wxUSE_ALL_FEATURES
6622 if test -z "$defaultval"; then
6623 if test x"$enablestring" = xdisable; then
6630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6632 # Check whether --enable-base64 was given.
6633 if test "${enable_base64+set}" = set; then
6634 enableval=$enable_base64;
6635 if test "$enableval" = yes; then
6636 wx_cv_use_base64='wxUSE_BASE64=yes'
6638 wx_cv_use_base64='wxUSE_BASE64=no'
6643 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6648 eval "$wx_cv_use_base64"
6650 if test x"$enablestring" = xdisable; then
6651 if test $wxUSE_BASE64 = no; then
6657 result=$wxUSE_BASE64
6660 { echo "$as_me:$LINENO: result: $result" >&5
6661 echo "${ECHO_T}$result" >&6; }
6665 defaultval=$wxUSE_ALL_FEATURES
6666 if test -z "$defaultval"; then
6667 if test x"$enablestring" = xdisable; then
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6676 # Check whether --enable-backtrace was given.
6677 if test "${enable_backtrace+set}" = set; then
6678 enableval=$enable_backtrace;
6679 if test "$enableval" = yes; then
6680 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6682 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6687 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6692 eval "$wx_cv_use_backtrace"
6694 if test x"$enablestring" = xdisable; then
6695 if test $wxUSE_STACKWALKER = no; then
6701 result=$wxUSE_STACKWALKER
6704 { echo "$as_me:$LINENO: result: $result" >&5
6705 echo "${ECHO_T}$result" >&6; }
6709 defaultval=$wxUSE_ALL_FEATURES
6710 if test -z "$defaultval"; then
6711 if test x"$enablestring" = xdisable; then
6718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6720 # Check whether --enable-catch_segvs was given.
6721 if test "${enable_catch_segvs+set}" = set; then
6722 enableval=$enable_catch_segvs;
6723 if test "$enableval" = yes; then
6724 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6726 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6731 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6736 eval "$wx_cv_use_catch_segvs"
6738 if test x"$enablestring" = xdisable; then
6739 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6745 result=$wxUSE_ON_FATAL_EXCEPTION
6748 { echo "$as_me:$LINENO: result: $result" >&5
6749 echo "${ECHO_T}$result" >&6; }
6753 defaultval=$wxUSE_ALL_FEATURES
6754 if test -z "$defaultval"; then
6755 if test x"$enablestring" = xdisable; then
6762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6764 # Check whether --enable-cmdline was given.
6765 if test "${enable_cmdline+set}" = set; then
6766 enableval=$enable_cmdline;
6767 if test "$enableval" = yes; then
6768 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6770 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6775 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6780 eval "$wx_cv_use_cmdline"
6782 if test x"$enablestring" = xdisable; then
6783 if test $wxUSE_CMDLINE_PARSER = no; then
6789 result=$wxUSE_CMDLINE_PARSER
6792 { echo "$as_me:$LINENO: result: $result" >&5
6793 echo "${ECHO_T}$result" >&6; }
6797 defaultval=$wxUSE_ALL_FEATURES
6798 if test -z "$defaultval"; then
6799 if test x"$enablestring" = xdisable; then
6806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6808 # Check whether --enable-datetime was given.
6809 if test "${enable_datetime+set}" = set; then
6810 enableval=$enable_datetime;
6811 if test "$enableval" = yes; then
6812 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6814 wx_cv_use_datetime='wxUSE_DATETIME=no'
6819 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6824 eval "$wx_cv_use_datetime"
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_DATETIME = no; then
6833 result=$wxUSE_DATETIME
6836 { echo "$as_me:$LINENO: result: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6841 defaultval=$wxUSE_ALL_FEATURES
6842 if test -z "$defaultval"; then
6843 if test x"$enablestring" = xdisable; then
6850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6851 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6852 # Check whether --enable-debugreport was given.
6853 if test "${enable_debugreport+set}" = set; then
6854 enableval=$enable_debugreport;
6855 if test "$enableval" = yes; then
6856 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6858 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6863 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6868 eval "$wx_cv_use_debugreport"
6870 if test x"$enablestring" = xdisable; then
6871 if test $wxUSE_DEBUGREPORT = no; then
6877 result=$wxUSE_DEBUGREPORT
6880 { echo "$as_me:$LINENO: result: $result" >&5
6881 echo "${ECHO_T}$result" >&6; }
6885 defaultval=$wxUSE_ALL_FEATURES
6886 if test -z "$defaultval"; then
6887 if test x"$enablestring" = xdisable; then
6894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6896 # Check whether --enable-dialupman was given.
6897 if test "${enable_dialupman+set}" = set; then
6898 enableval=$enable_dialupman;
6899 if test "$enableval" = yes; then
6900 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6902 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6907 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6912 eval "$wx_cv_use_dialupman"
6914 if test x"$enablestring" = xdisable; then
6915 if test $wxUSE_DIALUP_MANAGER = no; then
6921 result=$wxUSE_DIALUP_MANAGER
6924 { echo "$as_me:$LINENO: result: $result" >&5
6925 echo "${ECHO_T}$result" >&6; }
6929 defaultval=$wxUSE_ALL_FEATURES
6930 if test -z "$defaultval"; then
6931 if test x"$enablestring" = xdisable; then
6938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6939 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6940 # Check whether --enable-dynlib was given.
6941 if test "${enable_dynlib+set}" = set; then
6942 enableval=$enable_dynlib;
6943 if test "$enableval" = yes; then
6944 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6946 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6951 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6956 eval "$wx_cv_use_dynlib"
6958 if test x"$enablestring" = xdisable; then
6959 if test $wxUSE_DYNLIB_CLASS = no; then
6965 result=$wxUSE_DYNLIB_CLASS
6968 { echo "$as_me:$LINENO: result: $result" >&5
6969 echo "${ECHO_T}$result" >&6; }
6973 defaultval=$wxUSE_ALL_FEATURES
6974 if test -z "$defaultval"; then
6975 if test x"$enablestring" = xdisable; then
6982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6984 # Check whether --enable-dynamicloader was given.
6985 if test "${enable_dynamicloader+set}" = set; then
6986 enableval=$enable_dynamicloader;
6987 if test "$enableval" = yes; then
6988 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6990 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6995 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7000 eval "$wx_cv_use_dynamicloader"
7002 if test x"$enablestring" = xdisable; then
7003 if test $wxUSE_DYNAMIC_LOADER = no; then
7009 result=$wxUSE_DYNAMIC_LOADER
7012 { echo "$as_me:$LINENO: result: $result" >&5
7013 echo "${ECHO_T}$result" >&6; }
7017 defaultval=$wxUSE_ALL_FEATURES
7018 if test -z "$defaultval"; then
7019 if test x"$enablestring" = xdisable; then
7026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7028 # Check whether --enable-exceptions was given.
7029 if test "${enable_exceptions+set}" = set; then
7030 enableval=$enable_exceptions;
7031 if test "$enableval" = yes; then
7032 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7034 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7039 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7044 eval "$wx_cv_use_exceptions"
7046 if test x"$enablestring" = xdisable; then
7047 if test $wxUSE_EXCEPTIONS = no; then
7053 result=$wxUSE_EXCEPTIONS
7056 { echo "$as_me:$LINENO: result: $result" >&5
7057 echo "${ECHO_T}$result" >&6; }
7061 defaultval=$wxUSE_ALL_FEATURES
7062 if test -z "$defaultval"; then
7063 if test x"$enablestring" = xdisable; then
7070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7072 # Check whether --enable-ffile was given.
7073 if test "${enable_ffile+set}" = set; then
7074 enableval=$enable_ffile;
7075 if test "$enableval" = yes; then
7076 wx_cv_use_ffile='wxUSE_FFILE=yes'
7078 wx_cv_use_ffile='wxUSE_FFILE=no'
7083 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7088 eval "$wx_cv_use_ffile"
7090 if test x"$enablestring" = xdisable; then
7091 if test $wxUSE_FFILE = no; then
7100 { echo "$as_me:$LINENO: result: $result" >&5
7101 echo "${ECHO_T}$result" >&6; }
7105 defaultval=$wxUSE_ALL_FEATURES
7106 if test -z "$defaultval"; then
7107 if test x"$enablestring" = xdisable; then
7114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7115 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7116 # Check whether --enable-file was given.
7117 if test "${enable_file+set}" = set; then
7118 enableval=$enable_file;
7119 if test "$enableval" = yes; then
7120 wx_cv_use_file='wxUSE_FILE=yes'
7122 wx_cv_use_file='wxUSE_FILE=no'
7127 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7132 eval "$wx_cv_use_file"
7134 if test x"$enablestring" = xdisable; then
7135 if test $wxUSE_FILE = no; then
7144 { echo "$as_me:$LINENO: result: $result" >&5
7145 echo "${ECHO_T}$result" >&6; }
7149 defaultval=$wxUSE_ALL_FEATURES
7150 if test -z "$defaultval"; then
7151 if test x"$enablestring" = xdisable; then
7158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7159 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7160 # Check whether --enable-filehistory was given.
7161 if test "${enable_filehistory+set}" = set; then
7162 enableval=$enable_filehistory;
7163 if test "$enableval" = yes; then
7164 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7166 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7171 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7176 eval "$wx_cv_use_filehistory"
7178 if test x"$enablestring" = xdisable; then
7179 if test $wxUSE_FILE_HISTORY = no; then
7185 result=$wxUSE_FILE_HISTORY
7188 { echo "$as_me:$LINENO: result: $result" >&5
7189 echo "${ECHO_T}$result" >&6; }
7193 defaultval=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x"$enablestring" = xdisable; then
7202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7203 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7204 # Check whether --enable-filesystem was given.
7205 if test "${enable_filesystem+set}" = set; then
7206 enableval=$enable_filesystem;
7207 if test "$enableval" = yes; then
7208 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7210 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7215 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7220 eval "$wx_cv_use_filesystem"
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_FILESYSTEM = no; then
7229 result=$wxUSE_FILESYSTEM
7232 { echo "$as_me:$LINENO: result: $result" >&5
7233 echo "${ECHO_T}$result" >&6; }
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7247 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7248 # Check whether --enable-fontenum was given.
7249 if test "${enable_fontenum+set}" = set; then
7250 enableval=$enable_fontenum;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7254 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7259 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7264 eval "$wx_cv_use_fontenum"
7266 if test x"$enablestring" = xdisable; then
7267 if test $wxUSE_FONTENUM = no; then
7273 result=$wxUSE_FONTENUM
7276 { echo "$as_me:$LINENO: result: $result" >&5
7277 echo "${ECHO_T}$result" >&6; }
7281 defaultval=$wxUSE_ALL_FEATURES
7282 if test -z "$defaultval"; then
7283 if test x"$enablestring" = xdisable; then
7290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7292 # Check whether --enable-fontmap was given.
7293 if test "${enable_fontmap+set}" = set; then
7294 enableval=$enable_fontmap;
7295 if test "$enableval" = yes; then
7296 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7298 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7303 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7308 eval "$wx_cv_use_fontmap"
7310 if test x"$enablestring" = xdisable; then
7311 if test $wxUSE_FONTMAP = no; then
7317 result=$wxUSE_FONTMAP
7320 { echo "$as_me:$LINENO: result: $result" >&5
7321 echo "${ECHO_T}$result" >&6; }
7325 defaultval=$wxUSE_ALL_FEATURES
7326 if test -z "$defaultval"; then
7327 if test x"$enablestring" = xdisable; then
7334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7336 # Check whether --enable-fs_archive was given.
7337 if test "${enable_fs_archive+set}" = set; then
7338 enableval=$enable_fs_archive;
7339 if test "$enableval" = yes; then
7340 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7342 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7347 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7352 eval "$wx_cv_use_fs_archive"
7354 if test x"$enablestring" = xdisable; then
7355 if test $wxUSE_FS_ARCHIVE = no; then
7361 result=$wxUSE_FS_ARCHIVE
7364 { echo "$as_me:$LINENO: result: $result" >&5
7365 echo "${ECHO_T}$result" >&6; }
7369 defaultval=$wxUSE_ALL_FEATURES
7370 if test -z "$defaultval"; then
7371 if test x"$enablestring" = xdisable; then
7378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7380 # Check whether --enable-fs_inet was given.
7381 if test "${enable_fs_inet+set}" = set; then
7382 enableval=$enable_fs_inet;
7383 if test "$enableval" = yes; then
7384 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7386 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7391 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7396 eval "$wx_cv_use_fs_inet"
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_FS_INET = no; then
7405 result=$wxUSE_FS_INET
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7424 # Check whether --enable-fs_zip was given.
7425 if test "${enable_fs_zip+set}" = set; then
7426 enableval=$enable_fs_zip;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7430 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7435 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7440 eval "$wx_cv_use_fs_zip"
7442 if test x"$enablestring" = xdisable; then
7443 if test $wxUSE_FS_ZIP = no; then
7449 result=$wxUSE_FS_ZIP
7452 { echo "$as_me:$LINENO: result: $result" >&5
7453 echo "${ECHO_T}$result" >&6; }
7457 defaultval=$wxUSE_ALL_FEATURES
7458 if test -z "$defaultval"; then
7459 if test x"$enablestring" = xdisable; then
7466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7468 # Check whether --enable-fswatcher was given.
7469 if test "${enable_fswatcher+set}" = set; then
7470 enableval=$enable_fswatcher;
7471 if test "$enableval" = yes; then
7472 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7474 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7479 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7484 eval "$wx_cv_use_fswatcher"
7486 if test x"$enablestring" = xdisable; then
7487 if test $wxUSE_FSWATCHER = no; then
7493 result=$wxUSE_FSWATCHER
7496 { echo "$as_me:$LINENO: result: $result" >&5
7497 echo "${ECHO_T}$result" >&6; }
7501 defaultval=$wxUSE_ALL_FEATURES
7502 if test -z "$defaultval"; then
7503 if test x"$enablestring" = xdisable; then
7510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7511 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7512 # Check whether --enable-geometry was given.
7513 if test "${enable_geometry+set}" = set; then
7514 enableval=$enable_geometry;
7515 if test "$enableval" = yes; then
7516 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7518 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7523 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7528 eval "$wx_cv_use_geometry"
7530 if test x"$enablestring" = xdisable; then
7531 if test $wxUSE_GEOMETRY = no; then
7537 result=$wxUSE_GEOMETRY
7540 { echo "$as_me:$LINENO: result: $result" >&5
7541 echo "${ECHO_T}$result" >&6; }
7545 defaultval=$wxUSE_ALL_FEATURES
7546 if test -z "$defaultval"; then
7547 if test x"$enablestring" = xdisable; then
7554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7556 # Check whether --enable-log was given.
7557 if test "${enable_log+set}" = set; then
7558 enableval=$enable_log;
7559 if test "$enableval" = yes; then
7560 wx_cv_use_log='wxUSE_LOG=yes'
7562 wx_cv_use_log='wxUSE_LOG=no'
7567 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7572 eval "$wx_cv_use_log"
7574 if test x"$enablestring" = xdisable; then
7575 if test $wxUSE_LOG = no; then
7584 { echo "$as_me:$LINENO: result: $result" >&5
7585 echo "${ECHO_T}$result" >&6; }
7589 defaultval=$wxUSE_ALL_FEATURES
7590 if test -z "$defaultval"; then
7591 if test x"$enablestring" = xdisable; then
7598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7599 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7600 # Check whether --enable-longlong was given.
7601 if test "${enable_longlong+set}" = set; then
7602 enableval=$enable_longlong;
7603 if test "$enableval" = yes; then
7604 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7606 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7611 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7616 eval "$wx_cv_use_longlong"
7618 if test x"$enablestring" = xdisable; then
7619 if test $wxUSE_LONGLONG = no; then
7625 result=$wxUSE_LONGLONG
7628 { echo "$as_me:$LINENO: result: $result" >&5
7629 echo "${ECHO_T}$result" >&6; }
7633 defaultval=$wxUSE_ALL_FEATURES
7634 if test -z "$defaultval"; then
7635 if test x"$enablestring" = xdisable; then
7642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7644 # Check whether --enable-mimetype was given.
7645 if test "${enable_mimetype+set}" = set; then
7646 enableval=$enable_mimetype;
7647 if test "$enableval" = yes; then
7648 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7650 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7655 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7660 eval "$wx_cv_use_mimetype"
7662 if test x"$enablestring" = xdisable; then
7663 if test $wxUSE_MIMETYPE = no; then
7669 result=$wxUSE_MIMETYPE
7672 { echo "$as_me:$LINENO: result: $result" >&5
7673 echo "${ECHO_T}$result" >&6; }
7677 defaultval=$wxUSE_ALL_FEATURES
7678 if test -z "$defaultval"; then
7679 if test x"$enablestring" = xdisable; then
7686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7687 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7688 # Check whether --enable-printfposparam was given.
7689 if test "${enable_printfposparam+set}" = set; then
7690 enableval=$enable_printfposparam;
7691 if test "$enableval" = yes; then
7692 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7694 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7699 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7704 eval "$wx_cv_use_printfposparam"
7706 if test x"$enablestring" = xdisable; then
7707 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7713 result=$wxUSE_PRINTF_POS_PARAMS
7716 { echo "$as_me:$LINENO: result: $result" >&5
7717 echo "${ECHO_T}$result" >&6; }
7721 defaultval=$wxUSE_ALL_FEATURES
7722 if test -z "$defaultval"; then
7723 if test x"$enablestring" = xdisable; then
7730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7732 # Check whether --enable-snglinst was given.
7733 if test "${enable_snglinst+set}" = set; then
7734 enableval=$enable_snglinst;
7735 if test "$enableval" = yes; then
7736 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7738 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7743 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7748 eval "$wx_cv_use_snglinst"
7750 if test x"$enablestring" = xdisable; then
7751 if test $wxUSE_SNGLINST_CHECKER = no; then
7757 result=$wxUSE_SNGLINST_CHECKER
7760 { echo "$as_me:$LINENO: result: $result" >&5
7761 echo "${ECHO_T}$result" >&6; }
7765 defaultval=$wxUSE_ALL_FEATURES
7766 if test -z "$defaultval"; then
7767 if test x"$enablestring" = xdisable; then
7774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7775 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7776 # Check whether --enable-sound was given.
7777 if test "${enable_sound+set}" = set; then
7778 enableval=$enable_sound;
7779 if test "$enableval" = yes; then
7780 wx_cv_use_sound='wxUSE_SOUND=yes'
7782 wx_cv_use_sound='wxUSE_SOUND=no'
7787 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7792 eval "$wx_cv_use_sound"
7794 if test x"$enablestring" = xdisable; then
7795 if test $wxUSE_SOUND = no; then
7804 { echo "$as_me:$LINENO: result: $result" >&5
7805 echo "${ECHO_T}$result" >&6; }
7809 defaultval=$wxUSE_ALL_FEATURES
7810 if test -z "$defaultval"; then
7811 if test x"$enablestring" = xdisable; then
7818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7819 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7820 # Check whether --enable-stdpaths was given.
7821 if test "${enable_stdpaths+set}" = set; then
7822 enableval=$enable_stdpaths;
7823 if test "$enableval" = yes; then
7824 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7826 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7831 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7836 eval "$wx_cv_use_stdpaths"
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_STDPATHS = no; then
7845 result=$wxUSE_STDPATHS
7848 { echo "$as_me:$LINENO: result: $result" >&5
7849 echo "${ECHO_T}$result" >&6; }
7853 defaultval=$wxUSE_ALL_FEATURES
7854 if test -z "$defaultval"; then
7855 if test x"$enablestring" = xdisable; then
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7864 # Check whether --enable-stopwatch was given.
7865 if test "${enable_stopwatch+set}" = set; then
7866 enableval=$enable_stopwatch;
7867 if test "$enableval" = yes; then
7868 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7870 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7875 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7880 eval "$wx_cv_use_stopwatch"
7882 if test x"$enablestring" = xdisable; then
7883 if test $wxUSE_STOPWATCH = no; then
7889 result=$wxUSE_STOPWATCH
7892 { echo "$as_me:$LINENO: result: $result" >&5
7893 echo "${ECHO_T}$result" >&6; }
7897 defaultval=$wxUSE_ALL_FEATURES
7898 if test -z "$defaultval"; then
7899 if test x"$enablestring" = xdisable; then
7906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7908 # Check whether --enable-streams was given.
7909 if test "${enable_streams+set}" = set; then
7910 enableval=$enable_streams;
7911 if test "$enableval" = yes; then
7912 wx_cv_use_streams='wxUSE_STREAMS=yes'
7914 wx_cv_use_streams='wxUSE_STREAMS=no'
7919 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7924 eval "$wx_cv_use_streams"
7926 if test x"$enablestring" = xdisable; then
7927 if test $wxUSE_STREAMS = no; then
7933 result=$wxUSE_STREAMS
7936 { echo "$as_me:$LINENO: result: $result" >&5
7937 echo "${ECHO_T}$result" >&6; }
7941 defaultval=$wxUSE_ALL_FEATURES
7942 if test -z "$defaultval"; then
7943 if test x"$enablestring" = xdisable; then
7950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7952 # Check whether --enable-sysoptions was given.
7953 if test "${enable_sysoptions+set}" = set; then
7954 enableval=$enable_sysoptions;
7955 if test "$enableval" = yes; then
7956 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7958 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7963 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7968 eval "$wx_cv_use_sysoptions"
7970 if test x"$enablestring" = xdisable; then
7971 if test $wxUSE_SYSTEM_OPTIONS = no; then
7977 result=$wxUSE_SYSTEM_OPTIONS
7980 { echo "$as_me:$LINENO: result: $result" >&5
7981 echo "${ECHO_T}$result" >&6; }
7985 defaultval=$wxUSE_ALL_FEATURES
7986 if test -z "$defaultval"; then
7987 if test x"$enablestring" = xdisable; then
7994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7996 # Check whether --enable-tarstream was given.
7997 if test "${enable_tarstream+set}" = set; then
7998 enableval=$enable_tarstream;
7999 if test "$enableval" = yes; then
8000 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8002 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8007 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8012 eval "$wx_cv_use_tarstream"
8014 if test x"$enablestring" = xdisable; then
8015 if test $wxUSE_TARSTREAM = no; then
8021 result=$wxUSE_TARSTREAM
8024 { echo "$as_me:$LINENO: result: $result" >&5
8025 echo "${ECHO_T}$result" >&6; }
8029 defaultval=$wxUSE_ALL_FEATURES
8030 if test -z "$defaultval"; then
8031 if test x"$enablestring" = xdisable; then
8038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8040 # Check whether --enable-textbuf was given.
8041 if test "${enable_textbuf+set}" = set; then
8042 enableval=$enable_textbuf;
8043 if test "$enableval" = yes; then
8044 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8046 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8051 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8056 eval "$wx_cv_use_textbuf"
8058 if test x"$enablestring" = xdisable; then
8059 if test $wxUSE_TEXTBUFFER = no; then
8065 result=$wxUSE_TEXTBUFFER
8068 { echo "$as_me:$LINENO: result: $result" >&5
8069 echo "${ECHO_T}$result" >&6; }
8073 defaultval=$wxUSE_ALL_FEATURES
8074 if test -z "$defaultval"; then
8075 if test x"$enablestring" = xdisable; then
8082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8084 # Check whether --enable-textfile was given.
8085 if test "${enable_textfile+set}" = set; then
8086 enableval=$enable_textfile;
8087 if test "$enableval" = yes; then
8088 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8090 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8095 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8100 eval "$wx_cv_use_textfile"
8102 if test x"$enablestring" = xdisable; then
8103 if test $wxUSE_TEXTFILE = no; then
8109 result=$wxUSE_TEXTFILE
8112 { echo "$as_me:$LINENO: result: $result" >&5
8113 echo "${ECHO_T}$result" >&6; }
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8128 # Check whether --enable-timer was given.
8129 if test "${enable_timer+set}" = set; then
8130 enableval=$enable_timer;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_timer='wxUSE_TIMER=yes'
8134 wx_cv_use_timer='wxUSE_TIMER=no'
8139 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8144 eval "$wx_cv_use_timer"
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_TIMER = no; then
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8161 defaultval=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8172 # Check whether --enable-variant was given.
8173 if test "${enable_variant+set}" = set; then
8174 enableval=$enable_variant;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_variant='wxUSE_VARIANT=yes'
8178 wx_cv_use_variant='wxUSE_VARIANT=no'
8183 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8188 eval "$wx_cv_use_variant"
8190 if test x"$enablestring" = xdisable; then
8191 if test $wxUSE_VARIANT = no; then
8197 result=$wxUSE_VARIANT
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8205 defaultval=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x"$enablestring" = xdisable; then
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8216 # Check whether --enable-zipstream was given.
8217 if test "${enable_zipstream+set}" = set; then
8218 enableval=$enable_zipstream;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8222 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8227 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8232 eval "$wx_cv_use_zipstream"
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_ZIPSTREAM = no; then
8241 result=$wxUSE_ZIPSTREAM
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8250 defaultval=$wxUSE_ALL_FEATURES
8251 if test -z "$defaultval"; then
8252 if test x"$enablestring" = xdisable; then
8259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8260 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8261 # Check whether --enable-url was given.
8262 if test "${enable_url+set}" = set; then
8263 enableval=$enable_url;
8264 if test "$enableval" = yes; then
8265 wx_cv_use_url='wxUSE_URL=yes'
8267 wx_cv_use_url='wxUSE_URL=no'
8272 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8277 eval "$wx_cv_use_url"
8279 if test x"$enablestring" = xdisable; then
8280 if test $wxUSE_URL = no; then
8289 { echo "$as_me:$LINENO: result: $result" >&5
8290 echo "${ECHO_T}$result" >&6; }
8294 defaultval=$wxUSE_ALL_FEATURES
8295 if test -z "$defaultval"; then
8296 if test x"$enablestring" = xdisable; then
8303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8304 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8305 # Check whether --enable-protocol was given.
8306 if test "${enable_protocol+set}" = set; then
8307 enableval=$enable_protocol;
8308 if test "$enableval" = yes; then
8309 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8311 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8316 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8321 eval "$wx_cv_use_protocol"
8323 if test x"$enablestring" = xdisable; then
8324 if test $wxUSE_PROTOCOL = no; then
8330 result=$wxUSE_PROTOCOL
8333 { echo "$as_me:$LINENO: result: $result" >&5
8334 echo "${ECHO_T}$result" >&6; }
8338 defaultval=$wxUSE_ALL_FEATURES
8339 if test -z "$defaultval"; then
8340 if test x"$enablestring" = xdisable; then
8347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8349 # Check whether --enable-protocol_http was given.
8350 if test "${enable_protocol_http+set}" = set; then
8351 enableval=$enable_protocol_http;
8352 if test "$enableval" = yes; then
8353 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8355 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8360 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8365 eval "$wx_cv_use_protocol_http"
8367 if test x"$enablestring" = xdisable; then
8368 if test $wxUSE_PROTOCOL_HTTP = no; then
8374 result=$wxUSE_PROTOCOL_HTTP
8377 { echo "$as_me:$LINENO: result: $result" >&5
8378 echo "${ECHO_T}$result" >&6; }
8382 defaultval=$wxUSE_ALL_FEATURES
8383 if test -z "$defaultval"; then
8384 if test x"$enablestring" = xdisable; then
8391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8392 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8393 # Check whether --enable-protocol_ftp was given.
8394 if test "${enable_protocol_ftp+set}" = set; then
8395 enableval=$enable_protocol_ftp;
8396 if test "$enableval" = yes; then
8397 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8399 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8404 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8409 eval "$wx_cv_use_protocol_ftp"
8411 if test x"$enablestring" = xdisable; then
8412 if test $wxUSE_PROTOCOL_FTP = no; then
8418 result=$wxUSE_PROTOCOL_FTP
8421 { echo "$as_me:$LINENO: result: $result" >&5
8422 echo "${ECHO_T}$result" >&6; }
8426 defaultval=$wxUSE_ALL_FEATURES
8427 if test -z "$defaultval"; then
8428 if test x"$enablestring" = xdisable; then
8435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8436 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8437 # Check whether --enable-protocol_file was given.
8438 if test "${enable_protocol_file+set}" = set; then
8439 enableval=$enable_protocol_file;
8440 if test "$enableval" = yes; then
8441 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8443 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8448 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8453 eval "$wx_cv_use_protocol_file"
8455 if test x"$enablestring" = xdisable; then
8456 if test $wxUSE_PROTOCOL_FILE = no; then
8462 result=$wxUSE_PROTOCOL_FILE
8465 { echo "$as_me:$LINENO: result: $result" >&5
8466 echo "${ECHO_T}$result" >&6; }
8471 defaultval=$wxUSE_ALL_FEATURES
8472 if test -z "$defaultval"; then
8473 if test x"$enablestring" = xdisable; then
8480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8482 # Check whether --enable-threads was given.
8483 if test "${enable_threads+set}" = set; then
8484 enableval=$enable_threads;
8485 if test "$enableval" = yes; then
8486 wx_cv_use_threads='wxUSE_THREADS=yes'
8488 wx_cv_use_threads='wxUSE_THREADS=no'
8493 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8498 eval "$wx_cv_use_threads"
8500 if test x"$enablestring" = xdisable; then
8501 if test $wxUSE_THREADS = no; then
8507 result=$wxUSE_THREADS
8510 { echo "$as_me:$LINENO: result: $result" >&5
8511 echo "${ECHO_T}$result" >&6; }
8517 if test -z "$defaultval"; then
8518 if test x"$enablestring" = xdisable; then
8525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8527 # Check whether --enable-iniconf was given.
8528 if test "${enable_iniconf+set}" = set; then
8529 enableval=$enable_iniconf;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8533 wx_cv_use_iniconf='wxUSE_INICONF=no'
8538 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8543 eval "$wx_cv_use_iniconf"
8545 if test x"$enablestring" = xdisable; then
8546 if test $wxUSE_INICONF = no; then
8552 result=$wxUSE_INICONF
8555 { echo "$as_me:$LINENO: result: $result" >&5
8556 echo "${ECHO_T}$result" >&6; }
8560 defaultval=$wxUSE_ALL_FEATURES
8561 if test -z "$defaultval"; then
8562 if test x"$enablestring" = xdisable; then
8569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8571 # Check whether --enable-regkey was given.
8572 if test "${enable_regkey+set}" = set; then
8573 enableval=$enable_regkey;
8574 if test "$enableval" = yes; then
8575 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8577 wx_cv_use_regkey='wxUSE_REGKEY=no'
8582 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8587 eval "$wx_cv_use_regkey"
8589 if test x"$enablestring" = xdisable; then
8590 if test $wxUSE_REGKEY = no; then
8596 result=$wxUSE_REGKEY
8599 { echo "$as_me:$LINENO: result: $result" >&5
8600 echo "${ECHO_T}$result" >&6; }
8603 if test "$wxUSE_GUI" = "yes"; then
8608 defaultval=$wxUSE_ALL_FEATURES
8609 if test -z "$defaultval"; then
8610 if test x"$enablestring" = xdisable; then
8617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8618 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8619 # Check whether --enable-docview was given.
8620 if test "${enable_docview+set}" = set; then
8621 enableval=$enable_docview;
8622 if test "$enableval" = yes; then
8623 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8625 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8630 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8635 eval "$wx_cv_use_docview"
8637 if test x"$enablestring" = xdisable; then
8638 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8644 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8647 { echo "$as_me:$LINENO: result: $result" >&5
8648 echo "${ECHO_T}$result" >&6; }
8652 defaultval=$wxUSE_ALL_FEATURES
8653 if test -z "$defaultval"; then
8654 if test x"$enablestring" = xdisable; then
8661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8663 # Check whether --enable-help was given.
8664 if test "${enable_help+set}" = set; then
8665 enableval=$enable_help;
8666 if test "$enableval" = yes; then
8667 wx_cv_use_help='wxUSE_HELP=yes'
8669 wx_cv_use_help='wxUSE_HELP=no'
8674 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8679 eval "$wx_cv_use_help"
8681 if test x"$enablestring" = xdisable; then
8682 if test $wxUSE_HELP = no; then
8691 { echo "$as_me:$LINENO: result: $result" >&5
8692 echo "${ECHO_T}$result" >&6; }
8696 defaultval=$wxUSE_ALL_FEATURES
8697 if test -z "$defaultval"; then
8698 if test x"$enablestring" = xdisable; then
8705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8706 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8707 # Check whether --enable-mshtmlhelp was given.
8708 if test "${enable_mshtmlhelp+set}" = set; then
8709 enableval=$enable_mshtmlhelp;
8710 if test "$enableval" = yes; then
8711 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8713 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8718 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8723 eval "$wx_cv_use_mshtmlhelp"
8725 if test x"$enablestring" = xdisable; then
8726 if test $wxUSE_MS_HTML_HELP = no; then
8732 result=$wxUSE_MS_HTML_HELP
8735 { echo "$as_me:$LINENO: result: $result" >&5
8736 echo "${ECHO_T}$result" >&6; }
8740 defaultval=$wxUSE_ALL_FEATURES
8741 if test -z "$defaultval"; then
8742 if test x"$enablestring" = xdisable; then
8749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8751 # Check whether --enable-html was given.
8752 if test "${enable_html+set}" = set; then
8753 enableval=$enable_html;
8754 if test "$enableval" = yes; then
8755 wx_cv_use_html='wxUSE_HTML=yes'
8757 wx_cv_use_html='wxUSE_HTML=no'
8762 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8767 eval "$wx_cv_use_html"
8769 if test x"$enablestring" = xdisable; then
8770 if test $wxUSE_HTML = no; then
8779 { echo "$as_me:$LINENO: result: $result" >&5
8780 echo "${ECHO_T}$result" >&6; }
8784 defaultval=$wxUSE_ALL_FEATURES
8785 if test -z "$defaultval"; then
8786 if test x"$enablestring" = xdisable; then
8793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8794 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8795 # Check whether --enable-htmlhelp was given.
8796 if test "${enable_htmlhelp+set}" = set; then
8797 enableval=$enable_htmlhelp;
8798 if test "$enableval" = yes; then
8799 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8801 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8806 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8811 eval "$wx_cv_use_htmlhelp"
8813 if test x"$enablestring" = xdisable; then
8814 if test $wxUSE_WXHTML_HELP = no; then
8820 result=$wxUSE_WXHTML_HELP
8823 { echo "$as_me:$LINENO: result: $result" >&5
8824 echo "${ECHO_T}$result" >&6; }
8828 defaultval=$wxUSE_ALL_FEATURES
8829 if test -z "$defaultval"; then
8830 if test x"$enablestring" = xdisable; then
8837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8839 # Check whether --enable-xrc was given.
8840 if test "${enable_xrc+set}" = set; then
8841 enableval=$enable_xrc;
8842 if test "$enableval" = yes; then
8843 wx_cv_use_xrc='wxUSE_XRC=yes'
8845 wx_cv_use_xrc='wxUSE_XRC=no'
8850 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8855 eval "$wx_cv_use_xrc"
8857 if test x"$enablestring" = xdisable; then
8858 if test $wxUSE_XRC = no; then
8867 { echo "$as_me:$LINENO: result: $result" >&5
8868 echo "${ECHO_T}$result" >&6; }
8872 defaultval=$wxUSE_ALL_FEATURES
8873 if test -z "$defaultval"; then
8874 if test x"$enablestring" = xdisable; then
8881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8883 # Check whether --enable-aui was given.
8884 if test "${enable_aui+set}" = set; then
8885 enableval=$enable_aui;
8886 if test "$enableval" = yes; then
8887 wx_cv_use_aui='wxUSE_AUI=yes'
8889 wx_cv_use_aui='wxUSE_AUI=no'
8894 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8899 eval "$wx_cv_use_aui"
8901 if test x"$enablestring" = xdisable; then
8902 if test $wxUSE_AUI = no; then
8911 { echo "$as_me:$LINENO: result: $result" >&5
8912 echo "${ECHO_T}$result" >&6; }
8916 defaultval=$wxUSE_ALL_FEATURES
8917 if test -z "$defaultval"; then
8918 if test x"$enablestring" = xdisable; then
8925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8926 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8927 # Check whether --enable-propgrid was given.
8928 if test "${enable_propgrid+set}" = set; then
8929 enableval=$enable_propgrid;
8930 if test "$enableval" = yes; then
8931 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8933 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8938 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8943 eval "$wx_cv_use_propgrid"
8945 if test x"$enablestring" = xdisable; then
8946 if test $wxUSE_PROPGRID = no; then
8952 result=$wxUSE_PROPGRID
8955 { echo "$as_me:$LINENO: result: $result" >&5
8956 echo "${ECHO_T}$result" >&6; }
8960 defaultval=$wxUSE_ALL_FEATURES
8961 if test -z "$defaultval"; then
8962 if test x"$enablestring" = xdisable; then
8969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8970 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8971 # Check whether --enable-ribbon was given.
8972 if test "${enable_ribbon+set}" = set; then
8973 enableval=$enable_ribbon;
8974 if test "$enableval" = yes; then
8975 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8977 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8982 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8987 eval "$wx_cv_use_ribbon"
8989 if test x"$enablestring" = xdisable; then
8990 if test $wxUSE_RIBBON = no; then
8996 result=$wxUSE_RIBBON
8999 { echo "$as_me:$LINENO: result: $result" >&5
9000 echo "${ECHO_T}$result" >&6; }
9004 defaultval=$wxUSE_ALL_FEATURES
9005 if test -z "$defaultval"; then
9006 if test x"$enablestring" = xdisable; then
9013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9014 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9015 # Check whether --enable-stc was given.
9016 if test "${enable_stc+set}" = set; then
9017 enableval=$enable_stc;
9018 if test "$enableval" = yes; then
9019 wx_cv_use_stc='wxUSE_STC=yes'
9021 wx_cv_use_stc='wxUSE_STC=no'
9026 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9031 eval "$wx_cv_use_stc"
9033 if test x"$enablestring" = xdisable; then
9034 if test $wxUSE_STC = no; then
9043 { echo "$as_me:$LINENO: result: $result" >&5
9044 echo "${ECHO_T}$result" >&6; }
9048 defaultval=$wxUSE_ALL_FEATURES
9049 if test -z "$defaultval"; then
9050 if test x"$enablestring" = xdisable; then
9057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9059 # Check whether --enable-constraints was given.
9060 if test "${enable_constraints+set}" = set; then
9061 enableval=$enable_constraints;
9062 if test "$enableval" = yes; then
9063 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9065 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9070 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9075 eval "$wx_cv_use_constraints"
9077 if test x"$enablestring" = xdisable; then
9078 if test $wxUSE_CONSTRAINTS = no; then
9084 result=$wxUSE_CONSTRAINTS
9087 { echo "$as_me:$LINENO: result: $result" >&5
9088 echo "${ECHO_T}$result" >&6; }
9092 defaultval=$wxUSE_ALL_FEATURES
9093 if test -z "$defaultval"; then
9094 if test x"$enablestring" = xdisable; then
9101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9103 # Check whether --enable-loggui was given.
9104 if test "${enable_loggui+set}" = set; then
9105 enableval=$enable_loggui;
9106 if test "$enableval" = yes; then
9107 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9109 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9114 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9119 eval "$wx_cv_use_loggui"
9121 if test x"$enablestring" = xdisable; then
9122 if test $wxUSE_LOGGUI = no; then
9128 result=$wxUSE_LOGGUI
9131 { echo "$as_me:$LINENO: result: $result" >&5
9132 echo "${ECHO_T}$result" >&6; }
9136 defaultval=$wxUSE_ALL_FEATURES
9137 if test -z "$defaultval"; then
9138 if test x"$enablestring" = xdisable; then
9145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9147 # Check whether --enable-logwin was given.
9148 if test "${enable_logwin+set}" = set; then
9149 enableval=$enable_logwin;
9150 if test "$enableval" = yes; then
9151 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9153 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9158 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9163 eval "$wx_cv_use_logwin"
9165 if test x"$enablestring" = xdisable; then
9166 if test $wxUSE_LOGWINDOW = no; then
9172 result=$wxUSE_LOGWINDOW
9175 { echo "$as_me:$LINENO: result: $result" >&5
9176 echo "${ECHO_T}$result" >&6; }
9180 defaultval=$wxUSE_ALL_FEATURES
9181 if test -z "$defaultval"; then
9182 if test x"$enablestring" = xdisable; then
9189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9191 # Check whether --enable-logdialog was given.
9192 if test "${enable_logdialog+set}" = set; then
9193 enableval=$enable_logdialog;
9194 if test "$enableval" = yes; then
9195 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9197 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9202 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9207 eval "$wx_cv_use_logdialog"
9209 if test x"$enablestring" = xdisable; then
9210 if test $wxUSE_LOGDIALOG = no; then
9216 result=$wxUSE_LOGDIALOG
9219 { echo "$as_me:$LINENO: result: $result" >&5
9220 echo "${ECHO_T}$result" >&6; }
9224 defaultval=$wxUSE_ALL_FEATURES
9225 if test -z "$defaultval"; then
9226 if test x"$enablestring" = xdisable; then
9233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9235 # Check whether --enable-mdi was given.
9236 if test "${enable_mdi+set}" = set; then
9237 enableval=$enable_mdi;
9238 if test "$enableval" = yes; then
9239 wx_cv_use_mdi='wxUSE_MDI=yes'
9241 wx_cv_use_mdi='wxUSE_MDI=no'
9246 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9251 eval "$wx_cv_use_mdi"
9253 if test x"$enablestring" = xdisable; then
9254 if test $wxUSE_MDI = no; then
9263 { echo "$as_me:$LINENO: result: $result" >&5
9264 echo "${ECHO_T}$result" >&6; }
9268 defaultval=$wxUSE_ALL_FEATURES
9269 if test -z "$defaultval"; then
9270 if test x"$enablestring" = xdisable; then
9277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9279 # Check whether --enable-mdidoc was given.
9280 if test "${enable_mdidoc+set}" = set; then
9281 enableval=$enable_mdidoc;
9282 if test "$enableval" = yes; then
9283 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9285 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9290 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9295 eval "$wx_cv_use_mdidoc"
9297 if test x"$enablestring" = xdisable; then
9298 if test $wxUSE_MDI_ARCHITECTURE = no; then
9304 result=$wxUSE_MDI_ARCHITECTURE
9307 { echo "$as_me:$LINENO: result: $result" >&5
9308 echo "${ECHO_T}$result" >&6; }
9312 defaultval=$wxUSE_ALL_FEATURES
9313 if test -z "$defaultval"; then
9314 if test x"$enablestring" = xdisable; then
9321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9323 # Check whether --enable-mediactrl was given.
9324 if test "${enable_mediactrl+set}" = set; then
9325 enableval=$enable_mediactrl;
9326 if test "$enableval" = yes; then
9327 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9329 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9334 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9339 eval "$wx_cv_use_mediactrl"
9341 if test x"$enablestring" = xdisable; then
9342 if test $wxUSE_MEDIACTRL = no; then
9348 result=$wxUSE_MEDIACTRL
9351 { echo "$as_me:$LINENO: result: $result" >&5
9352 echo "${ECHO_T}$result" >&6; }
9356 defaultval=$wxUSE_ALL_FEATURES
9357 if test -z "$defaultval"; then
9358 if test x"$enablestring" = xdisable; then
9365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9366 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9367 # Check whether --enable-gstreamer8 was given.
9368 if test "${enable_gstreamer8+set}" = set; then
9369 enableval=$enable_gstreamer8;
9370 if test "$enableval" = yes; then
9371 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9373 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9378 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9383 eval "$wx_cv_use_gstreamer8"
9385 if test x"$enablestring" = xdisable; then
9386 if test $wxUSE_GSTREAMER8 = no; then
9392 result=$wxUSE_GSTREAMER8
9395 { echo "$as_me:$LINENO: result: $result" >&5
9396 echo "${ECHO_T}$result" >&6; }
9400 defaultval=$wxUSE_ALL_FEATURES
9401 if test -z "$defaultval"; then
9402 if test x"$enablestring" = xdisable; then
9409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9411 # Check whether --enable-webkit was given.
9412 if test "${enable_webkit+set}" = set; then
9413 enableval=$enable_webkit;
9414 if test "$enableval" = yes; then
9415 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9417 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9422 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9427 eval "$wx_cv_use_webkit"
9429 if test x"$enablestring" = xdisable; then
9430 if test $wxUSE_WEBKIT = no; then
9436 result=$wxUSE_WEBKIT
9439 { echo "$as_me:$LINENO: result: $result" >&5
9440 echo "${ECHO_T}$result" >&6; }
9444 defaultval=$wxUSE_ALL_FEATURES
9445 if test -z "$defaultval"; then
9446 if test x"$enablestring" = xdisable; then
9453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9454 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9455 # Check whether --enable-richtext was given.
9456 if test "${enable_richtext+set}" = set; then
9457 enableval=$enable_richtext;
9458 if test "$enableval" = yes; then
9459 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9461 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9466 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9471 eval "$wx_cv_use_richtext"
9473 if test x"$enablestring" = xdisable; then
9474 if test $wxUSE_RICHTEXT = no; then
9480 result=$wxUSE_RICHTEXT
9483 { echo "$as_me:$LINENO: result: $result" >&5
9484 echo "${ECHO_T}$result" >&6; }
9488 defaultval=$wxUSE_ALL_FEATURES
9489 if test -z "$defaultval"; then
9490 if test x"$enablestring" = xdisable; then
9497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9498 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9499 # Check whether --enable-postscript was given.
9500 if test "${enable_postscript+set}" = set; then
9501 enableval=$enable_postscript;
9502 if test "$enableval" = yes; then
9503 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9505 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9510 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9515 eval "$wx_cv_use_postscript"
9517 if test x"$enablestring" = xdisable; then
9518 if test $wxUSE_POSTSCRIPT = no; then
9524 result=$wxUSE_POSTSCRIPT
9527 { echo "$as_me:$LINENO: result: $result" >&5
9528 echo "${ECHO_T}$result" >&6; }
9532 defaultval=$wxUSE_ALL_FEATURES
9533 if test -z "$defaultval"; then
9534 if test x"$enablestring" = xdisable; then
9541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9542 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9543 # Check whether --enable-printarch was given.
9544 if test "${enable_printarch+set}" = set; then
9545 enableval=$enable_printarch;
9546 if test "$enableval" = yes; then
9547 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9549 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9554 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9559 eval "$wx_cv_use_printarch"
9561 if test x"$enablestring" = xdisable; then
9562 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9568 result=$wxUSE_PRINTING_ARCHITECTURE
9571 { echo "$as_me:$LINENO: result: $result" >&5
9572 echo "${ECHO_T}$result" >&6; }
9576 defaultval=$wxUSE_ALL_FEATURES
9577 if test -z "$defaultval"; then
9578 if test x"$enablestring" = xdisable; then
9585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9587 # Check whether --enable-svg was given.
9588 if test "${enable_svg+set}" = set; then
9589 enableval=$enable_svg;
9590 if test "$enableval" = yes; then
9591 wx_cv_use_svg='wxUSE_SVG=yes'
9593 wx_cv_use_svg='wxUSE_SVG=no'
9598 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9603 eval "$wx_cv_use_svg"
9605 if test x"$enablestring" = xdisable; then
9606 if test $wxUSE_SVG = no; then
9615 { echo "$as_me:$LINENO: result: $result" >&5
9616 echo "${ECHO_T}$result" >&6; }
9619 if test "$wxUSE_MAC" != 1; then
9622 defaultval=$wxUSE_ALL_FEATURES
9623 if test -z "$defaultval"; then
9624 if test x"$enablestring" = xdisable; then
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9633 # Check whether --enable-graphics_ctx was given.
9634 if test "${enable_graphics_ctx+set}" = set; then
9635 enableval=$enable_graphics_ctx;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9639 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9644 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9649 eval "$wx_cv_use_graphics_ctx"
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9658 result=$wxUSE_GRAPHICS_CONTEXT
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9669 defaultval=$wxUSE_ALL_FEATURES
9670 if test -z "$defaultval"; then
9671 if test x"$enablestring" = xdisable; then
9678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9680 # Check whether --enable-clipboard was given.
9681 if test "${enable_clipboard+set}" = set; then
9682 enableval=$enable_clipboard;
9683 if test "$enableval" = yes; then
9684 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9686 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9691 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9696 eval "$wx_cv_use_clipboard"
9698 if test x"$enablestring" = xdisable; then
9699 if test $wxUSE_CLIPBOARD = no; then
9705 result=$wxUSE_CLIPBOARD
9708 { echo "$as_me:$LINENO: result: $result" >&5
9709 echo "${ECHO_T}$result" >&6; }
9713 defaultval=$wxUSE_ALL_FEATURES
9714 if test -z "$defaultval"; then
9715 if test x"$enablestring" = xdisable; then
9722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9724 # Check whether --enable-dnd was given.
9725 if test "${enable_dnd+set}" = set; then
9726 enableval=$enable_dnd;
9727 if test "$enableval" = yes; then
9728 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9730 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9735 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9740 eval "$wx_cv_use_dnd"
9742 if test x"$enablestring" = xdisable; then
9743 if test $wxUSE_DRAG_AND_DROP = no; then
9749 result=$wxUSE_DRAG_AND_DROP
9752 { echo "$as_me:$LINENO: result: $result" >&5
9753 echo "${ECHO_T}$result" >&6; }
9757 defaultval=$wxUSE_ALL_FEATURES
9758 if test -z "$defaultval"; then
9759 if test x"$enablestring" = xdisable; then
9766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9767 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9768 # Check whether --enable-metafile was given.
9769 if test "${enable_metafile+set}" = set; then
9770 enableval=$enable_metafile;
9771 if test "$enableval" = yes; then
9772 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9774 wx_cv_use_metafile='wxUSE_METAFILE=no'
9779 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9784 eval "$wx_cv_use_metafile"
9786 if test x"$enablestring" = xdisable; then
9787 if test $wxUSE_METAFILE = no; then
9793 result=$wxUSE_METAFILE
9796 { echo "$as_me:$LINENO: result: $result" >&5
9797 echo "${ECHO_T}$result" >&6; }
9801 DEFAULT_wxUSE_CONTROLS=none
9803 enablestring=disable
9805 if test -z "$defaultval"; then
9806 if test x"$enablestring" = xdisable; then
9813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9814 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9815 # Check whether --enable-controls was given.
9816 if test "${enable_controls+set}" = set; then
9817 enableval=$enable_controls;
9818 if test "$enableval" = yes; then
9819 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9821 wx_cv_use_controls='wxUSE_CONTROLS=no'
9826 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9831 eval "$wx_cv_use_controls"
9833 if test x"$enablestring" = xdisable; then
9834 if test $wxUSE_CONTROLS = no; then
9840 result=$wxUSE_CONTROLS
9843 { echo "$as_me:$LINENO: result: $result" >&5
9844 echo "${ECHO_T}$result" >&6; }
9847 if test "$wxUSE_CONTROLS" = "no"; then
9848 DEFAULT_wxUSE_ACCEL=no
9849 DEFAULT_wxUSE_ANIMATIONCTRL=no
9850 DEFAULT_wxUSE_BMPBUTTON=no
9851 DEFAULT_wxUSE_BUTTON=no
9852 DEFAULT_wxUSE_CALCTRL=no
9853 DEFAULT_wxUSE_CARET=no
9854 DEFAULT_wxUSE_CHECKBOX=no
9855 DEFAULT_wxUSE_CHECKLISTBOX=no
9856 DEFAULT_wxUSE_CHOICE=no
9857 DEFAULT_wxUSE_CHOICEBOOK=no
9858 DEFAULT_wxUSE_COLLPANE=no
9859 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9860 DEFAULT_wxUSE_COMBOBOX=no
9861 DEFAULT_wxUSE_COMBOBOX=no
9862 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9863 DEFAULT_wxUSE_DATAVIEWCTRL=no
9864 DEFAULT_wxUSE_DATEPICKCTRL=no
9865 DEFAULT_wxUSE_DETECT_SM=no
9866 DEFAULT_wxUSE_DIRPICKERCTRL=no
9867 DEFAULT_wxUSE_DISPLAY=no
9868 DEFAULT_wxUSE_FILECTRL=no
9869 DEFAULT_wxUSE_FILEPICKERCTRL=no
9870 DEFAULT_wxUSE_FONTPICKERCTRL=no
9871 DEFAULT_wxUSE_GAUGE=no
9872 DEFAULT_wxUSE_GRID=no
9873 DEFAULT_wxUSE_HEADERCTRL=no
9874 DEFAULT_wxUSE_HYPERLINKCTRL=no
9875 DEFAULT_wxUSE_IMAGLIST=no
9876 DEFAULT_wxUSE_LISTBOOK=no
9877 DEFAULT_wxUSE_LISTBOX=no
9878 DEFAULT_wxUSE_LISTCTRL=no
9879 DEFAULT_wxUSE_MARKUP=no
9880 DEFAULT_wxUSE_NOTEBOOK=no
9881 DEFAULT_wxUSE_POPUPWIN=no
9882 DEFAULT_wxUSE_RADIOBOX=no
9883 DEFAULT_wxUSE_RADIOBTN=no
9884 DEFAULT_wxUSE_RICHMSGDLG=no
9885 DEFAULT_wxUSE_REARRANGECTRL=no
9886 DEFAULT_wxUSE_SASH=no
9887 DEFAULT_wxUSE_SCROLLBAR=no
9888 DEFAULT_wxUSE_SEARCHCTRL=no
9889 DEFAULT_wxUSE_SLIDER=no
9890 DEFAULT_wxUSE_SPINBTN=no
9891 DEFAULT_wxUSE_SPINCTRL=no
9892 DEFAULT_wxUSE_SPLITTER=no
9893 DEFAULT_wxUSE_STATBMP=no
9894 DEFAULT_wxUSE_STATBOX=no
9895 DEFAULT_wxUSE_STATLINE=no
9896 DEFAULT_wxUSE_STATUSBAR=no
9897 DEFAULT_wxUSE_TIPWINDOW=no
9898 DEFAULT_wxUSE_TOGGLEBTN=no
9899 DEFAULT_wxUSE_TOOLBAR=no
9900 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9901 DEFAULT_wxUSE_TOOLBOOK=no
9902 DEFAULT_wxUSE_TOOLTIPS=no
9903 DEFAULT_wxUSE_TREEBOOK=no
9904 DEFAULT_wxUSE_TREECTRL=no
9909 defaultval=$wxUSE_ALL_FEATURES
9910 if test -z "$defaultval"; then
9911 if test x"$enablestring" = xdisable; then
9918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9919 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9920 # Check whether --enable-markup was given.
9921 if test "${enable_markup+set}" = set; then
9922 enableval=$enable_markup;
9923 if test "$enableval" = yes; then
9924 wx_cv_use_markup='wxUSE_MARKUP=yes'
9926 wx_cv_use_markup='wxUSE_MARKUP=no'
9931 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9936 eval "$wx_cv_use_markup"
9938 if test x"$enablestring" = xdisable; then
9939 if test $wxUSE_MARKUP = no; then
9945 result=$wxUSE_MARKUP
9948 { echo "$as_me:$LINENO: result: $result" >&5
9949 echo "${ECHO_T}$result" >&6; }
9954 defaultval=$wxUSE_ALL_FEATURES
9955 if test -z "$defaultval"; then
9956 if test x"$enablestring" = xdisable; then
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9965 # Check whether --enable-accel was given.
9966 if test "${enable_accel+set}" = set; then
9967 enableval=$enable_accel;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_accel='wxUSE_ACCEL=yes'
9971 wx_cv_use_accel='wxUSE_ACCEL=no'
9976 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9981 eval "$wx_cv_use_accel"
9983 if test x"$enablestring" = xdisable; then
9984 if test $wxUSE_ACCEL = no; then
9993 { echo "$as_me:$LINENO: result: $result" >&5
9994 echo "${ECHO_T}$result" >&6; }
9998 defaultval=$wxUSE_ALL_FEATURES
9999 if test -z "$defaultval"; then
10000 if test x"$enablestring" = xdisable; then
10007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10009 # Check whether --enable-animatectrl was given.
10010 if test "${enable_animatectrl+set}" = set; then
10011 enableval=$enable_animatectrl;
10012 if test "$enableval" = yes; then
10013 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10015 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10020 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10025 eval "$wx_cv_use_animatectrl"
10027 if test x"$enablestring" = xdisable; then
10028 if test $wxUSE_ANIMATIONCTRL = no; then
10034 result=$wxUSE_ANIMATIONCTRL
10037 { echo "$as_me:$LINENO: result: $result" >&5
10038 echo "${ECHO_T}$result" >&6; }
10042 defaultval=$wxUSE_ALL_FEATURES
10043 if test -z "$defaultval"; then
10044 if test x"$enablestring" = xdisable; then
10051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10053 # Check whether --enable-artstd was given.
10054 if test "${enable_artstd+set}" = set; then
10055 enableval=$enable_artstd;
10056 if test "$enableval" = yes; then
10057 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10059 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10064 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10069 eval "$wx_cv_use_artstd"
10071 if test x"$enablestring" = xdisable; then
10072 if test $wxUSE_ARTPROVIDER_STD = no; then
10078 result=$wxUSE_ARTPROVIDER_STD
10081 { echo "$as_me:$LINENO: result: $result" >&5
10082 echo "${ECHO_T}$result" >&6; }
10086 defaultval=$wxUSE_ALL_FEATURES
10087 if test -z "$defaultval"; then
10088 if test x"$enablestring" = xdisable; then
10095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10097 # Check whether --enable-arttango was given.
10098 if test "${enable_arttango+set}" = set; then
10099 enableval=$enable_arttango;
10100 if test "$enableval" = yes; then
10101 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10103 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10108 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10113 eval "$wx_cv_use_arttango"
10115 if test x"$enablestring" = xdisable; then
10116 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10122 result=$wxUSE_ARTPROVIDER_TANGO
10125 { echo "$as_me:$LINENO: result: $result" >&5
10126 echo "${ECHO_T}$result" >&6; }
10130 defaultval=$wxUSE_ALL_FEATURES
10131 if test -z "$defaultval"; then
10132 if test x"$enablestring" = xdisable; then
10139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10140 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10141 # Check whether --enable-bmpbutton was given.
10142 if test "${enable_bmpbutton+set}" = set; then
10143 enableval=$enable_bmpbutton;
10144 if test "$enableval" = yes; then
10145 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10147 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10152 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10157 eval "$wx_cv_use_bmpbutton"
10159 if test x"$enablestring" = xdisable; then
10160 if test $wxUSE_BMPBUTTON = no; then
10166 result=$wxUSE_BMPBUTTON
10169 { echo "$as_me:$LINENO: result: $result" >&5
10170 echo "${ECHO_T}$result" >&6; }
10174 defaultval=$wxUSE_ALL_FEATURES
10175 if test -z "$defaultval"; then
10176 if test x"$enablestring" = xdisable; then
10183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10185 # Check whether --enable-bmpcombobox was given.
10186 if test "${enable_bmpcombobox+set}" = set; then
10187 enableval=$enable_bmpcombobox;
10188 if test "$enableval" = yes; then
10189 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10191 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10196 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10201 eval "$wx_cv_use_bmpcombobox"
10203 if test x"$enablestring" = xdisable; then
10204 if test $wxUSE_BITMAPCOMBOBOX = no; then
10210 result=$wxUSE_BITMAPCOMBOBOX
10213 { echo "$as_me:$LINENO: result: $result" >&5
10214 echo "${ECHO_T}$result" >&6; }
10218 defaultval=$wxUSE_ALL_FEATURES
10219 if test -z "$defaultval"; then
10220 if test x"$enablestring" = xdisable; then
10227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10228 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10229 # Check whether --enable-button was given.
10230 if test "${enable_button+set}" = set; then
10231 enableval=$enable_button;
10232 if test "$enableval" = yes; then
10233 wx_cv_use_button='wxUSE_BUTTON=yes'
10235 wx_cv_use_button='wxUSE_BUTTON=no'
10240 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10245 eval "$wx_cv_use_button"
10247 if test x"$enablestring" = xdisable; then
10248 if test $wxUSE_BUTTON = no; then
10254 result=$wxUSE_BUTTON
10257 { echo "$as_me:$LINENO: result: $result" >&5
10258 echo "${ECHO_T}$result" >&6; }
10262 defaultval=$wxUSE_ALL_FEATURES
10263 if test -z "$defaultval"; then
10264 if test x"$enablestring" = xdisable; then
10271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10272 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10273 # Check whether --enable-calendar was given.
10274 if test "${enable_calendar+set}" = set; then
10275 enableval=$enable_calendar;
10276 if test "$enableval" = yes; then
10277 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10279 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10284 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10289 eval "$wx_cv_use_calendar"
10291 if test x"$enablestring" = xdisable; then
10292 if test $wxUSE_CALCTRL = no; then
10298 result=$wxUSE_CALCTRL
10301 { echo "$as_me:$LINENO: result: $result" >&5
10302 echo "${ECHO_T}$result" >&6; }
10306 defaultval=$wxUSE_ALL_FEATURES
10307 if test -z "$defaultval"; then
10308 if test x"$enablestring" = xdisable; then
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10317 # Check whether --enable-caret was given.
10318 if test "${enable_caret+set}" = set; then
10319 enableval=$enable_caret;
10320 if test "$enableval" = yes; then
10321 wx_cv_use_caret='wxUSE_CARET=yes'
10323 wx_cv_use_caret='wxUSE_CARET=no'
10328 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10333 eval "$wx_cv_use_caret"
10335 if test x"$enablestring" = xdisable; then
10336 if test $wxUSE_CARET = no; then
10342 result=$wxUSE_CARET
10345 { echo "$as_me:$LINENO: result: $result" >&5
10346 echo "${ECHO_T}$result" >&6; }
10350 defaultval=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x"$enablestring" = xdisable; then
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10361 # Check whether --enable-checkbox was given.
10362 if test "${enable_checkbox+set}" = set; then
10363 enableval=$enable_checkbox;
10364 if test "$enableval" = yes; then
10365 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10367 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10372 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10377 eval "$wx_cv_use_checkbox"
10379 if test x"$enablestring" = xdisable; then
10380 if test $wxUSE_CHECKBOX = no; then
10386 result=$wxUSE_CHECKBOX
10389 { echo "$as_me:$LINENO: result: $result" >&5
10390 echo "${ECHO_T}$result" >&6; }
10394 defaultval=$wxUSE_ALL_FEATURES
10395 if test -z "$defaultval"; then
10396 if test x"$enablestring" = xdisable; then
10403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10405 # Check whether --enable-checklst was given.
10406 if test "${enable_checklst+set}" = set; then
10407 enableval=$enable_checklst;
10408 if test "$enableval" = yes; then
10409 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10411 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10416 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10421 eval "$wx_cv_use_checklst"
10423 if test x"$enablestring" = xdisable; then
10424 if test $wxUSE_CHECKLST = no; then
10430 result=$wxUSE_CHECKLST
10433 { echo "$as_me:$LINENO: result: $result" >&5
10434 echo "${ECHO_T}$result" >&6; }
10438 defaultval=$wxUSE_ALL_FEATURES
10439 if test -z "$defaultval"; then
10440 if test x"$enablestring" = xdisable; then
10447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10448 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10449 # Check whether --enable-choice was given.
10450 if test "${enable_choice+set}" = set; then
10451 enableval=$enable_choice;
10452 if test "$enableval" = yes; then
10453 wx_cv_use_choice='wxUSE_CHOICE=yes'
10455 wx_cv_use_choice='wxUSE_CHOICE=no'
10460 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10465 eval "$wx_cv_use_choice"
10467 if test x"$enablestring" = xdisable; then
10468 if test $wxUSE_CHOICE = no; then
10474 result=$wxUSE_CHOICE
10477 { echo "$as_me:$LINENO: result: $result" >&5
10478 echo "${ECHO_T}$result" >&6; }
10482 defaultval=$wxUSE_ALL_FEATURES
10483 if test -z "$defaultval"; then
10484 if test x"$enablestring" = xdisable; then
10491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10492 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10493 # Check whether --enable-choicebook was given.
10494 if test "${enable_choicebook+set}" = set; then
10495 enableval=$enable_choicebook;
10496 if test "$enableval" = yes; then
10497 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10499 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10504 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10509 eval "$wx_cv_use_choicebook"
10511 if test x"$enablestring" = xdisable; then
10512 if test $wxUSE_CHOICEBOOK = no; then
10518 result=$wxUSE_CHOICEBOOK
10521 { echo "$as_me:$LINENO: result: $result" >&5
10522 echo "${ECHO_T}$result" >&6; }
10526 defaultval=$wxUSE_ALL_FEATURES
10527 if test -z "$defaultval"; then
10528 if test x"$enablestring" = xdisable; then
10535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10536 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10537 # Check whether --enable-collpane was given.
10538 if test "${enable_collpane+set}" = set; then
10539 enableval=$enable_collpane;
10540 if test "$enableval" = yes; then
10541 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10543 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10548 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10553 eval "$wx_cv_use_collpane"
10555 if test x"$enablestring" = xdisable; then
10556 if test $wxUSE_COLLPANE = no; then
10562 result=$wxUSE_COLLPANE
10565 { echo "$as_me:$LINENO: result: $result" >&5
10566 echo "${ECHO_T}$result" >&6; }
10570 defaultval=$wxUSE_ALL_FEATURES
10571 if test -z "$defaultval"; then
10572 if test x"$enablestring" = xdisable; then
10579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10581 # Check whether --enable-colourpicker was given.
10582 if test "${enable_colourpicker+set}" = set; then
10583 enableval=$enable_colourpicker;
10584 if test "$enableval" = yes; then
10585 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10587 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10592 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10597 eval "$wx_cv_use_colourpicker"
10599 if test x"$enablestring" = xdisable; then
10600 if test $wxUSE_COLOURPICKERCTRL = no; then
10606 result=$wxUSE_COLOURPICKERCTRL
10609 { echo "$as_me:$LINENO: result: $result" >&5
10610 echo "${ECHO_T}$result" >&6; }
10614 defaultval=$wxUSE_ALL_FEATURES
10615 if test -z "$defaultval"; then
10616 if test x"$enablestring" = xdisable; then
10623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10625 # Check whether --enable-combobox was given.
10626 if test "${enable_combobox+set}" = set; then
10627 enableval=$enable_combobox;
10628 if test "$enableval" = yes; then
10629 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10631 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10636 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10641 eval "$wx_cv_use_combobox"
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_COMBOBOX = no; then
10650 result=$wxUSE_COMBOBOX
10653 { echo "$as_me:$LINENO: result: $result" >&5
10654 echo "${ECHO_T}$result" >&6; }
10658 defaultval=$wxUSE_ALL_FEATURES
10659 if test -z "$defaultval"; then
10660 if test x"$enablestring" = xdisable; then
10667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10668 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10669 # Check whether --enable-comboctrl was given.
10670 if test "${enable_comboctrl+set}" = set; then
10671 enableval=$enable_comboctrl;
10672 if test "$enableval" = yes; then
10673 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10675 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10680 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10685 eval "$wx_cv_use_comboctrl"
10687 if test x"$enablestring" = xdisable; then
10688 if test $wxUSE_COMBOCTRL = no; then
10694 result=$wxUSE_COMBOCTRL
10697 { echo "$as_me:$LINENO: result: $result" >&5
10698 echo "${ECHO_T}$result" >&6; }
10702 defaultval=$wxUSE_ALL_FEATURES
10703 if test -z "$defaultval"; then
10704 if test x"$enablestring" = xdisable; then
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10713 # Check whether --enable-commandlinkbutton was given.
10714 if test "${enable_commandlinkbutton+set}" = set; then
10715 enableval=$enable_commandlinkbutton;
10716 if test "$enableval" = yes; then
10717 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10719 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10724 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10729 eval "$wx_cv_use_commandlinkbutton"
10731 if test x"$enablestring" = xdisable; then
10732 if test $wxUSE_COMMANDLINKBUTTON = no; then
10738 result=$wxUSE_COMMANDLINKBUTTON
10741 { echo "$as_me:$LINENO: result: $result" >&5
10742 echo "${ECHO_T}$result" >&6; }
10746 defaultval=$wxUSE_ALL_FEATURES
10747 if test -z "$defaultval"; then
10748 if test x"$enablestring" = xdisable; then
10755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10756 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10757 # Check whether --enable-dataviewctrl was given.
10758 if test "${enable_dataviewctrl+set}" = set; then
10759 enableval=$enable_dataviewctrl;
10760 if test "$enableval" = yes; then
10761 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10763 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10768 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10773 eval "$wx_cv_use_dataviewctrl"
10775 if test x"$enablestring" = xdisable; then
10776 if test $wxUSE_DATAVIEWCTRL = no; then
10782 result=$wxUSE_DATAVIEWCTRL
10785 { echo "$as_me:$LINENO: result: $result" >&5
10786 echo "${ECHO_T}$result" >&6; }
10790 defaultval=$wxUSE_ALL_FEATURES
10791 if test -z "$defaultval"; then
10792 if test x"$enablestring" = xdisable; then
10799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10800 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10801 # Check whether --enable-datepick was given.
10802 if test "${enable_datepick+set}" = set; then
10803 enableval=$enable_datepick;
10804 if test "$enableval" = yes; then
10805 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10807 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10812 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10817 eval "$wx_cv_use_datepick"
10819 if test x"$enablestring" = xdisable; then
10820 if test $wxUSE_DATEPICKCTRL = no; then
10826 result=$wxUSE_DATEPICKCTRL
10829 { echo "$as_me:$LINENO: result: $result" >&5
10830 echo "${ECHO_T}$result" >&6; }
10834 defaultval=$wxUSE_ALL_FEATURES
10835 if test -z "$defaultval"; then
10836 if test x"$enablestring" = xdisable; then
10843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10844 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10845 # Check whether --enable-detect_sm was given.
10846 if test "${enable_detect_sm+set}" = set; then
10847 enableval=$enable_detect_sm;
10848 if test "$enableval" = yes; then
10849 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10851 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10856 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10861 eval "$wx_cv_use_detect_sm"
10863 if test x"$enablestring" = xdisable; then
10864 if test $wxUSE_DETECT_SM = no; then
10870 result=$wxUSE_DETECT_SM
10873 { echo "$as_me:$LINENO: result: $result" >&5
10874 echo "${ECHO_T}$result" >&6; }
10878 defaultval=$wxUSE_ALL_FEATURES
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10888 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10889 # Check whether --enable-dirpicker was given.
10890 if test "${enable_dirpicker+set}" = set; then
10891 enableval=$enable_dirpicker;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10895 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10900 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10905 eval "$wx_cv_use_dirpicker"
10907 if test x"$enablestring" = xdisable; then
10908 if test $wxUSE_DIRPICKERCTRL = no; then
10914 result=$wxUSE_DIRPICKERCTRL
10917 { echo "$as_me:$LINENO: result: $result" >&5
10918 echo "${ECHO_T}$result" >&6; }
10922 defaultval=$wxUSE_ALL_FEATURES
10923 if test -z "$defaultval"; then
10924 if test x"$enablestring" = xdisable; then
10931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10932 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10933 # Check whether --enable-display was given.
10934 if test "${enable_display+set}" = set; then
10935 enableval=$enable_display;
10936 if test "$enableval" = yes; then
10937 wx_cv_use_display='wxUSE_DISPLAY=yes'
10939 wx_cv_use_display='wxUSE_DISPLAY=no'
10944 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10949 eval "$wx_cv_use_display"
10951 if test x"$enablestring" = xdisable; then
10952 if test $wxUSE_DISPLAY = no; then
10958 result=$wxUSE_DISPLAY
10961 { echo "$as_me:$LINENO: result: $result" >&5
10962 echo "${ECHO_T}$result" >&6; }
10966 defaultval=$wxUSE_ALL_FEATURES
10967 if test -z "$defaultval"; then
10968 if test x"$enablestring" = xdisable; then
10975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10976 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10977 # Check whether --enable-editablebox was given.
10978 if test "${enable_editablebox+set}" = set; then
10979 enableval=$enable_editablebox;
10980 if test "$enableval" = yes; then
10981 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10983 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10988 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10993 eval "$wx_cv_use_editablebox"
10995 if test x"$enablestring" = xdisable; then
10996 if test $wxUSE_EDITABLELISTBOX = no; then
11002 result=$wxUSE_EDITABLELISTBOX
11005 { echo "$as_me:$LINENO: result: $result" >&5
11006 echo "${ECHO_T}$result" >&6; }
11010 defaultval=$wxUSE_ALL_FEATURES
11011 if test -z "$defaultval"; then
11012 if test x"$enablestring" = xdisable; then
11019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11020 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11021 # Check whether --enable-filectrl was given.
11022 if test "${enable_filectrl+set}" = set; then
11023 enableval=$enable_filectrl;
11024 if test "$enableval" = yes; then
11025 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11027 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11032 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11037 eval "$wx_cv_use_filectrl"
11039 if test x"$enablestring" = xdisable; then
11040 if test $wxUSE_FILECTRL = no; then
11046 result=$wxUSE_FILECTRL
11049 { echo "$as_me:$LINENO: result: $result" >&5
11050 echo "${ECHO_T}$result" >&6; }
11054 defaultval=$wxUSE_ALL_FEATURES
11055 if test -z "$defaultval"; then
11056 if test x"$enablestring" = xdisable; then
11063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11064 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11065 # Check whether --enable-filepicker was given.
11066 if test "${enable_filepicker+set}" = set; then
11067 enableval=$enable_filepicker;
11068 if test "$enableval" = yes; then
11069 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11071 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11076 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11081 eval "$wx_cv_use_filepicker"
11083 if test x"$enablestring" = xdisable; then
11084 if test $wxUSE_FILEPICKERCTRL = no; then
11090 result=$wxUSE_FILEPICKERCTRL
11093 { echo "$as_me:$LINENO: result: $result" >&5
11094 echo "${ECHO_T}$result" >&6; }
11098 defaultval=$wxUSE_ALL_FEATURES
11099 if test -z "$defaultval"; then
11100 if test x"$enablestring" = xdisable; then
11107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11108 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11109 # Check whether --enable-fontpicker was given.
11110 if test "${enable_fontpicker+set}" = set; then
11111 enableval=$enable_fontpicker;
11112 if test "$enableval" = yes; then
11113 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11115 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11120 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11125 eval "$wx_cv_use_fontpicker"
11127 if test x"$enablestring" = xdisable; then
11128 if test $wxUSE_FONTPICKERCTRL = no; then
11134 result=$wxUSE_FONTPICKERCTRL
11137 { echo "$as_me:$LINENO: result: $result" >&5
11138 echo "${ECHO_T}$result" >&6; }
11142 defaultval=$wxUSE_ALL_FEATURES
11143 if test -z "$defaultval"; then
11144 if test x"$enablestring" = xdisable; then
11151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11152 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11153 # Check whether --enable-gauge was given.
11154 if test "${enable_gauge+set}" = set; then
11155 enableval=$enable_gauge;
11156 if test "$enableval" = yes; then
11157 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11159 wx_cv_use_gauge='wxUSE_GAUGE=no'
11164 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11169 eval "$wx_cv_use_gauge"
11171 if test x"$enablestring" = xdisable; then
11172 if test $wxUSE_GAUGE = no; then
11178 result=$wxUSE_GAUGE
11181 { echo "$as_me:$LINENO: result: $result" >&5
11182 echo "${ECHO_T}$result" >&6; }
11186 defaultval=$wxUSE_ALL_FEATURES
11187 if test -z "$defaultval"; then
11188 if test x"$enablestring" = xdisable; then
11195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11196 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11197 # Check whether --enable-grid was given.
11198 if test "${enable_grid+set}" = set; then
11199 enableval=$enable_grid;
11200 if test "$enableval" = yes; then
11201 wx_cv_use_grid='wxUSE_GRID=yes'
11203 wx_cv_use_grid='wxUSE_GRID=no'
11208 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11213 eval "$wx_cv_use_grid"
11215 if test x"$enablestring" = xdisable; then
11216 if test $wxUSE_GRID = no; then
11225 { echo "$as_me:$LINENO: result: $result" >&5
11226 echo "${ECHO_T}$result" >&6; }
11230 defaultval=$wxUSE_ALL_FEATURES
11231 if test -z "$defaultval"; then
11232 if test x"$enablestring" = xdisable; then
11239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11240 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11241 # Check whether --enable-headerctrl was given.
11242 if test "${enable_headerctrl+set}" = set; then
11243 enableval=$enable_headerctrl;
11244 if test "$enableval" = yes; then
11245 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11247 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11252 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11257 eval "$wx_cv_use_headerctrl"
11259 if test x"$enablestring" = xdisable; then
11260 if test $wxUSE_HEADERCTRL = no; then
11266 result=$wxUSE_HEADERCTRL
11269 { echo "$as_me:$LINENO: result: $result" >&5
11270 echo "${ECHO_T}$result" >&6; }
11274 defaultval=$wxUSE_ALL_FEATURES
11275 if test -z "$defaultval"; then
11276 if test x"$enablestring" = xdisable; then
11283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11285 # Check whether --enable-hyperlink was given.
11286 if test "${enable_hyperlink+set}" = set; then
11287 enableval=$enable_hyperlink;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11291 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11296 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11301 eval "$wx_cv_use_hyperlink"
11303 if test x"$enablestring" = xdisable; then
11304 if test $wxUSE_HYPERLINKCTRL = no; then
11310 result=$wxUSE_HYPERLINKCTRL
11313 { echo "$as_me:$LINENO: result: $result" >&5
11314 echo "${ECHO_T}$result" >&6; }
11318 defaultval=$wxUSE_ALL_FEATURES
11319 if test -z "$defaultval"; then
11320 if test x"$enablestring" = xdisable; then
11327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11328 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11329 # Check whether --enable-imaglist was given.
11330 if test "${enable_imaglist+set}" = set; then
11331 enableval=$enable_imaglist;
11332 if test "$enableval" = yes; then
11333 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11335 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11340 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11345 eval "$wx_cv_use_imaglist"
11347 if test x"$enablestring" = xdisable; then
11348 if test $wxUSE_IMAGLIST = no; then
11354 result=$wxUSE_IMAGLIST
11357 { echo "$as_me:$LINENO: result: $result" >&5
11358 echo "${ECHO_T}$result" >&6; }
11362 defaultval=$wxUSE_ALL_FEATURES
11363 if test -z "$defaultval"; then
11364 if test x"$enablestring" = xdisable; then
11371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11372 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11373 # Check whether --enable-infobar was given.
11374 if test "${enable_infobar+set}" = set; then
11375 enableval=$enable_infobar;
11376 if test "$enableval" = yes; then
11377 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11379 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11384 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11389 eval "$wx_cv_use_infobar"
11391 if test x"$enablestring" = xdisable; then
11392 if test $wxUSE_INFOBAR = no; then
11398 result=$wxUSE_INFOBAR
11401 { echo "$as_me:$LINENO: result: $result" >&5
11402 echo "${ECHO_T}$result" >&6; }
11406 defaultval=$wxUSE_ALL_FEATURES
11407 if test -z "$defaultval"; then
11408 if test x"$enablestring" = xdisable; then
11415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11416 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11417 # Check whether --enable-listbook was given.
11418 if test "${enable_listbook+set}" = set; then
11419 enableval=$enable_listbook;
11420 if test "$enableval" = yes; then
11421 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11423 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11428 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11433 eval "$wx_cv_use_listbook"
11435 if test x"$enablestring" = xdisable; then
11436 if test $wxUSE_LISTBOOK = no; then
11442 result=$wxUSE_LISTBOOK
11445 { echo "$as_me:$LINENO: result: $result" >&5
11446 echo "${ECHO_T}$result" >&6; }
11450 defaultval=$wxUSE_ALL_FEATURES
11451 if test -z "$defaultval"; then
11452 if test x"$enablestring" = xdisable; then
11459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11461 # Check whether --enable-listbox was given.
11462 if test "${enable_listbox+set}" = set; then
11463 enableval=$enable_listbox;
11464 if test "$enableval" = yes; then
11465 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11467 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11472 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11477 eval "$wx_cv_use_listbox"
11479 if test x"$enablestring" = xdisable; then
11480 if test $wxUSE_LISTBOX = no; then
11486 result=$wxUSE_LISTBOX
11489 { echo "$as_me:$LINENO: result: $result" >&5
11490 echo "${ECHO_T}$result" >&6; }
11494 defaultval=$wxUSE_ALL_FEATURES
11495 if test -z "$defaultval"; then
11496 if test x"$enablestring" = xdisable; then
11503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11504 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11505 # Check whether --enable-listctrl was given.
11506 if test "${enable_listctrl+set}" = set; then
11507 enableval=$enable_listctrl;
11508 if test "$enableval" = yes; then
11509 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11511 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11516 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11521 eval "$wx_cv_use_listctrl"
11523 if test x"$enablestring" = xdisable; then
11524 if test $wxUSE_LISTCTRL = no; then
11530 result=$wxUSE_LISTCTRL
11533 { echo "$as_me:$LINENO: result: $result" >&5
11534 echo "${ECHO_T}$result" >&6; }
11538 defaultval=$wxUSE_ALL_FEATURES
11539 if test -z "$defaultval"; then
11540 if test x"$enablestring" = xdisable; then
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11549 # Check whether --enable-notebook was given.
11550 if test "${enable_notebook+set}" = set; then
11551 enableval=$enable_notebook;
11552 if test "$enableval" = yes; then
11553 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11555 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11560 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11565 eval "$wx_cv_use_notebook"
11567 if test x"$enablestring" = xdisable; then
11568 if test $wxUSE_NOTEBOOK = no; then
11574 result=$wxUSE_NOTEBOOK
11577 { echo "$as_me:$LINENO: result: $result" >&5
11578 echo "${ECHO_T}$result" >&6; }
11582 defaultval=$wxUSE_ALL_FEATURES
11583 if test -z "$defaultval"; then
11584 if test x"$enablestring" = xdisable; then
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11593 # Check whether --enable-notifmsg was given.
11594 if test "${enable_notifmsg+set}" = set; then
11595 enableval=$enable_notifmsg;
11596 if test "$enableval" = yes; then
11597 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11599 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11604 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11609 eval "$wx_cv_use_notifmsg"
11611 if test x"$enablestring" = xdisable; then
11612 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11618 result=$wxUSE_NOTIFICATION_MESSAGE
11621 { echo "$as_me:$LINENO: result: $result" >&5
11622 echo "${ECHO_T}$result" >&6; }
11626 defaultval=$wxUSE_ALL_FEATURES
11627 if test -z "$defaultval"; then
11628 if test x"$enablestring" = xdisable; then
11635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11636 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11637 # Check whether --enable-odcombobox was given.
11638 if test "${enable_odcombobox+set}" = set; then
11639 enableval=$enable_odcombobox;
11640 if test "$enableval" = yes; then
11641 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11643 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11648 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11653 eval "$wx_cv_use_odcombobox"
11655 if test x"$enablestring" = xdisable; then
11656 if test $wxUSE_ODCOMBOBOX = no; then
11662 result=$wxUSE_ODCOMBOBOX
11665 { echo "$as_me:$LINENO: result: $result" >&5
11666 echo "${ECHO_T}$result" >&6; }
11670 defaultval=$wxUSE_ALL_FEATURES
11671 if test -z "$defaultval"; then
11672 if test x"$enablestring" = xdisable; then
11679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11680 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11681 # Check whether --enable-popupwin was given.
11682 if test "${enable_popupwin+set}" = set; then
11683 enableval=$enable_popupwin;
11684 if test "$enableval" = yes; then
11685 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11687 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11692 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11697 eval "$wx_cv_use_popupwin"
11699 if test x"$enablestring" = xdisable; then
11700 if test $wxUSE_POPUPWIN = no; then
11706 result=$wxUSE_POPUPWIN
11709 { echo "$as_me:$LINENO: result: $result" >&5
11710 echo "${ECHO_T}$result" >&6; }
11714 defaultval=$wxUSE_ALL_FEATURES
11715 if test -z "$defaultval"; then
11716 if test x"$enablestring" = xdisable; then
11723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11724 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11725 # Check whether --enable-radiobox was given.
11726 if test "${enable_radiobox+set}" = set; then
11727 enableval=$enable_radiobox;
11728 if test "$enableval" = yes; then
11729 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11731 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11736 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11741 eval "$wx_cv_use_radiobox"
11743 if test x"$enablestring" = xdisable; then
11744 if test $wxUSE_RADIOBOX = no; then
11750 result=$wxUSE_RADIOBOX
11753 { echo "$as_me:$LINENO: result: $result" >&5
11754 echo "${ECHO_T}$result" >&6; }
11758 defaultval=$wxUSE_ALL_FEATURES
11759 if test -z "$defaultval"; then
11760 if test x"$enablestring" = xdisable; then
11767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11768 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11769 # Check whether --enable-radiobtn was given.
11770 if test "${enable_radiobtn+set}" = set; then
11771 enableval=$enable_radiobtn;
11772 if test "$enableval" = yes; then
11773 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11775 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11780 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11785 eval "$wx_cv_use_radiobtn"
11787 if test x"$enablestring" = xdisable; then
11788 if test $wxUSE_RADIOBTN = no; then
11794 result=$wxUSE_RADIOBTN
11797 { echo "$as_me:$LINENO: result: $result" >&5
11798 echo "${ECHO_T}$result" >&6; }
11802 defaultval=$wxUSE_ALL_FEATURES
11803 if test -z "$defaultval"; then
11804 if test x"$enablestring" = xdisable; then
11811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11812 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11813 # Check whether --enable-richmsgdlg was given.
11814 if test "${enable_richmsgdlg+set}" = set; then
11815 enableval=$enable_richmsgdlg;
11816 if test "$enableval" = yes; then
11817 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11819 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11824 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11829 eval "$wx_cv_use_richmsgdlg"
11831 if test x"$enablestring" = xdisable; then
11832 if test $wxUSE_RICHMSGDLG = no; then
11838 result=$wxUSE_RICHMSGDLG
11841 { echo "$as_me:$LINENO: result: $result" >&5
11842 echo "${ECHO_T}$result" >&6; }
11846 defaultval=$wxUSE_ALL_FEATURES
11847 if test -z "$defaultval"; then
11848 if test x"$enablestring" = xdisable; then
11855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11857 # Check whether --enable-rearrangectrl was given.
11858 if test "${enable_rearrangectrl+set}" = set; then
11859 enableval=$enable_rearrangectrl;
11860 if test "$enableval" = yes; then
11861 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11863 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11868 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11873 eval "$wx_cv_use_rearrangectrl"
11875 if test x"$enablestring" = xdisable; then
11876 if test $wxUSE_REARRANGECTRL = no; then
11882 result=$wxUSE_REARRANGECTRL
11885 { echo "$as_me:$LINENO: result: $result" >&5
11886 echo "${ECHO_T}$result" >&6; }
11890 defaultval=$wxUSE_ALL_FEATURES
11891 if test -z "$defaultval"; then
11892 if test x"$enablestring" = xdisable; then
11899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11900 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11901 # Check whether --enable-sash was given.
11902 if test "${enable_sash+set}" = set; then
11903 enableval=$enable_sash;
11904 if test "$enableval" = yes; then
11905 wx_cv_use_sash='wxUSE_SASH=yes'
11907 wx_cv_use_sash='wxUSE_SASH=no'
11912 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11917 eval "$wx_cv_use_sash"
11919 if test x"$enablestring" = xdisable; then
11920 if test $wxUSE_SASH = no; then
11929 { echo "$as_me:$LINENO: result: $result" >&5
11930 echo "${ECHO_T}$result" >&6; }
11934 defaultval=$wxUSE_ALL_FEATURES
11935 if test -z "$defaultval"; then
11936 if test x"$enablestring" = xdisable; then
11943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11944 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11945 # Check whether --enable-scrollbar was given.
11946 if test "${enable_scrollbar+set}" = set; then
11947 enableval=$enable_scrollbar;
11948 if test "$enableval" = yes; then
11949 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11951 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11956 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11961 eval "$wx_cv_use_scrollbar"
11963 if test x"$enablestring" = xdisable; then
11964 if test $wxUSE_SCROLLBAR = no; then
11970 result=$wxUSE_SCROLLBAR
11973 { echo "$as_me:$LINENO: result: $result" >&5
11974 echo "${ECHO_T}$result" >&6; }
11978 defaultval=$wxUSE_ALL_FEATURES
11979 if test -z "$defaultval"; then
11980 if test x"$enablestring" = xdisable; then
11987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11988 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11989 # Check whether --enable-searchctrl was given.
11990 if test "${enable_searchctrl+set}" = set; then
11991 enableval=$enable_searchctrl;
11992 if test "$enableval" = yes; then
11993 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11995 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12000 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12005 eval "$wx_cv_use_searchctrl"
12007 if test x"$enablestring" = xdisable; then
12008 if test $wxUSE_SEARCHCTRL = no; then
12014 result=$wxUSE_SEARCHCTRL
12017 { echo "$as_me:$LINENO: result: $result" >&5
12018 echo "${ECHO_T}$result" >&6; }
12022 defaultval=$wxUSE_ALL_FEATURES
12023 if test -z "$defaultval"; then
12024 if test x"$enablestring" = xdisable; then
12031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12032 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12033 # Check whether --enable-slider was given.
12034 if test "${enable_slider+set}" = set; then
12035 enableval=$enable_slider;
12036 if test "$enableval" = yes; then
12037 wx_cv_use_slider='wxUSE_SLIDER=yes'
12039 wx_cv_use_slider='wxUSE_SLIDER=no'
12044 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12049 eval "$wx_cv_use_slider"
12051 if test x"$enablestring" = xdisable; then
12052 if test $wxUSE_SLIDER = no; then
12058 result=$wxUSE_SLIDER
12061 { echo "$as_me:$LINENO: result: $result" >&5
12062 echo "${ECHO_T}$result" >&6; }
12066 defaultval=$wxUSE_ALL_FEATURES
12067 if test -z "$defaultval"; then
12068 if test x"$enablestring" = xdisable; then
12075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12076 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12077 # Check whether --enable-spinbtn was given.
12078 if test "${enable_spinbtn+set}" = set; then
12079 enableval=$enable_spinbtn;
12080 if test "$enableval" = yes; then
12081 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12083 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12088 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12093 eval "$wx_cv_use_spinbtn"
12095 if test x"$enablestring" = xdisable; then
12096 if test $wxUSE_SPINBTN = no; then
12102 result=$wxUSE_SPINBTN
12105 { echo "$as_me:$LINENO: result: $result" >&5
12106 echo "${ECHO_T}$result" >&6; }
12110 defaultval=$wxUSE_ALL_FEATURES
12111 if test -z "$defaultval"; then
12112 if test x"$enablestring" = xdisable; then
12119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12120 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12121 # Check whether --enable-spinctrl was given.
12122 if test "${enable_spinctrl+set}" = set; then
12123 enableval=$enable_spinctrl;
12124 if test "$enableval" = yes; then
12125 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12127 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12132 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12137 eval "$wx_cv_use_spinctrl"
12139 if test x"$enablestring" = xdisable; then
12140 if test $wxUSE_SPINCTRL = no; then
12146 result=$wxUSE_SPINCTRL
12149 { echo "$as_me:$LINENO: result: $result" >&5
12150 echo "${ECHO_T}$result" >&6; }
12154 defaultval=$wxUSE_ALL_FEATURES
12155 if test -z "$defaultval"; then
12156 if test x"$enablestring" = xdisable; then
12163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12164 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12165 # Check whether --enable-splitter was given.
12166 if test "${enable_splitter+set}" = set; then
12167 enableval=$enable_splitter;
12168 if test "$enableval" = yes; then
12169 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12171 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12176 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12181 eval "$wx_cv_use_splitter"
12183 if test x"$enablestring" = xdisable; then
12184 if test $wxUSE_SPLITTER = no; then
12190 result=$wxUSE_SPLITTER
12193 { echo "$as_me:$LINENO: result: $result" >&5
12194 echo "${ECHO_T}$result" >&6; }
12198 defaultval=$wxUSE_ALL_FEATURES
12199 if test -z "$defaultval"; then
12200 if test x"$enablestring" = xdisable; then
12207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12208 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12209 # Check whether --enable-statbmp was given.
12210 if test "${enable_statbmp+set}" = set; then
12211 enableval=$enable_statbmp;
12212 if test "$enableval" = yes; then
12213 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12215 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12220 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12225 eval "$wx_cv_use_statbmp"
12227 if test x"$enablestring" = xdisable; then
12228 if test $wxUSE_STATBMP = no; then
12234 result=$wxUSE_STATBMP
12237 { echo "$as_me:$LINENO: result: $result" >&5
12238 echo "${ECHO_T}$result" >&6; }
12242 defaultval=$wxUSE_ALL_FEATURES
12243 if test -z "$defaultval"; then
12244 if test x"$enablestring" = xdisable; then
12251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12252 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12253 # Check whether --enable-statbox was given.
12254 if test "${enable_statbox+set}" = set; then
12255 enableval=$enable_statbox;
12256 if test "$enableval" = yes; then
12257 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12259 wx_cv_use_statbox='wxUSE_STATBOX=no'
12264 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12269 eval "$wx_cv_use_statbox"
12271 if test x"$enablestring" = xdisable; then
12272 if test $wxUSE_STATBOX = no; then
12278 result=$wxUSE_STATBOX
12281 { echo "$as_me:$LINENO: result: $result" >&5
12282 echo "${ECHO_T}$result" >&6; }
12286 defaultval=$wxUSE_ALL_FEATURES
12287 if test -z "$defaultval"; then
12288 if test x"$enablestring" = xdisable; then
12295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12296 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12297 # Check whether --enable-statline was given.
12298 if test "${enable_statline+set}" = set; then
12299 enableval=$enable_statline;
12300 if test "$enableval" = yes; then
12301 wx_cv_use_statline='wxUSE_STATLINE=yes'
12303 wx_cv_use_statline='wxUSE_STATLINE=no'
12308 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12313 eval "$wx_cv_use_statline"
12315 if test x"$enablestring" = xdisable; then
12316 if test $wxUSE_STATLINE = no; then
12322 result=$wxUSE_STATLINE
12325 { echo "$as_me:$LINENO: result: $result" >&5
12326 echo "${ECHO_T}$result" >&6; }
12330 defaultval=$wxUSE_ALL_FEATURES
12331 if test -z "$defaultval"; then
12332 if test x"$enablestring" = xdisable; then
12339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12340 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12341 # Check whether --enable-stattext was given.
12342 if test "${enable_stattext+set}" = set; then
12343 enableval=$enable_stattext;
12344 if test "$enableval" = yes; then
12345 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12347 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12352 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12357 eval "$wx_cv_use_stattext"
12359 if test x"$enablestring" = xdisable; then
12360 if test $wxUSE_STATTEXT = no; then
12366 result=$wxUSE_STATTEXT
12369 { echo "$as_me:$LINENO: result: $result" >&5
12370 echo "${ECHO_T}$result" >&6; }
12374 defaultval=$wxUSE_ALL_FEATURES
12375 if test -z "$defaultval"; then
12376 if test x"$enablestring" = xdisable; then
12383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12384 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12385 # Check whether --enable-statusbar was given.
12386 if test "${enable_statusbar+set}" = set; then
12387 enableval=$enable_statusbar;
12388 if test "$enableval" = yes; then
12389 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12391 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12396 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12401 eval "$wx_cv_use_statusbar"
12403 if test x"$enablestring" = xdisable; then
12404 if test $wxUSE_STATUSBAR = no; then
12410 result=$wxUSE_STATUSBAR
12413 { echo "$as_me:$LINENO: result: $result" >&5
12414 echo "${ECHO_T}$result" >&6; }
12418 defaultval=$wxUSE_ALL_FEATURES
12419 if test -z "$defaultval"; then
12420 if test x"$enablestring" = xdisable; then
12427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12428 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12429 # Check whether --enable-taskbaricon was given.
12430 if test "${enable_taskbaricon+set}" = set; then
12431 enableval=$enable_taskbaricon;
12432 if test "$enableval" = yes; then
12433 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12435 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12440 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12445 eval "$wx_cv_use_taskbaricon"
12447 if test x"$enablestring" = xdisable; then
12448 if test $wxUSE_TASKBARICON = no; then
12454 result=$wxUSE_TASKBARICON
12457 { echo "$as_me:$LINENO: result: $result" >&5
12458 echo "${ECHO_T}$result" >&6; }
12462 defaultval=$wxUSE_ALL_FEATURES
12463 if test -z "$defaultval"; then
12464 if test x"$enablestring" = xdisable; then
12471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12472 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12473 # Check whether --enable-tbarnative was given.
12474 if test "${enable_tbarnative+set}" = set; then
12475 enableval=$enable_tbarnative;
12476 if test "$enableval" = yes; then
12477 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12479 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12484 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12489 eval "$wx_cv_use_tbarnative"
12491 if test x"$enablestring" = xdisable; then
12492 if test $wxUSE_TOOLBAR_NATIVE = no; then
12498 result=$wxUSE_TOOLBAR_NATIVE
12501 { echo "$as_me:$LINENO: result: $result" >&5
12502 echo "${ECHO_T}$result" >&6; }
12506 defaultval=$wxUSE_ALL_FEATURES
12507 if test -z "$defaultval"; then
12508 if test x"$enablestring" = xdisable; then
12515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12516 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12517 # Check whether --enable-textctrl was given.
12518 if test "${enable_textctrl+set}" = set; then
12519 enableval=$enable_textctrl;
12520 if test "$enableval" = yes; then
12521 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12523 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12528 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12533 eval "$wx_cv_use_textctrl"
12535 if test x"$enablestring" = xdisable; then
12536 if test $wxUSE_TEXTCTRL = no; then
12542 result=$wxUSE_TEXTCTRL
12545 { echo "$as_me:$LINENO: result: $result" >&5
12546 echo "${ECHO_T}$result" >&6; }
12550 defaultval=$wxUSE_ALL_FEATURES
12551 if test -z "$defaultval"; then
12552 if test x"$enablestring" = xdisable; then
12559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12560 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12561 # Check whether --enable-tipwindow was given.
12562 if test "${enable_tipwindow+set}" = set; then
12563 enableval=$enable_tipwindow;
12564 if test "$enableval" = yes; then
12565 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12567 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12572 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12577 eval "$wx_cv_use_tipwindow"
12579 if test x"$enablestring" = xdisable; then
12580 if test $wxUSE_TIPWINDOW = no; then
12586 result=$wxUSE_TIPWINDOW
12589 { echo "$as_me:$LINENO: result: $result" >&5
12590 echo "${ECHO_T}$result" >&6; }
12594 defaultval=$wxUSE_ALL_FEATURES
12595 if test -z "$defaultval"; then
12596 if test x"$enablestring" = xdisable; then
12603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12604 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12605 # Check whether --enable-togglebtn was given.
12606 if test "${enable_togglebtn+set}" = set; then
12607 enableval=$enable_togglebtn;
12608 if test "$enableval" = yes; then
12609 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12611 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12616 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12621 eval "$wx_cv_use_togglebtn"
12623 if test x"$enablestring" = xdisable; then
12624 if test $wxUSE_TOGGLEBTN = no; then
12630 result=$wxUSE_TOGGLEBTN
12633 { echo "$as_me:$LINENO: result: $result" >&5
12634 echo "${ECHO_T}$result" >&6; }
12638 defaultval=$wxUSE_ALL_FEATURES
12639 if test -z "$defaultval"; then
12640 if test x"$enablestring" = xdisable; then
12647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12648 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12649 # Check whether --enable-toolbar was given.
12650 if test "${enable_toolbar+set}" = set; then
12651 enableval=$enable_toolbar;
12652 if test "$enableval" = yes; then
12653 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12655 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12660 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12665 eval "$wx_cv_use_toolbar"
12667 if test x"$enablestring" = xdisable; then
12668 if test $wxUSE_TOOLBAR = no; then
12674 result=$wxUSE_TOOLBAR
12677 { echo "$as_me:$LINENO: result: $result" >&5
12678 echo "${ECHO_T}$result" >&6; }
12682 defaultval=$wxUSE_ALL_FEATURES
12683 if test -z "$defaultval"; then
12684 if test x"$enablestring" = xdisable; then
12691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12692 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12693 # Check whether --enable-toolbook was given.
12694 if test "${enable_toolbook+set}" = set; then
12695 enableval=$enable_toolbook;
12696 if test "$enableval" = yes; then
12697 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12699 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12704 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12709 eval "$wx_cv_use_toolbook"
12711 if test x"$enablestring" = xdisable; then
12712 if test $wxUSE_TOOLBOOK = no; then
12718 result=$wxUSE_TOOLBOOK
12721 { echo "$as_me:$LINENO: result: $result" >&5
12722 echo "${ECHO_T}$result" >&6; }
12726 defaultval=$wxUSE_ALL_FEATURES
12727 if test -z "$defaultval"; then
12728 if test x"$enablestring" = xdisable; then
12735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12736 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12737 # Check whether --enable-treebook was given.
12738 if test "${enable_treebook+set}" = set; then
12739 enableval=$enable_treebook;
12740 if test "$enableval" = yes; then
12741 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12743 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12748 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12753 eval "$wx_cv_use_treebook"
12755 if test x"$enablestring" = xdisable; then
12756 if test $wxUSE_TREEBOOK = no; then
12762 result=$wxUSE_TREEBOOK
12765 { echo "$as_me:$LINENO: result: $result" >&5
12766 echo "${ECHO_T}$result" >&6; }
12770 defaultval=$wxUSE_ALL_FEATURES
12771 if test -z "$defaultval"; then
12772 if test x"$enablestring" = xdisable; then
12779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12780 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12781 # Check whether --enable-treectrl was given.
12782 if test "${enable_treectrl+set}" = set; then
12783 enableval=$enable_treectrl;
12784 if test "$enableval" = yes; then
12785 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12787 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12792 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12797 eval "$wx_cv_use_treectrl"
12799 if test x"$enablestring" = xdisable; then
12800 if test $wxUSE_TREECTRL = no; then
12806 result=$wxUSE_TREECTRL
12809 { echo "$as_me:$LINENO: result: $result" >&5
12810 echo "${ECHO_T}$result" >&6; }
12816 defaultval=$wxUSE_ALL_FEATURES
12817 if test -z "$defaultval"; then
12818 if test x"$enablestring" = xdisable; then
12825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12826 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12827 # Check whether --enable-commondlg was given.
12828 if test "${enable_commondlg+set}" = set; then
12829 enableval=$enable_commondlg;
12830 if test "$enableval" = yes; then
12831 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12833 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12838 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12843 eval "$wx_cv_use_commondlg"
12845 if test x"$enablestring" = xdisable; then
12846 if test $wxUSE_COMMONDLGS = no; then
12852 result=$wxUSE_COMMONDLGS
12855 { echo "$as_me:$LINENO: result: $result" >&5
12856 echo "${ECHO_T}$result" >&6; }
12860 defaultval=$wxUSE_ALL_FEATURES
12861 if test -z "$defaultval"; then
12862 if test x"$enablestring" = xdisable; then
12869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12870 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12871 # Check whether --enable-aboutdlg was given.
12872 if test "${enable_aboutdlg+set}" = set; then
12873 enableval=$enable_aboutdlg;
12874 if test "$enableval" = yes; then
12875 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12877 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12882 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12887 eval "$wx_cv_use_aboutdlg"
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_ABOUTDLG = no; then
12896 result=$wxUSE_ABOUTDLG
12899 { echo "$as_me:$LINENO: result: $result" >&5
12900 echo "${ECHO_T}$result" >&6; }
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12914 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12915 # Check whether --enable-choicedlg was given.
12916 if test "${enable_choicedlg+set}" = set; then
12917 enableval=$enable_choicedlg;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12921 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12926 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12931 eval "$wx_cv_use_choicedlg"
12933 if test x"$enablestring" = xdisable; then
12934 if test $wxUSE_CHOICEDLG = no; then
12940 result=$wxUSE_CHOICEDLG
12943 { echo "$as_me:$LINENO: result: $result" >&5
12944 echo "${ECHO_T}$result" >&6; }
12948 defaultval=$wxUSE_ALL_FEATURES
12949 if test -z "$defaultval"; then
12950 if test x"$enablestring" = xdisable; then
12957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12958 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12959 # Check whether --enable-coldlg was given.
12960 if test "${enable_coldlg+set}" = set; then
12961 enableval=$enable_coldlg;
12962 if test "$enableval" = yes; then
12963 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12965 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12970 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12975 eval "$wx_cv_use_coldlg"
12977 if test x"$enablestring" = xdisable; then
12978 if test $wxUSE_COLOURDLG = no; then
12984 result=$wxUSE_COLOURDLG
12987 { echo "$as_me:$LINENO: result: $result" >&5
12988 echo "${ECHO_T}$result" >&6; }
12992 defaultval=$wxUSE_ALL_FEATURES
12993 if test -z "$defaultval"; then
12994 if test x"$enablestring" = xdisable; then
13001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13002 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13003 # Check whether --enable-filedlg was given.
13004 if test "${enable_filedlg+set}" = set; then
13005 enableval=$enable_filedlg;
13006 if test "$enableval" = yes; then
13007 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13009 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13014 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13019 eval "$wx_cv_use_filedlg"
13021 if test x"$enablestring" = xdisable; then
13022 if test $wxUSE_FILEDLG = no; then
13028 result=$wxUSE_FILEDLG
13031 { echo "$as_me:$LINENO: result: $result" >&5
13032 echo "${ECHO_T}$result" >&6; }
13036 defaultval=$wxUSE_ALL_FEATURES
13037 if test -z "$defaultval"; then
13038 if test x"$enablestring" = xdisable; then
13045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13046 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13047 # Check whether --enable-finddlg was given.
13048 if test "${enable_finddlg+set}" = set; then
13049 enableval=$enable_finddlg;
13050 if test "$enableval" = yes; then
13051 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13053 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13058 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13063 eval "$wx_cv_use_finddlg"
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_FINDREPLDLG = no; then
13072 result=$wxUSE_FINDREPLDLG
13075 { echo "$as_me:$LINENO: result: $result" >&5
13076 echo "${ECHO_T}$result" >&6; }
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13090 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13091 # Check whether --enable-fontdlg was given.
13092 if test "${enable_fontdlg+set}" = set; then
13093 enableval=$enable_fontdlg;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13097 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13102 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13107 eval "$wx_cv_use_fontdlg"
13109 if test x"$enablestring" = xdisable; then
13110 if test $wxUSE_FONTDLG = no; then
13116 result=$wxUSE_FONTDLG
13119 { echo "$as_me:$LINENO: result: $result" >&5
13120 echo "${ECHO_T}$result" >&6; }
13124 defaultval=$wxUSE_ALL_FEATURES
13125 if test -z "$defaultval"; then
13126 if test x"$enablestring" = xdisable; then
13133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13134 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13135 # Check whether --enable-dirdlg was given.
13136 if test "${enable_dirdlg+set}" = set; then
13137 enableval=$enable_dirdlg;
13138 if test "$enableval" = yes; then
13139 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13141 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13146 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13151 eval "$wx_cv_use_dirdlg"
13153 if test x"$enablestring" = xdisable; then
13154 if test $wxUSE_DIRDLG = no; then
13160 result=$wxUSE_DIRDLG
13163 { echo "$as_me:$LINENO: result: $result" >&5
13164 echo "${ECHO_T}$result" >&6; }
13168 defaultval=$wxUSE_ALL_FEATURES
13169 if test -z "$defaultval"; then
13170 if test x"$enablestring" = xdisable; then
13177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13178 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13179 # Check whether --enable-msgdlg was given.
13180 if test "${enable_msgdlg+set}" = set; then
13181 enableval=$enable_msgdlg;
13182 if test "$enableval" = yes; then
13183 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13185 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13190 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13195 eval "$wx_cv_use_msgdlg"
13197 if test x"$enablestring" = xdisable; then
13198 if test $wxUSE_MSGDLG = no; then
13204 result=$wxUSE_MSGDLG
13207 { echo "$as_me:$LINENO: result: $result" >&5
13208 echo "${ECHO_T}$result" >&6; }
13212 defaultval=$wxUSE_ALL_FEATURES
13213 if test -z "$defaultval"; then
13214 if test x"$enablestring" = xdisable; then
13221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13222 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13223 # Check whether --enable-numberdlg was given.
13224 if test "${enable_numberdlg+set}" = set; then
13225 enableval=$enable_numberdlg;
13226 if test "$enableval" = yes; then
13227 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13229 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13234 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13239 eval "$wx_cv_use_numberdlg"
13241 if test x"$enablestring" = xdisable; then
13242 if test $wxUSE_NUMBERDLG = no; then
13248 result=$wxUSE_NUMBERDLG
13251 { echo "$as_me:$LINENO: result: $result" >&5
13252 echo "${ECHO_T}$result" >&6; }
13256 defaultval=$wxUSE_ALL_FEATURES
13257 if test -z "$defaultval"; then
13258 if test x"$enablestring" = xdisable; then
13265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13266 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13267 # Check whether --enable-splash was given.
13268 if test "${enable_splash+set}" = set; then
13269 enableval=$enable_splash;
13270 if test "$enableval" = yes; then
13271 wx_cv_use_splash='wxUSE_SPLASH=yes'
13273 wx_cv_use_splash='wxUSE_SPLASH=no'
13278 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13283 eval "$wx_cv_use_splash"
13285 if test x"$enablestring" = xdisable; then
13286 if test $wxUSE_SPLASH = no; then
13292 result=$wxUSE_SPLASH
13295 { echo "$as_me:$LINENO: result: $result" >&5
13296 echo "${ECHO_T}$result" >&6; }
13300 defaultval=$wxUSE_ALL_FEATURES
13301 if test -z "$defaultval"; then
13302 if test x"$enablestring" = xdisable; then
13309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13310 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13311 # Check whether --enable-textdlg was given.
13312 if test "${enable_textdlg+set}" = set; then
13313 enableval=$enable_textdlg;
13314 if test "$enableval" = yes; then
13315 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13317 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13322 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13327 eval "$wx_cv_use_textdlg"
13329 if test x"$enablestring" = xdisable; then
13330 if test $wxUSE_TEXTDLG = no; then
13336 result=$wxUSE_TEXTDLG
13339 { echo "$as_me:$LINENO: result: $result" >&5
13340 echo "${ECHO_T}$result" >&6; }
13344 defaultval=$wxUSE_ALL_FEATURES
13345 if test -z "$defaultval"; then
13346 if test x"$enablestring" = xdisable; then
13353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13354 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13355 # Check whether --enable-tipdlg was given.
13356 if test "${enable_tipdlg+set}" = set; then
13357 enableval=$enable_tipdlg;
13358 if test "$enableval" = yes; then
13359 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13361 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13366 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13371 eval "$wx_cv_use_tipdlg"
13373 if test x"$enablestring" = xdisable; then
13374 if test $wxUSE_STARTUP_TIPS = no; then
13380 result=$wxUSE_STARTUP_TIPS
13383 { echo "$as_me:$LINENO: result: $result" >&5
13384 echo "${ECHO_T}$result" >&6; }
13388 defaultval=$wxUSE_ALL_FEATURES
13389 if test -z "$defaultval"; then
13390 if test x"$enablestring" = xdisable; then
13397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13398 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13399 # Check whether --enable-progressdlg was given.
13400 if test "${enable_progressdlg+set}" = set; then
13401 enableval=$enable_progressdlg;
13402 if test "$enableval" = yes; then
13403 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13405 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13410 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13415 eval "$wx_cv_use_progressdlg"
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_PROGRESSDLG = no; then
13424 result=$wxUSE_PROGRESSDLG
13427 { echo "$as_me:$LINENO: result: $result" >&5
13428 echo "${ECHO_T}$result" >&6; }
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13442 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13443 # Check whether --enable-wizarddlg was given.
13444 if test "${enable_wizarddlg+set}" = set; then
13445 enableval=$enable_wizarddlg;
13446 if test "$enableval" = yes; then
13447 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13449 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13454 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13459 eval "$wx_cv_use_wizarddlg"
13461 if test x"$enablestring" = xdisable; then
13462 if test $wxUSE_WIZARDDLG = no; then
13468 result=$wxUSE_WIZARDDLG
13471 { echo "$as_me:$LINENO: result: $result" >&5
13472 echo "${ECHO_T}$result" >&6; }
13478 defaultval=$wxUSE_ALL_FEATURES
13479 if test -z "$defaultval"; then
13480 if test x"$enablestring" = xdisable; then
13487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13488 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13489 # Check whether --enable-menus was given.
13490 if test "${enable_menus+set}" = set; then
13491 enableval=$enable_menus;
13492 if test "$enableval" = yes; then
13493 wx_cv_use_menus='wxUSE_MENUS=yes'
13495 wx_cv_use_menus='wxUSE_MENUS=no'
13500 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13505 eval "$wx_cv_use_menus"
13507 if test x"$enablestring" = xdisable; then
13508 if test $wxUSE_MENUS = no; then
13514 result=$wxUSE_MENUS
13517 { echo "$as_me:$LINENO: result: $result" >&5
13518 echo "${ECHO_T}$result" >&6; }
13522 defaultval=$wxUSE_ALL_FEATURES
13523 if test -z "$defaultval"; then
13524 if test x"$enablestring" = xdisable; then
13531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13532 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13533 # Check whether --enable-miniframe was given.
13534 if test "${enable_miniframe+set}" = set; then
13535 enableval=$enable_miniframe;
13536 if test "$enableval" = yes; then
13537 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13539 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13544 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13549 eval "$wx_cv_use_miniframe"
13551 if test x"$enablestring" = xdisable; then
13552 if test $wxUSE_MINIFRAME = no; then
13558 result=$wxUSE_MINIFRAME
13561 { echo "$as_me:$LINENO: result: $result" >&5
13562 echo "${ECHO_T}$result" >&6; }
13566 defaultval=$wxUSE_ALL_FEATURES
13567 if test -z "$defaultval"; then
13568 if test x"$enablestring" = xdisable; then
13575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13576 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13577 # Check whether --enable-tooltips was given.
13578 if test "${enable_tooltips+set}" = set; then
13579 enableval=$enable_tooltips;
13580 if test "$enableval" = yes; then
13581 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13583 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13588 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13593 eval "$wx_cv_use_tooltips"
13595 if test x"$enablestring" = xdisable; then
13596 if test $wxUSE_TOOLTIPS = no; then
13602 result=$wxUSE_TOOLTIPS
13605 { echo "$as_me:$LINENO: result: $result" >&5
13606 echo "${ECHO_T}$result" >&6; }
13610 defaultval=$wxUSE_ALL_FEATURES
13611 if test -z "$defaultval"; then
13612 if test x"$enablestring" = xdisable; then
13619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13620 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13621 # Check whether --enable-splines was given.
13622 if test "${enable_splines+set}" = set; then
13623 enableval=$enable_splines;
13624 if test "$enableval" = yes; then
13625 wx_cv_use_splines='wxUSE_SPLINES=yes'
13627 wx_cv_use_splines='wxUSE_SPLINES=no'
13632 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13637 eval "$wx_cv_use_splines"
13639 if test x"$enablestring" = xdisable; then
13640 if test $wxUSE_SPLINES = no; then
13646 result=$wxUSE_SPLINES
13649 { echo "$as_me:$LINENO: result: $result" >&5
13650 echo "${ECHO_T}$result" >&6; }
13654 defaultval=$wxUSE_ALL_FEATURES
13655 if test -z "$defaultval"; then
13656 if test x"$enablestring" = xdisable; then
13663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13664 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13665 # Check whether --enable-mousewheel was given.
13666 if test "${enable_mousewheel+set}" = set; then
13667 enableval=$enable_mousewheel;
13668 if test "$enableval" = yes; then
13669 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13671 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13676 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13681 eval "$wx_cv_use_mousewheel"
13683 if test x"$enablestring" = xdisable; then
13684 if test $wxUSE_MOUSEWHEEL = no; then
13690 result=$wxUSE_MOUSEWHEEL
13693 { echo "$as_me:$LINENO: result: $result" >&5
13694 echo "${ECHO_T}$result" >&6; }
13698 defaultval=$wxUSE_ALL_FEATURES
13699 if test -z "$defaultval"; then
13700 if test x"$enablestring" = xdisable; then
13707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13708 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13709 # Check whether --enable-validators was given.
13710 if test "${enable_validators+set}" = set; then
13711 enableval=$enable_validators;
13712 if test "$enableval" = yes; then
13713 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13715 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13720 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13725 eval "$wx_cv_use_validators"
13727 if test x"$enablestring" = xdisable; then
13728 if test $wxUSE_VALIDATORS = no; then
13734 result=$wxUSE_VALIDATORS
13737 { echo "$as_me:$LINENO: result: $result" >&5
13738 echo "${ECHO_T}$result" >&6; }
13742 defaultval=$wxUSE_ALL_FEATURES
13743 if test -z "$defaultval"; then
13744 if test x"$enablestring" = xdisable; then
13751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13752 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13753 # Check whether --enable-busyinfo was given.
13754 if test "${enable_busyinfo+set}" = set; then
13755 enableval=$enable_busyinfo;
13756 if test "$enableval" = yes; then
13757 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13759 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13764 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13769 eval "$wx_cv_use_busyinfo"
13771 if test x"$enablestring" = xdisable; then
13772 if test $wxUSE_BUSYINFO = no; then
13778 result=$wxUSE_BUSYINFO
13781 { echo "$as_me:$LINENO: result: $result" >&5
13782 echo "${ECHO_T}$result" >&6; }
13786 defaultval=$wxUSE_ALL_FEATURES
13787 if test -z "$defaultval"; then
13788 if test x"$enablestring" = xdisable; then
13795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13796 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13797 # Check whether --enable-joystick was given.
13798 if test "${enable_joystick+set}" = set; then
13799 enableval=$enable_joystick;
13800 if test "$enableval" = yes; then
13801 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13803 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13808 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13813 eval "$wx_cv_use_joystick"
13815 if test x"$enablestring" = xdisable; then
13816 if test $wxUSE_JOYSTICK = no; then
13822 result=$wxUSE_JOYSTICK
13825 { echo "$as_me:$LINENO: result: $result" >&5
13826 echo "${ECHO_T}$result" >&6; }
13830 defaultval=$wxUSE_ALL_FEATURES
13831 if test -z "$defaultval"; then
13832 if test x"$enablestring" = xdisable; then
13839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13840 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13841 # Check whether --enable-metafile was given.
13842 if test "${enable_metafile+set}" = set; then
13843 enableval=$enable_metafile;
13844 if test "$enableval" = yes; then
13845 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13847 wx_cv_use_metafile='wxUSE_METAFILE=no'
13852 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13857 eval "$wx_cv_use_metafile"
13859 if test x"$enablestring" = xdisable; then
13860 if test $wxUSE_METAFILE = no; then
13866 result=$wxUSE_METAFILE
13869 { echo "$as_me:$LINENO: result: $result" >&5
13870 echo "${ECHO_T}$result" >&6; }
13874 defaultval=$wxUSE_ALL_FEATURES
13875 if test -z "$defaultval"; then
13876 if test x"$enablestring" = xdisable; then
13883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13884 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13885 # Check whether --enable-dragimage was given.
13886 if test "${enable_dragimage+set}" = set; then
13887 enableval=$enable_dragimage;
13888 if test "$enableval" = yes; then
13889 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13891 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13896 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13901 eval "$wx_cv_use_dragimage"
13903 if test x"$enablestring" = xdisable; then
13904 if test $wxUSE_DRAGIMAGE = no; then
13910 result=$wxUSE_DRAGIMAGE
13913 { echo "$as_me:$LINENO: result: $result" >&5
13914 echo "${ECHO_T}$result" >&6; }
13918 defaultval=$wxUSE_ALL_FEATURES
13919 if test -z "$defaultval"; then
13920 if test x"$enablestring" = xdisable; then
13927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13928 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13929 # Check whether --enable-accessibility was given.
13930 if test "${enable_accessibility+set}" = set; then
13931 enableval=$enable_accessibility;
13932 if test "$enableval" = yes; then
13933 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13935 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13940 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13945 eval "$wx_cv_use_accessibility"
13947 if test x"$enablestring" = xdisable; then
13948 if test $wxUSE_ACCESSIBILITY = no; then
13954 result=$wxUSE_ACCESSIBILITY
13957 { echo "$as_me:$LINENO: result: $result" >&5
13958 echo "${ECHO_T}$result" >&6; }
13962 defaultval=$wxUSE_ALL_FEATURES
13963 if test -z "$defaultval"; then
13964 if test x"$enablestring" = xdisable; then
13971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13972 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13973 # Check whether --enable-uiactionsim was given.
13974 if test "${enable_uiactionsim+set}" = set; then
13975 enableval=$enable_uiactionsim;
13976 if test "$enableval" = yes; then
13977 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13979 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13984 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13989 eval "$wx_cv_use_uiactionsim"
13991 if test x"$enablestring" = xdisable; then
13992 if test $wxUSE_UIACTIONSIMULATOR = no; then
13998 result=$wxUSE_UIACTIONSIMULATOR
14001 { echo "$as_me:$LINENO: result: $result" >&5
14002 echo "${ECHO_T}$result" >&6; }
14008 defaultval=$wxUSE_ALL_FEATURES
14009 if test -z "$defaultval"; then
14010 if test x"$enablestring" = xdisable; then
14017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14018 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14019 # Check whether --enable-palette was given.
14020 if test "${enable_palette+set}" = set; then
14021 enableval=$enable_palette;
14022 if test "$enableval" = yes; then
14023 wx_cv_use_palette='wxUSE_PALETTE=yes'
14025 wx_cv_use_palette='wxUSE_PALETTE=no'
14030 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14035 eval "$wx_cv_use_palette"
14037 if test x"$enablestring" = xdisable; then
14038 if test $wxUSE_PALETTE = no; then
14044 result=$wxUSE_PALETTE
14047 { echo "$as_me:$LINENO: result: $result" >&5
14048 echo "${ECHO_T}$result" >&6; }
14052 defaultval=$wxUSE_ALL_FEATURES
14053 if test -z "$defaultval"; then
14054 if test x"$enablestring" = xdisable; then
14061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14062 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14063 # Check whether --enable-image was given.
14064 if test "${enable_image+set}" = set; then
14065 enableval=$enable_image;
14066 if test "$enableval" = yes; then
14067 wx_cv_use_image='wxUSE_IMAGE=yes'
14069 wx_cv_use_image='wxUSE_IMAGE=no'
14074 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14079 eval "$wx_cv_use_image"
14081 if test x"$enablestring" = xdisable; then
14082 if test $wxUSE_IMAGE = no; then
14088 result=$wxUSE_IMAGE
14091 { echo "$as_me:$LINENO: result: $result" >&5
14092 echo "${ECHO_T}$result" >&6; }
14096 defaultval=$wxUSE_ALL_FEATURES
14097 if test -z "$defaultval"; then
14098 if test x"$enablestring" = xdisable; then
14105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14106 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14107 # Check whether --enable-gif was given.
14108 if test "${enable_gif+set}" = set; then
14109 enableval=$enable_gif;
14110 if test "$enableval" = yes; then
14111 wx_cv_use_gif='wxUSE_GIF=yes'
14113 wx_cv_use_gif='wxUSE_GIF=no'
14118 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14123 eval "$wx_cv_use_gif"
14125 if test x"$enablestring" = xdisable; then
14126 if test $wxUSE_GIF = no; then
14135 { echo "$as_me:$LINENO: result: $result" >&5
14136 echo "${ECHO_T}$result" >&6; }
14140 defaultval=$wxUSE_ALL_FEATURES
14141 if test -z "$defaultval"; then
14142 if test x"$enablestring" = xdisable; then
14149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14150 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14151 # Check whether --enable-pcx was given.
14152 if test "${enable_pcx+set}" = set; then
14153 enableval=$enable_pcx;
14154 if test "$enableval" = yes; then
14155 wx_cv_use_pcx='wxUSE_PCX=yes'
14157 wx_cv_use_pcx='wxUSE_PCX=no'
14162 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14167 eval "$wx_cv_use_pcx"
14169 if test x"$enablestring" = xdisable; then
14170 if test $wxUSE_PCX = no; then
14179 { echo "$as_me:$LINENO: result: $result" >&5
14180 echo "${ECHO_T}$result" >&6; }
14184 defaultval=$wxUSE_ALL_FEATURES
14185 if test -z "$defaultval"; then
14186 if test x"$enablestring" = xdisable; then
14193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14194 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14195 # Check whether --enable-tga was given.
14196 if test "${enable_tga+set}" = set; then
14197 enableval=$enable_tga;
14198 if test "$enableval" = yes; then
14199 wx_cv_use_tga='wxUSE_TGA=yes'
14201 wx_cv_use_tga='wxUSE_TGA=no'
14206 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14211 eval "$wx_cv_use_tga"
14213 if test x"$enablestring" = xdisable; then
14214 if test $wxUSE_TGA = no; then
14223 { echo "$as_me:$LINENO: result: $result" >&5
14224 echo "${ECHO_T}$result" >&6; }
14228 defaultval=$wxUSE_ALL_FEATURES
14229 if test -z "$defaultval"; then
14230 if test x"$enablestring" = xdisable; then
14237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14238 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14239 # Check whether --enable-iff was given.
14240 if test "${enable_iff+set}" = set; then
14241 enableval=$enable_iff;
14242 if test "$enableval" = yes; then
14243 wx_cv_use_iff='wxUSE_IFF=yes'
14245 wx_cv_use_iff='wxUSE_IFF=no'
14250 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14255 eval "$wx_cv_use_iff"
14257 if test x"$enablestring" = xdisable; then
14258 if test $wxUSE_IFF = no; then
14267 { echo "$as_me:$LINENO: result: $result" >&5
14268 echo "${ECHO_T}$result" >&6; }
14272 defaultval=$wxUSE_ALL_FEATURES
14273 if test -z "$defaultval"; then
14274 if test x"$enablestring" = xdisable; then
14281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14282 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14283 # Check whether --enable-pnm was given.
14284 if test "${enable_pnm+set}" = set; then
14285 enableval=$enable_pnm;
14286 if test "$enableval" = yes; then
14287 wx_cv_use_pnm='wxUSE_PNM=yes'
14289 wx_cv_use_pnm='wxUSE_PNM=no'
14294 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14299 eval "$wx_cv_use_pnm"
14301 if test x"$enablestring" = xdisable; then
14302 if test $wxUSE_PNM = no; then
14311 { echo "$as_me:$LINENO: result: $result" >&5
14312 echo "${ECHO_T}$result" >&6; }
14316 defaultval=$wxUSE_ALL_FEATURES
14317 if test -z "$defaultval"; then
14318 if test x"$enablestring" = xdisable; then
14325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14326 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14327 # Check whether --enable-xpm was given.
14328 if test "${enable_xpm+set}" = set; then
14329 enableval=$enable_xpm;
14330 if test "$enableval" = yes; then
14331 wx_cv_use_xpm='wxUSE_XPM=yes'
14333 wx_cv_use_xpm='wxUSE_XPM=no'
14338 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14343 eval "$wx_cv_use_xpm"
14345 if test x"$enablestring" = xdisable; then
14346 if test $wxUSE_XPM = no; then
14355 { echo "$as_me:$LINENO: result: $result" >&5
14356 echo "${ECHO_T}$result" >&6; }
14360 defaultval=$wxUSE_ALL_FEATURES
14361 if test -z "$defaultval"; then
14362 if test x"$enablestring" = xdisable; then
14369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14370 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14371 # Check whether --enable-ico_cur was given.
14372 if test "${enable_ico_cur+set}" = set; then
14373 enableval=$enable_ico_cur;
14374 if test "$enableval" = yes; then
14375 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14377 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14382 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14387 eval "$wx_cv_use_ico_cur"
14389 if test x"$enablestring" = xdisable; then
14390 if test $wxUSE_ICO_CUR = no; then
14396 result=$wxUSE_ICO_CUR
14399 { echo "$as_me:$LINENO: result: $result" >&5
14400 echo "${ECHO_T}$result" >&6; }
14406 defaultval=$wxUSE_ALL_FEATURES
14407 if test -z "$defaultval"; then
14408 if test x"$enablestring" = xdisable; then
14415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14416 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14417 # Check whether --enable-dccache was given.
14418 if test "${enable_dccache+set}" = set; then
14419 enableval=$enable_dccache;
14420 if test "$enableval" = yes; then
14421 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14423 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14428 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14433 eval "$wx_cv_use_dccache"
14435 if test x"$enablestring" = xdisable; then
14436 if test $wxUSE_DC_CACHEING = no; then
14442 result=$wxUSE_DC_CACHEING
14445 { echo "$as_me:$LINENO: result: $result" >&5
14446 echo "${ECHO_T}$result" >&6; }
14450 defaultval=$wxUSE_ALL_FEATURES
14451 if test -z "$defaultval"; then
14452 if test x"$enablestring" = xdisable; then
14459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14460 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14461 # Check whether --enable-ps-in-msw was given.
14462 if test "${enable_ps_in_msw+set}" = set; then
14463 enableval=$enable_ps_in_msw;
14464 if test "$enableval" = yes; then
14465 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14467 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14472 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14477 eval "$wx_cv_use_ps_in_msw"
14479 if test x"$enablestring" = xdisable; then
14480 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14486 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14489 { echo "$as_me:$LINENO: result: $result" >&5
14490 echo "${ECHO_T}$result" >&6; }
14494 defaultval=$wxUSE_ALL_FEATURES
14495 if test -z "$defaultval"; then
14496 if test x"$enablestring" = xdisable; then
14503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14504 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14505 # Check whether --enable-ownerdrawn was given.
14506 if test "${enable_ownerdrawn+set}" = set; then
14507 enableval=$enable_ownerdrawn;
14508 if test "$enableval" = yes; then
14509 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14511 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14516 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14521 eval "$wx_cv_use_ownerdrawn"
14523 if test x"$enablestring" = xdisable; then
14524 if test $wxUSE_OWNER_DRAWN = no; then
14530 result=$wxUSE_OWNER_DRAWN
14533 { echo "$as_me:$LINENO: result: $result" >&5
14534 echo "${ECHO_T}$result" >&6; }
14538 defaultval=$wxUSE_ALL_FEATURES
14539 if test -z "$defaultval"; then
14540 if test x"$enablestring" = xdisable; then
14547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14548 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14549 # Check whether --enable-uxtheme was given.
14550 if test "${enable_uxtheme+set}" = set; then
14551 enableval=$enable_uxtheme;
14552 if test "$enableval" = yes; then
14553 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14555 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14560 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14565 eval "$wx_cv_use_uxtheme"
14567 if test x"$enablestring" = xdisable; then
14568 if test $wxUSE_UXTHEME = no; then
14574 result=$wxUSE_UXTHEME
14577 { echo "$as_me:$LINENO: result: $result" >&5
14578 echo "${ECHO_T}$result" >&6; }
14582 defaultval=$wxUSE_ALL_FEATURES
14583 if test -z "$defaultval"; then
14584 if test x"$enablestring" = xdisable; then
14591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14592 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14593 # Check whether --enable-wxdib was given.
14594 if test "${enable_wxdib+set}" = set; then
14595 enableval=$enable_wxdib;
14596 if test "$enableval" = yes; then
14597 wx_cv_use_wxdib='wxUSE_DIB=yes'
14599 wx_cv_use_wxdib='wxUSE_DIB=no'
14604 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14609 eval "$wx_cv_use_wxdib"
14611 if test x"$enablestring" = xdisable; then
14612 if test $wxUSE_DIB = no; then
14621 { echo "$as_me:$LINENO: result: $result" >&5
14622 echo "${ECHO_T}$result" >&6; }
14625 if test "$wxUSE_MSW" != 1; then
14626 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14631 defaultval=$wxUSE_ALL_FEATURES
14632 if test -z "$defaultval"; then
14633 if test x"$enablestring" = xdisable; then
14640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14641 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14642 # Check whether --enable-autoidman was given.
14643 if test "${enable_autoidman+set}" = set; then
14644 enableval=$enable_autoidman;
14645 if test "$enableval" = yes; then
14646 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14648 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14653 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14658 eval "$wx_cv_use_autoidman"
14660 if test x"$enablestring" = xdisable; then
14661 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14667 result=$wxUSE_AUTOID_MANAGEMENT
14670 { echo "$as_me:$LINENO: result: $result" >&5
14671 echo "${ECHO_T}$result" >&6; }
14677 cat >confcache <<\_ACEOF
14678 # This file is a shell script that caches the results of configure
14679 # tests run on this system so they can be shared between configure
14680 # scripts and configure runs, see configure's option --config-cache.
14681 # It is not useful on other systems. If it contains results you don't
14682 # want to keep, you may remove or edit it.
14684 # config.status only pays attention to the cache file if you give it
14685 # the --recheck option to rerun configure.
14687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14689 # following values.
14693 # The following way of writing the cache mishandles newlines in values,
14694 # but we know of no workaround that is simple, portable, and efficient.
14695 # So, we kill variables containing newlines.
14696 # Ultrix sh set writes to stderr and can't be redirected directly,
14697 # and sets the high bit in the cache file unless we assign to the vars.
14699 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14700 eval ac_val=\$$ac_var
14704 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14708 _ | IFS | as_nl) ;; #(
14709 *) $as_unset $ac_var ;;
14715 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14716 *${as_nl}ac_space=\ *)
14717 # `set' does not quote correctly, so add quotes (double-quote
14718 # substitution turns \\\\ into \\, and sed turns \\ into \).
14721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14724 # `set' quotes correctly as required by POSIX, so do not add quotes.
14725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14738 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14739 if test -w "$cache_file"; then
14740 test "x$cache_file" != "x/dev/null" &&
14741 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14742 echo "$as_me: updating cache $cache_file" >&6;}
14743 cat confcache >$cache_file
14745 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14746 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14753 ac_cpp='$CPP $CPPFLAGS'
14754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14757 if test -n "$ac_tool_prefix"; then
14758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14759 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14762 if test "${ac_cv_prog_CC+set}" = set; then
14763 echo $ECHO_N "(cached) $ECHO_C" >&6
14765 if test -n "$CC"; then
14766 ac_cv_prog_CC="$CC" # Let the user override the test.
14768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14769 for as_dir in $PATH
14772 test -z "$as_dir" && as_dir=.
14773 for ac_exec_ext in '' $ac_executable_extensions; do
14774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14775 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14786 if test -n "$CC"; then
14787 { echo "$as_me:$LINENO: result: $CC" >&5
14788 echo "${ECHO_T}$CC" >&6; }
14790 { echo "$as_me:$LINENO: result: no" >&5
14791 echo "${ECHO_T}no" >&6; }
14796 if test -z "$ac_cv_prog_CC"; then
14798 # Extract the first word of "gcc", so it can be a program name with args.
14799 set dummy gcc; ac_word=$2
14800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14805 if test -n "$ac_ct_CC"; then
14806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14809 for as_dir in $PATH
14812 test -z "$as_dir" && as_dir=.
14813 for ac_exec_ext in '' $ac_executable_extensions; do
14814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14815 ac_cv_prog_ac_ct_CC="gcc"
14816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14826 if test -n "$ac_ct_CC"; then
14827 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14828 echo "${ECHO_T}$ac_ct_CC" >&6; }
14830 { echo "$as_me:$LINENO: result: no" >&5
14831 echo "${ECHO_T}no" >&6; }
14834 if test "x$ac_ct_CC" = x; then
14837 case $cross_compiling:$ac_tool_warned in
14839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14840 whose name does not start with the host triplet. If you think this
14841 configuration is useful to you, please write to autoconf@gnu.org." >&5
14842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14843 whose name does not start with the host triplet. If you think this
14844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14845 ac_tool_warned=yes ;;
14850 CC="$ac_cv_prog_CC"
14853 if test -z "$CC"; then
14854 if test -n "$ac_tool_prefix"; then
14855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14856 set dummy ${ac_tool_prefix}cc; ac_word=$2
14857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14859 if test "${ac_cv_prog_CC+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 if test -n "$CC"; then
14863 ac_cv_prog_CC="$CC" # Let the user override the test.
14865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14866 for as_dir in $PATH
14869 test -z "$as_dir" && as_dir=.
14870 for ac_exec_ext in '' $ac_executable_extensions; do
14871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14872 ac_cv_prog_CC="${ac_tool_prefix}cc"
14873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14883 if test -n "$CC"; then
14884 { echo "$as_me:$LINENO: result: $CC" >&5
14885 echo "${ECHO_T}$CC" >&6; }
14887 { echo "$as_me:$LINENO: result: no" >&5
14888 echo "${ECHO_T}no" >&6; }
14894 if test -z "$CC"; then
14895 # Extract the first word of "cc", so it can be a program name with args.
14896 set dummy cc; ac_word=$2
14897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14899 if test "${ac_cv_prog_CC+set}" = set; then
14900 echo $ECHO_N "(cached) $ECHO_C" >&6
14902 if test -n "$CC"; then
14903 ac_cv_prog_CC="$CC" # Let the user override the test.
14905 ac_prog_rejected=no
14906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14907 for as_dir in $PATH
14910 test -z "$as_dir" && as_dir=.
14911 for ac_exec_ext in '' $ac_executable_extensions; do
14912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14914 ac_prog_rejected=yes
14918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14925 if test $ac_prog_rejected = yes; then
14926 # We found a bogon in the path, so make sure we never use it.
14927 set dummy $ac_cv_prog_CC
14929 if test $# != 0; then
14930 # We chose a different compiler from the bogus one.
14931 # However, it has the same basename, so the bogon will be chosen
14932 # first if we set CC to just the basename; use the full file name.
14934 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14940 if test -n "$CC"; then
14941 { echo "$as_me:$LINENO: result: $CC" >&5
14942 echo "${ECHO_T}$CC" >&6; }
14944 { echo "$as_me:$LINENO: result: no" >&5
14945 echo "${ECHO_T}no" >&6; }
14950 if test -z "$CC"; then
14951 if test -n "$ac_tool_prefix"; then
14952 for ac_prog in cl.exe
14954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14958 if test "${ac_cv_prog_CC+set}" = set; then
14959 echo $ECHO_N "(cached) $ECHO_C" >&6
14961 if test -n "$CC"; then
14962 ac_cv_prog_CC="$CC" # Let the user override the test.
14964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14965 for as_dir in $PATH
14968 test -z "$as_dir" && as_dir=.
14969 for ac_exec_ext in '' $ac_executable_extensions; do
14970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14971 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14982 if test -n "$CC"; then
14983 { echo "$as_me:$LINENO: result: $CC" >&5
14984 echo "${ECHO_T}$CC" >&6; }
14986 { echo "$as_me:$LINENO: result: no" >&5
14987 echo "${ECHO_T}no" >&6; }
14991 test -n "$CC" && break
14994 if test -z "$CC"; then
14996 for ac_prog in cl.exe
14998 # Extract the first word of "$ac_prog", so it can be a program name with args.
14999 set dummy $ac_prog; ac_word=$2
15000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 if test -n "$ac_ct_CC"; then
15006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15009 for as_dir in $PATH
15012 test -z "$as_dir" && as_dir=.
15013 for ac_exec_ext in '' $ac_executable_extensions; do
15014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15015 ac_cv_prog_ac_ct_CC="$ac_prog"
15016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15026 if test -n "$ac_ct_CC"; then
15027 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15028 echo "${ECHO_T}$ac_ct_CC" >&6; }
15030 { echo "$as_me:$LINENO: result: no" >&5
15031 echo "${ECHO_T}no" >&6; }
15035 test -n "$ac_ct_CC" && break
15038 if test "x$ac_ct_CC" = x; then
15041 case $cross_compiling:$ac_tool_warned in
15043 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15044 whose name does not start with the host triplet. If you think this
15045 configuration is useful to you, please write to autoconf@gnu.org." >&5
15046 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15047 whose name does not start with the host triplet. If you think this
15048 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15049 ac_tool_warned=yes ;;
15058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15059 See \`config.log' for more details." >&5
15060 echo "$as_me: error: no acceptable C compiler found in \$PATH
15061 See \`config.log' for more details." >&2;}
15062 { (exit 1); exit 1; }; }
15064 # Provide some information about the compiler.
15065 echo "$as_me:$LINENO: checking for C compiler version" >&5
15066 ac_compiler=`set X $ac_compile; echo $2`
15067 { (ac_try="$ac_compiler --version >&5"
15068 case "(($ac_try" in
15069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15070 *) ac_try_echo=$ac_try;;
15072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15073 (eval "$ac_compiler --version >&5") 2>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }
15077 { (ac_try="$ac_compiler -v >&5"
15078 case "(($ac_try" in
15079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15080 *) ac_try_echo=$ac_try;;
15082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15083 (eval "$ac_compiler -v >&5") 2>&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }
15087 { (ac_try="$ac_compiler -V >&5"
15088 case "(($ac_try" in
15089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15090 *) ac_try_echo=$ac_try;;
15092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15093 (eval "$ac_compiler -V >&5") 2>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); }
15098 cat >conftest.$ac_ext <<_ACEOF
15101 cat confdefs.h >>conftest.$ac_ext
15102 cat >>conftest.$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15113 ac_clean_files_save=$ac_clean_files
15114 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15115 # Try to create an executable without -o first, disregard a.out.
15116 # It will help us diagnose broken compilers, and finding out an intuition
15118 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15119 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15120 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15122 # List of possible output files, starting from the most likely.
15123 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15124 # only as a last resort. b.out is created by i960 compilers.
15125 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15127 # The IRIX 6 linker writes into existing files which may not be
15128 # executable, retaining their permissions. Remove them first so a
15129 # subsequent execution test works.
15131 for ac_file in $ac_files
15134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15140 if { (ac_try="$ac_link_default"
15141 case "(($ac_try" in
15142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15143 *) ac_try_echo=$ac_try;;
15145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15146 (eval "$ac_link_default") 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; then
15150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15152 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15153 # so that the user can short-circuit this test for compilers unknown to
15155 for ac_file in $ac_files ''
15157 test -f "$ac_file" || continue
15159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15162 # We found the default executable, but exeext='' is most
15166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15168 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15170 # We set ac_cv_exeext here because the later test for it is not
15171 # safe: cross compilers may not add the suffix if given an `-o'
15172 # argument, so we may need to know it at that point already.
15173 # Even if this section looks crufty: it has the advantage of
15174 # actually working.
15180 test "$ac_cv_exeext" = no && ac_cv_exeext=
15186 { echo "$as_me:$LINENO: result: $ac_file" >&5
15187 echo "${ECHO_T}$ac_file" >&6; }
15188 if test -z "$ac_file"; then
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15192 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15193 See \`config.log' for more details." >&5
15194 echo "$as_me: error: C compiler cannot create executables
15195 See \`config.log' for more details." >&2;}
15196 { (exit 77); exit 77; }; }
15199 ac_exeext=$ac_cv_exeext
15201 # Check that the compiler produces executables we can run. If not, either
15202 # the compiler is broken, or we cross compile.
15203 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15204 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15205 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15206 # If not cross compiling, check that we can run a simple program.
15207 if test "$cross_compiling" != yes; then
15208 if { ac_try='./$ac_file'
15209 { (case "(($ac_try" in
15210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15211 *) ac_try_echo=$ac_try;;
15213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15214 (eval "$ac_try") 2>&5
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; }; then
15220 if test "$cross_compiling" = maybe; then
15221 cross_compiling=yes
15223 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15224 If you meant to cross compile, use \`--host'.
15225 See \`config.log' for more details." >&5
15226 echo "$as_me: error: cannot run C compiled programs.
15227 If you meant to cross compile, use \`--host'.
15228 See \`config.log' for more details." >&2;}
15229 { (exit 1); exit 1; }; }
15233 { echo "$as_me:$LINENO: result: yes" >&5
15234 echo "${ECHO_T}yes" >&6; }
15236 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15237 ac_clean_files=$ac_clean_files_save
15238 # Check that the compiler produces executables we can run. If not, either
15239 # the compiler is broken, or we cross compile.
15240 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15242 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15243 echo "${ECHO_T}$cross_compiling" >&6; }
15245 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15247 if { (ac_try="$ac_link"
15248 case "(($ac_try" in
15249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15250 *) ac_try_echo=$ac_try;;
15252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15253 (eval "$ac_link") 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; then
15257 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15258 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15259 # work properly (i.e., refer to `conftest.exe'), while it won't with
15261 for ac_file in conftest.exe conftest conftest.*; do
15262 test -f "$ac_file" || continue
15264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15265 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15271 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15272 See \`config.log' for more details." >&5
15273 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15274 See \`config.log' for more details." >&2;}
15275 { (exit 1); exit 1; }; }
15278 rm -f conftest$ac_cv_exeext
15279 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15280 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15282 rm -f conftest.$ac_ext
15283 EXEEXT=$ac_cv_exeext
15285 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15286 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15287 if test "${ac_cv_objext+set}" = set; then
15288 echo $ECHO_N "(cached) $ECHO_C" >&6
15290 cat >conftest.$ac_ext <<_ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15305 rm -f conftest.o conftest.obj
15306 if { (ac_try="$ac_compile"
15307 case "(($ac_try" in
15308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309 *) ac_try_echo=$ac_try;;
15311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15312 (eval "$ac_compile") 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; then
15316 for ac_file in conftest.o conftest.obj conftest.*; do
15317 test -f "$ac_file" || continue;
15319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15320 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.$ac_ext >&5
15328 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15329 See \`config.log' for more details." >&5
15330 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15331 See \`config.log' for more details." >&2;}
15332 { (exit 1); exit 1; }; }
15335 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15337 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15338 echo "${ECHO_T}$ac_cv_objext" >&6; }
15339 OBJEXT=$ac_cv_objext
15341 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15342 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15343 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15346 cat >conftest.$ac_ext <<_ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15364 rm -f conftest.$ac_objext
15365 if { (ac_try="$ac_compile"
15366 case "(($ac_try" in
15367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15368 *) ac_try_echo=$ac_try;;
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_compile") 2>conftest.er1
15373 grep -v '^ *+' conftest.er1 >conftest.err
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest.$ac_objext; then
15381 ac_compiler_gnu=yes
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15393 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15394 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15395 GCC=`test $ac_compiler_gnu = yes && echo yes`
15396 ac_test_CFLAGS=${CFLAGS+set}
15397 ac_save_CFLAGS=$CFLAGS
15398 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15399 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15400 if test "${ac_cv_prog_cc_g+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 ac_save_c_werror_flag=$ac_c_werror_flag
15404 ac_c_werror_flag=yes
15407 cat >conftest.$ac_ext <<_ACEOF
15410 cat confdefs.h >>conftest.$ac_ext
15411 cat >>conftest.$ac_ext <<_ACEOF
15412 /* end confdefs.h. */
15422 rm -f conftest.$ac_objext
15423 if { (ac_try="$ac_compile"
15424 case "(($ac_try" in
15425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15426 *) ac_try_echo=$ac_try;;
15428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15429 (eval "$ac_compile") 2>conftest.er1
15431 grep -v '^ *+' conftest.er1 >conftest.err
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } && {
15436 test -z "$ac_c_werror_flag" ||
15437 test ! -s conftest.err
15438 } && test -s conftest.$ac_objext; then
15439 ac_cv_prog_cc_g=yes
15441 echo "$as_me: failed program was:" >&5
15442 sed 's/^/| /' conftest.$ac_ext >&5
15445 cat >conftest.$ac_ext <<_ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* 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
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15482 ac_c_werror_flag=$ac_save_c_werror_flag
15484 cat >conftest.$ac_ext <<_ACEOF
15487 cat confdefs.h >>conftest.$ac_ext
15488 cat >>conftest.$ac_ext <<_ACEOF
15489 /* end confdefs.h. */
15499 rm -f conftest.$ac_objext
15500 if { (ac_try="$ac_compile"
15501 case "(($ac_try" in
15502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15503 *) ac_try_echo=$ac_try;;
15505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15506 (eval "$ac_compile") 2>conftest.er1
15508 grep -v '^ *+' conftest.er1 >conftest.err
15510 cat conftest.err >&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); } && {
15513 test -z "$ac_c_werror_flag" ||
15514 test ! -s conftest.err
15515 } && test -s conftest.$ac_objext; then
15516 ac_cv_prog_cc_g=yes
15518 echo "$as_me: failed program was:" >&5
15519 sed 's/^/| /' conftest.$ac_ext >&5
15524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15531 ac_c_werror_flag=$ac_save_c_werror_flag
15533 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15534 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15535 if test "$ac_test_CFLAGS" = set; then
15536 CFLAGS=$ac_save_CFLAGS
15537 elif test $ac_cv_prog_cc_g = yes; then
15538 if test "$GCC" = yes; then
15544 if test "$GCC" = yes; then
15550 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15551 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15552 if test "${ac_cv_prog_cc_c89+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15555 ac_cv_prog_cc_c89=no
15557 cat >conftest.$ac_ext <<_ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 #include <stdarg.h>
15565 #include <sys/types.h>
15566 #include <sys/stat.h>
15567 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15568 struct buf { int x; };
15569 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15570 static char *e (p, i)
15576 static char *f (char * (*g) (char **, int), char **p, ...)
15581 s = g (p, va_arg (v,int));
15586 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15587 function prototypes and stuff, but not '\xHH' hex character constants.
15588 These don't provoke an error unfortunately, instead are silently treated
15589 as 'x'. The following induces an error, until -std is added to get
15590 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15591 array size at least. It's necessary to write '\x00'==0 to get something
15592 that's true only with -std. */
15593 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15595 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15596 inside strings and character constants. */
15598 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15600 int test (int i, double x);
15601 struct s1 {int (*f) (int a);};
15602 struct s2 {int (*f) (double a);};
15603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15609 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15614 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15615 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15617 CC="$ac_save_CC $ac_arg"
15618 rm -f conftest.$ac_objext
15619 if { (ac_try="$ac_compile"
15620 case "(($ac_try" in
15621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15622 *) ac_try_echo=$ac_try;;
15624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15625 (eval "$ac_compile") 2>conftest.er1
15627 grep -v '^ *+' conftest.er1 >conftest.err
15629 cat conftest.err >&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } && {
15632 test -z "$ac_c_werror_flag" ||
15633 test ! -s conftest.err
15634 } && test -s conftest.$ac_objext; then
15635 ac_cv_prog_cc_c89=$ac_arg
15637 echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.$ac_ext >&5
15643 rm -f core conftest.err conftest.$ac_objext
15644 test "x$ac_cv_prog_cc_c89" != "xno" && break
15646 rm -f conftest.$ac_ext
15651 case "x$ac_cv_prog_cc_c89" in
15653 { echo "$as_me:$LINENO: result: none needed" >&5
15654 echo "${ECHO_T}none needed" >&6; } ;;
15656 { echo "$as_me:$LINENO: result: unsupported" >&5
15657 echo "${ECHO_T}unsupported" >&6; } ;;
15659 CC="$CC $ac_cv_prog_cc_c89"
15660 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15661 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15666 ac_cpp='$CPP $CPPFLAGS'
15667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15684 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15685 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15686 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15687 echo $ECHO_N "(cached) $ECHO_C" >&6
15689 cat >conftest.$ac_ext <<_ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15700 #ifndef __INTEL_COMPILER
15708 rm -f conftest.$ac_objext
15709 if { (ac_try="$ac_compile"
15710 case "(($ac_try" in
15711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15712 *) ac_try_echo=$ac_try;;
15714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15715 (eval "$ac_compile") 2>conftest.er1
15717 grep -v '^ *+' conftest.er1 >conftest.err
15719 cat conftest.err >&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); } && {
15722 test -z "$ac_c_werror_flag" ||
15723 test ! -s conftest.err
15724 } && test -s conftest.$ac_objext; then
15725 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15730 bakefile_cv_c_compiler___INTEL_COMPILER=no
15734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15738 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15739 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15740 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15746 ac_cpp='$CPP $CPPFLAGS'
15747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754 if test "$INTELCC" = "yes"; then
15758 ac_cpp='$CPP $CPPFLAGS'
15759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15763 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15764 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15765 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15768 cat >conftest.$ac_ext <<_ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15779 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15787 rm -f conftest.$ac_objext
15788 if { (ac_try="$ac_compile"
15789 case "(($ac_try" in
15790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15791 *) ac_try_echo=$ac_try;;
15793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15794 (eval "$ac_compile") 2>conftest.er1
15796 grep -v '^ *+' conftest.er1 >conftest.err
15798 cat conftest.err >&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } && {
15801 test -z "$ac_c_werror_flag" ||
15802 test ! -s conftest.err
15803 } && test -s conftest.$ac_objext; then
15804 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15806 echo "$as_me: failed program was:" >&5
15807 sed 's/^/| /' conftest.$ac_ext >&5
15809 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15817 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15818 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15819 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15825 ac_cpp='$CPP $CPPFLAGS'
15826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15835 ac_cpp='$CPP $CPPFLAGS'
15836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15840 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15841 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15842 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15843 echo $ECHO_N "(cached) $ECHO_C" >&6
15845 cat >conftest.$ac_ext <<_ACEOF
15848 cat confdefs.h >>conftest.$ac_ext
15849 cat >>conftest.$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15856 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15864 rm -f conftest.$ac_objext
15865 if { (ac_try="$ac_compile"
15866 case "(($ac_try" in
15867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15868 *) ac_try_echo=$ac_try;;
15870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15871 (eval "$ac_compile") 2>conftest.er1
15873 grep -v '^ *+' conftest.er1 >conftest.err
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } && {
15878 test -z "$ac_c_werror_flag" ||
15879 test ! -s conftest.err
15880 } && test -s conftest.$ac_objext; then
15881 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15883 echo "$as_me: failed program was:" >&5
15884 sed 's/^/| /' conftest.$ac_ext >&5
15886 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15894 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15895 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15896 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15902 ac_cpp='$CPP $CPPFLAGS'
15903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15911 if test "x$GCC" != "xyes"; then
15912 if test "xCC" = "xC"; then
15913 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15914 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15915 if test "${bakefile_cv_c_exto+set}" = set; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15918 cat >conftest.$ac_ext <<_ACEOF
15921 cat confdefs.h >>conftest.$ac_ext
15922 cat >>conftest.$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15933 rm -f conftest.$ac_objext conftest.$ac_ext.o
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; then
15939 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15941 conftest.$ac_ext.o)
15942 bakefile_cv_c_exto="-ext o"
15949 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15950 See \`config.log' for more details." >&5
15951 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15952 See \`config.log' for more details." >&2;}
15953 { (exit 1); exit 1; }; }
15957 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15960 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15961 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15962 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15963 if test "c" = "c"; then
15964 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15966 if test "c" = "cxx"; then
15967 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15971 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15972 unset ac_cv_prog_cc_g
15973 ac_test_CFLAGS=${CFLAGS+set}
15974 ac_save_CFLAGS=$CFLAGS
15975 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15976 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15977 if test "${ac_cv_prog_cc_g+set}" = set; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6
15980 ac_save_c_werror_flag=$ac_c_werror_flag
15981 ac_c_werror_flag=yes
15984 cat >conftest.$ac_ext <<_ACEOF
15987 cat confdefs.h >>conftest.$ac_ext
15988 cat >>conftest.$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15999 rm -f conftest.$ac_objext
16000 if { (ac_try="$ac_compile"
16001 case "(($ac_try" in
16002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16003 *) ac_try_echo=$ac_try;;
16005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16006 (eval "$ac_compile") 2>conftest.er1
16008 grep -v '^ *+' conftest.er1 >conftest.err
16010 cat conftest.err >&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); } && {
16013 test -z "$ac_c_werror_flag" ||
16014 test ! -s conftest.err
16015 } && test -s conftest.$ac_objext; then
16016 ac_cv_prog_cc_g=yes
16018 echo "$as_me: failed program was:" >&5
16019 sed 's/^/| /' conftest.$ac_ext >&5
16022 cat >conftest.$ac_ext <<_ACEOF
16025 cat confdefs.h >>conftest.$ac_ext
16026 cat >>conftest.$ac_ext <<_ACEOF
16027 /* end confdefs.h. */
16037 rm -f conftest.$ac_objext
16038 if { (ac_try="$ac_compile"
16039 case "(($ac_try" in
16040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16041 *) ac_try_echo=$ac_try;;
16043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16044 (eval "$ac_compile") 2>conftest.er1
16046 grep -v '^ *+' conftest.er1 >conftest.err
16048 cat conftest.err >&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); } && {
16051 test -z "$ac_c_werror_flag" ||
16052 test ! -s conftest.err
16053 } && test -s conftest.$ac_objext; then
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16059 ac_c_werror_flag=$ac_save_c_werror_flag
16061 cat >conftest.$ac_ext <<_ACEOF
16064 cat confdefs.h >>conftest.$ac_ext
16065 cat >>conftest.$ac_ext <<_ACEOF
16066 /* end confdefs.h. */
16076 rm -f conftest.$ac_objext
16077 if { (ac_try="$ac_compile"
16078 case "(($ac_try" in
16079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16080 *) ac_try_echo=$ac_try;;
16082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16083 (eval "$ac_compile") 2>conftest.er1
16085 grep -v '^ *+' conftest.er1 >conftest.err
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } && {
16090 test -z "$ac_c_werror_flag" ||
16091 test ! -s conftest.err
16092 } && test -s conftest.$ac_objext; then
16093 ac_cv_prog_cc_g=yes
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16108 ac_c_werror_flag=$ac_save_c_werror_flag
16110 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16111 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16112 if test "$ac_test_CFLAGS" = set; then
16113 CFLAGS=$ac_save_CFLAGS
16114 elif test $ac_cv_prog_cc_g = yes; then
16115 if test "$GCC" = yes; then
16121 if test "$GCC" = yes; then
16135 ac_cpp='$CPP $CPPFLAGS'
16136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16140 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16141 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16142 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16143 echo $ECHO_N "(cached) $ECHO_C" >&6
16145 cat >conftest.$ac_ext <<_ACEOF
16148 cat confdefs.h >>conftest.$ac_ext
16149 cat >>conftest.$ac_ext <<_ACEOF
16150 /* end confdefs.h. */
16164 rm -f conftest.$ac_objext
16165 if { (ac_try="$ac_compile"
16166 case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_compile") 2>conftest.er1
16173 grep -v '^ *+' conftest.er1 >conftest.err
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } && {
16178 test -z "$ac_c_werror_flag" ||
16179 test ! -s conftest.err
16180 } && test -s conftest.$ac_objext; then
16181 bakefile_cv_c_compiler___xlC__=yes
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.$ac_ext >&5
16186 bakefile_cv_c_compiler___xlC__=no
16190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16194 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16195 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16196 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16215 ac_cpp='$CPP $CPPFLAGS'
16216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16220 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16221 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16222 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16223 echo $ECHO_N "(cached) $ECHO_C" >&6
16225 cat >conftest.$ac_ext <<_ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16244 rm -f conftest.$ac_objext
16245 if { (ac_try="$ac_compile"
16246 case "(($ac_try" in
16247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_compile") 2>conftest.er1
16253 grep -v '^ *+' conftest.er1 >conftest.err
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && {
16258 test -z "$ac_c_werror_flag" ||
16259 test ! -s conftest.err
16260 } && test -s conftest.$ac_objext; then
16261 bakefile_cv_c_compiler___MWERKS__=yes
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16266 bakefile_cv_c_compiler___MWERKS__=no
16270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16274 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16275 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16276 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16282 ac_cpp='$CPP $CPPFLAGS'
16283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16289 if test "$MWCC" != "yes"; then
16293 ac_cpp='$CPP $CPPFLAGS'
16294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16298 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16299 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16300 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 cat >conftest.$ac_ext <<_ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16322 rm -f conftest.$ac_objext
16323 if { (ac_try="$ac_compile"
16324 case "(($ac_try" in
16325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16326 *) ac_try_echo=$ac_try;;
16328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16329 (eval "$ac_compile") 2>conftest.er1
16331 grep -v '^ *+' conftest.er1 >conftest.err
16333 cat conftest.err >&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); } && {
16336 test -z "$ac_c_werror_flag" ||
16337 test ! -s conftest.err
16338 } && test -s conftest.$ac_objext; then
16339 bakefile_cv_c_compiler___xlC__=yes
16341 echo "$as_me: failed program was:" >&5
16342 sed 's/^/| /' conftest.$ac_ext >&5
16344 bakefile_cv_c_compiler___xlC__=no
16348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16352 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16353 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16354 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16360 ac_cpp='$CPP $CPPFLAGS'
16361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16374 ac_cpp='$CPP $CPPFLAGS'
16375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16379 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16380 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16381 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16382 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 cat >conftest.$ac_ext <<_ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16395 #ifndef _SGI_COMPILER_VERSION
16403 rm -f conftest.$ac_objext
16404 if { (ac_try="$ac_compile"
16405 case "(($ac_try" in
16406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16407 *) ac_try_echo=$ac_try;;
16409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16410 (eval "$ac_compile") 2>conftest.er1
16412 grep -v '^ *+' conftest.er1 >conftest.err
16414 cat conftest.err >&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); } && {
16417 test -z "$ac_c_werror_flag" ||
16418 test ! -s conftest.err
16419 } && test -s conftest.$ac_objext; then
16420 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.$ac_ext >&5
16425 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16433 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16434 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16435 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16441 ac_cpp='$CPP $CPPFLAGS'
16442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16451 if test "$INTELCC" != "yes"; then
16455 ac_cpp='$CPP $CPPFLAGS'
16456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16460 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16461 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16462 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16465 cat >conftest.$ac_ext <<_ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16484 rm -f conftest.$ac_objext
16485 if { (ac_try="$ac_compile"
16486 case "(($ac_try" in
16487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16488 *) ac_try_echo=$ac_try;;
16490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16491 (eval "$ac_compile") 2>conftest.er1
16493 grep -v '^ *+' conftest.er1 >conftest.err
16495 cat conftest.err >&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } && {
16498 test -z "$ac_c_werror_flag" ||
16499 test ! -s conftest.err
16500 } && test -s conftest.$ac_objext; then
16501 bakefile_cv_c_compiler___SUNPRO_C=yes
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.$ac_ext >&5
16506 bakefile_cv_c_compiler___SUNPRO_C=no
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16514 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16515 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16516 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16522 ac_cpp='$CPP $CPPFLAGS'
16523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16536 ac_cpp='$CPP $CPPFLAGS'
16537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16541 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16542 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16543 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16544 echo $ECHO_N "(cached) $ECHO_C" >&6
16546 cat >conftest.$ac_ext <<_ACEOF
16549 cat confdefs.h >>conftest.$ac_ext
16550 cat >>conftest.$ac_ext <<_ACEOF
16551 /* end confdefs.h. */
16565 rm -f conftest.$ac_objext
16566 if { (ac_try="$ac_compile"
16567 case "(($ac_try" in
16568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16569 *) ac_try_echo=$ac_try;;
16571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16572 (eval "$ac_compile") 2>conftest.er1
16574 grep -v '^ *+' conftest.er1 >conftest.err
16576 cat conftest.err >&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } && {
16579 test -z "$ac_c_werror_flag" ||
16580 test ! -s conftest.err
16581 } && test -s conftest.$ac_objext; then
16582 bakefile_cv_c_compiler___HP_cc=yes
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16587 bakefile_cv_c_compiler___HP_cc=no
16591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16595 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16596 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16597 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16603 ac_cpp='$CPP $CPPFLAGS'
16604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16616 ac_cpp='$CPP $CPPFLAGS'
16617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16621 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16622 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16623 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 cat >conftest.$ac_ext <<_ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16645 rm -f conftest.$ac_objext
16646 if { (ac_try="$ac_compile"
16647 case "(($ac_try" in
16648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16649 *) ac_try_echo=$ac_try;;
16651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16652 (eval "$ac_compile") 2>conftest.er1
16654 grep -v '^ *+' conftest.er1 >conftest.err
16656 cat conftest.err >&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); } && {
16659 test -z "$ac_c_werror_flag" ||
16660 test ! -s conftest.err
16661 } && test -s conftest.$ac_objext; then
16662 bakefile_cv_c_compiler___DECC=yes
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.$ac_ext >&5
16667 bakefile_cv_c_compiler___DECC=no
16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16675 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16676 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16677 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16683 ac_cpp='$CPP $CPPFLAGS'
16684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16696 ac_cpp='$CPP $CPPFLAGS'
16697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16701 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16702 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16703 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16706 cat >conftest.$ac_ext <<_ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16725 rm -f conftest.$ac_objext
16726 if { (ac_try="$ac_compile"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_compile") 2>conftest.er1
16734 grep -v '^ *+' conftest.er1 >conftest.err
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } && {
16739 test -z "$ac_c_werror_flag" ||
16740 test ! -s conftest.err
16741 } && test -s conftest.$ac_objext; then
16742 bakefile_cv_c_compiler___SUNPRO_C=yes
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16747 bakefile_cv_c_compiler___SUNPRO_C=no
16751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16755 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16756 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16757 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16763 ac_cpp='$CPP $CPPFLAGS'
16764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16777 ac_cpp='$CPP $CPPFLAGS'
16778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16781 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16782 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16783 # On Suns, sometimes $CPP names a directory.
16784 if test -n "$CPP" && test -d "$CPP"; then
16787 if test -z "$CPP"; then
16788 if test "${ac_cv_prog_CPP+set}" = set; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16791 # Double quotes because CPP needs to be expanded
16792 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16794 ac_preproc_ok=false
16795 for ac_c_preproc_warn_flag in '' yes
16797 # Use a header file that comes with gcc, so configuring glibc
16798 # with a fresh cross-compiler works.
16799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16800 # <limits.h> exists even on freestanding compilers.
16801 # On the NeXT, cc -E runs the code through the compiler's parser,
16802 # not just through cpp. "Syntax error" is here to catch this case.
16803 cat >conftest.$ac_ext <<_ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16810 # include <limits.h>
16812 # include <assert.h>
16816 if { (ac_try="$ac_cpp conftest.$ac_ext"
16817 case "(($ac_try" in
16818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16819 *) ac_try_echo=$ac_try;;
16821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16824 grep -v '^ *+' conftest.er1 >conftest.err
16826 cat conftest.err >&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } >/dev/null && {
16829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16830 test ! -s conftest.err
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16837 # Broken: fails on valid input.
16841 rm -f conftest.err conftest.$ac_ext
16843 # OK, works on sane cases. Now check whether nonexistent headers
16844 # can be detected and how.
16845 cat >conftest.$ac_ext <<_ACEOF
16848 cat confdefs.h >>conftest.$ac_ext
16849 cat >>conftest.$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16851 #include <ac_nonexistent.h>
16853 if { (ac_try="$ac_cpp conftest.$ac_ext"
16854 case "(($ac_try" in
16855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16856 *) ac_try_echo=$ac_try;;
16858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16861 grep -v '^ *+' conftest.er1 >conftest.err
16863 cat conftest.err >&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } >/dev/null && {
16866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16867 test ! -s conftest.err
16869 # Broken: success on invalid input.
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16875 # Passes both tests.
16880 rm -f conftest.err conftest.$ac_ext
16883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16884 rm -f conftest.err conftest.$ac_ext
16885 if $ac_preproc_ok; then
16890 ac_cv_prog_CPP=$CPP
16893 CPP=$ac_cv_prog_CPP
16895 ac_cv_prog_CPP=$CPP
16897 { echo "$as_me:$LINENO: result: $CPP" >&5
16898 echo "${ECHO_T}$CPP" >&6; }
16899 ac_preproc_ok=false
16900 for ac_c_preproc_warn_flag in '' yes
16902 # Use a header file that comes with gcc, so configuring glibc
16903 # with a fresh cross-compiler works.
16904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16905 # <limits.h> exists even on freestanding compilers.
16906 # On the NeXT, cc -E runs the code through the compiler's parser,
16907 # not just through cpp. "Syntax error" is here to catch this case.
16908 cat >conftest.$ac_ext <<_ACEOF
16911 cat confdefs.h >>conftest.$ac_ext
16912 cat >>conftest.$ac_ext <<_ACEOF
16913 /* end confdefs.h. */
16915 # include <limits.h>
16917 # include <assert.h>
16921 if { (ac_try="$ac_cpp conftest.$ac_ext"
16922 case "(($ac_try" in
16923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16924 *) ac_try_echo=$ac_try;;
16926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16929 grep -v '^ *+' conftest.er1 >conftest.err
16931 cat conftest.err >&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); } >/dev/null && {
16934 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16935 test ! -s conftest.err
16939 echo "$as_me: failed program was:" >&5
16940 sed 's/^/| /' conftest.$ac_ext >&5
16942 # Broken: fails on valid input.
16946 rm -f conftest.err conftest.$ac_ext
16948 # OK, works on sane cases. Now check whether nonexistent headers
16949 # can be detected and how.
16950 cat >conftest.$ac_ext <<_ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16956 #include <ac_nonexistent.h>
16958 if { (ac_try="$ac_cpp conftest.$ac_ext"
16959 case "(($ac_try" in
16960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16966 grep -v '^ *+' conftest.er1 >conftest.err
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } >/dev/null && {
16971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16972 test ! -s conftest.err
16974 # Broken: success on invalid input.
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.$ac_ext >&5
16980 # Passes both tests.
16985 rm -f conftest.err conftest.$ac_ext
16988 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16989 rm -f conftest.err conftest.$ac_ext
16990 if $ac_preproc_ok; then
16993 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16994 See \`config.log' for more details." >&5
16995 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16996 See \`config.log' for more details." >&2;}
16997 { (exit 1); exit 1; }; }
17001 ac_cpp='$CPP $CPPFLAGS'
17002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17007 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17008 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17009 if test "${ac_cv_path_GREP+set}" = set; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17012 # Extract the first word of "grep ggrep" to use in msg output
17013 if test -z "$GREP"; then
17014 set dummy grep ggrep; ac_prog_name=$2
17015 if test "${ac_cv_path_GREP+set}" = set; then
17016 echo $ECHO_N "(cached) $ECHO_C" >&6
17018 ac_path_GREP_found=false
17019 # Loop through the user's path and test for each of PROGNAME-LIST
17020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17021 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17024 test -z "$as_dir" && as_dir=.
17025 for ac_prog in grep ggrep; do
17026 for ac_exec_ext in '' $ac_executable_extensions; do
17027 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17028 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17029 # Check for GNU ac_path_GREP and select it if it is found.
17030 # Check for GNU $ac_path_GREP
17031 case `"$ac_path_GREP" --version 2>&1` in
17033 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17036 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17039 cat "conftest.in" "conftest.in" >"conftest.tmp"
17040 mv "conftest.tmp" "conftest.in"
17041 cp "conftest.in" "conftest.nl"
17042 echo 'GREP' >> "conftest.nl"
17043 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17045 ac_count=`expr $ac_count + 1`
17046 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17047 # Best one so far, save it but keep looking for a better one
17048 ac_cv_path_GREP="$ac_path_GREP"
17049 ac_path_GREP_max=$ac_count
17051 # 10*(2^10) chars as input seems more than enough
17052 test $ac_count -gt 10 && break
17054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17058 $ac_path_GREP_found && break 3
17068 GREP="$ac_cv_path_GREP"
17069 if test -z "$GREP"; then
17070 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17071 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17072 { (exit 1); exit 1; }; }
17076 ac_cv_path_GREP=$GREP
17081 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17082 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17083 GREP="$ac_cv_path_GREP"
17086 { echo "$as_me:$LINENO: checking for egrep" >&5
17087 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17088 if test "${ac_cv_path_EGREP+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17092 then ac_cv_path_EGREP="$GREP -E"
17094 # Extract the first word of "egrep" to use in msg output
17095 if test -z "$EGREP"; then
17096 set dummy egrep; ac_prog_name=$2
17097 if test "${ac_cv_path_EGREP+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17100 ac_path_EGREP_found=false
17101 # Loop through the user's path and test for each of PROGNAME-LIST
17102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17103 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17106 test -z "$as_dir" && as_dir=.
17107 for ac_prog in egrep; do
17108 for ac_exec_ext in '' $ac_executable_extensions; do
17109 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17110 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17111 # Check for GNU ac_path_EGREP and select it if it is found.
17112 # Check for GNU $ac_path_EGREP
17113 case `"$ac_path_EGREP" --version 2>&1` in
17115 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17118 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17121 cat "conftest.in" "conftest.in" >"conftest.tmp"
17122 mv "conftest.tmp" "conftest.in"
17123 cp "conftest.in" "conftest.nl"
17124 echo 'EGREP' >> "conftest.nl"
17125 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17126 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17127 ac_count=`expr $ac_count + 1`
17128 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17129 # Best one so far, save it but keep looking for a better one
17130 ac_cv_path_EGREP="$ac_path_EGREP"
17131 ac_path_EGREP_max=$ac_count
17133 # 10*(2^10) chars as input seems more than enough
17134 test $ac_count -gt 10 && break
17136 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17140 $ac_path_EGREP_found && break 3
17150 EGREP="$ac_cv_path_EGREP"
17151 if test -z "$EGREP"; then
17152 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17153 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17154 { (exit 1); exit 1; }; }
17158 ac_cv_path_EGREP=$EGREP
17164 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17165 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17166 EGREP="$ac_cv_path_EGREP"
17169 if test $ac_cv_c_compiler_gnu = yes; then
17170 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17171 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17172 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17173 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 ac_pattern="Autoconf.*'x'"
17176 cat >conftest.$ac_ext <<_ACEOF
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17186 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17187 ac_cv_prog_gcc_traditional=yes
17189 ac_cv_prog_gcc_traditional=no
17194 if test $ac_cv_prog_gcc_traditional = no; then
17195 cat >conftest.$ac_ext <<_ACEOF
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 #include <termio.h>
17204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17205 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17206 ac_cv_prog_gcc_traditional=yes
17212 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17213 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17214 if test $ac_cv_prog_gcc_traditional = yes; then
17215 CC="$CC -traditional"
17220 CXXFLAGS=${CXXFLAGS:=}
17222 ac_cpp='$CXXCPP $CPPFLAGS'
17223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17226 if test -z "$CXX"; then
17227 if test -n "$CCC"; then
17230 if test -n "$ac_tool_prefix"; then
17231 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17237 if test "${ac_cv_prog_CXX+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 if test -n "$CXX"; then
17241 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17244 for as_dir in $PATH
17247 test -z "$as_dir" && as_dir=.
17248 for ac_exec_ext in '' $ac_executable_extensions; do
17249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17250 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17260 CXX=$ac_cv_prog_CXX
17261 if test -n "$CXX"; then
17262 { echo "$as_me:$LINENO: result: $CXX" >&5
17263 echo "${ECHO_T}$CXX" >&6; }
17265 { echo "$as_me:$LINENO: result: no" >&5
17266 echo "${ECHO_T}no" >&6; }
17270 test -n "$CXX" && break
17273 if test -z "$CXX"; then
17275 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17277 # Extract the first word of "$ac_prog", so it can be a program name with args.
17278 set dummy $ac_prog; ac_word=$2
17279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17281 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 if test -n "$ac_ct_CXX"; then
17285 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17288 for as_dir in $PATH
17291 test -z "$as_dir" && as_dir=.
17292 for ac_exec_ext in '' $ac_executable_extensions; do
17293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17294 ac_cv_prog_ac_ct_CXX="$ac_prog"
17295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17304 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17305 if test -n "$ac_ct_CXX"; then
17306 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17307 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17309 { echo "$as_me:$LINENO: result: no" >&5
17310 echo "${ECHO_T}no" >&6; }
17314 test -n "$ac_ct_CXX" && break
17317 if test "x$ac_ct_CXX" = x; then
17320 case $cross_compiling:$ac_tool_warned in
17322 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17323 whose name does not start with the host triplet. If you think this
17324 configuration is useful to you, please write to autoconf@gnu.org." >&5
17325 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17326 whose name does not start with the host triplet. If you think this
17327 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17328 ac_tool_warned=yes ;;
17336 # Provide some information about the compiler.
17337 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17338 ac_compiler=`set X $ac_compile; echo $2`
17339 { (ac_try="$ac_compiler --version >&5"
17340 case "(($ac_try" in
17341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17342 *) ac_try_echo=$ac_try;;
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_compiler --version >&5") 2>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }
17349 { (ac_try="$ac_compiler -v >&5"
17350 case "(($ac_try" in
17351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17352 *) ac_try_echo=$ac_try;;
17354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17355 (eval "$ac_compiler -v >&5") 2>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }
17359 { (ac_try="$ac_compiler -V >&5"
17360 case "(($ac_try" in
17361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17362 *) ac_try_echo=$ac_try;;
17364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17365 (eval "$ac_compiler -V >&5") 2>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }
17370 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17371 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17372 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17373 echo $ECHO_N "(cached) $ECHO_C" >&6
17375 cat >conftest.$ac_ext <<_ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17393 rm -f conftest.$ac_objext
17394 if { (ac_try="$ac_compile"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compile") 2>conftest.er1
17402 grep -v '^ *+' conftest.er1 >conftest.err
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_cxx_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest.$ac_objext; then
17410 ac_compiler_gnu=yes
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17422 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17423 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17424 GXX=`test $ac_compiler_gnu = yes && echo yes`
17425 ac_test_CXXFLAGS=${CXXFLAGS+set}
17426 ac_save_CXXFLAGS=$CXXFLAGS
17427 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17428 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17429 if test "${ac_cv_prog_cxx_g+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17433 ac_cxx_werror_flag=yes
17434 ac_cv_prog_cxx_g=no
17436 cat >conftest.$ac_ext <<_ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17451 rm -f conftest.$ac_objext
17452 if { (ac_try="$ac_compile"
17453 case "(($ac_try" in
17454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17455 *) ac_try_echo=$ac_try;;
17457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17458 (eval "$ac_compile") 2>conftest.er1
17460 grep -v '^ *+' conftest.er1 >conftest.err
17462 cat conftest.err >&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); } && {
17465 test -z "$ac_cxx_werror_flag" ||
17466 test ! -s conftest.err
17467 } && test -s conftest.$ac_objext; then
17468 ac_cv_prog_cxx_g=yes
17470 echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.$ac_ext >&5
17474 cat >conftest.$ac_ext <<_ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* 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
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17511 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17513 cat >conftest.$ac_ext <<_ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17528 rm -f conftest.$ac_objext
17529 if { (ac_try="$ac_compile"
17530 case "(($ac_try" in
17531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532 *) ac_try_echo=$ac_try;;
17534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_compile") 2>conftest.er1
17537 grep -v '^ *+' conftest.er1 >conftest.err
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } && {
17542 test -z "$ac_cxx_werror_flag" ||
17543 test ! -s conftest.err
17544 } && test -s conftest.$ac_objext; then
17545 ac_cv_prog_cxx_g=yes
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17562 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17563 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17564 if test "$ac_test_CXXFLAGS" = set; then
17565 CXXFLAGS=$ac_save_CXXFLAGS
17566 elif test $ac_cv_prog_cxx_g = yes; then
17567 if test "$GXX" = yes; then
17573 if test "$GXX" = yes; then
17580 ac_cpp='$CPP $CPPFLAGS'
17581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17593 ac_cpp='$CXXCPP $CPPFLAGS'
17594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17598 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17599 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17600 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 cat >conftest.$ac_ext <<_ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17614 #ifndef __INTEL_COMPILER
17622 rm -f conftest.$ac_objext
17623 if { (ac_try="$ac_compile"
17624 case "(($ac_try" in
17625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17626 *) ac_try_echo=$ac_try;;
17628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17629 (eval "$ac_compile") 2>conftest.er1
17631 grep -v '^ *+' conftest.er1 >conftest.err
17633 cat conftest.err >&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); } && {
17636 test -z "$ac_cxx_werror_flag" ||
17637 test ! -s conftest.err
17638 } && test -s conftest.$ac_objext; then
17639 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17644 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17652 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17653 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17654 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17668 if test "$INTELCXX" = "yes"; then
17672 ac_cpp='$CXXCPP $CPPFLAGS'
17673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17677 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17678 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17679 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 cat >conftest.$ac_ext <<_ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17693 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17701 rm -f conftest.$ac_objext
17702 if { (ac_try="$ac_compile"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_compile") 2>conftest.er1
17710 grep -v '^ *+' conftest.er1 >conftest.err
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_cxx_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest.$ac_objext; then
17718 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17723 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17732 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17733 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17739 ac_cpp='$CPP $CPPFLAGS'
17740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17749 ac_cpp='$CXXCPP $CPPFLAGS'
17750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17754 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17755 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17756 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17757 echo $ECHO_N "(cached) $ECHO_C" >&6
17759 cat >conftest.$ac_ext <<_ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17770 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17778 rm -f conftest.$ac_objext
17779 if { (ac_try="$ac_compile"
17780 case "(($ac_try" in
17781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17782 *) ac_try_echo=$ac_try;;
17784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17785 (eval "$ac_compile") 2>conftest.er1
17787 grep -v '^ *+' conftest.er1 >conftest.err
17789 cat conftest.err >&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); } && {
17792 test -z "$ac_cxx_werror_flag" ||
17793 test ! -s conftest.err
17794 } && test -s conftest.$ac_objext; then
17795 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17797 echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17800 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17809 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17810 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17816 ac_cpp='$CPP $CPPFLAGS'
17817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17825 if test "x$GCXX" != "xyes"; then
17826 if test "xCXX" = "xC"; then
17827 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17828 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17829 if test "${bakefile_cv_c_exto+set}" = set; then
17830 echo $ECHO_N "(cached) $ECHO_C" >&6
17832 cat >conftest.$ac_ext <<_ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17847 rm -f conftest.$ac_objext conftest.$ac_ext.o
17848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17849 (eval $ac_compile) 2>&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; then
17853 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17855 conftest.$ac_ext.o)
17856 bakefile_cv_c_exto="-ext o"
17863 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17864 See \`config.log' for more details." >&5
17865 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17866 See \`config.log' for more details." >&2;}
17867 { (exit 1); exit 1; }; }
17871 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17874 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17875 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17876 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17877 if test "c" = "c"; then
17878 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17880 if test "c" = "cxx"; then
17881 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17885 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17886 unset ac_cv_prog_cc_g
17887 ac_test_CFLAGS=${CFLAGS+set}
17888 ac_save_CFLAGS=$CFLAGS
17889 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17891 if test "${ac_cv_prog_cc_g+set}" = set; then
17892 echo $ECHO_N "(cached) $ECHO_C" >&6
17894 ac_save_c_werror_flag=$ac_c_werror_flag
17895 ac_c_werror_flag=yes
17898 cat >conftest.$ac_ext <<_ACEOF
17901 cat confdefs.h >>conftest.$ac_ext
17902 cat >>conftest.$ac_ext <<_ACEOF
17903 /* end confdefs.h. */
17913 rm -f conftest.$ac_objext
17914 if { (ac_try="$ac_compile"
17915 case "(($ac_try" in
17916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17917 *) ac_try_echo=$ac_try;;
17919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17920 (eval "$ac_compile") 2>conftest.er1
17922 grep -v '^ *+' conftest.er1 >conftest.err
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } && {
17927 test -z "$ac_c_werror_flag" ||
17928 test ! -s conftest.err
17929 } && test -s conftest.$ac_objext; then
17930 ac_cv_prog_cc_g=yes
17932 echo "$as_me: failed program was:" >&5
17933 sed 's/^/| /' conftest.$ac_ext >&5
17936 cat >conftest.$ac_ext <<_ACEOF
17939 cat confdefs.h >>conftest.$ac_ext
17940 cat >>conftest.$ac_ext <<_ACEOF
17941 /* end confdefs.h. */
17951 rm -f conftest.$ac_objext
17952 if { (ac_try="$ac_compile"
17953 case "(($ac_try" in
17954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17955 *) ac_try_echo=$ac_try;;
17957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17958 (eval "$ac_compile") 2>conftest.er1
17960 grep -v '^ *+' conftest.er1 >conftest.err
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } && {
17965 test -z "$ac_c_werror_flag" ||
17966 test ! -s conftest.err
17967 } && test -s conftest.$ac_objext; then
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.$ac_ext >&5
17973 ac_c_werror_flag=$ac_save_c_werror_flag
17975 cat >conftest.$ac_ext <<_ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17990 rm -f conftest.$ac_objext
17991 if { (ac_try="$ac_compile"
17992 case "(($ac_try" in
17993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17994 *) ac_try_echo=$ac_try;;
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_compile") 2>conftest.er1
17999 grep -v '^ *+' conftest.er1 >conftest.err
18001 cat conftest.err >&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } && {
18004 test -z "$ac_c_werror_flag" ||
18005 test ! -s conftest.err
18006 } && test -s conftest.$ac_objext; then
18007 ac_cv_prog_cc_g=yes
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18022 ac_c_werror_flag=$ac_save_c_werror_flag
18024 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18025 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18026 if test "$ac_test_CFLAGS" = set; then
18027 CFLAGS=$ac_save_CFLAGS
18028 elif test $ac_cv_prog_cc_g = yes; then
18029 if test "$GCC" = yes; then
18035 if test "$GCC" = yes; then
18049 ac_cpp='$CXXCPP $CPPFLAGS'
18050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18054 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18055 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18056 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18059 cat >conftest.$ac_ext <<_ACEOF
18062 cat confdefs.h >>conftest.$ac_ext
18063 cat >>conftest.$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18078 rm -f conftest.$ac_objext
18079 if { (ac_try="$ac_compile"
18080 case "(($ac_try" in
18081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18082 *) ac_try_echo=$ac_try;;
18084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18085 (eval "$ac_compile") 2>conftest.er1
18087 grep -v '^ *+' conftest.er1 >conftest.err
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } && {
18092 test -z "$ac_cxx_werror_flag" ||
18093 test ! -s conftest.err
18094 } && test -s conftest.$ac_objext; then
18095 bakefile_cv_cxx_compiler___xlC__=yes
18097 echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.$ac_ext >&5
18100 bakefile_cv_cxx_compiler___xlC__=no
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18108 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18109 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18110 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18116 ac_cpp='$CPP $CPPFLAGS'
18117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18129 ac_cpp='$CXXCPP $CPPFLAGS'
18130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18134 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18135 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18136 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18137 echo $ECHO_N "(cached) $ECHO_C" >&6
18139 cat >conftest.$ac_ext <<_ACEOF
18142 cat confdefs.h >>conftest.$ac_ext
18143 cat >>conftest.$ac_ext <<_ACEOF
18144 /* end confdefs.h. */
18158 rm -f conftest.$ac_objext
18159 if { (ac_try="$ac_compile"
18160 case "(($ac_try" in
18161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18162 *) ac_try_echo=$ac_try;;
18164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18165 (eval "$ac_compile") 2>conftest.er1
18167 grep -v '^ *+' conftest.er1 >conftest.err
18169 cat conftest.err >&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); } && {
18172 test -z "$ac_cxx_werror_flag" ||
18173 test ! -s conftest.err
18174 } && test -s conftest.$ac_objext; then
18175 bakefile_cv_cxx_compiler___MWERKS__=yes
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.$ac_ext >&5
18180 bakefile_cv_cxx_compiler___MWERKS__=no
18184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18188 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18189 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18190 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18196 ac_cpp='$CPP $CPPFLAGS'
18197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18203 if test "$MWCXX" != "yes"; then
18207 ac_cpp='$CXXCPP $CPPFLAGS'
18208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18212 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18213 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18214 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18215 echo $ECHO_N "(cached) $ECHO_C" >&6
18217 cat >conftest.$ac_ext <<_ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18236 rm -f conftest.$ac_objext
18237 if { (ac_try="$ac_compile"
18238 case "(($ac_try" in
18239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18240 *) ac_try_echo=$ac_try;;
18242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18243 (eval "$ac_compile") 2>conftest.er1
18245 grep -v '^ *+' conftest.er1 >conftest.err
18247 cat conftest.err >&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); } && {
18250 test -z "$ac_cxx_werror_flag" ||
18251 test ! -s conftest.err
18252 } && test -s conftest.$ac_objext; then
18253 bakefile_cv_cxx_compiler___xlC__=yes
18255 echo "$as_me: failed program was:" >&5
18256 sed 's/^/| /' conftest.$ac_ext >&5
18258 bakefile_cv_cxx_compiler___xlC__=no
18262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18266 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18267 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18268 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18274 ac_cpp='$CPP $CPPFLAGS'
18275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18288 ac_cpp='$CXXCPP $CPPFLAGS'
18289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18293 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18294 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18295 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18298 cat >conftest.$ac_ext <<_ACEOF
18301 cat confdefs.h >>conftest.$ac_ext
18302 cat >>conftest.$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18309 #ifndef _SGI_COMPILER_VERSION
18317 rm -f conftest.$ac_objext
18318 if { (ac_try="$ac_compile"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_compile") 2>conftest.er1
18326 grep -v '^ *+' conftest.er1 >conftest.err
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_cxx_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest.$ac_objext; then
18334 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.$ac_ext >&5
18339 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18347 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18348 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18349 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18355 ac_cpp='$CPP $CPPFLAGS'
18356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18365 if test "$INTELCXX" != "yes"; then
18369 ac_cpp='$CXXCPP $CPPFLAGS'
18370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18374 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18375 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18376 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18377 echo $ECHO_N "(cached) $ECHO_C" >&6
18379 cat >conftest.$ac_ext <<_ACEOF
18382 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18390 #ifndef __SUNPRO_CC
18398 rm -f conftest.$ac_objext
18399 if { (ac_try="$ac_compile"
18400 case "(($ac_try" in
18401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_compile") 2>conftest.er1
18407 grep -v '^ *+' conftest.er1 >conftest.err
18409 cat conftest.err >&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } && {
18412 test -z "$ac_cxx_werror_flag" ||
18413 test ! -s conftest.err
18414 } && test -s conftest.$ac_objext; then
18415 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18420 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18429 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18430 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18436 ac_cpp='$CPP $CPPFLAGS'
18437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18450 ac_cpp='$CXXCPP $CPPFLAGS'
18451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18455 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18456 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18457 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18458 echo $ECHO_N "(cached) $ECHO_C" >&6
18460 cat >conftest.$ac_ext <<_ACEOF
18463 cat confdefs.h >>conftest.$ac_ext
18464 cat >>conftest.$ac_ext <<_ACEOF
18465 /* end confdefs.h. */
18479 rm -f conftest.$ac_objext
18480 if { (ac_try="$ac_compile"
18481 case "(($ac_try" in
18482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18483 *) ac_try_echo=$ac_try;;
18485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18486 (eval "$ac_compile") 2>conftest.er1
18488 grep -v '^ *+' conftest.er1 >conftest.err
18490 cat conftest.err >&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } && {
18493 test -z "$ac_cxx_werror_flag" ||
18494 test ! -s conftest.err
18495 } && test -s conftest.$ac_objext; then
18496 bakefile_cv_cxx_compiler___HP_aCC=yes
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.$ac_ext >&5
18501 bakefile_cv_cxx_compiler___HP_aCC=no
18505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18509 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18510 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18511 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18517 ac_cpp='$CPP $CPPFLAGS'
18518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18530 ac_cpp='$CXXCPP $CPPFLAGS'
18531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18535 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18536 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18537 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18538 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 cat >conftest.$ac_ext <<_ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18568 grep -v '^ *+' conftest.er1 >conftest.err
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_cxx_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
18576 bakefile_cv_cxx_compiler___DECCXX=yes
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18581 bakefile_cv_cxx_compiler___DECCXX=no
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18589 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18590 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18591 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18597 ac_cpp='$CPP $CPPFLAGS'
18598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18610 ac_cpp='$CXXCPP $CPPFLAGS'
18611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18615 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18616 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18617 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18620 cat >conftest.$ac_ext <<_ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18631 #ifndef __SUNPRO_CC
18639 rm -f conftest.$ac_objext
18640 if { (ac_try="$ac_compile"
18641 case "(($ac_try" in
18642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18643 *) ac_try_echo=$ac_try;;
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_compile") 2>conftest.er1
18648 grep -v '^ *+' conftest.er1 >conftest.err
18650 cat conftest.err >&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && {
18653 test -z "$ac_cxx_werror_flag" ||
18654 test ! -s conftest.err
18655 } && test -s conftest.$ac_objext; then
18656 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18661 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18669 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18670 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18671 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18690 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18691 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18692 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18693 { (exit 1); exit 1; }; }
18696 if test "x$SUNCXX" != xyes; then
18697 if test -n "$ac_tool_prefix"; then
18698 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18699 set dummy ${ac_tool_prefix}ar; ac_word=$2
18700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18702 if test "${ac_cv_prog_AR+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18705 if test -n "$AR"; then
18706 ac_cv_prog_AR="$AR" # Let the user override the test.
18708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18709 for as_dir in $PATH
18712 test -z "$as_dir" && as_dir=.
18713 for ac_exec_ext in '' $ac_executable_extensions; do
18714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18715 ac_cv_prog_AR="${ac_tool_prefix}ar"
18716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18726 if test -n "$AR"; then
18727 { echo "$as_me:$LINENO: result: $AR" >&5
18728 echo "${ECHO_T}$AR" >&6; }
18730 { echo "$as_me:$LINENO: result: no" >&5
18731 echo "${ECHO_T}no" >&6; }
18736 if test -z "$ac_cv_prog_AR"; then
18738 # Extract the first word of "ar", so it can be a program name with args.
18739 set dummy ar; ac_word=$2
18740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18742 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18745 if test -n "$ac_ct_AR"; then
18746 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18749 for as_dir in $PATH
18752 test -z "$as_dir" && as_dir=.
18753 for ac_exec_ext in '' $ac_executable_extensions; do
18754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18755 ac_cv_prog_ac_ct_AR="ar"
18756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18765 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18766 if test -n "$ac_ct_AR"; then
18767 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18768 echo "${ECHO_T}$ac_ct_AR" >&6; }
18770 { echo "$as_me:$LINENO: result: no" >&5
18771 echo "${ECHO_T}no" >&6; }
18774 if test "x$ac_ct_AR" = x; then
18777 case $cross_compiling:$ac_tool_warned in
18779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18780 whose name does not start with the host triplet. If you think this
18781 configuration is useful to you, please write to autoconf@gnu.org." >&5
18782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18783 whose name does not start with the host triplet. If you think this
18784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18785 ac_tool_warned=yes ;;
18790 AR="$ac_cv_prog_AR"
18793 if test "x$AR" = "x" ; then
18794 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18795 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18796 { (exit 1); exit 1; }; }
18801 if test "$wxUSE_MAC" = 1; then
18803 retest_macosx_linking=no
18806 if test "x$wxUSE_MAC_ARCH" != xno; then
18807 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18810 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18811 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18812 # Implicitly turn on the new --with-macosx-sdk using the default
18813 # SDK which provides the behaviour this option has always had.
18814 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18815 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18816 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18817 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18818 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18819 wxUSE_MACOSX_SDK=yes
18822 # Complain to user if he specified an argument to --enable-universal_binary
18823 # and also 1) specified --with-macosx-sdk using the default (yes) or
18824 # 2) specified --with-macosx-sdk using a path or 3) specified
18825 # --without-macosx-sdk (no).
18826 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18827 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18828 See \`config.log' for more details." >&5
18829 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18830 See \`config.log' for more details." >&2;}
18831 { (exit 1); exit 1; }; }
18833 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18834 # special-case the empty string because the below test simply
18835 # converts "no" to the empty string anyway.
18836 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18837 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18838 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18841 OSX_ARCH_OPTS="-arch ppc -arch i386"
18842 if test "$wxUSE_OSX_COCOA" = 1; then
18843 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18845 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18846 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18847 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18848 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18850 retest_macosx_linking=yes
18852 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18853 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18857 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18858 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18859 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18860 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18861 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18863 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18865 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18866 # TODO: Search for most recent SDK and use it.
18867 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18871 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18872 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18873 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18874 if ! test -d "$wxUSE_MACOSX_SDK"; then
18875 { { echo "$as_me:$LINENO: error: not found
18876 See \`config.log' for more details." >&5
18877 echo "$as_me: error: not found
18878 See \`config.log' for more details." >&2;}
18879 { (exit 1); exit 1; }; }
18881 { echo "$as_me:$LINENO: result: exists" >&5
18882 echo "${ECHO_T}exists" >&6; }
18884 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18885 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18886 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18887 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18888 retest_macosx_linking=yes
18891 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18892 wxUSE_MACOSX_VERSION_MIN=
18893 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18894 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18895 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18896 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18898 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/'`
18900 # If that failed, try again with the new key
18901 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18903 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/'`
18907 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18908 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18909 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18910 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18912 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18913 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18914 wxUSE_MACOSX_VERSION_MIN=
18917 wxUSE_MACOSX_VERSION_MIN=
18919 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18920 for ac_prog in sw_vers
18922 # Extract the first word of "$ac_prog", so it can be a program name with args.
18923 set dummy $ac_prog; ac_word=$2
18924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18926 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 if test -n "$OSX_SW_VERS"; then
18930 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18933 for as_dir in $PATH
18936 test -z "$as_dir" && as_dir=.
18937 for ac_exec_ext in '' $ac_executable_extensions; do
18938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18939 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18949 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18950 if test -n "$OSX_SW_VERS"; then
18951 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18952 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18954 { echo "$as_me:$LINENO: result: no" >&5
18955 echo "${ECHO_T}no" >&6; }
18959 test -n "$OSX_SW_VERS" && break
18962 if test "$OSX_SW_VERS" != ""; then
18963 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18965 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18966 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18970 case "$OSX_VERSION" in
18972 wxUSE_MACOSX_VERSION_MIN=10.4
18976 if test "$wxUSE_OSX_CARBON" = 1; then
18977 # otherwise configure stops on leopard for universal_binary
18978 wxUSE_MACOSX_VERSION_MIN=10.4
18980 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18981 wxUSE_MACOSX_VERSION_MIN=10.5
18988 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18992 if test "$wxUSE_OSX_CARBON" = 1; then
18996 if test "x$NEEDS_GCC40" == "xyes"; then
18997 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18998 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18999 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19000 if test "x$CC" = "xgcc"; then
19001 CCVERSION=`$CC --version | grep 4.[2-9].`
19002 if test "x$CCVERSION" != "x"; then
19003 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19004 CC="/usr/bin/gcc-4.0"
19008 if test "x$CXX" = "xg++"; then
19009 CCVERSION=`$CXX --version | grep 4.[2-9].`
19010 if test "x$CCVERSION" != "x"; then
19011 CXX="/usr/bin/g++-4.0"
19016 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19017 if test "$wxUSE_OSX_IPHONE" = 1; then
19018 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19020 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19022 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19023 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19024 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19025 retest_macosx_linking=yes
19028 if test "x$retest_macosx_linking" = "xyes"; then
19030 ac_cpp='$CPP $CPPFLAGS'
19031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19035 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19036 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19037 cat >conftest.$ac_ext <<_ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19052 rm -f conftest.$ac_objext conftest$ac_exeext
19053 if { (ac_try="$ac_link"
19054 case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_link") 2>conftest.er1
19061 grep -v '^ *+' conftest.er1 >conftest.err
19063 cat conftest.err >&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); } && {
19066 test -z "$ac_c_werror_flag" ||
19067 test ! -s conftest.err
19068 } && test -s conftest$ac_exeext &&
19069 $as_test_x conftest$ac_exeext; then
19070 { echo "$as_me:$LINENO: result: yes" >&5
19071 echo "${ECHO_T}yes" >&6; }
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19076 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19077 See \`config.log' for more details." >&5
19078 echo "$as_me: error: no. Try a different SDK
19079 See \`config.log' for more details." >&2;}
19080 { (exit 1); exit 1; }; }; exit 1
19083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19084 conftest$ac_exeext conftest.$ac_ext
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19093 ac_cpp='$CXXCPP $CPPFLAGS'
19094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19098 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19099 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19100 cat >conftest.$ac_ext <<_ACEOF
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19115 rm -f conftest.$ac_objext conftest$ac_exeext
19116 if { (ac_try="$ac_link"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_link") 2>conftest.er1
19124 grep -v '^ *+' conftest.er1 >conftest.err
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_cxx_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest$ac_exeext &&
19132 $as_test_x conftest$ac_exeext; then
19133 { echo "$as_me:$LINENO: result: yes" >&5
19134 echo "${ECHO_T}yes" >&6; }
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.$ac_ext >&5
19139 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19140 See \`config.log' for more details." >&5
19141 echo "$as_me: error: no. Try a different SDK
19142 See \`config.log' for more details." >&2;}
19143 { (exit 1); exit 1; }; }; exit 1
19146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19147 conftest$ac_exeext conftest.$ac_ext
19149 ac_cpp='$CPP $CPPFLAGS'
19150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19160 INSTALL_PROGRAM="cp -fp"
19161 INSTALL_DATA="cp -fp"
19168 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19169 CXXFLAGS="-qunique $CXXFLAGS"
19173 powerpc-*-darwin* )
19174 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19175 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19176 cat >conftest.$ac_ext <<_ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19186 #ifndef __POWERPC__
19187 choke me for lack of PowerPC
19194 rm -f conftest.$ac_objext
19195 if { (ac_try="$ac_compile"
19196 case "(($ac_try" in
19197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19198 *) ac_try_echo=$ac_try;;
19200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19201 (eval "$ac_compile") 2>conftest.er1
19203 grep -v '^ *+' conftest.er1 >conftest.err
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } && {
19208 test -z "$ac_c_werror_flag" ||
19209 test ! -s conftest.err
19210 } && test -s conftest.$ac_objext; then
19211 { echo "$as_me:$LINENO: result: yes" >&5
19212 echo "${ECHO_T}yes" >&6; }
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19217 { echo "$as_me:$LINENO: result: no" >&5
19218 echo "${ECHO_T}no" >&6; }
19219 cat >>confdefs.h <<\_ACEOF
19220 #define __POWERPC__ 1
19226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19232 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19233 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19234 cat >conftest.$ac_ext <<_ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 #include <CoreFoundation/CFBase.h>
19250 rm -f conftest.$ac_objext
19251 if { (ac_try="$ac_compile"
19252 case "(($ac_try" in
19253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19254 *) ac_try_echo=$ac_try;;
19256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19257 (eval "$ac_compile") 2>conftest.er1
19259 grep -v '^ *+' conftest.er1 >conftest.err
19261 cat conftest.err >&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); } && {
19264 test -z "$ac_c_werror_flag" ||
19265 test ! -s conftest.err
19266 } && test -s conftest.$ac_objext; then
19267 { echo "$as_me:$LINENO: result: yes" >&5
19268 echo "${ECHO_T}yes" >&6; }
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19273 { echo "$as_me:$LINENO: result: no" >&5
19274 echo "${ECHO_T}no" >&6; }
19275 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19276 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19277 cat >conftest.$ac_ext <<_ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 #define __CF_USE_FRAMEWORK_INCLUDES__
19284 #include <CoreFoundation/CFBase.h>
19294 rm -f conftest.$ac_objext
19295 if { (ac_try="$ac_compile"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_compile") 2>conftest.er1
19303 grep -v '^ *+' conftest.er1 >conftest.err
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } && {
19308 test -z "$ac_c_werror_flag" ||
19309 test ! -s conftest.err
19310 } && test -s conftest.$ac_objext; then
19311 { echo "$as_me:$LINENO: result: yes" >&5
19312 echo "${ECHO_T}yes" >&6; }
19313 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19318 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19319 See \`config.log' for more details." >&5
19320 echo "$as_me: error: no. CoreFoundation not available.
19321 See \`config.log' for more details." >&2;}
19322 { (exit 1); exit 1; }; }
19326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19336 doesnt_want_win32=0
19339 if test "$wxUSE_MSW" = 1 ; then
19342 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19343 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19344 if test "${wx_cv_nocygwin+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19348 cat >conftest.$ac_ext <<_ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19367 rm -f conftest.$ac_objext
19368 if { (ac_try="$ac_compile"
19369 case "(($ac_try" in
19370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19371 *) ac_try_echo=$ac_try;;
19373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19374 (eval "$ac_compile") 2>conftest.er1
19376 grep -v '^ *+' conftest.er1 >conftest.err
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } && {
19381 test -z "$ac_c_werror_flag" ||
19382 test ! -s conftest.err
19383 } && test -s conftest.$ac_objext; then
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19398 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19400 if test "$wx_cv_nocygwin" = "yes"; then
19403 doesnt_want_win32=1
19406 if test "$wants_win32" = 1 ; then
19407 BAKEFILE_FORCE_PLATFORM=win32
19415 if test "$wxUSE_WINE" = "yes"; then
19417 LDFLAGS_GUI="-mwindows"
19420 if test "$wants_win32" = 1 ; then
19423 cat >>confdefs.h <<\_ACEOF
19424 #define __WIN32__ 1
19427 cat >>confdefs.h <<\_ACEOF
19428 #define __WIN95__ 1
19431 cat >>confdefs.h <<\_ACEOF
19432 #define __WINDOWS__ 1
19435 cat >>confdefs.h <<\_ACEOF
19436 #define __GNUWIN32__ 1
19439 cat >>confdefs.h <<\_ACEOF
19444 if test "$doesnt_want_win32" = 1 ; then
19449 if test "$USE_UNIX" = 1 ; then
19451 cat >>confdefs.h <<\_ACEOF
19458 *-pc-os2_emx | *-pc-os2-emx )
19459 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19460 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19461 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19462 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19465 ac_check_lib_save_LIBS=$LIBS
19466 LIBS="-lcExt $LIBS"
19467 cat >conftest.$ac_ext <<_ACEOF
19470 cat confdefs.h >>conftest.$ac_ext
19471 cat >>conftest.$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19474 /* Override any GCC internal prototype to avoid an error.
19475 Use char because int might match the return type of a GCC
19476 builtin and then its argument prototype would still apply. */
19489 rm -f conftest.$ac_objext conftest$ac_exeext
19490 if { (ac_try="$ac_link"
19491 case "(($ac_try" in
19492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19493 *) ac_try_echo=$ac_try;;
19495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19496 (eval "$ac_link") 2>conftest.er1
19498 grep -v '^ *+' conftest.er1 >conftest.err
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } && {
19503 test -z "$ac_c_werror_flag" ||
19504 test ! -s conftest.err
19505 } && test -s conftest$ac_exeext &&
19506 $as_test_x conftest$ac_exeext; then
19507 ac_cv_lib_cExt_drand48=yes
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19512 ac_cv_lib_cExt_drand48=no
19515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19516 conftest$ac_exeext conftest.$ac_ext
19517 LIBS=$ac_check_lib_save_LIBS
19519 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19520 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19521 if test $ac_cv_lib_cExt_drand48 = yes; then
19522 LIBS="$LIBS -lcExt"
19526 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19528 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19529 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19530 if test "${wx_cv_gccversion+set}" = set; then
19531 echo $ECHO_N "(cached) $ECHO_C" >&6
19534 if test "$cross_compiling" = yes; then
19535 wx_cv_gccversion="EMX2"
19538 cat >conftest.$ac_ext <<_ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19549 FILE *f=fopen("conftestval", "w");
19554 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19556 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19566 rm -f conftest$ac_exeext
19567 if { (ac_try="$ac_link"
19568 case "(($ac_try" in
19569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19570 *) ac_try_echo=$ac_try;;
19572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19573 (eval "$ac_link") 2>&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19577 { (case "(($ac_try" in
19578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19579 *) ac_try_echo=$ac_try;;
19581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19582 (eval "$ac_try") 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; }; then
19586 wx_cv_gccversion=`cat conftestval`
19588 echo "$as_me: program exited with status $ac_status" >&5
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19592 ( exit $ac_status )
19593 wx_cv_gccversion="EMX2"
19595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19601 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19602 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19603 if test "$wx_cv_gccversion" = "EMX2"; then
19604 LIBS="$LIBS -lstdcpp"
19605 LDFLAGS="$LDFLAGS -Zsysv-signals"
19607 if test "$wx_cv_gccversion" = "EMX3"; then
19608 LIBS="$LIBS -lstdcxx -lgcc"
19609 LDFLAGS="$LDFLAGS -Zsysv-signals"
19611 LIBS="$LIBS -lstdc++"
19614 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19615 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19616 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19623 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19624 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19625 if test "${ac_cv_string_strcasecmp+set}" = set; then
19626 echo $ECHO_N "(cached) $ECHO_C" >&6
19629 cat >conftest.$ac_ext <<_ACEOF
19632 cat confdefs.h >>conftest.$ac_ext
19633 cat >>conftest.$ac_ext <<_ACEOF
19634 /* end confdefs.h. */
19636 #include <string.h>
19642 strcasecmp("foo", "bar");
19648 rm -f conftest.$ac_objext conftest$ac_exeext
19649 if { (ac_try="$ac_link"
19650 case "(($ac_try" in
19651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19655 (eval "$ac_link") 2>conftest.er1
19657 grep -v '^ *+' conftest.er1 >conftest.err
19659 cat conftest.err >&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } && {
19662 test -z "$ac_c_werror_flag" ||
19663 test ! -s conftest.err
19664 } && test -s conftest$ac_exeext &&
19665 $as_test_x conftest$ac_exeext; then
19666 ac_cv_string_strcasecmp=yes
19668 echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.$ac_ext >&5
19671 ac_cv_string_strcasecmp=no
19675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19676 conftest$ac_exeext conftest.$ac_ext
19679 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19680 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19682 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19683 cat >>confdefs.h <<\_ACEOF
19684 #define HAVE_STRCASECMP_IN_STRING_H 1
19688 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19689 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19690 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19694 cat >conftest.$ac_ext <<_ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19701 #include <strings.h>
19707 strcasecmp("foo", "bar");
19713 rm -f conftest.$ac_objext conftest$ac_exeext
19714 if { (ac_try="$ac_link"
19715 case "(($ac_try" in
19716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19717 *) ac_try_echo=$ac_try;;
19719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19720 (eval "$ac_link") 2>conftest.er1
19722 grep -v '^ *+' conftest.er1 >conftest.err
19724 cat conftest.err >&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } && {
19727 test -z "$ac_c_werror_flag" ||
19728 test ! -s conftest.err
19729 } && test -s conftest$ac_exeext &&
19730 $as_test_x conftest$ac_exeext; then
19731 ac_cv_strings_strcasecmp=yes
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19736 ac_cv_strings_strcasecmp=no
19740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19741 conftest$ac_exeext conftest.$ac_ext
19744 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19745 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19747 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19748 cat >>confdefs.h <<\_ACEOF
19749 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19753 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19754 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19755 { (exit 1); exit 1; }; }
19763 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19764 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19765 if test "${ac_cv_header_stdc+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 cat >conftest.$ac_ext <<_ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 #include <stdlib.h>
19775 #include <stdarg.h>
19776 #include <string.h>
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19796 grep -v '^ *+' conftest.er1 >conftest.err
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 ac_cv_header_stdc=yes
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19809 ac_cv_header_stdc=no
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19814 if test $ac_cv_header_stdc = yes; then
19815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19816 cat >conftest.$ac_ext <<_ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 #include <string.h>
19825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19826 $EGREP "memchr" >/dev/null 2>&1; then
19829 ac_cv_header_stdc=no
19835 if test $ac_cv_header_stdc = yes; then
19836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19837 cat >conftest.$ac_ext <<_ACEOF
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19843 #include <stdlib.h>
19846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19847 $EGREP "free" >/dev/null 2>&1; then
19850 ac_cv_header_stdc=no
19856 if test $ac_cv_header_stdc = yes; then
19857 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19858 if test "$cross_compiling" = yes; then
19861 cat >conftest.$ac_ext <<_ACEOF
19864 cat confdefs.h >>conftest.$ac_ext
19865 cat >>conftest.$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19868 #include <stdlib.h>
19869 #if ((' ' & 0x0FF) == 0x020)
19870 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19871 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19873 # define ISLOWER(c) \
19874 (('a' <= (c) && (c) <= 'i') \
19875 || ('j' <= (c) && (c) <= 'r') \
19876 || ('s' <= (c) && (c) <= 'z'))
19877 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19880 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19885 for (i = 0; i < 256; i++)
19886 if (XOR (islower (i), ISLOWER (i))
19887 || toupper (i) != TOUPPER (i))
19892 rm -f conftest$ac_exeext
19893 if { (ac_try="$ac_link"
19894 case "(($ac_try" in
19895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19896 *) ac_try_echo=$ac_try;;
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_link") 2>&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19903 { (case "(($ac_try" in
19904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19905 *) ac_try_echo=$ac_try;;
19907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19908 (eval "$ac_try") 2>&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); }; }; then
19914 echo "$as_me: program exited with status $ac_status" >&5
19915 echo "$as_me: failed program was:" >&5
19916 sed 's/^/| /' conftest.$ac_ext >&5
19918 ( exit $ac_status )
19919 ac_cv_header_stdc=no
19921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19927 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19928 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19929 if test $ac_cv_header_stdc = yes; then
19931 cat >>confdefs.h <<\_ACEOF
19932 #define STDC_HEADERS 1
19937 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19947 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19948 inttypes.h stdint.h unistd.h
19950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19951 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19953 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19954 echo $ECHO_N "(cached) $ECHO_C" >&6
19956 cat >conftest.$ac_ext <<_ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19964 #include <$ac_header>
19966 rm -f conftest.$ac_objext
19967 if { (ac_try="$ac_compile"
19968 case "(($ac_try" in
19969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_compile") 2>conftest.er1
19975 grep -v '^ *+' conftest.er1 >conftest.err
19977 cat conftest.err >&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } && {
19980 test -z "$ac_c_werror_flag" ||
19981 test ! -s conftest.err
19982 } && test -s conftest.$ac_objext; then
19983 eval "$as_ac_Header=yes"
19985 echo "$as_me: failed program was:" >&5
19986 sed 's/^/| /' conftest.$ac_ext >&5
19988 eval "$as_ac_Header=no"
19991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19993 ac_res=`eval echo '${'$as_ac_Header'}'`
19994 { echo "$as_me:$LINENO: result: $ac_res" >&5
19995 echo "${ECHO_T}$ac_res" >&6; }
19996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19997 cat >>confdefs.h <<_ACEOF
19998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20008 for ac_header in langinfo.h wchar.h
20010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20011 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20014 echo $ECHO_N "(cached) $ECHO_C" >&6
20016 cat >conftest.$ac_ext <<_ACEOF
20019 cat confdefs.h >>conftest.$ac_ext
20020 cat >>conftest.$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 $ac_includes_default
20024 #include <$ac_header>
20026 rm -f conftest.$ac_objext
20027 if { (ac_try="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_compile") 2>conftest.er1
20035 grep -v '^ *+' conftest.er1 >conftest.err
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } && {
20040 test -z "$ac_c_werror_flag" ||
20041 test ! -s conftest.err
20042 } && test -s conftest.$ac_objext; then
20043 eval "$as_ac_Header=yes"
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20048 eval "$as_ac_Header=no"
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20053 ac_res=`eval echo '${'$as_ac_Header'}'`
20054 { echo "$as_me:$LINENO: result: $ac_res" >&5
20055 echo "${ECHO_T}$ac_res" >&6; }
20056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20057 cat >>confdefs.h <<_ACEOF
20058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20066 if test "$ac_cv_header_wchar_h" != "yes"; then
20068 for ac_header in wcstr.h
20070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20071 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20076 cat >conftest.$ac_ext <<_ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20084 #include <$ac_header>
20086 rm -f conftest.$ac_objext
20087 if { (ac_try="$ac_compile"
20088 case "(($ac_try" in
20089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20090 *) ac_try_echo=$ac_try;;
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_compile") 2>conftest.er1
20095 grep -v '^ *+' conftest.er1 >conftest.err
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest.$ac_objext; then
20103 eval "$as_ac_Header=yes"
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20108 eval "$as_ac_Header=no"
20111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20113 ac_res=`eval echo '${'$as_ac_Header'}'`
20114 { echo "$as_me:$LINENO: result: $ac_res" >&5
20115 echo "${ECHO_T}$ac_res" >&6; }
20116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20117 cat >>confdefs.h <<_ACEOF
20118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20128 *-pc-os2_emx | *-pc-os2-emx )
20129 if test $ac_cv_header_langinfo_h = "yes" \
20130 -a \( "$wx_cv_gccversion" = "EMX2" \
20131 -o "$wx_cv_gccversion" = "EMX3" \
20132 -o "$wx_cv_gccversion" = "Innotek5" \); then
20133 LIBS="$LIBS -lintl"
20138 if test "$USE_UNIX" = 1 ; then
20140 for ac_header in sys/select.h
20142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 cat >conftest.$ac_ext <<_ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 $ac_includes_default
20156 #include <$ac_header>
20158 rm -f conftest.$ac_objext
20159 if { (ac_try="$ac_compile"
20160 case "(($ac_try" in
20161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20162 *) ac_try_echo=$ac_try;;
20164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20165 (eval "$ac_compile") 2>conftest.er1
20167 grep -v '^ *+' conftest.er1 >conftest.err
20169 cat conftest.err >&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } && {
20172 test -z "$ac_c_werror_flag" ||
20173 test ! -s conftest.err
20174 } && test -s conftest.$ac_objext; then
20175 eval "$as_ac_Header=yes"
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20180 eval "$as_ac_Header=no"
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20185 ac_res=`eval echo '${'$as_ac_Header'}'`
20186 { echo "$as_me:$LINENO: result: $ac_res" >&5
20187 echo "${ECHO_T}$ac_res" >&6; }
20188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20189 cat >>confdefs.h <<_ACEOF
20190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20200 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20201 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20202 if test "${ac_cv_c_const+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20205 cat >conftest.$ac_ext <<_ACEOF
20208 cat confdefs.h >>conftest.$ac_ext
20209 cat >>conftest.$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20215 /* FIXME: Include the comments suggested by Paul. */
20216 #ifndef __cplusplus
20217 /* Ultrix mips cc rejects this. */
20218 typedef int charset[2];
20220 /* SunOS 4.1.1 cc rejects this. */
20221 char const *const *pcpcc;
20223 /* NEC SVR4.0.2 mips cc rejects this. */
20224 struct point {int x, y;};
20225 static struct point const zero = {0,0};
20226 /* AIX XL C 1.02.0.0 rejects this.
20227 It does not let you subtract one const X* pointer from another in
20228 an arm of an if-expression whose if-part is not a constant
20230 const char *g = "string";
20231 pcpcc = &g + (g ? g-g : 0);
20232 /* HPUX 7.0 cc rejects these. */
20234 ppc = (char**) pcpcc;
20235 pcpcc = (char const *const *) ppc;
20236 { /* SCO 3.2v4 cc rejects this. */
20238 char const *s = 0 ? (char *) 0 : (char const *) 0;
20243 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20244 int x[] = {25, 17};
20245 const int *foo = &x[0];
20248 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20249 typedef const int *iptr;
20253 { /* AIX XL C 1.02.0.0 rejects this saying
20254 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20255 struct s { int j; const int *ap[3]; };
20256 struct s *b; b->j = 5;
20258 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20259 const int foo = 10;
20260 if (!foo) return 0;
20262 return !cs[0] && !zero.x;
20269 rm -f conftest.$ac_objext
20270 if { (ac_try="$ac_compile"
20271 case "(($ac_try" in
20272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20273 *) ac_try_echo=$ac_try;;
20275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20276 (eval "$ac_compile") 2>conftest.er1
20278 grep -v '^ *+' conftest.er1 >conftest.err
20280 cat conftest.err >&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } && {
20283 test -z "$ac_c_werror_flag" ||
20284 test ! -s conftest.err
20285 } && test -s conftest.$ac_objext; then
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20296 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20297 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20298 if test $ac_cv_c_const = no; then
20300 cat >>confdefs.h <<\_ACEOF
20306 { echo "$as_me:$LINENO: checking for inline" >&5
20307 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20308 if test "${ac_cv_c_inline+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20312 for ac_kw in inline __inline__ __inline; do
20313 cat >conftest.$ac_ext <<_ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 #ifndef __cplusplus
20321 static $ac_kw foo_t static_foo () {return 0; }
20322 $ac_kw foo_t foo () {return 0; }
20326 rm -f conftest.$ac_objext
20327 if { (ac_try="$ac_compile"
20328 case "(($ac_try" in
20329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 *) ac_try_echo=$ac_try;;
20332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20333 (eval "$ac_compile") 2>conftest.er1
20335 grep -v '^ *+' conftest.er1 >conftest.err
20337 cat conftest.err >&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && {
20340 test -z "$ac_c_werror_flag" ||
20341 test ! -s conftest.err
20342 } && test -s conftest.$ac_objext; then
20343 ac_cv_c_inline=$ac_kw
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.$ac_ext >&5
20351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20352 test "$ac_cv_c_inline" != no && break
20356 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20357 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20360 case $ac_cv_c_inline in
20363 case $ac_cv_c_inline in
20365 *) ac_val=$ac_cv_c_inline;;
20367 cat >>confdefs.h <<_ACEOF
20368 #ifndef __cplusplus
20369 #define inline $ac_val
20376 { echo "$as_me:$LINENO: checking for short" >&5
20377 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20378 if test "${ac_cv_type_short+set}" = set; then
20379 echo $ECHO_N "(cached) $ECHO_C" >&6
20381 cat >conftest.$ac_ext <<_ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 typedef short ac__type_new_;
20392 if ((ac__type_new_ *) 0)
20394 if (sizeof (ac__type_new_))
20400 rm -f conftest.$ac_objext
20401 if { (ac_try="$ac_compile"
20402 case "(($ac_try" in
20403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20404 *) ac_try_echo=$ac_try;;
20406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20407 (eval "$ac_compile") 2>conftest.er1
20409 grep -v '^ *+' conftest.er1 >conftest.err
20411 cat conftest.err >&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } && {
20414 test -z "$ac_c_werror_flag" ||
20415 test ! -s conftest.err
20416 } && test -s conftest.$ac_objext; then
20417 ac_cv_type_short=yes
20419 echo "$as_me: failed program was:" >&5
20420 sed 's/^/| /' conftest.$ac_ext >&5
20422 ac_cv_type_short=no
20425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20427 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20428 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20430 # The cast to long int works around a bug in the HP C Compiler
20431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20433 # This bug is HP SR number 8606223364.
20434 { echo "$as_me:$LINENO: checking size of short" >&5
20435 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20436 if test "${ac_cv_sizeof_short+set}" = set; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20439 if test "$cross_compiling" = yes; then
20440 # Depending upon the size, compute the lo and hi bounds.
20441 cat >conftest.$ac_ext <<_ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20448 typedef short ac__type_sizeof_;
20452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20459 rm -f conftest.$ac_objext
20460 if { (ac_try="$ac_compile"
20461 case "(($ac_try" in
20462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20463 *) ac_try_echo=$ac_try;;
20465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20466 (eval "$ac_compile") 2>conftest.er1
20468 grep -v '^ *+' conftest.er1 >conftest.err
20470 cat conftest.err >&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && {
20473 test -z "$ac_c_werror_flag" ||
20474 test ! -s conftest.err
20475 } && test -s conftest.$ac_objext; then
20478 cat >conftest.$ac_ext <<_ACEOF
20481 cat confdefs.h >>conftest.$ac_ext
20482 cat >>conftest.$ac_ext <<_ACEOF
20483 /* end confdefs.h. */
20484 $ac_includes_default
20485 typedef short ac__type_sizeof_;
20489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20496 rm -f conftest.$ac_objext
20497 if { (ac_try="$ac_compile"
20498 case "(($ac_try" in
20499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20500 *) ac_try_echo=$ac_try;;
20502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20503 (eval "$ac_compile") 2>conftest.er1
20505 grep -v '^ *+' conftest.er1 >conftest.err
20507 cat conftest.err >&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } && {
20510 test -z "$ac_c_werror_flag" ||
20511 test ! -s conftest.err
20512 } && test -s conftest.$ac_objext; then
20513 ac_hi=$ac_mid; break
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.$ac_ext >&5
20518 ac_lo=`expr $ac_mid + 1`
20519 if test $ac_lo -le $ac_mid; then
20523 ac_mid=`expr 2 '*' $ac_mid + 1`
20526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20529 echo "$as_me: failed program was:" >&5
20530 sed 's/^/| /' conftest.$ac_ext >&5
20532 cat >conftest.$ac_ext <<_ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 $ac_includes_default
20539 typedef short ac__type_sizeof_;
20543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20550 rm -f conftest.$ac_objext
20551 if { (ac_try="$ac_compile"
20552 case "(($ac_try" in
20553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_compile") 2>conftest.er1
20559 grep -v '^ *+' conftest.er1 >conftest.err
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } && {
20564 test -z "$ac_c_werror_flag" ||
20565 test ! -s conftest.err
20566 } && test -s conftest.$ac_objext; then
20569 cat >conftest.$ac_ext <<_ACEOF
20572 cat confdefs.h >>conftest.$ac_ext
20573 cat >>conftest.$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 $ac_includes_default
20576 typedef short ac__type_sizeof_;
20580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20587 rm -f conftest.$ac_objext
20588 if { (ac_try="$ac_compile"
20589 case "(($ac_try" in
20590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20591 *) ac_try_echo=$ac_try;;
20593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20594 (eval "$ac_compile") 2>conftest.er1
20596 grep -v '^ *+' conftest.er1 >conftest.err
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } && {
20601 test -z "$ac_c_werror_flag" ||
20602 test ! -s conftest.err
20603 } && test -s conftest.$ac_objext; then
20604 ac_lo=$ac_mid; break
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.$ac_ext >&5
20609 ac_hi=`expr '(' $ac_mid ')' - 1`
20610 if test $ac_mid -le $ac_hi; then
20614 ac_mid=`expr 2 '*' $ac_mid`
20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.$ac_ext >&5
20626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20630 # Binary search between lo and hi bounds.
20631 while test "x$ac_lo" != "x$ac_hi"; do
20632 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20633 cat >conftest.$ac_ext <<_ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 $ac_includes_default
20640 typedef short ac__type_sizeof_;
20644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20651 rm -f conftest.$ac_objext
20652 if { (ac_try="$ac_compile"
20653 case "(($ac_try" in
20654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20655 *) ac_try_echo=$ac_try;;
20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20658 (eval "$ac_compile") 2>conftest.er1
20660 grep -v '^ *+' conftest.er1 >conftest.err
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } && {
20665 test -z "$ac_c_werror_flag" ||
20666 test ! -s conftest.err
20667 } && test -s conftest.$ac_objext; then
20670 echo "$as_me: failed program was:" >&5
20671 sed 's/^/| /' conftest.$ac_ext >&5
20673 ac_lo=`expr '(' $ac_mid ')' + 1`
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20679 ?*) ac_cv_sizeof_short=$ac_lo;;
20680 '') if test "$ac_cv_type_short" = yes; then
20681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20682 See \`config.log' for more details." >&5
20683 echo "$as_me: error: cannot compute sizeof (short)
20684 See \`config.log' for more details." >&2;}
20685 { (exit 77); exit 77; }; }
20687 ac_cv_sizeof_short=0
20691 cat >conftest.$ac_ext <<_ACEOF
20694 cat confdefs.h >>conftest.$ac_ext
20695 cat >>conftest.$ac_ext <<_ACEOF
20696 /* end confdefs.h. */
20697 $ac_includes_default
20698 typedef short ac__type_sizeof_;
20699 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20700 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20702 #include <stdlib.h>
20707 FILE *f = fopen ("conftest.val", "w");
20710 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20712 long int i = longval ();
20713 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20715 fprintf (f, "%ld\n", i);
20719 unsigned long int i = ulongval ();
20720 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20722 fprintf (f, "%lu\n", i);
20724 return ferror (f) || fclose (f) != 0;
20730 rm -f conftest$ac_exeext
20731 if { (ac_try="$ac_link"
20732 case "(($ac_try" in
20733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20734 *) ac_try_echo=$ac_try;;
20736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20737 (eval "$ac_link") 2>&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20741 { (case "(($ac_try" in
20742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20743 *) ac_try_echo=$ac_try;;
20745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20746 (eval "$ac_try") 2>&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; }; then
20750 ac_cv_sizeof_short=`cat conftest.val`
20752 echo "$as_me: program exited with status $ac_status" >&5
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20756 ( exit $ac_status )
20757 if test "$ac_cv_type_short" = yes; then
20758 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20759 See \`config.log' for more details." >&5
20760 echo "$as_me: error: cannot compute sizeof (short)
20761 See \`config.log' for more details." >&2;}
20762 { (exit 77); exit 77; }; }
20764 ac_cv_sizeof_short=0
20767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20771 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20772 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20776 cat >>confdefs.h <<_ACEOF
20777 #define SIZEOF_SHORT $ac_cv_sizeof_short
20781 { echo "$as_me:$LINENO: checking for void *" >&5
20782 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20783 if test "${ac_cv_type_void_p+set}" = set; then
20784 echo $ECHO_N "(cached) $ECHO_C" >&6
20786 cat >conftest.$ac_ext <<_ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792 $ac_includes_default
20793 typedef void * ac__type_new_;
20797 if ((ac__type_new_ *) 0)
20799 if (sizeof (ac__type_new_))
20805 rm -f conftest.$ac_objext
20806 if { (ac_try="$ac_compile"
20807 case "(($ac_try" in
20808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20809 *) ac_try_echo=$ac_try;;
20811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20812 (eval "$ac_compile") 2>conftest.er1
20814 grep -v '^ *+' conftest.er1 >conftest.err
20816 cat conftest.err >&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); } && {
20819 test -z "$ac_c_werror_flag" ||
20820 test ! -s conftest.err
20821 } && test -s conftest.$ac_objext; then
20822 ac_cv_type_void_p=yes
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.$ac_ext >&5
20827 ac_cv_type_void_p=no
20830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20832 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20833 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20835 # The cast to long int works around a bug in the HP C Compiler
20836 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20837 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20838 # This bug is HP SR number 8606223364.
20839 { echo "$as_me:$LINENO: checking size of void *" >&5
20840 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20841 if test "${ac_cv_sizeof_void_p+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20844 if test "$cross_compiling" = yes; then
20845 # Depending upon the size, compute the lo and hi bounds.
20846 cat >conftest.$ac_ext <<_ACEOF
20849 cat confdefs.h >>conftest.$ac_ext
20850 cat >>conftest.$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20852 $ac_includes_default
20853 typedef void * ac__type_sizeof_;
20857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20864 rm -f conftest.$ac_objext
20865 if { (ac_try="$ac_compile"
20866 case "(($ac_try" in
20867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20868 *) ac_try_echo=$ac_try;;
20870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20871 (eval "$ac_compile") 2>conftest.er1
20873 grep -v '^ *+' conftest.er1 >conftest.err
20875 cat conftest.err >&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } && {
20878 test -z "$ac_c_werror_flag" ||
20879 test ! -s conftest.err
20880 } && test -s conftest.$ac_objext; then
20883 cat >conftest.$ac_ext <<_ACEOF
20886 cat confdefs.h >>conftest.$ac_ext
20887 cat >>conftest.$ac_ext <<_ACEOF
20888 /* end confdefs.h. */
20889 $ac_includes_default
20890 typedef void * ac__type_sizeof_;
20894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20901 rm -f conftest.$ac_objext
20902 if { (ac_try="$ac_compile"
20903 case "(($ac_try" in
20904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20905 *) ac_try_echo=$ac_try;;
20907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20908 (eval "$ac_compile") 2>conftest.er1
20910 grep -v '^ *+' conftest.er1 >conftest.err
20912 cat conftest.err >&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } && {
20915 test -z "$ac_c_werror_flag" ||
20916 test ! -s conftest.err
20917 } && test -s conftest.$ac_objext; then
20918 ac_hi=$ac_mid; break
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.$ac_ext >&5
20923 ac_lo=`expr $ac_mid + 1`
20924 if test $ac_lo -le $ac_mid; then
20928 ac_mid=`expr 2 '*' $ac_mid + 1`
20931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.$ac_ext >&5
20937 cat >conftest.$ac_ext <<_ACEOF
20940 cat confdefs.h >>conftest.$ac_ext
20941 cat >>conftest.$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 $ac_includes_default
20944 typedef void * ac__type_sizeof_;
20948 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20955 rm -f conftest.$ac_objext
20956 if { (ac_try="$ac_compile"
20957 case "(($ac_try" in
20958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20959 *) ac_try_echo=$ac_try;;
20961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20962 (eval "$ac_compile") 2>conftest.er1
20964 grep -v '^ *+' conftest.er1 >conftest.err
20966 cat conftest.err >&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } && {
20969 test -z "$ac_c_werror_flag" ||
20970 test ! -s conftest.err
20971 } && test -s conftest.$ac_objext; then
20974 cat >conftest.$ac_ext <<_ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980 $ac_includes_default
20981 typedef void * ac__type_sizeof_;
20985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20992 rm -f conftest.$ac_objext
20993 if { (ac_try="$ac_compile"
20994 case "(($ac_try" in
20995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20996 *) ac_try_echo=$ac_try;;
20998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20999 (eval "$ac_compile") 2>conftest.er1
21001 grep -v '^ *+' conftest.er1 >conftest.err
21003 cat conftest.err >&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } && {
21006 test -z "$ac_c_werror_flag" ||
21007 test ! -s conftest.err
21008 } && test -s conftest.$ac_objext; then
21009 ac_lo=$ac_mid; break
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21014 ac_hi=`expr '(' $ac_mid ')' - 1`
21015 if test $ac_mid -le $ac_hi; then
21019 ac_mid=`expr 2 '*' $ac_mid`
21022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.$ac_ext >&5
21031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21035 # Binary search between lo and hi bounds.
21036 while test "x$ac_lo" != "x$ac_hi"; do
21037 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21038 cat >conftest.$ac_ext <<_ACEOF
21041 cat confdefs.h >>conftest.$ac_ext
21042 cat >>conftest.$ac_ext <<_ACEOF
21043 /* end confdefs.h. */
21044 $ac_includes_default
21045 typedef void * ac__type_sizeof_;
21049 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21056 rm -f conftest.$ac_objext
21057 if { (ac_try="$ac_compile"
21058 case "(($ac_try" in
21059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21060 *) ac_try_echo=$ac_try;;
21062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21063 (eval "$ac_compile") 2>conftest.er1
21065 grep -v '^ *+' conftest.er1 >conftest.err
21067 cat conftest.err >&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); } && {
21070 test -z "$ac_c_werror_flag" ||
21071 test ! -s conftest.err
21072 } && test -s conftest.$ac_objext; then
21075 echo "$as_me: failed program was:" >&5
21076 sed 's/^/| /' conftest.$ac_ext >&5
21078 ac_lo=`expr '(' $ac_mid ')' + 1`
21081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21084 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21085 '') if test "$ac_cv_type_void_p" = yes; then
21086 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21087 See \`config.log' for more details." >&5
21088 echo "$as_me: error: cannot compute sizeof (void *)
21089 See \`config.log' for more details." >&2;}
21090 { (exit 77); exit 77; }; }
21092 ac_cv_sizeof_void_p=0
21096 cat >conftest.$ac_ext <<_ACEOF
21099 cat confdefs.h >>conftest.$ac_ext
21100 cat >>conftest.$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21102 $ac_includes_default
21103 typedef void * ac__type_sizeof_;
21104 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21105 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21107 #include <stdlib.h>
21112 FILE *f = fopen ("conftest.val", "w");
21115 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21117 long int i = longval ();
21118 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21120 fprintf (f, "%ld\n", i);
21124 unsigned long int i = ulongval ();
21125 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21127 fprintf (f, "%lu\n", i);
21129 return ferror (f) || fclose (f) != 0;
21135 rm -f conftest$ac_exeext
21136 if { (ac_try="$ac_link"
21137 case "(($ac_try" in
21138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21139 *) ac_try_echo=$ac_try;;
21141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21142 (eval "$ac_link") 2>&5
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21146 { (case "(($ac_try" in
21147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21148 *) ac_try_echo=$ac_try;;
21150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21151 (eval "$ac_try") 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_sizeof_void_p=`cat conftest.val`
21157 echo "$as_me: program exited with status $ac_status" >&5
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21161 ( exit $ac_status )
21162 if test "$ac_cv_type_void_p" = yes; then
21163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21164 See \`config.log' for more details." >&5
21165 echo "$as_me: error: cannot compute sizeof (void *)
21166 See \`config.log' for more details." >&2;}
21167 { (exit 77); exit 77; }; }
21169 ac_cv_sizeof_void_p=0
21172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21176 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21177 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21181 cat >>confdefs.h <<_ACEOF
21182 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21186 { echo "$as_me:$LINENO: checking for int" >&5
21187 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21188 if test "${ac_cv_type_int+set}" = set; then
21189 echo $ECHO_N "(cached) $ECHO_C" >&6
21191 cat >conftest.$ac_ext <<_ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef int ac__type_new_;
21202 if ((ac__type_new_ *) 0)
21204 if (sizeof (ac__type_new_))
21210 rm -f conftest.$ac_objext
21211 if { (ac_try="$ac_compile"
21212 case "(($ac_try" in
21213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21214 *) ac_try_echo=$ac_try;;
21216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21217 (eval "$ac_compile") 2>conftest.er1
21219 grep -v '^ *+' conftest.er1 >conftest.err
21221 cat conftest.err >&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); } && {
21224 test -z "$ac_c_werror_flag" ||
21225 test ! -s conftest.err
21226 } && test -s conftest.$ac_objext; then
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.$ac_ext >&5
21235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21237 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21238 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21240 # The cast to long int works around a bug in the HP C Compiler
21241 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21242 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21243 # This bug is HP SR number 8606223364.
21244 { echo "$as_me:$LINENO: checking size of int" >&5
21245 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21246 if test "${ac_cv_sizeof_int+set}" = set; then
21247 echo $ECHO_N "(cached) $ECHO_C" >&6
21249 if test "$cross_compiling" = yes; then
21250 # Depending upon the size, compute the lo and hi bounds.
21251 cat >conftest.$ac_ext <<_ACEOF
21254 cat confdefs.h >>conftest.$ac_ext
21255 cat >>conftest.$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 $ac_includes_default
21258 typedef int ac__type_sizeof_;
21262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21269 rm -f conftest.$ac_objext
21270 if { (ac_try="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21278 grep -v '^ *+' conftest.er1 >conftest.err
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && {
21283 test -z "$ac_c_werror_flag" ||
21284 test ! -s conftest.err
21285 } && test -s conftest.$ac_objext; then
21288 cat >conftest.$ac_ext <<_ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef int ac__type_sizeof_;
21299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21306 rm -f conftest.$ac_objext
21307 if { (ac_try="$ac_compile"
21308 case "(($ac_try" in
21309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21310 *) ac_try_echo=$ac_try;;
21312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
21315 grep -v '^ *+' conftest.er1 >conftest.err
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } && {
21320 test -z "$ac_c_werror_flag" ||
21321 test ! -s conftest.err
21322 } && test -s conftest.$ac_objext; then
21323 ac_hi=$ac_mid; break
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21328 ac_lo=`expr $ac_mid + 1`
21329 if test $ac_lo -le $ac_mid; then
21333 ac_mid=`expr 2 '*' $ac_mid + 1`
21336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21342 cat >conftest.$ac_ext <<_ACEOF
21345 cat confdefs.h >>conftest.$ac_ext
21346 cat >>conftest.$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21348 $ac_includes_default
21349 typedef int ac__type_sizeof_;
21353 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21360 rm -f conftest.$ac_objext
21361 if { (ac_try="$ac_compile"
21362 case "(($ac_try" in
21363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21364 *) ac_try_echo=$ac_try;;
21366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21367 (eval "$ac_compile") 2>conftest.er1
21369 grep -v '^ *+' conftest.er1 >conftest.err
21371 cat conftest.err >&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } && {
21374 test -z "$ac_c_werror_flag" ||
21375 test ! -s conftest.err
21376 } && test -s conftest.$ac_objext; then
21379 cat >conftest.$ac_ext <<_ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21386 typedef int ac__type_sizeof_;
21390 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21397 rm -f conftest.$ac_objext
21398 if { (ac_try="$ac_compile"
21399 case "(($ac_try" in
21400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21401 *) ac_try_echo=$ac_try;;
21403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21404 (eval "$ac_compile") 2>conftest.er1
21406 grep -v '^ *+' conftest.er1 >conftest.err
21408 cat conftest.err >&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); } && {
21411 test -z "$ac_c_werror_flag" ||
21412 test ! -s conftest.err
21413 } && test -s conftest.$ac_objext; then
21414 ac_lo=$ac_mid; break
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.$ac_ext >&5
21419 ac_hi=`expr '(' $ac_mid ')' - 1`
21420 if test $ac_mid -le $ac_hi; then
21424 ac_mid=`expr 2 '*' $ac_mid`
21427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21430 echo "$as_me: failed program was:" >&5
21431 sed 's/^/| /' conftest.$ac_ext >&5
21436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 # Binary search between lo and hi bounds.
21441 while test "x$ac_lo" != "x$ac_hi"; do
21442 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21443 cat >conftest.$ac_ext <<_ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 $ac_includes_default
21450 typedef int ac__type_sizeof_;
21454 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21461 rm -f conftest.$ac_objext
21462 if { (ac_try="$ac_compile"
21463 case "(($ac_try" in
21464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21465 *) ac_try_echo=$ac_try;;
21467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21468 (eval "$ac_compile") 2>conftest.er1
21470 grep -v '^ *+' conftest.er1 >conftest.err
21472 cat conftest.err >&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); } && {
21475 test -z "$ac_c_werror_flag" ||
21476 test ! -s conftest.err
21477 } && test -s conftest.$ac_objext; then
21480 echo "$as_me: failed program was:" >&5
21481 sed 's/^/| /' conftest.$ac_ext >&5
21483 ac_lo=`expr '(' $ac_mid ')' + 1`
21486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21489 ?*) ac_cv_sizeof_int=$ac_lo;;
21490 '') if test "$ac_cv_type_int" = yes; then
21491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21492 See \`config.log' for more details." >&5
21493 echo "$as_me: error: cannot compute sizeof (int)
21494 See \`config.log' for more details." >&2;}
21495 { (exit 77); exit 77; }; }
21501 cat >conftest.$ac_ext <<_ACEOF
21504 cat confdefs.h >>conftest.$ac_ext
21505 cat >>conftest.$ac_ext <<_ACEOF
21506 /* end confdefs.h. */
21507 $ac_includes_default
21508 typedef int ac__type_sizeof_;
21509 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21510 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21512 #include <stdlib.h>
21517 FILE *f = fopen ("conftest.val", "w");
21520 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21522 long int i = longval ();
21523 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21525 fprintf (f, "%ld\n", i);
21529 unsigned long int i = ulongval ();
21530 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21532 fprintf (f, "%lu\n", i);
21534 return ferror (f) || fclose (f) != 0;
21540 rm -f conftest$ac_exeext
21541 if { (ac_try="$ac_link"
21542 case "(($ac_try" in
21543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21544 *) ac_try_echo=$ac_try;;
21546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21547 (eval "$ac_link") 2>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21551 { (case "(($ac_try" in
21552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21553 *) ac_try_echo=$ac_try;;
21555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21556 (eval "$ac_try") 2>&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; }; then
21560 ac_cv_sizeof_int=`cat conftest.val`
21562 echo "$as_me: program exited with status $ac_status" >&5
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21566 ( exit $ac_status )
21567 if test "$ac_cv_type_int" = yes; then
21568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21569 See \`config.log' for more details." >&5
21570 echo "$as_me: error: cannot compute sizeof (int)
21571 See \`config.log' for more details." >&2;}
21572 { (exit 77); exit 77; }; }
21577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21581 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21582 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21586 cat >>confdefs.h <<_ACEOF
21587 #define SIZEOF_INT $ac_cv_sizeof_int
21591 { echo "$as_me:$LINENO: checking for long" >&5
21592 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21593 if test "${ac_cv_type_long+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21596 cat >conftest.$ac_ext <<_ACEOF
21599 cat confdefs.h >>conftest.$ac_ext
21600 cat >>conftest.$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602 $ac_includes_default
21603 typedef long ac__type_new_;
21607 if ((ac__type_new_ *) 0)
21609 if (sizeof (ac__type_new_))
21615 rm -f conftest.$ac_objext
21616 if { (ac_try="$ac_compile"
21617 case "(($ac_try" in
21618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21619 *) ac_try_echo=$ac_try;;
21621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21622 (eval "$ac_compile") 2>conftest.er1
21624 grep -v '^ *+' conftest.er1 >conftest.err
21626 cat conftest.err >&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); } && {
21629 test -z "$ac_c_werror_flag" ||
21630 test ! -s conftest.err
21631 } && test -s conftest.$ac_objext; then
21632 ac_cv_type_long=yes
21634 echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.$ac_ext >&5
21640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21642 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21643 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21645 # The cast to long int works around a bug in the HP C Compiler
21646 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21647 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21648 # This bug is HP SR number 8606223364.
21649 { echo "$as_me:$LINENO: checking size of long" >&5
21650 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21651 if test "${ac_cv_sizeof_long+set}" = set; then
21652 echo $ECHO_N "(cached) $ECHO_C" >&6
21654 if test "$cross_compiling" = yes; then
21655 # Depending upon the size, compute the lo and hi bounds.
21656 cat >conftest.$ac_ext <<_ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 $ac_includes_default
21663 typedef long ac__type_sizeof_;
21667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21674 rm -f conftest.$ac_objext
21675 if { (ac_try="$ac_compile"
21676 case "(($ac_try" in
21677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_compile") 2>conftest.er1
21683 grep -v '^ *+' conftest.er1 >conftest.err
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && {
21688 test -z "$ac_c_werror_flag" ||
21689 test ! -s conftest.err
21690 } && test -s conftest.$ac_objext; then
21693 cat >conftest.$ac_ext <<_ACEOF
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699 $ac_includes_default
21700 typedef long ac__type_sizeof_;
21704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21711 rm -f conftest.$ac_objext
21712 if { (ac_try="$ac_compile"
21713 case "(($ac_try" in
21714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21715 *) ac_try_echo=$ac_try;;
21717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718 (eval "$ac_compile") 2>conftest.er1
21720 grep -v '^ *+' conftest.er1 >conftest.err
21722 cat conftest.err >&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } && {
21725 test -z "$ac_c_werror_flag" ||
21726 test ! -s conftest.err
21727 } && test -s conftest.$ac_objext; then
21728 ac_hi=$ac_mid; break
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.$ac_ext >&5
21733 ac_lo=`expr $ac_mid + 1`
21734 if test $ac_lo -le $ac_mid; then
21738 ac_mid=`expr 2 '*' $ac_mid + 1`
21741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21747 cat >conftest.$ac_ext <<_ACEOF
21750 cat confdefs.h >>conftest.$ac_ext
21751 cat >>conftest.$ac_ext <<_ACEOF
21752 /* end confdefs.h. */
21753 $ac_includes_default
21754 typedef long ac__type_sizeof_;
21758 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21765 rm -f conftest.$ac_objext
21766 if { (ac_try="$ac_compile"
21767 case "(($ac_try" in
21768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21769 *) ac_try_echo=$ac_try;;
21771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21772 (eval "$ac_compile") 2>conftest.er1
21774 grep -v '^ *+' conftest.er1 >conftest.err
21776 cat conftest.err >&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } && {
21779 test -z "$ac_c_werror_flag" ||
21780 test ! -s conftest.err
21781 } && test -s conftest.$ac_objext; then
21784 cat >conftest.$ac_ext <<_ACEOF
21787 cat confdefs.h >>conftest.$ac_ext
21788 cat >>conftest.$ac_ext <<_ACEOF
21789 /* end confdefs.h. */
21790 $ac_includes_default
21791 typedef long ac__type_sizeof_;
21795 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21802 rm -f conftest.$ac_objext
21803 if { (ac_try="$ac_compile"
21804 case "(($ac_try" in
21805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21806 *) ac_try_echo=$ac_try;;
21808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21809 (eval "$ac_compile") 2>conftest.er1
21811 grep -v '^ *+' conftest.er1 >conftest.err
21813 cat conftest.err >&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } && {
21816 test -z "$ac_c_werror_flag" ||
21817 test ! -s conftest.err
21818 } && test -s conftest.$ac_objext; then
21819 ac_lo=$ac_mid; break
21821 echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.$ac_ext >&5
21824 ac_hi=`expr '(' $ac_mid ')' - 1`
21825 if test $ac_mid -le $ac_hi; then
21829 ac_mid=`expr 2 '*' $ac_mid`
21832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21845 # Binary search between lo and hi bounds.
21846 while test "x$ac_lo" != "x$ac_hi"; do
21847 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21848 cat >conftest.$ac_ext <<_ACEOF
21851 cat confdefs.h >>conftest.$ac_ext
21852 cat >>conftest.$ac_ext <<_ACEOF
21853 /* end confdefs.h. */
21854 $ac_includes_default
21855 typedef long ac__type_sizeof_;
21859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21866 rm -f conftest.$ac_objext
21867 if { (ac_try="$ac_compile"
21868 case "(($ac_try" in
21869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21870 *) ac_try_echo=$ac_try;;
21872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21873 (eval "$ac_compile") 2>conftest.er1
21875 grep -v '^ *+' conftest.er1 >conftest.err
21877 cat conftest.err >&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } && {
21880 test -z "$ac_c_werror_flag" ||
21881 test ! -s conftest.err
21882 } && test -s conftest.$ac_objext; then
21885 echo "$as_me: failed program was:" >&5
21886 sed 's/^/| /' conftest.$ac_ext >&5
21888 ac_lo=`expr '(' $ac_mid ')' + 1`
21891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21894 ?*) ac_cv_sizeof_long=$ac_lo;;
21895 '') if test "$ac_cv_type_long" = yes; then
21896 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21897 See \`config.log' for more details." >&5
21898 echo "$as_me: error: cannot compute sizeof (long)
21899 See \`config.log' for more details." >&2;}
21900 { (exit 77); exit 77; }; }
21902 ac_cv_sizeof_long=0
21906 cat >conftest.$ac_ext <<_ACEOF
21909 cat confdefs.h >>conftest.$ac_ext
21910 cat >>conftest.$ac_ext <<_ACEOF
21911 /* end confdefs.h. */
21912 $ac_includes_default
21913 typedef long ac__type_sizeof_;
21914 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21915 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21917 #include <stdlib.h>
21922 FILE *f = fopen ("conftest.val", "w");
21925 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21927 long int i = longval ();
21928 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21930 fprintf (f, "%ld\n", i);
21934 unsigned long int i = ulongval ();
21935 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21937 fprintf (f, "%lu\n", i);
21939 return ferror (f) || fclose (f) != 0;
21945 rm -f conftest$ac_exeext
21946 if { (ac_try="$ac_link"
21947 case "(($ac_try" in
21948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21949 *) ac_try_echo=$ac_try;;
21951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21952 (eval "$ac_link") 2>&5
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21956 { (case "(($ac_try" in
21957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21958 *) ac_try_echo=$ac_try;;
21960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21961 (eval "$ac_try") 2>&5
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; }; then
21965 ac_cv_sizeof_long=`cat conftest.val`
21967 echo "$as_me: program exited with status $ac_status" >&5
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21971 ( exit $ac_status )
21972 if test "$ac_cv_type_long" = yes; then
21973 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21974 See \`config.log' for more details." >&5
21975 echo "$as_me: error: cannot compute sizeof (long)
21976 See \`config.log' for more details." >&2;}
21977 { (exit 77); exit 77; }; }
21979 ac_cv_sizeof_long=0
21982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21986 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21987 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21991 cat >>confdefs.h <<_ACEOF
21992 #define SIZEOF_LONG $ac_cv_sizeof_long
21996 { echo "$as_me:$LINENO: checking for size_t" >&5
21997 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21998 if test "${ac_cv_type_size_t+set}" = set; then
21999 echo $ECHO_N "(cached) $ECHO_C" >&6
22001 cat >conftest.$ac_ext <<_ACEOF
22004 cat confdefs.h >>conftest.$ac_ext
22005 cat >>conftest.$ac_ext <<_ACEOF
22006 /* end confdefs.h. */
22007 $ac_includes_default
22008 typedef size_t ac__type_new_;
22012 if ((ac__type_new_ *) 0)
22014 if (sizeof (ac__type_new_))
22020 rm -f conftest.$ac_objext
22021 if { (ac_try="$ac_compile"
22022 case "(($ac_try" in
22023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22024 *) ac_try_echo=$ac_try;;
22026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22027 (eval "$ac_compile") 2>conftest.er1
22029 grep -v '^ *+' conftest.er1 >conftest.err
22031 cat conftest.err >&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); } && {
22034 test -z "$ac_c_werror_flag" ||
22035 test ! -s conftest.err
22036 } && test -s conftest.$ac_objext; then
22037 ac_cv_type_size_t=yes
22039 echo "$as_me: failed program was:" >&5
22040 sed 's/^/| /' conftest.$ac_ext >&5
22042 ac_cv_type_size_t=no
22045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22047 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22048 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22050 # The cast to long int works around a bug in the HP C Compiler
22051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22052 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22053 # This bug is HP SR number 8606223364.
22054 { echo "$as_me:$LINENO: checking size of size_t" >&5
22055 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22056 if test "${ac_cv_sizeof_size_t+set}" = set; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22059 if test "$cross_compiling" = yes; then
22060 # Depending upon the size, compute the lo and hi bounds.
22061 cat >conftest.$ac_ext <<_ACEOF
22064 cat confdefs.h >>conftest.$ac_ext
22065 cat >>conftest.$ac_ext <<_ACEOF
22066 /* end confdefs.h. */
22067 $ac_includes_default
22068 typedef size_t ac__type_sizeof_;
22072 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22079 rm -f conftest.$ac_objext
22080 if { (ac_try="$ac_compile"
22081 case "(($ac_try" in
22082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22083 *) ac_try_echo=$ac_try;;
22085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22086 (eval "$ac_compile") 2>conftest.er1
22088 grep -v '^ *+' conftest.er1 >conftest.err
22090 cat conftest.err >&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && {
22093 test -z "$ac_c_werror_flag" ||
22094 test ! -s conftest.err
22095 } && test -s conftest.$ac_objext; then
22098 cat >conftest.$ac_ext <<_ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104 $ac_includes_default
22105 typedef size_t ac__type_sizeof_;
22109 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22116 rm -f conftest.$ac_objext
22117 if { (ac_try="$ac_compile"
22118 case "(($ac_try" in
22119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22120 *) ac_try_echo=$ac_try;;
22122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22123 (eval "$ac_compile") 2>conftest.er1
22125 grep -v '^ *+' conftest.er1 >conftest.err
22127 cat conftest.err >&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); } && {
22130 test -z "$ac_c_werror_flag" ||
22131 test ! -s conftest.err
22132 } && test -s conftest.$ac_objext; then
22133 ac_hi=$ac_mid; break
22135 echo "$as_me: failed program was:" >&5
22136 sed 's/^/| /' conftest.$ac_ext >&5
22138 ac_lo=`expr $ac_mid + 1`
22139 if test $ac_lo -le $ac_mid; then
22143 ac_mid=`expr 2 '*' $ac_mid + 1`
22146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.$ac_ext >&5
22152 cat >conftest.$ac_ext <<_ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158 $ac_includes_default
22159 typedef size_t ac__type_sizeof_;
22163 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22170 rm -f conftest.$ac_objext
22171 if { (ac_try="$ac_compile"
22172 case "(($ac_try" in
22173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22174 *) ac_try_echo=$ac_try;;
22176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22177 (eval "$ac_compile") 2>conftest.er1
22179 grep -v '^ *+' conftest.er1 >conftest.err
22181 cat conftest.err >&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); } && {
22184 test -z "$ac_c_werror_flag" ||
22185 test ! -s conftest.err
22186 } && test -s conftest.$ac_objext; then
22189 cat >conftest.$ac_ext <<_ACEOF
22192 cat confdefs.h >>conftest.$ac_ext
22193 cat >>conftest.$ac_ext <<_ACEOF
22194 /* end confdefs.h. */
22195 $ac_includes_default
22196 typedef size_t ac__type_sizeof_;
22200 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22207 rm -f conftest.$ac_objext
22208 if { (ac_try="$ac_compile"
22209 case "(($ac_try" in
22210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22211 *) ac_try_echo=$ac_try;;
22213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22214 (eval "$ac_compile") 2>conftest.er1
22216 grep -v '^ *+' conftest.er1 >conftest.err
22218 cat conftest.err >&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } && {
22221 test -z "$ac_c_werror_flag" ||
22222 test ! -s conftest.err
22223 } && test -s conftest.$ac_objext; then
22224 ac_lo=$ac_mid; break
22226 echo "$as_me: failed program was:" >&5
22227 sed 's/^/| /' conftest.$ac_ext >&5
22229 ac_hi=`expr '(' $ac_mid ')' - 1`
22230 if test $ac_mid -le $ac_hi; then
22234 ac_mid=`expr 2 '*' $ac_mid`
22237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22240 echo "$as_me: failed program was:" >&5
22241 sed 's/^/| /' conftest.$ac_ext >&5
22246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22250 # Binary search between lo and hi bounds.
22251 while test "x$ac_lo" != "x$ac_hi"; do
22252 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22253 cat >conftest.$ac_ext <<_ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 $ac_includes_default
22260 typedef size_t ac__type_sizeof_;
22264 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22271 rm -f conftest.$ac_objext
22272 if { (ac_try="$ac_compile"
22273 case "(($ac_try" in
22274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22275 *) ac_try_echo=$ac_try;;
22277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22278 (eval "$ac_compile") 2>conftest.er1
22280 grep -v '^ *+' conftest.er1 >conftest.err
22282 cat conftest.err >&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } && {
22285 test -z "$ac_c_werror_flag" ||
22286 test ! -s conftest.err
22287 } && test -s conftest.$ac_objext; then
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22293 ac_lo=`expr '(' $ac_mid ')' + 1`
22296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22299 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22300 '') if test "$ac_cv_type_size_t" = yes; then
22301 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22302 See \`config.log' for more details." >&5
22303 echo "$as_me: error: cannot compute sizeof (size_t)
22304 See \`config.log' for more details." >&2;}
22305 { (exit 77); exit 77; }; }
22307 ac_cv_sizeof_size_t=0
22311 cat >conftest.$ac_ext <<_ACEOF
22314 cat confdefs.h >>conftest.$ac_ext
22315 cat >>conftest.$ac_ext <<_ACEOF
22316 /* end confdefs.h. */
22317 $ac_includes_default
22318 typedef size_t ac__type_sizeof_;
22319 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22320 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22322 #include <stdlib.h>
22327 FILE *f = fopen ("conftest.val", "w");
22330 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22332 long int i = longval ();
22333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22335 fprintf (f, "%ld\n", i);
22339 unsigned long int i = ulongval ();
22340 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22342 fprintf (f, "%lu\n", i);
22344 return ferror (f) || fclose (f) != 0;
22350 rm -f conftest$ac_exeext
22351 if { (ac_try="$ac_link"
22352 case "(($ac_try" in
22353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22354 *) ac_try_echo=$ac_try;;
22356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22357 (eval "$ac_link") 2>&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22361 { (case "(($ac_try" in
22362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22363 *) ac_try_echo=$ac_try;;
22365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22366 (eval "$ac_try") 2>&5
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); }; }; then
22370 ac_cv_sizeof_size_t=`cat conftest.val`
22372 echo "$as_me: program exited with status $ac_status" >&5
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22376 ( exit $ac_status )
22377 if test "$ac_cv_type_size_t" = yes; then
22378 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22379 See \`config.log' for more details." >&5
22380 echo "$as_me: error: cannot compute sizeof (size_t)
22381 See \`config.log' for more details." >&2;}
22382 { (exit 77); exit 77; }; }
22384 ac_cv_sizeof_size_t=0
22387 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22391 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22392 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22396 cat >>confdefs.h <<_ACEOF
22397 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22404 { echo "$as_me:$LINENO: checking for long long" >&5
22405 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22406 if test "${ac_cv_type_long_long+set}" = set; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22409 cat >conftest.$ac_ext <<_ACEOF
22412 cat confdefs.h >>conftest.$ac_ext
22413 cat >>conftest.$ac_ext <<_ACEOF
22414 /* end confdefs.h. */
22415 $ac_includes_default
22416 typedef long long ac__type_new_;
22420 if ((ac__type_new_ *) 0)
22422 if (sizeof (ac__type_new_))
22428 rm -f conftest.$ac_objext
22429 if { (ac_try="$ac_compile"
22430 case "(($ac_try" in
22431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22432 *) ac_try_echo=$ac_try;;
22434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22435 (eval "$ac_compile") 2>conftest.er1
22437 grep -v '^ *+' conftest.er1 >conftest.err
22439 cat conftest.err >&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } && {
22442 test -z "$ac_c_werror_flag" ||
22443 test ! -s conftest.err
22444 } && test -s conftest.$ac_objext; then
22445 ac_cv_type_long_long=yes
22447 echo "$as_me: failed program was:" >&5
22448 sed 's/^/| /' conftest.$ac_ext >&5
22450 ac_cv_type_long_long=no
22453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22455 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22456 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22458 # The cast to long int works around a bug in the HP C Compiler
22459 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22460 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22461 # This bug is HP SR number 8606223364.
22462 { echo "$as_me:$LINENO: checking size of long long" >&5
22463 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22464 if test "${ac_cv_sizeof_long_long+set}" = set; then
22465 echo $ECHO_N "(cached) $ECHO_C" >&6
22467 if test "$cross_compiling" = yes; then
22468 # Depending upon the size, compute the lo and hi bounds.
22469 cat >conftest.$ac_ext <<_ACEOF
22472 cat confdefs.h >>conftest.$ac_ext
22473 cat >>conftest.$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22475 $ac_includes_default
22476 typedef long long ac__type_sizeof_;
22480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22487 rm -f conftest.$ac_objext
22488 if { (ac_try="$ac_compile"
22489 case "(($ac_try" in
22490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22491 *) ac_try_echo=$ac_try;;
22493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22494 (eval "$ac_compile") 2>conftest.er1
22496 grep -v '^ *+' conftest.er1 >conftest.err
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && {
22501 test -z "$ac_c_werror_flag" ||
22502 test ! -s conftest.err
22503 } && test -s conftest.$ac_objext; then
22506 cat >conftest.$ac_ext <<_ACEOF
22509 cat confdefs.h >>conftest.$ac_ext
22510 cat >>conftest.$ac_ext <<_ACEOF
22511 /* end confdefs.h. */
22512 $ac_includes_default
22513 typedef long long ac__type_sizeof_;
22517 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22524 rm -f conftest.$ac_objext
22525 if { (ac_try="$ac_compile"
22526 case "(($ac_try" in
22527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22528 *) ac_try_echo=$ac_try;;
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_compile") 2>conftest.er1
22533 grep -v '^ *+' conftest.er1 >conftest.err
22535 cat conftest.err >&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } && {
22538 test -z "$ac_c_werror_flag" ||
22539 test ! -s conftest.err
22540 } && test -s conftest.$ac_objext; then
22541 ac_hi=$ac_mid; break
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22546 ac_lo=`expr $ac_mid + 1`
22547 if test $ac_lo -le $ac_mid; then
22551 ac_mid=`expr 2 '*' $ac_mid + 1`
22554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.$ac_ext >&5
22560 cat >conftest.$ac_ext <<_ACEOF
22563 cat confdefs.h >>conftest.$ac_ext
22564 cat >>conftest.$ac_ext <<_ACEOF
22565 /* end confdefs.h. */
22566 $ac_includes_default
22567 typedef long long ac__type_sizeof_;
22571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22578 rm -f conftest.$ac_objext
22579 if { (ac_try="$ac_compile"
22580 case "(($ac_try" in
22581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22582 *) ac_try_echo=$ac_try;;
22584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22585 (eval "$ac_compile") 2>conftest.er1
22587 grep -v '^ *+' conftest.er1 >conftest.err
22589 cat conftest.err >&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } && {
22592 test -z "$ac_c_werror_flag" ||
22593 test ! -s conftest.err
22594 } && test -s conftest.$ac_objext; then
22597 cat >conftest.$ac_ext <<_ACEOF
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22603 $ac_includes_default
22604 typedef long long ac__type_sizeof_;
22608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22615 rm -f conftest.$ac_objext
22616 if { (ac_try="$ac_compile"
22617 case "(($ac_try" in
22618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22619 *) ac_try_echo=$ac_try;;
22621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22622 (eval "$ac_compile") 2>conftest.er1
22624 grep -v '^ *+' conftest.er1 >conftest.err
22626 cat conftest.err >&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } && {
22629 test -z "$ac_c_werror_flag" ||
22630 test ! -s conftest.err
22631 } && test -s conftest.$ac_objext; then
22632 ac_lo=$ac_mid; break
22634 echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.$ac_ext >&5
22637 ac_hi=`expr '(' $ac_mid ')' - 1`
22638 if test $ac_mid -le $ac_hi; then
22642 ac_mid=`expr 2 '*' $ac_mid`
22645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22658 # Binary search between lo and hi bounds.
22659 while test "x$ac_lo" != "x$ac_hi"; do
22660 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22661 cat >conftest.$ac_ext <<_ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 $ac_includes_default
22668 typedef long long ac__type_sizeof_;
22672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22679 rm -f conftest.$ac_objext
22680 if { (ac_try="$ac_compile"
22681 case "(($ac_try" in
22682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22683 *) ac_try_echo=$ac_try;;
22685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22686 (eval "$ac_compile") 2>conftest.er1
22688 grep -v '^ *+' conftest.er1 >conftest.err
22690 cat conftest.err >&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } && {
22693 test -z "$ac_c_werror_flag" ||
22694 test ! -s conftest.err
22695 } && test -s conftest.$ac_objext; then
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22701 ac_lo=`expr '(' $ac_mid ')' + 1`
22704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22707 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22708 '') if test "$ac_cv_type_long_long" = yes; then
22709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22710 See \`config.log' for more details." >&5
22711 echo "$as_me: error: cannot compute sizeof (long long)
22712 See \`config.log' for more details." >&2;}
22713 { (exit 77); exit 77; }; }
22715 ac_cv_sizeof_long_long=0
22719 cat >conftest.$ac_ext <<_ACEOF
22722 cat confdefs.h >>conftest.$ac_ext
22723 cat >>conftest.$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22725 $ac_includes_default
22726 typedef long long ac__type_sizeof_;
22727 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22728 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22730 #include <stdlib.h>
22735 FILE *f = fopen ("conftest.val", "w");
22738 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22740 long int i = longval ();
22741 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22743 fprintf (f, "%ld\n", i);
22747 unsigned long int i = ulongval ();
22748 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22750 fprintf (f, "%lu\n", i);
22752 return ferror (f) || fclose (f) != 0;
22758 rm -f conftest$ac_exeext
22759 if { (ac_try="$ac_link"
22760 case "(($ac_try" in
22761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22762 *) ac_try_echo=$ac_try;;
22764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22765 (eval "$ac_link") 2>&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22769 { (case "(($ac_try" in
22770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22771 *) ac_try_echo=$ac_try;;
22773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22774 (eval "$ac_try") 2>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; }; then
22778 ac_cv_sizeof_long_long=`cat conftest.val`
22780 echo "$as_me: program exited with status $ac_status" >&5
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22784 ( exit $ac_status )
22785 if test "$ac_cv_type_long_long" = yes; then
22786 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22787 See \`config.log' for more details." >&5
22788 echo "$as_me: error: cannot compute sizeof (long long)
22789 See \`config.log' for more details." >&2;}
22790 { (exit 77); exit 77; }; }
22792 ac_cv_sizeof_long_long=0
22795 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22799 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22800 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22804 cat >>confdefs.h <<_ACEOF
22805 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22811 { echo "$as_me:$LINENO: checking for long long" >&5
22812 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22813 if test "${ac_cv_type_long_long+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22816 cat >conftest.$ac_ext <<_ACEOF
22819 cat confdefs.h >>conftest.$ac_ext
22820 cat >>conftest.$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22822 $ac_includes_default
22823 typedef long long ac__type_new_;
22827 if ((ac__type_new_ *) 0)
22829 if (sizeof (ac__type_new_))
22835 rm -f conftest.$ac_objext
22836 if { (ac_try="$ac_compile"
22837 case "(($ac_try" in
22838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22839 *) ac_try_echo=$ac_try;;
22841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22842 (eval "$ac_compile") 2>conftest.er1
22844 grep -v '^ *+' conftest.er1 >conftest.err
22846 cat conftest.err >&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); } && {
22849 test -z "$ac_c_werror_flag" ||
22850 test ! -s conftest.err
22851 } && test -s conftest.$ac_objext; then
22852 ac_cv_type_long_long=yes
22854 echo "$as_me: failed program was:" >&5
22855 sed 's/^/| /' conftest.$ac_ext >&5
22857 ac_cv_type_long_long=no
22860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22862 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22863 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22865 # The cast to long int works around a bug in the HP C Compiler
22866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22868 # This bug is HP SR number 8606223364.
22869 { echo "$as_me:$LINENO: checking size of long long" >&5
22870 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22871 if test "${ac_cv_sizeof_long_long+set}" = set; then
22872 echo $ECHO_N "(cached) $ECHO_C" >&6
22874 if test "$cross_compiling" = yes; then
22875 # Depending upon the size, compute the lo and hi bounds.
22876 cat >conftest.$ac_ext <<_ACEOF
22879 cat confdefs.h >>conftest.$ac_ext
22880 cat >>conftest.$ac_ext <<_ACEOF
22881 /* end confdefs.h. */
22882 $ac_includes_default
22883 typedef long long ac__type_sizeof_;
22887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22894 rm -f conftest.$ac_objext
22895 if { (ac_try="$ac_compile"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_compile") 2>conftest.er1
22903 grep -v '^ *+' conftest.er1 >conftest.err
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && {
22908 test -z "$ac_c_werror_flag" ||
22909 test ! -s conftest.err
22910 } && test -s conftest.$ac_objext; then
22913 cat >conftest.$ac_ext <<_ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919 $ac_includes_default
22920 typedef long long ac__type_sizeof_;
22924 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22931 rm -f conftest.$ac_objext
22932 if { (ac_try="$ac_compile"
22933 case "(($ac_try" in
22934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22935 *) ac_try_echo=$ac_try;;
22937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22938 (eval "$ac_compile") 2>conftest.er1
22940 grep -v '^ *+' conftest.er1 >conftest.err
22942 cat conftest.err >&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); } && {
22945 test -z "$ac_c_werror_flag" ||
22946 test ! -s conftest.err
22947 } && test -s conftest.$ac_objext; then
22948 ac_hi=$ac_mid; break
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.$ac_ext >&5
22953 ac_lo=`expr $ac_mid + 1`
22954 if test $ac_lo -le $ac_mid; then
22958 ac_mid=`expr 2 '*' $ac_mid + 1`
22961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.$ac_ext >&5
22967 cat >conftest.$ac_ext <<_ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973 $ac_includes_default
22974 typedef long long ac__type_sizeof_;
22978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22985 rm -f conftest.$ac_objext
22986 if { (ac_try="$ac_compile"
22987 case "(($ac_try" in
22988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22989 *) ac_try_echo=$ac_try;;
22991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22992 (eval "$ac_compile") 2>conftest.er1
22994 grep -v '^ *+' conftest.er1 >conftest.err
22996 cat conftest.err >&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } && {
22999 test -z "$ac_c_werror_flag" ||
23000 test ! -s conftest.err
23001 } && test -s conftest.$ac_objext; then
23004 cat >conftest.$ac_ext <<_ACEOF
23007 cat confdefs.h >>conftest.$ac_ext
23008 cat >>conftest.$ac_ext <<_ACEOF
23009 /* end confdefs.h. */
23010 $ac_includes_default
23011 typedef long long ac__type_sizeof_;
23015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23022 rm -f conftest.$ac_objext
23023 if { (ac_try="$ac_compile"
23024 case "(($ac_try" in
23025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23026 *) ac_try_echo=$ac_try;;
23028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23029 (eval "$ac_compile") 2>conftest.er1
23031 grep -v '^ *+' conftest.er1 >conftest.err
23033 cat conftest.err >&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); } && {
23036 test -z "$ac_c_werror_flag" ||
23037 test ! -s conftest.err
23038 } && test -s conftest.$ac_objext; then
23039 ac_lo=$ac_mid; break
23041 echo "$as_me: failed program was:" >&5
23042 sed 's/^/| /' conftest.$ac_ext >&5
23044 ac_hi=`expr '(' $ac_mid ')' - 1`
23045 if test $ac_mid -le $ac_hi; then
23049 ac_mid=`expr 2 '*' $ac_mid`
23052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23055 echo "$as_me: failed program was:" >&5
23056 sed 's/^/| /' conftest.$ac_ext >&5
23061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23065 # Binary search between lo and hi bounds.
23066 while test "x$ac_lo" != "x$ac_hi"; do
23067 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23068 cat >conftest.$ac_ext <<_ACEOF
23071 cat confdefs.h >>conftest.$ac_ext
23072 cat >>conftest.$ac_ext <<_ACEOF
23073 /* end confdefs.h. */
23074 $ac_includes_default
23075 typedef long long ac__type_sizeof_;
23079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23086 rm -f conftest.$ac_objext
23087 if { (ac_try="$ac_compile"
23088 case "(($ac_try" in
23089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23090 *) ac_try_echo=$ac_try;;
23092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23093 (eval "$ac_compile") 2>conftest.er1
23095 grep -v '^ *+' conftest.er1 >conftest.err
23097 cat conftest.err >&5
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); } && {
23100 test -z "$ac_c_werror_flag" ||
23101 test ! -s conftest.err
23102 } && test -s conftest.$ac_objext; then
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23108 ac_lo=`expr '(' $ac_mid ')' + 1`
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23114 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23115 '') if test "$ac_cv_type_long_long" = yes; then
23116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23117 See \`config.log' for more details." >&5
23118 echo "$as_me: error: cannot compute sizeof (long long)
23119 See \`config.log' for more details." >&2;}
23120 { (exit 77); exit 77; }; }
23122 ac_cv_sizeof_long_long=0
23126 cat >conftest.$ac_ext <<_ACEOF
23129 cat confdefs.h >>conftest.$ac_ext
23130 cat >>conftest.$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132 $ac_includes_default
23133 typedef long long ac__type_sizeof_;
23134 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23135 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23137 #include <stdlib.h>
23142 FILE *f = fopen ("conftest.val", "w");
23145 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23147 long int i = longval ();
23148 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23150 fprintf (f, "%ld\n", i);
23154 unsigned long int i = ulongval ();
23155 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23157 fprintf (f, "%lu\n", i);
23159 return ferror (f) || fclose (f) != 0;
23165 rm -f conftest$ac_exeext
23166 if { (ac_try="$ac_link"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_link") 2>&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23176 { (case "(($ac_try" in
23177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23178 *) ac_try_echo=$ac_try;;
23180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23181 (eval "$ac_try") 2>&5
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); }; }; then
23185 ac_cv_sizeof_long_long=`cat conftest.val`
23187 echo "$as_me: program exited with status $ac_status" >&5
23188 echo "$as_me: failed program was:" >&5
23189 sed 's/^/| /' conftest.$ac_ext >&5
23191 ( exit $ac_status )
23192 if test "$ac_cv_type_long_long" = yes; then
23193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23194 See \`config.log' for more details." >&5
23195 echo "$as_me: error: cannot compute sizeof (long long)
23196 See \`config.log' for more details." >&2;}
23197 { (exit 77); exit 77; }; }
23199 ac_cv_sizeof_long_long=0
23202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23206 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23207 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23211 cat >>confdefs.h <<_ACEOF
23212 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23216 if test "$ac_cv_sizeof_long_long" != 0; then
23217 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23221 { echo "$as_me:$LINENO: checking for long long" >&5
23222 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23223 if test "${ac_cv_type_long_long+set}" = set; then
23224 echo $ECHO_N "(cached) $ECHO_C" >&6
23226 cat >conftest.$ac_ext <<_ACEOF
23229 cat confdefs.h >>conftest.$ac_ext
23230 cat >>conftest.$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23232 $ac_includes_default
23233 typedef long long ac__type_new_;
23237 if ((ac__type_new_ *) 0)
23239 if (sizeof (ac__type_new_))
23245 rm -f conftest.$ac_objext
23246 if { (ac_try="$ac_compile"
23247 case "(($ac_try" in
23248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23249 *) ac_try_echo=$ac_try;;
23251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23252 (eval "$ac_compile") 2>conftest.er1
23254 grep -v '^ *+' conftest.er1 >conftest.err
23256 cat conftest.err >&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } && {
23259 test -z "$ac_c_werror_flag" ||
23260 test ! -s conftest.err
23261 } && test -s conftest.$ac_objext; then
23262 ac_cv_type_long_long=yes
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.$ac_ext >&5
23267 ac_cv_type_long_long=no
23270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23273 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23275 # The cast to long int works around a bug in the HP C Compiler
23276 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23277 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23278 # This bug is HP SR number 8606223364.
23279 { echo "$as_me:$LINENO: checking size of long long" >&5
23280 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23281 if test "${ac_cv_sizeof_long_long+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 if test "$cross_compiling" = yes; then
23285 # Depending upon the size, compute the lo and hi bounds.
23286 cat >conftest.$ac_ext <<_ACEOF
23289 cat confdefs.h >>conftest.$ac_ext
23290 cat >>conftest.$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292 $ac_includes_default
23293 typedef long long ac__type_sizeof_;
23297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23304 rm -f conftest.$ac_objext
23305 if { (ac_try="$ac_compile"
23306 case "(($ac_try" in
23307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23308 *) ac_try_echo=$ac_try;;
23310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23311 (eval "$ac_compile") 2>conftest.er1
23313 grep -v '^ *+' conftest.er1 >conftest.err
23315 cat conftest.err >&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); } && {
23318 test -z "$ac_c_werror_flag" ||
23319 test ! -s conftest.err
23320 } && test -s conftest.$ac_objext; then
23323 cat >conftest.$ac_ext <<_ACEOF
23326 cat confdefs.h >>conftest.$ac_ext
23327 cat >>conftest.$ac_ext <<_ACEOF
23328 /* end confdefs.h. */
23329 $ac_includes_default
23330 typedef long long ac__type_sizeof_;
23334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23341 rm -f conftest.$ac_objext
23342 if { (ac_try="$ac_compile"
23343 case "(($ac_try" in
23344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23345 *) ac_try_echo=$ac_try;;
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_compile") 2>conftest.er1
23350 grep -v '^ *+' conftest.er1 >conftest.err
23352 cat conftest.err >&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } && {
23355 test -z "$ac_c_werror_flag" ||
23356 test ! -s conftest.err
23357 } && test -s conftest.$ac_objext; then
23358 ac_hi=$ac_mid; break
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23363 ac_lo=`expr $ac_mid + 1`
23364 if test $ac_lo -le $ac_mid; then
23368 ac_mid=`expr 2 '*' $ac_mid + 1`
23371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23377 cat >conftest.$ac_ext <<_ACEOF
23380 cat confdefs.h >>conftest.$ac_ext
23381 cat >>conftest.$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23383 $ac_includes_default
23384 typedef long long ac__type_sizeof_;
23388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23395 rm -f conftest.$ac_objext
23396 if { (ac_try="$ac_compile"
23397 case "(($ac_try" in
23398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23399 *) ac_try_echo=$ac_try;;
23401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23402 (eval "$ac_compile") 2>conftest.er1
23404 grep -v '^ *+' conftest.er1 >conftest.err
23406 cat conftest.err >&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } && {
23409 test -z "$ac_c_werror_flag" ||
23410 test ! -s conftest.err
23411 } && test -s conftest.$ac_objext; then
23414 cat >conftest.$ac_ext <<_ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420 $ac_includes_default
23421 typedef long long ac__type_sizeof_;
23425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23432 rm -f conftest.$ac_objext
23433 if { (ac_try="$ac_compile"
23434 case "(($ac_try" in
23435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23436 *) ac_try_echo=$ac_try;;
23438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23439 (eval "$ac_compile") 2>conftest.er1
23441 grep -v '^ *+' conftest.er1 >conftest.err
23443 cat conftest.err >&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } && {
23446 test -z "$ac_c_werror_flag" ||
23447 test ! -s conftest.err
23448 } && test -s conftest.$ac_objext; then
23449 ac_lo=$ac_mid; break
23451 echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.$ac_ext >&5
23454 ac_hi=`expr '(' $ac_mid ')' - 1`
23455 if test $ac_mid -le $ac_hi; then
23459 ac_mid=`expr 2 '*' $ac_mid`
23462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23465 echo "$as_me: failed program was:" >&5
23466 sed 's/^/| /' conftest.$ac_ext >&5
23471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23475 # Binary search between lo and hi bounds.
23476 while test "x$ac_lo" != "x$ac_hi"; do
23477 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23478 cat >conftest.$ac_ext <<_ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 $ac_includes_default
23485 typedef long long ac__type_sizeof_;
23489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23496 rm -f conftest.$ac_objext
23497 if { (ac_try="$ac_compile"
23498 case "(($ac_try" in
23499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23500 *) ac_try_echo=$ac_try;;
23502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23503 (eval "$ac_compile") 2>conftest.er1
23505 grep -v '^ *+' conftest.er1 >conftest.err
23507 cat conftest.err >&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); } && {
23510 test -z "$ac_c_werror_flag" ||
23511 test ! -s conftest.err
23512 } && test -s conftest.$ac_objext; then
23515 echo "$as_me: failed program was:" >&5
23516 sed 's/^/| /' conftest.$ac_ext >&5
23518 ac_lo=`expr '(' $ac_mid ')' + 1`
23521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23524 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23525 '') if test "$ac_cv_type_long_long" = yes; then
23526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23527 See \`config.log' for more details." >&5
23528 echo "$as_me: error: cannot compute sizeof (long long)
23529 See \`config.log' for more details." >&2;}
23530 { (exit 77); exit 77; }; }
23532 ac_cv_sizeof_long_long=0
23536 cat >conftest.$ac_ext <<_ACEOF
23539 cat confdefs.h >>conftest.$ac_ext
23540 cat >>conftest.$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23542 $ac_includes_default
23543 typedef long long ac__type_sizeof_;
23544 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23545 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23547 #include <stdlib.h>
23552 FILE *f = fopen ("conftest.val", "w");
23555 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23557 long int i = longval ();
23558 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23560 fprintf (f, "%ld\n", i);
23564 unsigned long int i = ulongval ();
23565 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23567 fprintf (f, "%lu\n", i);
23569 return ferror (f) || fclose (f) != 0;
23575 rm -f conftest$ac_exeext
23576 if { (ac_try="$ac_link"
23577 case "(($ac_try" in
23578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23579 *) ac_try_echo=$ac_try;;
23581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23582 (eval "$ac_link") 2>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23586 { (case "(($ac_try" in
23587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23588 *) ac_try_echo=$ac_try;;
23590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23591 (eval "$ac_try") 2>&5
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; }; then
23595 ac_cv_sizeof_long_long=`cat conftest.val`
23597 echo "$as_me: program exited with status $ac_status" >&5
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23601 ( exit $ac_status )
23602 if test "$ac_cv_type_long_long" = yes; then
23603 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23604 See \`config.log' for more details." >&5
23605 echo "$as_me: error: cannot compute sizeof (long long)
23606 See \`config.log' for more details." >&2;}
23607 { (exit 77); exit 77; }; }
23609 ac_cv_sizeof_long_long=0
23612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23616 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23617 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23621 cat >>confdefs.h <<_ACEOF
23622 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23628 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23629 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23630 if test "${ac_cv_type_wchar_t+set}" = set; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6
23633 cat >conftest.$ac_ext <<_ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23640 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23641 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23642 # error "fake wchar_t"
23644 #ifdef HAVE_WCHAR_H
23646 # include <stddef.h>
23648 # include <wchar.h>
23650 #ifdef HAVE_STDLIB_H
23651 # include <stdlib.h>
23657 typedef wchar_t ac__type_new_;
23661 if ((ac__type_new_ *) 0)
23663 if (sizeof (ac__type_new_))
23669 rm -f conftest.$ac_objext
23670 if { (ac_try="$ac_compile"
23671 case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_compile") 2>conftest.er1
23678 grep -v '^ *+' conftest.er1 >conftest.err
23680 cat conftest.err >&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); } && {
23683 test -z "$ac_c_werror_flag" ||
23684 test ! -s conftest.err
23685 } && test -s conftest.$ac_objext; then
23686 ac_cv_type_wchar_t=yes
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.$ac_ext >&5
23691 ac_cv_type_wchar_t=no
23694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23696 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23697 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23699 # The cast to long int works around a bug in the HP C Compiler
23700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23702 # This bug is HP SR number 8606223364.
23703 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23704 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23705 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23708 if test "$cross_compiling" = yes; then
23709 # Depending upon the size, compute the lo and hi bounds.
23710 cat >conftest.$ac_ext <<_ACEOF
23713 cat confdefs.h >>conftest.$ac_ext
23714 cat >>conftest.$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23717 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23718 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23719 # error "fake wchar_t"
23721 #ifdef HAVE_WCHAR_H
23723 # include <stddef.h>
23725 # include <wchar.h>
23727 #ifdef HAVE_STDLIB_H
23728 # include <stdlib.h>
23734 typedef wchar_t ac__type_sizeof_;
23738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23745 rm -f conftest.$ac_objext
23746 if { (ac_try="$ac_compile"
23747 case "(($ac_try" in
23748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23749 *) ac_try_echo=$ac_try;;
23751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23752 (eval "$ac_compile") 2>conftest.er1
23754 grep -v '^ *+' conftest.er1 >conftest.err
23756 cat conftest.err >&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); } && {
23759 test -z "$ac_c_werror_flag" ||
23760 test ! -s conftest.err
23761 } && test -s conftest.$ac_objext; then
23764 cat >conftest.$ac_ext <<_ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23771 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23772 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23773 # error "fake wchar_t"
23775 #ifdef HAVE_WCHAR_H
23777 # include <stddef.h>
23779 # include <wchar.h>
23781 #ifdef HAVE_STDLIB_H
23782 # include <stdlib.h>
23788 typedef wchar_t ac__type_sizeof_;
23792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23799 rm -f conftest.$ac_objext
23800 if { (ac_try="$ac_compile"
23801 case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_compile") 2>conftest.er1
23808 grep -v '^ *+' conftest.er1 >conftest.err
23810 cat conftest.err >&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && {
23813 test -z "$ac_c_werror_flag" ||
23814 test ! -s conftest.err
23815 } && test -s conftest.$ac_objext; then
23816 ac_hi=$ac_mid; break
23818 echo "$as_me: failed program was:" >&5
23819 sed 's/^/| /' conftest.$ac_ext >&5
23821 ac_lo=`expr $ac_mid + 1`
23822 if test $ac_lo -le $ac_mid; then
23826 ac_mid=`expr 2 '*' $ac_mid + 1`
23829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23832 echo "$as_me: failed program was:" >&5
23833 sed 's/^/| /' conftest.$ac_ext >&5
23835 cat >conftest.$ac_ext <<_ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23842 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23843 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23844 # error "fake wchar_t"
23846 #ifdef HAVE_WCHAR_H
23848 # include <stddef.h>
23850 # include <wchar.h>
23852 #ifdef HAVE_STDLIB_H
23853 # include <stdlib.h>
23859 typedef wchar_t ac__type_sizeof_;
23863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23870 rm -f conftest.$ac_objext
23871 if { (ac_try="$ac_compile"
23872 case "(($ac_try" in
23873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23874 *) ac_try_echo=$ac_try;;
23876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23877 (eval "$ac_compile") 2>conftest.er1
23879 grep -v '^ *+' conftest.er1 >conftest.err
23881 cat conftest.err >&5
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); } && {
23884 test -z "$ac_c_werror_flag" ||
23885 test ! -s conftest.err
23886 } && test -s conftest.$ac_objext; then
23889 cat >conftest.$ac_ext <<_ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23896 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23897 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23898 # error "fake wchar_t"
23900 #ifdef HAVE_WCHAR_H
23902 # include <stddef.h>
23904 # include <wchar.h>
23906 #ifdef HAVE_STDLIB_H
23907 # include <stdlib.h>
23913 typedef wchar_t ac__type_sizeof_;
23917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23924 rm -f conftest.$ac_objext
23925 if { (ac_try="$ac_compile"
23926 case "(($ac_try" in
23927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23928 *) ac_try_echo=$ac_try;;
23930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23931 (eval "$ac_compile") 2>conftest.er1
23933 grep -v '^ *+' conftest.er1 >conftest.err
23935 cat conftest.err >&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); } && {
23938 test -z "$ac_c_werror_flag" ||
23939 test ! -s conftest.err
23940 } && test -s conftest.$ac_objext; then
23941 ac_lo=$ac_mid; break
23943 echo "$as_me: failed program was:" >&5
23944 sed 's/^/| /' conftest.$ac_ext >&5
23946 ac_hi=`expr '(' $ac_mid ')' - 1`
23947 if test $ac_mid -le $ac_hi; then
23951 ac_mid=`expr 2 '*' $ac_mid`
23954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23957 echo "$as_me: failed program was:" >&5
23958 sed 's/^/| /' conftest.$ac_ext >&5
23963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 # Binary search between lo and hi bounds.
23968 while test "x$ac_lo" != "x$ac_hi"; do
23969 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23970 cat >conftest.$ac_ext <<_ACEOF
23973 cat confdefs.h >>conftest.$ac_ext
23974 cat >>conftest.$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23977 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23978 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23979 # error "fake wchar_t"
23981 #ifdef HAVE_WCHAR_H
23983 # include <stddef.h>
23985 # include <wchar.h>
23987 #ifdef HAVE_STDLIB_H
23988 # include <stdlib.h>
23994 typedef wchar_t ac__type_sizeof_;
23998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24005 rm -f conftest.$ac_objext
24006 if { (ac_try="$ac_compile"
24007 case "(($ac_try" in
24008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 *) ac_try_echo=$ac_try;;
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_compile") 2>conftest.er1
24014 grep -v '^ *+' conftest.er1 >conftest.err
24016 cat conftest.err >&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } && {
24019 test -z "$ac_c_werror_flag" ||
24020 test ! -s conftest.err
24021 } && test -s conftest.$ac_objext; then
24024 echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.$ac_ext >&5
24027 ac_lo=`expr '(' $ac_mid ')' + 1`
24030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24034 '') if test "$ac_cv_type_wchar_t" = yes; then
24035 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24036 See \`config.log' for more details." >&5
24037 echo "$as_me: error: cannot compute sizeof (wchar_t)
24038 See \`config.log' for more details." >&2;}
24039 { (exit 77); exit 77; }; }
24041 ac_cv_sizeof_wchar_t=0
24045 cat >conftest.$ac_ext <<_ACEOF
24048 cat confdefs.h >>conftest.$ac_ext
24049 cat >>conftest.$ac_ext <<_ACEOF
24050 /* end confdefs.h. */
24052 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24053 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24054 # error "fake wchar_t"
24056 #ifdef HAVE_WCHAR_H
24058 # include <stddef.h>
24060 # include <wchar.h>
24062 #ifdef HAVE_STDLIB_H
24063 # include <stdlib.h>
24069 typedef wchar_t ac__type_sizeof_;
24070 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24071 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24073 #include <stdlib.h>
24078 FILE *f = fopen ("conftest.val", "w");
24081 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24083 long int i = longval ();
24084 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24086 fprintf (f, "%ld\n", i);
24090 unsigned long int i = ulongval ();
24091 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24093 fprintf (f, "%lu\n", i);
24095 return ferror (f) || fclose (f) != 0;
24101 rm -f conftest$ac_exeext
24102 if { (ac_try="$ac_link"
24103 case "(($ac_try" in
24104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24105 *) ac_try_echo=$ac_try;;
24107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24108 (eval "$ac_link") 2>&5
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24112 { (case "(($ac_try" in
24113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24114 *) ac_try_echo=$ac_try;;
24116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24117 (eval "$ac_try") 2>&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; }; then
24121 ac_cv_sizeof_wchar_t=`cat conftest.val`
24123 echo "$as_me: program exited with status $ac_status" >&5
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24127 ( exit $ac_status )
24128 if test "$ac_cv_type_wchar_t" = yes; then
24129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24130 See \`config.log' for more details." >&5
24131 echo "$as_me: error: cannot compute sizeof (wchar_t)
24132 See \`config.log' for more details." >&2;}
24133 { (exit 77); exit 77; }; }
24135 ac_cv_sizeof_wchar_t=0
24138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24142 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24143 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24147 cat >>confdefs.h <<_ACEOF
24148 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24152 if test "$ac_cv_sizeof_wchar_t" = 0; then
24153 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24154 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24155 { (exit 1); exit 1; }; }
24157 cat >>confdefs.h <<\_ACEOF
24158 #define wxUSE_WCHAR_T 1
24162 { echo "$as_me:$LINENO: checking for va_copy" >&5
24163 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24164 if test "${wx_cv_func_va_copy+set}" = set; then
24165 echo $ECHO_N "(cached) $ECHO_C" >&6
24169 ac_cpp='$CXXCPP $CPPFLAGS'
24170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24174 cat >conftest.$ac_ext <<_ACEOF
24176 #include <stdarg.h>
24177 void foo(char *f, ...)
24191 rm -f conftest.$ac_objext conftest$ac_exeext
24192 if { (ac_try="$ac_link"
24193 case "(($ac_try" in
24194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24195 *) ac_try_echo=$ac_try;;
24197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24198 (eval "$ac_link") 2>conftest.er1
24200 grep -v '^ *+' conftest.er1 >conftest.err
24202 cat conftest.err >&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } && {
24205 test -z "$ac_cxx_werror_flag" ||
24206 test ! -s conftest.err
24207 } && test -s conftest$ac_exeext &&
24208 $as_test_x conftest$ac_exeext; then
24209 wx_cv_func_va_copy=yes
24211 echo "$as_me: failed program was:" >&5
24212 sed 's/^/| /' conftest.$ac_ext >&5
24214 wx_cv_func_va_copy=no
24218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24219 conftest$ac_exeext conftest.$ac_ext
24221 ac_cpp='$CPP $CPPFLAGS'
24222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24229 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24230 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24232 if test $wx_cv_func_va_copy = "yes"; then
24233 cat >>confdefs.h <<\_ACEOF
24234 #define HAVE_VA_COPY 1
24238 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24239 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24240 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24241 echo $ECHO_N "(cached) $ECHO_C" >&6
24244 if test "$cross_compiling" = yes; then
24245 wx_cv_type_va_list_lvalue=yes
24248 cat >conftest.$ac_ext <<_ACEOF
24250 #include <stdarg.h>
24251 int foo(char *f, ...)
24256 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24264 return foo("hi", 17);
24267 rm -f conftest$ac_exeext
24268 if { (ac_try="$ac_link"
24269 case "(($ac_try" in
24270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24271 *) ac_try_echo=$ac_try;;
24273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24274 (eval "$ac_link") 2>&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24278 { (case "(($ac_try" in
24279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24280 *) ac_try_echo=$ac_try;;
24282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24283 (eval "$ac_try") 2>&5
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; }; then
24287 wx_cv_type_va_list_lvalue=yes
24289 echo "$as_me: program exited with status $ac_status" >&5
24290 echo "$as_me: failed program was:" >&5
24291 sed 's/^/| /' conftest.$ac_ext >&5
24293 ( exit $ac_status )
24294 wx_cv_type_va_list_lvalue=no
24296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24303 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24304 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24306 if test $wx_cv_type_va_list_lvalue != "yes"; then
24307 cat >>confdefs.h <<\_ACEOF
24308 #define VA_LIST_IS_ARRAY 1
24314 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24316 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24317 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24318 if test "${wx_cv_have_variadic_macros+set}" = set; then
24319 echo $ECHO_N "(cached) $ECHO_C" >&6
24323 ac_cpp='$CXXCPP $CPPFLAGS'
24324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24328 cat >conftest.$ac_ext <<_ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24336 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24342 test("%s %d %p", "test", 1, 0);
24349 rm -f conftest.$ac_objext
24350 if { (ac_try="$ac_compile"
24351 case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24353 *) ac_try_echo=$ac_try;;
24355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24356 (eval "$ac_compile") 2>conftest.er1
24358 grep -v '^ *+' conftest.er1 >conftest.err
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } && {
24363 test -z "$ac_cxx_werror_flag" ||
24364 test ! -s conftest.err
24365 } && test -s conftest.$ac_objext; then
24366 wx_cv_have_variadic_macros=yes
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24371 wx_cv_have_variadic_macros=no
24375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24377 ac_cpp='$CPP $CPPFLAGS'
24378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24385 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24386 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24388 if test $wx_cv_have_variadic_macros = "yes"; then
24389 cat >>confdefs.h <<\_ACEOF
24390 #define HAVE_VARIADIC_MACROS 1
24397 LARGEFILE_CPPFLAGS=
24398 # Check whether --enable-largefile was given.
24399 if test "${enable_largefile+set}" = set; then
24400 enableval=$enable_largefile;
24403 if test "$enable_largefile" != no; then
24406 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24407 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24408 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 cat >conftest.$ac_ext <<_ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24418 #define _FILE_OFFSET_BITS 64
24419 #include <sys/types.h>
24424 unsigned int field: sizeof(off_t) == 8;
24431 rm -f conftest.$ac_objext
24432 if { (ac_try="$ac_compile"
24433 case "(($ac_try" in
24434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24435 *) ac_try_echo=$ac_try;;
24437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24438 (eval "$ac_compile") 2>conftest.er1
24440 grep -v '^ *+' conftest.er1 >conftest.err
24442 cat conftest.err >&5
24443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24444 (exit $ac_status); } && {
24445 test -z "$ac_c_werror_flag" ||
24446 test ! -s conftest.err
24447 } && test -s conftest.$ac_objext; then
24448 ac_cv_sys_file_offset_bits=64
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24453 ac_cv_sys_file_offset_bits=no
24456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24460 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24461 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24463 if test "$ac_cv_sys_file_offset_bits" != no; then
24465 cat >>confdefs.h <<_ACEOF
24466 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24471 if test "x$wx_largefile" != "xyes"; then
24473 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24474 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24475 if test "${ac_cv_sys_large_files+set}" = set; then
24476 echo $ECHO_N "(cached) $ECHO_C" >&6
24479 cat >conftest.$ac_ext <<_ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485 #define _LARGE_FILES 1
24486 #include <sys/types.h>
24491 unsigned int field: sizeof(off_t) == 8;
24498 rm -f conftest.$ac_objext
24499 if { (ac_try="$ac_compile"
24500 case "(($ac_try" in
24501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24502 *) ac_try_echo=$ac_try;;
24504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24505 (eval "$ac_compile") 2>conftest.er1
24507 grep -v '^ *+' conftest.er1 >conftest.err
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); } && {
24512 test -z "$ac_c_werror_flag" ||
24513 test ! -s conftest.err
24514 } && test -s conftest.$ac_objext; then
24515 ac_cv_sys_large_files=1
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24520 ac_cv_sys_large_files=no
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24527 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24528 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24530 if test "$ac_cv_sys_large_files" != no; then
24532 cat >>confdefs.h <<_ACEOF
24533 #define _LARGE_FILES $ac_cv_sys_large_files
24540 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24541 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24542 if test "x$wx_largefile" = "xyes"; then
24543 cat >>confdefs.h <<\_ACEOF
24544 #define HAVE_LARGEFILE_SUPPORT 1
24548 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24549 echo "${ECHO_T}$wx_largefile" >&6; }
24552 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24553 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24554 elif test "$ac_cv_sys_large_files" = 1; then
24555 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24558 if test -n "$LARGEFILE_CPPFLAGS"; then
24559 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24561 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24562 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24563 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24564 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24569 ac_cpp='$CXXCPP $CPPFLAGS'
24570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24574 cat >conftest.$ac_ext <<_ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24585 #ifndef __STDC_EXT__
24593 rm -f conftest.$ac_objext
24594 if { (ac_try="$ac_compile"
24595 case "(($ac_try" in
24596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24597 *) ac_try_echo=$ac_try;;
24599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24600 (eval "$ac_compile") 2>conftest.er1
24602 grep -v '^ *+' conftest.er1 >conftest.err
24604 cat conftest.err >&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } && {
24607 test -z "$ac_cxx_werror_flag" ||
24608 test ! -s conftest.err
24609 } && test -s conftest.$ac_objext; then
24610 wx_cv_STDC_EXT_required=no
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24615 wx_cv_STDC_EXT_required=yes
24619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24621 ac_cpp='$CPP $CPPFLAGS'
24622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24629 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24630 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24631 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24632 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24638 ac_cpp='$CXXCPP $CPPFLAGS'
24639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24643 old_CPPFLAGS="$CPPFLAGS"
24644 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24645 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24646 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24647 if test "${ac_cv_sys_largefile_source+set}" = set; then
24648 echo $ECHO_N "(cached) $ECHO_C" >&6
24651 cat >conftest.$ac_ext <<_ACEOF
24654 cat confdefs.h >>conftest.$ac_ext
24655 cat >>conftest.$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24657 #include <sys/types.h> /* for off_t */
24662 int (*fp) (FILE *, off_t, int) = fseeko;
24663 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24668 rm -f conftest.$ac_objext conftest$ac_exeext
24669 if { (ac_try="$ac_link"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_link") 2>conftest.er1
24677 grep -v '^ *+' conftest.er1 >conftest.err
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_cxx_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest$ac_exeext &&
24685 $as_test_x conftest$ac_exeext; then
24686 ac_cv_sys_largefile_source=no; break
24688 echo "$as_me: failed program was:" >&5
24689 sed 's/^/| /' conftest.$ac_ext >&5
24694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24695 conftest$ac_exeext conftest.$ac_ext
24696 cat >conftest.$ac_ext <<_ACEOF
24699 cat confdefs.h >>conftest.$ac_ext
24700 cat >>conftest.$ac_ext <<_ACEOF
24701 /* end confdefs.h. */
24702 #define _LARGEFILE_SOURCE 1
24703 #include <sys/types.h> /* for off_t */
24708 int (*fp) (FILE *, off_t, int) = fseeko;
24709 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24714 rm -f conftest.$ac_objext conftest$ac_exeext
24715 if { (ac_try="$ac_link"
24716 case "(($ac_try" in
24717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24718 *) ac_try_echo=$ac_try;;
24720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24721 (eval "$ac_link") 2>conftest.er1
24723 grep -v '^ *+' conftest.er1 >conftest.err
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } && {
24728 test -z "$ac_cxx_werror_flag" ||
24729 test ! -s conftest.err
24730 } && test -s conftest$ac_exeext &&
24731 $as_test_x conftest$ac_exeext; then
24732 ac_cv_sys_largefile_source=1; break
24734 echo "$as_me: failed program was:" >&5
24735 sed 's/^/| /' conftest.$ac_ext >&5
24740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24741 conftest$ac_exeext conftest.$ac_ext
24742 ac_cv_sys_largefile_source=unknown
24746 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24747 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24748 case $ac_cv_sys_largefile_source in #(
24751 cat >>confdefs.h <<_ACEOF
24752 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24758 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24759 # in glibc 2.1.3, but that breaks too many other things.
24760 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24761 if test $ac_cv_sys_largefile_source != unknown; then
24763 cat >>confdefs.h <<\_ACEOF
24764 #define HAVE_FSEEKO 1
24769 CPPFLAGS="$old_CPPFLAGS"
24771 ac_cpp='$CPP $CPPFLAGS'
24772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24776 if test "$ac_cv_sys_largefile_source" != no; then
24777 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24780 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24781 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24782 if test "${ac_cv_c_bigendian+set}" = set; then
24783 echo $ECHO_N "(cached) $ECHO_C" >&6
24785 ac_cv_c_bigendian=unknown
24786 # See if sys/param.h defines the BYTE_ORDER macro.
24787 cat >conftest.$ac_ext <<_ACEOF
24790 cat confdefs.h >>conftest.$ac_ext
24791 cat >>conftest.$ac_ext <<_ACEOF
24792 /* end confdefs.h. */
24793 #include <sys/types.h>
24794 #include <sys/param.h>
24799 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24800 bogus endian macros
24806 rm -f conftest.$ac_objext
24807 if { (ac_try="$ac_compile"
24808 case "(($ac_try" in
24809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24810 *) ac_try_echo=$ac_try;;
24812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24813 (eval "$ac_compile") 2>conftest.er1
24815 grep -v '^ *+' conftest.er1 >conftest.err
24817 cat conftest.err >&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); } && {
24820 test -z "$ac_c_werror_flag" ||
24821 test ! -s conftest.err
24822 } && test -s conftest.$ac_objext; then
24823 # It does; now see whether it defined to BIG_ENDIAN or not.
24824 cat >conftest.$ac_ext <<_ACEOF
24827 cat confdefs.h >>conftest.$ac_ext
24828 cat >>conftest.$ac_ext <<_ACEOF
24829 /* end confdefs.h. */
24830 #include <sys/types.h>
24831 #include <sys/param.h>
24836 #if BYTE_ORDER != BIG_ENDIAN
24843 rm -f conftest.$ac_objext
24844 if { (ac_try="$ac_compile"
24845 case "(($ac_try" in
24846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24847 *) ac_try_echo=$ac_try;;
24849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24850 (eval "$ac_compile") 2>conftest.er1
24852 grep -v '^ *+' conftest.er1 >conftest.err
24854 cat conftest.err >&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); } && {
24857 test -z "$ac_c_werror_flag" ||
24858 test ! -s conftest.err
24859 } && test -s conftest.$ac_objext; then
24860 ac_cv_c_bigendian=yes
24862 echo "$as_me: failed program was:" >&5
24863 sed 's/^/| /' conftest.$ac_ext >&5
24865 ac_cv_c_bigendian=no
24868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24870 echo "$as_me: failed program was:" >&5
24871 sed 's/^/| /' conftest.$ac_ext >&5
24876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 if test $ac_cv_c_bigendian = unknown; then
24878 if test "$cross_compiling" = yes; then
24879 ac_cv_c_bigendian=unknown
24881 cat >conftest.$ac_ext <<_ACEOF
24884 cat confdefs.h >>conftest.$ac_ext
24885 cat >>conftest.$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24888 /* Are we little or big endian? From Harbison&Steele. */
24892 char c[sizeof (long)];
24895 exit (u.c[sizeof (long) - 1] == 1);
24898 rm -f conftest$ac_exeext
24899 if { (ac_try="$ac_link"
24900 case "(($ac_try" in
24901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24902 *) ac_try_echo=$ac_try;;
24904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24905 (eval "$ac_link") 2>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24909 { (case "(($ac_try" in
24910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24911 *) ac_try_echo=$ac_try;;
24913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24914 (eval "$ac_try") 2>&5
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); }; }; then
24918 ac_cv_c_bigendian=no
24920 echo "$as_me: program exited with status $ac_status" >&5
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24924 ( exit $ac_status )
24925 ac_cv_c_bigendian=yes
24927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24933 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24934 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24935 if test $ac_cv_c_bigendian = unknown; then
24936 { 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
24937 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;}
24939 if test $ac_cv_c_bigendian = yes; then
24940 cat >>confdefs.h <<\_ACEOF
24941 #define WORDS_BIGENDIAN 1
24950 ac_cpp='$CXXCPP $CPPFLAGS'
24951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24957 for ac_header in iostream
24959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24960 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24965 cat >conftest.$ac_ext <<_ACEOF
24968 cat confdefs.h >>conftest.$ac_ext
24969 cat >>conftest.$ac_ext <<_ACEOF
24970 /* end confdefs.h. */
24973 #include <$ac_header>
24975 rm -f conftest.$ac_objext
24976 if { (ac_try="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24984 grep -v '^ *+' conftest.er1 >conftest.err
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } && {
24989 test -z "$ac_cxx_werror_flag" ||
24990 test ! -s conftest.err
24991 } && test -s conftest.$ac_objext; then
24992 eval "$as_ac_Header=yes"
24994 echo "$as_me: failed program was:" >&5
24995 sed 's/^/| /' conftest.$ac_ext >&5
24997 eval "$as_ac_Header=no"
25000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25002 ac_res=`eval echo '${'$as_ac_Header'}'`
25003 { echo "$as_me:$LINENO: result: $ac_res" >&5
25004 echo "${ECHO_T}$ac_res" >&6; }
25005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25006 cat >>confdefs.h <<_ACEOF
25007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25015 if test "$ac_cv_header_iostream" = "yes" ; then
25018 cat >>confdefs.h <<\_ACEOF
25019 #define wxUSE_IOSTREAMH 1
25025 ac_cpp='$CPP $CPPFLAGS'
25026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25033 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25034 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25035 if test "${wx_cv_explicit+set}" = set; then
25036 echo $ECHO_N "(cached) $ECHO_C" >&6
25041 ac_cpp='$CXXCPP $CPPFLAGS'
25042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25047 cat >conftest.$ac_ext <<_ACEOF
25050 cat confdefs.h >>conftest.$ac_ext
25051 cat >>conftest.$ac_ext <<_ACEOF
25052 /* end confdefs.h. */
25054 class Foo { public: explicit Foo(int) {} };
25066 rm -f conftest.$ac_objext
25067 if { (ac_try="$ac_compile"
25068 case "(($ac_try" in
25069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25070 *) ac_try_echo=$ac_try;;
25072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25073 (eval "$ac_compile") 2>conftest.er1
25075 grep -v '^ *+' conftest.er1 >conftest.err
25077 cat conftest.err >&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); } && {
25080 test -z "$ac_cxx_werror_flag" ||
25081 test ! -s conftest.err
25082 } && test -s conftest.$ac_objext; then
25084 cat >conftest.$ac_ext <<_ACEOF
25087 cat confdefs.h >>conftest.$ac_ext
25088 cat >>conftest.$ac_ext <<_ACEOF
25089 /* end confdefs.h. */
25091 class Foo { public: explicit Foo(int) {} };
25092 static void TakeFoo(const Foo& foo) { }
25105 rm -f conftest.$ac_objext
25106 if { (ac_try="$ac_compile"
25107 case "(($ac_try" in
25108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25109 *) ac_try_echo=$ac_try;;
25111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25112 (eval "$ac_compile") 2>conftest.er1
25114 grep -v '^ *+' conftest.er1 >conftest.err
25116 cat conftest.err >&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } && {
25119 test -z "$ac_cxx_werror_flag" ||
25120 test ! -s conftest.err
25121 } && test -s conftest.$ac_objext; then
25124 echo "$as_me: failed program was:" >&5
25125 sed 's/^/| /' conftest.$ac_ext >&5
25131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25134 echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.$ac_ext >&5
25141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25144 ac_cpp='$CPP $CPPFLAGS'
25145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25151 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25152 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25154 if test "$wx_cv_explicit" = "yes"; then
25155 cat >>confdefs.h <<\_ACEOF
25156 #define HAVE_EXPLICIT 1
25162 if test "x$SUNCXX" = xyes; then
25163 CXXFLAGS="-features=tmplife $CXXFLAGS"
25166 if test "x$SUNCC" = xyes; then
25167 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25170 if test "x$SGICC" = "xyes"; then
25171 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25172 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25173 if test "${wx_cv_prog_sgicc744+set}" = set; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 cat >conftest.$ac_ext <<_ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25188 #if _SGI_COMPILER_VERSION >= 744
25189 chock me: mipsPro is 7.4.4 or later
25196 rm -f conftest.$ac_objext
25197 if { (ac_try="$ac_compile"
25198 case "(($ac_try" in
25199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25200 *) ac_try_echo=$ac_try;;
25202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25203 (eval "$ac_compile") 2>conftest.er1
25205 grep -v '^ *+' conftest.er1 >conftest.err
25207 cat conftest.err >&5
25208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25209 (exit $ac_status); } && {
25210 test -z "$ac_c_werror_flag" ||
25211 test ! -s conftest.err
25212 } && test -s conftest.$ac_objext; then
25213 wx_cv_prog_sgicc744=no
25215 echo "$as_me: failed program was:" >&5
25216 sed 's/^/| /' conftest.$ac_ext >&5
25218 wx_cv_prog_sgicc744=yes
25222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25226 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25227 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25229 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25230 CFLAGS="-woff 3970 $CFLAGS"
25233 if test "x$SGICXX" = "xyes"; then
25234 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25235 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25236 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25241 ac_cpp='$CXXCPP $CPPFLAGS'
25242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25246 cat >conftest.$ac_ext <<_ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h. */
25257 #if _SGI_COMPILER_VERSION >= 744
25258 chock me: mipsPro is 7.4.4 or later
25265 rm -f conftest.$ac_objext
25266 if { (ac_try="$ac_compile"
25267 case "(($ac_try" in
25268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25269 *) ac_try_echo=$ac_try;;
25271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25272 (eval "$ac_compile") 2>conftest.er1
25274 grep -v '^ *+' conftest.er1 >conftest.err
25276 cat conftest.err >&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } && {
25279 test -z "$ac_cxx_werror_flag" ||
25280 test ! -s conftest.err
25281 } && test -s conftest.$ac_objext; then
25282 wx_cv_prog_sgicxx744=no
25284 echo "$as_me: failed program was:" >&5
25285 sed 's/^/| /' conftest.$ac_ext >&5
25287 wx_cv_prog_sgicxx744=yes
25291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25293 ac_cpp='$CPP $CPPFLAGS'
25294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25301 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25302 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25304 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25305 CXXFLAGS="-woff 3970 $CXXFLAGS"
25309 if test "x$HPCC" = "xyes"; then
25310 CFLAGS="+W 2011,2450 $CFLAGS"
25312 if test "x$HPCXX" = "xyes"; then
25313 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25316 if test "x$COMPAQCXX" = "xyes"; then
25317 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25321 ac_cpp='$CXXCPP $CPPFLAGS'
25322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25327 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25328 if test "$wxUSE_UNICODE" = "yes"; then
25329 std_string="std::wstring"
25330 char_type="wchar_t"
25332 std_string="std::string"
25336 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25337 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25338 if test "${wx_cv_class_stdstring+set}" = set; then
25339 echo $ECHO_N "(cached) $ECHO_C" >&6
25342 cat >conftest.$ac_ext <<_ACEOF
25345 cat confdefs.h >>conftest.$ac_ext
25346 cat >>conftest.$ac_ext <<_ACEOF
25347 /* end confdefs.h. */
25357 rm -f conftest.$ac_objext
25358 if { (ac_try="$ac_compile"
25359 case "(($ac_try" in
25360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25361 *) ac_try_echo=$ac_try;;
25363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25364 (eval "$ac_compile") 2>conftest.er1
25366 grep -v '^ *+' conftest.er1 >conftest.err
25368 cat conftest.err >&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } && {
25371 test -z "$ac_cxx_werror_flag" ||
25372 test ! -s conftest.err
25373 } && test -s conftest.$ac_objext; then
25374 wx_cv_class_stdstring=yes
25376 echo "$as_me: failed program was:" >&5
25377 sed 's/^/| /' conftest.$ac_ext >&5
25379 wx_cv_class_stdstring=no
25383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25387 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25388 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25390 if test "$wx_cv_class_stdstring" = yes; then
25391 if test "$wxUSE_UNICODE" = "yes"; then
25392 cat >>confdefs.h <<\_ACEOF
25393 #define HAVE_STD_WSTRING 1
25398 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25399 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25400 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25404 cat >conftest.$ac_ext <<_ACEOF
25407 cat confdefs.h >>conftest.$ac_ext
25408 cat >>conftest.$ac_ext <<_ACEOF
25409 /* end confdefs.h. */
25411 #ifdef HAVE_WCHAR_H
25413 # include <stddef.h>
25415 # include <wchar.h>
25417 #ifdef HAVE_STDLIB_H
25418 # include <stdlib.h>
25426 std::basic_string<$char_type> foo;
25427 const $char_type* dummy = foo.c_str();
25432 rm -f conftest.$ac_objext
25433 if { (ac_try="$ac_compile"
25434 case "(($ac_try" in
25435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25436 *) ac_try_echo=$ac_try;;
25438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25439 (eval "$ac_compile") 2>conftest.er1
25441 grep -v '^ *+' conftest.er1 >conftest.err
25443 cat conftest.err >&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } && {
25446 test -z "$ac_cxx_werror_flag" ||
25447 test ! -s conftest.err
25448 } && test -s conftest.$ac_objext; then
25449 wx_cv_class_stdbasicstring=yes
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.$ac_ext >&5
25454 wx_cv_class_stdbasicstring=no
25458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25462 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25463 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25465 if test "$wx_cv_class_stdbasicstring" != yes; then
25466 if test "$wxUSE_STL" = "yes"; then
25467 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25468 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25469 { (exit 1); exit 1; }; }
25470 elif test "$wxUSE_STD_STRING" = "yes"; then
25471 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25472 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25473 { (exit 1); exit 1; }; }
25475 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25476 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25477 wxUSE_STD_STRING=no
25483 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25484 { echo "$as_me:$LINENO: checking for std::istream" >&5
25485 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25486 if test "${ac_cv_type_std__istream+set}" = set; then
25487 echo $ECHO_N "(cached) $ECHO_C" >&6
25489 cat >conftest.$ac_ext <<_ACEOF
25492 cat confdefs.h >>conftest.$ac_ext
25493 cat >>conftest.$ac_ext <<_ACEOF
25494 /* end confdefs.h. */
25495 #include <iostream>
25497 typedef std::istream ac__type_new_;
25501 if ((ac__type_new_ *) 0)
25503 if (sizeof (ac__type_new_))
25509 rm -f conftest.$ac_objext
25510 if { (ac_try="$ac_compile"
25511 case "(($ac_try" in
25512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25513 *) ac_try_echo=$ac_try;;
25515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25516 (eval "$ac_compile") 2>conftest.er1
25518 grep -v '^ *+' conftest.er1 >conftest.err
25520 cat conftest.err >&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } && {
25523 test -z "$ac_cxx_werror_flag" ||
25524 test ! -s conftest.err
25525 } && test -s conftest.$ac_objext; then
25526 ac_cv_type_std__istream=yes
25528 echo "$as_me: failed program was:" >&5
25529 sed 's/^/| /' conftest.$ac_ext >&5
25531 ac_cv_type_std__istream=no
25534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25536 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25537 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25538 if test $ac_cv_type_std__istream = yes; then
25540 cat >>confdefs.h <<_ACEOF
25541 #define HAVE_STD__ISTREAM 1
25546 wxUSE_STD_IOSTREAM=no
25548 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25549 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25550 if test "${ac_cv_type_std__ostream+set}" = set; then
25551 echo $ECHO_N "(cached) $ECHO_C" >&6
25553 cat >conftest.$ac_ext <<_ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25559 #include <iostream>
25561 typedef std::ostream ac__type_new_;
25565 if ((ac__type_new_ *) 0)
25567 if (sizeof (ac__type_new_))
25573 rm -f conftest.$ac_objext
25574 if { (ac_try="$ac_compile"
25575 case "(($ac_try" in
25576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25577 *) ac_try_echo=$ac_try;;
25579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25580 (eval "$ac_compile") 2>conftest.er1
25582 grep -v '^ *+' conftest.er1 >conftest.err
25584 cat conftest.err >&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); } && {
25587 test -z "$ac_cxx_werror_flag" ||
25588 test ! -s conftest.err
25589 } && test -s conftest.$ac_objext; then
25590 ac_cv_type_std__ostream=yes
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25595 ac_cv_type_std__ostream=no
25598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25600 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25601 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25602 if test $ac_cv_type_std__ostream = yes; then
25604 cat >>confdefs.h <<_ACEOF
25605 #define HAVE_STD__OSTREAM 1
25610 wxUSE_STD_IOSTREAM=no
25614 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25615 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25616 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25617 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25618 { (exit 1); exit 1; }; }
25620 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25621 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25626 if test "$wxUSE_STL" = "yes"; then
25627 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25628 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25629 if test "${wx_cv_lib_stl+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25632 cat >conftest.$ac_ext <<_ACEOF
25635 cat confdefs.h >>conftest.$ac_ext
25636 cat >>conftest.$ac_ext <<_ACEOF
25637 /* end confdefs.h. */
25639 #include <functional>
25640 #include <algorithm>
25646 std::vector<int> moo;
25647 std::list<int> foo;
25648 std::vector<int>::iterator it =
25649 std::find_if(moo.begin(), moo.end(),
25650 std::bind2nd(std::less<int>(), 3));
25655 rm -f conftest.$ac_objext
25656 if { (ac_try="$ac_compile"
25657 case "(($ac_try" in
25658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25659 *) ac_try_echo=$ac_try;;
25661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25662 (eval "$ac_compile") 2>conftest.er1
25664 grep -v '^ *+' conftest.er1 >conftest.err
25666 cat conftest.err >&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } && {
25669 test -z "$ac_cxx_werror_flag" ||
25670 test ! -s conftest.err
25671 } && test -s conftest.$ac_objext; then
25674 echo "$as_me: failed program was:" >&5
25675 sed 's/^/| /' conftest.$ac_ext >&5
25681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25684 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25685 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25687 if test "$wx_cv_lib_stl" != yes; then
25688 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25689 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25690 { (exit 1); exit 1; }; }
25693 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25694 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25695 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25696 echo $ECHO_N "(cached) $ECHO_C" >&6
25698 cat >conftest.$ac_ext <<_ACEOF
25701 cat confdefs.h >>conftest.$ac_ext
25702 cat >>conftest.$ac_ext <<_ACEOF
25703 /* end confdefs.h. */
25708 std::string foo, bar;
25710 foo.compare(1, 1, bar);
25711 foo.compare(1, 1, bar, 1, 1);
25713 foo.compare(1, 1, "");
25714 foo.compare(1, 1, "", 2);
25719 rm -f conftest.$ac_objext
25720 if { (ac_try="$ac_compile"
25721 case "(($ac_try" in
25722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25723 *) ac_try_echo=$ac_try;;
25725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25726 (eval "$ac_compile") 2>conftest.er1
25728 grep -v '^ *+' conftest.er1 >conftest.err
25730 cat conftest.err >&5
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); } && {
25733 test -z "$ac_cxx_werror_flag" ||
25734 test ! -s conftest.err
25735 } && test -s conftest.$ac_objext; then
25736 wx_cv_func_stdstring_compare=yes
25738 echo "$as_me: failed program was:" >&5
25739 sed 's/^/| /' conftest.$ac_ext >&5
25741 wx_cv_func_stdstring_compare=no
25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25748 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25749 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25751 if test "$wx_cv_func_stdstring_compare" = yes; then
25752 cat >>confdefs.h <<\_ACEOF
25753 #define HAVE_STD_STRING_COMPARE 1
25758 if test "$wx_cv_class_gnuhashmapset" = yes; then
25759 cat >>confdefs.h <<\_ACEOF
25760 #define HAVE_EXT_HASH_MAP 1
25763 cat >>confdefs.h <<\_ACEOF
25764 #define HAVE_GNU_CXX_HASH_MAP 1
25769 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25770 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25771 if test "${ac_cv_header_unordered_map+set}" = set; then
25772 echo $ECHO_N "(cached) $ECHO_C" >&6
25774 cat >conftest.$ac_ext <<_ACEOF
25777 cat confdefs.h >>conftest.$ac_ext
25778 cat >>conftest.$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25783 #include <unordered_map>
25785 rm -f conftest.$ac_objext
25786 if { (ac_try="$ac_compile"
25787 case "(($ac_try" in
25788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25789 *) ac_try_echo=$ac_try;;
25791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25792 (eval "$ac_compile") 2>conftest.er1
25794 grep -v '^ *+' conftest.er1 >conftest.err
25796 cat conftest.err >&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); } && {
25799 test -z "$ac_cxx_werror_flag" ||
25800 test ! -s conftest.err
25801 } && test -s conftest.$ac_objext; then
25802 ac_cv_header_unordered_map=yes
25804 echo "$as_me: failed program was:" >&5
25805 sed 's/^/| /' conftest.$ac_ext >&5
25807 ac_cv_header_unordered_map=no
25810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25812 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25813 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25814 if test $ac_cv_header_unordered_map = yes; then
25815 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25816 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25817 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25818 echo $ECHO_N "(cached) $ECHO_C" >&6
25820 cat >conftest.$ac_ext <<_ACEOF
25823 cat confdefs.h >>conftest.$ac_ext
25824 cat >>conftest.$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826 #include <unordered_map>
25827 #include <unordered_set>
25831 std::unordered_map<double*, char*> test1;
25832 std::unordered_set<char*> test2;
25837 rm -f conftest.$ac_objext
25838 if { (ac_try="$ac_compile"
25839 case "(($ac_try" in
25840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25841 *) ac_try_echo=$ac_try;;
25843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25844 (eval "$ac_compile") 2>conftest.er1
25846 grep -v '^ *+' conftest.er1 >conftest.err
25848 cat conftest.err >&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); } && {
25851 test -z "$ac_cxx_werror_flag" ||
25852 test ! -s conftest.err
25853 } && test -s conftest.$ac_objext; then
25854 wx_cv_class_stdunorderedmapset=yes
25856 echo "$as_me: failed program was:" >&5
25857 sed 's/^/| /' conftest.$ac_ext >&5
25859 wx_cv_class_stdunorderedmapset=no
25862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25866 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25867 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25872 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25873 cat >>confdefs.h <<\_ACEOF
25874 #define HAVE_STD_UNORDERED_MAP 1
25877 cat >>confdefs.h <<\_ACEOF
25878 #define HAVE_STD_UNORDERED_SET 1
25882 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25883 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25884 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25885 echo $ECHO_N "(cached) $ECHO_C" >&6
25887 cat >conftest.$ac_ext <<_ACEOF
25890 cat confdefs.h >>conftest.$ac_ext
25891 cat >>conftest.$ac_ext <<_ACEOF
25892 /* end confdefs.h. */
25896 #include <tr1/unordered_map>
25898 rm -f conftest.$ac_objext
25899 if { (ac_try="$ac_compile"
25900 case "(($ac_try" in
25901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25902 *) ac_try_echo=$ac_try;;
25904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25905 (eval "$ac_compile") 2>conftest.er1
25907 grep -v '^ *+' conftest.er1 >conftest.err
25909 cat conftest.err >&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } && {
25912 test -z "$ac_cxx_werror_flag" ||
25913 test ! -s conftest.err
25914 } && test -s conftest.$ac_objext; then
25915 ac_cv_header_tr1_unordered_map=yes
25917 echo "$as_me: failed program was:" >&5
25918 sed 's/^/| /' conftest.$ac_ext >&5
25920 ac_cv_header_tr1_unordered_map=no
25923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25925 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25926 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25927 if test $ac_cv_header_tr1_unordered_map = yes; then
25928 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25929 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25930 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25933 cat >conftest.$ac_ext <<_ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25939 #include <tr1/unordered_map>
25940 #include <tr1/unordered_set>
25944 std::tr1::unordered_map<double*, char*> test1;
25945 std::tr1::unordered_set<char*> test2;
25946 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25947 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25953 rm -f conftest.$ac_objext
25954 if { (ac_try="$ac_compile"
25955 case "(($ac_try" in
25956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25957 *) ac_try_echo=$ac_try;;
25959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25960 (eval "$ac_compile") 2>conftest.er1
25962 grep -v '^ *+' conftest.er1 >conftest.err
25964 cat conftest.err >&5
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); } && {
25967 test -z "$ac_cxx_werror_flag" ||
25968 test ! -s conftest.err
25969 } && test -s conftest.$ac_objext; then
25970 wx_cv_class_tr1unorderedmapset=yes
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25975 wx_cv_class_tr1unorderedmapset=no
25978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25982 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25983 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25988 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25989 cat >>confdefs.h <<\_ACEOF
25990 #define HAVE_TR1_UNORDERED_MAP 1
25993 cat >>confdefs.h <<\_ACEOF
25994 #define HAVE_TR1_UNORDERED_SET 1
25998 { echo "$as_me:$LINENO: checking for hash_map" >&5
25999 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26000 if test "${ac_cv_header_hash_map+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26003 cat >conftest.$ac_ext <<_ACEOF
26006 cat confdefs.h >>conftest.$ac_ext
26007 cat >>conftest.$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26012 #include <hash_map>
26014 rm -f conftest.$ac_objext
26015 if { (ac_try="$ac_compile"
26016 case "(($ac_try" in
26017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018 *) ac_try_echo=$ac_try;;
26020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021 (eval "$ac_compile") 2>conftest.er1
26023 grep -v '^ *+' conftest.er1 >conftest.err
26025 cat conftest.err >&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } && {
26028 test -z "$ac_cxx_werror_flag" ||
26029 test ! -s conftest.err
26030 } && test -s conftest.$ac_objext; then
26031 ac_cv_header_hash_map=yes
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.$ac_ext >&5
26036 ac_cv_header_hash_map=no
26039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26041 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26042 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26043 if test $ac_cv_header_hash_map = yes; then
26044 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26045 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26046 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26047 echo $ECHO_N "(cached) $ECHO_C" >&6
26049 cat >conftest.$ac_ext <<_ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055 #include <hash_map>
26056 #include <hash_set>
26060 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26061 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26066 rm -f conftest.$ac_objext
26067 if { (ac_try="$ac_compile"
26068 case "(($ac_try" in
26069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26070 *) ac_try_echo=$ac_try;;
26072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26073 (eval "$ac_compile") 2>conftest.er1
26075 grep -v '^ *+' conftest.er1 >conftest.err
26077 cat conftest.err >&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } && {
26080 test -z "$ac_cxx_werror_flag" ||
26081 test ! -s conftest.err
26082 } && test -s conftest.$ac_objext; then
26083 wx_cv_class_stdhashmapset=yes
26085 echo "$as_me: failed program was:" >&5
26086 sed 's/^/| /' conftest.$ac_ext >&5
26088 wx_cv_class_stdhashmapset=no
26091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26095 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26096 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26101 if test "$wx_cv_class_stdhashmapset" = yes; then
26102 cat >>confdefs.h <<\_ACEOF
26103 #define HAVE_HASH_MAP 1
26106 cat >>confdefs.h <<\_ACEOF
26107 #define HAVE_STD_HASH_MAP 1
26112 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26113 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26114 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26115 echo $ECHO_N "(cached) $ECHO_C" >&6
26117 cat >conftest.$ac_ext <<_ACEOF
26120 cat confdefs.h >>conftest.$ac_ext
26121 cat >>conftest.$ac_ext <<_ACEOF
26122 /* end confdefs.h. */
26126 #include <ext/hash_map>
26128 rm -f conftest.$ac_objext
26129 if { (ac_try="$ac_compile"
26130 case "(($ac_try" in
26131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26132 *) ac_try_echo=$ac_try;;
26134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26135 (eval "$ac_compile") 2>conftest.er1
26137 grep -v '^ *+' conftest.er1 >conftest.err
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } && {
26142 test -z "$ac_cxx_werror_flag" ||
26143 test ! -s conftest.err
26144 } && test -s conftest.$ac_objext; then
26145 ac_cv_header_ext_hash_map=yes
26147 echo "$as_me: failed program was:" >&5
26148 sed 's/^/| /' conftest.$ac_ext >&5
26150 ac_cv_header_ext_hash_map=no
26153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26155 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26156 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26157 if test $ac_cv_header_ext_hash_map = yes; then
26158 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26159 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26160 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26161 echo $ECHO_N "(cached) $ECHO_C" >&6
26163 cat >conftest.$ac_ext <<_ACEOF
26166 cat confdefs.h >>conftest.$ac_ext
26167 cat >>conftest.$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26169 #include <ext/hash_map>
26170 #include <ext/hash_set>
26174 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26175 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26180 rm -f conftest.$ac_objext
26181 if { (ac_try="$ac_compile"
26182 case "(($ac_try" in
26183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26184 *) ac_try_echo=$ac_try;;
26186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26187 (eval "$ac_compile") 2>conftest.er1
26189 grep -v '^ *+' conftest.er1 >conftest.err
26191 cat conftest.err >&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } && {
26194 test -z "$ac_cxx_werror_flag" ||
26195 test ! -s conftest.err
26196 } && test -s conftest.$ac_objext; then
26197 wx_cv_class_gnuhashmapset=yes
26199 echo "$as_me: failed program was:" >&5
26200 sed 's/^/| /' conftest.$ac_ext >&5
26202 wx_cv_class_gnuhashmapset=no
26205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26209 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26210 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26220 ac_cpp='$CXXCPP $CPPFLAGS'
26221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26224 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26225 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26226 if test -z "$CXXCPP"; then
26227 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26228 echo $ECHO_N "(cached) $ECHO_C" >&6
26230 # Double quotes because CXXCPP needs to be expanded
26231 for CXXCPP in "$CXX -E" "/lib/cpp"
26233 ac_preproc_ok=false
26234 for ac_cxx_preproc_warn_flag in '' yes
26236 # Use a header file that comes with gcc, so configuring glibc
26237 # with a fresh cross-compiler works.
26238 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26239 # <limits.h> exists even on freestanding compilers.
26240 # On the NeXT, cc -E runs the code through the compiler's parser,
26241 # not just through cpp. "Syntax error" is here to catch this case.
26242 cat >conftest.$ac_ext <<_ACEOF
26245 cat confdefs.h >>conftest.$ac_ext
26246 cat >>conftest.$ac_ext <<_ACEOF
26247 /* end confdefs.h. */
26249 # include <limits.h>
26251 # include <assert.h>
26255 if { (ac_try="$ac_cpp conftest.$ac_ext"
26256 case "(($ac_try" in
26257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26258 *) ac_try_echo=$ac_try;;
26260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26263 grep -v '^ *+' conftest.er1 >conftest.err
26265 cat conftest.err >&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } >/dev/null && {
26268 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26269 test ! -s conftest.err
26273 echo "$as_me: failed program was:" >&5
26274 sed 's/^/| /' conftest.$ac_ext >&5
26276 # Broken: fails on valid input.
26280 rm -f conftest.err conftest.$ac_ext
26282 # OK, works on sane cases. Now check whether nonexistent headers
26283 # can be detected and how.
26284 cat >conftest.$ac_ext <<_ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290 #include <ac_nonexistent.h>
26292 if { (ac_try="$ac_cpp conftest.$ac_ext"
26293 case "(($ac_try" in
26294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26295 *) ac_try_echo=$ac_try;;
26297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26298 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26300 grep -v '^ *+' conftest.er1 >conftest.err
26302 cat conftest.err >&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); } >/dev/null && {
26305 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26306 test ! -s conftest.err
26308 # Broken: success on invalid input.
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.$ac_ext >&5
26314 # Passes both tests.
26319 rm -f conftest.err conftest.$ac_ext
26322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26323 rm -f conftest.err conftest.$ac_ext
26324 if $ac_preproc_ok; then
26329 ac_cv_prog_CXXCPP=$CXXCPP
26332 CXXCPP=$ac_cv_prog_CXXCPP
26334 ac_cv_prog_CXXCPP=$CXXCPP
26336 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26337 echo "${ECHO_T}$CXXCPP" >&6; }
26338 ac_preproc_ok=false
26339 for ac_cxx_preproc_warn_flag in '' yes
26341 # Use a header file that comes with gcc, so configuring glibc
26342 # with a fresh cross-compiler works.
26343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26344 # <limits.h> exists even on freestanding compilers.
26345 # On the NeXT, cc -E runs the code through the compiler's parser,
26346 # not just through cpp. "Syntax error" is here to catch this case.
26347 cat >conftest.$ac_ext <<_ACEOF
26350 cat confdefs.h >>conftest.$ac_ext
26351 cat >>conftest.$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26354 # include <limits.h>
26356 # include <assert.h>
26360 if { (ac_try="$ac_cpp conftest.$ac_ext"
26361 case "(($ac_try" in
26362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26363 *) ac_try_echo=$ac_try;;
26365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26368 grep -v '^ *+' conftest.er1 >conftest.err
26370 cat conftest.err >&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); } >/dev/null && {
26373 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26374 test ! -s conftest.err
26378 echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26381 # Broken: fails on valid input.
26385 rm -f conftest.err conftest.$ac_ext
26387 # OK, works on sane cases. Now check whether nonexistent headers
26388 # can be detected and how.
26389 cat >conftest.$ac_ext <<_ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395 #include <ac_nonexistent.h>
26397 if { (ac_try="$ac_cpp conftest.$ac_ext"
26398 case "(($ac_try" in
26399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26400 *) ac_try_echo=$ac_try;;
26402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26405 grep -v '^ *+' conftest.er1 >conftest.err
26407 cat conftest.err >&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } >/dev/null && {
26410 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26411 test ! -s conftest.err
26413 # Broken: success on invalid input.
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.$ac_ext >&5
26419 # Passes both tests.
26424 rm -f conftest.err conftest.$ac_ext
26427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26428 rm -f conftest.err conftest.$ac_ext
26429 if $ac_preproc_ok; then
26432 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26433 See \`config.log' for more details." >&5
26434 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26435 See \`config.log' for more details." >&2;}
26436 { (exit 1); exit 1; }; }
26440 ac_cpp='$CXXCPP $CPPFLAGS'
26441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26448 for ac_header in type_traits tr1/type_traits
26450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26452 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26455 echo $ECHO_N "(cached) $ECHO_C" >&6
26457 ac_res=`eval echo '${'$as_ac_Header'}'`
26458 { echo "$as_me:$LINENO: result: $ac_res" >&5
26459 echo "${ECHO_T}$ac_res" >&6; }
26461 # Is the header compilable?
26462 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26464 cat >conftest.$ac_ext <<_ACEOF
26467 cat confdefs.h >>conftest.$ac_ext
26468 cat >>conftest.$ac_ext <<_ACEOF
26469 /* end confdefs.h. */
26470 $ac_includes_default
26471 #include <$ac_header>
26473 rm -f conftest.$ac_objext
26474 if { (ac_try="$ac_compile"
26475 case "(($ac_try" in
26476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26477 *) ac_try_echo=$ac_try;;
26479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26480 (eval "$ac_compile") 2>conftest.er1
26482 grep -v '^ *+' conftest.er1 >conftest.err
26484 cat conftest.err >&5
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); } && {
26487 test -z "$ac_cxx_werror_flag" ||
26488 test ! -s conftest.err
26489 } && test -s conftest.$ac_objext; then
26490 ac_header_compiler=yes
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26495 ac_header_compiler=no
26498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26500 echo "${ECHO_T}$ac_header_compiler" >&6; }
26502 # Is the header present?
26503 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26505 cat >conftest.$ac_ext <<_ACEOF
26508 cat confdefs.h >>conftest.$ac_ext
26509 cat >>conftest.$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26511 #include <$ac_header>
26513 if { (ac_try="$ac_cpp conftest.$ac_ext"
26514 case "(($ac_try" in
26515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26516 *) ac_try_echo=$ac_try;;
26518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26521 grep -v '^ *+' conftest.er1 >conftest.err
26523 cat conftest.err >&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } >/dev/null && {
26526 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26527 test ! -s conftest.err
26529 ac_header_preproc=yes
26531 echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.$ac_ext >&5
26534 ac_header_preproc=no
26537 rm -f conftest.err conftest.$ac_ext
26538 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26539 echo "${ECHO_T}$ac_header_preproc" >&6; }
26541 # So? What about this header?
26542 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26548 ac_header_preproc=yes
26551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26564 ## ----------------------------------------- ##
26565 ## Report this to wx-dev@lists.wxwidgets.org ##
26566 ## ----------------------------------------- ##
26568 ) | sed "s/^/$as_me: WARNING: /" >&2
26571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26576 eval "$as_ac_Header=\$ac_header_preproc"
26578 ac_res=`eval echo '${'$as_ac_Header'}'`
26579 { echo "$as_me:$LINENO: result: $ac_res" >&5
26580 echo "${ECHO_T}$ac_res" >&6; }
26583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26584 cat >>confdefs.h <<_ACEOF
26585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26595 if test -n "$GCC"; then
26596 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26597 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26598 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26602 cat >conftest.$ac_ext <<_ACEOF
26605 cat confdefs.h >>conftest.$ac_ext
26606 cat >>conftest.$ac_ext <<_ACEOF
26607 /* end confdefs.h. */
26613 unsigned int value=0;
26614 /* wxAtomicInc doesn't use return value here */
26615 __sync_fetch_and_add(&value, 2);
26616 __sync_sub_and_fetch(&value, 1);
26617 /* but wxAtomicDec does, so mimic that: */
26618 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26624 rm -f conftest.$ac_objext conftest$ac_exeext
26625 if { (ac_try="$ac_link"
26626 case "(($ac_try" in
26627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26628 *) ac_try_echo=$ac_try;;
26630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26631 (eval "$ac_link") 2>conftest.er1
26633 grep -v '^ *+' conftest.er1 >conftest.err
26635 cat conftest.err >&5
26636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26637 (exit $ac_status); } && {
26638 test -z "$ac_cxx_werror_flag" ||
26639 test ! -s conftest.err
26640 } && test -s conftest$ac_exeext &&
26641 $as_test_x conftest$ac_exeext; then
26642 wx_cv_cc_gcc_atomic_builtins=yes
26644 echo "$as_me: failed program was:" >&5
26645 sed 's/^/| /' conftest.$ac_ext >&5
26647 wx_cv_cc_gcc_atomic_builtins=no
26650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26651 conftest$ac_exeext conftest.$ac_ext
26655 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26656 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26657 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26658 cat >>confdefs.h <<\_ACEOF
26659 #define HAVE_GCC_ATOMIC_BUILTINS 1
26667 ac_cpp='$CPP $CPPFLAGS'
26668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26675 /usr/local/include \
26676 /usr/local/X11/include \
26677 /usr/local/include/X11 \
26678 /usr/local/X11R7/include \
26679 /usr/local/X11R6/include \
26680 /usr/local/include/X11R7 \
26681 /usr/local/include/X11R6 \
26683 /usr/Motif-2.1/include \
26684 /usr/Motif-1.2/include \
26685 /usr/include/Motif1.2 \
26688 /usr/openwin/include \
26692 /usr/X11R7/include \
26693 /usr/X11R6/include \
26694 /usr/X11R6.4/include \
26696 /usr/include/X11R7 \
26697 /usr/include/X11R6 \
26702 /usr/XFree86/include/X11 \
26705 /usr/local/X1R5/include \
26706 /usr/local/include/X11R5 \
26707 /usr/X11R5/include \
26708 /usr/include/X11R5 \
26710 /usr/local/X11R4/include \
26711 /usr/local/include/X11R4 \
26712 /usr/X11R4/include \
26713 /usr/include/X11R4 \
26715 /usr/openwin/share/include"
26717 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26718 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26722 if test "${wx_cv_std_libpath+set}" = set; then
26723 echo $ECHO_N "(cached) $ECHO_C" >&6
26726 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26727 for e in a so sl dylib dll.a; do
26729 if test -f $libc; then
26732 cat >conftest.$ac_ext <<_ACEOF
26733 int main() { return 0; }
26735 rm -f conftest.$ac_objext conftest$ac_exeext
26736 if { (ac_try="$ac_link"
26737 case "(($ac_try" in
26738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26739 *) ac_try_echo=$ac_try;;
26741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26742 (eval "$ac_link") 2>conftest.er1
26744 grep -v '^ *+' conftest.er1 >conftest.err
26746 cat conftest.err >&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); } && {
26749 test -z "$ac_c_werror_flag" ||
26750 test ! -s conftest.err
26751 } && test -s conftest$ac_exeext &&
26752 $as_test_x conftest$ac_exeext; then
26753 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26762 conftest$ac_exeext conftest.$ac_ext
26764 if test "x$wx_cv_std_libpath" != "x"; then
26770 if test "x$wx_cv_std_libpath" = "x"; then
26771 wx_cv_std_libpath="lib"
26780 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26781 wx_cv_std_libpath="lib/64"
26783 wx_cv_std_libpath="lib"
26788 if test "$ac_cv_sizeof_void_p" = 8 -a \
26789 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26790 wx_cv_std_libpath="lib64"
26792 wx_cv_std_libpath="lib"
26797 wx_cv_std_libpath="lib";
26801 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26802 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26804 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26806 if test "$build" != "$host" -a "$GCC" = yes; then
26807 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26808 cross_root=`dirname $cross_root`
26809 cross_root=`dirname $cross_root`
26811 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26812 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26813 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26815 if test -z "$PKG_CONFIG_PATH"; then
26816 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26817 export PKG_CONFIG_PATH
26820 if test -z "$x_includes" -o "$x_includes" = NONE; then
26823 for ac_dir in $SEARCH_INCLUDE /usr/include
26825 if test -f "$ac_dir/X11/Intrinsic.h"; then
26826 ac_find_includes=$ac_dir
26831 x_includes=$ac_find_includes
26833 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26836 for ac_dir in $SEARCH_LIB
26838 for ac_extension in a so sl dylib dll.a; do
26839 if test -f "$ac_dir/libXt.$ac_extension"; then
26840 ac_find_libraries=$ac_dir
26846 x_libraries=$ac_find_libraries
26852 cat >confcache <<\_ACEOF
26853 # This file is a shell script that caches the results of configure
26854 # tests run on this system so they can be shared between configure
26855 # scripts and configure runs, see configure's option --config-cache.
26856 # It is not useful on other systems. If it contains results you don't
26857 # want to keep, you may remove or edit it.
26859 # config.status only pays attention to the cache file if you give it
26860 # the --recheck option to rerun configure.
26862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26864 # following values.
26868 # The following way of writing the cache mishandles newlines in values,
26869 # but we know of no workaround that is simple, portable, and efficient.
26870 # So, we kill variables containing newlines.
26871 # Ultrix sh set writes to stderr and can't be redirected directly,
26872 # and sets the high bit in the cache file unless we assign to the vars.
26874 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26875 eval ac_val=\$$ac_var
26879 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26880 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26883 _ | IFS | as_nl) ;; #(
26884 *) $as_unset $ac_var ;;
26890 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26891 *${as_nl}ac_space=\ *)
26892 # `set' does not quote correctly, so add quotes (double-quote
26893 # substitution turns \\\\ into \\, and sed turns \\ into \).
26896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26899 # `set' quotes correctly as required by POSIX, so do not add quotes.
26900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26909 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26911 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26913 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26914 if test -w "$cache_file"; then
26915 test "x$cache_file" != "x/dev/null" &&
26916 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26917 echo "$as_me: updating cache $cache_file" >&6;}
26918 cat confcache >$cache_file
26920 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26921 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26926 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26927 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26928 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26929 if test "${wx_cv_lib_glibc21+set}" = set; then
26930 echo $ECHO_N "(cached) $ECHO_C" >&6
26933 cat >conftest.$ac_ext <<_ACEOF
26936 cat confdefs.h >>conftest.$ac_ext
26937 cat >>conftest.$ac_ext <<_ACEOF
26938 /* end confdefs.h. */
26939 #include <features.h>
26944 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26952 rm -f conftest.$ac_objext
26953 if { (ac_try="$ac_compile"
26954 case "(($ac_try" in
26955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26956 *) ac_try_echo=$ac_try;;
26958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26959 (eval "$ac_compile") 2>conftest.er1
26961 grep -v '^ *+' conftest.er1 >conftest.err
26963 cat conftest.err >&5
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); } && {
26966 test -z "$ac_c_werror_flag" ||
26967 test ! -s conftest.err
26968 } && test -s conftest.$ac_objext; then
26970 wx_cv_lib_glibc21=yes
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26977 wx_cv_lib_glibc21=no
26982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26985 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26986 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26987 if test "$wx_cv_lib_glibc21" = "yes"; then
26988 cat >>confdefs.h <<\_ACEOF
26989 #define wxHAVE_GLIBC2 1
26995 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26996 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26997 cat >>confdefs.h <<\_ACEOF
26998 #define _GNU_SOURCE 1
27009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27013 echo $ECHO_N "(cached) $ECHO_C" >&6
27015 cat >conftest.$ac_ext <<_ACEOF
27018 cat confdefs.h >>conftest.$ac_ext
27019 cat >>conftest.$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27023 #define $ac_func innocuous_$ac_func
27025 /* System header to define __stub macros and hopefully few prototypes,
27026 which can conflict with char $ac_func (); below.
27027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27028 <limits.h> exists even on freestanding compilers. */
27031 # include <limits.h>
27033 # include <assert.h>
27038 /* Override any GCC internal prototype to avoid an error.
27039 Use char because int might match the return type of a GCC
27040 builtin and then its argument prototype would still apply. */
27045 /* The GNU C library defines this for functions which it implements
27046 to always fail with ENOSYS. Some functions are actually named
27047 something starting with __ and the normal name is an alias. */
27048 #if defined __stub_$ac_func || defined __stub___$ac_func
27055 return $ac_func ();
27060 rm -f conftest.$ac_objext conftest$ac_exeext
27061 if { (ac_try="$ac_link"
27062 case "(($ac_try" in
27063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27064 *) ac_try_echo=$ac_try;;
27066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27067 (eval "$ac_link") 2>conftest.er1
27069 grep -v '^ *+' conftest.er1 >conftest.err
27071 cat conftest.err >&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); } && {
27074 test -z "$ac_c_werror_flag" ||
27075 test ! -s conftest.err
27076 } && test -s conftest$ac_exeext &&
27077 $as_test_x conftest$ac_exeext; then
27078 eval "$as_ac_var=yes"
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.$ac_ext >&5
27083 eval "$as_ac_var=no"
27086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27087 conftest$ac_exeext conftest.$ac_ext
27089 ac_res=`eval echo '${'$as_ac_var'}'`
27090 { echo "$as_me:$LINENO: result: $ac_res" >&5
27091 echo "${ECHO_T}$ac_res" >&6; }
27092 if test `eval echo '${'$as_ac_var'}'` = yes; then
27093 cat >>confdefs.h <<_ACEOF
27094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27101 for ac_func in floor
27103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27104 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27106 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27107 echo $ECHO_N "(cached) $ECHO_C" >&6
27109 cat >conftest.$ac_ext <<_ACEOF
27112 cat confdefs.h >>conftest.$ac_ext
27113 cat >>conftest.$ac_ext <<_ACEOF
27114 /* end confdefs.h. */
27115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27117 #define $ac_func innocuous_$ac_func
27119 /* System header to define __stub macros and hopefully few prototypes,
27120 which can conflict with char $ac_func (); below.
27121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27122 <limits.h> exists even on freestanding compilers. */
27125 # include <limits.h>
27127 # include <assert.h>
27132 /* Override any GCC internal prototype to avoid an error.
27133 Use char because int might match the return type of a GCC
27134 builtin and then its argument prototype would still apply. */
27139 /* The GNU C library defines this for functions which it implements
27140 to always fail with ENOSYS. Some functions are actually named
27141 something starting with __ and the normal name is an alias. */
27142 #if defined __stub_$ac_func || defined __stub___$ac_func
27149 return $ac_func ();
27154 rm -f conftest.$ac_objext conftest$ac_exeext
27155 if { (ac_try="$ac_link"
27156 case "(($ac_try" in
27157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27158 *) ac_try_echo=$ac_try;;
27160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27161 (eval "$ac_link") 2>conftest.er1
27163 grep -v '^ *+' conftest.er1 >conftest.err
27165 cat conftest.err >&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } && {
27168 test -z "$ac_c_werror_flag" ||
27169 test ! -s conftest.err
27170 } && test -s conftest$ac_exeext &&
27171 $as_test_x conftest$ac_exeext; then
27172 eval "$as_ac_var=yes"
27174 echo "$as_me: failed program was:" >&5
27175 sed 's/^/| /' conftest.$ac_ext >&5
27177 eval "$as_ac_var=no"
27180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27181 conftest$ac_exeext conftest.$ac_ext
27183 ac_res=`eval echo '${'$as_ac_var'}'`
27184 { echo "$as_me:$LINENO: result: $ac_res" >&5
27185 echo "${ECHO_T}$ac_res" >&6; }
27186 if test `eval echo '${'$as_ac_var'}'` = yes; then
27187 cat >>confdefs.h <<_ACEOF
27188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27194 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27195 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27196 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27197 { echo "$as_me:$LINENO: result: yes" >&5
27198 echo "${ECHO_T}yes" >&6; }
27200 { echo "$as_me:$LINENO: result: no" >&5
27201 echo "${ECHO_T}no" >&6; }
27203 # use different functions to avoid configure caching
27209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27210 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27212 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27213 echo $ECHO_N "(cached) $ECHO_C" >&6
27215 cat >conftest.$ac_ext <<_ACEOF
27218 cat confdefs.h >>conftest.$ac_ext
27219 cat >>conftest.$ac_ext <<_ACEOF
27220 /* end confdefs.h. */
27221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27223 #define $ac_func innocuous_$ac_func
27225 /* System header to define __stub macros and hopefully few prototypes,
27226 which can conflict with char $ac_func (); below.
27227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27228 <limits.h> exists even on freestanding compilers. */
27231 # include <limits.h>
27233 # include <assert.h>
27238 /* Override any GCC internal prototype to avoid an error.
27239 Use char because int might match the return type of a GCC
27240 builtin and then its argument prototype would still apply. */
27245 /* The GNU C library defines this for functions which it implements
27246 to always fail with ENOSYS. Some functions are actually named
27247 something starting with __ and the normal name is an alias. */
27248 #if defined __stub_$ac_func || defined __stub___$ac_func
27255 return $ac_func ();
27260 rm -f conftest.$ac_objext conftest$ac_exeext
27261 if { (ac_try="$ac_link"
27262 case "(($ac_try" in
27263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27264 *) ac_try_echo=$ac_try;;
27266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27267 (eval "$ac_link") 2>conftest.er1
27269 grep -v '^ *+' conftest.er1 >conftest.err
27271 cat conftest.err >&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); } && {
27274 test -z "$ac_c_werror_flag" ||
27275 test ! -s conftest.err
27276 } && test -s conftest$ac_exeext &&
27277 $as_test_x conftest$ac_exeext; then
27278 eval "$as_ac_var=yes"
27280 echo "$as_me: failed program was:" >&5
27281 sed 's/^/| /' conftest.$ac_ext >&5
27283 eval "$as_ac_var=no"
27286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27287 conftest$ac_exeext conftest.$ac_ext
27289 ac_res=`eval echo '${'$as_ac_var'}'`
27290 { echo "$as_me:$LINENO: result: $ac_res" >&5
27291 echo "${ECHO_T}$ac_res" >&6; }
27292 if test `eval echo '${'$as_ac_var'}'` = yes; then
27293 cat >>confdefs.h <<_ACEOF
27294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27301 for ac_func in ceil
27303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27309 cat >conftest.$ac_ext <<_ACEOF
27312 cat confdefs.h >>conftest.$ac_ext
27313 cat >>conftest.$ac_ext <<_ACEOF
27314 /* end confdefs.h. */
27315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27317 #define $ac_func innocuous_$ac_func
27319 /* System header to define __stub macros and hopefully few prototypes,
27320 which can conflict with char $ac_func (); below.
27321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27322 <limits.h> exists even on freestanding compilers. */
27325 # include <limits.h>
27327 # include <assert.h>
27332 /* Override any GCC internal prototype to avoid an error.
27333 Use char because int might match the return type of a GCC
27334 builtin and then its argument prototype would still apply. */
27339 /* The GNU C library defines this for functions which it implements
27340 to always fail with ENOSYS. Some functions are actually named
27341 something starting with __ and the normal name is an alias. */
27342 #if defined __stub_$ac_func || defined __stub___$ac_func
27349 return $ac_func ();
27354 rm -f conftest.$ac_objext conftest$ac_exeext
27355 if { (ac_try="$ac_link"
27356 case "(($ac_try" in
27357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27358 *) ac_try_echo=$ac_try;;
27360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27361 (eval "$ac_link") 2>conftest.er1
27363 grep -v '^ *+' conftest.er1 >conftest.err
27365 cat conftest.err >&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); } && {
27368 test -z "$ac_c_werror_flag" ||
27369 test ! -s conftest.err
27370 } && test -s conftest$ac_exeext &&
27371 $as_test_x conftest$ac_exeext; then
27372 eval "$as_ac_var=yes"
27374 echo "$as_me: failed program was:" >&5
27375 sed 's/^/| /' conftest.$ac_ext >&5
27377 eval "$as_ac_var=no"
27380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27381 conftest$ac_exeext conftest.$ac_ext
27383 ac_res=`eval echo '${'$as_ac_var'}'`
27384 { echo "$as_me:$LINENO: result: $ac_res" >&5
27385 echo "${ECHO_T}$ac_res" >&6; }
27386 if test `eval echo '${'$as_ac_var'}'` = yes; then
27387 cat >>confdefs.h <<_ACEOF
27388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27394 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27395 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27396 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27397 { echo "$as_me:$LINENO: result: yes" >&5
27398 echo "${ECHO_T}yes" >&6; }
27400 { echo "$as_me:$LINENO: result: no" >&5
27401 echo "${ECHO_T}no" >&6; }
27402 # not sure we should warn the user, crash, etc.
27407 ac_cpp='$CXXCPP $CPPFLAGS'
27408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27412 if test "wxUSE_UNICODE" = "yes"; then
27414 for wx_func in wcstoull
27416 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27417 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27418 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27419 echo $ECHO_N "(cached) $ECHO_C" >&6
27422 cat >conftest.$ac_ext <<_ACEOF
27426 cat confdefs.h >>conftest.$ac_ext
27427 cat >>conftest.$ac_ext <<_ACEOF
27428 /* end confdefs.h. */
27431 $ac_includes_default
27447 rm -f conftest.$ac_objext conftest$ac_exeext
27448 if { (ac_try="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>conftest.er1
27456 grep -v '^ *+' conftest.er1 >conftest.err
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } && {
27461 test -z "$ac_cxx_werror_flag" ||
27462 test ! -s conftest.err
27463 } && test -s conftest$ac_exeext &&
27464 $as_test_x conftest$ac_exeext; then
27465 eval wx_cv_func_$wx_func=yes
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27470 eval wx_cv_func_$wx_func=no
27473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27474 conftest$ac_exeext conftest.$ac_ext
27477 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27478 { echo "$as_me:$LINENO: result: $ac_res" >&5
27479 echo "${ECHO_T}$ac_res" >&6; }
27481 if eval test \$wx_cv_func_$wx_func = yes
27483 cat >>confdefs.h <<_ACEOF
27484 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27496 for wx_func in strtoull
27498 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27499 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27500 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27504 cat >conftest.$ac_ext <<_ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27513 $ac_includes_default
27529 rm -f conftest.$ac_objext conftest$ac_exeext
27530 if { (ac_try="$ac_link"
27531 case "(($ac_try" in
27532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27533 *) ac_try_echo=$ac_try;;
27535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27536 (eval "$ac_link") 2>conftest.er1
27538 grep -v '^ *+' conftest.er1 >conftest.err
27540 cat conftest.err >&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); } && {
27543 test -z "$ac_cxx_werror_flag" ||
27544 test ! -s conftest.err
27545 } && test -s conftest$ac_exeext &&
27546 $as_test_x conftest$ac_exeext; then
27547 eval wx_cv_func_$wx_func=yes
27549 echo "$as_me: failed program was:" >&5
27550 sed 's/^/| /' conftest.$ac_ext >&5
27552 eval wx_cv_func_$wx_func=no
27555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27556 conftest$ac_exeext conftest.$ac_ext
27559 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27560 { echo "$as_me:$LINENO: result: $ac_res" >&5
27561 echo "${ECHO_T}$ac_res" >&6; }
27563 if eval test \$wx_cv_func_$wx_func = yes
27565 cat >>confdefs.h <<_ACEOF
27566 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27578 ac_cpp='$CPP $CPPFLAGS'
27579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27586 if test "$wxUSE_REGEX" != "no"; then
27587 cat >>confdefs.h <<\_ACEOF
27588 #define wxUSE_REGEX 1
27592 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27593 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27594 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27595 wxUSE_REGEX=builtin
27598 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27599 { echo "$as_me:$LINENO: checking for regex.h" >&5
27600 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27601 if test "${ac_cv_header_regex_h+set}" = set; then
27602 echo $ECHO_N "(cached) $ECHO_C" >&6
27604 cat >conftest.$ac_ext <<_ACEOF
27607 cat confdefs.h >>conftest.$ac_ext
27608 cat >>conftest.$ac_ext <<_ACEOF
27609 /* end confdefs.h. */
27614 rm -f conftest.$ac_objext
27615 if { (ac_try="$ac_compile"
27616 case "(($ac_try" in
27617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27618 *) ac_try_echo=$ac_try;;
27620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27621 (eval "$ac_compile") 2>conftest.er1
27623 grep -v '^ *+' conftest.er1 >conftest.err
27625 cat conftest.err >&5
27626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627 (exit $ac_status); } && {
27628 test -z "$ac_c_werror_flag" ||
27629 test ! -s conftest.err
27630 } && test -s conftest.$ac_objext; then
27631 ac_cv_header_regex_h=yes
27633 echo "$as_me: failed program was:" >&5
27634 sed 's/^/| /' conftest.$ac_ext >&5
27636 ac_cv_header_regex_h=no
27639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27641 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27642 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27643 if test $ac_cv_header_regex_h = yes; then
27646 for ac_func in regcomp re_search
27648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27652 echo $ECHO_N "(cached) $ECHO_C" >&6
27654 cat >conftest.$ac_ext <<_ACEOF
27657 cat confdefs.h >>conftest.$ac_ext
27658 cat >>conftest.$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27662 #define $ac_func innocuous_$ac_func
27664 /* System header to define __stub macros and hopefully few prototypes,
27665 which can conflict with char $ac_func (); below.
27666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27667 <limits.h> exists even on freestanding compilers. */
27670 # include <limits.h>
27672 # include <assert.h>
27677 /* Override any GCC internal prototype to avoid an error.
27678 Use char because int might match the return type of a GCC
27679 builtin and then its argument prototype would still apply. */
27684 /* The GNU C library defines this for functions which it implements
27685 to always fail with ENOSYS. Some functions are actually named
27686 something starting with __ and the normal name is an alias. */
27687 #if defined __stub_$ac_func || defined __stub___$ac_func
27694 return $ac_func ();
27699 rm -f conftest.$ac_objext conftest$ac_exeext
27700 if { (ac_try="$ac_link"
27701 case "(($ac_try" in
27702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27703 *) ac_try_echo=$ac_try;;
27705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27706 (eval "$ac_link") 2>conftest.er1
27708 grep -v '^ *+' conftest.er1 >conftest.err
27710 cat conftest.err >&5
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); } && {
27713 test -z "$ac_c_werror_flag" ||
27714 test ! -s conftest.err
27715 } && test -s conftest$ac_exeext &&
27716 $as_test_x conftest$ac_exeext; then
27717 eval "$as_ac_var=yes"
27719 echo "$as_me: failed program was:" >&5
27720 sed 's/^/| /' conftest.$ac_ext >&5
27722 eval "$as_ac_var=no"
27725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27726 conftest$ac_exeext conftest.$ac_ext
27728 ac_res=`eval echo '${'$as_ac_var'}'`
27729 { echo "$as_me:$LINENO: result: $ac_res" >&5
27730 echo "${ECHO_T}$ac_res" >&6; }
27731 if test `eval echo '${'$as_ac_var'}'` = yes; then
27732 cat >>confdefs.h <<_ACEOF
27733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27743 if test "x$ac_cv_func_regcomp" != "xyes"; then
27744 if test "$wxUSE_REGEX" = "sys" ; then
27745 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27746 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27747 { (exit 1); exit 1; }; }
27749 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27750 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27751 wxUSE_REGEX=builtin
27755 cat >>confdefs.h <<\_ACEOF
27756 #define WX_NO_REGEX_ADVANCED 1
27765 if test "$wxUSE_ZLIB" != "no" ; then
27766 cat >>confdefs.h <<\_ACEOF
27767 #define wxUSE_ZLIB 1
27771 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27772 if test "$USE_DARWIN" = 1; then
27773 system_zlib_h_ok="yes"
27775 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27776 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27777 if test "${ac_cv_header_zlib_h+set}" = set; then
27778 echo $ECHO_N "(cached) $ECHO_C" >&6
27780 if test "$cross_compiling" = yes; then
27781 unset ac_cv_header_zlib_h
27784 cat >conftest.$ac_ext <<_ACEOF
27787 cat confdefs.h >>conftest.$ac_ext
27788 cat >>conftest.$ac_ext <<_ACEOF
27789 /* end confdefs.h. */
27796 FILE *f=fopen("conftestval", "w");
27799 ZLIB_VERSION[0] == '1' &&
27800 (ZLIB_VERSION[2] > '1' ||
27801 (ZLIB_VERSION[2] == '1' &&
27802 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27807 rm -f conftest$ac_exeext
27808 if { (ac_try="$ac_link"
27809 case "(($ac_try" in
27810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27811 *) ac_try_echo=$ac_try;;
27813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27814 (eval "$ac_link") 2>&5
27816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27818 { (case "(($ac_try" in
27819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27820 *) ac_try_echo=$ac_try;;
27822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27823 (eval "$ac_try") 2>&5
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; }; then
27827 ac_cv_header_zlib_h=`cat conftestval`
27829 echo "$as_me: program exited with status $ac_status" >&5
27830 echo "$as_me: failed program was:" >&5
27831 sed 's/^/| /' conftest.$ac_ext >&5
27833 ( exit $ac_status )
27834 ac_cv_header_zlib_h=no
27836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27842 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27843 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27844 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27845 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27846 if test "${ac_cv_header_zlib_h+set}" = set; then
27847 echo $ECHO_N "(cached) $ECHO_C" >&6
27849 cat >conftest.$ac_ext <<_ACEOF
27852 cat confdefs.h >>conftest.$ac_ext
27853 cat >>conftest.$ac_ext <<_ACEOF
27854 /* end confdefs.h. */
27859 rm -f conftest.$ac_objext
27860 if { (ac_try="$ac_compile"
27861 case "(($ac_try" in
27862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27863 *) ac_try_echo=$ac_try;;
27865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27866 (eval "$ac_compile") 2>conftest.er1
27868 grep -v '^ *+' conftest.er1 >conftest.err
27870 cat conftest.err >&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); } && {
27873 test -z "$ac_c_werror_flag" ||
27874 test ! -s conftest.err
27875 } && test -s conftest.$ac_objext; then
27876 ac_cv_header_zlib_h=yes
27878 echo "$as_me: failed program was:" >&5
27879 sed 's/^/| /' conftest.$ac_ext >&5
27881 ac_cv_header_zlib_h=no
27884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27886 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27887 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27891 system_zlib_h_ok=$ac_cv_header_zlib_h
27894 if test "$system_zlib_h_ok" = "yes"; then
27895 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27896 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27897 if test "${ac_cv_lib_z_deflate+set}" = set; then
27898 echo $ECHO_N "(cached) $ECHO_C" >&6
27900 ac_check_lib_save_LIBS=$LIBS
27902 cat >conftest.$ac_ext <<_ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27909 /* Override any GCC internal prototype to avoid an error.
27910 Use char because int might match the return type of a GCC
27911 builtin and then its argument prototype would still apply. */
27924 rm -f conftest.$ac_objext conftest$ac_exeext
27925 if { (ac_try="$ac_link"
27926 case "(($ac_try" in
27927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27928 *) ac_try_echo=$ac_try;;
27930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27931 (eval "$ac_link") 2>conftest.er1
27933 grep -v '^ *+' conftest.er1 >conftest.err
27935 cat conftest.err >&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); } && {
27938 test -z "$ac_c_werror_flag" ||
27939 test ! -s conftest.err
27940 } && test -s conftest$ac_exeext &&
27941 $as_test_x conftest$ac_exeext; then
27942 ac_cv_lib_z_deflate=yes
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27947 ac_cv_lib_z_deflate=no
27950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27951 conftest$ac_exeext conftest.$ac_ext
27952 LIBS=$ac_check_lib_save_LIBS
27954 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27955 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27956 if test $ac_cv_lib_z_deflate = yes; then
27962 if test "x$ZLIB_LINK" = "x" ; then
27963 if test "$wxUSE_ZLIB" = "sys" ; then
27964 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27965 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27966 { (exit 1); exit 1; }; }
27968 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27969 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27980 if test "$wxUSE_LIBPNG" != "no" ; then
27981 cat >>confdefs.h <<\_ACEOF
27982 #define wxUSE_LIBPNG 1
27986 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27987 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27988 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27992 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27993 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27994 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27995 wxUSE_LIBPNG=builtin
27998 if test "$wxUSE_MGL" != 1 ; then
27999 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28000 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28001 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28002 if test "${ac_cv_header_png_h+set}" = set; then
28003 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 if test "$cross_compiling" = yes; then
28006 unset ac_cv_header_png_h
28009 cat >conftest.$ac_ext <<_ACEOF
28012 cat confdefs.h >>conftest.$ac_ext
28013 cat >>conftest.$ac_ext <<_ACEOF
28014 /* end confdefs.h. */
28021 FILE *f=fopen("conftestval", "w");
28024 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28029 rm -f conftest$ac_exeext
28030 if { (ac_try="$ac_link"
28031 case "(($ac_try" in
28032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28033 *) ac_try_echo=$ac_try;;
28035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28036 (eval "$ac_link") 2>&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28040 { (case "(($ac_try" in
28041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28042 *) ac_try_echo=$ac_try;;
28044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28045 (eval "$ac_try") 2>&5
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); }; }; then
28049 ac_cv_header_png_h=`cat conftestval`
28051 echo "$as_me: program exited with status $ac_status" >&5
28052 echo "$as_me: failed program was:" >&5
28053 sed 's/^/| /' conftest.$ac_ext >&5
28055 ( exit $ac_status )
28056 ac_cv_header_png_h=no
28058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28064 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28065 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28066 { echo "$as_me:$LINENO: checking for png.h" >&5
28067 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28068 if test "${ac_cv_header_png_h+set}" = set; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28071 cat >conftest.$ac_ext <<_ACEOF
28074 cat confdefs.h >>conftest.$ac_ext
28075 cat >>conftest.$ac_ext <<_ACEOF
28076 /* end confdefs.h. */
28081 rm -f conftest.$ac_objext
28082 if { (ac_try="$ac_compile"
28083 case "(($ac_try" in
28084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_compile") 2>conftest.er1
28090 grep -v '^ *+' conftest.er1 >conftest.err
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } && {
28095 test -z "$ac_c_werror_flag" ||
28096 test ! -s conftest.err
28097 } && test -s conftest.$ac_objext; then
28098 ac_cv_header_png_h=yes
28100 echo "$as_me: failed program was:" >&5
28101 sed 's/^/| /' conftest.$ac_ext >&5
28103 ac_cv_header_png_h=no
28106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28108 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28109 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28113 if test "$ac_cv_header_png_h" = "yes"; then
28114 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28115 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28116 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28117 echo $ECHO_N "(cached) $ECHO_C" >&6
28119 ac_check_lib_save_LIBS=$LIBS
28120 LIBS="-lpng -lz -lm $LIBS"
28121 cat >conftest.$ac_ext <<_ACEOF
28124 cat confdefs.h >>conftest.$ac_ext
28125 cat >>conftest.$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28128 /* Override any GCC internal prototype to avoid an error.
28129 Use char because int might match the return type of a GCC
28130 builtin and then its argument prototype would still apply. */
28134 char png_sig_cmp ();
28138 return png_sig_cmp ();
28143 rm -f conftest.$ac_objext conftest$ac_exeext
28144 if { (ac_try="$ac_link"
28145 case "(($ac_try" in
28146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28147 *) ac_try_echo=$ac_try;;
28149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28150 (eval "$ac_link") 2>conftest.er1
28152 grep -v '^ *+' conftest.er1 >conftest.err
28154 cat conftest.err >&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); } && {
28157 test -z "$ac_c_werror_flag" ||
28158 test ! -s conftest.err
28159 } && test -s conftest$ac_exeext &&
28160 $as_test_x conftest$ac_exeext; then
28161 ac_cv_lib_png_png_sig_cmp=yes
28163 echo "$as_me: failed program was:" >&5
28164 sed 's/^/| /' conftest.$ac_ext >&5
28166 ac_cv_lib_png_png_sig_cmp=no
28169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28170 conftest$ac_exeext conftest.$ac_ext
28171 LIBS=$ac_check_lib_save_LIBS
28173 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28174 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28175 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28176 PNG_LINK=" -lpng -lz"
28181 if test "x$PNG_LINK" = "x" ; then
28182 if test "$wxUSE_LIBPNG" = "sys" ; then
28183 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28184 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28185 { (exit 1); exit 1; }; }
28187 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28188 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28189 wxUSE_LIBPNG=builtin
28200 if test "$wxUSE_LIBJPEG" != "no" ; then
28201 cat >>confdefs.h <<\_ACEOF
28202 #define wxUSE_LIBJPEG 1
28206 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28207 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28208 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28212 if test "$wxUSE_MGL" != 1 ; then
28213 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28214 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28215 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28216 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28217 echo $ECHO_N "(cached) $ECHO_C" >&6
28219 cat >conftest.$ac_ext <<_ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28226 #undef HAVE_STDLIB_H
28228 #include <jpeglib.h>
28239 rm -f conftest.$ac_objext
28240 if { (ac_try="$ac_compile"
28241 case "(($ac_try" in
28242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28243 *) ac_try_echo=$ac_try;;
28245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28246 (eval "$ac_compile") 2>conftest.er1
28248 grep -v '^ *+' conftest.er1 >conftest.err
28250 cat conftest.err >&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); } && {
28253 test -z "$ac_c_werror_flag" ||
28254 test ! -s conftest.err
28255 } && test -s conftest.$ac_objext; then
28256 ac_cv_header_jpeglib_h=yes
28258 echo "$as_me: failed program was:" >&5
28259 sed 's/^/| /' conftest.$ac_ext >&5
28261 ac_cv_header_jpeglib_h=no
28265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28269 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28270 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28272 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28273 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28274 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28275 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28276 echo $ECHO_N "(cached) $ECHO_C" >&6
28278 ac_check_lib_save_LIBS=$LIBS
28279 LIBS="-ljpeg $LIBS"
28280 cat >conftest.$ac_ext <<_ACEOF
28283 cat confdefs.h >>conftest.$ac_ext
28284 cat >>conftest.$ac_ext <<_ACEOF
28285 /* end confdefs.h. */
28287 /* Override any GCC internal prototype to avoid an error.
28288 Use char because int might match the return type of a GCC
28289 builtin and then its argument prototype would still apply. */
28293 char jpeg_read_header ();
28297 return jpeg_read_header ();
28302 rm -f conftest.$ac_objext conftest$ac_exeext
28303 if { (ac_try="$ac_link"
28304 case "(($ac_try" in
28305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28306 *) ac_try_echo=$ac_try;;
28308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28309 (eval "$ac_link") 2>conftest.er1
28311 grep -v '^ *+' conftest.er1 >conftest.err
28313 cat conftest.err >&5
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); } && {
28316 test -z "$ac_c_werror_flag" ||
28317 test ! -s conftest.err
28318 } && test -s conftest$ac_exeext &&
28319 $as_test_x conftest$ac_exeext; then
28320 ac_cv_lib_jpeg_jpeg_read_header=yes
28322 echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.$ac_ext >&5
28325 ac_cv_lib_jpeg_jpeg_read_header=no
28328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28329 conftest$ac_exeext conftest.$ac_ext
28330 LIBS=$ac_check_lib_save_LIBS
28332 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28333 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28334 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28335 JPEG_LINK=" -ljpeg"
28340 if test "x$JPEG_LINK" = "x" ; then
28341 if test "$wxUSE_LIBJPEG" = "sys" ; then
28342 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28343 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28344 { (exit 1); exit 1; }; }
28346 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28347 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28348 wxUSE_LIBJPEG=builtin
28353 if test "$wxUSE_MSW" = 1; then
28354 { echo "$as_me:$LINENO: checking for boolean" >&5
28355 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28356 if test "${ac_cv_type_boolean+set}" = set; then
28357 echo $ECHO_N "(cached) $ECHO_C" >&6
28359 cat >conftest.$ac_ext <<_ACEOF
28362 cat confdefs.h >>conftest.$ac_ext
28363 cat >>conftest.$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28365 #include <windows.h>
28367 typedef boolean ac__type_new_;
28371 if ((ac__type_new_ *) 0)
28373 if (sizeof (ac__type_new_))
28379 rm -f conftest.$ac_objext
28380 if { (ac_try="$ac_compile"
28381 case "(($ac_try" in
28382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28383 *) ac_try_echo=$ac_try;;
28385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28386 (eval "$ac_compile") 2>conftest.er1
28388 grep -v '^ *+' conftest.er1 >conftest.err
28390 cat conftest.err >&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } && {
28393 test -z "$ac_c_werror_flag" ||
28394 test ! -s conftest.err
28395 } && test -s conftest.$ac_objext; then
28396 ac_cv_type_boolean=yes
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28401 ac_cv_type_boolean=no
28404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28406 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28407 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28408 if test $ac_cv_type_boolean = yes; then
28410 cat >>confdefs.h <<_ACEOF
28411 #define HAVE_BOOLEAN 1
28415 { echo "$as_me:$LINENO: checking for boolean" >&5
28416 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28417 if test "${ac_cv_type_boolean+set}" = set; then
28418 echo $ECHO_N "(cached) $ECHO_C" >&6
28420 cat >conftest.$ac_ext <<_ACEOF
28423 cat confdefs.h >>conftest.$ac_ext
28424 cat >>conftest.$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28427 #undef HAVE_BOOLEAN
28429 #include <jpeglib.h>
28432 typedef boolean ac__type_new_;
28436 if ((ac__type_new_ *) 0)
28438 if (sizeof (ac__type_new_))
28444 rm -f conftest.$ac_objext
28445 if { (ac_try="$ac_compile"
28446 case "(($ac_try" in
28447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28448 *) ac_try_echo=$ac_try;;
28450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28451 (eval "$ac_compile") 2>conftest.er1
28453 grep -v '^ *+' conftest.er1 >conftest.err
28455 cat conftest.err >&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } && {
28458 test -z "$ac_c_werror_flag" ||
28459 test ! -s conftest.err
28460 } && test -s conftest.$ac_objext; then
28461 ac_cv_type_boolean=yes
28463 echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.$ac_ext >&5
28466 ac_cv_type_boolean=no
28469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28471 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28472 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28474 # The cast to long int works around a bug in the HP C Compiler
28475 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28476 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28477 # This bug is HP SR number 8606223364.
28478 { echo "$as_me:$LINENO: checking size of boolean" >&5
28479 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28480 if test "${ac_cv_sizeof_boolean+set}" = set; then
28481 echo $ECHO_N "(cached) $ECHO_C" >&6
28483 if test "$cross_compiling" = yes; then
28484 # Depending upon the size, compute the lo and hi bounds.
28485 cat >conftest.$ac_ext <<_ACEOF
28488 cat confdefs.h >>conftest.$ac_ext
28489 cat >>conftest.$ac_ext <<_ACEOF
28490 /* end confdefs.h. */
28492 #undef HAVE_BOOLEAN
28494 #include <jpeglib.h>
28497 typedef boolean ac__type_sizeof_;
28501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28508 rm -f conftest.$ac_objext
28509 if { (ac_try="$ac_compile"
28510 case "(($ac_try" in
28511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28512 *) ac_try_echo=$ac_try;;
28514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28515 (eval "$ac_compile") 2>conftest.er1
28517 grep -v '^ *+' conftest.er1 >conftest.err
28519 cat conftest.err >&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); } && {
28522 test -z "$ac_c_werror_flag" ||
28523 test ! -s conftest.err
28524 } && test -s conftest.$ac_objext; then
28527 cat >conftest.$ac_ext <<_ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28534 #undef HAVE_BOOLEAN
28536 #include <jpeglib.h>
28539 typedef boolean ac__type_sizeof_;
28543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28550 rm -f conftest.$ac_objext
28551 if { (ac_try="$ac_compile"
28552 case "(($ac_try" in
28553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28554 *) ac_try_echo=$ac_try;;
28556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28557 (eval "$ac_compile") 2>conftest.er1
28559 grep -v '^ *+' conftest.er1 >conftest.err
28561 cat conftest.err >&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); } && {
28564 test -z "$ac_c_werror_flag" ||
28565 test ! -s conftest.err
28566 } && test -s conftest.$ac_objext; then
28567 ac_hi=$ac_mid; break
28569 echo "$as_me: failed program was:" >&5
28570 sed 's/^/| /' conftest.$ac_ext >&5
28572 ac_lo=`expr $ac_mid + 1`
28573 if test $ac_lo -le $ac_mid; then
28577 ac_mid=`expr 2 '*' $ac_mid + 1`
28580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28583 echo "$as_me: failed program was:" >&5
28584 sed 's/^/| /' conftest.$ac_ext >&5
28586 cat >conftest.$ac_ext <<_ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28593 #undef HAVE_BOOLEAN
28595 #include <jpeglib.h>
28598 typedef boolean ac__type_sizeof_;
28602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28609 rm -f conftest.$ac_objext
28610 if { (ac_try="$ac_compile"
28611 case "(($ac_try" in
28612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28613 *) ac_try_echo=$ac_try;;
28615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28616 (eval "$ac_compile") 2>conftest.er1
28618 grep -v '^ *+' conftest.er1 >conftest.err
28620 cat conftest.err >&5
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); } && {
28623 test -z "$ac_c_werror_flag" ||
28624 test ! -s conftest.err
28625 } && test -s conftest.$ac_objext; then
28628 cat >conftest.$ac_ext <<_ACEOF
28631 cat confdefs.h >>conftest.$ac_ext
28632 cat >>conftest.$ac_ext <<_ACEOF
28633 /* end confdefs.h. */
28635 #undef HAVE_BOOLEAN
28637 #include <jpeglib.h>
28640 typedef boolean ac__type_sizeof_;
28644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28651 rm -f conftest.$ac_objext
28652 if { (ac_try="$ac_compile"
28653 case "(($ac_try" in
28654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28655 *) ac_try_echo=$ac_try;;
28657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28658 (eval "$ac_compile") 2>conftest.er1
28660 grep -v '^ *+' conftest.er1 >conftest.err
28662 cat conftest.err >&5
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); } && {
28665 test -z "$ac_c_werror_flag" ||
28666 test ! -s conftest.err
28667 } && test -s conftest.$ac_objext; then
28668 ac_lo=$ac_mid; break
28670 echo "$as_me: failed program was:" >&5
28671 sed 's/^/| /' conftest.$ac_ext >&5
28673 ac_hi=`expr '(' $ac_mid ')' - 1`
28674 if test $ac_mid -le $ac_hi; then
28678 ac_mid=`expr 2 '*' $ac_mid`
28681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.$ac_ext >&5
28690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28694 # Binary search between lo and hi bounds.
28695 while test "x$ac_lo" != "x$ac_hi"; do
28696 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28697 cat >conftest.$ac_ext <<_ACEOF
28700 cat confdefs.h >>conftest.$ac_ext
28701 cat >>conftest.$ac_ext <<_ACEOF
28702 /* end confdefs.h. */
28704 #undef HAVE_BOOLEAN
28706 #include <jpeglib.h>
28709 typedef boolean ac__type_sizeof_;
28713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28720 rm -f conftest.$ac_objext
28721 if { (ac_try="$ac_compile"
28722 case "(($ac_try" in
28723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28724 *) ac_try_echo=$ac_try;;
28726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28727 (eval "$ac_compile") 2>conftest.er1
28729 grep -v '^ *+' conftest.er1 >conftest.err
28731 cat conftest.err >&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); } && {
28734 test -z "$ac_c_werror_flag" ||
28735 test ! -s conftest.err
28736 } && test -s conftest.$ac_objext; then
28739 echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.$ac_ext >&5
28742 ac_lo=`expr '(' $ac_mid ')' + 1`
28745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28748 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28749 '') if test "$ac_cv_type_boolean" = yes; then
28750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28751 See \`config.log' for more details." >&5
28752 echo "$as_me: error: cannot compute sizeof (boolean)
28753 See \`config.log' for more details." >&2;}
28754 { (exit 77); exit 77; }; }
28756 ac_cv_sizeof_boolean=0
28760 cat >conftest.$ac_ext <<_ACEOF
28763 cat confdefs.h >>conftest.$ac_ext
28764 cat >>conftest.$ac_ext <<_ACEOF
28765 /* end confdefs.h. */
28767 #undef HAVE_BOOLEAN
28769 #include <jpeglib.h>
28772 typedef boolean ac__type_sizeof_;
28773 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28774 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28776 #include <stdlib.h>
28781 FILE *f = fopen ("conftest.val", "w");
28784 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28786 long int i = longval ();
28787 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28789 fprintf (f, "%ld\n", i);
28793 unsigned long int i = ulongval ();
28794 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28796 fprintf (f, "%lu\n", i);
28798 return ferror (f) || fclose (f) != 0;
28804 rm -f conftest$ac_exeext
28805 if { (ac_try="$ac_link"
28806 case "(($ac_try" in
28807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28808 *) ac_try_echo=$ac_try;;
28810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28811 (eval "$ac_link") 2>&5
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28815 { (case "(($ac_try" in
28816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28817 *) ac_try_echo=$ac_try;;
28819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28820 (eval "$ac_try") 2>&5
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); }; }; then
28824 ac_cv_sizeof_boolean=`cat conftest.val`
28826 echo "$as_me: program exited with status $ac_status" >&5
28827 echo "$as_me: failed program was:" >&5
28828 sed 's/^/| /' conftest.$ac_ext >&5
28830 ( exit $ac_status )
28831 if test "$ac_cv_type_boolean" = yes; then
28832 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28833 See \`config.log' for more details." >&5
28834 echo "$as_me: error: cannot compute sizeof (boolean)
28835 See \`config.log' for more details." >&2;}
28836 { (exit 77); exit 77; }; }
28838 ac_cv_sizeof_boolean=0
28841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28845 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28846 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28850 cat >>confdefs.h <<_ACEOF
28851 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28855 cat >>confdefs.h <<_ACEOF
28856 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28870 TIFF_PREREQ_LINKS=-lm
28871 if test "$wxUSE_LIBTIFF" != "no" ; then
28872 cat >>confdefs.h <<\_ACEOF
28873 #define wxUSE_LIBTIFF 1
28877 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28878 if test "$wxUSE_LIBJPEG" = "sys"; then
28879 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28881 if test "$wxUSE_ZLIB" = "sys"; then
28882 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28884 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28885 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28886 if test "${ac_cv_header_tiffio_h+set}" = set; then
28887 echo $ECHO_N "(cached) $ECHO_C" >&6
28889 cat >conftest.$ac_ext <<_ACEOF
28892 cat confdefs.h >>conftest.$ac_ext
28893 cat >>conftest.$ac_ext <<_ACEOF
28894 /* end confdefs.h. */
28898 #include <tiffio.h>
28900 rm -f conftest.$ac_objext
28901 if { (ac_try="$ac_compile"
28902 case "(($ac_try" in
28903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28904 *) ac_try_echo=$ac_try;;
28906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28907 (eval "$ac_compile") 2>conftest.er1
28909 grep -v '^ *+' conftest.er1 >conftest.err
28911 cat conftest.err >&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } && {
28914 test -z "$ac_c_werror_flag" ||
28915 test ! -s conftest.err
28916 } && test -s conftest.$ac_objext; then
28917 ac_cv_header_tiffio_h=yes
28919 echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.$ac_ext >&5
28922 ac_cv_header_tiffio_h=no
28925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28927 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28928 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28929 if test $ac_cv_header_tiffio_h = yes; then
28931 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28932 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28933 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28934 echo $ECHO_N "(cached) $ECHO_C" >&6
28936 ac_check_lib_save_LIBS=$LIBS
28937 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28938 cat >conftest.$ac_ext <<_ACEOF
28941 cat confdefs.h >>conftest.$ac_ext
28942 cat >>conftest.$ac_ext <<_ACEOF
28943 /* end confdefs.h. */
28945 /* Override any GCC internal prototype to avoid an error.
28946 Use char because int might match the return type of a GCC
28947 builtin and then its argument prototype would still apply. */
28955 return TIFFError ();
28960 rm -f conftest.$ac_objext conftest$ac_exeext
28961 if { (ac_try="$ac_link"
28962 case "(($ac_try" in
28963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28964 *) ac_try_echo=$ac_try;;
28966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28967 (eval "$ac_link") 2>conftest.er1
28969 grep -v '^ *+' conftest.er1 >conftest.err
28971 cat conftest.err >&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } && {
28974 test -z "$ac_c_werror_flag" ||
28975 test ! -s conftest.err
28976 } && test -s conftest$ac_exeext &&
28977 $as_test_x conftest$ac_exeext; then
28978 ac_cv_lib_tiff_TIFFError=yes
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.$ac_ext >&5
28983 ac_cv_lib_tiff_TIFFError=no
28986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28987 conftest$ac_exeext conftest.$ac_ext
28988 LIBS=$ac_check_lib_save_LIBS
28990 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28991 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28992 if test $ac_cv_lib_tiff_TIFFError = yes; then
28993 TIFF_LINK=" -ltiff"
29001 if test "x$TIFF_LINK" = "x" ; then
29002 if test "$wxUSE_LIBTIFF" = "sys" ; then
29003 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29004 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29005 { (exit 1); exit 1; }; }
29007 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29008 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29009 wxUSE_LIBTIFF=builtin
29015 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29016 if test "$wxUSE_LIBJPEG" = "no"; then
29017 ac_configure_args="$ac_configure_args --disable-jpeg"
29019 subdirs="$subdirs src/tiff"
29025 if test "$wxUSE_EXPAT" != "no"; then
29027 cat >>confdefs.h <<\_ACEOF
29028 #define wxUSE_EXPAT 1
29031 cat >>confdefs.h <<\_ACEOF
29032 #define wxUSE_XML 1
29036 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29037 { echo "$as_me:$LINENO: checking for expat.h" >&5
29038 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29039 if test "${ac_cv_header_expat_h+set}" = set; then
29040 echo $ECHO_N "(cached) $ECHO_C" >&6
29042 cat >conftest.$ac_ext <<_ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29052 rm -f conftest.$ac_objext
29053 if { (ac_try="$ac_compile"
29054 case "(($ac_try" in
29055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29056 *) ac_try_echo=$ac_try;;
29058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29059 (eval "$ac_compile") 2>conftest.er1
29061 grep -v '^ *+' conftest.er1 >conftest.err
29063 cat conftest.err >&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); } && {
29066 test -z "$ac_c_werror_flag" ||
29067 test ! -s conftest.err
29068 } && test -s conftest.$ac_objext; then
29069 ac_cv_header_expat_h=yes
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29074 ac_cv_header_expat_h=no
29077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29079 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29080 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29081 if test $ac_cv_header_expat_h = yes; then
29086 if test "x$found_expat_h" = "x1"; then
29087 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29088 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29089 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29094 ac_cpp='$CXXCPP $CPPFLAGS'
29095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29099 cat >conftest.$ac_ext <<_ACEOF
29102 cat confdefs.h >>conftest.$ac_ext
29103 cat >>conftest.$ac_ext <<_ACEOF
29104 /* end confdefs.h. */
29114 rm -f conftest.$ac_objext
29115 if { (ac_try="$ac_compile"
29116 case "(($ac_try" in
29117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29118 *) ac_try_echo=$ac_try;;
29120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29121 (eval "$ac_compile") 2>conftest.er1
29123 grep -v '^ *+' conftest.er1 >conftest.err
29125 cat conftest.err >&5
29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127 (exit $ac_status); } && {
29128 test -z "$ac_cxx_werror_flag" ||
29129 test ! -s conftest.err
29130 } && test -s conftest.$ac_objext; then
29131 wx_cv_expat_is_not_broken=yes
29133 echo "$as_me: failed program was:" >&5
29134 sed 's/^/| /' conftest.$ac_ext >&5
29136 wx_cv_expat_is_not_broken=no
29140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29142 ac_cpp='$CPP $CPPFLAGS'
29143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29150 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29151 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29152 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29153 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29154 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29155 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29156 echo $ECHO_N "(cached) $ECHO_C" >&6
29158 ac_check_lib_save_LIBS=$LIBS
29159 LIBS="-lexpat $LIBS"
29160 cat >conftest.$ac_ext <<_ACEOF
29163 cat confdefs.h >>conftest.$ac_ext
29164 cat >>conftest.$ac_ext <<_ACEOF
29165 /* end confdefs.h. */
29167 /* Override any GCC internal prototype to avoid an error.
29168 Use char because int might match the return type of a GCC
29169 builtin and then its argument prototype would still apply. */
29173 char XML_ParserCreate ();
29177 return XML_ParserCreate ();
29182 rm -f conftest.$ac_objext conftest$ac_exeext
29183 if { (ac_try="$ac_link"
29184 case "(($ac_try" in
29185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29186 *) ac_try_echo=$ac_try;;
29188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29189 (eval "$ac_link") 2>conftest.er1
29191 grep -v '^ *+' conftest.er1 >conftest.err
29193 cat conftest.err >&5
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); } && {
29196 test -z "$ac_c_werror_flag" ||
29197 test ! -s conftest.err
29198 } && test -s conftest$ac_exeext &&
29199 $as_test_x conftest$ac_exeext; then
29200 ac_cv_lib_expat_XML_ParserCreate=yes
29202 echo "$as_me: failed program was:" >&5
29203 sed 's/^/| /' conftest.$ac_ext >&5
29205 ac_cv_lib_expat_XML_ParserCreate=no
29208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29209 conftest$ac_exeext conftest.$ac_ext
29210 LIBS=$ac_check_lib_save_LIBS
29212 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29213 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29214 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29215 EXPAT_LINK=" -lexpat"
29220 if test "x$EXPAT_LINK" = "x" ; then
29221 if test "$wxUSE_EXPAT" = "sys" ; then
29222 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29223 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29224 { (exit 1); exit 1; }; }
29226 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29227 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29228 wxUSE_EXPAT=builtin
29234 if test "$wxUSE_EXPAT" = "builtin" ; then
29235 subdirs="$subdirs src/expat"
29242 if test "$wxUSE_LIBMSPACK" != "no"; then
29243 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29244 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29245 if test "${ac_cv_header_mspack_h+set}" = set; then
29246 echo $ECHO_N "(cached) $ECHO_C" >&6
29248 cat >conftest.$ac_ext <<_ACEOF
29251 cat confdefs.h >>conftest.$ac_ext
29252 cat >>conftest.$ac_ext <<_ACEOF
29253 /* end confdefs.h. */
29256 #include <mspack.h>
29258 rm -f conftest.$ac_objext
29259 if { (ac_try="$ac_compile"
29260 case "(($ac_try" in
29261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29262 *) ac_try_echo=$ac_try;;
29264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29265 (eval "$ac_compile") 2>conftest.er1
29267 grep -v '^ *+' conftest.er1 >conftest.err
29269 cat conftest.err >&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); } && {
29272 test -z "$ac_c_werror_flag" ||
29273 test ! -s conftest.err
29274 } && test -s conftest.$ac_objext; then
29275 ac_cv_header_mspack_h=yes
29277 echo "$as_me: failed program was:" >&5
29278 sed 's/^/| /' conftest.$ac_ext >&5
29280 ac_cv_header_mspack_h=no
29283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29285 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29286 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29287 if test $ac_cv_header_mspack_h = yes; then
29292 if test "x$found_mspack_h" = "x1"; then
29293 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29294 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29295 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29296 echo $ECHO_N "(cached) $ECHO_C" >&6
29298 ac_check_lib_save_LIBS=$LIBS
29299 LIBS="-lmspack $LIBS"
29300 cat >conftest.$ac_ext <<_ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29307 /* Override any GCC internal prototype to avoid an error.
29308 Use char because int might match the return type of a GCC
29309 builtin and then its argument prototype would still apply. */
29313 char mspack_create_chm_decompressor ();
29317 return mspack_create_chm_decompressor ();
29322 rm -f conftest.$ac_objext conftest$ac_exeext
29323 if { (ac_try="$ac_link"
29324 case "(($ac_try" in
29325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29326 *) ac_try_echo=$ac_try;;
29328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29329 (eval "$ac_link") 2>conftest.er1
29331 grep -v '^ *+' conftest.er1 >conftest.err
29333 cat conftest.err >&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } && {
29336 test -z "$ac_c_werror_flag" ||
29337 test ! -s conftest.err
29338 } && test -s conftest$ac_exeext &&
29339 $as_test_x conftest$ac_exeext; then
29340 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29342 echo "$as_me: failed program was:" >&5
29343 sed 's/^/| /' conftest.$ac_ext >&5
29345 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29349 conftest$ac_exeext conftest.$ac_ext
29350 LIBS=$ac_check_lib_save_LIBS
29352 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29353 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29354 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29355 MSPACK_LINK=" -lmspack"
29359 if test "x$MSPACK_LINK" = "x" ; then
29364 if test "$wxUSE_LIBMSPACK" != "no"; then
29365 cat >>confdefs.h <<\_ACEOF
29366 #define wxUSE_LIBMSPACK 1
29380 if test "$USE_WIN32" = 1 ; then
29382 for ac_header in w32api.h
29384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29385 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29387 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29388 echo $ECHO_N "(cached) $ECHO_C" >&6
29390 cat >conftest.$ac_ext <<_ACEOF
29393 cat confdefs.h >>conftest.$ac_ext
29394 cat >>conftest.$ac_ext <<_ACEOF
29395 /* end confdefs.h. */
29398 #include <$ac_header>
29400 rm -f conftest.$ac_objext
29401 if { (ac_try="$ac_compile"
29402 case "(($ac_try" in
29403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29404 *) ac_try_echo=$ac_try;;
29406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29407 (eval "$ac_compile") 2>conftest.er1
29409 grep -v '^ *+' conftest.er1 >conftest.err
29411 cat conftest.err >&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); } && {
29414 test -z "$ac_c_werror_flag" ||
29415 test ! -s conftest.err
29416 } && test -s conftest.$ac_objext; then
29417 eval "$as_ac_Header=yes"
29419 echo "$as_me: failed program was:" >&5
29420 sed 's/^/| /' conftest.$ac_ext >&5
29422 eval "$as_ac_Header=no"
29425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29427 ac_res=`eval echo '${'$as_ac_Header'}'`
29428 { echo "$as_me:$LINENO: result: $ac_res" >&5
29429 echo "${ECHO_T}$ac_res" >&6; }
29430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29431 cat >>confdefs.h <<_ACEOF
29432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29439 { echo "$as_me:$LINENO: checking for windows.h" >&5
29440 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29441 if test "${ac_cv_header_windows_h+set}" = set; then
29442 echo $ECHO_N "(cached) $ECHO_C" >&6
29444 cat >conftest.$ac_ext <<_ACEOF
29447 cat confdefs.h >>conftest.$ac_ext
29448 cat >>conftest.$ac_ext <<_ACEOF
29449 /* end confdefs.h. */
29452 #include <windows.h>
29454 rm -f conftest.$ac_objext
29455 if { (ac_try="$ac_compile"
29456 case "(($ac_try" in
29457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29458 *) ac_try_echo=$ac_try;;
29460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29461 (eval "$ac_compile") 2>conftest.er1
29463 grep -v '^ *+' conftest.er1 >conftest.err
29465 cat conftest.err >&5
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); } && {
29468 test -z "$ac_c_werror_flag" ||
29469 test ! -s conftest.err
29470 } && test -s conftest.$ac_objext; then
29471 ac_cv_header_windows_h=yes
29473 echo "$as_me: failed program was:" >&5
29474 sed 's/^/| /' conftest.$ac_ext >&5
29476 ac_cv_header_windows_h=no
29479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29481 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29482 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29483 if test $ac_cv_header_windows_h = yes; then
29487 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29488 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29489 { (exit 1); exit 1; }; }
29495 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29497 x86_64-*-mingw32* )
29498 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29501 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29502 LIBS="$LIBS -loleacc"
29507 LIBS="$LIBS -lkernel32 -luser32"
29510 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29511 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29513 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29515 WIN32INSTALL=win32install
29517 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29518 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29519 if test "${ac_cv_header_pbt_h+set}" = set; then
29520 echo $ECHO_N "(cached) $ECHO_C" >&6
29522 cat >conftest.$ac_ext <<_ACEOF
29525 cat confdefs.h >>conftest.$ac_ext
29526 cat >>conftest.$ac_ext <<_ACEOF
29527 /* end confdefs.h. */
29532 rm -f conftest.$ac_objext
29533 if { (ac_try="$ac_compile"
29534 case "(($ac_try" in
29535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29536 *) ac_try_echo=$ac_try;;
29538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29539 (eval "$ac_compile") 2>conftest.er1
29541 grep -v '^ *+' conftest.er1 >conftest.err
29543 cat conftest.err >&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } && {
29546 test -z "$ac_c_werror_flag" ||
29547 test ! -s conftest.err
29548 } && test -s conftest.$ac_objext; then
29549 ac_cv_header_pbt_h=yes
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29554 ac_cv_header_pbt_h=no
29557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29559 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29560 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29561 if test $ac_cv_header_pbt_h = yes; then
29564 cat >>confdefs.h <<\_ACEOF
29565 #define NEED_PBT_H 1
29573 if test "$wxUSE_GUI" = "yes"; then
29583 if test "$wxUSE_OLD_COCOA" = 1 ; then
29584 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29585 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29586 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29587 wxUSE_PRINTING_ARCHITECTURE=no
29589 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29590 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29591 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29592 wxUSE_DRAG_AND_DROP=no
29594 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29595 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29596 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29601 if test "$wxUSE_MSW" = 1 ; then
29607 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29611 if test "$wxUSE_GTK" = 1; then
29612 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29613 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29615 gtk_version_cached=1
29616 if test "${wx_cv_lib_gtk+set}" = set; then
29617 echo $ECHO_N "(cached) $ECHO_C" >&6
29620 gtk_version_cached=0
29621 { echo "$as_me:$LINENO: result: " >&5
29622 echo "${ECHO_T}" >&6; }
29625 if test "$wxUSE_THREADS" = "yes"; then
29626 GTK_MODULES=gthread
29630 if test "x$wxGTK_VERSION" != "x1"
29634 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29639 # Check whether --enable-gtktest was given.
29640 if test "${enable_gtktest+set}" = set; then
29641 enableval=$enable_gtktest;
29647 pkg_config_args=gtk+-2.0
29648 for module in . $GTK_MODULES
29652 pkg_config_args="$pkg_config_args gthread-2.0"
29659 # Extract the first word of "pkg-config", so it can be a program name with args.
29660 set dummy pkg-config; ac_word=$2
29661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29663 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29664 echo $ECHO_N "(cached) $ECHO_C" >&6
29666 case $PKG_CONFIG in
29668 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29672 for as_dir in $PATH
29675 test -z "$as_dir" && as_dir=.
29676 for ac_exec_ext in '' $ac_executable_extensions; do
29677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29678 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29691 if test -n "$PKG_CONFIG"; then
29692 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29693 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29695 { echo "$as_me:$LINENO: result: no" >&5
29696 echo "${ECHO_T}no" >&6; }
29701 if test x$PKG_CONFIG != xno ; then
29702 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29705 echo "*** pkg-config too old; version 0.7 or better required."
29713 min_gtk_version=2.4.0
29714 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29715 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29717 if test x$PKG_CONFIG != xno ; then
29718 ## don't try to run the test against uninstalled libtool libs
29719 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29720 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29724 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29731 if test x"$no_gtk" = x ; then
29732 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29733 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29734 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29736 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29738 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29740 if test "x$enable_gtktest" = "xyes" ; then
29741 ac_save_CFLAGS="$CFLAGS"
29742 ac_save_LIBS="$LIBS"
29743 CFLAGS="$CFLAGS $GTK_CFLAGS"
29744 LIBS="$GTK_LIBS $LIBS"
29746 if test "$cross_compiling" = yes; then
29747 echo $ac_n "cross compiling; assumed OK... $ac_c"
29749 cat >conftest.$ac_ext <<_ACEOF
29752 cat confdefs.h >>conftest.$ac_ext
29753 cat >>conftest.$ac_ext <<_ACEOF
29754 /* end confdefs.h. */
29756 #include <gtk/gtk.h>
29758 #include <stdlib.h>
29763 int major, minor, micro;
29766 system ("touch conf.gtktest");
29768 /* HP/UX 9 (%@#!) writes to sscanf strings */
29769 tmp_version = g_strdup("$min_gtk_version");
29770 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29771 printf("%s, bad version string\n", "$min_gtk_version");
29775 if ((gtk_major_version != $gtk_config_major_version) ||
29776 (gtk_minor_version != $gtk_config_minor_version) ||
29777 (gtk_micro_version != $gtk_config_micro_version))
29779 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29780 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29781 gtk_major_version, gtk_minor_version, gtk_micro_version);
29782 printf ("*** was found! If pkg-config was correct, then it is best\n");
29783 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29784 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29785 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29786 printf("*** required on your system.\n");
29787 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29788 printf("*** to point to the correct configuration files\n");
29790 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29791 (gtk_minor_version != GTK_MINOR_VERSION) ||
29792 (gtk_micro_version != GTK_MICRO_VERSION))
29794 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29795 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29796 printf("*** library (version %d.%d.%d)\n",
29797 gtk_major_version, gtk_minor_version, gtk_micro_version);
29801 if ((gtk_major_version > major) ||
29802 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29803 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29809 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29810 gtk_major_version, gtk_minor_version, gtk_micro_version);
29811 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29812 major, minor, micro);
29813 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29815 printf("*** If you have already installed a sufficiently new version, this error\n");
29816 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29817 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29818 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29819 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29820 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29821 printf("*** so that the correct libraries are found at run-time))\n");
29828 rm -f conftest$ac_exeext
29829 if { (ac_try="$ac_link"
29830 case "(($ac_try" in
29831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29832 *) ac_try_echo=$ac_try;;
29834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29835 (eval "$ac_link") 2>&5
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29839 { (case "(($ac_try" in
29840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29841 *) ac_try_echo=$ac_try;;
29843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29844 (eval "$ac_try") 2>&5
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); }; }; then
29850 echo "$as_me: program exited with status $ac_status" >&5
29851 echo "$as_me: failed program was:" >&5
29852 sed 's/^/| /' conftest.$ac_ext >&5
29854 ( exit $ac_status )
29857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29861 CFLAGS="$ac_save_CFLAGS"
29862 LIBS="$ac_save_LIBS"
29865 if test "x$no_gtk" = x ; then
29866 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29867 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29870 { echo "$as_me:$LINENO: result: no" >&5
29871 echo "${ECHO_T}no" >&6; }
29872 if test "$PKG_CONFIG" = "no" ; then
29873 echo "*** A new enough version of pkg-config was not found."
29874 echo "*** See http://pkgconfig.sourceforge.net"
29876 if test -f conf.gtktest ; then
29879 echo "*** Could not run GTK+ test program, checking why..."
29880 ac_save_CFLAGS="$CFLAGS"
29881 ac_save_LIBS="$LIBS"
29882 CFLAGS="$CFLAGS $GTK_CFLAGS"
29883 LIBS="$LIBS $GTK_LIBS"
29884 cat >conftest.$ac_ext <<_ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29891 #include <gtk/gtk.h>
29897 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29902 rm -f conftest.$ac_objext conftest$ac_exeext
29903 if { (ac_try="$ac_link"
29904 case "(($ac_try" in
29905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29906 *) ac_try_echo=$ac_try;;
29908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29909 (eval "$ac_link") 2>conftest.er1
29911 grep -v '^ *+' conftest.er1 >conftest.err
29913 cat conftest.err >&5
29914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915 (exit $ac_status); } && {
29916 test -z "$ac_c_werror_flag" ||
29917 test ! -s conftest.err
29918 } && test -s conftest$ac_exeext &&
29919 $as_test_x conftest$ac_exeext; then
29920 echo "*** The test program compiled, but did not run. This usually means"
29921 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29922 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29923 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29924 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29925 echo "*** is required on your system"
29927 echo "*** If you have an old version installed, it is best to remove it, although"
29928 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29930 echo "$as_me: failed program was:" >&5
29931 sed 's/^/| /' conftest.$ac_ext >&5
29933 echo "*** The test program failed to compile or link. See the file config.log for the"
29934 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29938 conftest$ac_exeext conftest.$ac_ext
29939 CFLAGS="$ac_save_CFLAGS"
29940 LIBS="$ac_save_LIBS"
29952 GTK_LIBS="$GTK_LIBS -lX11"
29955 if test -z "$wx_cv_lib_gtk"; then
29956 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29958 # Check whether --with-gtk-prefix was given.
29959 if test "${with_gtk_prefix+set}" = set; then
29960 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29962 gtk_config_prefix=""
29966 # Check whether --with-gtk-exec-prefix was given.
29967 if test "${with_gtk_exec_prefix+set}" = set; then
29968 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29970 gtk_config_exec_prefix=""
29973 # Check whether --enable-gtktest was given.
29974 if test "${enable_gtktest+set}" = set; then
29975 enableval=$enable_gtktest;
29981 for module in . $GTK_MODULES
29985 gtk_config_args="$gtk_config_args gthread"
29990 if test x$gtk_config_exec_prefix != x ; then
29991 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29992 if test x${GTK_CONFIG+set} != xset ; then
29993 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29996 if test x$gtk_config_prefix != x ; then
29997 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29998 if test x${GTK_CONFIG+set} != xset ; then
29999 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30003 # Extract the first word of "gtk-config", so it can be a program name with args.
30004 set dummy gtk-config; ac_word=$2
30005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30007 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30008 echo $ECHO_N "(cached) $ECHO_C" >&6
30010 case $GTK_CONFIG in
30012 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30016 for as_dir in $PATH
30019 test -z "$as_dir" && as_dir=.
30020 for ac_exec_ext in '' $ac_executable_extensions; do
30021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30022 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30030 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30034 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30035 if test -n "$GTK_CONFIG"; then
30036 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30037 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30039 { echo "$as_me:$LINENO: result: no" >&5
30040 echo "${ECHO_T}no" >&6; }
30044 min_gtk_version=1.2.7
30045 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30046 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30048 if test "$GTK_CONFIG" = "no" ; then
30051 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30052 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30053 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30055 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30057 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30059 if test "x$enable_gtktest" = "xyes" ; then
30060 ac_save_CFLAGS="$CFLAGS"
30061 ac_save_LIBS="$LIBS"
30062 CFLAGS="$CFLAGS $GTK_CFLAGS"
30063 LIBS="$GTK_LIBS $LIBS"
30065 if test "$cross_compiling" = yes; then
30066 echo $ac_n "cross compiling; assumed OK... $ac_c"
30068 cat >conftest.$ac_ext <<_ACEOF
30071 cat confdefs.h >>conftest.$ac_ext
30072 cat >>conftest.$ac_ext <<_ACEOF
30073 /* end confdefs.h. */
30075 #include <gtk/gtk.h>
30077 #include <stdlib.h>
30082 int major, minor, micro;
30085 system ("touch conf.gtktest");
30087 /* HP/UX 9 (%@#!) writes to sscanf strings */
30088 tmp_version = g_strdup("$min_gtk_version");
30089 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30090 printf("%s, bad version string\n", "$min_gtk_version");
30094 if ((gtk_major_version != $gtk_config_major_version) ||
30095 (gtk_minor_version != $gtk_config_minor_version) ||
30096 (gtk_micro_version != $gtk_config_micro_version))
30098 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30099 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30100 gtk_major_version, gtk_minor_version, gtk_micro_version);
30101 printf ("*** was found! If gtk-config was correct, then it is best\n");
30102 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30103 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30104 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30105 printf("*** required on your system.\n");
30106 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30107 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30108 printf("*** before re-running configure\n");
30110 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30111 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30112 (gtk_minor_version != GTK_MINOR_VERSION) ||
30113 (gtk_micro_version != GTK_MICRO_VERSION))
30115 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30116 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30117 printf("*** library (version %d.%d.%d)\n",
30118 gtk_major_version, gtk_minor_version, gtk_micro_version);
30120 #endif /* defined (GTK_MAJOR_VERSION) ... */
30123 if ((gtk_major_version > major) ||
30124 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30125 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30131 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30132 gtk_major_version, gtk_minor_version, gtk_micro_version);
30133 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30134 major, minor, micro);
30135 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30137 printf("*** If you have already installed a sufficiently new version, this error\n");
30138 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30139 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30140 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30141 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30142 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30143 printf("*** so that the correct libraries are found at run-time))\n");
30150 rm -f conftest$ac_exeext
30151 if { (ac_try="$ac_link"
30152 case "(($ac_try" in
30153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30154 *) ac_try_echo=$ac_try;;
30156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30157 (eval "$ac_link") 2>&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30161 { (case "(($ac_try" in
30162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30163 *) ac_try_echo=$ac_try;;
30165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30166 (eval "$ac_try") 2>&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); }; }; then
30172 echo "$as_me: program exited with status $ac_status" >&5
30173 echo "$as_me: failed program was:" >&5
30174 sed 's/^/| /' conftest.$ac_ext >&5
30176 ( exit $ac_status )
30179 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30183 CFLAGS="$ac_save_CFLAGS"
30184 LIBS="$ac_save_LIBS"
30187 if test "x$no_gtk" = x ; then
30188 { echo "$as_me:$LINENO: result: yes" >&5
30189 echo "${ECHO_T}yes" >&6; }
30190 wx_cv_lib_gtk=1.2.7
30192 { echo "$as_me:$LINENO: result: no" >&5
30193 echo "${ECHO_T}no" >&6; }
30194 if test "$GTK_CONFIG" = "no" ; then
30195 echo "*** The gtk-config script installed by GTK could not be found"
30196 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30197 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30198 echo "*** full path to gtk-config."
30200 if test -f conf.gtktest ; then
30203 echo "*** Could not run GTK test program, checking why..."
30204 CFLAGS="$CFLAGS $GTK_CFLAGS"
30205 LIBS="$LIBS $GTK_LIBS"
30206 cat >conftest.$ac_ext <<_ACEOF
30209 cat confdefs.h >>conftest.$ac_ext
30210 cat >>conftest.$ac_ext <<_ACEOF
30211 /* end confdefs.h. */
30213 #include <gtk/gtk.h>
30219 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30224 rm -f conftest.$ac_objext conftest$ac_exeext
30225 if { (ac_try="$ac_link"
30226 case "(($ac_try" in
30227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30228 *) ac_try_echo=$ac_try;;
30230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30231 (eval "$ac_link") 2>conftest.er1
30233 grep -v '^ *+' conftest.er1 >conftest.err
30235 cat conftest.err >&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); } && {
30238 test -z "$ac_c_werror_flag" ||
30239 test ! -s conftest.err
30240 } && test -s conftest$ac_exeext &&
30241 $as_test_x conftest$ac_exeext; then
30242 echo "*** The test program compiled, but did not run. This usually means"
30243 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30244 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30245 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30246 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30247 echo "*** is required on your system"
30249 echo "*** If you have an old version installed, it is best to remove it, although"
30250 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30252 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30253 echo "*** came with the system with the command"
30255 echo "*** rpm --erase --nodeps gtk gtk-devel"
30257 echo "$as_me: failed program was:" >&5
30258 sed 's/^/| /' conftest.$ac_ext >&5
30260 echo "*** The test program failed to compile or link. See the file config.log for the"
30261 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30262 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30263 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30267 conftest$ac_exeext conftest.$ac_ext
30268 CFLAGS="$ac_save_CFLAGS"
30269 LIBS="$ac_save_LIBS"
30281 if test -z "$wx_cv_lib_gtk"; then
30283 # Check whether --with-gtk-prefix was given.
30284 if test "${with_gtk_prefix+set}" = set; then
30285 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30287 gtk_config_prefix=""
30291 # Check whether --with-gtk-exec-prefix was given.
30292 if test "${with_gtk_exec_prefix+set}" = set; then
30293 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30295 gtk_config_exec_prefix=""
30298 # Check whether --enable-gtktest was given.
30299 if test "${enable_gtktest+set}" = set; then
30300 enableval=$enable_gtktest;
30306 for module in . $GTK_MODULES
30310 gtk_config_args="$gtk_config_args gthread"
30315 if test x$gtk_config_exec_prefix != x ; then
30316 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30317 if test x${GTK_CONFIG+set} != xset ; then
30318 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30321 if test x$gtk_config_prefix != x ; then
30322 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30323 if test x${GTK_CONFIG+set} != xset ; then
30324 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30328 # Extract the first word of "gtk-config", so it can be a program name with args.
30329 set dummy gtk-config; ac_word=$2
30330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30332 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30333 echo $ECHO_N "(cached) $ECHO_C" >&6
30335 case $GTK_CONFIG in
30337 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30341 for as_dir in $PATH
30344 test -z "$as_dir" && as_dir=.
30345 for ac_exec_ext in '' $ac_executable_extensions; do
30346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30347 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30355 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30359 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30360 if test -n "$GTK_CONFIG"; then
30361 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30362 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30364 { echo "$as_me:$LINENO: result: no" >&5
30365 echo "${ECHO_T}no" >&6; }
30369 min_gtk_version=1.2.3
30370 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30371 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30373 if test "$GTK_CONFIG" = "no" ; then
30376 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30377 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30378 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30379 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30380 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30382 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30384 if test "x$enable_gtktest" = "xyes" ; then
30385 ac_save_CFLAGS="$CFLAGS"
30386 ac_save_LIBS="$LIBS"
30387 CFLAGS="$CFLAGS $GTK_CFLAGS"
30388 LIBS="$GTK_LIBS $LIBS"
30390 if test "$cross_compiling" = yes; then
30391 echo $ac_n "cross compiling; assumed OK... $ac_c"
30393 cat >conftest.$ac_ext <<_ACEOF
30396 cat confdefs.h >>conftest.$ac_ext
30397 cat >>conftest.$ac_ext <<_ACEOF
30398 /* end confdefs.h. */
30400 #include <gtk/gtk.h>
30402 #include <stdlib.h>
30407 int major, minor, micro;
30410 system ("touch conf.gtktest");
30412 /* HP/UX 9 (%@#!) writes to sscanf strings */
30413 tmp_version = g_strdup("$min_gtk_version");
30414 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30415 printf("%s, bad version string\n", "$min_gtk_version");
30419 if ((gtk_major_version != $gtk_config_major_version) ||
30420 (gtk_minor_version != $gtk_config_minor_version) ||
30421 (gtk_micro_version != $gtk_config_micro_version))
30423 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30424 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30425 gtk_major_version, gtk_minor_version, gtk_micro_version);
30426 printf ("*** was found! If gtk-config was correct, then it is best\n");
30427 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30428 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30429 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30430 printf("*** required on your system.\n");
30431 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30432 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30433 printf("*** before re-running configure\n");
30435 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30436 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30437 (gtk_minor_version != GTK_MINOR_VERSION) ||
30438 (gtk_micro_version != GTK_MICRO_VERSION))
30440 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30441 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30442 printf("*** library (version %d.%d.%d)\n",
30443 gtk_major_version, gtk_minor_version, gtk_micro_version);
30445 #endif /* defined (GTK_MAJOR_VERSION) ... */
30448 if ((gtk_major_version > major) ||
30449 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30450 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30456 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30457 gtk_major_version, gtk_minor_version, gtk_micro_version);
30458 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30459 major, minor, micro);
30460 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30462 printf("*** If you have already installed a sufficiently new version, this error\n");
30463 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30464 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30465 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30466 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30467 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30468 printf("*** so that the correct libraries are found at run-time))\n");
30475 rm -f conftest$ac_exeext
30476 if { (ac_try="$ac_link"
30477 case "(($ac_try" in
30478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30479 *) ac_try_echo=$ac_try;;
30481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30482 (eval "$ac_link") 2>&5
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30486 { (case "(($ac_try" in
30487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30488 *) ac_try_echo=$ac_try;;
30490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30491 (eval "$ac_try") 2>&5
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); }; }; then
30497 echo "$as_me: program exited with status $ac_status" >&5
30498 echo "$as_me: failed program was:" >&5
30499 sed 's/^/| /' conftest.$ac_ext >&5
30501 ( exit $ac_status )
30504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30508 CFLAGS="$ac_save_CFLAGS"
30509 LIBS="$ac_save_LIBS"
30512 if test "x$no_gtk" = x ; then
30513 { echo "$as_me:$LINENO: result: yes" >&5
30514 echo "${ECHO_T}yes" >&6; }
30515 wx_cv_lib_gtk=1.2.3
30517 { echo "$as_me:$LINENO: result: no" >&5
30518 echo "${ECHO_T}no" >&6; }
30519 if test "$GTK_CONFIG" = "no" ; then
30520 echo "*** The gtk-config script installed by GTK could not be found"
30521 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30522 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30523 echo "*** full path to gtk-config."
30525 if test -f conf.gtktest ; then
30528 echo "*** Could not run GTK test program, checking why..."
30529 CFLAGS="$CFLAGS $GTK_CFLAGS"
30530 LIBS="$LIBS $GTK_LIBS"
30531 cat >conftest.$ac_ext <<_ACEOF
30534 cat confdefs.h >>conftest.$ac_ext
30535 cat >>conftest.$ac_ext <<_ACEOF
30536 /* end confdefs.h. */
30538 #include <gtk/gtk.h>
30544 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30549 rm -f conftest.$ac_objext conftest$ac_exeext
30550 if { (ac_try="$ac_link"
30551 case "(($ac_try" in
30552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30553 *) ac_try_echo=$ac_try;;
30555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30556 (eval "$ac_link") 2>conftest.er1
30558 grep -v '^ *+' conftest.er1 >conftest.err
30560 cat conftest.err >&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); } && {
30563 test -z "$ac_c_werror_flag" ||
30564 test ! -s conftest.err
30565 } && test -s conftest$ac_exeext &&
30566 $as_test_x conftest$ac_exeext; then
30567 echo "*** The test program compiled, but did not run. This usually means"
30568 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30569 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30570 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30571 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30572 echo "*** is required on your system"
30574 echo "*** If you have an old version installed, it is best to remove it, although"
30575 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30577 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30578 echo "*** came with the system with the command"
30580 echo "*** rpm --erase --nodeps gtk gtk-devel"
30582 echo "$as_me: failed program was:" >&5
30583 sed 's/^/| /' conftest.$ac_ext >&5
30585 echo "*** The test program failed to compile or link. See the file config.log for the"
30586 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30587 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30588 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30592 conftest$ac_exeext conftest.$ac_ext
30593 CFLAGS="$ac_save_CFLAGS"
30594 LIBS="$ac_save_LIBS"
30609 if test -z "$wx_cv_lib_gtk"; then
30612 wx_cv_cflags_gtk=$GTK_CFLAGS
30613 wx_cv_libs_gtk=$GTK_LIBS
30620 if test "$gtk_version_cached" = 1; then
30621 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30622 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30625 case "$wx_cv_lib_gtk" in
30634 *) { { echo "$as_me:$LINENO: error:
30635 The development files for GTK+ were not found. For GTK+ 2, please
30636 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30637 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30638 and that the version is 1.2.3 or above. Also check that the
30639 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30640 --libs' are in the LD_LIBRARY_PATH or equivalent.
30642 echo "$as_me: error:
30643 The development files for GTK+ were not found. For GTK+ 2, please
30644 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30645 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30646 and that the version is 1.2.3 or above. Also check that the
30647 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30648 --libs' are in the LD_LIBRARY_PATH or equivalent.
30650 { (exit 1); exit 1; }; }
30654 if test "$WXGTK2" = 1; then
30655 save_CFLAGS="$CFLAGS"
30657 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30658 LIBS="$LIBS $wx_cv_libs_gtk"
30660 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30661 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30662 cat >conftest.$ac_ext <<_ACEOF
30665 cat confdefs.h >>conftest.$ac_ext
30666 cat >>conftest.$ac_ext <<_ACEOF
30667 /* end confdefs.h. */
30669 #include <gtk/gtk.h>
30675 #if !GTK_CHECK_VERSION(2,18,0)
30683 rm -f conftest.$ac_objext
30684 if { (ac_try="$ac_compile"
30685 case "(($ac_try" in
30686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30687 *) ac_try_echo=$ac_try;;
30689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30690 (eval "$ac_compile") 2>conftest.er1
30692 grep -v '^ *+' conftest.er1 >conftest.err
30694 cat conftest.err >&5
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); } && {
30697 test -z "$ac_c_werror_flag" ||
30698 test ! -s conftest.err
30699 } && test -s conftest.$ac_objext; then
30701 cat >>confdefs.h <<\_ACEOF
30702 #define __WXGTK218__ 1
30705 cat >>confdefs.h <<\_ACEOF
30706 #define __WXGTK210__ 1
30709 cat >>confdefs.h <<\_ACEOF
30710 #define __WXGTK26__ 1
30713 { echo "$as_me:$LINENO: result: yes" >&5
30714 echo "${ECHO_T}yes" >&6; }
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.$ac_ext >&5
30722 { echo "$as_me:$LINENO: result: no" >&5
30723 echo "${ECHO_T}no" >&6; }
30728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30730 if test "$ac_wxgtk218" = 0; then
30731 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30732 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30733 cat >conftest.$ac_ext <<_ACEOF
30736 cat confdefs.h >>conftest.$ac_ext
30737 cat >>conftest.$ac_ext <<_ACEOF
30738 /* end confdefs.h. */
30740 #include <gtk/gtk.h>
30746 #if !GTK_CHECK_VERSION(2,10,0)
30754 rm -f conftest.$ac_objext
30755 if { (ac_try="$ac_compile"
30756 case "(($ac_try" in
30757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30758 *) ac_try_echo=$ac_try;;
30760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30761 (eval "$ac_compile") 2>conftest.er1
30763 grep -v '^ *+' conftest.er1 >conftest.err
30765 cat conftest.err >&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } && {
30768 test -z "$ac_c_werror_flag" ||
30769 test ! -s conftest.err
30770 } && test -s conftest.$ac_objext; then
30772 cat >>confdefs.h <<\_ACEOF
30773 #define __WXGTK210__ 1
30776 cat >>confdefs.h <<\_ACEOF
30777 #define __WXGTK26__ 1
30780 { echo "$as_me:$LINENO: result: yes" >&5
30781 echo "${ECHO_T}yes" >&6; }
30785 echo "$as_me: failed program was:" >&5
30786 sed 's/^/| /' conftest.$ac_ext >&5
30789 { echo "$as_me:$LINENO: result: no" >&5
30790 echo "${ECHO_T}no" >&6; }
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30797 if test "$ac_wxgtk210" = 0; then
30798 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30799 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30800 cat >conftest.$ac_ext <<_ACEOF
30803 cat confdefs.h >>conftest.$ac_ext
30804 cat >>conftest.$ac_ext <<_ACEOF
30805 /* end confdefs.h. */
30807 #include <gtk/gtk.h>
30813 #if !GTK_CHECK_VERSION(2,6,0)
30821 rm -f conftest.$ac_objext
30822 if { (ac_try="$ac_compile"
30823 case "(($ac_try" in
30824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30825 *) ac_try_echo=$ac_try;;
30827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30828 (eval "$ac_compile") 2>conftest.er1
30830 grep -v '^ *+' conftest.er1 >conftest.err
30832 cat conftest.err >&5
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); } && {
30835 test -z "$ac_c_werror_flag" ||
30836 test ! -s conftest.err
30837 } && test -s conftest.$ac_objext; then
30839 cat >>confdefs.h <<\_ACEOF
30840 #define __WXGTK26__ 1
30843 { echo "$as_me:$LINENO: result: yes" >&5
30844 echo "${ECHO_T}yes" >&6; }
30848 echo "$as_me: failed program was:" >&5
30849 sed 's/^/| /' conftest.$ac_ext >&5
30852 { echo "$as_me:$LINENO: result: no" >&5
30853 echo "${ECHO_T}no" >&6; }
30858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30862 CFLAGS="$save_CFLAGS"
30865 if test "$wxUSE_UNICODE" = "yes"; then
30866 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30867 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30871 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30872 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30873 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30874 echo $ECHO_N "(cached) $ECHO_C" >&6
30876 ac_check_lib_save_LIBS=$LIBS
30878 cat >conftest.$ac_ext <<_ACEOF
30881 cat confdefs.h >>conftest.$ac_ext
30882 cat >>conftest.$ac_ext <<_ACEOF
30883 /* end confdefs.h. */
30885 /* Override any GCC internal prototype to avoid an error.
30886 Use char because int might match the return type of a GCC
30887 builtin and then its argument prototype would still apply. */
30891 char gdk_im_open ();
30895 return gdk_im_open ();
30900 rm -f conftest.$ac_objext conftest$ac_exeext
30901 if { (ac_try="$ac_link"
30902 case "(($ac_try" in
30903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30904 *) ac_try_echo=$ac_try;;
30906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30907 (eval "$ac_link") 2>conftest.er1
30909 grep -v '^ *+' conftest.er1 >conftest.err
30911 cat conftest.err >&5
30912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30913 (exit $ac_status); } && {
30914 test -z "$ac_c_werror_flag" ||
30915 test ! -s conftest.err
30916 } && test -s conftest$ac_exeext &&
30917 $as_test_x conftest$ac_exeext; then
30918 ac_cv_lib_gdk_gdk_im_open=yes
30920 echo "$as_me: failed program was:" >&5
30921 sed 's/^/| /' conftest.$ac_ext >&5
30923 ac_cv_lib_gdk_gdk_im_open=no
30926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30927 conftest$ac_exeext conftest.$ac_ext
30928 LIBS=$ac_check_lib_save_LIBS
30930 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30931 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30932 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30933 cat >>confdefs.h <<\_ACEOF
30940 if test "$USE_DARWIN" != 1; then
30942 for ac_func in poll
30944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30945 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30947 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30948 echo $ECHO_N "(cached) $ECHO_C" >&6
30950 cat >conftest.$ac_ext <<_ACEOF
30953 cat confdefs.h >>conftest.$ac_ext
30954 cat >>conftest.$ac_ext <<_ACEOF
30955 /* end confdefs.h. */
30956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30958 #define $ac_func innocuous_$ac_func
30960 /* System header to define __stub macros and hopefully few prototypes,
30961 which can conflict with char $ac_func (); below.
30962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30963 <limits.h> exists even on freestanding compilers. */
30966 # include <limits.h>
30968 # include <assert.h>
30973 /* Override any GCC internal prototype to avoid an error.
30974 Use char because int might match the return type of a GCC
30975 builtin and then its argument prototype would still apply. */
30980 /* The GNU C library defines this for functions which it implements
30981 to always fail with ENOSYS. Some functions are actually named
30982 something starting with __ and the normal name is an alias. */
30983 #if defined __stub_$ac_func || defined __stub___$ac_func
30990 return $ac_func ();
30995 rm -f conftest.$ac_objext conftest$ac_exeext
30996 if { (ac_try="$ac_link"
30997 case "(($ac_try" in
30998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30999 *) ac_try_echo=$ac_try;;
31001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31002 (eval "$ac_link") 2>conftest.er1
31004 grep -v '^ *+' conftest.er1 >conftest.err
31006 cat conftest.err >&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } && {
31009 test -z "$ac_c_werror_flag" ||
31010 test ! -s conftest.err
31011 } && test -s conftest$ac_exeext &&
31012 $as_test_x conftest$ac_exeext; then
31013 eval "$as_ac_var=yes"
31015 echo "$as_me: failed program was:" >&5
31016 sed 's/^/| /' conftest.$ac_ext >&5
31018 eval "$as_ac_var=no"
31021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31022 conftest$ac_exeext conftest.$ac_ext
31024 ac_res=`eval echo '${'$as_ac_var'}'`
31025 { echo "$as_me:$LINENO: result: $ac_res" >&5
31026 echo "${ECHO_T}$ac_res" >&6; }
31027 if test `eval echo '${'$as_ac_var'}'` = yes; then
31028 cat >>confdefs.h <<_ACEOF
31029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31038 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31039 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31041 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31043 AFMINSTALL=afminstall
31047 if test "$wxUSE_GPE" = "yes"; then
31048 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31049 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31052 for ac_dir in $SEARCH_LIB
31054 for ac_extension in a so sl dylib dll.a; do
31055 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31056 ac_find_libraries=$ac_dir
31062 if test "$ac_find_libraries" != "" ; then
31064 if test "$ac_find_libraries" = "default location"; then
31067 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31069 if test $result = 0; then
31072 ac_path_to_link=" -L$ac_find_libraries"
31076 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31078 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31079 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31081 { echo "$as_me:$LINENO: result: not found" >&5
31082 echo "${ECHO_T}not found" >&6; }
31088 if test "$wxUSE_MGL" = 1; then
31089 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31090 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31091 if test "x$MGL_ROOT" = x ; then
31092 { echo "$as_me:$LINENO: result: not found" >&5
31093 echo "${ECHO_T}not found" >&6; }
31094 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31095 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31096 { (exit 1); exit 1; }; }
31098 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31099 echo "${ECHO_T}$MGL_ROOT" >&6; }
31102 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31103 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31106 if test "x$wxUSE_SHARED" = xyes ; then
31107 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31109 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31113 mgl_os_candidates="dos32/dj2"
31116 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31117 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31118 { (exit 1); exit 1; }; }
31124 for mgl_os_i in $mgl_os_candidates ; do
31125 if test "x$mgl_os" = x ; then
31126 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31127 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31128 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31133 if test "x$mgl_lib_type" = x ; then
31134 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31135 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31136 mgl_lib_type=release
31143 if test "x$mgl_os" = x ; then
31144 { echo "$as_me:$LINENO: result: not found" >&5
31145 echo "${ECHO_T}not found" >&6; }
31146 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31147 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31148 { (exit 1); exit 1; }; }
31150 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31151 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31153 wxUSE_UNIVERSAL="yes"
31155 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31156 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31158 AFMINSTALL=afminstall
31163 if test "$wxUSE_DFB" = 1; then
31166 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31167 if test -n "$ac_tool_prefix"; then
31168 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31169 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31172 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31175 case $PKG_CONFIG in
31177 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31181 for as_dir in $PATH
31184 test -z "$as_dir" && as_dir=.
31185 for ac_exec_ext in '' $ac_executable_extensions; do
31186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31187 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31198 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31199 if test -n "$PKG_CONFIG"; then
31200 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31201 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31203 { echo "$as_me:$LINENO: result: no" >&5
31204 echo "${ECHO_T}no" >&6; }
31209 if test -z "$ac_cv_path_PKG_CONFIG"; then
31210 ac_pt_PKG_CONFIG=$PKG_CONFIG
31211 # Extract the first word of "pkg-config", so it can be a program name with args.
31212 set dummy pkg-config; ac_word=$2
31213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31215 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31216 echo $ECHO_N "(cached) $ECHO_C" >&6
31218 case $ac_pt_PKG_CONFIG in
31220 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31224 for as_dir in $PATH
31227 test -z "$as_dir" && as_dir=.
31228 for ac_exec_ext in '' $ac_executable_extensions; do
31229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31230 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31241 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31242 if test -n "$ac_pt_PKG_CONFIG"; then
31243 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31244 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31246 { echo "$as_me:$LINENO: result: no" >&5
31247 echo "${ECHO_T}no" >&6; }
31250 if test "x$ac_pt_PKG_CONFIG" = x; then
31253 case $cross_compiling:$ac_tool_warned in
31255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31256 whose name does not start with the host triplet. If you think this
31257 configuration is useful to you, please write to autoconf@gnu.org." >&5
31258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31259 whose name does not start with the host triplet. If you think this
31260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31261 ac_tool_warned=yes ;;
31263 PKG_CONFIG=$ac_pt_PKG_CONFIG
31266 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31270 if test -n "$PKG_CONFIG"; then
31271 _pkg_min_version=0.9.0
31272 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31273 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31274 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31275 { echo "$as_me:$LINENO: result: yes" >&5
31276 echo "${ECHO_T}yes" >&6; }
31278 { echo "$as_me:$LINENO: result: no" >&5
31279 echo "${ECHO_T}no" >&6; }
31287 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31288 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31290 if test -n "$PKG_CONFIG"; then
31291 if test -n "$DIRECTFB_CFLAGS"; then
31292 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31294 if test -n "$PKG_CONFIG" && \
31295 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31296 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; then
31300 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31308 if test -n "$PKG_CONFIG"; then
31309 if test -n "$DIRECTFB_LIBS"; then
31310 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31312 if test -n "$PKG_CONFIG" && \
31313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31314 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; then
31318 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31329 if test $pkg_failed = yes; then
31331 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31332 _pkg_short_errors_supported=yes
31334 _pkg_short_errors_supported=no
31336 if test $_pkg_short_errors_supported = yes; then
31337 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31339 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31341 # Put the nasty error message in config.log where it belongs
31342 echo "$DIRECTFB_PKG_ERRORS" >&5
31345 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31346 echo "$as_me: error: DirectFB not found." >&2;}
31347 { (exit 1); exit 1; }; }
31350 elif test $pkg_failed = untried; then
31352 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31353 echo "$as_me: error: DirectFB not found." >&2;}
31354 { (exit 1); exit 1; }; }
31358 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31359 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31360 { echo "$as_me:$LINENO: result: yes" >&5
31361 echo "${ECHO_T}yes" >&6; }
31363 wxUSE_UNIVERSAL="yes"
31364 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31365 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31372 if test "$wxUSE_MICROWIN" = 1; then
31373 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31374 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31375 if test "x$MICROWINDOWS" = x ; then
31376 { echo "$as_me:$LINENO: result: not found" >&5
31377 echo "${ECHO_T}not found" >&6; }
31378 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31379 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31380 { (exit 1); exit 1; }; }
31382 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31383 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31386 if test -f $MICROWINDOWS/lib/libmwin.a; then
31387 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31388 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31390 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31391 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31392 { (exit 1); exit 1; }; }
31395 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31396 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31398 wxUSE_UNIVERSAL="yes"
31400 AFMINSTALL=afminstall
31402 GUIDIST=MICROWIN_DIST
31404 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31407 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31408 { echo "$as_me:$LINENO: checking for X" >&5
31409 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31412 # Check whether --with-x was given.
31413 if test "${with_x+set}" = set; then
31417 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31418 if test "x$with_x" = xno; then
31419 # The user explicitly disabled X.
31422 case $x_includes,$x_libraries in #(
31423 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31424 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31425 { (exit 1); exit 1; }; };; #(
31426 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31427 echo $ECHO_N "(cached) $ECHO_C" >&6
31429 # One or both of the vars are not set, and there is no cached value.
31430 ac_x_includes=no ac_x_libraries=no
31431 rm -f -r conftest.dir
31432 if mkdir conftest.dir; then
31434 cat >Imakefile <<'_ACEOF'
31436 @echo incroot='${INCROOT}'
31438 @echo usrlibdir='${USRLIBDIR}'
31440 @echo libdir='${LIBDIR}'
31442 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31443 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31444 for ac_var in incroot usrlibdir libdir; do
31445 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31447 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31448 for ac_extension in a so sl; do
31449 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31450 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31451 ac_im_usrlibdir=$ac_im_libdir; break
31454 # Screen out bogus values from the imake configuration. They are
31455 # bogus both because they are the default anyway, and because
31456 # using them would break gcc on systems where it needs fixed includes.
31457 case $ac_im_incroot in
31458 /usr/include) ac_x_includes= ;;
31459 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31461 case $ac_im_usrlibdir in
31462 /usr/lib | /lib) ;;
31463 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31467 rm -f -r conftest.dir
31470 # Standard set of common directories for X headers.
31471 # Check X11 before X11Rn because it is often a symlink to the current release.
31483 /usr/local/X11/include
31484 /usr/local/X11R6/include
31485 /usr/local/X11R5/include
31486 /usr/local/X11R4/include
31488 /usr/local/include/X11
31489 /usr/local/include/X11R6
31490 /usr/local/include/X11R5
31491 /usr/local/include/X11R4
31495 /usr/XFree86/include/X11
31499 /usr/unsupported/include
31500 /usr/athena/include
31501 /usr/local/x11r5/include
31502 /usr/lpp/Xamples/include
31504 /usr/openwin/include
31505 /usr/openwin/share/include'
31507 if test "$ac_x_includes" = no; then
31508 # Guess where to find include files, by looking for Xlib.h.
31509 # First, try using that file with no special directory specified.
31510 cat >conftest.$ac_ext <<_ACEOF
31513 cat confdefs.h >>conftest.$ac_ext
31514 cat >>conftest.$ac_ext <<_ACEOF
31515 /* end confdefs.h. */
31516 #include <X11/Xlib.h>
31518 if { (ac_try="$ac_cpp conftest.$ac_ext"
31519 case "(($ac_try" in
31520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31521 *) ac_try_echo=$ac_try;;
31523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31526 grep -v '^ *+' conftest.er1 >conftest.err
31528 cat conftest.err >&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); } >/dev/null && {
31531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31532 test ! -s conftest.err
31534 # We can compile using X headers with no special include directory.
31537 echo "$as_me: failed program was:" >&5
31538 sed 's/^/| /' conftest.$ac_ext >&5
31540 for ac_dir in $ac_x_header_dirs; do
31541 if test -r "$ac_dir/X11/Xlib.h"; then
31542 ac_x_includes=$ac_dir
31548 rm -f conftest.err conftest.$ac_ext
31549 fi # $ac_x_includes = no
31551 if test "$ac_x_libraries" = no; then
31552 # Check for the libraries.
31553 # See if we find them without any special options.
31554 # Don't add to $LIBS permanently.
31557 cat >conftest.$ac_ext <<_ACEOF
31560 cat confdefs.h >>conftest.$ac_ext
31561 cat >>conftest.$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31563 #include <X11/Xlib.h>
31572 rm -f conftest.$ac_objext conftest$ac_exeext
31573 if { (ac_try="$ac_link"
31574 case "(($ac_try" in
31575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31576 *) ac_try_echo=$ac_try;;
31578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31579 (eval "$ac_link") 2>conftest.er1
31581 grep -v '^ *+' conftest.er1 >conftest.err
31583 cat conftest.err >&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); } && {
31586 test -z "$ac_c_werror_flag" ||
31587 test ! -s conftest.err
31588 } && test -s conftest$ac_exeext &&
31589 $as_test_x conftest$ac_exeext; then
31591 # We can link X programs with no special library path.
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.$ac_ext >&5
31598 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31600 # Don't even attempt the hair of trying to link an X program!
31601 for ac_extension in a so sl; do
31602 if test -r "$ac_dir/libX11.$ac_extension"; then
31603 ac_x_libraries=$ac_dir
31610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31611 conftest$ac_exeext conftest.$ac_ext
31612 fi # $ac_x_libraries = no
31614 case $ac_x_includes,$ac_x_libraries in #(
31615 no,* | *,no | *\'*)
31616 # Didn't find X, or a directory has "'" in its name.
31617 ac_cv_have_x="have_x=no";; #(
31619 # Record where we found X for the cache.
31620 ac_cv_have_x="have_x=yes\
31621 ac_x_includes='$ac_x_includes'\
31622 ac_x_libraries='$ac_x_libraries'"
31628 eval "$ac_cv_have_x"
31631 if test "$have_x" != yes; then
31632 { echo "$as_me:$LINENO: result: $have_x" >&5
31633 echo "${ECHO_T}$have_x" >&6; }
31636 # If each of the values was on the command line, it overrides each guess.
31637 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31638 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31639 # Update the cache value to reflect the command line values.
31640 ac_cv_have_x="have_x=yes\
31641 ac_x_includes='$x_includes'\
31642 ac_x_libraries='$x_libraries'"
31643 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31644 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31647 if test "$no_x" = yes; then
31648 # Not all programs may use this symbol, but it does not hurt to define it.
31650 cat >>confdefs.h <<\_ACEOF
31651 #define X_DISPLAY_MISSING 1
31654 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31656 if test -n "$x_includes"; then
31657 X_CFLAGS="$X_CFLAGS -I$x_includes"
31660 # It would also be nice to do this for all -L options, not just this one.
31661 if test -n "$x_libraries"; then
31662 X_LIBS="$X_LIBS -L$x_libraries"
31663 # For Solaris; some versions of Sun CC require a space after -R and
31664 # others require no space. Words are not sufficient . . . .
31665 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31666 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31667 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31668 ac_xsave_c_werror_flag=$ac_c_werror_flag
31669 ac_c_werror_flag=yes
31670 cat >conftest.$ac_ext <<_ACEOF
31673 cat confdefs.h >>conftest.$ac_ext
31674 cat >>conftest.$ac_ext <<_ACEOF
31675 /* end confdefs.h. */
31685 rm -f conftest.$ac_objext conftest$ac_exeext
31686 if { (ac_try="$ac_link"
31687 case "(($ac_try" in
31688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31689 *) ac_try_echo=$ac_try;;
31691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31692 (eval "$ac_link") 2>conftest.er1
31694 grep -v '^ *+' conftest.er1 >conftest.err
31696 cat conftest.err >&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); } && {
31699 test -z "$ac_c_werror_flag" ||
31700 test ! -s conftest.err
31701 } && test -s conftest$ac_exeext &&
31702 $as_test_x conftest$ac_exeext; then
31703 { echo "$as_me:$LINENO: result: no" >&5
31704 echo "${ECHO_T}no" >&6; }
31705 X_LIBS="$X_LIBS -R$x_libraries"
31707 echo "$as_me: failed program was:" >&5
31708 sed 's/^/| /' conftest.$ac_ext >&5
31710 LIBS="$ac_xsave_LIBS -R $x_libraries"
31711 cat >conftest.$ac_ext <<_ACEOF
31714 cat confdefs.h >>conftest.$ac_ext
31715 cat >>conftest.$ac_ext <<_ACEOF
31716 /* end confdefs.h. */
31726 rm -f conftest.$ac_objext conftest$ac_exeext
31727 if { (ac_try="$ac_link"
31728 case "(($ac_try" in
31729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31730 *) ac_try_echo=$ac_try;;
31732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31733 (eval "$ac_link") 2>conftest.er1
31735 grep -v '^ *+' conftest.er1 >conftest.err
31737 cat conftest.err >&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); } && {
31740 test -z "$ac_c_werror_flag" ||
31741 test ! -s conftest.err
31742 } && test -s conftest$ac_exeext &&
31743 $as_test_x conftest$ac_exeext; then
31744 { echo "$as_me:$LINENO: result: yes" >&5
31745 echo "${ECHO_T}yes" >&6; }
31746 X_LIBS="$X_LIBS -R $x_libraries"
31748 echo "$as_me: failed program was:" >&5
31749 sed 's/^/| /' conftest.$ac_ext >&5
31751 { echo "$as_me:$LINENO: result: neither works" >&5
31752 echo "${ECHO_T}neither works" >&6; }
31755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31756 conftest$ac_exeext conftest.$ac_ext
31759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31760 conftest$ac_exeext conftest.$ac_ext
31761 ac_c_werror_flag=$ac_xsave_c_werror_flag
31762 LIBS=$ac_xsave_LIBS
31765 # Check for system-dependent libraries X programs must link with.
31766 # Do this before checking for the system-independent R6 libraries
31767 # (-lICE), since we may need -lsocket or whatever for X linking.
31769 if test "$ISC" = yes; then
31770 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31772 # Martyn Johnson says this is needed for Ultrix, if the X
31773 # libraries were built with DECnet support. And Karl Berry says
31774 # the Alpha needs dnet_stub (dnet does not exist).
31775 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31776 cat >conftest.$ac_ext <<_ACEOF
31779 cat confdefs.h >>conftest.$ac_ext
31780 cat >>conftest.$ac_ext <<_ACEOF
31781 /* end confdefs.h. */
31783 /* Override any GCC internal prototype to avoid an error.
31784 Use char because int might match the return type of a GCC
31785 builtin and then its argument prototype would still apply. */
31789 char XOpenDisplay ();
31793 return XOpenDisplay ();
31798 rm -f conftest.$ac_objext conftest$ac_exeext
31799 if { (ac_try="$ac_link"
31800 case "(($ac_try" in
31801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31802 *) ac_try_echo=$ac_try;;
31804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31805 (eval "$ac_link") 2>conftest.er1
31807 grep -v '^ *+' conftest.er1 >conftest.err
31809 cat conftest.err >&5
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); } && {
31812 test -z "$ac_c_werror_flag" ||
31813 test ! -s conftest.err
31814 } && test -s conftest$ac_exeext &&
31815 $as_test_x conftest$ac_exeext; then
31818 echo "$as_me: failed program was:" >&5
31819 sed 's/^/| /' conftest.$ac_ext >&5
31821 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31822 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31823 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31824 echo $ECHO_N "(cached) $ECHO_C" >&6
31826 ac_check_lib_save_LIBS=$LIBS
31827 LIBS="-ldnet $LIBS"
31828 cat >conftest.$ac_ext <<_ACEOF
31831 cat confdefs.h >>conftest.$ac_ext
31832 cat >>conftest.$ac_ext <<_ACEOF
31833 /* end confdefs.h. */
31835 /* Override any GCC internal prototype to avoid an error.
31836 Use char because int might match the return type of a GCC
31837 builtin and then its argument prototype would still apply. */
31845 return dnet_ntoa ();
31850 rm -f conftest.$ac_objext conftest$ac_exeext
31851 if { (ac_try="$ac_link"
31852 case "(($ac_try" in
31853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31854 *) ac_try_echo=$ac_try;;
31856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31857 (eval "$ac_link") 2>conftest.er1
31859 grep -v '^ *+' conftest.er1 >conftest.err
31861 cat conftest.err >&5
31862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31863 (exit $ac_status); } && {
31864 test -z "$ac_c_werror_flag" ||
31865 test ! -s conftest.err
31866 } && test -s conftest$ac_exeext &&
31867 $as_test_x conftest$ac_exeext; then
31868 ac_cv_lib_dnet_dnet_ntoa=yes
31870 echo "$as_me: failed program was:" >&5
31871 sed 's/^/| /' conftest.$ac_ext >&5
31873 ac_cv_lib_dnet_dnet_ntoa=no
31876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31877 conftest$ac_exeext conftest.$ac_ext
31878 LIBS=$ac_check_lib_save_LIBS
31880 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31881 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31882 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31883 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31886 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31887 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31888 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31889 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31890 echo $ECHO_N "(cached) $ECHO_C" >&6
31892 ac_check_lib_save_LIBS=$LIBS
31893 LIBS="-ldnet_stub $LIBS"
31894 cat >conftest.$ac_ext <<_ACEOF
31897 cat confdefs.h >>conftest.$ac_ext
31898 cat >>conftest.$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31901 /* Override any GCC internal prototype to avoid an error.
31902 Use char because int might match the return type of a GCC
31903 builtin and then its argument prototype would still apply. */
31911 return dnet_ntoa ();
31916 rm -f conftest.$ac_objext conftest$ac_exeext
31917 if { (ac_try="$ac_link"
31918 case "(($ac_try" in
31919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31920 *) ac_try_echo=$ac_try;;
31922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31923 (eval "$ac_link") 2>conftest.er1
31925 grep -v '^ *+' conftest.er1 >conftest.err
31927 cat conftest.err >&5
31928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929 (exit $ac_status); } && {
31930 test -z "$ac_c_werror_flag" ||
31931 test ! -s conftest.err
31932 } && test -s conftest$ac_exeext &&
31933 $as_test_x conftest$ac_exeext; then
31934 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31936 echo "$as_me: failed program was:" >&5
31937 sed 's/^/| /' conftest.$ac_ext >&5
31939 ac_cv_lib_dnet_stub_dnet_ntoa=no
31942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31943 conftest$ac_exeext conftest.$ac_ext
31944 LIBS=$ac_check_lib_save_LIBS
31946 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31947 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31948 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31949 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31956 conftest$ac_exeext conftest.$ac_ext
31957 LIBS="$ac_xsave_LIBS"
31959 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31960 # to get the SysV transport functions.
31961 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31963 # The nsl library prevents programs from opening the X display
31964 # on Irix 5.2, according to T.E. Dickey.
31965 # The functions gethostbyname, getservbyname, and inet_addr are
31966 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31967 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31968 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31969 if test "${ac_cv_func_gethostbyname+set}" = set; then
31970 echo $ECHO_N "(cached) $ECHO_C" >&6
31972 cat >conftest.$ac_ext <<_ACEOF
31975 cat confdefs.h >>conftest.$ac_ext
31976 cat >>conftest.$ac_ext <<_ACEOF
31977 /* end confdefs.h. */
31978 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31980 #define gethostbyname innocuous_gethostbyname
31982 /* System header to define __stub macros and hopefully few prototypes,
31983 which can conflict with char gethostbyname (); below.
31984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31985 <limits.h> exists even on freestanding compilers. */
31988 # include <limits.h>
31990 # include <assert.h>
31993 #undef gethostbyname
31995 /* Override any GCC internal prototype to avoid an error.
31996 Use char because int might match the return type of a GCC
31997 builtin and then its argument prototype would still apply. */
32001 char gethostbyname ();
32002 /* The GNU C library defines this for functions which it implements
32003 to always fail with ENOSYS. Some functions are actually named
32004 something starting with __ and the normal name is an alias. */
32005 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32012 return gethostbyname ();
32017 rm -f conftest.$ac_objext conftest$ac_exeext
32018 if { (ac_try="$ac_link"
32019 case "(($ac_try" in
32020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32021 *) ac_try_echo=$ac_try;;
32023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32024 (eval "$ac_link") 2>conftest.er1
32026 grep -v '^ *+' conftest.er1 >conftest.err
32028 cat conftest.err >&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); } && {
32031 test -z "$ac_c_werror_flag" ||
32032 test ! -s conftest.err
32033 } && test -s conftest$ac_exeext &&
32034 $as_test_x conftest$ac_exeext; then
32035 ac_cv_func_gethostbyname=yes
32037 echo "$as_me: failed program was:" >&5
32038 sed 's/^/| /' conftest.$ac_ext >&5
32040 ac_cv_func_gethostbyname=no
32043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32044 conftest$ac_exeext conftest.$ac_ext
32046 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32047 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32049 if test $ac_cv_func_gethostbyname = no; then
32050 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32051 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32052 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32053 echo $ECHO_N "(cached) $ECHO_C" >&6
32055 ac_check_lib_save_LIBS=$LIBS
32057 cat >conftest.$ac_ext <<_ACEOF
32060 cat confdefs.h >>conftest.$ac_ext
32061 cat >>conftest.$ac_ext <<_ACEOF
32062 /* end confdefs.h. */
32064 /* Override any GCC internal prototype to avoid an error.
32065 Use char because int might match the return type of a GCC
32066 builtin and then its argument prototype would still apply. */
32070 char gethostbyname ();
32074 return gethostbyname ();
32079 rm -f conftest.$ac_objext conftest$ac_exeext
32080 if { (ac_try="$ac_link"
32081 case "(($ac_try" in
32082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32083 *) ac_try_echo=$ac_try;;
32085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32086 (eval "$ac_link") 2>conftest.er1
32088 grep -v '^ *+' conftest.er1 >conftest.err
32090 cat conftest.err >&5
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); } && {
32093 test -z "$ac_c_werror_flag" ||
32094 test ! -s conftest.err
32095 } && test -s conftest$ac_exeext &&
32096 $as_test_x conftest$ac_exeext; then
32097 ac_cv_lib_nsl_gethostbyname=yes
32099 echo "$as_me: failed program was:" >&5
32100 sed 's/^/| /' conftest.$ac_ext >&5
32102 ac_cv_lib_nsl_gethostbyname=no
32105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32106 conftest$ac_exeext conftest.$ac_ext
32107 LIBS=$ac_check_lib_save_LIBS
32109 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32110 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32111 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32112 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32115 if test $ac_cv_lib_nsl_gethostbyname = no; then
32116 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32117 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32118 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32119 echo $ECHO_N "(cached) $ECHO_C" >&6
32121 ac_check_lib_save_LIBS=$LIBS
32123 cat >conftest.$ac_ext <<_ACEOF
32126 cat confdefs.h >>conftest.$ac_ext
32127 cat >>conftest.$ac_ext <<_ACEOF
32128 /* end confdefs.h. */
32130 /* Override any GCC internal prototype to avoid an error.
32131 Use char because int might match the return type of a GCC
32132 builtin and then its argument prototype would still apply. */
32136 char gethostbyname ();
32140 return gethostbyname ();
32145 rm -f conftest.$ac_objext conftest$ac_exeext
32146 if { (ac_try="$ac_link"
32147 case "(($ac_try" in
32148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32149 *) ac_try_echo=$ac_try;;
32151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32152 (eval "$ac_link") 2>conftest.er1
32154 grep -v '^ *+' conftest.er1 >conftest.err
32156 cat conftest.err >&5
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); } && {
32159 test -z "$ac_c_werror_flag" ||
32160 test ! -s conftest.err
32161 } && test -s conftest$ac_exeext &&
32162 $as_test_x conftest$ac_exeext; then
32163 ac_cv_lib_bsd_gethostbyname=yes
32165 echo "$as_me: failed program was:" >&5
32166 sed 's/^/| /' conftest.$ac_ext >&5
32168 ac_cv_lib_bsd_gethostbyname=no
32171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32172 conftest$ac_exeext conftest.$ac_ext
32173 LIBS=$ac_check_lib_save_LIBS
32175 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32176 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32177 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32178 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32184 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32185 # socket/setsockopt and other routines are undefined under SCO ODT
32186 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32187 # on later versions), says Simon Leinen: it contains gethostby*
32188 # variants that don't use the name server (or something). -lsocket
32189 # must be given before -lnsl if both are needed. We assume that
32190 # if connect needs -lnsl, so does gethostbyname.
32191 { echo "$as_me:$LINENO: checking for connect" >&5
32192 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32193 if test "${ac_cv_func_connect+set}" = set; then
32194 echo $ECHO_N "(cached) $ECHO_C" >&6
32196 cat >conftest.$ac_ext <<_ACEOF
32199 cat confdefs.h >>conftest.$ac_ext
32200 cat >>conftest.$ac_ext <<_ACEOF
32201 /* end confdefs.h. */
32202 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32204 #define connect innocuous_connect
32206 /* System header to define __stub macros and hopefully few prototypes,
32207 which can conflict with char connect (); below.
32208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32209 <limits.h> exists even on freestanding compilers. */
32212 # include <limits.h>
32214 # include <assert.h>
32219 /* Override any GCC internal prototype to avoid an error.
32220 Use char because int might match the return type of a GCC
32221 builtin and then its argument prototype would still apply. */
32226 /* The GNU C library defines this for functions which it implements
32227 to always fail with ENOSYS. Some functions are actually named
32228 something starting with __ and the normal name is an alias. */
32229 #if defined __stub_connect || defined __stub___connect
32241 rm -f conftest.$ac_objext conftest$ac_exeext
32242 if { (ac_try="$ac_link"
32243 case "(($ac_try" in
32244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32245 *) ac_try_echo=$ac_try;;
32247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32248 (eval "$ac_link") 2>conftest.er1
32250 grep -v '^ *+' conftest.er1 >conftest.err
32252 cat conftest.err >&5
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); } && {
32255 test -z "$ac_c_werror_flag" ||
32256 test ! -s conftest.err
32257 } && test -s conftest$ac_exeext &&
32258 $as_test_x conftest$ac_exeext; then
32259 ac_cv_func_connect=yes
32261 echo "$as_me: failed program was:" >&5
32262 sed 's/^/| /' conftest.$ac_ext >&5
32264 ac_cv_func_connect=no
32267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32268 conftest$ac_exeext conftest.$ac_ext
32270 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32271 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32273 if test $ac_cv_func_connect = no; then
32274 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32275 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32276 if test "${ac_cv_lib_socket_connect+set}" = set; then
32277 echo $ECHO_N "(cached) $ECHO_C" >&6
32279 ac_check_lib_save_LIBS=$LIBS
32280 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32281 cat >conftest.$ac_ext <<_ACEOF
32284 cat confdefs.h >>conftest.$ac_ext
32285 cat >>conftest.$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32288 /* Override any GCC internal prototype to avoid an error.
32289 Use char because int might match the return type of a GCC
32290 builtin and then its argument prototype would still apply. */
32303 rm -f conftest.$ac_objext conftest$ac_exeext
32304 if { (ac_try="$ac_link"
32305 case "(($ac_try" in
32306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32307 *) ac_try_echo=$ac_try;;
32309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32310 (eval "$ac_link") 2>conftest.er1
32312 grep -v '^ *+' conftest.er1 >conftest.err
32314 cat conftest.err >&5
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); } && {
32317 test -z "$ac_c_werror_flag" ||
32318 test ! -s conftest.err
32319 } && test -s conftest$ac_exeext &&
32320 $as_test_x conftest$ac_exeext; then
32321 ac_cv_lib_socket_connect=yes
32323 echo "$as_me: failed program was:" >&5
32324 sed 's/^/| /' conftest.$ac_ext >&5
32326 ac_cv_lib_socket_connect=no
32329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32330 conftest$ac_exeext conftest.$ac_ext
32331 LIBS=$ac_check_lib_save_LIBS
32333 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32334 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32335 if test $ac_cv_lib_socket_connect = yes; then
32336 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32341 # Guillermo Gomez says -lposix is necessary on A/UX.
32342 { echo "$as_me:$LINENO: checking for remove" >&5
32343 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32344 if test "${ac_cv_func_remove+set}" = set; then
32345 echo $ECHO_N "(cached) $ECHO_C" >&6
32347 cat >conftest.$ac_ext <<_ACEOF
32350 cat confdefs.h >>conftest.$ac_ext
32351 cat >>conftest.$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32353 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32355 #define remove innocuous_remove
32357 /* System header to define __stub macros and hopefully few prototypes,
32358 which can conflict with char remove (); below.
32359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32360 <limits.h> exists even on freestanding compilers. */
32363 # include <limits.h>
32365 # include <assert.h>
32370 /* Override any GCC internal prototype to avoid an error.
32371 Use char because int might match the return type of a GCC
32372 builtin and then its argument prototype would still apply. */
32377 /* The GNU C library defines this for functions which it implements
32378 to always fail with ENOSYS. Some functions are actually named
32379 something starting with __ and the normal name is an alias. */
32380 #if defined __stub_remove || defined __stub___remove
32392 rm -f conftest.$ac_objext conftest$ac_exeext
32393 if { (ac_try="$ac_link"
32394 case "(($ac_try" in
32395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32396 *) ac_try_echo=$ac_try;;
32398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32399 (eval "$ac_link") 2>conftest.er1
32401 grep -v '^ *+' conftest.er1 >conftest.err
32403 cat conftest.err >&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); } && {
32406 test -z "$ac_c_werror_flag" ||
32407 test ! -s conftest.err
32408 } && test -s conftest$ac_exeext &&
32409 $as_test_x conftest$ac_exeext; then
32410 ac_cv_func_remove=yes
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32415 ac_cv_func_remove=no
32418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32419 conftest$ac_exeext conftest.$ac_ext
32421 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32422 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32424 if test $ac_cv_func_remove = no; then
32425 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32426 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32427 if test "${ac_cv_lib_posix_remove+set}" = set; then
32428 echo $ECHO_N "(cached) $ECHO_C" >&6
32430 ac_check_lib_save_LIBS=$LIBS
32431 LIBS="-lposix $LIBS"
32432 cat >conftest.$ac_ext <<_ACEOF
32435 cat confdefs.h >>conftest.$ac_ext
32436 cat >>conftest.$ac_ext <<_ACEOF
32437 /* end confdefs.h. */
32439 /* Override any GCC internal prototype to avoid an error.
32440 Use char because int might match the return type of a GCC
32441 builtin and then its argument prototype would still apply. */
32454 rm -f conftest.$ac_objext conftest$ac_exeext
32455 if { (ac_try="$ac_link"
32456 case "(($ac_try" in
32457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32458 *) ac_try_echo=$ac_try;;
32460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32461 (eval "$ac_link") 2>conftest.er1
32463 grep -v '^ *+' conftest.er1 >conftest.err
32465 cat conftest.err >&5
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); } && {
32468 test -z "$ac_c_werror_flag" ||
32469 test ! -s conftest.err
32470 } && test -s conftest$ac_exeext &&
32471 $as_test_x conftest$ac_exeext; then
32472 ac_cv_lib_posix_remove=yes
32474 echo "$as_me: failed program was:" >&5
32475 sed 's/^/| /' conftest.$ac_ext >&5
32477 ac_cv_lib_posix_remove=no
32480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32481 conftest$ac_exeext conftest.$ac_ext
32482 LIBS=$ac_check_lib_save_LIBS
32484 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32485 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32486 if test $ac_cv_lib_posix_remove = yes; then
32487 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32492 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32493 { echo "$as_me:$LINENO: checking for shmat" >&5
32494 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32495 if test "${ac_cv_func_shmat+set}" = set; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32498 cat >conftest.$ac_ext <<_ACEOF
32501 cat confdefs.h >>conftest.$ac_ext
32502 cat >>conftest.$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32506 #define shmat innocuous_shmat
32508 /* System header to define __stub macros and hopefully few prototypes,
32509 which can conflict with char shmat (); below.
32510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32511 <limits.h> exists even on freestanding compilers. */
32514 # include <limits.h>
32516 # include <assert.h>
32521 /* Override any GCC internal prototype to avoid an error.
32522 Use char because int might match the return type of a GCC
32523 builtin and then its argument prototype would still apply. */
32528 /* The GNU C library defines this for functions which it implements
32529 to always fail with ENOSYS. Some functions are actually named
32530 something starting with __ and the normal name is an alias. */
32531 #if defined __stub_shmat || defined __stub___shmat
32543 rm -f conftest.$ac_objext conftest$ac_exeext
32544 if { (ac_try="$ac_link"
32545 case "(($ac_try" in
32546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32547 *) ac_try_echo=$ac_try;;
32549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32550 (eval "$ac_link") 2>conftest.er1
32552 grep -v '^ *+' conftest.er1 >conftest.err
32554 cat conftest.err >&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); } && {
32557 test -z "$ac_c_werror_flag" ||
32558 test ! -s conftest.err
32559 } && test -s conftest$ac_exeext &&
32560 $as_test_x conftest$ac_exeext; then
32561 ac_cv_func_shmat=yes
32563 echo "$as_me: failed program was:" >&5
32564 sed 's/^/| /' conftest.$ac_ext >&5
32566 ac_cv_func_shmat=no
32569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32570 conftest$ac_exeext conftest.$ac_ext
32572 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32573 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32575 if test $ac_cv_func_shmat = no; then
32576 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32577 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32578 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32579 echo $ECHO_N "(cached) $ECHO_C" >&6
32581 ac_check_lib_save_LIBS=$LIBS
32583 cat >conftest.$ac_ext <<_ACEOF
32586 cat confdefs.h >>conftest.$ac_ext
32587 cat >>conftest.$ac_ext <<_ACEOF
32588 /* end confdefs.h. */
32590 /* Override any GCC internal prototype to avoid an error.
32591 Use char because int might match the return type of a GCC
32592 builtin and then its argument prototype would still apply. */
32605 rm -f conftest.$ac_objext conftest$ac_exeext
32606 if { (ac_try="$ac_link"
32607 case "(($ac_try" in
32608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32609 *) ac_try_echo=$ac_try;;
32611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32612 (eval "$ac_link") 2>conftest.er1
32614 grep -v '^ *+' conftest.er1 >conftest.err
32616 cat conftest.err >&5
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); } && {
32619 test -z "$ac_c_werror_flag" ||
32620 test ! -s conftest.err
32621 } && test -s conftest$ac_exeext &&
32622 $as_test_x conftest$ac_exeext; then
32623 ac_cv_lib_ipc_shmat=yes
32625 echo "$as_me: failed program was:" >&5
32626 sed 's/^/| /' conftest.$ac_ext >&5
32628 ac_cv_lib_ipc_shmat=no
32631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32632 conftest$ac_exeext conftest.$ac_ext
32633 LIBS=$ac_check_lib_save_LIBS
32635 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32636 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32637 if test $ac_cv_lib_ipc_shmat = yes; then
32638 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32644 # Check for libraries that X11R6 Xt/Xaw programs need.
32645 ac_save_LDFLAGS=$LDFLAGS
32646 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32647 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32648 # check for ICE first), but we must link in the order -lSM -lICE or
32649 # we get undefined symbols. So assume we have SM if we have ICE.
32650 # These have to be linked with before -lX11, unlike the other
32651 # libraries we check for below, so use a different variable.
32652 # John Interrante, Karl Berry
32653 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32654 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32655 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32656 echo $ECHO_N "(cached) $ECHO_C" >&6
32658 ac_check_lib_save_LIBS=$LIBS
32659 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32660 cat >conftest.$ac_ext <<_ACEOF
32663 cat confdefs.h >>conftest.$ac_ext
32664 cat >>conftest.$ac_ext <<_ACEOF
32665 /* end confdefs.h. */
32667 /* Override any GCC internal prototype to avoid an error.
32668 Use char because int might match the return type of a GCC
32669 builtin and then its argument prototype would still apply. */
32673 char IceConnectionNumber ();
32677 return IceConnectionNumber ();
32682 rm -f conftest.$ac_objext conftest$ac_exeext
32683 if { (ac_try="$ac_link"
32684 case "(($ac_try" in
32685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32686 *) ac_try_echo=$ac_try;;
32688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32689 (eval "$ac_link") 2>conftest.er1
32691 grep -v '^ *+' conftest.er1 >conftest.err
32693 cat conftest.err >&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } && {
32696 test -z "$ac_c_werror_flag" ||
32697 test ! -s conftest.err
32698 } && test -s conftest$ac_exeext &&
32699 $as_test_x conftest$ac_exeext; then
32700 ac_cv_lib_ICE_IceConnectionNumber=yes
32702 echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.$ac_ext >&5
32705 ac_cv_lib_ICE_IceConnectionNumber=no
32708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32709 conftest$ac_exeext conftest.$ac_ext
32710 LIBS=$ac_check_lib_save_LIBS
32712 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32713 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32714 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32715 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32718 LDFLAGS=$ac_save_LDFLAGS
32723 if test "$no_x" = "yes"; then
32724 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32725 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32726 { (exit 1); exit 1; }; }
32729 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32730 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32731 AFMINSTALL=afminstall
32732 COMPILED_X_PROGRAM=0
32736 if test "$wxUSE_X11" = 1; then
32737 if test "$wxUSE_NANOX" = "yes"; then
32738 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32739 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32740 if test "x$MICROWIN" = x ; then
32741 { echo "$as_me:$LINENO: result: not found" >&5
32742 echo "${ECHO_T}not found" >&6; }
32743 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32744 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32745 { (exit 1); exit 1; }; }
32747 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32748 echo "${ECHO_T}$MICROWIN" >&6; }
32749 cat >>confdefs.h <<\_ACEOF
32750 #define wxUSE_NANOX 1
32756 if test "$wxUSE_UNICODE" = "yes"; then
32759 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32760 if test -n "$ac_tool_prefix"; then
32761 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32762 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32765 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32766 echo $ECHO_N "(cached) $ECHO_C" >&6
32768 case $PKG_CONFIG in
32770 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32774 for as_dir in $PATH
32777 test -z "$as_dir" && as_dir=.
32778 for ac_exec_ext in '' $ac_executable_extensions; do
32779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32780 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32791 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32792 if test -n "$PKG_CONFIG"; then
32793 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32794 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32796 { echo "$as_me:$LINENO: result: no" >&5
32797 echo "${ECHO_T}no" >&6; }
32802 if test -z "$ac_cv_path_PKG_CONFIG"; then
32803 ac_pt_PKG_CONFIG=$PKG_CONFIG
32804 # Extract the first word of "pkg-config", so it can be a program name with args.
32805 set dummy pkg-config; ac_word=$2
32806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32808 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32809 echo $ECHO_N "(cached) $ECHO_C" >&6
32811 case $ac_pt_PKG_CONFIG in
32813 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32817 for as_dir in $PATH
32820 test -z "$as_dir" && as_dir=.
32821 for ac_exec_ext in '' $ac_executable_extensions; do
32822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32823 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32834 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32835 if test -n "$ac_pt_PKG_CONFIG"; then
32836 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32837 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32839 { echo "$as_me:$LINENO: result: no" >&5
32840 echo "${ECHO_T}no" >&6; }
32843 if test "x$ac_pt_PKG_CONFIG" = x; then
32846 case $cross_compiling:$ac_tool_warned in
32848 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32849 whose name does not start with the host triplet. If you think this
32850 configuration is useful to you, please write to autoconf@gnu.org." >&5
32851 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32852 whose name does not start with the host triplet. If you think this
32853 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32854 ac_tool_warned=yes ;;
32856 PKG_CONFIG=$ac_pt_PKG_CONFIG
32859 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32863 if test -n "$PKG_CONFIG"; then
32864 _pkg_min_version=0.9.0
32865 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32866 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32867 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32868 { echo "$as_me:$LINENO: result: yes" >&5
32869 echo "${ECHO_T}yes" >&6; }
32871 { echo "$as_me:$LINENO: result: no" >&5
32872 echo "${ECHO_T}no" >&6; }
32880 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32881 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32883 if test -n "$PKG_CONFIG"; then
32884 if test -n "$PANGOX_CFLAGS"; then
32885 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32887 if test -n "$PKG_CONFIG" && \
32888 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32889 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; then
32893 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32901 if test -n "$PKG_CONFIG"; then
32902 if test -n "$PANGOX_LIBS"; then
32903 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32905 if test -n "$PKG_CONFIG" && \
32906 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32907 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); }; then
32911 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32922 if test $pkg_failed = yes; then
32924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32925 _pkg_short_errors_supported=yes
32927 _pkg_short_errors_supported=no
32929 if test $_pkg_short_errors_supported = yes; then
32930 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32932 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32934 # Put the nasty error message in config.log where it belongs
32935 echo "$PANGOX_PKG_ERRORS" >&5
32938 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32939 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32940 { (exit 1); exit 1; }; }
32943 elif test $pkg_failed = untried; then
32945 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32946 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32947 { (exit 1); exit 1; }; }
32951 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32952 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32953 { echo "$as_me:$LINENO: result: yes" >&5
32954 echo "${ECHO_T}yes" >&6; }
32956 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32957 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32958 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32963 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32964 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32966 if test -n "$PKG_CONFIG"; then
32967 if test -n "$PANGOFT2_CFLAGS"; then
32968 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32970 if test -n "$PKG_CONFIG" && \
32971 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32972 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); }; then
32976 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32984 if test -n "$PKG_CONFIG"; then
32985 if test -n "$PANGOFT2_LIBS"; then
32986 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32988 if test -n "$PKG_CONFIG" && \
32989 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32990 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; then
32994 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33005 if test $pkg_failed = yes; then
33007 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33008 _pkg_short_errors_supported=yes
33010 _pkg_short_errors_supported=no
33012 if test $_pkg_short_errors_supported = yes; then
33013 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33015 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33017 # Put the nasty error message in config.log where it belongs
33018 echo "$PANGOFT2_PKG_ERRORS" >&5
33021 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33022 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33023 wxUSE_PRINTING_ARCHITECTURE="no"
33026 elif test $pkg_failed = untried; then
33028 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33029 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33030 wxUSE_PRINTING_ARCHITECTURE="no"
33034 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33035 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33036 { echo "$as_me:$LINENO: result: yes" >&5
33037 echo "${ECHO_T}yes" >&6; }
33039 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33040 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33046 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33047 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33049 if test -n "$PKG_CONFIG"; then
33050 if test -n "$PANGOXFT_CFLAGS"; then
33051 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33053 if test -n "$PKG_CONFIG" && \
33054 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33055 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); }; then
33059 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33067 if test -n "$PKG_CONFIG"; then
33068 if test -n "$PANGOXFT_LIBS"; then
33069 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33071 if test -n "$PKG_CONFIG" && \
33072 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33073 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); }; then
33077 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33088 if test $pkg_failed = yes; then
33090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33091 _pkg_short_errors_supported=yes
33093 _pkg_short_errors_supported=no
33095 if test $_pkg_short_errors_supported = yes; then
33096 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33098 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33100 # Put the nasty error message in config.log where it belongs
33101 echo "$PANGOXFT_PKG_ERRORS" >&5
33104 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33105 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33108 elif test $pkg_failed = untried; then
33110 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33111 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33115 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33116 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33117 { echo "$as_me:$LINENO: result: yes" >&5
33118 echo "${ECHO_T}yes" >&6; }
33120 cat >>confdefs.h <<\_ACEOF
33121 #define HAVE_PANGO_XFT 1
33124 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33125 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33126 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33130 LIBS="$LIBS $PANGOX_LIBS"
33132 for ac_func in pango_font_family_is_monospace
33134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33138 echo $ECHO_N "(cached) $ECHO_C" >&6
33140 cat >conftest.$ac_ext <<_ACEOF
33143 cat confdefs.h >>conftest.$ac_ext
33144 cat >>conftest.$ac_ext <<_ACEOF
33145 /* end confdefs.h. */
33146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33148 #define $ac_func innocuous_$ac_func
33150 /* System header to define __stub macros and hopefully few prototypes,
33151 which can conflict with char $ac_func (); below.
33152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33153 <limits.h> exists even on freestanding compilers. */
33156 # include <limits.h>
33158 # include <assert.h>
33163 /* Override any GCC internal prototype to avoid an error.
33164 Use char because int might match the return type of a GCC
33165 builtin and then its argument prototype would still apply. */
33170 /* The GNU C library defines this for functions which it implements
33171 to always fail with ENOSYS. Some functions are actually named
33172 something starting with __ and the normal name is an alias. */
33173 #if defined __stub_$ac_func || defined __stub___$ac_func
33180 return $ac_func ();
33185 rm -f conftest.$ac_objext conftest$ac_exeext
33186 if { (ac_try="$ac_link"
33187 case "(($ac_try" in
33188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33189 *) ac_try_echo=$ac_try;;
33191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33192 (eval "$ac_link") 2>conftest.er1
33194 grep -v '^ *+' conftest.er1 >conftest.err
33196 cat conftest.err >&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } && {
33199 test -z "$ac_c_werror_flag" ||
33200 test ! -s conftest.err
33201 } && test -s conftest$ac_exeext &&
33202 $as_test_x conftest$ac_exeext; then
33203 eval "$as_ac_var=yes"
33205 echo "$as_me: failed program was:" >&5
33206 sed 's/^/| /' conftest.$ac_ext >&5
33208 eval "$as_ac_var=no"
33211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33212 conftest$ac_exeext conftest.$ac_ext
33214 ac_res=`eval echo '${'$as_ac_var'}'`
33215 { echo "$as_me:$LINENO: result: $ac_res" >&5
33216 echo "${ECHO_T}$ac_res" >&6; }
33217 if test `eval echo '${'$as_ac_var'}'` = yes; then
33218 cat >>confdefs.h <<_ACEOF
33219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33228 wxUSE_UNIVERSAL="yes"
33230 if test "$wxUSE_NANOX" = "yes"; then
33231 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33232 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"
33233 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33235 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33242 if test "$wxUSE_MOTIF" = 1; then
33243 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33244 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33247 for ac_dir in $SEARCH_INCLUDE /usr/include
33249 if test -f "$ac_dir/Xm/Xm.h"; then
33250 ac_find_includes=$ac_dir
33255 if test "$ac_find_includes" != "" ; then
33256 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33257 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33259 if test "x$ac_find_includes" = "x/usr/include"; then
33260 ac_path_to_include=""
33262 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33264 if test $result = 0; then
33265 ac_path_to_include=""
33267 ac_path_to_include=" -I$ac_find_includes"
33271 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33273 save_CFLAGS=$CFLAGS
33274 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33276 cat >conftest.$ac_ext <<_ACEOF
33279 cat confdefs.h >>conftest.$ac_ext
33280 cat >>conftest.$ac_ext <<_ACEOF
33281 /* end confdefs.h. */
33290 version = xmUseVersion;
33296 rm -f conftest.$ac_objext
33297 if { (ac_try="$ac_compile"
33298 case "(($ac_try" in
33299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33300 *) ac_try_echo=$ac_try;;
33302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33303 (eval "$ac_compile") 2>conftest.er1
33305 grep -v '^ *+' conftest.er1 >conftest.err
33307 cat conftest.err >&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); } && {
33310 test -z "$ac_c_werror_flag" ||
33311 test ! -s conftest.err
33312 } && test -s conftest.$ac_objext; then
33314 { echo "$as_me:$LINENO: result: found in default search path" >&5
33315 echo "${ECHO_T}found in default search path" >&6; }
33316 COMPILED_X_PROGRAM=1
33319 echo "$as_me: failed program was:" >&5
33320 sed 's/^/| /' conftest.$ac_ext >&5
33323 { echo "$as_me:$LINENO: result: no" >&5
33324 echo "${ECHO_T}no" >&6; }
33325 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33326 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33327 { (exit 1); exit 1; }; }
33332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33334 CFLAGS=$save_CFLAGS
33338 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33339 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33342 for ac_dir in $SEARCH_LIB
33344 for ac_extension in a so sl dylib dll.a; do
33345 if test -f "$ac_dir/libXm.$ac_extension"; then
33346 ac_find_libraries=$ac_dir
33353 if test "x$ac_find_libraries" != "x" ; then
33354 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33355 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33358 if test "$ac_find_libraries" = "default location"; then
33361 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33363 if test $result = 0; then
33366 ac_path_to_link=" -L$ac_find_libraries"
33370 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33372 save_CFLAGS=$CFLAGS
33373 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33375 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33377 cat >conftest.$ac_ext <<_ACEOF
33380 cat confdefs.h >>conftest.$ac_ext
33381 cat >>conftest.$ac_ext <<_ACEOF
33382 /* end confdefs.h. */
33391 version = xmUseVersion;
33397 rm -f conftest.$ac_objext conftest$ac_exeext
33398 if { (ac_try="$ac_link"
33399 case "(($ac_try" in
33400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33401 *) ac_try_echo=$ac_try;;
33403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33404 (eval "$ac_link") 2>conftest.er1
33406 grep -v '^ *+' conftest.er1 >conftest.err
33408 cat conftest.err >&5
33409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33410 (exit $ac_status); } && {
33411 test -z "$ac_c_werror_flag" ||
33412 test ! -s conftest.err
33413 } && test -s conftest$ac_exeext &&
33414 $as_test_x conftest$ac_exeext; then
33416 { echo "$as_me:$LINENO: result: found in default search path" >&5
33417 echo "${ECHO_T}found in default search path" >&6; }
33418 COMPILED_X_PROGRAM=1
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.$ac_ext >&5
33425 { echo "$as_me:$LINENO: result: no" >&5
33426 echo "${ECHO_T}no" >&6; }
33427 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33428 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33429 { (exit 1); exit 1; }; }
33434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33435 conftest$ac_exeext conftest.$ac_ext
33437 CFLAGS=$save_CFLAGS
33441 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33442 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33446 for libp in "" " -lXp"; do
33447 if test "$libs_found" = 0; then
33448 for libsm_ice in "" " -lSM -lICE"; do
33449 if test "$libs_found" = 0; then
33451 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33452 save_CFLAGS=$CFLAGS
33453 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33455 cat >conftest.$ac_ext <<_ACEOF
33458 cat confdefs.h >>conftest.$ac_ext
33459 cat >>conftest.$ac_ext <<_ACEOF
33460 /* end confdefs.h. */
33463 #include <Xm/List.h>
33469 XmString string = NULL;
33472 XmListAddItem(w, string, position);
33478 rm -f conftest.$ac_objext conftest$ac_exeext
33479 if { (ac_try="$ac_link"
33480 case "(($ac_try" in
33481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33482 *) ac_try_echo=$ac_try;;
33484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33485 (eval "$ac_link") 2>conftest.er1
33487 grep -v '^ *+' conftest.er1 >conftest.err
33489 cat conftest.err >&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } && {
33492 test -z "$ac_c_werror_flag" ||
33493 test ! -s conftest.err
33494 } && test -s conftest$ac_exeext &&
33495 $as_test_x conftest$ac_exeext; then
33498 libsm_ice_link="$libsm_ice"
33499 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33500 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.$ac_ext >&5
33511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33512 conftest$ac_exeext conftest.$ac_ext
33515 CFLAGS=$save_CFLAGS
33521 if test "$libs_found" = 0; then
33522 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33523 echo "${ECHO_T}can't find the right libraries" >&6; }
33524 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33525 echo "$as_me: error: can't link a simple motif program" >&2;}
33526 { (exit 1); exit 1; }; }
33529 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33530 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33531 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33532 echo $ECHO_N "(cached) $ECHO_C" >&6
33534 ac_check_lib_save_LIBS=$LIBS
33536 cat >conftest.$ac_ext <<_ACEOF
33539 cat confdefs.h >>conftest.$ac_ext
33540 cat >>conftest.$ac_ext <<_ACEOF
33541 /* end confdefs.h. */
33543 /* Override any GCC internal prototype to avoid an error.
33544 Use char because int might match the return type of a GCC
33545 builtin and then its argument prototype would still apply. */
33549 char SgCreateList ();
33553 return SgCreateList ();
33558 rm -f conftest.$ac_objext conftest$ac_exeext
33559 if { (ac_try="$ac_link"
33560 case "(($ac_try" in
33561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33562 *) ac_try_echo=$ac_try;;
33564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33565 (eval "$ac_link") 2>conftest.er1
33567 grep -v '^ *+' conftest.er1 >conftest.err
33569 cat conftest.err >&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); } && {
33572 test -z "$ac_c_werror_flag" ||
33573 test ! -s conftest.err
33574 } && test -s conftest$ac_exeext &&
33575 $as_test_x conftest$ac_exeext; then
33576 ac_cv_lib_Sgm_SgCreateList=yes
33578 echo "$as_me: failed program was:" >&5
33579 sed 's/^/| /' conftest.$ac_ext >&5
33581 ac_cv_lib_Sgm_SgCreateList=no
33584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33585 conftest$ac_exeext conftest.$ac_ext
33586 LIBS=$ac_check_lib_save_LIBS
33588 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33589 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33590 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33591 libsgm_link=" -lSgm"
33595 save_CFLAGS=$CFLAGS
33596 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33598 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33599 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33600 if test "${wx_cv_lib_motif2+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 cat >conftest.$ac_ext <<_ACEOF
33606 cat confdefs.h >>conftest.$ac_ext
33607 cat >>conftest.$ac_ext <<_ACEOF
33608 /* end confdefs.h. */
33616 #if XmVersion < 2000
33624 rm -f conftest.$ac_objext
33625 if { (ac_try="$ac_compile"
33626 case "(($ac_try" in
33627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33628 *) ac_try_echo=$ac_try;;
33630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33631 (eval "$ac_compile") 2>conftest.er1
33633 grep -v '^ *+' conftest.er1 >conftest.err
33635 cat conftest.err >&5
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); } && {
33638 test -z "$ac_c_werror_flag" ||
33639 test ! -s conftest.err
33640 } && test -s conftest.$ac_objext; then
33641 wx_cv_lib_motif2="yes"
33643 echo "$as_me: failed program was:" >&5
33644 sed 's/^/| /' conftest.$ac_ext >&5
33646 wx_cv_lib_motif2="no"
33649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33651 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33652 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33653 if test "$wx_cv_lib_motif2" = "yes"; then
33654 cat >>confdefs.h <<\_ACEOF
33655 #define __WXMOTIF20__ 1
33659 cat >>confdefs.h <<\_ACEOF
33660 #define __WXMOTIF20__ 0
33665 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33666 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33667 if test "${wx_cv_lib_lesstif+set}" = set; then
33668 echo $ECHO_N "(cached) $ECHO_C" >&6
33670 cat >conftest.$ac_ext <<_ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33683 #if !defined(LesstifVersion) || LesstifVersion <= 0
33691 rm -f conftest.$ac_objext
33692 if { (ac_try="$ac_compile"
33693 case "(($ac_try" in
33694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33695 *) ac_try_echo=$ac_try;;
33697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33698 (eval "$ac_compile") 2>conftest.er1
33700 grep -v '^ *+' conftest.er1 >conftest.err
33702 cat conftest.err >&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } && {
33705 test -z "$ac_c_werror_flag" ||
33706 test ! -s conftest.err
33707 } && test -s conftest.$ac_objext; then
33708 wx_cv_lib_lesstif="yes"
33710 echo "$as_me: failed program was:" >&5
33711 sed 's/^/| /' conftest.$ac_ext >&5
33713 wx_cv_lib_lesstif="no"
33716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33719 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33720 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33721 if test "$wx_cv_lib_lesstif" = "yes"; then
33722 cat >>confdefs.h <<\_ACEOF
33723 #define __WXLESSTIF__ 1
33727 cat >>confdefs.h <<\_ACEOF
33728 #define __WXLESSTIF__ 0
33733 CFLAGS=$save_CFLAGS
33735 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33740 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33741 if test "$wxUSE_LIBXPM" = "sys"; then
33742 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33743 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33746 for ac_dir in $SEARCH_LIB
33748 for ac_extension in a so sl dylib dll.a; do
33749 if test -f "$ac_dir/libXpm.$ac_extension"; then
33750 ac_find_libraries=$ac_dir
33756 if test "$ac_find_libraries" != "" ; then
33758 if test "$ac_find_libraries" = "default location"; then
33761 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33763 if test $result = 0; then
33766 ac_path_to_link=" -L$ac_find_libraries"
33770 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33771 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33772 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33774 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33775 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33776 if test "${wx_cv_x11_xpm_h+set}" = set; then
33777 echo $ECHO_N "(cached) $ECHO_C" >&6
33780 save_CFLAGS=$CFLAGS
33781 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33783 cat >conftest.$ac_ext <<_ACEOF
33786 cat confdefs.h >>conftest.$ac_ext
33787 cat >>conftest.$ac_ext <<_ACEOF
33788 /* end confdefs.h. */
33790 #include <X11/xpm.h>
33797 version = XpmLibraryVersion();
33803 rm -f conftest.$ac_objext
33804 if { (ac_try="$ac_compile"
33805 case "(($ac_try" in
33806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33807 *) ac_try_echo=$ac_try;;
33809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33810 (eval "$ac_compile") 2>conftest.er1
33812 grep -v '^ *+' conftest.er1 >conftest.err
33814 cat conftest.err >&5
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); } && {
33817 test -z "$ac_c_werror_flag" ||
33818 test ! -s conftest.err
33819 } && test -s conftest.$ac_objext; then
33820 wx_cv_x11_xpm_h=yes
33822 echo "$as_me: failed program was:" >&5
33823 sed 's/^/| /' conftest.$ac_ext >&5
33829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33831 CFLAGS=$save_CFLAGS
33835 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33836 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33838 if test $wx_cv_x11_xpm_h = "yes"; then
33839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33840 cat >>confdefs.h <<\_ACEOF
33841 #define wxHAVE_LIB_XPM 1
33845 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33846 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33852 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33853 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33854 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33855 echo $ECHO_N "(cached) $ECHO_C" >&6
33857 ac_check_lib_save_LIBS=$LIBS
33858 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33859 cat >conftest.$ac_ext <<_ACEOF
33862 cat confdefs.h >>conftest.$ac_ext
33863 cat >>conftest.$ac_ext <<_ACEOF
33864 /* end confdefs.h. */
33866 /* Override any GCC internal prototype to avoid an error.
33867 Use char because int might match the return type of a GCC
33868 builtin and then its argument prototype would still apply. */
33872 char XShapeQueryExtension ();
33876 return XShapeQueryExtension ();
33881 rm -f conftest.$ac_objext conftest$ac_exeext
33882 if { (ac_try="$ac_link"
33883 case "(($ac_try" in
33884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33885 *) ac_try_echo=$ac_try;;
33887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33888 (eval "$ac_link") 2>conftest.er1
33890 grep -v '^ *+' conftest.er1 >conftest.err
33892 cat conftest.err >&5
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); } && {
33895 test -z "$ac_c_werror_flag" ||
33896 test ! -s conftest.err
33897 } && test -s conftest$ac_exeext &&
33898 $as_test_x conftest$ac_exeext; then
33899 ac_cv_lib_Xext_XShapeQueryExtension=yes
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.$ac_ext >&5
33904 ac_cv_lib_Xext_XShapeQueryExtension=no
33907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33908 conftest$ac_exeext conftest.$ac_ext
33909 LIBS=$ac_check_lib_save_LIBS
33911 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33912 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33913 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33915 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33921 if test "$wxHAVE_XEXT_LIB" = 1; then
33922 save_CFLAGS="$CFLAGS"
33923 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33925 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33926 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33927 cat >conftest.$ac_ext <<_ACEOF
33930 cat confdefs.h >>conftest.$ac_ext
33931 cat >>conftest.$ac_ext <<_ACEOF
33932 /* end confdefs.h. */
33934 #include <X11/Xlib.h>
33935 #include <X11/extensions/shape.h>
33941 int dummy1, dummy2;
33942 XShapeQueryExtension((Display*)NULL,
33943 (int*)NULL, (int*)NULL);
33949 rm -f conftest.$ac_objext
33950 if { (ac_try="$ac_compile"
33951 case "(($ac_try" in
33952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33953 *) ac_try_echo=$ac_try;;
33955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33956 (eval "$ac_compile") 2>conftest.er1
33958 grep -v '^ *+' conftest.er1 >conftest.err
33960 cat conftest.err >&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); } && {
33963 test -z "$ac_c_werror_flag" ||
33964 test ! -s conftest.err
33965 } && test -s conftest.$ac_objext; then
33967 cat >>confdefs.h <<\_ACEOF
33968 #define HAVE_XSHAPE 1
33971 { echo "$as_me:$LINENO: result: found" >&5
33972 echo "${ECHO_T}found" >&6; }
33975 echo "$as_me: failed program was:" >&5
33976 sed 's/^/| /' conftest.$ac_ext >&5
33979 { echo "$as_me:$LINENO: result: not found" >&5
33980 echo "${ECHO_T}not found" >&6; }
33984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33985 CFLAGS="$save_CFLAGS"
33990 if test "$wxUSE_OSX_CARBON" = 1; then
33991 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33992 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33993 if test "$GCC" = yes; then
33994 { echo "$as_me:$LINENO: result: gcc" >&5
33995 echo "${ECHO_T}gcc" >&6; }
33996 CPPFLAGS_PASCAL="-fpascal-strings"
33997 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33998 { echo "$as_me:$LINENO: result: xlc" >&5
33999 echo "${ECHO_T}xlc" >&6; }
34000 CPPFLAGS_PASCAL="-qmacpstr"
34002 { echo "$as_me:$LINENO: result: none" >&5
34003 echo "${ECHO_T}none" >&6; }
34006 if test "x$wxUSE_UNIX" = "xyes"; then
34007 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34009 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34013 GUIDIST=OSX_CARBON_DIST
34014 WXBASEPORT="_carbon"
34016 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34019 if test "$wxUSE_OSX_COCOA" = 1; then
34021 GUIDIST=OSX_COCOA_DIST
34023 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34026 if test "$wxUSE_OSX_IPHONE" = 1; then
34030 if test "$wxUSE_OLD_COCOA" = 1; then
34035 if test "$wxUSE_PM" = 1; then
34038 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34039 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34040 if test "${wx_cv_spbcdata+set}" = set; then
34041 echo $ECHO_N "(cached) $ECHO_C" >&6
34044 cat >conftest.$ac_ext <<_ACEOF
34047 cat confdefs.h >>conftest.$ac_ext
34048 cat >>conftest.$ac_ext <<_ACEOF
34049 /* end confdefs.h. */
34064 rm -f conftest.$ac_objext
34065 if { (ac_try="$ac_compile"
34066 case "(($ac_try" in
34067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34068 *) ac_try_echo=$ac_try;;
34070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34071 (eval "$ac_compile") 2>conftest.er1
34073 grep -v '^ *+' conftest.er1 >conftest.err
34075 cat conftest.err >&5
34076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34077 (exit $ac_status); } && {
34078 test -z "$ac_c_werror_flag" ||
34079 test ! -s conftest.err
34080 } && test -s conftest.$ac_objext; then
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34094 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34095 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34097 if test $wx_cv_spbcdata = "yes"; then
34098 cat >>confdefs.h <<\_ACEOF
34099 #define HAVE_SPBCDATA 1
34105 if test "$TOOLKIT" = "PM" ; then
34108 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34111 if test "$wxUSE_UNIVERSAL" = "yes"; then
34112 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34116 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34117 DISTDIR="wx\$(TOOLKIT)"
34123 if test "$USE_WIN32" = 1 ; then
34127 GUIDIST="BASE_DIST"
34133 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34134 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34135 wxUSE_UNICODE_UTF8=yes
34136 elif test "$USE_OS2" = 1 ; then
34137 wxUSE_UNICODE_UTF8=yes
34139 wxUSE_UNICODE_UTF8=no
34144 if test "$wxUSE_GUI" = "yes"; then
34145 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34147 for ac_header in X11/Xlib.h
34149 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34150 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34153 echo $ECHO_N "(cached) $ECHO_C" >&6
34155 cat >conftest.$ac_ext <<_ACEOF
34158 cat confdefs.h >>conftest.$ac_ext
34159 cat >>conftest.$ac_ext <<_ACEOF
34160 /* end confdefs.h. */
34163 #include <$ac_header>
34165 rm -f conftest.$ac_objext
34166 if { (ac_try="$ac_compile"
34167 case "(($ac_try" in
34168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34169 *) ac_try_echo=$ac_try;;
34171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34172 (eval "$ac_compile") 2>conftest.er1
34174 grep -v '^ *+' conftest.er1 >conftest.err
34176 cat conftest.err >&5
34177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178 (exit $ac_status); } && {
34179 test -z "$ac_c_werror_flag" ||
34180 test ! -s conftest.err
34181 } && test -s conftest.$ac_objext; then
34182 eval "$as_ac_Header=yes"
34184 echo "$as_me: failed program was:" >&5
34185 sed 's/^/| /' conftest.$ac_ext >&5
34187 eval "$as_ac_Header=no"
34190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34192 ac_res=`eval echo '${'$as_ac_Header'}'`
34193 { echo "$as_me:$LINENO: result: $ac_res" >&5
34194 echo "${ECHO_T}$ac_res" >&6; }
34195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34196 cat >>confdefs.h <<_ACEOF
34197 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34205 for ac_header in X11/XKBlib.h
34207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34208 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34211 echo $ECHO_N "(cached) $ECHO_C" >&6
34213 cat >conftest.$ac_ext <<_ACEOF
34216 cat confdefs.h >>conftest.$ac_ext
34217 cat >>conftest.$ac_ext <<_ACEOF
34218 /* end confdefs.h. */
34220 #if HAVE_X11_XLIB_H
34221 #include <X11/Xlib.h>
34225 #include <$ac_header>
34227 rm -f conftest.$ac_objext
34228 if { (ac_try="$ac_compile"
34229 case "(($ac_try" in
34230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34231 *) ac_try_echo=$ac_try;;
34233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34234 (eval "$ac_compile") 2>conftest.er1
34236 grep -v '^ *+' conftest.er1 >conftest.err
34238 cat conftest.err >&5
34239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34240 (exit $ac_status); } && {
34241 test -z "$ac_c_werror_flag" ||
34242 test ! -s conftest.err
34243 } && test -s conftest.$ac_objext; then
34244 eval "$as_ac_Header=yes"
34246 echo "$as_me: failed program was:" >&5
34247 sed 's/^/| /' conftest.$ac_ext >&5
34249 eval "$as_ac_Header=no"
34252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34254 ac_res=`eval echo '${'$as_ac_Header'}'`
34255 { echo "$as_me:$LINENO: result: $ac_res" >&5
34256 echo "${ECHO_T}$ac_res" >&6; }
34257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34258 cat >>confdefs.h <<_ACEOF
34259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34272 if test "$wxUSE_DISPLAY" = "yes"; then
34273 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34274 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34275 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34278 for ac_dir in $SEARCH_LIB
34280 for ac_extension in a so sl dylib dll.a; do
34281 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34282 ac_find_libraries=$ac_dir
34288 if test "$ac_find_libraries" != "" ; then
34290 if test "$ac_find_libraries" = "default location"; then
34293 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34295 if test $result = 0; then
34298 ac_path_to_link=" -L$ac_find_libraries"
34302 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34303 LDFLAGS="$LDFLAGS $ac_path_to_link"
34306 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34307 { echo "$as_me:$LINENO: result: yes" >&5
34308 echo "${ECHO_T}yes" >&6; }
34310 { echo "$as_me:$LINENO: result: no" >&5
34311 echo "${ECHO_T}no" >&6; }
34312 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34313 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34316 elif test "$wxUSE_MSW" = 1; then
34317 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34318 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34319 if test "${ac_cv_header_ddraw_h+set}" = set; then
34320 echo $ECHO_N "(cached) $ECHO_C" >&6
34322 cat >conftest.$ac_ext <<_ACEOF
34325 cat confdefs.h >>conftest.$ac_ext
34326 cat >>conftest.$ac_ext <<_ACEOF
34327 /* end confdefs.h. */
34328 #include <windows.h>
34332 rm -f conftest.$ac_objext
34333 if { (ac_try="$ac_compile"
34334 case "(($ac_try" in
34335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34336 *) ac_try_echo=$ac_try;;
34338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34339 (eval "$ac_compile") 2>conftest.er1
34341 grep -v '^ *+' conftest.er1 >conftest.err
34343 cat conftest.err >&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); } && {
34346 test -z "$ac_c_werror_flag" ||
34347 test ! -s conftest.err
34348 } && test -s conftest.$ac_objext; then
34349 ac_cv_header_ddraw_h=yes
34351 echo "$as_me: failed program was:" >&5
34352 sed 's/^/| /' conftest.$ac_ext >&5
34354 ac_cv_header_ddraw_h=no
34357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34359 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34360 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34366 if test "$wxUSE_DISPLAY" = "yes"; then
34367 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34368 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34369 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34372 for ac_dir in $SEARCH_LIB
34374 for ac_extension in a so sl dylib dll.a; do
34375 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34376 ac_find_libraries=$ac_dir
34382 if test "$ac_find_libraries" != "" ; then
34383 { echo "$as_me:$LINENO: result: yes" >&5
34384 echo "${ECHO_T}yes" >&6; }
34386 for ac_header in X11/extensions/xf86vmode.h
34388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34392 echo $ECHO_N "(cached) $ECHO_C" >&6
34394 cat >conftest.$ac_ext <<_ACEOF
34397 cat confdefs.h >>conftest.$ac_ext
34398 cat >>conftest.$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34401 #if HAVE_X11_XLIB_H
34402 #include <X11/Xlib.h>
34406 #include <$ac_header>
34408 rm -f conftest.$ac_objext
34409 if { (ac_try="$ac_compile"
34410 case "(($ac_try" in
34411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34412 *) ac_try_echo=$ac_try;;
34414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34415 (eval "$ac_compile") 2>conftest.er1
34417 grep -v '^ *+' conftest.er1 >conftest.err
34419 cat conftest.err >&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); } && {
34422 test -z "$ac_c_werror_flag" ||
34423 test ! -s conftest.err
34424 } && test -s conftest.$ac_objext; then
34425 eval "$as_ac_Header=yes"
34427 echo "$as_me: failed program was:" >&5
34428 sed 's/^/| /' conftest.$ac_ext >&5
34430 eval "$as_ac_Header=no"
34433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34435 ac_res=`eval echo '${'$as_ac_Header'}'`
34436 { echo "$as_me:$LINENO: result: $ac_res" >&5
34437 echo "${ECHO_T}$ac_res" >&6; }
34438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34439 cat >>confdefs.h <<_ACEOF
34440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34443 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34450 { echo "$as_me:$LINENO: result: no" >&5
34451 echo "${ECHO_T}no" >&6; }
34456 if test "$wxUSE_DETECT_SM" = "yes"; then
34457 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34458 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34459 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34462 for ac_dir in $SEARCH_LIB
34464 for ac_extension in a so sl dylib dll.a; do
34465 if test -f "$ac_dir/libSM.$ac_extension"; then
34466 ac_find_libraries=$ac_dir
34472 if test "$ac_find_libraries" != "" ; then
34474 if test "$ac_find_libraries" = "default location"; then
34477 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34479 if test $result = 0; then
34482 ac_path_to_link=" -L$ac_find_libraries"
34486 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34487 LDFLAGS="$LDFLAGS $ac_path_to_link"
34489 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34490 { echo "$as_me:$LINENO: result: yes" >&5
34491 echo "${ECHO_T}yes" >&6; }
34493 { echo "$as_me:$LINENO: result: no" >&5
34494 echo "${ECHO_T}no" >&6; }
34495 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34496 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34497 wxUSE_DETECT_SM="no"
34500 wxUSE_DETECT_SM="no"
34507 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34510 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34511 OPENGL_LIBS="-framework OpenGL -framework AGL"
34512 elif test "$wxUSE_MSW" = 1; then
34513 OPENGL_LIBS="-lopengl32 -lglu32"
34514 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34516 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34517 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34520 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34522 if test -f "$ac_dir/GL/gl.h"; then
34523 ac_find_includes=$ac_dir
34528 if test "$ac_find_includes" != "" ; then
34529 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34530 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34532 if test "x$ac_find_includes" = "x/usr/include"; then
34533 ac_path_to_include=""
34535 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34537 if test $result = 0; then
34538 ac_path_to_include=""
34540 ac_path_to_include=" -I$ac_find_includes"
34544 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34546 { echo "$as_me:$LINENO: result: not found" >&5
34547 echo "${ECHO_T}not found" >&6; }
34550 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34551 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34552 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34553 echo $ECHO_N "(cached) $ECHO_C" >&6
34555 cat >conftest.$ac_ext <<_ACEOF
34558 cat confdefs.h >>conftest.$ac_ext
34559 cat >>conftest.$ac_ext <<_ACEOF
34560 /* end confdefs.h. */
34565 rm -f conftest.$ac_objext
34566 if { (ac_try="$ac_compile"
34567 case "(($ac_try" in
34568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34569 *) ac_try_echo=$ac_try;;
34571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34572 (eval "$ac_compile") 2>conftest.er1
34574 grep -v '^ *+' conftest.er1 >conftest.err
34576 cat conftest.err >&5
34577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34578 (exit $ac_status); } && {
34579 test -z "$ac_c_werror_flag" ||
34580 test ! -s conftest.err
34581 } && test -s conftest.$ac_objext; then
34582 ac_cv_header_GL_gl_h=yes
34584 echo "$as_me: failed program was:" >&5
34585 sed 's/^/| /' conftest.$ac_ext >&5
34587 ac_cv_header_GL_gl_h=no
34590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34592 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34593 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34594 if test $ac_cv_header_GL_gl_h = yes; then
34596 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34597 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34598 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34599 echo $ECHO_N "(cached) $ECHO_C" >&6
34601 cat >conftest.$ac_ext <<_ACEOF
34604 cat confdefs.h >>conftest.$ac_ext
34605 cat >>conftest.$ac_ext <<_ACEOF
34606 /* end confdefs.h. */
34609 #include <GL/glu.h>
34611 rm -f conftest.$ac_objext
34612 if { (ac_try="$ac_compile"
34613 case "(($ac_try" in
34614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34615 *) ac_try_echo=$ac_try;;
34617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34618 (eval "$ac_compile") 2>conftest.er1
34620 grep -v '^ *+' conftest.er1 >conftest.err
34622 cat conftest.err >&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); } && {
34625 test -z "$ac_c_werror_flag" ||
34626 test ! -s conftest.err
34627 } && test -s conftest.$ac_objext; then
34628 ac_cv_header_GL_glu_h=yes
34630 echo "$as_me: failed program was:" >&5
34631 sed 's/^/| /' conftest.$ac_ext >&5
34633 ac_cv_header_GL_glu_h=no
34636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34638 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34639 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34640 if test $ac_cv_header_GL_glu_h = yes; then
34644 { echo "$as_me:$LINENO: checking for -lGL" >&5
34645 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34648 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34650 for ac_extension in a so sl dylib dll.a; do
34651 if test -f "$ac_dir/libGL.$ac_extension"; then
34652 ac_find_libraries=$ac_dir
34658 if test "$ac_find_libraries" != "" ; then
34659 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34660 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34663 if test "$ac_find_libraries" = "default location"; then
34666 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34668 if test $result = 0; then
34671 ac_path_to_link=" -L$ac_find_libraries"
34675 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34676 LDFLAGS_GL="$ac_path_to_link"
34679 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34680 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34683 for ac_dir in $SEARCH_LIB
34685 for ac_extension in a so sl dylib dll.a; do
34686 if test -f "$ac_dir/libGLU.$ac_extension"; then
34687 ac_find_libraries=$ac_dir
34693 if test "$ac_find_libraries" != "" ; then
34695 if test "$ac_find_libraries" = "default location"; then
34698 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34700 if test $result = 0; then
34703 ac_path_to_link=" -L$ac_find_libraries"
34707 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34708 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34709 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34713 OPENGL_LIBS="-lGL -lGLU"
34714 { echo "$as_me:$LINENO: result: yes" >&5
34715 echo "${ECHO_T}yes" >&6; }
34717 { echo "$as_me:$LINENO: result: no" >&5
34718 echo "${ECHO_T}no" >&6; }
34721 { echo "$as_me:$LINENO: result: no" >&5
34722 echo "${ECHO_T}no" >&6; }
34725 if test "$found_gl" != 1; then
34726 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34727 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34730 for ac_dir in $SEARCH_LIB
34732 for ac_extension in a so sl dylib dll.a; do
34733 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34734 ac_find_libraries=$ac_dir
34740 if test "$ac_find_libraries" != "" ; then
34742 if test "$ac_find_libraries" = "default location"; then
34745 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34747 if test $result = 0; then
34750 ac_path_to_link=" -L$ac_find_libraries"
34754 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34755 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34756 { echo "$as_me:$LINENO: result: yes" >&5
34757 echo "${ECHO_T}yes" >&6; }
34759 { echo "$as_me:$LINENO: result: no" >&5
34760 echo "${ECHO_T}no" >&6; }
34772 if test "x$OPENGL_LIBS" = "x"; then
34773 if test "$wxUSE_OPENGL" = "yes"; then
34774 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34775 echo "$as_me: error: OpenGL libraries not available" >&2;}
34776 { (exit 1); exit 1; }; }
34778 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34779 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34785 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34786 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34790 if test "$wxUSE_OPENGL" = "auto"; then
34794 if test "$wxUSE_OPENGL" = "yes"; then
34796 cat >>confdefs.h <<\_ACEOF
34797 #define wxUSE_OPENGL 1
34800 cat >>confdefs.h <<\_ACEOF
34801 #define wxUSE_GLCANVAS 1
34804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34809 if test -n "$TOOLKIT" ; then
34810 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34815 if test "$wxUSE_SHARED" = "yes"; then
34819 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34820 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34825 if test "$wxUSE_SHARED" = "yes"; then
34829 *-*-cygwin* | *-*-mingw* )
34830 wx_cv_version_script=no
34834 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34835 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34836 if test "${wx_cv_version_script+set}" = set; then
34837 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 echo "VER_1 { *; };" >conftest.sym
34841 echo "int main() { return 0; }" >conftest.cpp
34844 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34845 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34847 (eval $ac_try) 2>&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); }; } ; then
34851 if test -s conftest.stderr ; then
34852 wx_cv_version_script=no
34854 wx_cv_version_script=yes
34857 wx_cv_version_script=no
34860 if test $wx_cv_version_script = yes
34862 echo "struct B { virtual ~B() { } }; \
34863 struct D : public B { }; \
34864 void F() { D d; }" > conftest.cpp
34867 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34868 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34870 (eval $ac_try) 2>&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); }; } &&
34875 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34876 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; }
34884 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34885 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34887 (eval $ac_try) 2>&5
34889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34890 (exit $ac_status); }; }
34892 wx_cv_version_script=yes
34894 wx_cv_version_script=no
34899 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34900 rm -f conftest1.output conftest2.output conftest3.output
34903 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34904 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34906 if test $wx_cv_version_script = yes ; then
34907 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34913 if test "$wxUSE_VISIBILITY" != "no"; then
34916 if test -n "$GCC"; then
34917 CFLAGS_VISIBILITY="-fvisibility=hidden"
34918 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34919 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34920 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34921 if test "${wx_cv_cc_visibility+set}" = set; then
34922 echo $ECHO_N "(cached) $ECHO_C" >&6
34925 wx_save_CXXFLAGS="$CXXFLAGS"
34926 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34928 ac_cpp='$CXXCPP $CPPFLAGS'
34929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34933 cat >conftest.$ac_ext <<_ACEOF
34936 cat confdefs.h >>conftest.$ac_ext
34937 cat >>conftest.$ac_ext <<_ACEOF
34938 /* end confdefs.h. */
34940 /* we need gcc >= 4.0, older versions with visibility support
34941 didn't have class visibility: */
34942 #if defined(__GNUC__) && __GNUC__ < 4
34943 error this gcc is too old;
34946 /* visibility only makes sense for ELF shared libs: */
34947 #if !defined(__ELF__) && !defined(__APPLE__)
34948 error this platform has no visibility;
34951 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34952 extern __attribute__((__visibility__("default"))) int exportedvar;
34953 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34954 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34955 class __attribute__((__visibility__("default"))) Foo {
34967 rm -f conftest.$ac_objext
34968 if { (ac_try="$ac_compile"
34969 case "(($ac_try" in
34970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34971 *) ac_try_echo=$ac_try;;
34973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34974 (eval "$ac_compile") 2>conftest.er1
34976 grep -v '^ *+' conftest.er1 >conftest.err
34978 cat conftest.err >&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); } && {
34981 test -z "$ac_cxx_werror_flag" ||
34982 test ! -s conftest.err
34983 } && test -s conftest.$ac_objext; then
34984 wx_cv_cc_visibility=yes
34986 echo "$as_me: failed program was:" >&5
34987 sed 's/^/| /' conftest.$ac_ext >&5
34989 wx_cv_cc_visibility=no
34992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34994 ac_cpp='$CPP $CPPFLAGS'
34995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34999 CXXFLAGS="$wx_save_CXXFLAGS"
35002 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35003 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35004 if test $wx_cv_cc_visibility = yes; then
35005 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35006 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35007 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35008 echo $ECHO_N "(cached) $ECHO_C" >&6
35011 wx_save_CXXFLAGS="$CXXFLAGS"
35012 wx_save_LDFLAGS="$LDFLAGS"
35013 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35014 LDFLAGS="$LDFLAGS -shared -fPIC"
35016 ac_cpp='$CXXCPP $CPPFLAGS'
35017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35021 cat >conftest.$ac_ext <<_ACEOF
35024 cat confdefs.h >>conftest.$ac_ext
35025 cat >>conftest.$ac_ext <<_ACEOF
35026 /* end confdefs.h. */
35034 std::string s("hello");
35041 rm -f conftest.$ac_objext conftest$ac_exeext
35042 if { (ac_try="$ac_link"
35043 case "(($ac_try" in
35044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35045 *) ac_try_echo=$ac_try;;
35047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35048 (eval "$ac_link") 2>conftest.er1
35050 grep -v '^ *+' conftest.er1 >conftest.err
35052 cat conftest.err >&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); } && {
35055 test -z "$ac_cxx_werror_flag" ||
35056 test ! -s conftest.err
35057 } && test -s conftest$ac_exeext &&
35058 $as_test_x conftest$ac_exeext; then
35059 wx_cv_cc_broken_libstdcxx_visibility=no
35061 echo "$as_me: failed program was:" >&5
35062 sed 's/^/| /' conftest.$ac_ext >&5
35064 wx_cv_cc_broken_libstdcxx_visibility=yes
35067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35068 conftest$ac_exeext conftest.$ac_ext
35070 ac_cpp='$CPP $CPPFLAGS'
35071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35075 CXXFLAGS="$wx_save_CXXFLAGS"
35076 LDFLAGS="$wx_save_LDFLAGS"
35079 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35080 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35082 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35083 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35084 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35085 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35086 echo $ECHO_N "(cached) $ECHO_C" >&6
35090 ac_cpp='$CXXCPP $CPPFLAGS'
35091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35095 cat >conftest.$ac_ext <<_ACEOF
35098 cat confdefs.h >>conftest.$ac_ext
35099 cat >>conftest.$ac_ext <<_ACEOF
35100 /* end confdefs.h. */
35102 #pragma GCC visibility push(default)
35104 #pragma GCC visibility pop
35110 std::string s("hello");
35117 rm -f conftest.$ac_objext conftest$ac_exeext
35118 if { (ac_try="$ac_link"
35119 case "(($ac_try" in
35120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35121 *) ac_try_echo=$ac_try;;
35123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35124 (eval "$ac_link") 2>conftest.er1
35126 grep -v '^ *+' conftest.er1 >conftest.err
35128 cat conftest.err >&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); } && {
35131 test -z "$ac_cxx_werror_flag" ||
35132 test ! -s conftest.err
35133 } && test -s conftest$ac_exeext &&
35134 $as_test_x conftest$ac_exeext; then
35135 wx_cv_cc_visibility_workaround=no
35137 echo "$as_me: failed program was:" >&5
35138 sed 's/^/| /' conftest.$ac_ext >&5
35140 wx_cv_cc_visibility_workaround=yes
35143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35144 conftest$ac_exeext conftest.$ac_ext
35146 ac_cpp='$CPP $CPPFLAGS'
35147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35154 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35155 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35157 if test $wx_cv_cc_visibility_workaround = no; then
35158 wx_cv_cc_visibility=no
35163 if test $wx_cv_cc_visibility = yes; then
35164 cat >>confdefs.h <<\_ACEOF
35165 #define HAVE_VISIBILITY 1
35168 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35169 cat >>confdefs.h <<\_ACEOF
35170 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35175 CFLAGS_VISIBILITY=""
35176 CXXFLAGS_VISIBILITY=""
35184 if test "x$SUNCXX" = xyes; then
35185 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35186 WXCONFIG_RPATH="-R\$libdir"
35189 *-*-linux* | *-*-gnu* )
35190 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35191 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35196 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35198 saveLdflags="$LDFLAGS"
35199 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35200 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35201 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35202 cat >conftest.$ac_ext <<_ACEOF
35205 cat confdefs.h >>conftest.$ac_ext
35206 cat >>conftest.$ac_ext <<_ACEOF
35207 /* end confdefs.h. */
35217 rm -f conftest.$ac_objext conftest$ac_exeext
35218 if { (ac_try="$ac_link"
35219 case "(($ac_try" in
35220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35221 *) ac_try_echo=$ac_try;;
35223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35224 (eval "$ac_link") 2>conftest.er1
35226 grep -v '^ *+' conftest.er1 >conftest.err
35228 cat conftest.err >&5
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); } && {
35231 test -z "$ac_c_werror_flag" ||
35232 test ! -s conftest.err
35233 } && test -s conftest$ac_exeext &&
35234 $as_test_x conftest$ac_exeext; then
35236 { echo "$as_me:$LINENO: result: yes" >&5
35237 echo "${ECHO_T}yes" >&6; }
35238 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35239 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35242 echo "$as_me: failed program was:" >&5
35243 sed 's/^/| /' conftest.$ac_ext >&5
35246 { echo "$as_me:$LINENO: result: no" >&5
35247 echo "${ECHO_T}no" >&6; }
35248 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35249 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35250 LDFLAGS="$saveLdflags -Wl,-R,/"
35251 cat >conftest.$ac_ext <<_ACEOF
35254 cat confdefs.h >>conftest.$ac_ext
35255 cat >>conftest.$ac_ext <<_ACEOF
35256 /* end confdefs.h. */
35266 rm -f conftest.$ac_objext conftest$ac_exeext
35267 if { (ac_try="$ac_link"
35268 case "(($ac_try" in
35269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35270 *) ac_try_echo=$ac_try;;
35272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35273 (eval "$ac_link") 2>conftest.er1
35275 grep -v '^ *+' conftest.er1 >conftest.err
35277 cat conftest.err >&5
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); } && {
35280 test -z "$ac_c_werror_flag" ||
35281 test ! -s conftest.err
35282 } && test -s conftest$ac_exeext &&
35283 $as_test_x conftest$ac_exeext; then
35285 { echo "$as_me:$LINENO: result: yes" >&5
35286 echo "${ECHO_T}yes" >&6; }
35287 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35288 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35291 echo "$as_me: failed program was:" >&5
35292 sed 's/^/| /' conftest.$ac_ext >&5
35295 { echo "$as_me:$LINENO: result: no" >&5
35296 echo "${ECHO_T}no" >&6; }
35300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35301 conftest$ac_exeext conftest.$ac_ext
35305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35306 conftest$ac_exeext conftest.$ac_ext
35307 LDFLAGS="$saveLdflags"
35311 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35312 if test "$install_name_tool" -a -x "$install_name_tool"; then
35313 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35314 cat <<EOF >change-install-names
35316 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35317 for i in \${libnames} ; do
35318 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35319 for dep in \${libnames} ; do
35320 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35324 chmod +x change-install-names
35325 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35328 HEADER_PAD_OPTION="-headerpad_max_install_names"
35331 *-*-cygwin* | *-*-mingw32* )
35335 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35336 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35342 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35344 if test $wxUSE_RPATH = "no"; then
35345 SAMPLES_RPATH_FLAG=''
35346 DYLIB_PATH_POSTLINK=''
35354 config_linkage_component="-static"
35361 lib_unicode_suffix=
35363 if test "$wxUSE_UNICODE" = "yes"; then
35364 lib_unicode_suffix=u
35365 WX_CHARTYPE="unicode"
35369 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35370 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35373 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35377 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35379 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35381 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35384 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35385 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35387 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35389 if test "${TOOLKIT_DIR}" = "os2"; then
35390 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35392 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35397 if test "$wxUSE_OLD_COCOA" = 1; then
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35407 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35408 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35409 cat >conftest.$ac_ext <<_ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35415 #include <AppKit/NSEvent.h>
35416 #include <CoreFoundation/CoreFoundation.h>
35426 rm -f conftest.$ac_objext
35427 if { (ac_try="$ac_compile"
35428 case "(($ac_try" in
35429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35430 *) ac_try_echo=$ac_try;;
35432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35433 (eval "$ac_compile") 2>conftest.er1
35435 grep -v '^ *+' conftest.er1 >conftest.err
35437 cat conftest.err >&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } && {
35440 test -z "$ac_c_werror_flag" ||
35441 test ! -s conftest.err
35442 } && test -s conftest.$ac_objext; then
35443 { echo "$as_me:$LINENO: result: no" >&5
35444 echo "${ECHO_T}no" >&6; }
35446 echo "$as_me: failed program was:" >&5
35447 sed 's/^/| /' conftest.$ac_ext >&5
35449 { echo "$as_me:$LINENO: result: yes" >&5
35450 echo "${ECHO_T}yes" >&6; }
35451 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35452 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35453 cat >conftest.$ac_ext <<_ACEOF
35456 cat confdefs.h >>conftest.$ac_ext
35457 cat >>conftest.$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35459 #define __Point__ 1
35460 #include <AppKit/NSEvent.h>
35461 #include <CoreFoundation/CoreFoundation.h>
35471 rm -f conftest.$ac_objext
35472 if { (ac_try="$ac_compile"
35473 case "(($ac_try" in
35474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35475 *) ac_try_echo=$ac_try;;
35477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35478 (eval "$ac_compile") 2>conftest.er1
35480 grep -v '^ *+' conftest.er1 >conftest.err
35482 cat conftest.err >&5
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); } && {
35485 test -z "$ac_c_werror_flag" ||
35486 test ! -s conftest.err
35487 } && test -s conftest.$ac_objext; then
35488 { echo "$as_me:$LINENO: result: yes" >&5
35489 echo "${ECHO_T}yes" >&6; }
35490 cat >>confdefs.h <<\_ACEOF
35491 #define __Point__ 1
35496 echo "$as_me: failed program was:" >&5
35497 sed 's/^/| /' conftest.$ac_ext >&5
35499 { { echo "$as_me:$LINENO: error: no
35500 See \`config.log' for more details." >&5
35501 echo "$as_me: error: no
35502 See \`config.log' for more details." >&2;}
35503 { (exit 1); exit 1; }; }
35507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35513 ac_cpp='$CPP $CPPFLAGS'
35514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35521 { echo "$as_me:$LINENO: checking for mode_t" >&5
35522 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35523 if test "${ac_cv_type_mode_t+set}" = set; then
35524 echo $ECHO_N "(cached) $ECHO_C" >&6
35526 cat >conftest.$ac_ext <<_ACEOF
35529 cat confdefs.h >>conftest.$ac_ext
35530 cat >>conftest.$ac_ext <<_ACEOF
35531 /* end confdefs.h. */
35532 $ac_includes_default
35533 typedef mode_t ac__type_new_;
35537 if ((ac__type_new_ *) 0)
35539 if (sizeof (ac__type_new_))
35545 rm -f conftest.$ac_objext
35546 if { (ac_try="$ac_compile"
35547 case "(($ac_try" in
35548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35549 *) ac_try_echo=$ac_try;;
35551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35552 (eval "$ac_compile") 2>conftest.er1
35554 grep -v '^ *+' conftest.er1 >conftest.err
35556 cat conftest.err >&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); } && {
35559 test -z "$ac_c_werror_flag" ||
35560 test ! -s conftest.err
35561 } && test -s conftest.$ac_objext; then
35562 ac_cv_type_mode_t=yes
35564 echo "$as_me: failed program was:" >&5
35565 sed 's/^/| /' conftest.$ac_ext >&5
35567 ac_cv_type_mode_t=no
35570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35572 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35573 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35574 if test $ac_cv_type_mode_t = yes; then
35578 cat >>confdefs.h <<_ACEOF
35584 { echo "$as_me:$LINENO: checking for off_t" >&5
35585 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35586 if test "${ac_cv_type_off_t+set}" = set; then
35587 echo $ECHO_N "(cached) $ECHO_C" >&6
35589 cat >conftest.$ac_ext <<_ACEOF
35592 cat confdefs.h >>conftest.$ac_ext
35593 cat >>conftest.$ac_ext <<_ACEOF
35594 /* end confdefs.h. */
35595 $ac_includes_default
35596 typedef off_t ac__type_new_;
35600 if ((ac__type_new_ *) 0)
35602 if (sizeof (ac__type_new_))
35608 rm -f conftest.$ac_objext
35609 if { (ac_try="$ac_compile"
35610 case "(($ac_try" in
35611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35612 *) ac_try_echo=$ac_try;;
35614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35615 (eval "$ac_compile") 2>conftest.er1
35617 grep -v '^ *+' conftest.er1 >conftest.err
35619 cat conftest.err >&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); } && {
35622 test -z "$ac_c_werror_flag" ||
35623 test ! -s conftest.err
35624 } && test -s conftest.$ac_objext; then
35625 ac_cv_type_off_t=yes
35627 echo "$as_me: failed program was:" >&5
35628 sed 's/^/| /' conftest.$ac_ext >&5
35630 ac_cv_type_off_t=no
35633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35635 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35636 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35637 if test $ac_cv_type_off_t = yes; then
35641 cat >>confdefs.h <<_ACEOF
35642 #define off_t long int
35647 { echo "$as_me:$LINENO: checking for pid_t" >&5
35648 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35649 if test "${ac_cv_type_pid_t+set}" = set; then
35650 echo $ECHO_N "(cached) $ECHO_C" >&6
35652 cat >conftest.$ac_ext <<_ACEOF
35655 cat confdefs.h >>conftest.$ac_ext
35656 cat >>conftest.$ac_ext <<_ACEOF
35657 /* end confdefs.h. */
35658 $ac_includes_default
35659 typedef pid_t ac__type_new_;
35663 if ((ac__type_new_ *) 0)
35665 if (sizeof (ac__type_new_))
35671 rm -f conftest.$ac_objext
35672 if { (ac_try="$ac_compile"
35673 case "(($ac_try" in
35674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35675 *) ac_try_echo=$ac_try;;
35677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35678 (eval "$ac_compile") 2>conftest.er1
35680 grep -v '^ *+' conftest.er1 >conftest.err
35682 cat conftest.err >&5
35683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684 (exit $ac_status); } && {
35685 test -z "$ac_c_werror_flag" ||
35686 test ! -s conftest.err
35687 } && test -s conftest.$ac_objext; then
35688 ac_cv_type_pid_t=yes
35690 echo "$as_me: failed program was:" >&5
35691 sed 's/^/| /' conftest.$ac_ext >&5
35693 ac_cv_type_pid_t=no
35696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35698 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35699 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35700 if test $ac_cv_type_pid_t = yes; then
35704 cat >>confdefs.h <<_ACEOF
35710 { echo "$as_me:$LINENO: checking for size_t" >&5
35711 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35712 if test "${ac_cv_type_size_t+set}" = set; then
35713 echo $ECHO_N "(cached) $ECHO_C" >&6
35715 cat >conftest.$ac_ext <<_ACEOF
35718 cat confdefs.h >>conftest.$ac_ext
35719 cat >>conftest.$ac_ext <<_ACEOF
35720 /* end confdefs.h. */
35721 $ac_includes_default
35722 typedef size_t ac__type_new_;
35726 if ((ac__type_new_ *) 0)
35728 if (sizeof (ac__type_new_))
35734 rm -f conftest.$ac_objext
35735 if { (ac_try="$ac_compile"
35736 case "(($ac_try" in
35737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35738 *) ac_try_echo=$ac_try;;
35740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35741 (eval "$ac_compile") 2>conftest.er1
35743 grep -v '^ *+' conftest.er1 >conftest.err
35745 cat conftest.err >&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); } && {
35748 test -z "$ac_c_werror_flag" ||
35749 test ! -s conftest.err
35750 } && test -s conftest.$ac_objext; then
35751 ac_cv_type_size_t=yes
35753 echo "$as_me: failed program was:" >&5
35754 sed 's/^/| /' conftest.$ac_ext >&5
35756 ac_cv_type_size_t=no
35759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35761 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35762 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35763 if test $ac_cv_type_size_t = yes; then
35767 cat >>confdefs.h <<_ACEOF
35768 #define size_t unsigned int
35774 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35775 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35776 if test "${ac_cv_type_ssize_t+set}" = set; then
35777 echo $ECHO_N "(cached) $ECHO_C" >&6
35779 cat >conftest.$ac_ext <<_ACEOF
35782 cat confdefs.h >>conftest.$ac_ext
35783 cat >>conftest.$ac_ext <<_ACEOF
35784 /* end confdefs.h. */
35785 $ac_includes_default
35786 typedef ssize_t ac__type_new_;
35790 if ((ac__type_new_ *) 0)
35792 if (sizeof (ac__type_new_))
35798 rm -f conftest.$ac_objext
35799 if { (ac_try="$ac_compile"
35800 case "(($ac_try" in
35801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35802 *) ac_try_echo=$ac_try;;
35804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35805 (eval "$ac_compile") 2>conftest.er1
35807 grep -v '^ *+' conftest.er1 >conftest.err
35809 cat conftest.err >&5
35810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811 (exit $ac_status); } && {
35812 test -z "$ac_c_werror_flag" ||
35813 test ! -s conftest.err
35814 } && test -s conftest.$ac_objext; then
35815 ac_cv_type_ssize_t=yes
35817 echo "$as_me: failed program was:" >&5
35818 sed 's/^/| /' conftest.$ac_ext >&5
35820 ac_cv_type_ssize_t=no
35823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35825 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35826 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35827 if test $ac_cv_type_ssize_t = yes; then
35829 cat >>confdefs.h <<_ACEOF
35830 #define HAVE_SSIZE_T 1
35838 ac_cpp='$CXXCPP $CPPFLAGS'
35839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35842 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35843 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35844 if test "${wx_cv_size_t_is_uint+set}" = set; then
35845 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 cat >conftest.$ac_ext <<_ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854 #include <stddef.h>
35861 struct Foo { void foo(size_t); void foo(unsigned int); };
35869 rm -f conftest.$ac_objext
35870 if { (ac_try="$ac_compile"
35871 case "(($ac_try" in
35872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35873 *) ac_try_echo=$ac_try;;
35875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35876 (eval "$ac_compile") 2>conftest.er1
35878 grep -v '^ *+' conftest.er1 >conftest.err
35880 cat conftest.err >&5
35881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 (exit $ac_status); } && {
35883 test -z "$ac_cxx_werror_flag" ||
35884 test ! -s conftest.err
35885 } && test -s conftest.$ac_objext; then
35886 wx_cv_size_t_is_uint=no
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.$ac_ext >&5
35891 wx_cv_size_t_is_uint=yes
35895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35899 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35900 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35902 if test "$wx_cv_size_t_is_uint" = "yes"; then
35903 cat >>confdefs.h <<\_ACEOF
35904 #define wxSIZE_T_IS_UINT 1
35908 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35909 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35910 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35911 echo $ECHO_N "(cached) $ECHO_C" >&6
35913 cat >conftest.$ac_ext <<_ACEOF
35916 cat confdefs.h >>conftest.$ac_ext
35917 cat >>conftest.$ac_ext <<_ACEOF
35918 /* end confdefs.h. */
35919 #include <stddef.h>
35926 struct Foo { void foo(size_t); void foo(unsigned long); };
35934 rm -f conftest.$ac_objext
35935 if { (ac_try="$ac_compile"
35936 case "(($ac_try" in
35937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35938 *) ac_try_echo=$ac_try;;
35940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35941 (eval "$ac_compile") 2>conftest.er1
35943 grep -v '^ *+' conftest.er1 >conftest.err
35945 cat conftest.err >&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } && {
35948 test -z "$ac_cxx_werror_flag" ||
35949 test ! -s conftest.err
35950 } && test -s conftest.$ac_objext; then
35951 wx_cv_size_t_is_ulong=no
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.$ac_ext >&5
35956 wx_cv_size_t_is_ulong=yes
35960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35963 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35964 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35966 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35967 cat >>confdefs.h <<\_ACEOF
35968 #define wxSIZE_T_IS_ULONG 1
35974 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35975 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35976 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35977 echo $ECHO_N "(cached) $ECHO_C" >&6
35979 cat >conftest.$ac_ext <<_ACEOF
35982 cat confdefs.h >>conftest.$ac_ext
35983 cat >>conftest.$ac_ext <<_ACEOF
35984 /* end confdefs.h. */
35992 struct Foo { void foo(wchar_t);
35993 void foo(unsigned short);
35994 void foo(unsigned int);
35995 void foo(unsigned long); };
36003 rm -f conftest.$ac_objext
36004 if { (ac_try="$ac_compile"
36005 case "(($ac_try" in
36006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36007 *) ac_try_echo=$ac_try;;
36009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36010 (eval "$ac_compile") 2>conftest.er1
36012 grep -v '^ *+' conftest.er1 >conftest.err
36014 cat conftest.err >&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); } && {
36017 test -z "$ac_cxx_werror_flag" ||
36018 test ! -s conftest.err
36019 } && test -s conftest.$ac_objext; then
36020 wx_cv_wchar_t_is_separate_type=yes
36022 echo "$as_me: failed program was:" >&5
36023 sed 's/^/| /' conftest.$ac_ext >&5
36025 wx_cv_wchar_t_is_separate_type=no
36029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36032 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36033 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36035 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36036 cat >>confdefs.h <<\_ACEOF
36037 #define wxWCHAR_T_IS_REAL_TYPE 1
36041 cat >>confdefs.h <<\_ACEOF
36042 #define wxWCHAR_T_IS_REAL_TYPE 0
36048 ac_cpp='$CPP $CPPFLAGS'
36049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36054 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36055 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36056 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36057 echo $ECHO_N "(cached) $ECHO_C" >&6
36060 cat >conftest.$ac_ext <<_ACEOF
36063 cat confdefs.h >>conftest.$ac_ext
36064 cat >>conftest.$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36079 rm -f conftest.$ac_objext
36080 if { (ac_try="$ac_compile"
36081 case "(($ac_try" in
36082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36083 *) ac_try_echo=$ac_try;;
36085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36086 (eval "$ac_compile") 2>conftest.er1
36088 grep -v '^ *+' conftest.er1 >conftest.err
36090 cat conftest.err >&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } && {
36093 test -z "$ac_c_werror_flag" ||
36094 test ! -s conftest.err
36095 } && test -s conftest.$ac_objext; then
36097 wx_cv_struct_pw_gecos=yes
36100 echo "$as_me: failed program was:" >&5
36101 sed 's/^/| /' conftest.$ac_ext >&5
36104 wx_cv_struct_pw_gecos=no
36109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36113 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36114 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36116 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36117 cat >>confdefs.h <<\_ACEOF
36118 #define HAVE_PW_GECOS 1
36127 for ac_func in wcslen
36129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36130 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36132 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36133 echo $ECHO_N "(cached) $ECHO_C" >&6
36135 cat >conftest.$ac_ext <<_ACEOF
36138 cat confdefs.h >>conftest.$ac_ext
36139 cat >>conftest.$ac_ext <<_ACEOF
36140 /* end confdefs.h. */
36141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36143 #define $ac_func innocuous_$ac_func
36145 /* System header to define __stub macros and hopefully few prototypes,
36146 which can conflict with char $ac_func (); below.
36147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36148 <limits.h> exists even on freestanding compilers. */
36151 # include <limits.h>
36153 # include <assert.h>
36158 /* Override any GCC internal prototype to avoid an error.
36159 Use char because int might match the return type of a GCC
36160 builtin and then its argument prototype would still apply. */
36165 /* The GNU C library defines this for functions which it implements
36166 to always fail with ENOSYS. Some functions are actually named
36167 something starting with __ and the normal name is an alias. */
36168 #if defined __stub_$ac_func || defined __stub___$ac_func
36175 return $ac_func ();
36180 rm -f conftest.$ac_objext conftest$ac_exeext
36181 if { (ac_try="$ac_link"
36182 case "(($ac_try" in
36183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36184 *) ac_try_echo=$ac_try;;
36186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36187 (eval "$ac_link") 2>conftest.er1
36189 grep -v '^ *+' conftest.er1 >conftest.err
36191 cat conftest.err >&5
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); } && {
36194 test -z "$ac_c_werror_flag" ||
36195 test ! -s conftest.err
36196 } && test -s conftest$ac_exeext &&
36197 $as_test_x conftest$ac_exeext; then
36198 eval "$as_ac_var=yes"
36200 echo "$as_me: failed program was:" >&5
36201 sed 's/^/| /' conftest.$ac_ext >&5
36203 eval "$as_ac_var=no"
36206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36207 conftest$ac_exeext conftest.$ac_ext
36209 ac_res=`eval echo '${'$as_ac_var'}'`
36210 { echo "$as_me:$LINENO: result: $ac_res" >&5
36211 echo "${ECHO_T}$ac_res" >&6; }
36212 if test `eval echo '${'$as_ac_var'}'` = yes; then
36213 cat >>confdefs.h <<_ACEOF
36214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36221 if test "$WCSLEN_FOUND" = 0; then
36222 if test "$TOOLKIT" = "MSW"; then
36223 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36224 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36225 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36226 echo $ECHO_N "(cached) $ECHO_C" >&6
36228 ac_check_lib_save_LIBS=$LIBS
36229 LIBS="-lmsvcrt $LIBS"
36230 cat >conftest.$ac_ext <<_ACEOF
36233 cat confdefs.h >>conftest.$ac_ext
36234 cat >>conftest.$ac_ext <<_ACEOF
36235 /* end confdefs.h. */
36237 /* Override any GCC internal prototype to avoid an error.
36238 Use char because int might match the return type of a GCC
36239 builtin and then its argument prototype would still apply. */
36252 rm -f conftest.$ac_objext conftest$ac_exeext
36253 if { (ac_try="$ac_link"
36254 case "(($ac_try" in
36255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36256 *) ac_try_echo=$ac_try;;
36258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36259 (eval "$ac_link") 2>conftest.er1
36261 grep -v '^ *+' conftest.er1 >conftest.err
36263 cat conftest.err >&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); } && {
36266 test -z "$ac_c_werror_flag" ||
36267 test ! -s conftest.err
36268 } && test -s conftest$ac_exeext &&
36269 $as_test_x conftest$ac_exeext; then
36270 ac_cv_lib_msvcrt_wcslen=yes
36272 echo "$as_me: failed program was:" >&5
36273 sed 's/^/| /' conftest.$ac_ext >&5
36275 ac_cv_lib_msvcrt_wcslen=no
36278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36279 conftest$ac_exeext conftest.$ac_ext
36280 LIBS=$ac_check_lib_save_LIBS
36282 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36283 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36284 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36289 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36290 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36291 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36292 echo $ECHO_N "(cached) $ECHO_C" >&6
36294 ac_check_lib_save_LIBS=$LIBS
36296 cat >conftest.$ac_ext <<_ACEOF
36299 cat confdefs.h >>conftest.$ac_ext
36300 cat >>conftest.$ac_ext <<_ACEOF
36301 /* end confdefs.h. */
36303 /* Override any GCC internal prototype to avoid an error.
36304 Use char because int might match the return type of a GCC
36305 builtin and then its argument prototype would still apply. */
36318 rm -f conftest.$ac_objext conftest$ac_exeext
36319 if { (ac_try="$ac_link"
36320 case "(($ac_try" in
36321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36322 *) ac_try_echo=$ac_try;;
36324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36325 (eval "$ac_link") 2>conftest.er1
36327 grep -v '^ *+' conftest.er1 >conftest.err
36329 cat conftest.err >&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); } && {
36332 test -z "$ac_c_werror_flag" ||
36333 test ! -s conftest.err
36334 } && test -s conftest$ac_exeext &&
36335 $as_test_x conftest$ac_exeext; then
36336 ac_cv_lib_w_wcslen=yes
36338 echo "$as_me: failed program was:" >&5
36339 sed 's/^/| /' conftest.$ac_ext >&5
36341 ac_cv_lib_w_wcslen=no
36344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36345 conftest$ac_exeext conftest.$ac_ext
36346 LIBS=$ac_check_lib_save_LIBS
36348 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36349 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36350 if test $ac_cv_lib_w_wcslen = yes; then
36360 if test "$WCSLEN_FOUND" = 1; then
36361 cat >>confdefs.h <<\_ACEOF
36362 #define HAVE_WCSLEN 1
36373 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36378 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36379 echo $ECHO_N "(cached) $ECHO_C" >&6
36381 cat >conftest.$ac_ext <<_ACEOF
36384 cat confdefs.h >>conftest.$ac_ext
36385 cat >>conftest.$ac_ext <<_ACEOF
36386 /* end confdefs.h. */
36387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36389 #define $ac_func innocuous_$ac_func
36391 /* System header to define __stub macros and hopefully few prototypes,
36392 which can conflict with char $ac_func (); below.
36393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36394 <limits.h> exists even on freestanding compilers. */
36397 # include <limits.h>
36399 # include <assert.h>
36404 /* Override any GCC internal prototype to avoid an error.
36405 Use char because int might match the return type of a GCC
36406 builtin and then its argument prototype would still apply. */
36411 /* The GNU C library defines this for functions which it implements
36412 to always fail with ENOSYS. Some functions are actually named
36413 something starting with __ and the normal name is an alias. */
36414 #if defined __stub_$ac_func || defined __stub___$ac_func
36421 return $ac_func ();
36426 rm -f conftest.$ac_objext conftest$ac_exeext
36427 if { (ac_try="$ac_link"
36428 case "(($ac_try" in
36429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36430 *) ac_try_echo=$ac_try;;
36432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36433 (eval "$ac_link") 2>conftest.er1
36435 grep -v '^ *+' conftest.er1 >conftest.err
36437 cat conftest.err >&5
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); } && {
36440 test -z "$ac_c_werror_flag" ||
36441 test ! -s conftest.err
36442 } && test -s conftest$ac_exeext &&
36443 $as_test_x conftest$ac_exeext; then
36444 eval "$as_ac_var=yes"
36446 echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.$ac_ext >&5
36449 eval "$as_ac_var=no"
36452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36453 conftest$ac_exeext conftest.$ac_ext
36455 ac_res=`eval echo '${'$as_ac_var'}'`
36456 { echo "$as_me:$LINENO: result: $ac_res" >&5
36457 echo "${ECHO_T}$ac_res" >&6; }
36458 if test `eval echo '${'$as_ac_var'}'` = yes; then
36459 cat >>confdefs.h <<_ACEOF
36460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36467 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36468 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36471 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36472 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36473 if test "${ac_cv_type_mbstate_t+set}" = set; then
36474 echo $ECHO_N "(cached) $ECHO_C" >&6
36476 cat >conftest.$ac_ext <<_ACEOF
36479 cat confdefs.h >>conftest.$ac_ext
36480 cat >>conftest.$ac_ext <<_ACEOF
36481 /* end confdefs.h. */
36484 typedef mbstate_t ac__type_new_;
36488 if ((ac__type_new_ *) 0)
36490 if (sizeof (ac__type_new_))
36496 rm -f conftest.$ac_objext
36497 if { (ac_try="$ac_compile"
36498 case "(($ac_try" in
36499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36500 *) ac_try_echo=$ac_try;;
36502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36503 (eval "$ac_compile") 2>conftest.er1
36505 grep -v '^ *+' conftest.er1 >conftest.err
36507 cat conftest.err >&5
36508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36509 (exit $ac_status); } && {
36510 test -z "$ac_c_werror_flag" ||
36511 test ! -s conftest.err
36512 } && test -s conftest.$ac_objext; then
36513 ac_cv_type_mbstate_t=yes
36515 echo "$as_me: failed program was:" >&5
36516 sed 's/^/| /' conftest.$ac_ext >&5
36518 ac_cv_type_mbstate_t=no
36521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36523 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36524 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36525 if test $ac_cv_type_mbstate_t = yes; then
36527 cat >>confdefs.h <<_ACEOF
36528 #define HAVE_MBSTATE_T 1
36532 for ac_func in wcsrtombs
36534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36538 echo $ECHO_N "(cached) $ECHO_C" >&6
36540 cat >conftest.$ac_ext <<_ACEOF
36543 cat confdefs.h >>conftest.$ac_ext
36544 cat >>conftest.$ac_ext <<_ACEOF
36545 /* end confdefs.h. */
36546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36548 #define $ac_func innocuous_$ac_func
36550 /* System header to define __stub macros and hopefully few prototypes,
36551 which can conflict with char $ac_func (); below.
36552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36553 <limits.h> exists even on freestanding compilers. */
36556 # include <limits.h>
36558 # include <assert.h>
36563 /* Override any GCC internal prototype to avoid an error.
36564 Use char because int might match the return type of a GCC
36565 builtin and then its argument prototype would still apply. */
36570 /* The GNU C library defines this for functions which it implements
36571 to always fail with ENOSYS. Some functions are actually named
36572 something starting with __ and the normal name is an alias. */
36573 #if defined __stub_$ac_func || defined __stub___$ac_func
36580 return $ac_func ();
36585 rm -f conftest.$ac_objext conftest$ac_exeext
36586 if { (ac_try="$ac_link"
36587 case "(($ac_try" in
36588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36589 *) ac_try_echo=$ac_try;;
36591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36592 (eval "$ac_link") 2>conftest.er1
36594 grep -v '^ *+' conftest.er1 >conftest.err
36596 cat conftest.err >&5
36597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36598 (exit $ac_status); } && {
36599 test -z "$ac_c_werror_flag" ||
36600 test ! -s conftest.err
36601 } && test -s conftest$ac_exeext &&
36602 $as_test_x conftest$ac_exeext; then
36603 eval "$as_ac_var=yes"
36605 echo "$as_me: failed program was:" >&5
36606 sed 's/^/| /' conftest.$ac_ext >&5
36608 eval "$as_ac_var=no"
36611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36612 conftest$ac_exeext conftest.$ac_ext
36614 ac_res=`eval echo '${'$as_ac_var'}'`
36615 { echo "$as_me:$LINENO: result: $ac_res" >&5
36616 echo "${ECHO_T}$ac_res" >&6; }
36617 if test `eval echo '${'$as_ac_var'}'` = yes; then
36618 cat >>confdefs.h <<_ACEOF
36619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36631 for ac_func in snprintf vsnprintf vsscanf
36633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36637 echo $ECHO_N "(cached) $ECHO_C" >&6
36639 cat >conftest.$ac_ext <<_ACEOF
36642 cat confdefs.h >>conftest.$ac_ext
36643 cat >>conftest.$ac_ext <<_ACEOF
36644 /* end confdefs.h. */
36645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36647 #define $ac_func innocuous_$ac_func
36649 /* System header to define __stub macros and hopefully few prototypes,
36650 which can conflict with char $ac_func (); below.
36651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36652 <limits.h> exists even on freestanding compilers. */
36655 # include <limits.h>
36657 # include <assert.h>
36662 /* Override any GCC internal prototype to avoid an error.
36663 Use char because int might match the return type of a GCC
36664 builtin and then its argument prototype would still apply. */
36669 /* The GNU C library defines this for functions which it implements
36670 to always fail with ENOSYS. Some functions are actually named
36671 something starting with __ and the normal name is an alias. */
36672 #if defined __stub_$ac_func || defined __stub___$ac_func
36679 return $ac_func ();
36684 rm -f conftest.$ac_objext conftest$ac_exeext
36685 if { (ac_try="$ac_link"
36686 case "(($ac_try" in
36687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36688 *) ac_try_echo=$ac_try;;
36690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36691 (eval "$ac_link") 2>conftest.er1
36693 grep -v '^ *+' conftest.er1 >conftest.err
36695 cat conftest.err >&5
36696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697 (exit $ac_status); } && {
36698 test -z "$ac_c_werror_flag" ||
36699 test ! -s conftest.err
36700 } && test -s conftest$ac_exeext &&
36701 $as_test_x conftest$ac_exeext; then
36702 eval "$as_ac_var=yes"
36704 echo "$as_me: failed program was:" >&5
36705 sed 's/^/| /' conftest.$ac_ext >&5
36707 eval "$as_ac_var=no"
36710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36711 conftest$ac_exeext conftest.$ac_ext
36713 ac_res=`eval echo '${'$as_ac_var'}'`
36714 { echo "$as_me:$LINENO: result: $ac_res" >&5
36715 echo "${ECHO_T}$ac_res" >&6; }
36716 if test `eval echo '${'$as_ac_var'}'` = yes; then
36717 cat >>confdefs.h <<_ACEOF
36718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36726 ac_cpp='$CXXCPP $CPPFLAGS'
36727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36731 if test "$ac_cv_func_vsnprintf" = "yes"; then
36732 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36733 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36734 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36735 echo $ECHO_N "(cached) $ECHO_C" >&6
36738 cat >conftest.$ac_ext <<_ACEOF
36741 cat confdefs.h >>conftest.$ac_ext
36742 cat >>conftest.$ac_ext <<_ACEOF
36743 /* end confdefs.h. */
36746 #include <stdarg.h>
36748 #if __MSL__ >= 0x6000
36750 using namespace std;
36760 vsnprintf(buf, 10u, "%s", ap);
36766 rm -f conftest.$ac_objext
36767 if { (ac_try="$ac_compile"
36768 case "(($ac_try" in
36769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36770 *) ac_try_echo=$ac_try;;
36772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36773 (eval "$ac_compile") 2>conftest.er1
36775 grep -v '^ *+' conftest.er1 >conftest.err
36777 cat conftest.err >&5
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); } && {
36780 test -z "$ac_cxx_werror_flag" ||
36781 test ! -s conftest.err
36782 } && test -s conftest.$ac_objext; then
36783 wx_cv_func_vsnprintf_decl=yes
36785 echo "$as_me: failed program was:" >&5
36786 sed 's/^/| /' conftest.$ac_ext >&5
36788 wx_cv_func_vsnprintf_decl=no
36792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36796 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36797 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36799 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36800 cat >>confdefs.h <<\_ACEOF
36801 #define HAVE_VSNPRINTF_DECL 1
36805 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36806 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36807 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36808 echo $ECHO_N "(cached) $ECHO_C" >&6
36811 cat >conftest.$ac_ext <<_ACEOF
36814 cat confdefs.h >>conftest.$ac_ext
36815 cat >>conftest.$ac_ext <<_ACEOF
36816 /* end confdefs.h. */
36819 #include <stdarg.h>
36821 #if __MSL__ >= 0x6000
36823 using namespace std;
36833 const char *fmt = "%s";
36834 vsnprintf(buf, 10u, fmt, ap);
36840 rm -f conftest.$ac_objext
36841 if { (ac_try="$ac_compile"
36842 case "(($ac_try" in
36843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36844 *) ac_try_echo=$ac_try;;
36846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36847 (eval "$ac_compile") 2>conftest.er1
36849 grep -v '^ *+' conftest.er1 >conftest.err
36851 cat conftest.err >&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); } && {
36854 test -z "$ac_cxx_werror_flag" ||
36855 test ! -s conftest.err
36856 } && test -s conftest.$ac_objext; then
36857 wx_cv_func_broken_vsnprintf_decl=no
36859 echo "$as_me: failed program was:" >&5
36860 sed 's/^/| /' conftest.$ac_ext >&5
36862 wx_cv_func_broken_vsnprintf_decl=yes
36866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36870 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36871 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36873 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36874 cat >>confdefs.h <<\_ACEOF
36875 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36882 if test "$ac_cv_func_snprintf" = "yes"; then
36883 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36884 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36885 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36886 echo $ECHO_N "(cached) $ECHO_C" >&6
36889 cat >conftest.$ac_ext <<_ACEOF
36892 cat confdefs.h >>conftest.$ac_ext
36893 cat >>conftest.$ac_ext <<_ACEOF
36894 /* end confdefs.h. */
36897 #include <stdarg.h>
36899 #if __MSL__ >= 0x6000
36901 using namespace std;
36910 snprintf(buf, 10u, "%s", "wx");
36916 rm -f conftest.$ac_objext
36917 if { (ac_try="$ac_compile"
36918 case "(($ac_try" in
36919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36920 *) ac_try_echo=$ac_try;;
36922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36923 (eval "$ac_compile") 2>conftest.er1
36925 grep -v '^ *+' conftest.er1 >conftest.err
36927 cat conftest.err >&5
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); } && {
36930 test -z "$ac_cxx_werror_flag" ||
36931 test ! -s conftest.err
36932 } && test -s conftest.$ac_objext; then
36933 wx_cv_func_snprintf_decl=yes
36935 echo "$as_me: failed program was:" >&5
36936 sed 's/^/| /' conftest.$ac_ext >&5
36938 wx_cv_func_snprintf_decl=no
36942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36946 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36947 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36949 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36950 cat >>confdefs.h <<\_ACEOF
36951 #define HAVE_SNPRINTF_DECL 1
36956 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36958 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36959 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36960 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36961 echo $ECHO_N "(cached) $ECHO_C" >&6
36964 if test "$cross_compiling" = yes; then
36966 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36967 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36968 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36969 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36970 wx_cv_func_snprintf_pos_params=no
36974 cat >conftest.$ac_ext <<_ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36986 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36987 if (strcmp ("2 3 1", buffer) == 0)
36993 rm -f conftest$ac_exeext
36994 if { (ac_try="$ac_link"
36995 case "(($ac_try" in
36996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36997 *) ac_try_echo=$ac_try;;
36999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37000 (eval "$ac_link") 2>&5
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37004 { (case "(($ac_try" in
37005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37006 *) ac_try_echo=$ac_try;;
37008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37009 (eval "$ac_try") 2>&5
37011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37012 (exit $ac_status); }; }; then
37013 wx_cv_func_snprintf_pos_params=no
37015 echo "$as_me: program exited with status $ac_status" >&5
37016 echo "$as_me: failed program was:" >&5
37017 sed 's/^/| /' conftest.$ac_ext >&5
37019 ( exit $ac_status )
37020 wx_cv_func_snprintf_pos_params=yes
37022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37029 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37030 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37032 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37033 cat >>confdefs.h <<\_ACEOF
37034 #define HAVE_UNIX98_PRINTF 1
37041 if test "$ac_cv_func_vsscanf" = "yes"; then
37042 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37043 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37044 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37045 echo $ECHO_N "(cached) $ECHO_C" >&6
37048 cat >conftest.$ac_ext <<_ACEOF
37051 cat confdefs.h >>conftest.$ac_ext
37052 cat >>conftest.$ac_ext <<_ACEOF
37053 /* end confdefs.h. */
37056 #include <stdarg.h>
37058 #if __MSL__ >= 0x6000
37060 using namespace std;
37070 vsscanf(buf, "%s", args);
37076 rm -f conftest.$ac_objext
37077 if { (ac_try="$ac_compile"
37078 case "(($ac_try" in
37079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37080 *) ac_try_echo=$ac_try;;
37082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37083 (eval "$ac_compile") 2>conftest.er1
37085 grep -v '^ *+' conftest.er1 >conftest.err
37087 cat conftest.err >&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } && {
37090 test -z "$ac_cxx_werror_flag" ||
37091 test ! -s conftest.err
37092 } && test -s conftest.$ac_objext; then
37093 wx_cv_func_vsscanf_decl=yes
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37098 wx_cv_func_vsscanf_decl=no
37102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37106 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37107 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37109 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37110 cat >>confdefs.h <<\_ACEOF
37111 #define HAVE_VSSCANF_DECL 1
37117 ac_cpp='$CPP $CPPFLAGS'
37118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37123 if test "$wxUSE_UNICODE" = yes; then
37125 wchar_headers="#include <stdio.h>
37126 #include <wchar.h>"
37130 for ac_header in widec.h
37132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37136 echo $ECHO_N "(cached) $ECHO_C" >&6
37138 cat >conftest.$ac_ext <<_ACEOF
37141 cat confdefs.h >>conftest.$ac_ext
37142 cat >>conftest.$ac_ext <<_ACEOF
37143 /* end confdefs.h. */
37144 $ac_includes_default
37146 #include <$ac_header>
37148 rm -f conftest.$ac_objext
37149 if { (ac_try="$ac_compile"
37150 case "(($ac_try" in
37151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37152 *) ac_try_echo=$ac_try;;
37154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37155 (eval "$ac_compile") 2>conftest.er1
37157 grep -v '^ *+' conftest.er1 >conftest.err
37159 cat conftest.err >&5
37160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161 (exit $ac_status); } && {
37162 test -z "$ac_c_werror_flag" ||
37163 test ! -s conftest.err
37164 } && test -s conftest.$ac_objext; then
37165 eval "$as_ac_Header=yes"
37167 echo "$as_me: failed program was:" >&5
37168 sed 's/^/| /' conftest.$ac_ext >&5
37170 eval "$as_ac_Header=no"
37173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37175 ac_res=`eval echo '${'$as_ac_Header'}'`
37176 { echo "$as_me:$LINENO: result: $ac_res" >&5
37177 echo "${ECHO_T}$ac_res" >&6; }
37178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37179 cat >>confdefs.h <<_ACEOF
37180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37187 if test "$ac_cv_header_widec_h" = "yes"; then
37188 wchar_headers="$wchar_headers
37189 #include <widec.h>"
37194 for wx_func in putws fputws wprintf vswprintf vswscanf
37196 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37197 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37198 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37199 echo $ECHO_N "(cached) $ECHO_C" >&6
37202 cat >conftest.$ac_ext <<_ACEOF
37206 cat confdefs.h >>conftest.$ac_ext
37207 cat >>conftest.$ac_ext <<_ACEOF
37208 /* end confdefs.h. */
37211 $ac_includes_default
37227 rm -f conftest.$ac_objext conftest$ac_exeext
37228 if { (ac_try="$ac_link"
37229 case "(($ac_try" in
37230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37231 *) ac_try_echo=$ac_try;;
37233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37234 (eval "$ac_link") 2>conftest.er1
37236 grep -v '^ *+' conftest.er1 >conftest.err
37238 cat conftest.err >&5
37239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37240 (exit $ac_status); } && {
37241 test -z "$ac_c_werror_flag" ||
37242 test ! -s conftest.err
37243 } && test -s conftest$ac_exeext &&
37244 $as_test_x conftest$ac_exeext; then
37245 eval wx_cv_func_$wx_func=yes
37247 echo "$as_me: failed program was:" >&5
37248 sed 's/^/| /' conftest.$ac_ext >&5
37250 eval wx_cv_func_$wx_func=no
37253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37254 conftest$ac_exeext conftest.$ac_ext
37257 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37258 { echo "$as_me:$LINENO: result: $ac_res" >&5
37259 echo "${ECHO_T}$ac_res" >&6; }
37261 if eval test \$wx_cv_func_$wx_func = yes
37263 cat >>confdefs.h <<_ACEOF
37264 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37275 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37276 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37277 cat >conftest.$ac_ext <<_ACEOF
37280 cat confdefs.h >>conftest.$ac_ext
37281 cat >>conftest.$ac_ext <<_ACEOF
37282 /* end confdefs.h. */
37292 rm -f conftest.$ac_objext
37293 if { (ac_try="$ac_compile"
37294 case "(($ac_try" in
37295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37296 *) ac_try_echo=$ac_try;;
37298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37299 (eval "$ac_compile") 2>conftest.er1
37301 grep -v '^ *+' conftest.er1 >conftest.err
37303 cat conftest.err >&5
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); } && {
37306 test -z "$ac_c_werror_flag" ||
37307 test ! -s conftest.err
37308 } && test -s conftest.$ac_objext; then
37309 { echo "$as_me:$LINENO: result: yes" >&5
37310 echo "${ECHO_T}yes" >&6; }
37311 cat >>confdefs.h <<\_ACEOF
37312 #define HAVE__VSNWPRINTF 1
37316 echo "$as_me: failed program was:" >&5
37317 sed 's/^/| /' conftest.$ac_ext >&5
37319 { echo "$as_me:$LINENO: result: no" >&5
37320 echo "${ECHO_T}no" >&6; }
37323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37326 if test "$wxUSE_FILE" = "yes"; then
37328 for wx_func in fsync
37330 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37331 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37332 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37333 echo $ECHO_N "(cached) $ECHO_C" >&6
37336 cat >conftest.$ac_ext <<_ACEOF
37340 cat confdefs.h >>conftest.$ac_ext
37341 cat >>conftest.$ac_ext <<_ACEOF
37342 /* end confdefs.h. */
37345 $ac_includes_default
37361 rm -f conftest.$ac_objext conftest$ac_exeext
37362 if { (ac_try="$ac_link"
37363 case "(($ac_try" in
37364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37365 *) ac_try_echo=$ac_try;;
37367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37368 (eval "$ac_link") 2>conftest.er1
37370 grep -v '^ *+' conftest.er1 >conftest.err
37372 cat conftest.err >&5
37373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37374 (exit $ac_status); } && {
37375 test -z "$ac_c_werror_flag" ||
37376 test ! -s conftest.err
37377 } && test -s conftest$ac_exeext &&
37378 $as_test_x conftest$ac_exeext; then
37379 eval wx_cv_func_$wx_func=yes
37381 echo "$as_me: failed program was:" >&5
37382 sed 's/^/| /' conftest.$ac_ext >&5
37384 eval wx_cv_func_$wx_func=no
37387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37388 conftest$ac_exeext conftest.$ac_ext
37391 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37392 { echo "$as_me:$LINENO: result: $ac_res" >&5
37393 echo "${ECHO_T}$ac_res" >&6; }
37395 if eval test \$wx_cv_func_$wx_func = yes
37397 cat >>confdefs.h <<_ACEOF
37398 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37411 ac_cpp='$CXXCPP $CPPFLAGS'
37412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37417 for wx_func in round
37419 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37420 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37421 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37422 echo $ECHO_N "(cached) $ECHO_C" >&6
37425 cat >conftest.$ac_ext <<_ACEOF
37429 cat confdefs.h >>conftest.$ac_ext
37430 cat >>conftest.$ac_ext <<_ACEOF
37431 /* end confdefs.h. */
37434 $ac_includes_default
37450 rm -f conftest.$ac_objext conftest$ac_exeext
37451 if { (ac_try="$ac_link"
37452 case "(($ac_try" in
37453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37454 *) ac_try_echo=$ac_try;;
37456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37457 (eval "$ac_link") 2>conftest.er1
37459 grep -v '^ *+' conftest.er1 >conftest.err
37461 cat conftest.err >&5
37462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37463 (exit $ac_status); } && {
37464 test -z "$ac_cxx_werror_flag" ||
37465 test ! -s conftest.err
37466 } && test -s conftest$ac_exeext &&
37467 $as_test_x conftest$ac_exeext; then
37468 eval wx_cv_func_$wx_func=yes
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37473 eval wx_cv_func_$wx_func=no
37476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37477 conftest$ac_exeext conftest.$ac_ext
37480 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37481 { echo "$as_me:$LINENO: result: $ac_res" >&5
37482 echo "${ECHO_T}$ac_res" >&6; }
37484 if eval test \$wx_cv_func_$wx_func = yes
37486 cat >>confdefs.h <<_ACEOF
37487 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37498 ac_cpp='$CPP $CPPFLAGS'
37499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37504 if test "$TOOLKIT" != "MSW"; then
37506 if test "$wxUSE_LIBICONV" != "no" ; then
37510 # Check whether --with-libiconv-prefix was given.
37511 if test "${with_libiconv_prefix+set}" = set; then
37512 withval=$with_libiconv_prefix;
37513 for dir in `echo "$withval" | tr : ' '`; do
37514 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37515 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37521 { echo "$as_me:$LINENO: checking for iconv" >&5
37522 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37523 if test "${am_cv_func_iconv+set}" = set; then
37524 echo $ECHO_N "(cached) $ECHO_C" >&6
37527 am_cv_func_iconv="no, consider installing GNU libiconv"
37529 cat >conftest.$ac_ext <<_ACEOF
37532 cat confdefs.h >>conftest.$ac_ext
37533 cat >>conftest.$ac_ext <<_ACEOF
37534 /* end confdefs.h. */
37535 #include <stdlib.h>
37540 iconv_t cd = iconv_open("","");
37541 iconv(cd,NULL,NULL,NULL,NULL);
37547 rm -f conftest.$ac_objext conftest$ac_exeext
37548 if { (ac_try="$ac_link"
37549 case "(($ac_try" in
37550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37551 *) ac_try_echo=$ac_try;;
37553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37554 (eval "$ac_link") 2>conftest.er1
37556 grep -v '^ *+' conftest.er1 >conftest.err
37558 cat conftest.err >&5
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); } && {
37561 test -z "$ac_c_werror_flag" ||
37562 test ! -s conftest.err
37563 } && test -s conftest$ac_exeext &&
37564 $as_test_x conftest$ac_exeext; then
37565 am_cv_func_iconv=yes
37567 echo "$as_me: failed program was:" >&5
37568 sed 's/^/| /' conftest.$ac_ext >&5
37573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37574 conftest$ac_exeext conftest.$ac_ext
37575 if test "$am_cv_func_iconv" != yes; then
37576 am_save_LIBS="$LIBS"
37577 LIBS="$LIBS -liconv"
37578 cat >conftest.$ac_ext <<_ACEOF
37581 cat confdefs.h >>conftest.$ac_ext
37582 cat >>conftest.$ac_ext <<_ACEOF
37583 /* end confdefs.h. */
37584 #include <stdlib.h>
37589 iconv_t cd = iconv_open("","");
37590 iconv(cd,NULL,NULL,NULL,NULL);
37596 rm -f conftest.$ac_objext conftest$ac_exeext
37597 if { (ac_try="$ac_link"
37598 case "(($ac_try" in
37599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37600 *) ac_try_echo=$ac_try;;
37602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37603 (eval "$ac_link") 2>conftest.er1
37605 grep -v '^ *+' conftest.er1 >conftest.err
37607 cat conftest.err >&5
37608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37609 (exit $ac_status); } && {
37610 test -z "$ac_c_werror_flag" ||
37611 test ! -s conftest.err
37612 } && test -s conftest$ac_exeext &&
37613 $as_test_x conftest$ac_exeext; then
37614 am_cv_lib_iconv=yes
37615 am_cv_func_iconv=yes
37617 echo "$as_me: failed program was:" >&5
37618 sed 's/^/| /' conftest.$ac_ext >&5
37623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37624 conftest$ac_exeext conftest.$ac_ext
37625 LIBS="$am_save_LIBS"
37629 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37630 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37631 if test "$am_cv_func_iconv" = yes; then
37633 cat >>confdefs.h <<\_ACEOF
37634 #define HAVE_ICONV 1
37637 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37638 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37639 if test "${wx_cv_func_iconv_const+set}" = set; then
37640 echo $ECHO_N "(cached) $ECHO_C" >&6
37642 cat >conftest.$ac_ext <<_ACEOF
37645 cat confdefs.h >>conftest.$ac_ext
37646 cat >>conftest.$ac_ext <<_ACEOF
37647 /* end confdefs.h. */
37649 #include <stdlib.h>
37655 #if defined(__STDC__) || defined(__cplusplus)
37656 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37669 rm -f conftest.$ac_objext
37670 if { (ac_try="$ac_compile"
37671 case "(($ac_try" in
37672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37673 *) ac_try_echo=$ac_try;;
37675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37676 (eval "$ac_compile") 2>conftest.er1
37678 grep -v '^ *+' conftest.er1 >conftest.err
37680 cat conftest.err >&5
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); } && {
37683 test -z "$ac_c_werror_flag" ||
37684 test ! -s conftest.err
37685 } && test -s conftest.$ac_objext; then
37686 wx_cv_func_iconv_const="no"
37688 echo "$as_me: failed program was:" >&5
37689 sed 's/^/| /' conftest.$ac_ext >&5
37691 wx_cv_func_iconv_const="yes"
37695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37698 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37699 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37702 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37703 iconv_const="const"
37707 cat >>confdefs.h <<_ACEOF
37708 #define ICONV_CONST $iconv_const
37713 if test "$am_cv_lib_iconv" = yes; then
37718 LIBS="$LIBICONV $LIBS"
37721 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37723 for ac_func in sigaction
37725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37726 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37728 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37729 echo $ECHO_N "(cached) $ECHO_C" >&6
37731 cat >conftest.$ac_ext <<_ACEOF
37734 cat confdefs.h >>conftest.$ac_ext
37735 cat >>conftest.$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37739 #define $ac_func innocuous_$ac_func
37741 /* System header to define __stub macros and hopefully few prototypes,
37742 which can conflict with char $ac_func (); below.
37743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37744 <limits.h> exists even on freestanding compilers. */
37747 # include <limits.h>
37749 # include <assert.h>
37754 /* Override any GCC internal prototype to avoid an error.
37755 Use char because int might match the return type of a GCC
37756 builtin and then its argument prototype would still apply. */
37761 /* The GNU C library defines this for functions which it implements
37762 to always fail with ENOSYS. Some functions are actually named
37763 something starting with __ and the normal name is an alias. */
37764 #if defined __stub_$ac_func || defined __stub___$ac_func
37771 return $ac_func ();
37776 rm -f conftest.$ac_objext conftest$ac_exeext
37777 if { (ac_try="$ac_link"
37778 case "(($ac_try" in
37779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37780 *) ac_try_echo=$ac_try;;
37782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37783 (eval "$ac_link") 2>conftest.er1
37785 grep -v '^ *+' conftest.er1 >conftest.err
37787 cat conftest.err >&5
37788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37789 (exit $ac_status); } && {
37790 test -z "$ac_c_werror_flag" ||
37791 test ! -s conftest.err
37792 } && test -s conftest$ac_exeext &&
37793 $as_test_x conftest$ac_exeext; then
37794 eval "$as_ac_var=yes"
37796 echo "$as_me: failed program was:" >&5
37797 sed 's/^/| /' conftest.$ac_ext >&5
37799 eval "$as_ac_var=no"
37802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37803 conftest$ac_exeext conftest.$ac_ext
37805 ac_res=`eval echo '${'$as_ac_var'}'`
37806 { echo "$as_me:$LINENO: result: $ac_res" >&5
37807 echo "${ECHO_T}$ac_res" >&6; }
37808 if test `eval echo '${'$as_ac_var'}'` = yes; then
37809 cat >>confdefs.h <<_ACEOF
37810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37817 if test "$ac_cv_func_sigaction" = "no"; then
37818 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37819 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37820 wxUSE_ON_FATAL_EXCEPTION=no
37823 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37824 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37825 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37826 if test "${wx_cv_type_sa_handler+set}" = set; then
37827 echo $ECHO_N "(cached) $ECHO_C" >&6
37831 ac_cpp='$CXXCPP $CPPFLAGS'
37832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37836 cat >conftest.$ac_ext <<_ACEOF
37839 cat confdefs.h >>conftest.$ac_ext
37840 cat >>conftest.$ac_ext <<_ACEOF
37841 /* end confdefs.h. */
37842 #include <signal.h>
37847 extern void testSigHandler(int);
37849 struct sigaction sa;
37850 sa.sa_handler = testSigHandler;
37856 rm -f conftest.$ac_objext
37857 if { (ac_try="$ac_compile"
37858 case "(($ac_try" in
37859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37860 *) ac_try_echo=$ac_try;;
37862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37863 (eval "$ac_compile") 2>conftest.er1
37865 grep -v '^ *+' conftest.er1 >conftest.err
37867 cat conftest.err >&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); } && {
37870 test -z "$ac_cxx_werror_flag" ||
37871 test ! -s conftest.err
37872 } && test -s conftest.$ac_objext; then
37874 wx_cv_type_sa_handler=int
37877 echo "$as_me: failed program was:" >&5
37878 sed 's/^/| /' conftest.$ac_ext >&5
37881 wx_cv_type_sa_handler=void
37885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37887 ac_cpp='$CPP $CPPFLAGS'
37888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37894 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37895 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37897 cat >>confdefs.h <<_ACEOF
37898 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37904 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37905 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37906 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37907 if test "${wx_cv_func_backtrace+set}" = set; then
37908 echo $ECHO_N "(cached) $ECHO_C" >&6
37912 ac_cpp='$CXXCPP $CPPFLAGS'
37913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37917 cat >conftest.$ac_ext <<_ACEOF
37920 cat confdefs.h >>conftest.$ac_ext
37921 cat >>conftest.$ac_ext <<_ACEOF
37922 /* end confdefs.h. */
37923 #include <execinfo.h>
37931 backtrace(trace, 1);
37932 messages = backtrace_symbols(trace, 1);
37938 rm -f conftest.$ac_objext
37939 if { (ac_try="$ac_compile"
37940 case "(($ac_try" in
37941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37942 *) ac_try_echo=$ac_try;;
37944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37945 (eval "$ac_compile") 2>conftest.er1
37947 grep -v '^ *+' conftest.er1 >conftest.err
37949 cat conftest.err >&5
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); } && {
37952 test -z "$ac_cxx_werror_flag" ||
37953 test ! -s conftest.err
37954 } && test -s conftest.$ac_objext; then
37955 wx_cv_func_backtrace=yes
37957 echo "$as_me: failed program was:" >&5
37958 sed 's/^/| /' conftest.$ac_ext >&5
37960 wx_cv_func_backtrace=no
37964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37966 ac_cpp='$CPP $CPPFLAGS'
37967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37974 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37975 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37978 if test "$wx_cv_func_backtrace" = "no"; then
37979 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37980 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37981 wxUSE_STACKWALKER=no
37983 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37984 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37985 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37986 echo $ECHO_N "(cached) $ECHO_C" >&6
37990 ac_cpp='$CXXCPP $CPPFLAGS'
37991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37995 cat >conftest.$ac_ext <<_ACEOF
37998 cat confdefs.h >>conftest.$ac_ext
37999 cat >>conftest.$ac_ext <<_ACEOF
38000 /* end confdefs.h. */
38001 #include <cxxabi.h>
38007 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38013 rm -f conftest.$ac_objext conftest$ac_exeext
38014 if { (ac_try="$ac_link"
38015 case "(($ac_try" in
38016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38017 *) ac_try_echo=$ac_try;;
38019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38020 (eval "$ac_link") 2>conftest.er1
38022 grep -v '^ *+' conftest.er1 >conftest.err
38024 cat conftest.err >&5
38025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38026 (exit $ac_status); } && {
38027 test -z "$ac_cxx_werror_flag" ||
38028 test ! -s conftest.err
38029 } && test -s conftest$ac_exeext &&
38030 $as_test_x conftest$ac_exeext; then
38031 wx_cv_func_cxa_demangle=yes
38033 echo "$as_me: failed program was:" >&5
38034 sed 's/^/| /' conftest.$ac_ext >&5
38036 wx_cv_func_cxa_demangle=no
38040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38041 conftest$ac_exeext conftest.$ac_ext
38043 ac_cpp='$CPP $CPPFLAGS'
38044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38051 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38052 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38054 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38055 cat >>confdefs.h <<\_ACEOF
38056 #define HAVE_CXA_DEMANGLE 1
38063 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38064 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38065 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38066 wxUSE_STACKWALKER=no
38072 for ac_func in mkstemp mktemp
38074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38075 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38077 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38078 echo $ECHO_N "(cached) $ECHO_C" >&6
38080 cat >conftest.$ac_ext <<_ACEOF
38083 cat confdefs.h >>conftest.$ac_ext
38084 cat >>conftest.$ac_ext <<_ACEOF
38085 /* end confdefs.h. */
38086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38088 #define $ac_func innocuous_$ac_func
38090 /* System header to define __stub macros and hopefully few prototypes,
38091 which can conflict with char $ac_func (); below.
38092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38093 <limits.h> exists even on freestanding compilers. */
38096 # include <limits.h>
38098 # include <assert.h>
38103 /* Override any GCC internal prototype to avoid an error.
38104 Use char because int might match the return type of a GCC
38105 builtin and then its argument prototype would still apply. */
38110 /* The GNU C library defines this for functions which it implements
38111 to always fail with ENOSYS. Some functions are actually named
38112 something starting with __ and the normal name is an alias. */
38113 #if defined __stub_$ac_func || defined __stub___$ac_func
38120 return $ac_func ();
38125 rm -f conftest.$ac_objext conftest$ac_exeext
38126 if { (ac_try="$ac_link"
38127 case "(($ac_try" in
38128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38129 *) ac_try_echo=$ac_try;;
38131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38132 (eval "$ac_link") 2>conftest.er1
38134 grep -v '^ *+' conftest.er1 >conftest.err
38136 cat conftest.err >&5
38137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38138 (exit $ac_status); } && {
38139 test -z "$ac_c_werror_flag" ||
38140 test ! -s conftest.err
38141 } && test -s conftest$ac_exeext &&
38142 $as_test_x conftest$ac_exeext; then
38143 eval "$as_ac_var=yes"
38145 echo "$as_me: failed program was:" >&5
38146 sed 's/^/| /' conftest.$ac_ext >&5
38148 eval "$as_ac_var=no"
38151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38152 conftest$ac_exeext conftest.$ac_ext
38154 ac_res=`eval echo '${'$as_ac_var'}'`
38155 { echo "$as_me:$LINENO: result: $ac_res" >&5
38156 echo "${ECHO_T}$ac_res" >&6; }
38157 if test `eval echo '${'$as_ac_var'}'` = yes; then
38158 cat >>confdefs.h <<_ACEOF
38159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38166 { echo "$as_me:$LINENO: checking for statfs" >&5
38167 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38168 if test "${wx_cv_func_statfs+set}" = set; then
38169 echo $ECHO_N "(cached) $ECHO_C" >&6
38171 cat >conftest.$ac_ext <<_ACEOF
38174 cat confdefs.h >>conftest.$ac_ext
38175 cat >>conftest.$ac_ext <<_ACEOF
38176 /* end confdefs.h. */
38178 #if defined(__BSD__)
38179 #include <sys/param.h>
38180 #include <sys/mount.h>
38182 #include <sys/vfs.h>
38200 rm -f conftest.$ac_objext
38201 if { (ac_try="$ac_compile"
38202 case "(($ac_try" in
38203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38204 *) ac_try_echo=$ac_try;;
38206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38207 (eval "$ac_compile") 2>conftest.er1
38209 grep -v '^ *+' conftest.er1 >conftest.err
38211 cat conftest.err >&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); } && {
38214 test -z "$ac_c_werror_flag" ||
38215 test ! -s conftest.err
38216 } && test -s conftest.$ac_objext; then
38217 wx_cv_func_statfs=yes
38219 echo "$as_me: failed program was:" >&5
38220 sed 's/^/| /' conftest.$ac_ext >&5
38222 wx_cv_func_statfs=no
38226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38229 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38230 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38232 if test "$wx_cv_func_statfs" = "yes"; then
38233 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38234 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38235 if test "${wx_cv_func_statfs_decl+set}" = set; then
38236 echo $ECHO_N "(cached) $ECHO_C" >&6
38239 ac_cpp='$CXXCPP $CPPFLAGS'
38240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38244 cat >conftest.$ac_ext <<_ACEOF
38247 cat confdefs.h >>conftest.$ac_ext
38248 cat >>conftest.$ac_ext <<_ACEOF
38249 /* end confdefs.h. */
38251 #if defined(__BSD__)
38252 #include <sys/param.h>
38253 #include <sys/mount.h>
38255 #include <sys/vfs.h>
38269 rm -f conftest.$ac_objext
38270 if { (ac_try="$ac_compile"
38271 case "(($ac_try" in
38272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38273 *) ac_try_echo=$ac_try;;
38275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38276 (eval "$ac_compile") 2>conftest.er1
38278 grep -v '^ *+' conftest.er1 >conftest.err
38280 cat conftest.err >&5
38281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38282 (exit $ac_status); } && {
38283 test -z "$ac_cxx_werror_flag" ||
38284 test ! -s conftest.err
38285 } && test -s conftest.$ac_objext; then
38286 wx_cv_func_statfs_decl=yes
38288 echo "$as_me: failed program was:" >&5
38289 sed 's/^/| /' conftest.$ac_ext >&5
38291 wx_cv_func_statfs_decl=no
38295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38297 ac_cpp='$CPP $CPPFLAGS'
38298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38304 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38305 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38307 if test "$wx_cv_func_statfs_decl" = "yes"; then
38308 cat >>confdefs.h <<\_ACEOF
38309 #define HAVE_STATFS_DECL 1
38314 wx_cv_type_statvfs_t="struct statfs"
38315 cat >>confdefs.h <<\_ACEOF
38316 #define HAVE_STATFS 1
38320 { echo "$as_me:$LINENO: checking for statvfs" >&5
38321 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38322 if test "${wx_cv_func_statvfs+set}" = set; then
38323 echo $ECHO_N "(cached) $ECHO_C" >&6
38325 cat >conftest.$ac_ext <<_ACEOF
38328 cat confdefs.h >>conftest.$ac_ext
38329 cat >>conftest.$ac_ext <<_ACEOF
38330 /* end confdefs.h. */
38332 #include <stddef.h>
38333 #include <sys/statvfs.h>
38339 statvfs("/", NULL);
38345 rm -f conftest.$ac_objext
38346 if { (ac_try="$ac_compile"
38347 case "(($ac_try" in
38348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38349 *) ac_try_echo=$ac_try;;
38351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38352 (eval "$ac_compile") 2>conftest.er1
38354 grep -v '^ *+' conftest.er1 >conftest.err
38356 cat conftest.err >&5
38357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358 (exit $ac_status); } && {
38359 test -z "$ac_c_werror_flag" ||
38360 test ! -s conftest.err
38361 } && test -s conftest.$ac_objext; then
38362 wx_cv_func_statvfs=yes
38364 echo "$as_me: failed program was:" >&5
38365 sed 's/^/| /' conftest.$ac_ext >&5
38367 wx_cv_func_statvfs=no
38371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38374 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38375 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38377 if test "$wx_cv_func_statvfs" = "yes"; then
38378 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38379 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38380 if test "${wx_cv_type_statvfs_t+set}" = set; then
38381 echo $ECHO_N "(cached) $ECHO_C" >&6
38384 ac_cpp='$CXXCPP $CPPFLAGS'
38385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38389 cat >conftest.$ac_ext <<_ACEOF
38392 cat confdefs.h >>conftest.$ac_ext
38393 cat >>conftest.$ac_ext <<_ACEOF
38394 /* end confdefs.h. */
38396 #include <sys/statvfs.h>
38413 rm -f conftest.$ac_objext
38414 if { (ac_try="$ac_compile"
38415 case "(($ac_try" in
38416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38417 *) ac_try_echo=$ac_try;;
38419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38420 (eval "$ac_compile") 2>conftest.er1
38422 grep -v '^ *+' conftest.er1 >conftest.err
38424 cat conftest.err >&5
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); } && {
38427 test -z "$ac_cxx_werror_flag" ||
38428 test ! -s conftest.err
38429 } && test -s conftest.$ac_objext; then
38430 wx_cv_type_statvfs_t=statvfs_t
38432 echo "$as_me: failed program was:" >&5
38433 sed 's/^/| /' conftest.$ac_ext >&5
38436 cat >conftest.$ac_ext <<_ACEOF
38439 cat confdefs.h >>conftest.$ac_ext
38440 cat >>conftest.$ac_ext <<_ACEOF
38441 /* end confdefs.h. */
38443 #include <sys/statvfs.h>
38460 rm -f conftest.$ac_objext
38461 if { (ac_try="$ac_compile"
38462 case "(($ac_try" in
38463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38464 *) ac_try_echo=$ac_try;;
38466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38467 (eval "$ac_compile") 2>conftest.er1
38469 grep -v '^ *+' conftest.er1 >conftest.err
38471 cat conftest.err >&5
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); } && {
38474 test -z "$ac_cxx_werror_flag" ||
38475 test ! -s conftest.err
38476 } && test -s conftest.$ac_objext; then
38477 wx_cv_type_statvfs_t="struct statvfs"
38479 echo "$as_me: failed program was:" >&5
38480 sed 's/^/| /' conftest.$ac_ext >&5
38482 wx_cv_type_statvfs_t="unknown"
38486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38500 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38501 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38503 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38504 cat >>confdefs.h <<\_ACEOF
38505 #define HAVE_STATVFS 1
38510 wx_cv_type_statvfs_t="unknown"
38514 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38515 cat >>confdefs.h <<_ACEOF
38516 #define WX_STATFS_T $wx_cv_type_statvfs_t
38520 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38521 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38524 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38527 for ac_func in fcntl flock
38529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38530 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38532 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38533 echo $ECHO_N "(cached) $ECHO_C" >&6
38535 cat >conftest.$ac_ext <<_ACEOF
38538 cat confdefs.h >>conftest.$ac_ext
38539 cat >>conftest.$ac_ext <<_ACEOF
38540 /* end confdefs.h. */
38541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38543 #define $ac_func innocuous_$ac_func
38545 /* System header to define __stub macros and hopefully few prototypes,
38546 which can conflict with char $ac_func (); below.
38547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38548 <limits.h> exists even on freestanding compilers. */
38551 # include <limits.h>
38553 # include <assert.h>
38558 /* Override any GCC internal prototype to avoid an error.
38559 Use char because int might match the return type of a GCC
38560 builtin and then its argument prototype would still apply. */
38565 /* The GNU C library defines this for functions which it implements
38566 to always fail with ENOSYS. Some functions are actually named
38567 something starting with __ and the normal name is an alias. */
38568 #if defined __stub_$ac_func || defined __stub___$ac_func
38575 return $ac_func ();
38580 rm -f conftest.$ac_objext conftest$ac_exeext
38581 if { (ac_try="$ac_link"
38582 case "(($ac_try" in
38583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38584 *) ac_try_echo=$ac_try;;
38586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38587 (eval "$ac_link") 2>conftest.er1
38589 grep -v '^ *+' conftest.er1 >conftest.err
38591 cat conftest.err >&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } && {
38594 test -z "$ac_c_werror_flag" ||
38595 test ! -s conftest.err
38596 } && test -s conftest$ac_exeext &&
38597 $as_test_x conftest$ac_exeext; then
38598 eval "$as_ac_var=yes"
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.$ac_ext >&5
38603 eval "$as_ac_var=no"
38606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38607 conftest$ac_exeext conftest.$ac_ext
38609 ac_res=`eval echo '${'$as_ac_var'}'`
38610 { echo "$as_me:$LINENO: result: $ac_res" >&5
38611 echo "${ECHO_T}$ac_res" >&6; }
38612 if test `eval echo '${'$as_ac_var'}'` = yes; then
38613 cat >>confdefs.h <<_ACEOF
38614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38621 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38622 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38623 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38624 wxUSE_SNGLINST_CHECKER=no
38630 for ac_func in setenv putenv
38632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38636 echo $ECHO_N "(cached) $ECHO_C" >&6
38638 cat >conftest.$ac_ext <<_ACEOF
38641 cat confdefs.h >>conftest.$ac_ext
38642 cat >>conftest.$ac_ext <<_ACEOF
38643 /* end confdefs.h. */
38644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38646 #define $ac_func innocuous_$ac_func
38648 /* System header to define __stub macros and hopefully few prototypes,
38649 which can conflict with char $ac_func (); below.
38650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38651 <limits.h> exists even on freestanding compilers. */
38654 # include <limits.h>
38656 # include <assert.h>
38661 /* Override any GCC internal prototype to avoid an error.
38662 Use char because int might match the return type of a GCC
38663 builtin and then its argument prototype would still apply. */
38668 /* The GNU C library defines this for functions which it implements
38669 to always fail with ENOSYS. Some functions are actually named
38670 something starting with __ and the normal name is an alias. */
38671 #if defined __stub_$ac_func || defined __stub___$ac_func
38678 return $ac_func ();
38683 rm -f conftest.$ac_objext conftest$ac_exeext
38684 if { (ac_try="$ac_link"
38685 case "(($ac_try" in
38686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38687 *) ac_try_echo=$ac_try;;
38689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38690 (eval "$ac_link") 2>conftest.er1
38692 grep -v '^ *+' conftest.er1 >conftest.err
38694 cat conftest.err >&5
38695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 (exit $ac_status); } && {
38697 test -z "$ac_c_werror_flag" ||
38698 test ! -s conftest.err
38699 } && test -s conftest$ac_exeext &&
38700 $as_test_x conftest$ac_exeext; then
38701 eval "$as_ac_var=yes"
38703 echo "$as_me: failed program was:" >&5
38704 sed 's/^/| /' conftest.$ac_ext >&5
38706 eval "$as_ac_var=no"
38709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38710 conftest$ac_exeext conftest.$ac_ext
38712 ac_res=`eval echo '${'$as_ac_var'}'`
38713 { echo "$as_me:$LINENO: result: $ac_res" >&5
38714 echo "${ECHO_T}$ac_res" >&6; }
38715 if test `eval echo '${'$as_ac_var'}'` = yes; then
38716 cat >>confdefs.h <<_ACEOF
38717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38723 if test "$ac_cv_func_setenv" = "yes"; then
38725 for ac_func in unsetenv
38727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38731 echo $ECHO_N "(cached) $ECHO_C" >&6
38733 cat >conftest.$ac_ext <<_ACEOF
38736 cat confdefs.h >>conftest.$ac_ext
38737 cat >>conftest.$ac_ext <<_ACEOF
38738 /* end confdefs.h. */
38739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38741 #define $ac_func innocuous_$ac_func
38743 /* System header to define __stub macros and hopefully few prototypes,
38744 which can conflict with char $ac_func (); below.
38745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38746 <limits.h> exists even on freestanding compilers. */
38749 # include <limits.h>
38751 # include <assert.h>
38756 /* Override any GCC internal prototype to avoid an error.
38757 Use char because int might match the return type of a GCC
38758 builtin and then its argument prototype would still apply. */
38763 /* The GNU C library defines this for functions which it implements
38764 to always fail with ENOSYS. Some functions are actually named
38765 something starting with __ and the normal name is an alias. */
38766 #if defined __stub_$ac_func || defined __stub___$ac_func
38773 return $ac_func ();
38778 rm -f conftest.$ac_objext conftest$ac_exeext
38779 if { (ac_try="$ac_link"
38780 case "(($ac_try" in
38781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38782 *) ac_try_echo=$ac_try;;
38784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38785 (eval "$ac_link") 2>conftest.er1
38787 grep -v '^ *+' conftest.er1 >conftest.err
38789 cat conftest.err >&5
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); } && {
38792 test -z "$ac_c_werror_flag" ||
38793 test ! -s conftest.err
38794 } && test -s conftest$ac_exeext &&
38795 $as_test_x conftest$ac_exeext; then
38796 eval "$as_ac_var=yes"
38798 echo "$as_me: failed program was:" >&5
38799 sed 's/^/| /' conftest.$ac_ext >&5
38801 eval "$as_ac_var=no"
38804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38805 conftest$ac_exeext conftest.$ac_ext
38807 ac_res=`eval echo '${'$as_ac_var'}'`
38808 { echo "$as_me:$LINENO: result: $ac_res" >&5
38809 echo "${ECHO_T}$ac_res" >&6; }
38810 if test `eval echo '${'$as_ac_var'}'` = yes; then
38811 cat >>confdefs.h <<_ACEOF
38812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38820 HAVE_SOME_SLEEP_FUNC=0
38821 if test "$USE_BEOS" = 1; then
38822 cat >>confdefs.h <<\_ACEOF
38823 #define HAVE_SLEEP 1
38826 HAVE_SOME_SLEEP_FUNC=1
38829 if test "$USE_DARWIN" = 1; then
38830 cat >>confdefs.h <<\_ACEOF
38831 #define HAVE_USLEEP 1
38834 HAVE_SOME_SLEEP_FUNC=1
38837 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38840 for ac_func in nanosleep
38842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38843 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38845 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38846 echo $ECHO_N "(cached) $ECHO_C" >&6
38848 cat >conftest.$ac_ext <<_ACEOF
38851 cat confdefs.h >>conftest.$ac_ext
38852 cat >>conftest.$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38856 #define $ac_func innocuous_$ac_func
38858 /* System header to define __stub macros and hopefully few prototypes,
38859 which can conflict with char $ac_func (); below.
38860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38861 <limits.h> exists even on freestanding compilers. */
38864 # include <limits.h>
38866 # include <assert.h>
38871 /* Override any GCC internal prototype to avoid an error.
38872 Use char because int might match the return type of a GCC
38873 builtin and then its argument prototype would still apply. */
38878 /* The GNU C library defines this for functions which it implements
38879 to always fail with ENOSYS. Some functions are actually named
38880 something starting with __ and the normal name is an alias. */
38881 #if defined __stub_$ac_func || defined __stub___$ac_func
38888 return $ac_func ();
38893 rm -f conftest.$ac_objext conftest$ac_exeext
38894 if { (ac_try="$ac_link"
38895 case "(($ac_try" in
38896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38897 *) ac_try_echo=$ac_try;;
38899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38900 (eval "$ac_link") 2>conftest.er1
38902 grep -v '^ *+' conftest.er1 >conftest.err
38904 cat conftest.err >&5
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); } && {
38907 test -z "$ac_c_werror_flag" ||
38908 test ! -s conftest.err
38909 } && test -s conftest$ac_exeext &&
38910 $as_test_x conftest$ac_exeext; then
38911 eval "$as_ac_var=yes"
38913 echo "$as_me: failed program was:" >&5
38914 sed 's/^/| /' conftest.$ac_ext >&5
38916 eval "$as_ac_var=no"
38919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38920 conftest$ac_exeext conftest.$ac_ext
38922 ac_res=`eval echo '${'$as_ac_var'}'`
38923 { echo "$as_me:$LINENO: result: $ac_res" >&5
38924 echo "${ECHO_T}$ac_res" >&6; }
38925 if test `eval echo '${'$as_ac_var'}'` = yes; then
38926 cat >>confdefs.h <<_ACEOF
38927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38929 cat >>confdefs.h <<\_ACEOF
38930 #define HAVE_NANOSLEEP 1
38935 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38936 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38937 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38938 echo $ECHO_N "(cached) $ECHO_C" >&6
38940 ac_check_lib_save_LIBS=$LIBS
38941 LIBS="-lposix4 $LIBS"
38942 cat >conftest.$ac_ext <<_ACEOF
38945 cat confdefs.h >>conftest.$ac_ext
38946 cat >>conftest.$ac_ext <<_ACEOF
38947 /* end confdefs.h. */
38949 /* Override any GCC internal prototype to avoid an error.
38950 Use char because int might match the return type of a GCC
38951 builtin and then its argument prototype would still apply. */
38959 return nanosleep ();
38964 rm -f conftest.$ac_objext conftest$ac_exeext
38965 if { (ac_try="$ac_link"
38966 case "(($ac_try" in
38967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38968 *) ac_try_echo=$ac_try;;
38970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38971 (eval "$ac_link") 2>conftest.er1
38973 grep -v '^ *+' conftest.er1 >conftest.err
38975 cat conftest.err >&5
38976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38977 (exit $ac_status); } && {
38978 test -z "$ac_c_werror_flag" ||
38979 test ! -s conftest.err
38980 } && test -s conftest$ac_exeext &&
38981 $as_test_x conftest$ac_exeext; then
38982 ac_cv_lib_posix4_nanosleep=yes
38984 echo "$as_me: failed program was:" >&5
38985 sed 's/^/| /' conftest.$ac_ext >&5
38987 ac_cv_lib_posix4_nanosleep=no
38990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38991 conftest$ac_exeext conftest.$ac_ext
38992 LIBS=$ac_check_lib_save_LIBS
38994 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38995 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38996 if test $ac_cv_lib_posix4_nanosleep = yes; then
38998 cat >>confdefs.h <<\_ACEOF
38999 #define HAVE_NANOSLEEP 1
39002 POSIX4_LINK=" -lposix4"
39007 for wx_func in usleep
39009 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39010 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39011 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39012 echo $ECHO_N "(cached) $ECHO_C" >&6
39015 cat >conftest.$ac_ext <<_ACEOF
39019 cat confdefs.h >>conftest.$ac_ext
39020 cat >>conftest.$ac_ext <<_ACEOF
39021 /* end confdefs.h. */
39024 $ac_includes_default
39040 rm -f conftest.$ac_objext conftest$ac_exeext
39041 if { (ac_try="$ac_link"
39042 case "(($ac_try" in
39043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39044 *) ac_try_echo=$ac_try;;
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_link") 2>conftest.er1
39049 grep -v '^ *+' conftest.er1 >conftest.err
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_c_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest$ac_exeext &&
39057 $as_test_x conftest$ac_exeext; then
39058 eval wx_cv_func_$wx_func=yes
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.$ac_ext >&5
39063 eval wx_cv_func_$wx_func=no
39066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39067 conftest$ac_exeext conftest.$ac_ext
39070 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39071 { echo "$as_me:$LINENO: result: $ac_res" >&5
39072 echo "${ECHO_T}$ac_res" >&6; }
39074 if eval test \$wx_cv_func_$wx_func = yes
39076 cat >>confdefs.h <<_ACEOF
39077 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39083 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39084 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39101 for wx_func in uname
39103 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39104 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39105 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39106 echo $ECHO_N "(cached) $ECHO_C" >&6
39109 cat >conftest.$ac_ext <<_ACEOF
39113 cat confdefs.h >>conftest.$ac_ext
39114 cat >>conftest.$ac_ext <<_ACEOF
39115 /* end confdefs.h. */
39117 #include <sys/utsname.h>
39118 $ac_includes_default
39134 rm -f conftest.$ac_objext conftest$ac_exeext
39135 if { (ac_try="$ac_link"
39136 case "(($ac_try" in
39137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39138 *) ac_try_echo=$ac_try;;
39140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39141 (eval "$ac_link") 2>conftest.er1
39143 grep -v '^ *+' conftest.er1 >conftest.err
39145 cat conftest.err >&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } && {
39148 test -z "$ac_c_werror_flag" ||
39149 test ! -s conftest.err
39150 } && test -s conftest$ac_exeext &&
39151 $as_test_x conftest$ac_exeext; then
39152 eval wx_cv_func_$wx_func=yes
39154 echo "$as_me: failed program was:" >&5
39155 sed 's/^/| /' conftest.$ac_ext >&5
39157 eval wx_cv_func_$wx_func=no
39160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39161 conftest$ac_exeext conftest.$ac_ext
39164 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39165 { echo "$as_me:$LINENO: result: $ac_res" >&5
39166 echo "${ECHO_T}$ac_res" >&6; }
39168 if eval test \$wx_cv_func_$wx_func = yes
39170 cat >>confdefs.h <<_ACEOF
39171 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39181 if test "$wx_cv_func_uname" != yes; then
39183 for wx_func in gethostname
39185 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39186 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39187 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39191 cat >conftest.$ac_ext <<_ACEOF
39195 cat confdefs.h >>conftest.$ac_ext
39196 cat >>conftest.$ac_ext <<_ACEOF
39197 /* end confdefs.h. */
39200 $ac_includes_default
39216 rm -f conftest.$ac_objext conftest$ac_exeext
39217 if { (ac_try="$ac_link"
39218 case "(($ac_try" in
39219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39220 *) ac_try_echo=$ac_try;;
39222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39223 (eval "$ac_link") 2>conftest.er1
39225 grep -v '^ *+' conftest.er1 >conftest.err
39227 cat conftest.err >&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); } && {
39230 test -z "$ac_c_werror_flag" ||
39231 test ! -s conftest.err
39232 } && test -s conftest$ac_exeext &&
39233 $as_test_x conftest$ac_exeext; then
39234 eval wx_cv_func_$wx_func=yes
39236 echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.$ac_ext >&5
39239 eval wx_cv_func_$wx_func=no
39242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39243 conftest$ac_exeext conftest.$ac_ext
39246 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39247 { echo "$as_me:$LINENO: result: $ac_res" >&5
39248 echo "${ECHO_T}$ac_res" >&6; }
39250 if eval test \$wx_cv_func_$wx_func = yes
39252 cat >>confdefs.h <<_ACEOF
39253 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39266 for wx_func in strtok_r
39268 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39269 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39270 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39274 cat >conftest.$ac_ext <<_ACEOF
39278 cat confdefs.h >>conftest.$ac_ext
39279 cat >>conftest.$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39283 $ac_includes_default
39299 rm -f conftest.$ac_objext conftest$ac_exeext
39300 if { (ac_try="$ac_link"
39301 case "(($ac_try" in
39302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39303 *) ac_try_echo=$ac_try;;
39305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39306 (eval "$ac_link") 2>conftest.er1
39308 grep -v '^ *+' conftest.er1 >conftest.err
39310 cat conftest.err >&5
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); } && {
39313 test -z "$ac_c_werror_flag" ||
39314 test ! -s conftest.err
39315 } && test -s conftest$ac_exeext &&
39316 $as_test_x conftest$ac_exeext; then
39317 eval wx_cv_func_$wx_func=yes
39319 echo "$as_me: failed program was:" >&5
39320 sed 's/^/| /' conftest.$ac_ext >&5
39322 eval wx_cv_func_$wx_func=no
39325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39326 conftest$ac_exeext conftest.$ac_ext
39329 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39330 { echo "$as_me:$LINENO: result: $ac_res" >&5
39331 echo "${ECHO_T}$ac_res" >&6; }
39333 if eval test \$wx_cv_func_$wx_func = yes
39335 cat >>confdefs.h <<_ACEOF
39336 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39349 for ac_func in inet_addr
39351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39352 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39354 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39355 echo $ECHO_N "(cached) $ECHO_C" >&6
39357 cat >conftest.$ac_ext <<_ACEOF
39360 cat confdefs.h >>conftest.$ac_ext
39361 cat >>conftest.$ac_ext <<_ACEOF
39362 /* end confdefs.h. */
39363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39365 #define $ac_func innocuous_$ac_func
39367 /* System header to define __stub macros and hopefully few prototypes,
39368 which can conflict with char $ac_func (); below.
39369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39370 <limits.h> exists even on freestanding compilers. */
39373 # include <limits.h>
39375 # include <assert.h>
39380 /* Override any GCC internal prototype to avoid an error.
39381 Use char because int might match the return type of a GCC
39382 builtin and then its argument prototype would still apply. */
39387 /* The GNU C library defines this for functions which it implements
39388 to always fail with ENOSYS. Some functions are actually named
39389 something starting with __ and the normal name is an alias. */
39390 #if defined __stub_$ac_func || defined __stub___$ac_func
39397 return $ac_func ();
39402 rm -f conftest.$ac_objext conftest$ac_exeext
39403 if { (ac_try="$ac_link"
39404 case "(($ac_try" in
39405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39406 *) ac_try_echo=$ac_try;;
39408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39409 (eval "$ac_link") 2>conftest.er1
39411 grep -v '^ *+' conftest.er1 >conftest.err
39413 cat conftest.err >&5
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); } && {
39416 test -z "$ac_c_werror_flag" ||
39417 test ! -s conftest.err
39418 } && test -s conftest$ac_exeext &&
39419 $as_test_x conftest$ac_exeext; then
39420 eval "$as_ac_var=yes"
39422 echo "$as_me: failed program was:" >&5
39423 sed 's/^/| /' conftest.$ac_ext >&5
39425 eval "$as_ac_var=no"
39428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39429 conftest$ac_exeext conftest.$ac_ext
39431 ac_res=`eval echo '${'$as_ac_var'}'`
39432 { echo "$as_me:$LINENO: result: $ac_res" >&5
39433 echo "${ECHO_T}$ac_res" >&6; }
39434 if test `eval echo '${'$as_ac_var'}'` = yes; then
39435 cat >>confdefs.h <<_ACEOF
39436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39438 cat >>confdefs.h <<\_ACEOF
39439 #define HAVE_INET_ADDR 1
39444 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39445 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39446 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39447 echo $ECHO_N "(cached) $ECHO_C" >&6
39449 ac_check_lib_save_LIBS=$LIBS
39451 cat >conftest.$ac_ext <<_ACEOF
39454 cat confdefs.h >>conftest.$ac_ext
39455 cat >>conftest.$ac_ext <<_ACEOF
39456 /* end confdefs.h. */
39458 /* Override any GCC internal prototype to avoid an error.
39459 Use char because int might match the return type of a GCC
39460 builtin and then its argument prototype would still apply. */
39468 return inet_addr ();
39473 rm -f conftest.$ac_objext conftest$ac_exeext
39474 if { (ac_try="$ac_link"
39475 case "(($ac_try" in
39476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39477 *) ac_try_echo=$ac_try;;
39479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39480 (eval "$ac_link") 2>conftest.er1
39482 grep -v '^ *+' conftest.er1 >conftest.err
39484 cat conftest.err >&5
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); } && {
39487 test -z "$ac_c_werror_flag" ||
39488 test ! -s conftest.err
39489 } && test -s conftest$ac_exeext &&
39490 $as_test_x conftest$ac_exeext; then
39491 ac_cv_lib_nsl_inet_addr=yes
39493 echo "$as_me: failed program was:" >&5
39494 sed 's/^/| /' conftest.$ac_ext >&5
39496 ac_cv_lib_nsl_inet_addr=no
39499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39500 conftest$ac_exeext conftest.$ac_ext
39501 LIBS=$ac_check_lib_save_LIBS
39503 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39504 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39505 if test $ac_cv_lib_nsl_inet_addr = yes; then
39509 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39510 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39511 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39512 echo $ECHO_N "(cached) $ECHO_C" >&6
39514 ac_check_lib_save_LIBS=$LIBS
39515 LIBS="-lresolv $LIBS"
39516 cat >conftest.$ac_ext <<_ACEOF
39519 cat confdefs.h >>conftest.$ac_ext
39520 cat >>conftest.$ac_ext <<_ACEOF
39521 /* end confdefs.h. */
39523 /* Override any GCC internal prototype to avoid an error.
39524 Use char because int might match the return type of a GCC
39525 builtin and then its argument prototype would still apply. */
39533 return inet_addr ();
39538 rm -f conftest.$ac_objext conftest$ac_exeext
39539 if { (ac_try="$ac_link"
39540 case "(($ac_try" in
39541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39542 *) ac_try_echo=$ac_try;;
39544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39545 (eval "$ac_link") 2>conftest.er1
39547 grep -v '^ *+' conftest.er1 >conftest.err
39549 cat conftest.err >&5
39550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 (exit $ac_status); } && {
39552 test -z "$ac_c_werror_flag" ||
39553 test ! -s conftest.err
39554 } && test -s conftest$ac_exeext &&
39555 $as_test_x conftest$ac_exeext; then
39556 ac_cv_lib_resolv_inet_addr=yes
39558 echo "$as_me: failed program was:" >&5
39559 sed 's/^/| /' conftest.$ac_ext >&5
39561 ac_cv_lib_resolv_inet_addr=no
39564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39565 conftest$ac_exeext conftest.$ac_ext
39566 LIBS=$ac_check_lib_save_LIBS
39568 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39569 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39570 if test $ac_cv_lib_resolv_inet_addr = yes; then
39574 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39575 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39576 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39577 echo $ECHO_N "(cached) $ECHO_C" >&6
39579 ac_check_lib_save_LIBS=$LIBS
39580 LIBS="-lsocket $LIBS"
39581 cat >conftest.$ac_ext <<_ACEOF
39584 cat confdefs.h >>conftest.$ac_ext
39585 cat >>conftest.$ac_ext <<_ACEOF
39586 /* end confdefs.h. */
39588 /* Override any GCC internal prototype to avoid an error.
39589 Use char because int might match the return type of a GCC
39590 builtin and then its argument prototype would still apply. */
39598 return inet_addr ();
39603 rm -f conftest.$ac_objext conftest$ac_exeext
39604 if { (ac_try="$ac_link"
39605 case "(($ac_try" in
39606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39607 *) ac_try_echo=$ac_try;;
39609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39610 (eval "$ac_link") 2>conftest.er1
39612 grep -v '^ *+' conftest.er1 >conftest.err
39614 cat conftest.err >&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } && {
39617 test -z "$ac_c_werror_flag" ||
39618 test ! -s conftest.err
39619 } && test -s conftest$ac_exeext &&
39620 $as_test_x conftest$ac_exeext; then
39621 ac_cv_lib_socket_inet_addr=yes
39623 echo "$as_me: failed program was:" >&5
39624 sed 's/^/| /' conftest.$ac_ext >&5
39626 ac_cv_lib_socket_inet_addr=no
39629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39630 conftest$ac_exeext conftest.$ac_ext
39631 LIBS=$ac_check_lib_save_LIBS
39633 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39634 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39635 if test $ac_cv_lib_socket_inet_addr = yes; then
39655 for ac_func in inet_aton
39657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39658 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39660 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39661 echo $ECHO_N "(cached) $ECHO_C" >&6
39663 cat >conftest.$ac_ext <<_ACEOF
39666 cat confdefs.h >>conftest.$ac_ext
39667 cat >>conftest.$ac_ext <<_ACEOF
39668 /* end confdefs.h. */
39669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39671 #define $ac_func innocuous_$ac_func
39673 /* System header to define __stub macros and hopefully few prototypes,
39674 which can conflict with char $ac_func (); below.
39675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39676 <limits.h> exists even on freestanding compilers. */
39679 # include <limits.h>
39681 # include <assert.h>
39686 /* Override any GCC internal prototype to avoid an error.
39687 Use char because int might match the return type of a GCC
39688 builtin and then its argument prototype would still apply. */
39693 /* The GNU C library defines this for functions which it implements
39694 to always fail with ENOSYS. Some functions are actually named
39695 something starting with __ and the normal name is an alias. */
39696 #if defined __stub_$ac_func || defined __stub___$ac_func
39703 return $ac_func ();
39708 rm -f conftest.$ac_objext conftest$ac_exeext
39709 if { (ac_try="$ac_link"
39710 case "(($ac_try" in
39711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39712 *) ac_try_echo=$ac_try;;
39714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39715 (eval "$ac_link") 2>conftest.er1
39717 grep -v '^ *+' conftest.er1 >conftest.err
39719 cat conftest.err >&5
39720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39721 (exit $ac_status); } && {
39722 test -z "$ac_c_werror_flag" ||
39723 test ! -s conftest.err
39724 } && test -s conftest$ac_exeext &&
39725 $as_test_x conftest$ac_exeext; then
39726 eval "$as_ac_var=yes"
39728 echo "$as_me: failed program was:" >&5
39729 sed 's/^/| /' conftest.$ac_ext >&5
39731 eval "$as_ac_var=no"
39734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39735 conftest$ac_exeext conftest.$ac_ext
39737 ac_res=`eval echo '${'$as_ac_var'}'`
39738 { echo "$as_me:$LINENO: result: $ac_res" >&5
39739 echo "${ECHO_T}$ac_res" >&6; }
39740 if test `eval echo '${'$as_ac_var'}'` = yes; then
39741 cat >>confdefs.h <<_ACEOF
39742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39744 cat >>confdefs.h <<\_ACEOF
39745 #define HAVE_INET_ATON 1
39750 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39751 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39752 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39753 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39754 echo $ECHO_N "(cached) $ECHO_C" >&6
39756 ac_check_lib_save_LIBS=$LIBS
39757 LIBS="-l$INET_LINK $LIBS"
39758 cat >conftest.$ac_ext <<_ACEOF
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39765 /* Override any GCC internal prototype to avoid an error.
39766 Use char because int might match the return type of a GCC
39767 builtin and then its argument prototype would still apply. */
39775 return inet_aton ();
39780 rm -f conftest.$ac_objext conftest$ac_exeext
39781 if { (ac_try="$ac_link"
39782 case "(($ac_try" in
39783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39784 *) ac_try_echo=$ac_try;;
39786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39787 (eval "$ac_link") 2>conftest.er1
39789 grep -v '^ *+' conftest.er1 >conftest.err
39791 cat conftest.err >&5
39792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39793 (exit $ac_status); } && {
39794 test -z "$ac_c_werror_flag" ||
39795 test ! -s conftest.err
39796 } && test -s conftest$ac_exeext &&
39797 $as_test_x conftest$ac_exeext; then
39798 eval "$as_ac_Lib=yes"
39800 echo "$as_me: failed program was:" >&5
39801 sed 's/^/| /' conftest.$ac_ext >&5
39803 eval "$as_ac_Lib=no"
39806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39807 conftest$ac_exeext conftest.$ac_ext
39808 LIBS=$ac_check_lib_save_LIBS
39810 ac_res=`eval echo '${'$as_ac_Lib'}'`
39811 { echo "$as_me:$LINENO: result: $ac_res" >&5
39812 echo "${ECHO_T}$ac_res" >&6; }
39813 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39814 cat >>confdefs.h <<\_ACEOF
39815 #define HAVE_INET_ATON 1
39825 if test "x$INET_LINK" != "x"; then
39826 cat >>confdefs.h <<\_ACEOF
39827 #define HAVE_INET_ADDR 1
39830 INET_LINK=" -l$INET_LINK"
39834 for wx_func in fdopen
39836 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39837 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39838 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39839 echo $ECHO_N "(cached) $ECHO_C" >&6
39842 cat >conftest.$ac_ext <<_ACEOF
39846 cat confdefs.h >>conftest.$ac_ext
39847 cat >>conftest.$ac_ext <<_ACEOF
39848 /* end confdefs.h. */
39851 $ac_includes_default
39867 rm -f conftest.$ac_objext conftest$ac_exeext
39868 if { (ac_try="$ac_link"
39869 case "(($ac_try" in
39870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39871 *) ac_try_echo=$ac_try;;
39873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39874 (eval "$ac_link") 2>conftest.er1
39876 grep -v '^ *+' conftest.er1 >conftest.err
39878 cat conftest.err >&5
39879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39880 (exit $ac_status); } && {
39881 test -z "$ac_c_werror_flag" ||
39882 test ! -s conftest.err
39883 } && test -s conftest$ac_exeext &&
39884 $as_test_x conftest$ac_exeext; then
39885 eval wx_cv_func_$wx_func=yes
39887 echo "$as_me: failed program was:" >&5
39888 sed 's/^/| /' conftest.$ac_ext >&5
39890 eval wx_cv_func_$wx_func=no
39893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39894 conftest$ac_exeext conftest.$ac_ext
39897 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39898 { echo "$as_me:$LINENO: result: $ac_res" >&5
39899 echo "${ECHO_T}$ac_res" >&6; }
39901 if eval test \$wx_cv_func_$wx_func = yes
39903 cat >>confdefs.h <<_ACEOF
39904 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39915 if test "$wxUSE_TARSTREAM" = "yes"; then
39917 for wx_func in sysconf
39919 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39920 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39921 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39922 echo $ECHO_N "(cached) $ECHO_C" >&6
39925 cat >conftest.$ac_ext <<_ACEOF
39929 cat confdefs.h >>conftest.$ac_ext
39930 cat >>conftest.$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39934 $ac_includes_default
39950 rm -f conftest.$ac_objext conftest$ac_exeext
39951 if { (ac_try="$ac_link"
39952 case "(($ac_try" in
39953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39954 *) ac_try_echo=$ac_try;;
39956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39957 (eval "$ac_link") 2>conftest.er1
39959 grep -v '^ *+' conftest.er1 >conftest.err
39961 cat conftest.err >&5
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); } && {
39964 test -z "$ac_c_werror_flag" ||
39965 test ! -s conftest.err
39966 } && test -s conftest$ac_exeext &&
39967 $as_test_x conftest$ac_exeext; then
39968 eval wx_cv_func_$wx_func=yes
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39973 eval wx_cv_func_$wx_func=no
39976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39977 conftest$ac_exeext conftest.$ac_ext
39980 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39981 { echo "$as_me:$LINENO: result: $ac_res" >&5
39982 echo "${ECHO_T}$ac_res" >&6; }
39984 if eval test \$wx_cv_func_$wx_func = yes
39986 cat >>confdefs.h <<_ACEOF
39987 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39999 for wx_func in getpwuid_r
40001 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40002 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40003 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40004 echo $ECHO_N "(cached) $ECHO_C" >&6
40007 cat >conftest.$ac_ext <<_ACEOF
40011 cat confdefs.h >>conftest.$ac_ext
40012 cat >>conftest.$ac_ext <<_ACEOF
40013 /* end confdefs.h. */
40019 $ac_includes_default
40029 struct passwd pw, *ppw;
40031 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40039 rm -f conftest.$ac_objext conftest$ac_exeext
40040 if { (ac_try="$ac_link"
40041 case "(($ac_try" in
40042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40043 *) ac_try_echo=$ac_try;;
40045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40046 (eval "$ac_link") 2>conftest.er1
40048 grep -v '^ *+' conftest.er1 >conftest.err
40050 cat conftest.err >&5
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); } && {
40053 test -z "$ac_c_werror_flag" ||
40054 test ! -s conftest.err
40055 } && test -s conftest$ac_exeext &&
40056 $as_test_x conftest$ac_exeext; then
40057 eval wx_cv_func_$wx_func=yes
40059 echo "$as_me: failed program was:" >&5
40060 sed 's/^/| /' conftest.$ac_ext >&5
40062 eval wx_cv_func_$wx_func=no
40065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40066 conftest$ac_exeext conftest.$ac_ext
40069 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40070 { echo "$as_me:$LINENO: result: $ac_res" >&5
40071 echo "${ECHO_T}$ac_res" >&6; }
40073 if eval test \$wx_cv_func_$wx_func = yes
40075 cat >>confdefs.h <<_ACEOF
40076 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40088 for wx_func in getgrgid_r
40090 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40091 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40092 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40093 echo $ECHO_N "(cached) $ECHO_C" >&6
40096 cat >conftest.$ac_ext <<_ACEOF
40100 cat confdefs.h >>conftest.$ac_ext
40101 cat >>conftest.$ac_ext <<_ACEOF
40102 /* end confdefs.h. */
40108 $ac_includes_default
40118 struct group grp, *pgrp;
40120 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40128 rm -f conftest.$ac_objext conftest$ac_exeext
40129 if { (ac_try="$ac_link"
40130 case "(($ac_try" in
40131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40132 *) ac_try_echo=$ac_try;;
40134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40135 (eval "$ac_link") 2>conftest.er1
40137 grep -v '^ *+' conftest.er1 >conftest.err
40139 cat conftest.err >&5
40140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141 (exit $ac_status); } && {
40142 test -z "$ac_c_werror_flag" ||
40143 test ! -s conftest.err
40144 } && test -s conftest$ac_exeext &&
40145 $as_test_x conftest$ac_exeext; then
40146 eval wx_cv_func_$wx_func=yes
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.$ac_ext >&5
40151 eval wx_cv_func_$wx_func=no
40154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40155 conftest$ac_exeext conftest.$ac_ext
40158 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40159 { echo "$as_me:$LINENO: result: $ac_res" >&5
40160 echo "${ECHO_T}$ac_res" >&6; }
40162 if eval test \$wx_cv_func_$wx_func = yes
40164 cat >>confdefs.h <<_ACEOF
40165 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40181 cat >confcache <<\_ACEOF
40182 # This file is a shell script that caches the results of configure
40183 # tests run on this system so they can be shared between configure
40184 # scripts and configure runs, see configure's option --config-cache.
40185 # It is not useful on other systems. If it contains results you don't
40186 # want to keep, you may remove or edit it.
40188 # config.status only pays attention to the cache file if you give it
40189 # the --recheck option to rerun configure.
40191 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40192 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40193 # following values.
40197 # The following way of writing the cache mishandles newlines in values,
40198 # but we know of no workaround that is simple, portable, and efficient.
40199 # So, we kill variables containing newlines.
40200 # Ultrix sh set writes to stderr and can't be redirected directly,
40201 # and sets the high bit in the cache file unless we assign to the vars.
40203 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40204 eval ac_val=\$$ac_var
40208 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40209 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40212 _ | IFS | as_nl) ;; #(
40213 *) $as_unset $ac_var ;;
40219 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40220 *${as_nl}ac_space=\ *)
40221 # `set' does not quote correctly, so add quotes (double-quote
40222 # substitution turns \\\\ into \\, and sed turns \\ into \).
40225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40228 # `set' quotes correctly as required by POSIX, so do not add quotes.
40229 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40238 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40240 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40242 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40243 if test -w "$cache_file"; then
40244 test "x$cache_file" != "x/dev/null" &&
40245 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40246 echo "$as_me: updating cache $cache_file" >&6;}
40247 cat confcache >$cache_file
40249 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40250 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40256 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40262 if test "$wxUSE_THREADS" = "yes" ; then
40263 if test "$USE_BEOS" = 1; then
40264 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40265 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40270 if test "$wxUSE_THREADS" = "yes" ; then
40273 THREAD_OPTS="-pthread"
40274 if test "x$SUNCXX" = xyes; then
40275 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40279 *-*-solaris2* | *-*-sunos4* )
40280 if test "x$GCC" = "xyes"; then
40281 THREAD_OPTS="-pthreads $THREAD_OPTS"
40285 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40287 *-*-darwin* | *-*-cygwin* )
40291 THREAD_OPTS="pthreads"
40294 if test "x$GCC" = "xyes"; then
40295 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40303 if test "x$GCC" = "xyes"; then
40313 if test "x$GCC" != "xyes"; then
40314 THREAD_OPTS="-Ethread"
40321 THREAD_OPTS="none pthread"
40325 THREAD_OPTS="$THREAD_OPTS pthread none"
40330 for flag in $THREAD_OPTS; do
40333 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40334 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40338 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40339 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40340 THREADS_CFLAGS="$flag"
40344 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40345 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40346 THREADS_LINK="-l$flag"
40351 save_CFLAGS="$CFLAGS"
40352 LIBS="$THREADS_LINK $LIBS"
40353 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40355 cat >conftest.$ac_ext <<_ACEOF
40358 cat confdefs.h >>conftest.$ac_ext
40359 cat >>conftest.$ac_ext <<_ACEOF
40360 /* end confdefs.h. */
40361 #include <pthread.h>
40365 pthread_create(0,0,0,0);
40370 rm -f conftest.$ac_objext conftest$ac_exeext
40371 if { (ac_try="$ac_link"
40372 case "(($ac_try" in
40373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40374 *) ac_try_echo=$ac_try;;
40376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40377 (eval "$ac_link") 2>conftest.er1
40379 grep -v '^ *+' conftest.er1 >conftest.err
40381 cat conftest.err >&5
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); } && {
40384 test -z "$ac_c_werror_flag" ||
40385 test ! -s conftest.err
40386 } && test -s conftest$ac_exeext &&
40387 $as_test_x conftest$ac_exeext; then
40390 echo "$as_me: failed program was:" >&5
40391 sed 's/^/| /' conftest.$ac_ext >&5
40396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40397 conftest$ac_exeext conftest.$ac_ext
40400 CFLAGS="$save_CFLAGS"
40402 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40403 echo "${ECHO_T}$THREADS_OK" >&6; }
40404 if test "x$THREADS_OK" = "xyes"; then
40412 if test "x$THREADS_OK" != "xyes"; then
40414 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40415 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40417 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40418 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40419 LIBS="$THREADS_LINK $LIBS"
40421 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40422 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40426 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40427 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40428 flag="-D_THREAD_SAFE"
40431 flag="-D_THREAD_SAFE"
40434 flag="-D_REENTRANT"
40435 if test "x$GCC" != "xyes"; then
40436 flag="$flag -D_RWSTD_MULTI_THREAD"
40439 *solaris* | alpha*-osf*)
40440 flag="-D_REENTRANT"
40443 { echo "$as_me:$LINENO: result: ${flag}" >&5
40444 echo "${ECHO_T}${flag}" >&6; }
40445 if test "x$flag" != xno; then
40446 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40449 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40453 if test "$wxUSE_THREADS" = "yes" ; then
40455 for ac_func in thr_setconcurrency
40457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40461 echo $ECHO_N "(cached) $ECHO_C" >&6
40463 cat >conftest.$ac_ext <<_ACEOF
40466 cat confdefs.h >>conftest.$ac_ext
40467 cat >>conftest.$ac_ext <<_ACEOF
40468 /* end confdefs.h. */
40469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40471 #define $ac_func innocuous_$ac_func
40473 /* System header to define __stub macros and hopefully few prototypes,
40474 which can conflict with char $ac_func (); below.
40475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40476 <limits.h> exists even on freestanding compilers. */
40479 # include <limits.h>
40481 # include <assert.h>
40486 /* Override any GCC internal prototype to avoid an error.
40487 Use char because int might match the return type of a GCC
40488 builtin and then its argument prototype would still apply. */
40493 /* The GNU C library defines this for functions which it implements
40494 to always fail with ENOSYS. Some functions are actually named
40495 something starting with __ and the normal name is an alias. */
40496 #if defined __stub_$ac_func || defined __stub___$ac_func
40503 return $ac_func ();
40508 rm -f conftest.$ac_objext conftest$ac_exeext
40509 if { (ac_try="$ac_link"
40510 case "(($ac_try" in
40511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40512 *) ac_try_echo=$ac_try;;
40514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40515 (eval "$ac_link") 2>conftest.er1
40517 grep -v '^ *+' conftest.er1 >conftest.err
40519 cat conftest.err >&5
40520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521 (exit $ac_status); } && {
40522 test -z "$ac_c_werror_flag" ||
40523 test ! -s conftest.err
40524 } && test -s conftest$ac_exeext &&
40525 $as_test_x conftest$ac_exeext; then
40526 eval "$as_ac_var=yes"
40528 echo "$as_me: failed program was:" >&5
40529 sed 's/^/| /' conftest.$ac_ext >&5
40531 eval "$as_ac_var=no"
40534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40535 conftest$ac_exeext conftest.$ac_ext
40537 ac_res=`eval echo '${'$as_ac_var'}'`
40538 { echo "$as_me:$LINENO: result: $ac_res" >&5
40539 echo "${ECHO_T}$ac_res" >&6; }
40540 if test `eval echo '${'$as_ac_var'}'` = yes; then
40541 cat >>confdefs.h <<_ACEOF
40542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40549 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40550 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40551 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40552 echo $ECHO_N "(cached) $ECHO_C" >&6
40556 ac_cpp='$CXXCPP $CPPFLAGS'
40557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40561 cat >conftest.$ac_ext <<_ACEOF
40564 cat confdefs.h >>conftest.$ac_ext
40565 cat >>conftest.$ac_ext <<_ACEOF
40566 /* end confdefs.h. */
40567 #include <pthread.h>
40568 void ThreadCleanupFunc(void *p);
40575 pthread_cleanup_push(ThreadCleanupFunc, p);
40576 pthread_cleanup_pop(0);
40582 rm -f conftest.$ac_objext
40583 if { (ac_try="$ac_compile"
40584 case "(($ac_try" in
40585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40586 *) ac_try_echo=$ac_try;;
40588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40589 (eval "$ac_compile") 2>conftest.er1
40591 grep -v '^ *+' conftest.er1 >conftest.err
40593 cat conftest.err >&5
40594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40595 (exit $ac_status); } && {
40596 test -z "$ac_cxx_werror_flag" ||
40597 test ! -s conftest.err
40598 } && test -s conftest.$ac_objext; then
40600 wx_cv_func_pthread_cleanup=yes
40603 echo "$as_me: failed program was:" >&5
40604 sed 's/^/| /' conftest.$ac_ext >&5
40607 wx_cv_func_pthread_cleanup=no
40612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40614 ac_cpp='$CPP $CPPFLAGS'
40615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40621 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40622 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40623 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40624 cat >>confdefs.h <<\_ACEOF
40625 #define wxHAVE_PTHREAD_CLEANUP 1
40631 for ac_header in sched.h
40633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40634 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40636 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40637 echo $ECHO_N "(cached) $ECHO_C" >&6
40639 cat >conftest.$ac_ext <<_ACEOF
40642 cat confdefs.h >>conftest.$ac_ext
40643 cat >>conftest.$ac_ext <<_ACEOF
40644 /* end confdefs.h. */
40645 $ac_includes_default
40647 #include <$ac_header>
40649 rm -f conftest.$ac_objext
40650 if { (ac_try="$ac_compile"
40651 case "(($ac_try" in
40652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40653 *) ac_try_echo=$ac_try;;
40655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40656 (eval "$ac_compile") 2>conftest.er1
40658 grep -v '^ *+' conftest.er1 >conftest.err
40660 cat conftest.err >&5
40661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40662 (exit $ac_status); } && {
40663 test -z "$ac_c_werror_flag" ||
40664 test ! -s conftest.err
40665 } && test -s conftest.$ac_objext; then
40666 eval "$as_ac_Header=yes"
40668 echo "$as_me: failed program was:" >&5
40669 sed 's/^/| /' conftest.$ac_ext >&5
40671 eval "$as_ac_Header=no"
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40676 ac_res=`eval echo '${'$as_ac_Header'}'`
40677 { echo "$as_me:$LINENO: result: $ac_res" >&5
40678 echo "${ECHO_T}$ac_res" >&6; }
40679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40680 cat >>confdefs.h <<_ACEOF
40681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40688 if test "$ac_cv_header_sched_h" = "yes"; then
40689 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40690 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40691 if test "${ac_cv_func_sched_yield+set}" = set; then
40692 echo $ECHO_N "(cached) $ECHO_C" >&6
40694 cat >conftest.$ac_ext <<_ACEOF
40697 cat confdefs.h >>conftest.$ac_ext
40698 cat >>conftest.$ac_ext <<_ACEOF
40699 /* end confdefs.h. */
40700 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40702 #define sched_yield innocuous_sched_yield
40704 /* System header to define __stub macros and hopefully few prototypes,
40705 which can conflict with char sched_yield (); below.
40706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40707 <limits.h> exists even on freestanding compilers. */
40710 # include <limits.h>
40712 # include <assert.h>
40717 /* Override any GCC internal prototype to avoid an error.
40718 Use char because int might match the return type of a GCC
40719 builtin and then its argument prototype would still apply. */
40723 char sched_yield ();
40724 /* The GNU C library defines this for functions which it implements
40725 to always fail with ENOSYS. Some functions are actually named
40726 something starting with __ and the normal name is an alias. */
40727 #if defined __stub_sched_yield || defined __stub___sched_yield
40734 return sched_yield ();
40739 rm -f conftest.$ac_objext conftest$ac_exeext
40740 if { (ac_try="$ac_link"
40741 case "(($ac_try" in
40742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40743 *) ac_try_echo=$ac_try;;
40745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40746 (eval "$ac_link") 2>conftest.er1
40748 grep -v '^ *+' conftest.er1 >conftest.err
40750 cat conftest.err >&5
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); } && {
40753 test -z "$ac_c_werror_flag" ||
40754 test ! -s conftest.err
40755 } && test -s conftest$ac_exeext &&
40756 $as_test_x conftest$ac_exeext; then
40757 ac_cv_func_sched_yield=yes
40759 echo "$as_me: failed program was:" >&5
40760 sed 's/^/| /' conftest.$ac_ext >&5
40762 ac_cv_func_sched_yield=no
40765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40766 conftest$ac_exeext conftest.$ac_ext
40768 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40769 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40770 if test $ac_cv_func_sched_yield = yes; then
40771 cat >>confdefs.h <<\_ACEOF
40772 #define HAVE_SCHED_YIELD 1
40777 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40778 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40779 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40780 echo $ECHO_N "(cached) $ECHO_C" >&6
40782 ac_check_lib_save_LIBS=$LIBS
40783 LIBS="-lposix4 $LIBS"
40784 cat >conftest.$ac_ext <<_ACEOF
40787 cat confdefs.h >>conftest.$ac_ext
40788 cat >>conftest.$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40791 /* Override any GCC internal prototype to avoid an error.
40792 Use char because int might match the return type of a GCC
40793 builtin and then its argument prototype would still apply. */
40797 char sched_yield ();
40801 return sched_yield ();
40806 rm -f conftest.$ac_objext conftest$ac_exeext
40807 if { (ac_try="$ac_link"
40808 case "(($ac_try" in
40809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40810 *) ac_try_echo=$ac_try;;
40812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40813 (eval "$ac_link") 2>conftest.er1
40815 grep -v '^ *+' conftest.er1 >conftest.err
40817 cat conftest.err >&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); } && {
40820 test -z "$ac_c_werror_flag" ||
40821 test ! -s conftest.err
40822 } && test -s conftest$ac_exeext &&
40823 $as_test_x conftest$ac_exeext; then
40824 ac_cv_lib_posix4_sched_yield=yes
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40829 ac_cv_lib_posix4_sched_yield=no
40832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40833 conftest$ac_exeext conftest.$ac_ext
40834 LIBS=$ac_check_lib_save_LIBS
40836 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40837 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40838 if test $ac_cv_lib_posix4_sched_yield = yes; then
40839 cat >>confdefs.h <<\_ACEOF
40840 #define HAVE_SCHED_YIELD 1
40842 POSIX4_LINK=" -lposix4"
40844 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40845 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40856 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40857 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40858 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40859 echo $ECHO_N "(cached) $ECHO_C" >&6
40861 cat >conftest.$ac_ext <<_ACEOF
40864 cat confdefs.h >>conftest.$ac_ext
40865 cat >>conftest.$ac_ext <<_ACEOF
40866 /* end confdefs.h. */
40867 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40869 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40871 /* System header to define __stub macros and hopefully few prototypes,
40872 which can conflict with char pthread_attr_getschedpolicy (); below.
40873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40874 <limits.h> exists even on freestanding compilers. */
40877 # include <limits.h>
40879 # include <assert.h>
40882 #undef pthread_attr_getschedpolicy
40884 /* Override any GCC internal prototype to avoid an error.
40885 Use char because int might match the return type of a GCC
40886 builtin and then its argument prototype would still apply. */
40890 char pthread_attr_getschedpolicy ();
40891 /* The GNU C library defines this for functions which it implements
40892 to always fail with ENOSYS. Some functions are actually named
40893 something starting with __ and the normal name is an alias. */
40894 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40901 return pthread_attr_getschedpolicy ();
40906 rm -f conftest.$ac_objext conftest$ac_exeext
40907 if { (ac_try="$ac_link"
40908 case "(($ac_try" in
40909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40910 *) ac_try_echo=$ac_try;;
40912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40913 (eval "$ac_link") 2>conftest.er1
40915 grep -v '^ *+' conftest.er1 >conftest.err
40917 cat conftest.err >&5
40918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40919 (exit $ac_status); } && {
40920 test -z "$ac_c_werror_flag" ||
40921 test ! -s conftest.err
40922 } && test -s conftest$ac_exeext &&
40923 $as_test_x conftest$ac_exeext; then
40924 ac_cv_func_pthread_attr_getschedpolicy=yes
40926 echo "$as_me: failed program was:" >&5
40927 sed 's/^/| /' conftest.$ac_ext >&5
40929 ac_cv_func_pthread_attr_getschedpolicy=no
40932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40933 conftest$ac_exeext conftest.$ac_ext
40935 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40936 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40937 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40938 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40939 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40940 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40941 echo $ECHO_N "(cached) $ECHO_C" >&6
40943 cat >conftest.$ac_ext <<_ACEOF
40946 cat confdefs.h >>conftest.$ac_ext
40947 cat >>conftest.$ac_ext <<_ACEOF
40948 /* end confdefs.h. */
40949 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40951 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40953 /* System header to define __stub macros and hopefully few prototypes,
40954 which can conflict with char pthread_attr_setschedparam (); below.
40955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40956 <limits.h> exists even on freestanding compilers. */
40959 # include <limits.h>
40961 # include <assert.h>
40964 #undef pthread_attr_setschedparam
40966 /* Override any GCC internal prototype to avoid an error.
40967 Use char because int might match the return type of a GCC
40968 builtin and then its argument prototype would still apply. */
40972 char pthread_attr_setschedparam ();
40973 /* The GNU C library defines this for functions which it implements
40974 to always fail with ENOSYS. Some functions are actually named
40975 something starting with __ and the normal name is an alias. */
40976 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40983 return pthread_attr_setschedparam ();
40988 rm -f conftest.$ac_objext conftest$ac_exeext
40989 if { (ac_try="$ac_link"
40990 case "(($ac_try" in
40991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40992 *) ac_try_echo=$ac_try;;
40994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40995 (eval "$ac_link") 2>conftest.er1
40997 grep -v '^ *+' conftest.er1 >conftest.err
40999 cat conftest.err >&5
41000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41001 (exit $ac_status); } && {
41002 test -z "$ac_c_werror_flag" ||
41003 test ! -s conftest.err
41004 } && test -s conftest$ac_exeext &&
41005 $as_test_x conftest$ac_exeext; then
41006 ac_cv_func_pthread_attr_setschedparam=yes
41008 echo "$as_me: failed program was:" >&5
41009 sed 's/^/| /' conftest.$ac_ext >&5
41011 ac_cv_func_pthread_attr_setschedparam=no
41014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41015 conftest$ac_exeext conftest.$ac_ext
41017 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41018 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41019 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41020 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41021 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41022 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41023 echo $ECHO_N "(cached) $ECHO_C" >&6
41025 cat >conftest.$ac_ext <<_ACEOF
41028 cat confdefs.h >>conftest.$ac_ext
41029 cat >>conftest.$ac_ext <<_ACEOF
41030 /* end confdefs.h. */
41031 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41033 #define sched_get_priority_max innocuous_sched_get_priority_max
41035 /* System header to define __stub macros and hopefully few prototypes,
41036 which can conflict with char sched_get_priority_max (); below.
41037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41038 <limits.h> exists even on freestanding compilers. */
41041 # include <limits.h>
41043 # include <assert.h>
41046 #undef sched_get_priority_max
41048 /* Override any GCC internal prototype to avoid an error.
41049 Use char because int might match the return type of a GCC
41050 builtin and then its argument prototype would still apply. */
41054 char sched_get_priority_max ();
41055 /* The GNU C library defines this for functions which it implements
41056 to always fail with ENOSYS. Some functions are actually named
41057 something starting with __ and the normal name is an alias. */
41058 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41065 return sched_get_priority_max ();
41070 rm -f conftest.$ac_objext conftest$ac_exeext
41071 if { (ac_try="$ac_link"
41072 case "(($ac_try" in
41073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41074 *) ac_try_echo=$ac_try;;
41076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41077 (eval "$ac_link") 2>conftest.er1
41079 grep -v '^ *+' conftest.er1 >conftest.err
41081 cat conftest.err >&5
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); } && {
41084 test -z "$ac_c_werror_flag" ||
41085 test ! -s conftest.err
41086 } && test -s conftest$ac_exeext &&
41087 $as_test_x conftest$ac_exeext; then
41088 ac_cv_func_sched_get_priority_max=yes
41090 echo "$as_me: failed program was:" >&5
41091 sed 's/^/| /' conftest.$ac_ext >&5
41093 ac_cv_func_sched_get_priority_max=no
41096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41097 conftest$ac_exeext conftest.$ac_ext
41099 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41100 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41101 if test $ac_cv_func_sched_get_priority_max = yes; then
41104 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41105 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41106 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41107 echo $ECHO_N "(cached) $ECHO_C" >&6
41109 ac_check_lib_save_LIBS=$LIBS
41110 LIBS="-lposix4 $LIBS"
41111 cat >conftest.$ac_ext <<_ACEOF
41114 cat confdefs.h >>conftest.$ac_ext
41115 cat >>conftest.$ac_ext <<_ACEOF
41116 /* end confdefs.h. */
41118 /* Override any GCC internal prototype to avoid an error.
41119 Use char because int might match the return type of a GCC
41120 builtin and then its argument prototype would still apply. */
41124 char sched_get_priority_max ();
41128 return sched_get_priority_max ();
41133 rm -f conftest.$ac_objext conftest$ac_exeext
41134 if { (ac_try="$ac_link"
41135 case "(($ac_try" in
41136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41137 *) ac_try_echo=$ac_try;;
41139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41140 (eval "$ac_link") 2>conftest.er1
41142 grep -v '^ *+' conftest.er1 >conftest.err
41144 cat conftest.err >&5
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); } && {
41147 test -z "$ac_c_werror_flag" ||
41148 test ! -s conftest.err
41149 } && test -s conftest$ac_exeext &&
41150 $as_test_x conftest$ac_exeext; then
41151 ac_cv_lib_posix4_sched_get_priority_max=yes
41153 echo "$as_me: failed program was:" >&5
41154 sed 's/^/| /' conftest.$ac_ext >&5
41156 ac_cv_lib_posix4_sched_get_priority_max=no
41159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41160 conftest$ac_exeext conftest.$ac_ext
41161 LIBS=$ac_check_lib_save_LIBS
41163 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41164 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41165 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41168 POSIX4_LINK=" -lposix4"
41182 if test "$HAVE_PRIOR_FUNCS" = 1; then
41183 cat >>confdefs.h <<\_ACEOF
41184 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41188 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41189 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41192 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41193 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41194 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41195 echo $ECHO_N "(cached) $ECHO_C" >&6
41197 cat >conftest.$ac_ext <<_ACEOF
41200 cat confdefs.h >>conftest.$ac_ext
41201 cat >>conftest.$ac_ext <<_ACEOF
41202 /* end confdefs.h. */
41203 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41205 #define pthread_cancel innocuous_pthread_cancel
41207 /* System header to define __stub macros and hopefully few prototypes,
41208 which can conflict with char pthread_cancel (); below.
41209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41210 <limits.h> exists even on freestanding compilers. */
41213 # include <limits.h>
41215 # include <assert.h>
41218 #undef pthread_cancel
41220 /* Override any GCC internal prototype to avoid an error.
41221 Use char because int might match the return type of a GCC
41222 builtin and then its argument prototype would still apply. */
41226 char pthread_cancel ();
41227 /* The GNU C library defines this for functions which it implements
41228 to always fail with ENOSYS. Some functions are actually named
41229 something starting with __ and the normal name is an alias. */
41230 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41237 return pthread_cancel ();
41242 rm -f conftest.$ac_objext conftest$ac_exeext
41243 if { (ac_try="$ac_link"
41244 case "(($ac_try" in
41245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41246 *) ac_try_echo=$ac_try;;
41248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41249 (eval "$ac_link") 2>conftest.er1
41251 grep -v '^ *+' conftest.er1 >conftest.err
41253 cat conftest.err >&5
41254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41255 (exit $ac_status); } && {
41256 test -z "$ac_c_werror_flag" ||
41257 test ! -s conftest.err
41258 } && test -s conftest$ac_exeext &&
41259 $as_test_x conftest$ac_exeext; then
41260 ac_cv_func_pthread_cancel=yes
41262 echo "$as_me: failed program was:" >&5
41263 sed 's/^/| /' conftest.$ac_ext >&5
41265 ac_cv_func_pthread_cancel=no
41268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41269 conftest$ac_exeext conftest.$ac_ext
41271 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41272 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41273 if test $ac_cv_func_pthread_cancel = yes; then
41274 cat >>confdefs.h <<\_ACEOF
41275 #define HAVE_PTHREAD_CANCEL 1
41279 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41280 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41284 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41285 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41286 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41287 echo $ECHO_N "(cached) $ECHO_C" >&6
41289 cat >conftest.$ac_ext <<_ACEOF
41292 cat confdefs.h >>conftest.$ac_ext
41293 cat >>conftest.$ac_ext <<_ACEOF
41294 /* end confdefs.h. */
41295 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41297 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41299 /* System header to define __stub macros and hopefully few prototypes,
41300 which can conflict with char pthread_mutex_timedlock (); below.
41301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41302 <limits.h> exists even on freestanding compilers. */
41305 # include <limits.h>
41307 # include <assert.h>
41310 #undef pthread_mutex_timedlock
41312 /* Override any GCC internal prototype to avoid an error.
41313 Use char because int might match the return type of a GCC
41314 builtin and then its argument prototype would still apply. */
41318 char pthread_mutex_timedlock ();
41319 /* The GNU C library defines this for functions which it implements
41320 to always fail with ENOSYS. Some functions are actually named
41321 something starting with __ and the normal name is an alias. */
41322 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41329 return pthread_mutex_timedlock ();
41334 rm -f conftest.$ac_objext conftest$ac_exeext
41335 if { (ac_try="$ac_link"
41336 case "(($ac_try" in
41337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41338 *) ac_try_echo=$ac_try;;
41340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41341 (eval "$ac_link") 2>conftest.er1
41343 grep -v '^ *+' conftest.er1 >conftest.err
41345 cat conftest.err >&5
41346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41347 (exit $ac_status); } && {
41348 test -z "$ac_c_werror_flag" ||
41349 test ! -s conftest.err
41350 } && test -s conftest$ac_exeext &&
41351 $as_test_x conftest$ac_exeext; then
41352 ac_cv_func_pthread_mutex_timedlock=yes
41354 echo "$as_me: failed program was:" >&5
41355 sed 's/^/| /' conftest.$ac_ext >&5
41357 ac_cv_func_pthread_mutex_timedlock=no
41360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41361 conftest$ac_exeext conftest.$ac_ext
41363 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41364 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41365 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41366 cat >>confdefs.h <<\_ACEOF
41367 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41371 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41372 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41376 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41377 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41378 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41379 echo $ECHO_N "(cached) $ECHO_C" >&6
41381 cat >conftest.$ac_ext <<_ACEOF
41384 cat confdefs.h >>conftest.$ac_ext
41385 cat >>conftest.$ac_ext <<_ACEOF
41386 /* end confdefs.h. */
41387 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41389 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41391 /* System header to define __stub macros and hopefully few prototypes,
41392 which can conflict with char pthread_attr_setstacksize (); below.
41393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41394 <limits.h> exists even on freestanding compilers. */
41397 # include <limits.h>
41399 # include <assert.h>
41402 #undef pthread_attr_setstacksize
41404 /* Override any GCC internal prototype to avoid an error.
41405 Use char because int might match the return type of a GCC
41406 builtin and then its argument prototype would still apply. */
41410 char pthread_attr_setstacksize ();
41411 /* The GNU C library defines this for functions which it implements
41412 to always fail with ENOSYS. Some functions are actually named
41413 something starting with __ and the normal name is an alias. */
41414 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41421 return pthread_attr_setstacksize ();
41426 rm -f conftest.$ac_objext conftest$ac_exeext
41427 if { (ac_try="$ac_link"
41428 case "(($ac_try" in
41429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41430 *) ac_try_echo=$ac_try;;
41432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41433 (eval "$ac_link") 2>conftest.er1
41435 grep -v '^ *+' conftest.er1 >conftest.err
41437 cat conftest.err >&5
41438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41439 (exit $ac_status); } && {
41440 test -z "$ac_c_werror_flag" ||
41441 test ! -s conftest.err
41442 } && test -s conftest$ac_exeext &&
41443 $as_test_x conftest$ac_exeext; then
41444 ac_cv_func_pthread_attr_setstacksize=yes
41446 echo "$as_me: failed program was:" >&5
41447 sed 's/^/| /' conftest.$ac_ext >&5
41449 ac_cv_func_pthread_attr_setstacksize=no
41452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41453 conftest$ac_exeext conftest.$ac_ext
41455 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41456 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41457 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41458 cat >>confdefs.h <<\_ACEOF
41459 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41466 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41467 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41468 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41469 echo $ECHO_N "(cached) $ECHO_C" >&6
41472 cat >conftest.$ac_ext <<_ACEOF
41475 cat confdefs.h >>conftest.$ac_ext
41476 cat >>conftest.$ac_ext <<_ACEOF
41477 /* end confdefs.h. */
41478 #include <pthread.h>
41483 pthread_mutexattr_t attr;
41484 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41490 rm -f conftest.$ac_objext
41491 if { (ac_try="$ac_compile"
41492 case "(($ac_try" in
41493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41494 *) ac_try_echo=$ac_try;;
41496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41497 (eval "$ac_compile") 2>conftest.er1
41499 grep -v '^ *+' conftest.er1 >conftest.err
41501 cat conftest.err >&5
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); } && {
41504 test -z "$ac_c_werror_flag" ||
41505 test ! -s conftest.err
41506 } && test -s conftest.$ac_objext; then
41507 wx_cv_type_pthread_mutexattr_t=yes
41509 echo "$as_me: failed program was:" >&5
41510 sed 's/^/| /' conftest.$ac_ext >&5
41512 wx_cv_type_pthread_mutexattr_t=no
41516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41519 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41520 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41522 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41523 cat >>confdefs.h <<\_ACEOF
41524 #define HAVE_PTHREAD_MUTEXATTR_T 1
41528 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41529 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41530 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41531 echo $ECHO_N "(cached) $ECHO_C" >&6
41534 cat >conftest.$ac_ext <<_ACEOF
41537 cat confdefs.h >>conftest.$ac_ext
41538 cat >>conftest.$ac_ext <<_ACEOF
41539 /* end confdefs.h. */
41540 #include <pthread.h>
41545 pthread_mutexattr_t attr;
41546 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41552 rm -f conftest.$ac_objext
41553 if { (ac_try="$ac_compile"
41554 case "(($ac_try" in
41555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41556 *) ac_try_echo=$ac_try;;
41558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41559 (eval "$ac_compile") 2>conftest.er1
41561 grep -v '^ *+' conftest.er1 >conftest.err
41563 cat conftest.err >&5
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); } && {
41566 test -z "$ac_c_werror_flag" ||
41567 test ! -s conftest.err
41568 } && test -s conftest.$ac_objext; then
41569 wx_cv_func_pthread_mutexattr_settype_decl=yes
41571 echo "$as_me: failed program was:" >&5
41572 sed 's/^/| /' conftest.$ac_ext >&5
41574 wx_cv_func_pthread_mutexattr_settype_decl=no
41578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41581 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41582 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41583 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41584 cat >>confdefs.h <<\_ACEOF
41585 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41590 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41591 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41592 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41593 echo $ECHO_N "(cached) $ECHO_C" >&6
41596 cat >conftest.$ac_ext <<_ACEOF
41599 cat confdefs.h >>conftest.$ac_ext
41600 cat >>conftest.$ac_ext <<_ACEOF
41601 /* end confdefs.h. */
41602 #include <pthread.h>
41607 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41613 rm -f conftest.$ac_objext
41614 if { (ac_try="$ac_compile"
41615 case "(($ac_try" in
41616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41617 *) ac_try_echo=$ac_try;;
41619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41620 (eval "$ac_compile") 2>conftest.er1
41622 grep -v '^ *+' conftest.er1 >conftest.err
41624 cat conftest.err >&5
41625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626 (exit $ac_status); } && {
41627 test -z "$ac_c_werror_flag" ||
41628 test ! -s conftest.err
41629 } && test -s conftest.$ac_objext; then
41631 wx_cv_type_pthread_rec_mutex_init=yes
41634 echo "$as_me: failed program was:" >&5
41635 sed 's/^/| /' conftest.$ac_ext >&5
41638 wx_cv_type_pthread_rec_mutex_init=no
41643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41646 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41647 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41648 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41649 cat >>confdefs.h <<\_ACEOF
41650 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41654 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41655 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41659 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41660 if test "$USE_NETBSD" = 1; then
41661 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41662 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41663 wxUSE_COMPILER_TLS=no
41665 wxUSE_COMPILER_TLS=yes
41669 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41670 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41671 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41672 if test "${wx_cv_cc___thread+set}" = set; then
41673 echo $ECHO_N "(cached) $ECHO_C" >&6
41676 cat >conftest.$ac_ext <<_ACEOF
41679 cat confdefs.h >>conftest.$ac_ext
41680 cat >>conftest.$ac_ext <<_ACEOF
41681 /* end confdefs.h. */
41682 #include <pthread.h>
41687 static __thread int n = 0;
41688 static __thread int *p = 0;
41694 rm -f conftest.$ac_objext
41695 if { (ac_try="$ac_compile"
41696 case "(($ac_try" in
41697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41698 *) ac_try_echo=$ac_try;;
41700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41701 (eval "$ac_compile") 2>conftest.er1
41703 grep -v '^ *+' conftest.er1 >conftest.err
41705 cat conftest.err >&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); } && {
41708 test -z "$ac_c_werror_flag" ||
41709 test ! -s conftest.err
41710 } && test -s conftest.$ac_objext; then
41711 wx_cv_cc___thread=yes
41713 echo "$as_me: failed program was:" >&5
41714 sed 's/^/| /' conftest.$ac_ext >&5
41716 wx_cv_cc___thread=no
41720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41724 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41725 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41727 if test "$wx_cv_cc___thread" = "yes"; then
41733 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41734 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41736 if test "x$GCC" = "xyes" ; then
41738 if test -z "" ; then
41740 ax_gcc_option_test="int main()
41747 ax_gcc_option_test=""
41752 # Dump the test program to file
41753 cat <<EOF > conftest.c
41754 $ax_gcc_option_test
41757 # Dump back the file to the log, useful for debugging purposes
41758 { ac_try='cat conftest.c 1>&5'
41759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41760 (eval $ac_try) 2>&5
41762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41763 (exit $ac_status); }; }
41765 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41767 (eval $ac_try) 2>&5
41769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41770 (exit $ac_status); }; } ; then
41772 { echo "$as_me:$LINENO: result: yes" >&5
41773 echo "${ECHO_T}yes" >&6; }
41775 ax_gcc_version_option=yes
41780 { echo "$as_me:$LINENO: result: no" >&5
41781 echo "${ECHO_T}no" >&6; }
41783 ax_gcc_version_option=no
41791 { echo "$as_me:$LINENO: result: no gcc available" >&5
41792 echo "${ECHO_T}no gcc available" >&6; }
41797 if test "x$GXX" = "xyes"; then
41799 if test "x$ax_gxx_version_option" != "no"; then
41801 { echo "$as_me:$LINENO: checking gxx version" >&5
41802 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41803 if test "${ax_cv_gxx_version+set}" = set; then
41804 echo $ECHO_N "(cached) $ECHO_C" >&6
41807 ax_cv_gxx_version="`$CXX -dumpversion`"
41808 if test "x$ax_cv_gxx_version" = "x"; then
41810 ax_cv_gxx_version=""
41816 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41817 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41818 GXX_VERSION=$ax_cv_gxx_version
41827 if test -n "$ax_cv_gxx_version"; then
41828 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41829 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41830 case "$ax_cv_gxx_version" in
41832 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41833 echo "${ECHO_T}no, it's broken" >&6; }
41834 wx_cv_cc___thread=no
41837 { echo "$as_me:$LINENO: result: yes, it works" >&5
41838 echo "${ECHO_T}yes, it works" >&6; }
41844 if test "$wx_cv_cc___thread" = "yes"; then
41845 cat >>confdefs.h <<\_ACEOF
41846 #define HAVE___THREAD_KEYWORD 1
41854 if test "$wxUSE_THREADS" = "yes" ; then
41856 x86_64-*-mingw32* )
41859 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41860 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41861 if test "${wx_cv_cflags_mthread+set}" = set; then
41862 echo $ECHO_N "(cached) $ECHO_C" >&6
41865 CFLAGS_OLD="$CFLAGS"
41866 CFLAGS="-mthreads $CFLAGS"
41867 cat >conftest.$ac_ext <<_ACEOF
41870 cat confdefs.h >>conftest.$ac_ext
41871 cat >>conftest.$ac_ext <<_ACEOF
41872 /* end confdefs.h. */
41882 rm -f conftest.$ac_objext
41883 if { (ac_try="$ac_compile"
41884 case "(($ac_try" in
41885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41886 *) ac_try_echo=$ac_try;;
41888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41889 (eval "$ac_compile") 2>conftest.er1
41891 grep -v '^ *+' conftest.er1 >conftest.err
41893 cat conftest.err >&5
41894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41895 (exit $ac_status); } && {
41896 test -z "$ac_c_werror_flag" ||
41897 test ! -s conftest.err
41898 } && test -s conftest.$ac_objext; then
41899 wx_cv_cflags_mthread=yes
41901 echo "$as_me: failed program was:" >&5
41902 sed 's/^/| /' conftest.$ac_ext >&5
41904 wx_cv_cflags_mthread=no
41908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41912 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41913 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41915 if test "$wx_cv_cflags_mthread" = "yes"; then
41916 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41917 LDFLAGS="$LDFLAGS -mthreads"
41919 CFLAGS="$CFLAGS_OLD"
41923 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41924 LDFLAGS="$LDFLAGS -Zmt"
41930 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41931 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41932 if test "${ac_cv_func_localtime_r+set}" = set; then
41933 echo $ECHO_N "(cached) $ECHO_C" >&6
41935 cat >conftest.$ac_ext <<_ACEOF
41938 cat confdefs.h >>conftest.$ac_ext
41939 cat >>conftest.$ac_ext <<_ACEOF
41940 /* end confdefs.h. */
41941 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41943 #define localtime_r innocuous_localtime_r
41945 /* System header to define __stub macros and hopefully few prototypes,
41946 which can conflict with char localtime_r (); below.
41947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41948 <limits.h> exists even on freestanding compilers. */
41951 # include <limits.h>
41953 # include <assert.h>
41958 /* Override any GCC internal prototype to avoid an error.
41959 Use char because int might match the return type of a GCC
41960 builtin and then its argument prototype would still apply. */
41964 char localtime_r ();
41965 /* The GNU C library defines this for functions which it implements
41966 to always fail with ENOSYS. Some functions are actually named
41967 something starting with __ and the normal name is an alias. */
41968 #if defined __stub_localtime_r || defined __stub___localtime_r
41975 return localtime_r ();
41980 rm -f conftest.$ac_objext conftest$ac_exeext
41981 if { (ac_try="$ac_link"
41982 case "(($ac_try" in
41983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41984 *) ac_try_echo=$ac_try;;
41986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41987 (eval "$ac_link") 2>conftest.er1
41989 grep -v '^ *+' conftest.er1 >conftest.err
41991 cat conftest.err >&5
41992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41993 (exit $ac_status); } && {
41994 test -z "$ac_c_werror_flag" ||
41995 test ! -s conftest.err
41996 } && test -s conftest$ac_exeext &&
41997 $as_test_x conftest$ac_exeext; then
41998 ac_cv_func_localtime_r=yes
42000 echo "$as_me: failed program was:" >&5
42001 sed 's/^/| /' conftest.$ac_ext >&5
42003 ac_cv_func_localtime_r=no
42006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42007 conftest$ac_exeext conftest.$ac_ext
42009 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42010 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42011 if test $ac_cv_func_localtime_r = yes; then
42012 cat >>confdefs.h <<\_ACEOF
42013 #define HAVE_LOCALTIME_R 1
42018 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42019 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42020 if test "${ac_cv_func_gmtime_r+set}" = set; then
42021 echo $ECHO_N "(cached) $ECHO_C" >&6
42023 cat >conftest.$ac_ext <<_ACEOF
42026 cat confdefs.h >>conftest.$ac_ext
42027 cat >>conftest.$ac_ext <<_ACEOF
42028 /* end confdefs.h. */
42029 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42031 #define gmtime_r innocuous_gmtime_r
42033 /* System header to define __stub macros and hopefully few prototypes,
42034 which can conflict with char gmtime_r (); below.
42035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42036 <limits.h> exists even on freestanding compilers. */
42039 # include <limits.h>
42041 # include <assert.h>
42046 /* Override any GCC internal prototype to avoid an error.
42047 Use char because int might match the return type of a GCC
42048 builtin and then its argument prototype would still apply. */
42053 /* The GNU C library defines this for functions which it implements
42054 to always fail with ENOSYS. Some functions are actually named
42055 something starting with __ and the normal name is an alias. */
42056 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42063 return gmtime_r ();
42068 rm -f conftest.$ac_objext conftest$ac_exeext
42069 if { (ac_try="$ac_link"
42070 case "(($ac_try" in
42071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42072 *) ac_try_echo=$ac_try;;
42074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42075 (eval "$ac_link") 2>conftest.er1
42077 grep -v '^ *+' conftest.er1 >conftest.err
42079 cat conftest.err >&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); } && {
42082 test -z "$ac_c_werror_flag" ||
42083 test ! -s conftest.err
42084 } && test -s conftest$ac_exeext &&
42085 $as_test_x conftest$ac_exeext; then
42086 ac_cv_func_gmtime_r=yes
42088 echo "$as_me: failed program was:" >&5
42089 sed 's/^/| /' conftest.$ac_ext >&5
42091 ac_cv_func_gmtime_r=no
42094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42095 conftest$ac_exeext conftest.$ac_ext
42097 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42098 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42099 if test $ac_cv_func_gmtime_r = yes; then
42100 cat >>confdefs.h <<\_ACEOF
42101 #define HAVE_GMTIME_R 1
42110 ac_cpp='$CPP $CPPFLAGS'
42111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42115 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42116 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42118 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42119 echo $ECHO_N "(cached) $ECHO_C" >&6
42123 ################################################################
42125 ac_cv_func_which_gethostbyname_r=unknown
42128 # ONE ARGUMENT (sanity check)
42131 # This should fail, as there is no variant of gethostbyname_r() that takes
42132 # a single argument. If it actually compiles, then we can assume that
42133 # netdb.h is not declaring the function, and the compiler is thereby
42134 # assuming an implicit prototype. In which case, we're out of luck.
42136 cat >conftest.$ac_ext <<_ACEOF
42139 cat confdefs.h >>conftest.$ac_ext
42140 cat >>conftest.$ac_ext <<_ACEOF
42141 /* end confdefs.h. */
42147 char *name = "www.gnu.org";
42148 (void)gethostbyname_r(name) /* ; */
42154 rm -f conftest.$ac_objext
42155 if { (ac_try="$ac_compile"
42156 case "(($ac_try" in
42157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42158 *) ac_try_echo=$ac_try;;
42160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42161 (eval "$ac_compile") 2>conftest.er1
42163 grep -v '^ *+' conftest.er1 >conftest.err
42165 cat conftest.err >&5
42166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42167 (exit $ac_status); } && {
42168 test -z "$ac_c_werror_flag" ||
42169 test ! -s conftest.err
42170 } && test -s conftest.$ac_objext; then
42171 ac_cv_func_which_gethostbyname_r=no
42173 echo "$as_me: failed program was:" >&5
42174 sed 's/^/| /' conftest.$ac_ext >&5
42179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42186 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42188 cat >conftest.$ac_ext <<_ACEOF
42191 cat confdefs.h >>conftest.$ac_ext
42192 cat >>conftest.$ac_ext <<_ACEOF
42193 /* end confdefs.h. */
42199 char *name = "www.gnu.org";
42200 struct hostent ret, *retp;
42204 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42210 rm -f conftest.$ac_objext
42211 if { (ac_try="$ac_compile"
42212 case "(($ac_try" in
42213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42214 *) ac_try_echo=$ac_try;;
42216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42217 (eval "$ac_compile") 2>conftest.er1
42219 grep -v '^ *+' conftest.er1 >conftest.err
42221 cat conftest.err >&5
42222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42223 (exit $ac_status); } && {
42224 test -z "$ac_c_werror_flag" ||
42225 test ! -s conftest.err
42226 } && test -s conftest.$ac_objext; then
42227 ac_cv_func_which_gethostbyname_r=six
42229 echo "$as_me: failed program was:" >&5
42230 sed 's/^/| /' conftest.$ac_ext >&5
42235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42244 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42246 cat >conftest.$ac_ext <<_ACEOF
42249 cat confdefs.h >>conftest.$ac_ext
42250 cat >>conftest.$ac_ext <<_ACEOF
42251 /* end confdefs.h. */
42257 char *name = "www.gnu.org";
42258 struct hostent ret;
42262 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42268 rm -f conftest.$ac_objext
42269 if { (ac_try="$ac_compile"
42270 case "(($ac_try" in
42271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42272 *) ac_try_echo=$ac_try;;
42274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42275 (eval "$ac_compile") 2>conftest.er1
42277 grep -v '^ *+' conftest.er1 >conftest.err
42279 cat conftest.err >&5
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); } && {
42282 test -z "$ac_c_werror_flag" ||
42283 test ! -s conftest.err
42284 } && test -s conftest.$ac_objext; then
42285 ac_cv_func_which_gethostbyname_r=five
42287 echo "$as_me: failed program was:" >&5
42288 sed 's/^/| /' conftest.$ac_ext >&5
42293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42299 # (e.g. AIX, HP-UX, Tru64)
42302 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42304 cat >conftest.$ac_ext <<_ACEOF
42307 cat confdefs.h >>conftest.$ac_ext
42308 cat >>conftest.$ac_ext <<_ACEOF
42309 /* end confdefs.h. */
42315 char *name = "www.gnu.org";
42316 struct hostent ret;
42317 struct hostent_data data;
42318 (void)gethostbyname_r(name, &ret, &data) /* ; */
42324 rm -f conftest.$ac_objext
42325 if { (ac_try="$ac_compile"
42326 case "(($ac_try" in
42327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42328 *) ac_try_echo=$ac_try;;
42330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42331 (eval "$ac_compile") 2>conftest.er1
42333 grep -v '^ *+' conftest.er1 >conftest.err
42335 cat conftest.err >&5
42336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42337 (exit $ac_status); } && {
42338 test -z "$ac_c_werror_flag" ||
42339 test ! -s conftest.err
42340 } && test -s conftest.$ac_objext; then
42341 ac_cv_func_which_gethostbyname_r=three
42343 echo "$as_me: failed program was:" >&5
42344 sed 's/^/| /' conftest.$ac_ext >&5
42349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42353 ################################################################
42358 case "$ac_cv_func_which_gethostbyname_r" in
42360 { echo "$as_me:$LINENO: result: three" >&5
42361 echo "${ECHO_T}three" >&6; }
42362 cat >>confdefs.h <<\_ACEOF
42363 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42369 { echo "$as_me:$LINENO: result: five" >&5
42370 echo "${ECHO_T}five" >&6; }
42371 cat >>confdefs.h <<\_ACEOF
42372 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42378 { echo "$as_me:$LINENO: result: six" >&5
42379 echo "${ECHO_T}six" >&6; }
42380 cat >>confdefs.h <<\_ACEOF
42381 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42387 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42388 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42392 { echo "$as_me:$LINENO: result: can't tell" >&5
42393 echo "${ECHO_T}can't tell" >&6; }
42397 { { echo "$as_me:$LINENO: error: internal error" >&5
42398 echo "$as_me: error: internal error" >&2;}
42399 { (exit 1); exit 1; }; }
42404 ac_cpp='$CPP $CPPFLAGS'
42405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42411 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42412 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42413 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42414 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42415 if test "${ac_cv_func_gethostbyname+set}" = set; then
42416 echo $ECHO_N "(cached) $ECHO_C" >&6
42418 cat >conftest.$ac_ext <<_ACEOF
42421 cat confdefs.h >>conftest.$ac_ext
42422 cat >>conftest.$ac_ext <<_ACEOF
42423 /* end confdefs.h. */
42424 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42426 #define gethostbyname innocuous_gethostbyname
42428 /* System header to define __stub macros and hopefully few prototypes,
42429 which can conflict with char gethostbyname (); below.
42430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42431 <limits.h> exists even on freestanding compilers. */
42434 # include <limits.h>
42436 # include <assert.h>
42439 #undef gethostbyname
42441 /* Override any GCC internal prototype to avoid an error.
42442 Use char because int might match the return type of a GCC
42443 builtin and then its argument prototype would still apply. */
42447 char gethostbyname ();
42448 /* The GNU C library defines this for functions which it implements
42449 to always fail with ENOSYS. Some functions are actually named
42450 something starting with __ and the normal name is an alias. */
42451 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42458 return gethostbyname ();
42463 rm -f conftest.$ac_objext conftest$ac_exeext
42464 if { (ac_try="$ac_link"
42465 case "(($ac_try" in
42466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42467 *) ac_try_echo=$ac_try;;
42469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42470 (eval "$ac_link") 2>conftest.er1
42472 grep -v '^ *+' conftest.er1 >conftest.err
42474 cat conftest.err >&5
42475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42476 (exit $ac_status); } && {
42477 test -z "$ac_c_werror_flag" ||
42478 test ! -s conftest.err
42479 } && test -s conftest$ac_exeext &&
42480 $as_test_x conftest$ac_exeext; then
42481 ac_cv_func_gethostbyname=yes
42483 echo "$as_me: failed program was:" >&5
42484 sed 's/^/| /' conftest.$ac_ext >&5
42486 ac_cv_func_gethostbyname=no
42489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42490 conftest$ac_exeext conftest.$ac_ext
42492 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42493 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42494 if test $ac_cv_func_gethostbyname = yes; then
42495 cat >>confdefs.h <<\_ACEOF
42496 #define HAVE_GETHOSTBYNAME 1
42503 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42504 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42505 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42506 echo $ECHO_N "(cached) $ECHO_C" >&6
42510 ac_cpp='$CXXCPP $CPPFLAGS'
42511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42516 cat >conftest.$ac_ext <<_ACEOF
42519 cat confdefs.h >>conftest.$ac_ext
42520 cat >>conftest.$ac_ext <<_ACEOF
42521 /* end confdefs.h. */
42529 struct servent *se, *res;
42532 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42538 rm -f conftest.$ac_objext
42539 if { (ac_try="$ac_compile"
42540 case "(($ac_try" in
42541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42542 *) ac_try_echo=$ac_try;;
42544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42545 (eval "$ac_compile") 2>conftest.er1
42547 grep -v '^ *+' conftest.er1 >conftest.err
42549 cat conftest.err >&5
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); } && {
42552 test -z "$ac_cxx_werror_flag" ||
42553 test ! -s conftest.err
42554 } && test -s conftest.$ac_objext; then
42555 ac_cv_func_which_getservbyname_r=six
42557 echo "$as_me: failed program was:" >&5
42558 sed 's/^/| /' conftest.$ac_ext >&5
42561 cat >conftest.$ac_ext <<_ACEOF
42564 cat confdefs.h >>conftest.$ac_ext
42565 cat >>conftest.$ac_ext <<_ACEOF
42566 /* end confdefs.h. */
42574 struct servent *se;
42577 (void) getservbyname_r(name, proto, se, buffer, buflen)
42583 rm -f conftest.$ac_objext
42584 if { (ac_try="$ac_compile"
42585 case "(($ac_try" in
42586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42587 *) ac_try_echo=$ac_try;;
42589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42590 (eval "$ac_compile") 2>conftest.er1
42592 grep -v '^ *+' conftest.er1 >conftest.err
42594 cat conftest.err >&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); } && {
42597 test -z "$ac_cxx_werror_flag" ||
42598 test ! -s conftest.err
42599 } && test -s conftest.$ac_objext; then
42600 ac_cv_func_which_getservbyname_r=five
42602 echo "$as_me: failed program was:" >&5
42603 sed 's/^/| /' conftest.$ac_ext >&5
42606 cat >conftest.$ac_ext <<_ACEOF
42609 cat confdefs.h >>conftest.$ac_ext
42610 cat >>conftest.$ac_ext <<_ACEOF
42611 /* end confdefs.h. */
42619 struct servent *se;
42620 struct servent_data data;
42621 (void) getservbyname_r(name, proto, se, &data);
42627 rm -f conftest.$ac_objext
42628 if { (ac_try="$ac_compile"
42629 case "(($ac_try" in
42630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42631 *) ac_try_echo=$ac_try;;
42633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42634 (eval "$ac_compile") 2>conftest.er1
42636 grep -v '^ *+' conftest.er1 >conftest.err
42638 cat conftest.err >&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); } && {
42641 test -z "$ac_cxx_werror_flag" ||
42642 test ! -s conftest.err
42643 } && test -s conftest.$ac_objext; then
42644 ac_cv_func_which_getservbyname_r=four
42646 echo "$as_me: failed program was:" >&5
42647 sed 's/^/| /' conftest.$ac_ext >&5
42649 ac_cv_func_which_getservbyname_r=no
42653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42665 ac_cpp='$CPP $CPPFLAGS'
42666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42673 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42674 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42676 if test $ac_cv_func_which_getservbyname_r = six; then
42677 cat >>confdefs.h <<\_ACEOF
42678 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42681 elif test $ac_cv_func_which_getservbyname_r = five; then
42682 cat >>confdefs.h <<\_ACEOF
42683 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42686 elif test $ac_cv_func_which_getservbyname_r = four; then
42687 cat >>confdefs.h <<\_ACEOF
42688 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42694 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42695 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42697 for ac_func in getservbyname
42699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42700 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42702 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42703 echo $ECHO_N "(cached) $ECHO_C" >&6
42705 cat >conftest.$ac_ext <<_ACEOF
42708 cat confdefs.h >>conftest.$ac_ext
42709 cat >>conftest.$ac_ext <<_ACEOF
42710 /* end confdefs.h. */
42711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42713 #define $ac_func innocuous_$ac_func
42715 /* System header to define __stub macros and hopefully few prototypes,
42716 which can conflict with char $ac_func (); below.
42717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42718 <limits.h> exists even on freestanding compilers. */
42721 # include <limits.h>
42723 # include <assert.h>
42728 /* Override any GCC internal prototype to avoid an error.
42729 Use char because int might match the return type of a GCC
42730 builtin and then its argument prototype would still apply. */
42735 /* The GNU C library defines this for functions which it implements
42736 to always fail with ENOSYS. Some functions are actually named
42737 something starting with __ and the normal name is an alias. */
42738 #if defined __stub_$ac_func || defined __stub___$ac_func
42745 return $ac_func ();
42750 rm -f conftest.$ac_objext conftest$ac_exeext
42751 if { (ac_try="$ac_link"
42752 case "(($ac_try" in
42753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42754 *) ac_try_echo=$ac_try;;
42756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42757 (eval "$ac_link") 2>conftest.er1
42759 grep -v '^ *+' conftest.er1 >conftest.err
42761 cat conftest.err >&5
42762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42763 (exit $ac_status); } && {
42764 test -z "$ac_c_werror_flag" ||
42765 test ! -s conftest.err
42766 } && test -s conftest$ac_exeext &&
42767 $as_test_x conftest$ac_exeext; then
42768 eval "$as_ac_var=yes"
42770 echo "$as_me: failed program was:" >&5
42771 sed 's/^/| /' conftest.$ac_ext >&5
42773 eval "$as_ac_var=no"
42776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42777 conftest$ac_exeext conftest.$ac_ext
42779 ac_res=`eval echo '${'$as_ac_var'}'`
42780 { echo "$as_me:$LINENO: result: $ac_res" >&5
42781 echo "${ECHO_T}$ac_res" >&6; }
42782 if test `eval echo '${'$as_ac_var'}'` = yes; then
42783 cat >>confdefs.h <<_ACEOF
42784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42786 cat >>confdefs.h <<\_ACEOF
42787 #define HAVE_GETSERVBYNAME 1
42795 if test "$wxUSE_THREADS" = "yes"; then
42796 cat >>confdefs.h <<\_ACEOF
42797 #define wxUSE_THREADS 1
42801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42803 if test "$wx_cv_func_strtok_r" = "yes"; then
42804 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42805 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42806 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42807 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42808 { echo "$as_me:$LINENO: result: yes" >&5
42809 echo "${ECHO_T}yes" >&6; }
42811 { echo "$as_me:$LINENO: result: no" >&5
42812 echo "${ECHO_T}no" >&6; }
42817 if test "$WXGTK2" = 1 ; then
42818 cat >>confdefs.h <<_ACEOF
42819 #define __WXGTK20__ $WXGTK2
42825 if test "$WXGTK12" = 1 ; then
42826 cat >>confdefs.h <<_ACEOF
42827 #define __WXGTK12__ $WXGTK12
42832 if test "$WXGTK127" = 1 ; then
42833 cat >>confdefs.h <<_ACEOF
42834 #define __WXGTK127__ $WXGTK127
42839 if test "$WXGPE" = 1 ; then
42840 cat >>confdefs.h <<_ACEOF
42841 #define __WXGPE__ $WXGPE
42847 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42848 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42849 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42850 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42854 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42855 wxUSE_DEBUG_INFO=yes
42856 if test "$GCC" = yes; then
42857 DEBUG_CFLAGS="-ggdb"
42861 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42862 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42864 if test "$wxUSE_GTK" = 1 ; then
42865 if test "x$wxGTK_VERSION" = "x1" ; then
42866 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42871 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42872 cat >>confdefs.h <<\_ACEOF
42873 #define wxUSE_MEMORY_TRACING 1
42876 cat >>confdefs.h <<\_ACEOF
42877 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42880 cat >>confdefs.h <<\_ACEOF
42881 #define wxUSE_DEBUG_NEW_ALWAYS 1
42884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42887 if test "$wxUSE_DMALLOC" = "yes" ; then
42888 DMALLOC_LIBS="-ldmallocthcxx"
42892 if test "$wxUSE_PROFILE" = "yes" ; then
42893 PROFILE_FLAGS=" -pg"
42896 if test "$GCC" = "yes" ; then
42897 if test "$wxUSE_NO_RTTI" = "yes" ; then
42898 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42900 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42901 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42903 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42904 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42909 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42912 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42918 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42919 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42920 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42922 if test "$wxUSE_OPTIMISE" = "no" ; then
42923 if test "$GCC" = yes ; then
42924 OPTIMISE_CFLAGS="-O0"
42927 if test "$GCC" = yes ; then
42929 *-pc-os2_emx | *-pc-os2-emx )
42930 OPTIMISE_CFLAGS="-O2"
42933 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42937 OPTIMISE_CFLAGS="-O"
42943 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42944 cat >>confdefs.h <<\_ACEOF
42945 #define WXWIN_COMPATIBILITY_2_6 1
42949 WXWIN_COMPATIBILITY_2_8="yes"
42952 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42953 cat >>confdefs.h <<\_ACEOF
42954 #define WXWIN_COMPATIBILITY_2_8 1
42960 if test "$wxUSE_GUI" = "yes"; then
42961 cat >>confdefs.h <<\_ACEOF
42962 #define wxUSE_GUI 1
42969 if test "$wxUSE_UNIX" = "yes"; then
42970 cat >>confdefs.h <<\_ACEOF
42971 #define wxUSE_UNIX 1
42977 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42981 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42982 if test "$USE_DOS" = 1; then
42986 for ac_func in dlopen
42988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42992 echo $ECHO_N "(cached) $ECHO_C" >&6
42994 cat >conftest.$ac_ext <<_ACEOF
42997 cat confdefs.h >>conftest.$ac_ext
42998 cat >>conftest.$ac_ext <<_ACEOF
42999 /* end confdefs.h. */
43000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43002 #define $ac_func innocuous_$ac_func
43004 /* System header to define __stub macros and hopefully few prototypes,
43005 which can conflict with char $ac_func (); below.
43006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43007 <limits.h> exists even on freestanding compilers. */
43010 # include <limits.h>
43012 # include <assert.h>
43017 /* Override any GCC internal prototype to avoid an error.
43018 Use char because int might match the return type of a GCC
43019 builtin and then its argument prototype would still apply. */
43024 /* The GNU C library defines this for functions which it implements
43025 to always fail with ENOSYS. Some functions are actually named
43026 something starting with __ and the normal name is an alias. */
43027 #if defined __stub_$ac_func || defined __stub___$ac_func
43034 return $ac_func ();
43039 rm -f conftest.$ac_objext conftest$ac_exeext
43040 if { (ac_try="$ac_link"
43041 case "(($ac_try" in
43042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43043 *) ac_try_echo=$ac_try;;
43045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43046 (eval "$ac_link") 2>conftest.er1
43048 grep -v '^ *+' conftest.er1 >conftest.err
43050 cat conftest.err >&5
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); } && {
43053 test -z "$ac_c_werror_flag" ||
43054 test ! -s conftest.err
43055 } && test -s conftest$ac_exeext &&
43056 $as_test_x conftest$ac_exeext; then
43057 eval "$as_ac_var=yes"
43059 echo "$as_me: failed program was:" >&5
43060 sed 's/^/| /' conftest.$ac_ext >&5
43062 eval "$as_ac_var=no"
43065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43066 conftest$ac_exeext conftest.$ac_ext
43068 ac_res=`eval echo '${'$as_ac_var'}'`
43069 { echo "$as_me:$LINENO: result: $ac_res" >&5
43070 echo "${ECHO_T}$ac_res" >&6; }
43071 if test `eval echo '${'$as_ac_var'}'` = yes; then
43072 cat >>confdefs.h <<_ACEOF
43073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43076 cat >>confdefs.h <<\_ACEOF
43077 #define HAVE_DLOPEN 1
43084 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43085 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43086 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43087 echo $ECHO_N "(cached) $ECHO_C" >&6
43089 ac_check_lib_save_LIBS=$LIBS
43091 cat >conftest.$ac_ext <<_ACEOF
43094 cat confdefs.h >>conftest.$ac_ext
43095 cat >>conftest.$ac_ext <<_ACEOF
43096 /* end confdefs.h. */
43098 /* Override any GCC internal prototype to avoid an error.
43099 Use char because int might match the return type of a GCC
43100 builtin and then its argument prototype would still apply. */
43113 rm -f conftest.$ac_objext conftest$ac_exeext
43114 if { (ac_try="$ac_link"
43115 case "(($ac_try" in
43116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43117 *) ac_try_echo=$ac_try;;
43119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43120 (eval "$ac_link") 2>conftest.er1
43122 grep -v '^ *+' conftest.er1 >conftest.err
43124 cat conftest.err >&5
43125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43126 (exit $ac_status); } && {
43127 test -z "$ac_c_werror_flag" ||
43128 test ! -s conftest.err
43129 } && test -s conftest$ac_exeext &&
43130 $as_test_x conftest$ac_exeext; then
43131 ac_cv_lib_dl_dlopen=yes
43133 echo "$as_me: failed program was:" >&5
43134 sed 's/^/| /' conftest.$ac_ext >&5
43136 ac_cv_lib_dl_dlopen=no
43139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43140 conftest$ac_exeext conftest.$ac_ext
43141 LIBS=$ac_check_lib_save_LIBS
43143 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43144 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43145 if test $ac_cv_lib_dl_dlopen = yes; then
43147 cat >>confdefs.h <<\_ACEOF
43148 #define HAVE_DLOPEN 1
43152 DL_LINK=" -ldl$DL_LINK"
43157 for ac_func in shl_load
43159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43160 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43163 echo $ECHO_N "(cached) $ECHO_C" >&6
43165 cat >conftest.$ac_ext <<_ACEOF
43168 cat confdefs.h >>conftest.$ac_ext
43169 cat >>conftest.$ac_ext <<_ACEOF
43170 /* end confdefs.h. */
43171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43173 #define $ac_func innocuous_$ac_func
43175 /* System header to define __stub macros and hopefully few prototypes,
43176 which can conflict with char $ac_func (); below.
43177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43178 <limits.h> exists even on freestanding compilers. */
43181 # include <limits.h>
43183 # include <assert.h>
43188 /* Override any GCC internal prototype to avoid an error.
43189 Use char because int might match the return type of a GCC
43190 builtin and then its argument prototype would still apply. */
43195 /* The GNU C library defines this for functions which it implements
43196 to always fail with ENOSYS. Some functions are actually named
43197 something starting with __ and the normal name is an alias. */
43198 #if defined __stub_$ac_func || defined __stub___$ac_func
43205 return $ac_func ();
43210 rm -f conftest.$ac_objext conftest$ac_exeext
43211 if { (ac_try="$ac_link"
43212 case "(($ac_try" in
43213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43214 *) ac_try_echo=$ac_try;;
43216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43217 (eval "$ac_link") 2>conftest.er1
43219 grep -v '^ *+' conftest.er1 >conftest.err
43221 cat conftest.err >&5
43222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43223 (exit $ac_status); } && {
43224 test -z "$ac_c_werror_flag" ||
43225 test ! -s conftest.err
43226 } && test -s conftest$ac_exeext &&
43227 $as_test_x conftest$ac_exeext; then
43228 eval "$as_ac_var=yes"
43230 echo "$as_me: failed program was:" >&5
43231 sed 's/^/| /' conftest.$ac_ext >&5
43233 eval "$as_ac_var=no"
43236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43237 conftest$ac_exeext conftest.$ac_ext
43239 ac_res=`eval echo '${'$as_ac_var'}'`
43240 { echo "$as_me:$LINENO: result: $ac_res" >&5
43241 echo "${ECHO_T}$ac_res" >&6; }
43242 if test `eval echo '${'$as_ac_var'}'` = yes; then
43243 cat >>confdefs.h <<_ACEOF
43244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43247 cat >>confdefs.h <<\_ACEOF
43248 #define HAVE_SHL_LOAD 1
43255 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43256 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43257 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43258 echo $ECHO_N "(cached) $ECHO_C" >&6
43260 ac_check_lib_save_LIBS=$LIBS
43261 LIBS="-lshl_load $LIBS"
43262 cat >conftest.$ac_ext <<_ACEOF
43265 cat confdefs.h >>conftest.$ac_ext
43266 cat >>conftest.$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43269 /* Override any GCC internal prototype to avoid an error.
43270 Use char because int might match the return type of a GCC
43271 builtin and then its argument prototype would still apply. */
43284 rm -f conftest.$ac_objext conftest$ac_exeext
43285 if { (ac_try="$ac_link"
43286 case "(($ac_try" in
43287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43288 *) ac_try_echo=$ac_try;;
43290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43291 (eval "$ac_link") 2>conftest.er1
43293 grep -v '^ *+' conftest.er1 >conftest.err
43295 cat conftest.err >&5
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); } && {
43298 test -z "$ac_c_werror_flag" ||
43299 test ! -s conftest.err
43300 } && test -s conftest$ac_exeext &&
43301 $as_test_x conftest$ac_exeext; then
43302 ac_cv_lib_shl_load_dld=yes
43304 echo "$as_me: failed program was:" >&5
43305 sed 's/^/| /' conftest.$ac_ext >&5
43307 ac_cv_lib_shl_load_dld=no
43310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43311 conftest$ac_exeext conftest.$ac_ext
43312 LIBS=$ac_check_lib_save_LIBS
43314 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43315 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43316 if test $ac_cv_lib_shl_load_dld = yes; then
43319 DL_LINK=" -ldld$DL_LINK"
43335 if test "$HAVE_DL_FUNCS" = 1; then
43337 for ac_func in dlerror
43339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43340 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43342 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43343 echo $ECHO_N "(cached) $ECHO_C" >&6
43345 cat >conftest.$ac_ext <<_ACEOF
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43353 #define $ac_func innocuous_$ac_func
43355 /* System header to define __stub macros and hopefully few prototypes,
43356 which can conflict with char $ac_func (); below.
43357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43358 <limits.h> exists even on freestanding compilers. */
43361 # include <limits.h>
43363 # include <assert.h>
43368 /* Override any GCC internal prototype to avoid an error.
43369 Use char because int might match the return type of a GCC
43370 builtin and then its argument prototype would still apply. */
43375 /* The GNU C library defines this for functions which it implements
43376 to always fail with ENOSYS. Some functions are actually named
43377 something starting with __ and the normal name is an alias. */
43378 #if defined __stub_$ac_func || defined __stub___$ac_func
43385 return $ac_func ();
43390 rm -f conftest.$ac_objext conftest$ac_exeext
43391 if { (ac_try="$ac_link"
43392 case "(($ac_try" in
43393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43394 *) ac_try_echo=$ac_try;;
43396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43397 (eval "$ac_link") 2>conftest.er1
43399 grep -v '^ *+' conftest.er1 >conftest.err
43401 cat conftest.err >&5
43402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403 (exit $ac_status); } && {
43404 test -z "$ac_c_werror_flag" ||
43405 test ! -s conftest.err
43406 } && test -s conftest$ac_exeext &&
43407 $as_test_x conftest$ac_exeext; then
43408 eval "$as_ac_var=yes"
43410 echo "$as_me: failed program was:" >&5
43411 sed 's/^/| /' conftest.$ac_ext >&5
43413 eval "$as_ac_var=no"
43416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43417 conftest$ac_exeext conftest.$ac_ext
43419 ac_res=`eval echo '${'$as_ac_var'}'`
43420 { echo "$as_me:$LINENO: result: $ac_res" >&5
43421 echo "${ECHO_T}$ac_res" >&6; }
43422 if test `eval echo '${'$as_ac_var'}'` = yes; then
43423 cat >>confdefs.h <<_ACEOF
43424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43426 cat >>confdefs.h <<\_ACEOF
43427 #define HAVE_DLERROR 1
43432 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43433 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43434 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43435 echo $ECHO_N "(cached) $ECHO_C" >&6
43437 ac_check_lib_save_LIBS=$LIBS
43439 cat >conftest.$ac_ext <<_ACEOF
43442 cat confdefs.h >>conftest.$ac_ext
43443 cat >>conftest.$ac_ext <<_ACEOF
43444 /* end confdefs.h. */
43446 /* Override any GCC internal prototype to avoid an error.
43447 Use char because int might match the return type of a GCC
43448 builtin and then its argument prototype would still apply. */
43461 rm -f conftest.$ac_objext conftest$ac_exeext
43462 if { (ac_try="$ac_link"
43463 case "(($ac_try" in
43464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43465 *) ac_try_echo=$ac_try;;
43467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43468 (eval "$ac_link") 2>conftest.er1
43470 grep -v '^ *+' conftest.er1 >conftest.err
43472 cat conftest.err >&5
43473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43474 (exit $ac_status); } && {
43475 test -z "$ac_c_werror_flag" ||
43476 test ! -s conftest.err
43477 } && test -s conftest$ac_exeext &&
43478 $as_test_x conftest$ac_exeext; then
43479 ac_cv_lib_dl_dlerror=yes
43481 echo "$as_me: failed program was:" >&5
43482 sed 's/^/| /' conftest.$ac_ext >&5
43484 ac_cv_lib_dl_dlerror=no
43487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43488 conftest$ac_exeext conftest.$ac_ext
43489 LIBS=$ac_check_lib_save_LIBS
43491 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43492 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43493 if test $ac_cv_lib_dl_dlerror = yes; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define HAVE_DLERROR 1
43508 if test "$USE_DARWIN" = 1; then
43512 if test "$HAVE_DL_FUNCS" = 0; then
43513 if test "$HAVE_SHL_FUNCS" = 0; then
43514 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43515 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43516 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43517 wxUSE_DYNAMIC_LOADER=no
43518 wxUSE_DYNLIB_CLASS=no
43520 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43521 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43528 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43529 cat >>confdefs.h <<\_ACEOF
43530 #define wxUSE_DYNAMIC_LOADER 1
43534 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43535 cat >>confdefs.h <<\_ACEOF
43536 #define wxUSE_DYNLIB_CLASS 1
43543 if test "$wxUSE_PLUGINS" = "yes" ; then
43544 if test "$wxUSE_SHARED" = "no" ; then
43545 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43546 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43549 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43550 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43551 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43554 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43555 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43556 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43559 if test "$wxUSE_PLUGINS" = "yes" ; then
43560 cat >>confdefs.h <<\_ACEOF
43561 #define wxUSE_PLUGINS 1
43568 if test "$wxUSE_FSWATCHER" = "yes"; then
43569 if test "$wxUSE_MSW" != "1"; then
43570 if test "$wxUSE_UNIX" = "yes"; then
43572 for ac_header in sys/inotify.h
43574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43575 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43578 echo $ECHO_N "(cached) $ECHO_C" >&6
43580 cat >conftest.$ac_ext <<_ACEOF
43583 cat confdefs.h >>conftest.$ac_ext
43584 cat >>conftest.$ac_ext <<_ACEOF
43585 /* end confdefs.h. */
43586 $ac_includes_default
43588 #include <$ac_header>
43590 rm -f conftest.$ac_objext
43591 if { (ac_try="$ac_compile"
43592 case "(($ac_try" in
43593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43594 *) ac_try_echo=$ac_try;;
43596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43597 (eval "$ac_compile") 2>conftest.er1
43599 grep -v '^ *+' conftest.er1 >conftest.err
43601 cat conftest.err >&5
43602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43603 (exit $ac_status); } && {
43604 test -z "$ac_c_werror_flag" ||
43605 test ! -s conftest.err
43606 } && test -s conftest.$ac_objext; then
43607 eval "$as_ac_Header=yes"
43609 echo "$as_me: failed program was:" >&5
43610 sed 's/^/| /' conftest.$ac_ext >&5
43612 eval "$as_ac_Header=no"
43615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43617 ac_res=`eval echo '${'$as_ac_Header'}'`
43618 { echo "$as_me:$LINENO: result: $ac_res" >&5
43619 echo "${ECHO_T}$ac_res" >&6; }
43620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43621 cat >>confdefs.h <<_ACEOF
43622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43629 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43630 cat >>confdefs.h <<\_ACEOF
43631 #define wxHAS_INOTIFY 1
43636 for ac_header in sys/event.h
43638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43642 echo $ECHO_N "(cached) $ECHO_C" >&6
43644 cat >conftest.$ac_ext <<_ACEOF
43647 cat confdefs.h >>conftest.$ac_ext
43648 cat >>conftest.$ac_ext <<_ACEOF
43649 /* end confdefs.h. */
43650 $ac_includes_default
43652 #include <$ac_header>
43654 rm -f conftest.$ac_objext
43655 if { (ac_try="$ac_compile"
43656 case "(($ac_try" in
43657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43658 *) ac_try_echo=$ac_try;;
43660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43661 (eval "$ac_compile") 2>conftest.er1
43663 grep -v '^ *+' conftest.er1 >conftest.err
43665 cat conftest.err >&5
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); } && {
43668 test -z "$ac_c_werror_flag" ||
43669 test ! -s conftest.err
43670 } && test -s conftest.$ac_objext; then
43671 eval "$as_ac_Header=yes"
43673 echo "$as_me: failed program was:" >&5
43674 sed 's/^/| /' conftest.$ac_ext >&5
43676 eval "$as_ac_Header=no"
43679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43681 ac_res=`eval echo '${'$as_ac_Header'}'`
43682 { echo "$as_me:$LINENO: result: $ac_res" >&5
43683 echo "${ECHO_T}$ac_res" >&6; }
43684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43685 cat >>confdefs.h <<_ACEOF
43686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43693 if test "$ac_cv_header_sys_event_h" = "yes"; then
43694 cat >>confdefs.h <<\_ACEOF
43695 #define wxHAS_KQUEUE 1
43707 if test "$wxUSE_FSWATCHER" = "yes"; then
43708 cat >>confdefs.h <<\_ACEOF
43709 #define wxUSE_FSWATCHER 1
43712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43714 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43715 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43720 if test "$wxUSE_STL" = "yes"; then
43721 cat >>confdefs.h <<\_ACEOF
43722 #define wxUSE_STL 1
43727 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43728 cat >>confdefs.h <<\_ACEOF
43729 #define wxUSE_EXTENDED_RTTI 1
43734 if test "$wxUSE_ANY" = "yes"; then
43735 cat >>confdefs.h <<\_ACEOF
43736 #define wxUSE_ANY 1
43741 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43742 cat >>confdefs.h <<\_ACEOF
43743 #define wxUSE_APPLE_IEEE 1
43748 if test "$wxUSE_TIMER" = "yes"; then
43749 cat >>confdefs.h <<\_ACEOF
43750 #define wxUSE_TIMER 1
43755 if test "$USE_UNIX" = 1 ; then
43756 if test "$wxUSE_MGL" != 1; then
43757 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43758 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43759 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43760 echo $ECHO_N "(cached) $ECHO_C" >&6
43763 cat >conftest.$ac_ext <<_ACEOF
43766 cat confdefs.h >>conftest.$ac_ext
43767 cat >>conftest.$ac_ext <<_ACEOF
43768 /* end confdefs.h. */
43770 #include <sys/ioctl.h>
43771 #include <sys/soundcard.h>
43777 ioctl(0, SNDCTL_DSP_SPEED, 0);
43783 rm -f conftest.$ac_objext conftest$ac_exeext
43784 if { (ac_try="$ac_link"
43785 case "(($ac_try" in
43786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43787 *) ac_try_echo=$ac_try;;
43789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43790 (eval "$ac_link") 2>conftest.er1
43792 grep -v '^ *+' conftest.er1 >conftest.err
43794 cat conftest.err >&5
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); } && {
43797 test -z "$ac_c_werror_flag" ||
43798 test ! -s conftest.err
43799 } && test -s conftest$ac_exeext &&
43800 $as_test_x conftest$ac_exeext; then
43801 ac_cv_header_sys_soundcard=yes
43803 echo "$as_me: failed program was:" >&5
43804 sed 's/^/| /' conftest.$ac_ext >&5
43808 LIBS="$saveLibs -lossaudio"
43809 cat >conftest.$ac_ext <<_ACEOF
43812 cat confdefs.h >>conftest.$ac_ext
43813 cat >>conftest.$ac_ext <<_ACEOF
43814 /* end confdefs.h. */
43816 #include <sys/ioctl.h>
43817 #include <sys/soundcard.h>
43823 ioctl(0, SNDCTL_DSP_SPEED, 0);
43829 rm -f conftest.$ac_objext conftest$ac_exeext
43830 if { (ac_try="$ac_link"
43831 case "(($ac_try" in
43832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43833 *) ac_try_echo=$ac_try;;
43835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43836 (eval "$ac_link") 2>conftest.er1
43838 grep -v '^ *+' conftest.er1 >conftest.err
43840 cat conftest.err >&5
43841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43842 (exit $ac_status); } && {
43843 test -z "$ac_c_werror_flag" ||
43844 test ! -s conftest.err
43845 } && test -s conftest$ac_exeext &&
43846 $as_test_x conftest$ac_exeext; then
43847 ac_cv_header_sys_soundcard=yes
43849 echo "$as_me: failed program was:" >&5
43850 sed 's/^/| /' conftest.$ac_ext >&5
43854 ac_cv_header_sys_soundcard=no
43859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43860 conftest$ac_exeext conftest.$ac_ext
43865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43866 conftest$ac_exeext conftest.$ac_ext
43869 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43870 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43873 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43874 cat >>confdefs.h <<\_ACEOF
43875 #define HAVE_SYS_SOUNDCARD_H 1
43882 if test "$wxUSE_SOUND" = "yes"; then
43883 if test "$USE_UNIX" = 1 ; then
43884 if test "$wxUSE_LIBSDL" != "no"; then
43886 # Check whether --with-sdl-prefix was given.
43887 if test "${with_sdl_prefix+set}" = set; then
43888 withval=$with_sdl_prefix; sdl_prefix="$withval"
43894 # Check whether --with-sdl-exec-prefix was given.
43895 if test "${with_sdl_exec_prefix+set}" = set; then
43896 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43901 # Check whether --enable-sdltest was given.
43902 if test "${enable_sdltest+set}" = set; then
43903 enableval=$enable_sdltest;
43909 if test x$sdl_exec_prefix != x ; then
43910 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43911 if test x${SDL_CONFIG+set} != xset ; then
43912 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43915 if test x$sdl_prefix != x ; then
43916 sdl_args="$sdl_args --prefix=$sdl_prefix"
43917 if test x${SDL_CONFIG+set} != xset ; then
43918 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43922 if test "x$prefix" != xNONE; then
43923 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43925 # Extract the first word of "sdl-config", so it can be a program name with args.
43926 set dummy sdl-config; ac_word=$2
43927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43929 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43930 echo $ECHO_N "(cached) $ECHO_C" >&6
43932 case $SDL_CONFIG in
43934 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43938 for as_dir in $PATH
43941 test -z "$as_dir" && as_dir=.
43942 for ac_exec_ext in '' $ac_executable_extensions; do
43943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43944 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43952 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43956 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43957 if test -n "$SDL_CONFIG"; then
43958 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43959 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43961 { echo "$as_me:$LINENO: result: no" >&5
43962 echo "${ECHO_T}no" >&6; }
43966 min_sdl_version=1.2.0
43967 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43968 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43970 if test "$SDL_CONFIG" = "no" ; then
43973 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43974 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43976 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43978 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43980 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43982 if test "x$enable_sdltest" = "xyes" ; then
43983 ac_save_CFLAGS="$CFLAGS"
43984 ac_save_CXXFLAGS="$CXXFLAGS"
43985 ac_save_LIBS="$LIBS"
43986 CFLAGS="$CFLAGS $SDL_CFLAGS"
43987 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43988 LIBS="$LIBS $SDL_LIBS"
43990 if test "$cross_compiling" = yes; then
43991 echo $ac_n "cross compiling; assumed OK... $ac_c"
43993 cat >conftest.$ac_ext <<_ACEOF
43996 cat confdefs.h >>conftest.$ac_ext
43997 cat >>conftest.$ac_ext <<_ACEOF
43998 /* end confdefs.h. */
44001 #include <stdlib.h>
44002 #include <string.h>
44006 my_strdup (char *str)
44012 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44013 strcpy (new_str, str);
44021 int main (int argc, char *argv[])
44023 int major, minor, micro;
44026 /* This hangs on some systems (?)
44027 system ("touch conf.sdltest");
44029 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44031 /* HP/UX 9 (%@#!) writes to sscanf strings */
44032 tmp_version = my_strdup("$min_sdl_version");
44033 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44034 printf("%s, bad version string\n", "$min_sdl_version");
44038 if (($sdl_major_version > major) ||
44039 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44040 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44046 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44047 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44048 printf("*** best to upgrade to the required version.\n");
44049 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44050 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44051 printf("*** config.cache before re-running configure\n");
44058 rm -f conftest$ac_exeext
44059 if { (ac_try="$ac_link"
44060 case "(($ac_try" in
44061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44062 *) ac_try_echo=$ac_try;;
44064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44065 (eval "$ac_link") 2>&5
44067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44069 { (case "(($ac_try" in
44070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44071 *) ac_try_echo=$ac_try;;
44073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44074 (eval "$ac_try") 2>&5
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); }; }; then
44080 echo "$as_me: program exited with status $ac_status" >&5
44081 echo "$as_me: failed program was:" >&5
44082 sed 's/^/| /' conftest.$ac_ext >&5
44084 ( exit $ac_status )
44087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44091 CFLAGS="$ac_save_CFLAGS"
44092 CXXFLAGS="$ac_save_CXXFLAGS"
44093 LIBS="$ac_save_LIBS"
44096 if test "x$no_sdl" = x ; then
44097 { echo "$as_me:$LINENO: result: yes" >&5
44098 echo "${ECHO_T}yes" >&6; }
44100 EXTRALIBS_SDL="$SDL_LIBS"
44101 CFLAGS="$SDL_CFLAGS $CFLAGS"
44102 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44103 cat >>confdefs.h <<\_ACEOF
44104 #define wxUSE_LIBSDL 1
44109 { echo "$as_me:$LINENO: result: no" >&5
44110 echo "${ECHO_T}no" >&6; }
44111 if test "$SDL_CONFIG" = "no" ; then
44112 echo "*** The sdl-config script installed by SDL could not be found"
44113 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44114 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44115 echo "*** full path to sdl-config."
44117 if test -f conf.sdltest ; then
44120 echo "*** Could not run SDL test program, checking why..."
44121 CFLAGS="$CFLAGS $SDL_CFLAGS"
44122 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44123 LIBS="$LIBS $SDL_LIBS"
44124 cat >conftest.$ac_ext <<_ACEOF
44127 cat confdefs.h >>conftest.$ac_ext
44128 cat >>conftest.$ac_ext <<_ACEOF
44129 /* end confdefs.h. */
44134 int main(int argc, char *argv[])
44137 #define main K_and_R_C_main
44147 rm -f conftest.$ac_objext conftest$ac_exeext
44148 if { (ac_try="$ac_link"
44149 case "(($ac_try" in
44150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44151 *) ac_try_echo=$ac_try;;
44153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44154 (eval "$ac_link") 2>conftest.er1
44156 grep -v '^ *+' conftest.er1 >conftest.err
44158 cat conftest.err >&5
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); } && {
44161 test -z "$ac_c_werror_flag" ||
44162 test ! -s conftest.err
44163 } && test -s conftest$ac_exeext &&
44164 $as_test_x conftest$ac_exeext; then
44165 echo "*** The test program compiled, but did not run. This usually means"
44166 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44167 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44168 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44169 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44170 echo "*** is required on your system"
44172 echo "*** If you have an old version installed, it is best to remove it, although"
44173 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44175 echo "$as_me: failed program was:" >&5
44176 sed 's/^/| /' conftest.$ac_ext >&5
44178 echo "*** The test program failed to compile or link. See the file config.log for the"
44179 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44180 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44181 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44185 conftest$ac_exeext conftest.$ac_ext
44186 CFLAGS="$ac_save_CFLAGS"
44187 CXXFLAGS="$ac_save_CXXFLAGS"
44188 LIBS="$ac_save_LIBS"
44199 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44204 if test "$wxUSE_MGL" = 1; then
44205 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44206 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44212 if test "$wxUSE_SOUND" = "yes"; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_SOUND 1
44217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44220 if test "$WXGTK2" = 1; then
44223 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44224 if test -n "$ac_tool_prefix"; then
44225 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44226 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44229 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44230 echo $ECHO_N "(cached) $ECHO_C" >&6
44232 case $PKG_CONFIG in
44234 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44238 for as_dir in $PATH
44241 test -z "$as_dir" && as_dir=.
44242 for ac_exec_ext in '' $ac_executable_extensions; do
44243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44244 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44255 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44256 if test -n "$PKG_CONFIG"; then
44257 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44258 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44260 { echo "$as_me:$LINENO: result: no" >&5
44261 echo "${ECHO_T}no" >&6; }
44266 if test -z "$ac_cv_path_PKG_CONFIG"; then
44267 ac_pt_PKG_CONFIG=$PKG_CONFIG
44268 # Extract the first word of "pkg-config", so it can be a program name with args.
44269 set dummy pkg-config; ac_word=$2
44270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44272 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44273 echo $ECHO_N "(cached) $ECHO_C" >&6
44275 case $ac_pt_PKG_CONFIG in
44277 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44281 for as_dir in $PATH
44284 test -z "$as_dir" && as_dir=.
44285 for ac_exec_ext in '' $ac_executable_extensions; do
44286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44287 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44298 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44299 if test -n "$ac_pt_PKG_CONFIG"; then
44300 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44301 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44303 { echo "$as_me:$LINENO: result: no" >&5
44304 echo "${ECHO_T}no" >&6; }
44307 if test "x$ac_pt_PKG_CONFIG" = x; then
44310 case $cross_compiling:$ac_tool_warned in
44312 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44313 whose name does not start with the host triplet. If you think this
44314 configuration is useful to you, please write to autoconf@gnu.org." >&5
44315 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44316 whose name does not start with the host triplet. If you think this
44317 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44318 ac_tool_warned=yes ;;
44320 PKG_CONFIG=$ac_pt_PKG_CONFIG
44323 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44327 if test -n "$PKG_CONFIG"; then
44328 _pkg_min_version=0.9.0
44329 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44330 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44331 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44332 { echo "$as_me:$LINENO: result: yes" >&5
44333 echo "${ECHO_T}yes" >&6; }
44335 { echo "$as_me:$LINENO: result: no" >&5
44336 echo "${ECHO_T}no" >&6; }
44342 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44344 if test "$wxUSE_GTKPRINT" = "yes" ; then
44348 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44349 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44351 if test -n "$PKG_CONFIG"; then
44352 if test -n "$GTKPRINT_CFLAGS"; then
44353 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44355 if test -n "$PKG_CONFIG" && \
44356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44357 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); }; then
44361 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44369 if test -n "$PKG_CONFIG"; then
44370 if test -n "$GTKPRINT_LIBS"; then
44371 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44373 if test -n "$PKG_CONFIG" && \
44374 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44375 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); }; then
44379 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44390 if test $pkg_failed = yes; then
44392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44393 _pkg_short_errors_supported=yes
44395 _pkg_short_errors_supported=no
44397 if test $_pkg_short_errors_supported = yes; then
44398 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44400 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44402 # Put the nasty error message in config.log where it belongs
44403 echo "$GTKPRINT_PKG_ERRORS" >&5
44406 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44407 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44408 wxUSE_GTKPRINT="no"
44411 elif test $pkg_failed = untried; then
44413 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44414 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44415 wxUSE_GTKPRINT="no"
44419 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44420 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44421 { echo "$as_me:$LINENO: result: yes" >&5
44422 echo "${ECHO_T}yes" >&6; }
44424 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44425 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44426 cat >>confdefs.h <<\_ACEOF
44427 #define wxUSE_GTKPRINT 1
44434 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44438 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44439 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44441 if test -n "$PKG_CONFIG"; then
44442 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44443 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44445 if test -n "$PKG_CONFIG" && \
44446 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44447 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44450 (exit $ac_status); }; then
44451 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44459 if test -n "$PKG_CONFIG"; then
44460 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44461 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44463 if test -n "$PKG_CONFIG" && \
44464 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44465 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44468 (exit $ac_status); }; then
44469 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44480 if test $pkg_failed = yes; then
44482 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44483 _pkg_short_errors_supported=yes
44485 _pkg_short_errors_supported=no
44487 if test $_pkg_short_errors_supported = yes; then
44488 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44490 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44492 # Put the nasty error message in config.log where it belongs
44493 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44496 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44497 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44498 wxUSE_LIBGNOMEPRINT="no"
44501 elif test $pkg_failed = untried; then
44503 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44504 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44505 wxUSE_LIBGNOMEPRINT="no"
44509 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44510 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44511 { echo "$as_me:$LINENO: result: yes" >&5
44512 echo "${ECHO_T}yes" >&6; }
44514 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44515 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44516 cat >>confdefs.h <<\_ACEOF
44517 #define wxUSE_LIBGNOMEPRINT 1
44525 if test "$wxUSE_MIMETYPE" = "yes" ; then
44526 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44530 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44531 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44533 if test -n "$PKG_CONFIG"; then
44534 if test -n "$GNOMEVFS_CFLAGS"; then
44535 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44537 if test -n "$PKG_CONFIG" && \
44538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44539 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44542 (exit $ac_status); }; then
44543 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44551 if test -n "$PKG_CONFIG"; then
44552 if test -n "$GNOMEVFS_LIBS"; then
44553 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44555 if test -n "$PKG_CONFIG" && \
44556 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44557 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44560 (exit $ac_status); }; then
44561 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44572 if test $pkg_failed = yes; then
44574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44575 _pkg_short_errors_supported=yes
44577 _pkg_short_errors_supported=no
44579 if test $_pkg_short_errors_supported = yes; then
44580 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44582 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44584 # Put the nasty error message in config.log where it belongs
44585 echo "$GNOMEVFS_PKG_ERRORS" >&5
44588 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44589 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44590 wxUSE_LIBGNOMEVFS="no"
44593 elif test $pkg_failed = untried; then
44595 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44596 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44597 wxUSE_LIBGNOMEVFS="no"
44601 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44602 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44603 { echo "$as_me:$LINENO: result: yes" >&5
44604 echo "${ECHO_T}yes" >&6; }
44606 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44607 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44608 cat >>confdefs.h <<\_ACEOF
44609 #define wxUSE_LIBGNOMEVFS 1
44617 if test "$wxUSE_LIBHILDON" = "yes" ; then
44620 { echo "$as_me:$LINENO: checking for HILDON" >&5
44621 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44623 if test -n "$PKG_CONFIG"; then
44624 if test -n "$HILDON_CFLAGS"; then
44625 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44627 if test -n "$PKG_CONFIG" && \
44628 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44629 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632 (exit $ac_status); }; then
44633 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44641 if test -n "$PKG_CONFIG"; then
44642 if test -n "$HILDON_LIBS"; then
44643 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44645 if test -n "$PKG_CONFIG" && \
44646 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44647 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44650 (exit $ac_status); }; then
44651 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44662 if test $pkg_failed = yes; then
44664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44665 _pkg_short_errors_supported=yes
44667 _pkg_short_errors_supported=no
44669 if test $_pkg_short_errors_supported = yes; then
44670 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44672 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44674 # Put the nasty error message in config.log where it belongs
44675 echo "$HILDON_PKG_ERRORS" >&5
44678 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44679 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44680 wxUSE_LIBHILDON="no"
44684 elif test $pkg_failed = untried; then
44686 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44687 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44688 wxUSE_LIBHILDON="no"
44693 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44694 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44695 { echo "$as_me:$LINENO: result: yes" >&5
44696 echo "${ECHO_T}yes" >&6; }
44698 EXTRALIBS_HILDON="$HILDON_LIBS"
44699 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44700 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_LIBHILDON 1
44709 if test "$ac_hildon_lgpl" = 0 ; then
44712 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44713 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44715 if test -n "$PKG_CONFIG"; then
44716 if test -n "$HILDON2_CFLAGS"; then
44717 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44719 if test -n "$PKG_CONFIG" && \
44720 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44721 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44724 (exit $ac_status); }; then
44725 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44733 if test -n "$PKG_CONFIG"; then
44734 if test -n "$HILDON2_LIBS"; then
44735 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44737 if test -n "$PKG_CONFIG" && \
44738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44739 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44742 (exit $ac_status); }; then
44743 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44754 if test $pkg_failed = yes; then
44756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44757 _pkg_short_errors_supported=yes
44759 _pkg_short_errors_supported=no
44761 if test $_pkg_short_errors_supported = yes; then
44762 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44764 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44766 # Put the nasty error message in config.log where it belongs
44767 echo "$HILDON2_PKG_ERRORS" >&5
44770 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44771 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44772 wxUSE_LIBHILDON2="no"
44775 elif test $pkg_failed = untried; then
44777 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44778 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44779 wxUSE_LIBHILDON2="no"
44783 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44784 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44785 { echo "$as_me:$LINENO: result: yes" >&5
44786 echo "${ECHO_T}yes" >&6; }
44788 EXTRALIBS_HILDON="$HILDON2_LIBS"
44789 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44790 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_LIBHILDON2 1
44801 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_CMDLINE_PARSER 1
44808 if test "$wxUSE_STOPWATCH" = "yes"; then
44809 cat >>confdefs.h <<\_ACEOF
44810 #define wxUSE_STOPWATCH 1
44815 if test "$wxUSE_DATETIME" = "yes"; then
44816 cat >>confdefs.h <<\_ACEOF
44817 #define wxUSE_DATETIME 1
44822 if test "$wxUSE_FILE" = "yes"; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_FILE 1
44829 if test "$wxUSE_FFILE" = "yes"; then
44830 cat >>confdefs.h <<\_ACEOF
44831 #define wxUSE_FFILE 1
44836 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44837 if test "$wxUSE_STREAMS" != yes; then
44838 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44839 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44840 wxUSE_ARCHIVE_STREAMS=no
44842 cat >>confdefs.h <<\_ACEOF
44843 #define wxUSE_ARCHIVE_STREAMS 1
44849 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44850 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44851 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44852 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44853 elif test "$wxUSE_ZLIB" = "no"; then
44854 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44855 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44857 cat >>confdefs.h <<\_ACEOF
44858 #define wxUSE_ZIPSTREAM 1
44864 if test "$wxUSE_TARSTREAM" = "yes"; then
44865 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44866 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44867 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_TARSTREAM 1
44876 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_FILE_HISTORY 1
44883 if test "$wxUSE_FILESYSTEM" = "yes"; then
44884 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44885 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44886 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44887 wxUSE_FILESYSTEM=no
44889 cat >>confdefs.h <<\_ACEOF
44890 #define wxUSE_FILESYSTEM 1
44896 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44897 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44898 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44899 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_FS_ARCHIVE 1
44908 if test "$wxUSE_FS_ZIP" = "yes"; then
44909 if test "$wxUSE_FS_ARCHIVE" != yes; then
44910 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44911 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44913 cat >>confdefs.h <<\_ACEOF
44914 #define wxUSE_FS_ZIP 1
44920 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44921 if test "$USE_UNIX" != 1; then
44922 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44923 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44924 wxUSE_ON_FATAL_EXCEPTION=no
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_ON_FATAL_EXCEPTION 1
44933 if test "$wxUSE_STACKWALKER" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_STACKWALKER 1
44940 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44941 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44942 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44943 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44944 wxUSE_DEBUGREPORT=no
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_DEBUGREPORT 1
44950 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44956 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44957 cat >>confdefs.h <<\_ACEOF
44958 #define wxUSE_SNGLINST_CHECKER 1
44963 if test "$wxUSE_BUSYINFO" = "yes"; then
44964 cat >>confdefs.h <<\_ACEOF
44965 #define wxUSE_BUSYINFO 1
44970 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_STD_CONTAINERS 1
44977 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44978 cat >>confdefs.h <<\_ACEOF
44979 #define wxUSE_STD_IOSTREAM 1
44984 if test "$wxUSE_STD_STRING" = "yes"; then
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_STD_STRING 1
44991 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
44992 cat >>confdefs.h <<\_ACEOF
44993 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
44998 if test "$wxUSE_STDPATHS" = "yes"; then
44999 cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_STDPATHS 1
45005 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_TEXTBUFFER 1
45012 if test "$wxUSE_TEXTFILE" = "yes"; then
45013 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45014 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45015 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_TEXTFILE 1
45024 if test "$wxUSE_CONFIG" = "yes" ; then
45025 if test "$wxUSE_TEXTFILE" != "yes"; then
45026 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45027 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45029 cat >>confdefs.h <<\_ACEOF
45030 #define wxUSE_CONFIG 1
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_CONFIG_NATIVE 1
45037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45041 if test "$wxUSE_INTL" = "yes" ; then
45042 if test "$wxUSE_FILE" != "yes"; then
45043 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45044 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_INTL 1
45050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45051 GUIDIST="$GUIDIST INTL_DIST"
45055 if test "$wxUSE_XLOCALE" = "yes" ; then
45056 cat >>confdefs.h <<\_ACEOF
45057 #define wxUSE_XLOCALE 1
45060 { echo "$as_me:$LINENO: checking for locale_t" >&5
45061 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45062 if test "${ac_cv_type_locale_t+set}" = set; then
45063 echo $ECHO_N "(cached) $ECHO_C" >&6
45065 cat >conftest.$ac_ext <<_ACEOF
45068 cat confdefs.h >>conftest.$ac_ext
45069 cat >>conftest.$ac_ext <<_ACEOF
45070 /* end confdefs.h. */
45071 #include <xlocale.h>
45072 #include <locale.h>
45074 typedef locale_t ac__type_new_;
45078 if ((ac__type_new_ *) 0)
45080 if (sizeof (ac__type_new_))
45086 rm -f conftest.$ac_objext
45087 if { (ac_try="$ac_compile"
45088 case "(($ac_try" in
45089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45090 *) ac_try_echo=$ac_try;;
45092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45093 (eval "$ac_compile") 2>conftest.er1
45095 grep -v '^ *+' conftest.er1 >conftest.err
45097 cat conftest.err >&5
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); } && {
45100 test -z "$ac_c_werror_flag" ||
45101 test ! -s conftest.err
45102 } && test -s conftest.$ac_objext; then
45103 ac_cv_type_locale_t=yes
45105 echo "$as_me: failed program was:" >&5
45106 sed 's/^/| /' conftest.$ac_ext >&5
45108 ac_cv_type_locale_t=no
45111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45113 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45114 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45115 if test $ac_cv_type_locale_t = yes; then
45117 cat >>confdefs.h <<_ACEOF
45118 #define HAVE_LOCALE_T 1
45126 if test "$wxUSE_LOG" = "yes"; then
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_LOG 1
45132 if test "$wxUSE_LOGGUI" = "yes"; then
45133 cat >>confdefs.h <<\_ACEOF
45134 #define wxUSE_LOGGUI 1
45139 if test "$wxUSE_LOGWINDOW" = "yes"; then
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_LOGWINDOW 1
45146 if test "$wxUSE_LOGDIALOG" = "yes"; then
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_LOG_DIALOG 1
45153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45156 if test "$wxUSE_LONGLONG" = "yes"; then
45157 cat >>confdefs.h <<\_ACEOF
45158 #define wxUSE_LONGLONG 1
45163 if test "$wxUSE_GEOMETRY" = "yes"; then
45164 cat >>confdefs.h <<\_ACEOF
45165 #define wxUSE_GEOMETRY 1
45170 if test "$wxUSE_BASE64" = "yes"; then
45171 cat >>confdefs.h <<\_ACEOF
45172 #define wxUSE_BASE64 1
45177 if test "$wxUSE_STREAMS" = "yes" ; then
45178 cat >>confdefs.h <<\_ACEOF
45179 #define wxUSE_STREAMS 1
45184 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45185 cat >>confdefs.h <<\_ACEOF
45186 #define wxUSE_PRINTF_POS_PARAMS 1
45191 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_OBJC_UNIQUIFYING 1
45199 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_CONSOLE_EVENTLOOP 1
45205 if test "$wxUSE_UNIX" = "yes"; then
45206 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_SELECT_DISPATCHER 1
45213 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45215 for ac_header in sys/epoll.h
45217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45221 echo $ECHO_N "(cached) $ECHO_C" >&6
45223 cat >conftest.$ac_ext <<_ACEOF
45226 cat confdefs.h >>conftest.$ac_ext
45227 cat >>conftest.$ac_ext <<_ACEOF
45228 /* end confdefs.h. */
45229 $ac_includes_default
45231 #include <$ac_header>
45233 rm -f conftest.$ac_objext
45234 if { (ac_try="$ac_compile"
45235 case "(($ac_try" in
45236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45237 *) ac_try_echo=$ac_try;;
45239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45240 (eval "$ac_compile") 2>conftest.er1
45242 grep -v '^ *+' conftest.er1 >conftest.err
45244 cat conftest.err >&5
45245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45246 (exit $ac_status); } && {
45247 test -z "$ac_c_werror_flag" ||
45248 test ! -s conftest.err
45249 } && test -s conftest.$ac_objext; then
45250 eval "$as_ac_Header=yes"
45252 echo "$as_me: failed program was:" >&5
45253 sed 's/^/| /' conftest.$ac_ext >&5
45255 eval "$as_ac_Header=no"
45258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45260 ac_res=`eval echo '${'$as_ac_Header'}'`
45261 { echo "$as_me:$LINENO: result: $ac_res" >&5
45262 echo "${ECHO_T}$ac_res" >&6; }
45263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45264 cat >>confdefs.h <<_ACEOF
45265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45272 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45273 cat >>confdefs.h <<\_ACEOF
45274 #define wxUSE_EPOLL_DISPATCHER 1
45278 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45279 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45288 for ac_func in gettimeofday ftime
45290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45294 echo $ECHO_N "(cached) $ECHO_C" >&6
45296 cat >conftest.$ac_ext <<_ACEOF
45299 cat confdefs.h >>conftest.$ac_ext
45300 cat >>conftest.$ac_ext <<_ACEOF
45301 /* end confdefs.h. */
45302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45304 #define $ac_func innocuous_$ac_func
45306 /* System header to define __stub macros and hopefully few prototypes,
45307 which can conflict with char $ac_func (); below.
45308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45309 <limits.h> exists even on freestanding compilers. */
45312 # include <limits.h>
45314 # include <assert.h>
45319 /* Override any GCC internal prototype to avoid an error.
45320 Use char because int might match the return type of a GCC
45321 builtin and then its argument prototype would still apply. */
45326 /* The GNU C library defines this for functions which it implements
45327 to always fail with ENOSYS. Some functions are actually named
45328 something starting with __ and the normal name is an alias. */
45329 #if defined __stub_$ac_func || defined __stub___$ac_func
45336 return $ac_func ();
45341 rm -f conftest.$ac_objext conftest$ac_exeext
45342 if { (ac_try="$ac_link"
45343 case "(($ac_try" in
45344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45345 *) ac_try_echo=$ac_try;;
45347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45348 (eval "$ac_link") 2>conftest.er1
45350 grep -v '^ *+' conftest.er1 >conftest.err
45352 cat conftest.err >&5
45353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45354 (exit $ac_status); } && {
45355 test -z "$ac_c_werror_flag" ||
45356 test ! -s conftest.err
45357 } && test -s conftest$ac_exeext &&
45358 $as_test_x conftest$ac_exeext; then
45359 eval "$as_ac_var=yes"
45361 echo "$as_me: failed program was:" >&5
45362 sed 's/^/| /' conftest.$ac_ext >&5
45364 eval "$as_ac_var=no"
45367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45368 conftest$ac_exeext conftest.$ac_ext
45370 ac_res=`eval echo '${'$as_ac_var'}'`
45371 { echo "$as_me:$LINENO: result: $ac_res" >&5
45372 echo "${ECHO_T}$ac_res" >&6; }
45373 if test `eval echo '${'$as_ac_var'}'` = yes; then
45374 cat >>confdefs.h <<_ACEOF
45375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45382 if test "$ac_cv_func_gettimeofday" = "yes"; then
45383 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45384 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45385 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45386 echo $ECHO_N "(cached) $ECHO_C" >&6
45389 cat >conftest.$ac_ext <<_ACEOF
45392 cat confdefs.h >>conftest.$ac_ext
45393 cat >>conftest.$ac_ext <<_ACEOF
45394 /* end confdefs.h. */
45396 #include <sys/time.h>
45397 #include <unistd.h>
45404 gettimeofday(&tv, NULL);
45410 rm -f conftest.$ac_objext
45411 if { (ac_try="$ac_compile"
45412 case "(($ac_try" in
45413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45414 *) ac_try_echo=$ac_try;;
45416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45417 (eval "$ac_compile") 2>conftest.er1
45419 grep -v '^ *+' conftest.er1 >conftest.err
45421 cat conftest.err >&5
45422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45423 (exit $ac_status); } && {
45424 test -z "$ac_c_werror_flag" ||
45425 test ! -s conftest.err
45426 } && test -s conftest.$ac_objext; then
45427 wx_cv_func_gettimeofday_has_2_args=yes
45429 echo "$as_me: failed program was:" >&5
45430 sed 's/^/| /' conftest.$ac_ext >&5
45432 cat >conftest.$ac_ext <<_ACEOF
45435 cat confdefs.h >>conftest.$ac_ext
45436 cat >>conftest.$ac_ext <<_ACEOF
45437 /* end confdefs.h. */
45439 #include <sys/time.h>
45440 #include <unistd.h>
45453 rm -f conftest.$ac_objext
45454 if { (ac_try="$ac_compile"
45455 case "(($ac_try" in
45456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45457 *) ac_try_echo=$ac_try;;
45459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45460 (eval "$ac_compile") 2>conftest.er1
45462 grep -v '^ *+' conftest.er1 >conftest.err
45464 cat conftest.err >&5
45465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45466 (exit $ac_status); } && {
45467 test -z "$ac_c_werror_flag" ||
45468 test ! -s conftest.err
45469 } && test -s conftest.$ac_objext; then
45470 wx_cv_func_gettimeofday_has_2_args=no
45472 echo "$as_me: failed program was:" >&5
45473 sed 's/^/| /' conftest.$ac_ext >&5
45476 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45477 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45478 wx_cv_func_gettimeofday_has_2_args=unknown
45483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45490 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45491 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45493 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define WX_GETTIMEOFDAY_NO_TZ 1
45501 if test "$wxUSE_DATETIME" = "yes"; then
45502 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45503 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45504 if test "${wx_cv_var_timezone+set}" = set; then
45505 echo $ECHO_N "(cached) $ECHO_C" >&6
45509 ac_cpp='$CXXCPP $CPPFLAGS'
45510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45514 cat >conftest.$ac_ext <<_ACEOF
45517 cat confdefs.h >>conftest.$ac_ext
45518 cat >>conftest.$ac_ext <<_ACEOF
45519 /* end confdefs.h. */
45534 rm -f conftest.$ac_objext
45535 if { (ac_try="$ac_compile"
45536 case "(($ac_try" in
45537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45538 *) ac_try_echo=$ac_try;;
45540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45541 (eval "$ac_compile") 2>conftest.er1
45543 grep -v '^ *+' conftest.er1 >conftest.err
45545 cat conftest.err >&5
45546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45547 (exit $ac_status); } && {
45548 test -z "$ac_cxx_werror_flag" ||
45549 test ! -s conftest.err
45550 } && test -s conftest.$ac_objext; then
45552 wx_cv_var_timezone=timezone
45555 echo "$as_me: failed program was:" >&5
45556 sed 's/^/| /' conftest.$ac_ext >&5
45559 cat >conftest.$ac_ext <<_ACEOF
45562 cat confdefs.h >>conftest.$ac_ext
45563 cat >>conftest.$ac_ext <<_ACEOF
45564 /* end confdefs.h. */
45579 rm -f conftest.$ac_objext
45580 if { (ac_try="$ac_compile"
45581 case "(($ac_try" in
45582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45583 *) ac_try_echo=$ac_try;;
45585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45586 (eval "$ac_compile") 2>conftest.er1
45588 grep -v '^ *+' conftest.er1 >conftest.err
45590 cat conftest.err >&5
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); } && {
45593 test -z "$ac_cxx_werror_flag" ||
45594 test ! -s conftest.err
45595 } && test -s conftest.$ac_objext; then
45597 wx_cv_var_timezone=_timezone
45600 echo "$as_me: failed program was:" >&5
45601 sed 's/^/| /' conftest.$ac_ext >&5
45604 cat >conftest.$ac_ext <<_ACEOF
45607 cat confdefs.h >>conftest.$ac_ext
45608 cat >>conftest.$ac_ext <<_ACEOF
45609 /* end confdefs.h. */
45624 rm -f conftest.$ac_objext
45625 if { (ac_try="$ac_compile"
45626 case "(($ac_try" in
45627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45628 *) ac_try_echo=$ac_try;;
45630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45631 (eval "$ac_compile") 2>conftest.er1
45633 grep -v '^ *+' conftest.er1 >conftest.err
45635 cat conftest.err >&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); } && {
45638 test -z "$ac_cxx_werror_flag" ||
45639 test ! -s conftest.err
45640 } && test -s conftest.$ac_objext; then
45642 wx_cv_var_timezone=__timezone
45645 echo "$as_me: failed program was:" >&5
45646 sed 's/^/| /' conftest.$ac_ext >&5
45649 if test "$USE_DOS" = 0 ; then
45650 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45651 echo "$as_me: WARNING: no timezone variable" >&2;}
45657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45669 ac_cpp='$CPP $CPPFLAGS'
45670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45677 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45678 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45680 if test "x$wx_cv_var_timezone" != x ; then
45681 cat >>confdefs.h <<_ACEOF
45682 #define WX_TIMEZONE $wx_cv_var_timezone
45688 for ac_func in localtime
45690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45691 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45693 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45694 echo $ECHO_N "(cached) $ECHO_C" >&6
45696 cat >conftest.$ac_ext <<_ACEOF
45699 cat confdefs.h >>conftest.$ac_ext
45700 cat >>conftest.$ac_ext <<_ACEOF
45701 /* end confdefs.h. */
45702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45704 #define $ac_func innocuous_$ac_func
45706 /* System header to define __stub macros and hopefully few prototypes,
45707 which can conflict with char $ac_func (); below.
45708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45709 <limits.h> exists even on freestanding compilers. */
45712 # include <limits.h>
45714 # include <assert.h>
45719 /* Override any GCC internal prototype to avoid an error.
45720 Use char because int might match the return type of a GCC
45721 builtin and then its argument prototype would still apply. */
45726 /* The GNU C library defines this for functions which it implements
45727 to always fail with ENOSYS. Some functions are actually named
45728 something starting with __ and the normal name is an alias. */
45729 #if defined __stub_$ac_func || defined __stub___$ac_func
45736 return $ac_func ();
45741 rm -f conftest.$ac_objext conftest$ac_exeext
45742 if { (ac_try="$ac_link"
45743 case "(($ac_try" in
45744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45745 *) ac_try_echo=$ac_try;;
45747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45748 (eval "$ac_link") 2>conftest.er1
45750 grep -v '^ *+' conftest.er1 >conftest.err
45752 cat conftest.err >&5
45753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45754 (exit $ac_status); } && {
45755 test -z "$ac_c_werror_flag" ||
45756 test ! -s conftest.err
45757 } && test -s conftest$ac_exeext &&
45758 $as_test_x conftest$ac_exeext; then
45759 eval "$as_ac_var=yes"
45761 echo "$as_me: failed program was:" >&5
45762 sed 's/^/| /' conftest.$ac_ext >&5
45764 eval "$as_ac_var=no"
45767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45768 conftest$ac_exeext conftest.$ac_ext
45770 ac_res=`eval echo '${'$as_ac_var'}'`
45771 { echo "$as_me:$LINENO: result: $ac_res" >&5
45772 echo "${ECHO_T}$ac_res" >&6; }
45773 if test `eval echo '${'$as_ac_var'}'` = yes; then
45774 cat >>confdefs.h <<_ACEOF
45775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45782 if test "$ac_cv_func_localtime" = "yes"; then
45783 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45784 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45785 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45786 echo $ECHO_N "(cached) $ECHO_C" >&6
45789 cat >conftest.$ac_ext <<_ACEOF
45792 cat confdefs.h >>conftest.$ac_ext
45793 cat >>conftest.$ac_ext <<_ACEOF
45794 /* end confdefs.h. */
45809 rm -f conftest.$ac_objext
45810 if { (ac_try="$ac_compile"
45811 case "(($ac_try" in
45812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45813 *) ac_try_echo=$ac_try;;
45815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45816 (eval "$ac_compile") 2>conftest.er1
45818 grep -v '^ *+' conftest.er1 >conftest.err
45820 cat conftest.err >&5
45821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45822 (exit $ac_status); } && {
45823 test -z "$ac_c_werror_flag" ||
45824 test ! -s conftest.err
45825 } && test -s conftest.$ac_objext; then
45827 wx_cv_struct_tm_has_gmtoff=yes
45830 echo "$as_me: failed program was:" >&5
45831 sed 's/^/| /' conftest.$ac_ext >&5
45833 wx_cv_struct_tm_has_gmtoff=no
45837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45840 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45841 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45844 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45845 cat >>confdefs.h <<\_ACEOF
45846 #define WX_GMTOFF_IN_TM 1
45851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45855 if test "$wxUSE_SOCKETS" = "yes"; then
45856 if test "$wxUSE_MGL" = 1; then
45857 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45858 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45863 if test "$wxUSE_SOCKETS" = "yes"; then
45864 if test "$TOOLKIT" != "MSW"; then
45865 { echo "$as_me:$LINENO: checking for socket" >&5
45866 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45867 if test "${ac_cv_func_socket+set}" = set; then
45868 echo $ECHO_N "(cached) $ECHO_C" >&6
45870 cat >conftest.$ac_ext <<_ACEOF
45873 cat confdefs.h >>conftest.$ac_ext
45874 cat >>conftest.$ac_ext <<_ACEOF
45875 /* end confdefs.h. */
45876 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45878 #define socket innocuous_socket
45880 /* System header to define __stub macros and hopefully few prototypes,
45881 which can conflict with char socket (); below.
45882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45883 <limits.h> exists even on freestanding compilers. */
45886 # include <limits.h>
45888 # include <assert.h>
45893 /* Override any GCC internal prototype to avoid an error.
45894 Use char because int might match the return type of a GCC
45895 builtin and then its argument prototype would still apply. */
45900 /* The GNU C library defines this for functions which it implements
45901 to always fail with ENOSYS. Some functions are actually named
45902 something starting with __ and the normal name is an alias. */
45903 #if defined __stub_socket || defined __stub___socket
45915 rm -f conftest.$ac_objext conftest$ac_exeext
45916 if { (ac_try="$ac_link"
45917 case "(($ac_try" in
45918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45919 *) ac_try_echo=$ac_try;;
45921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45922 (eval "$ac_link") 2>conftest.er1
45924 grep -v '^ *+' conftest.er1 >conftest.err
45926 cat conftest.err >&5
45927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45928 (exit $ac_status); } && {
45929 test -z "$ac_c_werror_flag" ||
45930 test ! -s conftest.err
45931 } && test -s conftest$ac_exeext &&
45932 $as_test_x conftest$ac_exeext; then
45933 ac_cv_func_socket=yes
45935 echo "$as_me: failed program was:" >&5
45936 sed 's/^/| /' conftest.$ac_ext >&5
45938 ac_cv_func_socket=no
45941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45942 conftest$ac_exeext conftest.$ac_ext
45944 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45945 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45946 if test $ac_cv_func_socket = yes; then
45950 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45951 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45952 if test "${ac_cv_lib_socket_socket+set}" = set; then
45953 echo $ECHO_N "(cached) $ECHO_C" >&6
45955 ac_check_lib_save_LIBS=$LIBS
45956 LIBS="-lsocket $LIBS"
45957 cat >conftest.$ac_ext <<_ACEOF
45960 cat confdefs.h >>conftest.$ac_ext
45961 cat >>conftest.$ac_ext <<_ACEOF
45962 /* end confdefs.h. */
45964 /* Override any GCC internal prototype to avoid an error.
45965 Use char because int might match the return type of a GCC
45966 builtin and then its argument prototype would still apply. */
45979 rm -f conftest.$ac_objext conftest$ac_exeext
45980 if { (ac_try="$ac_link"
45981 case "(($ac_try" in
45982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45983 *) ac_try_echo=$ac_try;;
45985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45986 (eval "$ac_link") 2>conftest.er1
45988 grep -v '^ *+' conftest.er1 >conftest.err
45990 cat conftest.err >&5
45991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45992 (exit $ac_status); } && {
45993 test -z "$ac_c_werror_flag" ||
45994 test ! -s conftest.err
45995 } && test -s conftest$ac_exeext &&
45996 $as_test_x conftest$ac_exeext; then
45997 ac_cv_lib_socket_socket=yes
45999 echo "$as_me: failed program was:" >&5
46000 sed 's/^/| /' conftest.$ac_ext >&5
46002 ac_cv_lib_socket_socket=no
46005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46006 conftest$ac_exeext conftest.$ac_ext
46007 LIBS=$ac_check_lib_save_LIBS
46009 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46010 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46011 if test $ac_cv_lib_socket_socket = yes; then
46012 if test "$INET_LINK" != " -lsocket"; then
46013 INET_LINK="$INET_LINK -lsocket"
46017 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46018 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46031 if test "$wxUSE_SOCKETS" = "yes" ; then
46032 if test "$TOOLKIT" != "MSW"; then
46033 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46034 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46035 if test "${wx_cv_type_getsockname3+set}" = set; then
46036 echo $ECHO_N "(cached) $ECHO_C" >&6
46040 ac_cpp='$CXXCPP $CPPFLAGS'
46041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46045 cat >conftest.$ac_ext <<_ACEOF
46048 cat confdefs.h >>conftest.$ac_ext
46049 cat >>conftest.$ac_ext <<_ACEOF
46050 /* end confdefs.h. */
46052 #include <sys/types.h>
46053 #include <sys/socket.h>
46060 getsockname(0, 0, &len);
46066 rm -f conftest.$ac_objext
46067 if { (ac_try="$ac_compile"
46068 case "(($ac_try" in
46069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46070 *) ac_try_echo=$ac_try;;
46072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46073 (eval "$ac_compile") 2>conftest.er1
46075 grep -v '^ *+' conftest.er1 >conftest.err
46077 cat conftest.err >&5
46078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46079 (exit $ac_status); } && {
46080 test -z "$ac_cxx_werror_flag" ||
46081 test ! -s conftest.err
46082 } && test -s conftest.$ac_objext; then
46083 wx_cv_type_getsockname3=socklen_t
46085 echo "$as_me: failed program was:" >&5
46086 sed 's/^/| /' conftest.$ac_ext >&5
46089 CFLAGS_OLD="$CFLAGS"
46090 if test "$GCC" = yes ; then
46091 CFLAGS="-Werror $CFLAGS"
46094 cat >conftest.$ac_ext <<_ACEOF
46097 cat confdefs.h >>conftest.$ac_ext
46098 cat >>conftest.$ac_ext <<_ACEOF
46099 /* end confdefs.h. */
46101 #include <sys/types.h>
46102 #include <sys/socket.h>
46109 getsockname(0, 0, &len);
46115 rm -f conftest.$ac_objext
46116 if { (ac_try="$ac_compile"
46117 case "(($ac_try" in
46118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46119 *) ac_try_echo=$ac_try;;
46121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46122 (eval "$ac_compile") 2>conftest.er1
46124 grep -v '^ *+' conftest.er1 >conftest.err
46126 cat conftest.err >&5
46127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46128 (exit $ac_status); } && {
46129 test -z "$ac_cxx_werror_flag" ||
46130 test ! -s conftest.err
46131 } && test -s conftest.$ac_objext; then
46132 wx_cv_type_getsockname3=size_t
46134 echo "$as_me: failed program was:" >&5
46135 sed 's/^/| /' conftest.$ac_ext >&5
46137 cat >conftest.$ac_ext <<_ACEOF
46140 cat confdefs.h >>conftest.$ac_ext
46141 cat >>conftest.$ac_ext <<_ACEOF
46142 /* end confdefs.h. */
46144 #include <sys/types.h>
46145 #include <sys/socket.h>
46152 getsockname(0, 0, &len);
46158 rm -f conftest.$ac_objext
46159 if { (ac_try="$ac_compile"
46160 case "(($ac_try" in
46161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46162 *) ac_try_echo=$ac_try;;
46164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46165 (eval "$ac_compile") 2>conftest.er1
46167 grep -v '^ *+' conftest.er1 >conftest.err
46169 cat conftest.err >&5
46170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46171 (exit $ac_status); } && {
46172 test -z "$ac_cxx_werror_flag" ||
46173 test ! -s conftest.err
46174 } && test -s conftest.$ac_objext; then
46175 wx_cv_type_getsockname3=int
46177 echo "$as_me: failed program was:" >&5
46178 sed 's/^/| /' conftest.$ac_ext >&5
46180 wx_cv_type_getsockname3=unknown
46184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46190 CFLAGS="$CFLAGS_OLD"
46195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46197 ac_cpp='$CPP $CPPFLAGS'
46198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46204 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46205 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46207 if test "$wx_cv_type_getsockname3" = "unknown"; then
46209 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46210 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46212 cat >>confdefs.h <<_ACEOF
46213 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46217 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46218 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46219 if test "${wx_cv_type_getsockopt5+set}" = set; then
46220 echo $ECHO_N "(cached) $ECHO_C" >&6
46224 ac_cpp='$CXXCPP $CPPFLAGS'
46225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46229 cat >conftest.$ac_ext <<_ACEOF
46232 cat confdefs.h >>conftest.$ac_ext
46233 cat >>conftest.$ac_ext <<_ACEOF
46234 /* end confdefs.h. */
46236 #include <sys/types.h>
46237 #include <sys/socket.h>
46244 getsockopt(0, 0, 0, 0, &len);
46250 rm -f conftest.$ac_objext
46251 if { (ac_try="$ac_compile"
46252 case "(($ac_try" in
46253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46254 *) ac_try_echo=$ac_try;;
46256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46257 (eval "$ac_compile") 2>conftest.er1
46259 grep -v '^ *+' conftest.er1 >conftest.err
46261 cat conftest.err >&5
46262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46263 (exit $ac_status); } && {
46264 test -z "$ac_cxx_werror_flag" ||
46265 test ! -s conftest.err
46266 } && test -s conftest.$ac_objext; then
46267 wx_cv_type_getsockopt5=socklen_t
46269 echo "$as_me: failed program was:" >&5
46270 sed 's/^/| /' conftest.$ac_ext >&5
46273 cat >conftest.$ac_ext <<_ACEOF
46276 cat confdefs.h >>conftest.$ac_ext
46277 cat >>conftest.$ac_ext <<_ACEOF
46278 /* end confdefs.h. */
46280 #include <sys/types.h>
46281 #include <sys/socket.h>
46288 getsockopt(0, 0, 0, 0, &len);
46294 rm -f conftest.$ac_objext
46295 if { (ac_try="$ac_compile"
46296 case "(($ac_try" in
46297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46298 *) ac_try_echo=$ac_try;;
46300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46301 (eval "$ac_compile") 2>conftest.er1
46303 grep -v '^ *+' conftest.er1 >conftest.err
46305 cat conftest.err >&5
46306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46307 (exit $ac_status); } && {
46308 test -z "$ac_cxx_werror_flag" ||
46309 test ! -s conftest.err
46310 } && test -s conftest.$ac_objext; then
46311 wx_cv_type_getsockopt5=size_t
46313 echo "$as_me: failed program was:" >&5
46314 sed 's/^/| /' conftest.$ac_ext >&5
46316 cat >conftest.$ac_ext <<_ACEOF
46319 cat confdefs.h >>conftest.$ac_ext
46320 cat >>conftest.$ac_ext <<_ACEOF
46321 /* end confdefs.h. */
46323 #include <sys/types.h>
46324 #include <sys/socket.h>
46331 getsockopt(0, 0, 0, 0, &len);
46337 rm -f conftest.$ac_objext
46338 if { (ac_try="$ac_compile"
46339 case "(($ac_try" in
46340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46341 *) ac_try_echo=$ac_try;;
46343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46344 (eval "$ac_compile") 2>conftest.er1
46346 grep -v '^ *+' conftest.er1 >conftest.err
46348 cat conftest.err >&5
46349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46350 (exit $ac_status); } && {
46351 test -z "$ac_cxx_werror_flag" ||
46352 test ! -s conftest.err
46353 } && test -s conftest.$ac_objext; then
46354 wx_cv_type_getsockopt5=int
46356 echo "$as_me: failed program was:" >&5
46357 sed 's/^/| /' conftest.$ac_ext >&5
46359 wx_cv_type_getsockopt5=unknown
46363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46374 ac_cpp='$CPP $CPPFLAGS'
46375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46381 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46382 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46384 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46386 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46387 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46389 cat >>confdefs.h <<_ACEOF
46390 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46397 if test "$wxUSE_SOCKETS" = "yes" ; then
46398 if test "$wxUSE_IPV6" = "yes"; then
46399 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46400 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46401 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46402 echo $ECHO_N "(cached) $ECHO_C" >&6
46405 cat >conftest.$ac_ext <<_ACEOF
46408 cat confdefs.h >>conftest.$ac_ext
46409 cat >>conftest.$ac_ext <<_ACEOF
46410 /* end confdefs.h. */
46412 #include <sys/types.h>
46413 #include <sys/socket.h>
46414 #include <netinet/in.h>
46420 struct sockaddr_in6 sa6;
46426 rm -f conftest.$ac_objext
46427 if { (ac_try="$ac_compile"
46428 case "(($ac_try" in
46429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46430 *) ac_try_echo=$ac_try;;
46432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46433 (eval "$ac_compile") 2>conftest.er1
46435 grep -v '^ *+' conftest.er1 >conftest.err
46437 cat conftest.err >&5
46438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439 (exit $ac_status); } && {
46440 test -z "$ac_c_werror_flag" ||
46441 test ! -s conftest.err
46442 } && test -s conftest.$ac_objext; then
46443 wx_cv_type_sockaddr_in6=yes
46445 echo "$as_me: failed program was:" >&5
46446 sed 's/^/| /' conftest.$ac_ext >&5
46448 wx_cv_type_sockaddr_in6=no
46452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46456 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46457 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46459 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46460 cat >>confdefs.h <<\_ACEOF
46461 #define wxUSE_IPV6 1
46465 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46466 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46470 cat >>confdefs.h <<\_ACEOF
46471 #define wxUSE_SOCKETS 1
46474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46477 if test "$wxUSE_PROTOCOL" = "yes"; then
46478 if test "$wxUSE_SOCKETS" != "yes"; then
46479 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46480 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46485 if test "$wxUSE_PROTOCOL" = "yes"; then
46486 cat >>confdefs.h <<\_ACEOF
46487 #define wxUSE_PROTOCOL 1
46491 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46492 cat >>confdefs.h <<\_ACEOF
46493 #define wxUSE_PROTOCOL_HTTP 1
46497 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_PROTOCOL_FTP 1
46503 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_PROTOCOL_FILE 1
46510 if test "$wxUSE_FS_INET" = "yes"; then
46511 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46512 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46517 if test "$wxUSE_URL" = "yes"; then
46518 if test "$wxUSE_PROTOCOL" != "yes"; then
46519 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46520 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46523 if test "$wxUSE_URL" = "yes"; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_URL 1
46531 if test "$wxUSE_VARIANT" = "yes"; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_VARIANT 1
46538 if test "$wxUSE_FS_INET" = "yes"; then
46539 cat >>confdefs.h <<\_ACEOF
46540 #define wxUSE_FS_INET 1
46546 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46549 if test "$TOOLKIT" = "MSW"; then
46552 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46553 if test "$USE_DARWIN" = 1; then
46554 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46555 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46557 ac_cpp='$CXXCPP $CPPFLAGS'
46558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46562 cat >conftest.$ac_ext <<_ACEOF
46565 cat confdefs.h >>conftest.$ac_ext
46566 cat >>conftest.$ac_ext <<_ACEOF
46567 /* end confdefs.h. */
46568 #include <IOKit/hid/IOHIDLib.h>
46572 IOHIDQueueInterface *qi = NULL;
46573 IOHIDCallbackFunction cb = NULL;
46574 qi->setEventCallout(NULL, cb, NULL, NULL);
46579 rm -f conftest.$ac_objext
46580 if { (ac_try="$ac_compile"
46581 case "(($ac_try" in
46582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46583 *) ac_try_echo=$ac_try;;
46585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46586 (eval "$ac_compile") 2>conftest.er1
46588 grep -v '^ *+' conftest.er1 >conftest.err
46590 cat conftest.err >&5
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); } && {
46593 test -z "$ac_cxx_werror_flag" ||
46594 test ! -s conftest.err
46595 } && test -s conftest.$ac_objext; then
46599 echo "$as_me: failed program was:" >&5
46600 sed 's/^/| /' conftest.$ac_ext >&5
46605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46607 ac_cpp='$CPP $CPPFLAGS'
46608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46612 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46613 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46617 if test "$wxUSE_MGL" != 1; then
46619 for ac_header in linux/joystick.h
46621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46625 echo $ECHO_N "(cached) $ECHO_C" >&6
46627 cat >conftest.$ac_ext <<_ACEOF
46630 cat confdefs.h >>conftest.$ac_ext
46631 cat >>conftest.$ac_ext <<_ACEOF
46632 /* end confdefs.h. */
46633 $ac_includes_default
46635 #include <$ac_header>
46637 rm -f conftest.$ac_objext
46638 if { (ac_try="$ac_compile"
46639 case "(($ac_try" in
46640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46641 *) ac_try_echo=$ac_try;;
46643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46644 (eval "$ac_compile") 2>conftest.er1
46646 grep -v '^ *+' conftest.er1 >conftest.err
46648 cat conftest.err >&5
46649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46650 (exit $ac_status); } && {
46651 test -z "$ac_c_werror_flag" ||
46652 test ! -s conftest.err
46653 } && test -s conftest.$ac_objext; then
46654 eval "$as_ac_Header=yes"
46656 echo "$as_me: failed program was:" >&5
46657 sed 's/^/| /' conftest.$ac_ext >&5
46659 eval "$as_ac_Header=no"
46662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46664 ac_res=`eval echo '${'$as_ac_Header'}'`
46665 { echo "$as_me:$LINENO: result: $ac_res" >&5
46666 echo "${ECHO_T}$ac_res" >&6; }
46667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46668 cat >>confdefs.h <<_ACEOF
46669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46679 if test "$wxUSE_JOYSTICK" = "yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_JOYSTICK 1
46684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46686 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46687 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46693 if test "$wxUSE_FONTENUM" = "yes" ; then
46694 cat >>confdefs.h <<\_ACEOF
46695 #define wxUSE_FONTENUM 1
46700 if test "$wxUSE_FONTMAP" = "yes" ; then
46701 cat >>confdefs.h <<\_ACEOF
46702 #define wxUSE_FONTMAP 1
46707 if test "$wxUSE_UNICODE" = "yes" ; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_UNICODE 1
46713 if test "$USE_WIN32" != 1; then
46714 wxUSE_UNICODE_MSLU=no
46717 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46718 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46719 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46720 if test "${ac_cv_lib_unicows_main+set}" = set; then
46721 echo $ECHO_N "(cached) $ECHO_C" >&6
46723 ac_check_lib_save_LIBS=$LIBS
46724 LIBS="-lunicows $LIBS"
46725 cat >conftest.$ac_ext <<_ACEOF
46728 cat confdefs.h >>conftest.$ac_ext
46729 cat >>conftest.$ac_ext <<_ACEOF
46730 /* end confdefs.h. */
46741 rm -f conftest.$ac_objext conftest$ac_exeext
46742 if { (ac_try="$ac_link"
46743 case "(($ac_try" in
46744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46745 *) ac_try_echo=$ac_try;;
46747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46748 (eval "$ac_link") 2>conftest.er1
46750 grep -v '^ *+' conftest.er1 >conftest.err
46752 cat conftest.err >&5
46753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46754 (exit $ac_status); } && {
46755 test -z "$ac_c_werror_flag" ||
46756 test ! -s conftest.err
46757 } && test -s conftest$ac_exeext &&
46758 $as_test_x conftest$ac_exeext; then
46759 ac_cv_lib_unicows_main=yes
46761 echo "$as_me: failed program was:" >&5
46762 sed 's/^/| /' conftest.$ac_ext >&5
46764 ac_cv_lib_unicows_main=no
46767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46768 conftest$ac_exeext conftest.$ac_ext
46769 LIBS=$ac_check_lib_save_LIBS
46771 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46772 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46773 if test $ac_cv_lib_unicows_main = yes; then
46775 cat >>confdefs.h <<\_ACEOF
46776 #define wxUSE_UNICODE_MSLU 1
46782 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46783 Applications will only run on Windows NT/2000/XP!" >&5
46784 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46785 Applications will only run on Windows NT/2000/XP!" >&2;}
46786 wxUSE_UNICODE_MSLU=no
46793 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46794 cat >>confdefs.h <<\_ACEOF
46795 #define wxUSE_UNICODE_UTF8 1
46799 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46800 cat >>confdefs.h <<\_ACEOF
46801 #define wxUSE_UTF8_LOCALE_ONLY 1
46808 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46809 cat >>confdefs.h <<\_ACEOF
46810 #define wxUSE_CONSTRAINTS 1
46813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46816 if test "$wxUSE_MDI" = "yes"; then
46817 cat >>confdefs.h <<\_ACEOF
46818 #define wxUSE_MDI 1
46822 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46823 cat >>confdefs.h <<\_ACEOF
46824 #define wxUSE_MDI_ARCHITECTURE 1
46827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46831 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46832 cat >>confdefs.h <<\_ACEOF
46833 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46839 if test "$wxUSE_HELP" = "yes"; then
46840 cat >>confdefs.h <<\_ACEOF
46841 #define wxUSE_HELP 1
46844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46846 if test "$wxUSE_MSW" = 1; then
46847 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46848 cat >>confdefs.h <<\_ACEOF
46849 #define wxUSE_MS_HTML_HELP 1
46855 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46856 if test "$wxUSE_HTML" = "yes"; then
46857 cat >>confdefs.h <<\_ACEOF
46858 #define wxUSE_WXHTML_HELP 1
46862 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46863 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46864 wxUSE_WXHTML_HELP=no
46869 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46870 cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_PRINTING_ARCHITECTURE 1
46874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46877 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46878 cat >>confdefs.h <<\_ACEOF
46879 #define wxUSE_POSTSCRIPT 1
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46889 if test "$wxUSE_SVG" = "yes"; then
46890 cat >>confdefs.h <<\_ACEOF
46891 #define wxUSE_SVG 1
46897 if test "$wxUSE_METAFILE" = "yes"; then
46898 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46899 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46900 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46906 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46907 -o "$wxUSE_CLIPBOARD" = "yes" \
46908 -o "$wxUSE_OLE" = "yes" \
46909 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46910 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46911 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46912 if test "${ac_cv_header_ole2_h+set}" = set; then
46913 echo $ECHO_N "(cached) $ECHO_C" >&6
46915 cat >conftest.$ac_ext <<_ACEOF
46918 cat confdefs.h >>conftest.$ac_ext
46919 cat >>conftest.$ac_ext <<_ACEOF
46920 /* end confdefs.h. */
46925 rm -f conftest.$ac_objext
46926 if { (ac_try="$ac_compile"
46927 case "(($ac_try" in
46928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46929 *) ac_try_echo=$ac_try;;
46931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46932 (eval "$ac_compile") 2>conftest.er1
46934 grep -v '^ *+' conftest.er1 >conftest.err
46936 cat conftest.err >&5
46937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46938 (exit $ac_status); } && {
46939 test -z "$ac_c_werror_flag" ||
46940 test ! -s conftest.err
46941 } && test -s conftest.$ac_objext; then
46942 ac_cv_header_ole2_h=yes
46944 echo "$as_me: failed program was:" >&5
46945 sed 's/^/| /' conftest.$ac_ext >&5
46947 ac_cv_header_ole2_h=no
46950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46952 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46953 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46957 if test "$ac_cv_header_ole2_h" = "yes" ; then
46958 if test "$GCC" = yes ; then
46959 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46960 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46961 cat >conftest.$ac_ext <<_ACEOF
46964 cat confdefs.h >>conftest.$ac_ext
46965 cat >>conftest.$ac_ext <<_ACEOF
46966 /* end confdefs.h. */
46967 #include <windows.h>
46977 rm -f conftest.$ac_objext
46978 if { (ac_try="$ac_compile"
46979 case "(($ac_try" in
46980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46981 *) ac_try_echo=$ac_try;;
46983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46984 (eval "$ac_compile") 2>conftest.er1
46986 grep -v '^ *+' conftest.er1 >conftest.err
46988 cat conftest.err >&5
46989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46990 (exit $ac_status); } && {
46991 test -z "$ac_c_werror_flag" ||
46992 test ! -s conftest.err
46993 } && test -s conftest.$ac_objext; then
46994 { echo "$as_me:$LINENO: result: no" >&5
46995 echo "${ECHO_T}no" >&6; }
46997 echo "$as_me: failed program was:" >&5
46998 sed 's/^/| /' conftest.$ac_ext >&5
47000 { echo "$as_me:$LINENO: result: yes" >&5
47001 echo "${ECHO_T}yes" >&6; }
47002 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47006 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47007 if test "$wxUSE_OLE" = "yes" ; then
47008 cat >>confdefs.h <<\_ACEOF
47009 #define wxUSE_OLE 1
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_OLE_AUTOMATION 1
47016 cat >>confdefs.h <<\_ACEOF
47017 #define wxUSE_ACTIVEX 1
47020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47024 if test "$wxUSE_DATAOBJ" = "yes" ; then
47025 cat >>confdefs.h <<\_ACEOF
47026 #define wxUSE_DATAOBJ 1
47031 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47032 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47035 wxUSE_DRAG_AND_DROP=no
47040 if test "$wxUSE_METAFILE" = "yes"; then
47041 cat >>confdefs.h <<\_ACEOF
47042 #define wxUSE_METAFILE 1
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_ENH_METAFILE 1
47053 if test "$wxUSE_IPC" = "yes"; then
47054 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47055 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47056 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47060 if test "$wxUSE_IPC" = "yes"; then
47061 cat >>confdefs.h <<\_ACEOF
47062 #define wxUSE_IPC 1
47065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47069 if test "$wxUSE_DATAOBJ" = "yes"; then
47070 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47071 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47072 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47075 cat >>confdefs.h <<\_ACEOF
47076 #define wxUSE_DATAOBJ 1
47081 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47082 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47084 wxUSE_DRAG_AND_DROP=no
47087 if test "$wxUSE_CLIPBOARD" = "yes"; then
47088 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47089 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47090 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47094 if test "$wxUSE_CLIPBOARD" = "yes"; then
47095 cat >>confdefs.h <<\_ACEOF
47096 #define wxUSE_CLIPBOARD 1
47102 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47103 if test "$wxUSE_GTK" = 1; then
47104 if test "$WXGTK12" != 1; then
47105 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47106 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47107 wxUSE_DRAG_AND_DROP=no
47111 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47112 "$wxUSE_DFB" = 1; then
47113 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47114 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47115 wxUSE_DRAG_AND_DROP=no
47118 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47119 cat >>confdefs.h <<\_ACEOF
47120 #define wxUSE_DRAG_AND_DROP 1
47127 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47131 if test "$wxUSE_CLIPBOARD" = "yes"; then
47132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47135 if test "$wxUSE_SPLINES" = "yes" ; then
47136 cat >>confdefs.h <<\_ACEOF
47137 #define wxUSE_SPLINES 1
47142 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_MOUSEWHEEL 1
47149 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47150 cat >>confdefs.h <<\_ACEOF
47151 #define wxUSE_UIACTIONSIMULATOR 1
47154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47159 if test "$wxUSE_CONTROLS" = "yes"; then
47163 if test "$wxUSE_MARKUP" = "yes"; then
47164 cat >>confdefs.h <<\_ACEOF
47165 #define wxUSE_MARKUP 1
47170 if test "$wxUSE_ACCEL" = "yes"; then
47171 cat >>confdefs.h <<\_ACEOF
47172 #define wxUSE_ACCEL 1
47178 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47179 cat >>confdefs.h <<\_ACEOF
47180 #define wxUSE_ANIMATIONCTRL 1
47184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47187 if test "$wxUSE_BUTTON" = "yes"; then
47188 cat >>confdefs.h <<\_ACEOF
47189 #define wxUSE_BUTTON 1
47195 if test "$wxUSE_BMPBUTTON" = "yes"; then
47196 cat >>confdefs.h <<\_ACEOF
47197 #define wxUSE_BMPBUTTON 1
47203 if test "$wxUSE_CALCTRL" = "yes"; then
47204 cat >>confdefs.h <<\_ACEOF
47205 #define wxUSE_CALENDARCTRL 1
47209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47212 if test "$wxUSE_CARET" = "yes"; then
47213 cat >>confdefs.h <<\_ACEOF
47214 #define wxUSE_CARET 1
47218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47221 if test "$wxUSE_COLLPANE" = "yes"; then
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_COLLPANE 1
47227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47230 if test "$wxUSE_COMBOBOX" = "yes"; then
47231 cat >>confdefs.h <<\_ACEOF
47232 #define wxUSE_COMBOBOX 1
47238 if test "$wxUSE_COMBOCTRL" = "yes"; then
47239 cat >>confdefs.h <<\_ACEOF
47240 #define wxUSE_COMBOCTRL 1
47246 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47247 cat >>confdefs.h <<\_ACEOF
47248 #define wxUSE_COMMANDLINKBUTTON 1
47254 if test "$wxUSE_CHOICE" = "yes"; then
47255 cat >>confdefs.h <<\_ACEOF
47256 #define wxUSE_CHOICE 1
47262 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_CHOICEBOOK 1
47270 if test "$wxUSE_CHECKBOX" = "yes"; then
47271 cat >>confdefs.h <<\_ACEOF
47272 #define wxUSE_CHECKBOX 1
47278 if test "$wxUSE_CHECKLST" = "yes"; then
47279 cat >>confdefs.h <<\_ACEOF
47280 #define wxUSE_CHECKLISTBOX 1
47286 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47287 cat >>confdefs.h <<\_ACEOF
47288 #define wxUSE_COLOURPICKERCTRL 1
47294 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47295 cat >>confdefs.h <<\_ACEOF
47296 #define wxUSE_DATEPICKCTRL 1
47302 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47303 cat >>confdefs.h <<\_ACEOF
47304 #define wxUSE_DIRPICKERCTRL 1
47310 if test "$wxUSE_FILECTRL" = "yes"; then
47311 cat >>confdefs.h <<\_ACEOF
47312 #define wxUSE_FILECTRL 1
47318 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47319 cat >>confdefs.h <<\_ACEOF
47320 #define wxUSE_FILEPICKERCTRL 1
47326 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47327 cat >>confdefs.h <<\_ACEOF
47328 #define wxUSE_FONTPICKERCTRL 1
47334 if test "$wxUSE_DISPLAY" = "yes"; then
47335 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47336 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47337 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47340 cat >>confdefs.h <<\_ACEOF
47341 #define wxUSE_DISPLAY 1
47344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47348 if test "$wxUSE_DETECT_SM" = "yes"; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_DETECT_SM 1
47355 if test "$wxUSE_GAUGE" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_GAUGE 1
47363 if test "$wxUSE_GRID" = "yes"; then
47364 cat >>confdefs.h <<\_ACEOF
47365 #define wxUSE_GRID 1
47369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47372 if test "$wxUSE_HEADERCTRL" = "yes"; then
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_HEADERCTRL 1
47380 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47381 cat >>confdefs.h <<\_ACEOF
47382 #define wxUSE_HYPERLINKCTRL 1
47388 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47389 cat >>confdefs.h <<\_ACEOF
47390 #define wxUSE_BITMAPCOMBOBOX 1
47396 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47397 cat >>confdefs.h <<\_ACEOF
47398 #define wxUSE_DATAVIEWCTRL 1
47402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47405 if test "$wxUSE_IMAGLIST" = "yes"; then
47406 cat >>confdefs.h <<\_ACEOF
47407 #define wxUSE_IMAGLIST 1
47412 if test "$wxUSE_INFOBAR" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_INFOBAR 1
47419 if test "$wxUSE_LISTBOOK" = "yes"; then
47420 cat >>confdefs.h <<\_ACEOF
47421 #define wxUSE_LISTBOOK 1
47427 if test "$wxUSE_LISTBOX" = "yes"; then
47428 cat >>confdefs.h <<\_ACEOF
47429 #define wxUSE_LISTBOX 1
47435 if test "$wxUSE_LISTCTRL" = "yes"; then
47436 if test "$wxUSE_IMAGLIST" = "yes"; then
47437 cat >>confdefs.h <<\_ACEOF
47438 #define wxUSE_LISTCTRL 1
47442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47444 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47445 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47449 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47450 cat >>confdefs.h <<\_ACEOF
47451 #define wxUSE_EDITABLELISTBOX 1
47457 if test "$wxUSE_NOTEBOOK" = "yes"; then
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_NOTEBOOK 1
47463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47466 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47467 cat >>confdefs.h <<\_ACEOF
47468 #define wxUSE_NOTIFICATION_MESSAGE 1
47473 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47474 cat >>confdefs.h <<\_ACEOF
47475 #define wxUSE_ODCOMBOBOX 1
47479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47482 if test "$wxUSE_RADIOBOX" = "yes"; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_RADIOBOX 1
47490 if test "$wxUSE_RADIOBTN" = "yes"; then
47491 cat >>confdefs.h <<\_ACEOF
47492 #define wxUSE_RADIOBTN 1
47498 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47499 cat >>confdefs.h <<\_ACEOF
47500 #define wxUSE_REARRANGECTRL 1
47505 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_RICHMSGDLG 1
47512 if test "$wxUSE_SASH" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_SASH 1
47517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47520 if test "$wxUSE_SCROLLBAR" = "yes"; then
47521 cat >>confdefs.h <<\_ACEOF
47522 #define wxUSE_SCROLLBAR 1
47526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47529 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47530 cat >>confdefs.h <<\_ACEOF
47531 #define wxUSE_SEARCHCTRL 1
47537 if test "$wxUSE_SLIDER" = "yes"; then
47538 cat >>confdefs.h <<\_ACEOF
47539 #define wxUSE_SLIDER 1
47545 if test "$wxUSE_SPINBTN" = "yes"; then
47546 cat >>confdefs.h <<\_ACEOF
47547 #define wxUSE_SPINBTN 1
47553 if test "$wxUSE_SPINCTRL" = "yes"; then
47554 cat >>confdefs.h <<\_ACEOF
47555 #define wxUSE_SPINCTRL 1
47561 if test "$wxUSE_SPLITTER" = "yes"; then
47562 cat >>confdefs.h <<\_ACEOF
47563 #define wxUSE_SPLITTER 1
47566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47569 if test "$wxUSE_STATBMP" = "yes"; then
47570 cat >>confdefs.h <<\_ACEOF
47571 #define wxUSE_STATBMP 1
47577 if test "$wxUSE_STATBOX" = "yes"; then
47578 cat >>confdefs.h <<\_ACEOF
47579 #define wxUSE_STATBOX 1
47585 if test "$wxUSE_STATTEXT" = "yes"; then
47586 cat >>confdefs.h <<\_ACEOF
47587 #define wxUSE_STATTEXT 1
47593 if test "$wxUSE_STATLINE" = "yes"; then
47594 cat >>confdefs.h <<\_ACEOF
47595 #define wxUSE_STATLINE 1
47601 if test "$wxUSE_STATUSBAR" = "yes"; then
47602 cat >>confdefs.h <<\_ACEOF
47603 #define wxUSE_NATIVE_STATUSBAR 1
47606 cat >>confdefs.h <<\_ACEOF
47607 #define wxUSE_STATUSBAR 1
47612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47615 if test "$wxUSE_TEXTCTRL" = "yes"; then
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_TEXTCTRL 1
47621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_RICHEDIT 1
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_RICHEDIT2 1
47633 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47634 if test "$wxUSE_OLD_COCOA" = 1 ; then
47635 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47636 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47640 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47641 cat >>confdefs.h <<\_ACEOF
47642 #define wxUSE_TOGGLEBTN 1
47649 if test "$wxUSE_TOOLBAR" = "yes"; then
47650 cat >>confdefs.h <<\_ACEOF
47651 #define wxUSE_TOOLBAR 1
47656 if test "$wxUSE_UNIVERSAL" = "yes"; then
47657 wxUSE_TOOLBAR_NATIVE="no"
47659 wxUSE_TOOLBAR_NATIVE="yes"
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_TOOLBAR_NATIVE 1
47666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47669 if test "$wxUSE_TOOLTIPS" = "yes"; then
47670 if test "$wxUSE_MOTIF" = 1; then
47671 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47672 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47674 if test "$wxUSE_UNIVERSAL" = "yes"; then
47675 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47676 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_TOOLTIPS 1
47686 if test "$wxUSE_TREEBOOK" = "yes"; then
47687 cat >>confdefs.h <<\_ACEOF
47688 #define wxUSE_TREEBOOK 1
47694 if test "$wxUSE_TOOLBOOK" = "yes"; then
47695 cat >>confdefs.h <<\_ACEOF
47696 #define wxUSE_TOOLBOOK 1
47702 if test "$wxUSE_TREECTRL" = "yes"; then
47703 if test "$wxUSE_IMAGLIST" = "yes"; then
47704 cat >>confdefs.h <<\_ACEOF
47705 #define wxUSE_TREECTRL 1
47709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47711 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47712 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47716 if test "$wxUSE_POPUPWIN" = "yes"; then
47717 if test "$wxUSE_OLD_COCOA" = 1 ; then
47718 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47719 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47721 if test "$wxUSE_PM" = 1; then
47722 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47723 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_POPUPWIN 1
47729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47736 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47737 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47738 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47739 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_DIALUP_MANAGER 1
47745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47749 if test "$wxUSE_TIPWINDOW" = "yes"; then
47750 if test "$wxUSE_PM" = 1; then
47751 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47752 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47754 cat >>confdefs.h <<\_ACEOF
47755 #define wxUSE_TIPWINDOW 1
47761 if test "$USES_CONTROLS" = 1; then
47762 cat >>confdefs.h <<\_ACEOF
47763 #define wxUSE_CONTROLS 1
47769 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_ACCESSIBILITY 1
47774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47777 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47778 cat >>confdefs.h <<\_ACEOF
47779 #define wxUSE_ARTPROVIDER_STD 1
47784 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47785 if test "$wxUSE_GTK" != 1; then
47786 if test "$wxUSE_LIBPNG" != no -a \
47787 "$wxUSE_IMAGE" = yes -a \
47788 "$wxUSE_STREAMS" = yes; then
47789 wxUSE_ARTPROVIDER_TANGO="yes"
47794 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47795 cat >>confdefs.h <<\_ACEOF
47796 #define wxUSE_ARTPROVIDER_TANGO 1
47801 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47802 cat >>confdefs.h <<\_ACEOF
47803 #define wxUSE_DRAGIMAGE 1
47806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47809 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47810 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47811 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47812 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47814 cat >>confdefs.h <<\_ACEOF
47815 #define wxUSE_EXCEPTIONS 1
47818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47823 if test "$wxUSE_HTML" = "yes"; then
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_HTML 1
47829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47831 if test "$wxUSE_WEBKIT" = "yes"; then
47832 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47833 old_CPPFLAGS="$CPPFLAGS"
47834 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47835 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47836 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47837 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47838 echo $ECHO_N "(cached) $ECHO_C" >&6
47840 cat >conftest.$ac_ext <<_ACEOF
47843 cat confdefs.h >>conftest.$ac_ext
47844 cat >>conftest.$ac_ext <<_ACEOF
47845 /* end confdefs.h. */
47847 #include <Carbon/Carbon.h>
47848 #include <WebKit/WebKit.h>
47851 #include <WebKit/HIWebView.h>
47853 rm -f conftest.$ac_objext
47854 if { (ac_try="$ac_compile"
47855 case "(($ac_try" in
47856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47857 *) ac_try_echo=$ac_try;;
47859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47860 (eval "$ac_compile") 2>conftest.er1
47862 grep -v '^ *+' conftest.er1 >conftest.err
47864 cat conftest.err >&5
47865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47866 (exit $ac_status); } && {
47867 test -z "$ac_c_werror_flag" ||
47868 test ! -s conftest.err
47869 } && test -s conftest.$ac_objext; then
47870 ac_cv_header_WebKit_HIWebView_h=yes
47872 echo "$as_me: failed program was:" >&5
47873 sed 's/^/| /' conftest.$ac_ext >&5
47875 ac_cv_header_WebKit_HIWebView_h=no
47878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47880 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47881 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47882 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_WEBKIT 1
47888 WEBKIT_LINK="-framework WebKit"
47892 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47893 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47899 CPPFLAGS="$old_CPPFLAGS"
47900 elif test "$wxUSE_OLD_COCOA" = 1; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_WEBKIT 1
47908 if test "$wxUSE_WEBKIT" = "yes"; then
47909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47914 if test "$wxUSE_XRC" = "yes"; then
47915 if test "$wxUSE_XML" != "yes"; then
47916 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47917 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47920 cat >>confdefs.h <<\_ACEOF
47921 #define wxUSE_XRC 1
47925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47930 if test "$wxUSE_AUI" = "yes"; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_AUI 1
47936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47940 if test "$wxUSE_PROPGRID" = "yes"; then
47941 cat >>confdefs.h <<\_ACEOF
47942 #define wxUSE_PROPGRID 1
47946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47950 if test "$wxUSE_RIBBON" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_RIBBON 1
47956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47960 if test "$wxUSE_STC" = "yes"; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_STC 1
47966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47968 # Extract the first word of "python", so it can be a program name with args.
47969 set dummy python; ac_word=$2
47970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47972 if test "${ac_cv_path_PYTHON+set}" = set; then
47973 echo $ECHO_N "(cached) $ECHO_C" >&6
47977 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47981 for as_dir in $PATH
47984 test -z "$as_dir" && as_dir=.
47985 for ac_exec_ext in '' $ac_executable_extensions; do
47986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47987 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47998 PYTHON=$ac_cv_path_PYTHON
47999 if test -n "$PYTHON"; then
48000 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48001 echo "${ECHO_T}$PYTHON" >&6; }
48003 { echo "$as_me:$LINENO: result: no" >&5
48004 echo "${ECHO_T}no" >&6; }
48008 if test "x$PYTHON" = "x"; then
48014 if test "$wxUSE_MENUS" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_MENUS 1
48019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48022 if test "$wxUSE_METAFILE" = "yes"; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_METAFILE 1
48029 if test "$wxUSE_MIMETYPE" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_MIMETYPE 1
48036 if test "$wxUSE_MINIFRAME" = "yes"; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_MINIFRAME 1
48043 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_SYSTEM_OPTIONS 1
48050 if test "$wxUSE_TASKBARICON" = "yes"; then
48051 cat >>confdefs.h <<\_ACEOF
48052 #define wxUSE_TASKBARICON 1
48055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48059 if test "$wxUSE_VALIDATORS" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_VALIDATORS 1
48064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48067 if test "$wxUSE_PALETTE" = "yes" ; then
48068 if test "$wxUSE_DFB" = 1; then
48069 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48070 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48073 cat >>confdefs.h <<\_ACEOF
48074 #define wxUSE_PALETTE 1
48080 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48081 LIBS=" -lunicows $LIBS"
48085 if test "$wxUSE_RICHTEXT" = "yes"; then
48086 cat >>confdefs.h <<\_ACEOF
48087 #define wxUSE_RICHTEXT 1
48091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48095 if test "$wxUSE_IMAGE" = "yes" ; then
48096 cat >>confdefs.h <<\_ACEOF
48097 #define wxUSE_IMAGE 1
48101 if test "$wxUSE_GIF" = "yes" ; then
48102 cat >>confdefs.h <<\_ACEOF
48103 #define wxUSE_GIF 1
48108 if test "$wxUSE_PCX" = "yes" ; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_PCX 1
48115 if test "$wxUSE_TGA" = "yes" ; then
48116 cat >>confdefs.h <<\_ACEOF
48117 #define wxUSE_TGA 1
48122 if test "$wxUSE_IFF" = "yes" ; then
48123 cat >>confdefs.h <<\_ACEOF
48124 #define wxUSE_IFF 1
48129 if test "$wxUSE_PNM" = "yes" ; then
48130 cat >>confdefs.h <<\_ACEOF
48131 #define wxUSE_PNM 1
48136 if test "$wxUSE_XPM" = "yes" ; then
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_XPM 1
48143 if test "$wxUSE_ICO_CUR" = "yes" ; then
48144 cat >>confdefs.h <<\_ACEOF
48145 #define wxUSE_ICO_CUR 1
48152 if test "$wxUSE_ABOUTDLG" = "yes"; then
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_ABOUTDLG 1
48159 if test "$wxUSE_CHOICEDLG" = "yes"; then
48160 cat >>confdefs.h <<\_ACEOF
48161 #define wxUSE_CHOICEDLG 1
48166 if test "$wxUSE_COLOURDLG" = "yes"; then
48167 cat >>confdefs.h <<\_ACEOF
48168 #define wxUSE_COLOURDLG 1
48173 if test "$wxUSE_FILEDLG" = "yes"; then
48174 cat >>confdefs.h <<\_ACEOF
48175 #define wxUSE_FILEDLG 1
48180 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48181 cat >>confdefs.h <<\_ACEOF
48182 #define wxUSE_FINDREPLDLG 1
48187 if test "$wxUSE_FONTDLG" = "yes"; then
48188 cat >>confdefs.h <<\_ACEOF
48189 #define wxUSE_FONTDLG 1
48194 if test "$wxUSE_DIRDLG" = "yes"; then
48195 if test "$wxUSE_TREECTRL" != "yes"; then
48196 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48197 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48199 cat >>confdefs.h <<\_ACEOF
48200 #define wxUSE_DIRDLG 1
48206 if test "$wxUSE_MSGDLG" = "yes"; then
48207 cat >>confdefs.h <<\_ACEOF
48208 #define wxUSE_MSGDLG 1
48213 if test "$wxUSE_NUMBERDLG" = "yes"; then
48214 cat >>confdefs.h <<\_ACEOF
48215 #define wxUSE_NUMBERDLG 1
48220 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48221 cat >>confdefs.h <<\_ACEOF
48222 #define wxUSE_PROGRESSDLG 1
48227 if test "$wxUSE_SPLASH" = "yes"; then
48228 cat >>confdefs.h <<\_ACEOF
48229 #define wxUSE_SPLASH 1
48232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48235 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48236 cat >>confdefs.h <<\_ACEOF
48237 #define wxUSE_STARTUP_TIPS 1
48242 if test "$wxUSE_TEXTDLG" = "yes"; then
48243 cat >>confdefs.h <<\_ACEOF
48244 #define wxUSE_TEXTDLG 1
48249 if test "$wxUSE_WIZARDDLG" = "yes"; then
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_WIZARDDLG 1
48254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48258 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48259 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48260 cat >>confdefs.h <<\_ACEOF
48261 #define wxUSE_OWNER_DRAWN 1
48268 if test "$wxUSE_MSW" = 1 ; then
48270 if test "$wxUSE_DC_CACHEING" = "yes"; then
48271 cat >>confdefs.h <<\_ACEOF
48272 #define wxUSE_DC_CACHEING 1
48277 if test "$wxUSE_DIB" = "yes"; then
48278 cat >>confdefs.h <<\_ACEOF
48279 #define wxUSE_WXDIB 1
48284 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48285 cat >>confdefs.h <<\_ACEOF
48286 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48291 if test "$wxUSE_UXTHEME" = "yes"; then
48292 cat >>confdefs.h <<\_ACEOF
48293 #define wxUSE_UXTHEME 1
48300 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_AUTOID_MANAGEMENT 1
48307 if test "$USE_WIN32" = 1 ; then
48308 if test "$wxUSE_INICONF" = "yes"; then
48309 cat >>confdefs.h <<\_ACEOF
48310 #define wxUSE_INICONF 1
48315 if test "$wxUSE_REGKEY" = "yes"; then
48316 cat >>confdefs.h <<\_ACEOF
48317 #define wxUSE_REGKEY 1
48324 if test "$wxUSE_MAC" = 1; then
48325 wxUSE_GRAPHICS_CONTEXT="yes"
48328 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48330 if test "$wxUSE_MSW" = 1; then
48331 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48332 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48333 if test "${wx_cv_lib_gdiplus+set}" = set; then
48334 echo $ECHO_N "(cached) $ECHO_C" >&6
48338 ac_cpp='$CXXCPP $CPPFLAGS'
48339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48343 cat >conftest.$ac_ext <<_ACEOF
48346 cat confdefs.h >>conftest.$ac_ext
48347 cat >>conftest.$ac_ext <<_ACEOF
48348 /* end confdefs.h. */
48349 #include <windows.h>
48350 #include <gdiplus.h>
48355 using namespace Gdiplus;
48361 rm -f conftest.$ac_objext
48362 if { (ac_try="$ac_compile"
48363 case "(($ac_try" in
48364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48365 *) ac_try_echo=$ac_try;;
48367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48368 (eval "$ac_compile") 2>conftest.er1
48370 grep -v '^ *+' conftest.er1 >conftest.err
48372 cat conftest.err >&5
48373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48374 (exit $ac_status); } && {
48375 test -z "$ac_cxx_werror_flag" ||
48376 test ! -s conftest.err
48377 } && test -s conftest.$ac_objext; then
48378 wx_cv_lib_gdiplus=yes
48380 echo "$as_me: failed program was:" >&5
48381 sed 's/^/| /' conftest.$ac_ext >&5
48383 wx_cv_lib_gdiplus=no
48387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48389 ac_cpp='$CPP $CPPFLAGS'
48390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48397 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48398 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48399 if test "$wx_cv_lib_gdiplus" = "yes"; then
48402 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48405 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48406 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48408 if test -n "$PKG_CONFIG"; then
48409 if test -n "$CAIRO_CFLAGS"; then
48410 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48412 if test -n "$PKG_CONFIG" && \
48413 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48414 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48417 (exit $ac_status); }; then
48418 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48426 if test -n "$PKG_CONFIG"; then
48427 if test -n "$CAIRO_LIBS"; then
48428 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48430 if test -n "$PKG_CONFIG" && \
48431 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48432 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48435 (exit $ac_status); }; then
48436 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48447 if test $pkg_failed = yes; then
48449 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48450 _pkg_short_errors_supported=yes
48452 _pkg_short_errors_supported=no
48454 if test $_pkg_short_errors_supported = yes; then
48455 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48457 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48459 # Put the nasty error message in config.log where it belongs
48460 echo "$CAIRO_PKG_ERRORS" >&5
48462 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48463 echo "$as_me: WARNING: Cairo library not found" >&2;}
48465 elif test $pkg_failed = untried; then
48466 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48467 echo "$as_me: WARNING: Cairo library not found" >&2;}
48470 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48471 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48472 { echo "$as_me:$LINENO: result: yes" >&5
48473 echo "${ECHO_T}yes" >&6; }
48476 if test "$wx_has_graphics" = 1; then
48478 LIBS="$LIBS $CAIRO_LIBS"
48480 for ac_func in cairo_push_group
48482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48483 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48485 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48486 echo $ECHO_N "(cached) $ECHO_C" >&6
48488 cat >conftest.$ac_ext <<_ACEOF
48491 cat confdefs.h >>conftest.$ac_ext
48492 cat >>conftest.$ac_ext <<_ACEOF
48493 /* end confdefs.h. */
48494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48496 #define $ac_func innocuous_$ac_func
48498 /* System header to define __stub macros and hopefully few prototypes,
48499 which can conflict with char $ac_func (); below.
48500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48501 <limits.h> exists even on freestanding compilers. */
48504 # include <limits.h>
48506 # include <assert.h>
48511 /* Override any GCC internal prototype to avoid an error.
48512 Use char because int might match the return type of a GCC
48513 builtin and then its argument prototype would still apply. */
48518 /* The GNU C library defines this for functions which it implements
48519 to always fail with ENOSYS. Some functions are actually named
48520 something starting with __ and the normal name is an alias. */
48521 #if defined __stub_$ac_func || defined __stub___$ac_func
48528 return $ac_func ();
48533 rm -f conftest.$ac_objext conftest$ac_exeext
48534 if { (ac_try="$ac_link"
48535 case "(($ac_try" in
48536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48537 *) ac_try_echo=$ac_try;;
48539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48540 (eval "$ac_link") 2>conftest.er1
48542 grep -v '^ *+' conftest.er1 >conftest.err
48544 cat conftest.err >&5
48545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48546 (exit $ac_status); } && {
48547 test -z "$ac_c_werror_flag" ||
48548 test ! -s conftest.err
48549 } && test -s conftest$ac_exeext &&
48550 $as_test_x conftest$ac_exeext; then
48551 eval "$as_ac_var=yes"
48553 echo "$as_me: failed program was:" >&5
48554 sed 's/^/| /' conftest.$ac_ext >&5
48556 eval "$as_ac_var=no"
48559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48560 conftest$ac_exeext conftest.$ac_ext
48562 ac_res=`eval echo '${'$as_ac_var'}'`
48563 { echo "$as_me:$LINENO: result: $ac_res" >&5
48564 echo "${ECHO_T}$ac_res" >&6; }
48565 if test `eval echo '${'$as_ac_var'}'` = yes; then
48566 cat >>confdefs.h <<_ACEOF
48567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48574 if test "$ac_cv_func_cairo_push_group" = "no"; then
48576 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48577 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48579 cat >>confdefs.h <<\_ACEOF
48580 #define wxUSE_CAIRO 1
48584 if test "$wxUSE_GTK" != 1; then
48585 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48586 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48594 if test "$wx_has_graphics" = 1; then
48595 cat >>confdefs.h <<\_ACEOF
48596 #define wxUSE_GRAPHICS_CONTEXT 1
48600 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48601 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48608 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48611 if test "$wxUSE_GTK" = 1; then
48612 wxUSE_GSTREAMER="no"
48614 GST_VERSION_MAJOR=0
48615 GST_VERSION_MINOR=10
48616 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48618 if test "$wxUSE_GSTREAMER8" = "no"; then
48621 { echo "$as_me:$LINENO: checking for GST" >&5
48622 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48624 if test -n "$PKG_CONFIG"; then
48625 if test -n "$GST_CFLAGS"; then
48626 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48628 if test -n "$PKG_CONFIG" && \
48629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48630 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48633 (exit $ac_status); }; then
48634 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48642 if test -n "$PKG_CONFIG"; then
48643 if test -n "$GST_LIBS"; then
48644 pkg_cv_GST_LIBS="$GST_LIBS"
48646 if test -n "$PKG_CONFIG" && \
48647 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48648 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48651 (exit $ac_status); }; then
48652 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48663 if test $pkg_failed = yes; then
48665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48666 _pkg_short_errors_supported=yes
48668 _pkg_short_errors_supported=no
48670 if test $_pkg_short_errors_supported = yes; then
48671 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48673 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48675 # Put the nasty error message in config.log where it belongs
48676 echo "$GST_PKG_ERRORS" >&5
48679 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48680 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48681 GST_VERSION_MINOR=8
48684 elif test $pkg_failed = untried; then
48686 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48687 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48688 GST_VERSION_MINOR=8
48692 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48693 GST_LIBS=$pkg_cv_GST_LIBS
48694 { echo "$as_me:$LINENO: result: yes" >&5
48695 echo "${ECHO_T}yes" >&6; }
48697 wxUSE_GSTREAMER="yes"
48698 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48702 GST_VERSION_MINOR=8
48705 if test $GST_VERSION_MINOR = "8"; then
48706 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48709 { echo "$as_me:$LINENO: checking for GST" >&5
48710 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48712 if test -n "$PKG_CONFIG"; then
48713 if test -n "$GST_CFLAGS"; then
48714 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48716 if test -n "$PKG_CONFIG" && \
48717 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48718 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48721 (exit $ac_status); }; then
48722 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48730 if test -n "$PKG_CONFIG"; then
48731 if test -n "$GST_LIBS"; then
48732 pkg_cv_GST_LIBS="$GST_LIBS"
48734 if test -n "$PKG_CONFIG" && \
48735 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48736 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48739 (exit $ac_status); }; then
48740 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48751 if test $pkg_failed = yes; then
48753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48754 _pkg_short_errors_supported=yes
48756 _pkg_short_errors_supported=no
48758 if test $_pkg_short_errors_supported = yes; then
48759 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48761 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48763 # Put the nasty error message in config.log where it belongs
48764 echo "$GST_PKG_ERRORS" >&5
48767 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48768 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48770 elif test $pkg_failed = untried; then
48772 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48773 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48776 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48777 GST_LIBS=$pkg_cv_GST_LIBS
48778 { echo "$as_me:$LINENO: result: yes" >&5
48779 echo "${ECHO_T}yes" >&6; }
48780 wxUSE_GSTREAMER="yes"
48785 if test "$wxUSE_GSTREAMER" = "yes"; then
48786 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48787 EXTRALIBS_MEDIA="$GST_LIBS"
48789 cat >>confdefs.h <<\_ACEOF
48790 #define wxUSE_GSTREAMER 1
48798 if test $USE_MEDIA = 1; then
48799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48800 cat >>confdefs.h <<\_ACEOF
48801 #define wxUSE_MEDIACTRL 1
48805 if test "$wxUSE_MEDIACTRL" = "yes"; then
48806 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48807 echo "$as_me: error: GStreamer not available" >&2;}
48808 { (exit 1); exit 1; }; }
48810 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48811 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48817 if test "$cross_compiling" != "no"; then
48820 OSINFO=`uname -s -r -m`
48821 OSINFO="\"$OSINFO\""
48824 cat >>confdefs.h <<_ACEOF
48825 #define WXWIN_OS_DESCRIPTION $OSINFO
48830 if test "x$prefix" != "xNONE"; then
48833 wxPREFIX=$ac_default_prefix
48836 cat >>confdefs.h <<_ACEOF
48837 #define wxINSTALL_PREFIX "$wxPREFIX"
48843 STD_BASE_LIBS="base"
48845 BUILT_WX_LIBS="base"
48846 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48848 if test "$wxUSE_SOCKETS" = "yes" ; then
48849 STD_BASE_LIBS="net $STD_BASE_LIBS"
48850 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48852 if test "$wxUSE_XML" = "yes" ; then
48853 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48854 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48857 if test "$wxUSE_GUI" = "yes"; then
48858 STD_GUI_LIBS="adv core"
48859 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48861 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48862 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48863 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48865 if test "$wxUSE_HTML" = "yes" ; then
48866 STD_GUI_LIBS="html $STD_GUI_LIBS"
48867 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48869 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48870 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48872 if test "$wxUSE_OPENGL" = "yes" ; then
48873 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48875 if test "$wxUSE_AUI" = "yes" ; then
48876 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48878 if test "$wxUSE_PROPGRID" = "yes" ; then
48879 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48881 if test "$wxUSE_RIBBON" = "yes" ; then
48882 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48884 if test "$wxUSE_RICHTEXT" = "yes" ; then
48885 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48887 if test "$wxUSE_STC" = "yes" ; then
48888 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48890 if test "$wxUSE_XRC" = "yes" ; then
48891 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48892 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48903 if test "$wxUSE_MAC" = 1 ; then
48904 if test "$USE_DARWIN" = 1; then
48905 if test "$wxUSE_OSX_IPHONE" = 1; then
48906 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48908 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48912 if test "$wxUSE_OLD_COCOA" = 1 ; then
48913 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48914 if test "$wxUSE_MEDIACTRL" = "yes"; then
48915 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48918 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48919 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48922 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48923 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48925 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48927 if test "$wxUSE_GUI" = "yes"; then
48930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48931 erase event exec font image minimal render \
48932 shaped svg taborder vscroll widgets wrapsizer"
48934 if test "$wxUSE_MONOLITHIC" != "yes"; then
48935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48937 if test "$TOOLKIT" = "MSW"; then
48938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48939 if test "$wxUSE_UNIVERSAL" != "yes"; then
48940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48943 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48947 SAMPLES_SUBDIRS="console"
48948 if test "$wxUSE_SOCKETS" = "yes" ; then
48949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48951 if test "$wxUSE_IPC" = "yes" ; then
48952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48957 if test "x$INTELCC" = "xyes" ; then
48958 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48959 elif test "$GCC" = yes ; then
48960 CWARNINGS="-Wall -Wundef"
48963 if test "x$INTELCXX" = "xyes" ; then
48964 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48965 elif test "$GXX" = yes ; then
48966 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48967 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48968 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48969 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48970 echo $ECHO_N "(cached) $ECHO_C" >&6
48972 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48975 ac_cpp='$CXXCPP $CPPFLAGS'
48976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48980 ac_save_CXXFLAGS="$CXXFLAGS"
48981 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48982 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48983 cat >conftest.$ac_ext <<_ACEOF
48986 cat confdefs.h >>conftest.$ac_ext
48987 cat >>conftest.$ac_ext <<_ACEOF
48988 /* end confdefs.h. */
48998 rm -f conftest.$ac_objext
48999 if { (ac_try="$ac_compile"
49000 case "(($ac_try" in
49001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49002 *) ac_try_echo=$ac_try;;
49004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49005 (eval "$ac_compile") 2>conftest.er1
49007 grep -v '^ *+' conftest.er1 >conftest.err
49009 cat conftest.err >&5
49010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49011 (exit $ac_status); } && {
49012 test -z "$ac_cxx_werror_flag" ||
49013 test ! -s conftest.err
49014 } && test -s conftest.$ac_objext; then
49015 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49017 echo "$as_me: failed program was:" >&5
49018 sed 's/^/| /' conftest.$ac_ext >&5
49023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49025 CXXFLAGS="$ac_save_CXXFLAGS"
49027 ac_cpp='$CPP $CPPFLAGS'
49028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49034 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49035 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49036 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49040 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49041 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49042 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49045 (exit $ac_status); }
49046 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49047 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49050 (exit $ac_status); }
49051 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49057 if test "$wxUSE_MAC" = 1 ; then
49058 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49063 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49064 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49067 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49068 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49069 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49072 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49073 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49074 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49075 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49076 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49078 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49081 if test "x$MWCC" = "xyes"; then
49083 CC="$CC -cwd source -I-"
49084 CXX="$CXX -cwd source -I-"
49089 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49090 EXTRALIBS_XML="$EXPAT_LINK"
49091 EXTRALIBS_HTML="$MSPACK_LINK"
49092 EXTRALIBS_MEDIA="$GST_LIBS"
49093 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49094 if test "$wxUSE_GUI" = "yes"; then
49095 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49097 if test "$wxUSE_OPENGL" = "yes"; then
49098 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49101 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49103 WXCONFIG_LIBS="$LIBS"
49105 if test "$wxUSE_REGEX" = "builtin" ; then
49106 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49108 if test "$wxUSE_EXPAT" = "builtin" ; then
49109 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49111 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49112 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49114 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49115 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49117 if test "$wxUSE_LIBPNG" = "builtin" ; then
49118 wxconfig_3rdparty="png $wxconfig_3rdparty"
49120 if test "$wxUSE_ZLIB" = "builtin" ; then
49121 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49124 for i in $wxconfig_3rdparty ; do
49125 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49129 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49132 case "$wxUNIV_THEMES" in
49134 cat >>confdefs.h <<\_ACEOF
49135 #define wxUSE_ALL_THEMES 1
49141 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49142 cat >>confdefs.h <<_ACEOF
49143 #define wxUSE_THEME_$t 1
49159 if test $wxUSE_MONOLITHIC = "yes" ; then
49165 if test $wxUSE_PLUGINS = "yes" ; then
49171 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49177 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49209 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49222 TOOLKIT_DESC="GTK+"
49223 if test "$WXGTK2" = 1; then
49224 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49225 if test "$wxUSE_GTKPRINT" = "yes" ; then
49226 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49228 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49229 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49231 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49232 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49234 if test "$wxUSE_LIBHILDON" = "yes"; then
49235 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49237 if test "$wxUSE_LIBHILDON2" = "yes"; then
49238 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49241 if test "$TOOLKIT_EXTRA" != ""; then
49242 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49248 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49252 TOOLKIT_DESC="base only"
49256 if test "$wxUSE_WINE" = "yes"; then
49257 BAKEFILE_FORCE_PLATFORM=win32
49260 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49262 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49263 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49264 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49265 echo $ECHO_N "(cached) $ECHO_C" >&6
49268 echo '#include <stdio.h>
49269 const wchar_t test_var[] = L"awidetest";' > conftest.h
49271 echo '#include "conftest.h"
49274 printf("%ls", test_var);
49278 wx_cv_gcc_pch_bug="pch not supported"
49280 if $CXX conftest.h >/dev/null 2>&1
49284 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49286 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49287 grep awidetest >/dev/null
49289 wx_cv_gcc_pch_bug=no
49291 wx_cv_gcc_pch_bug=yes
49296 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49299 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49300 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49302 if test "$wx_cv_gcc_pch_bug" = yes; then
49313 if test "x$BAKEFILE_HOST" = "x"; then
49314 if test "x${host}" = "x" ; then
49315 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49316 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49317 { (exit 1); exit 1; }; }
49320 BAKEFILE_HOST="${host}"
49323 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49325 if test -n "$ac_tool_prefix"; then
49326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49330 if test "${ac_cv_prog_RANLIB+set}" = set; then
49331 echo $ECHO_N "(cached) $ECHO_C" >&6
49333 if test -n "$RANLIB"; then
49334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49337 for as_dir in $PATH
49340 test -z "$as_dir" && as_dir=.
49341 for ac_exec_ext in '' $ac_executable_extensions; do
49342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49343 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49353 RANLIB=$ac_cv_prog_RANLIB
49354 if test -n "$RANLIB"; then
49355 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49356 echo "${ECHO_T}$RANLIB" >&6; }
49358 { echo "$as_me:$LINENO: result: no" >&5
49359 echo "${ECHO_T}no" >&6; }
49364 if test -z "$ac_cv_prog_RANLIB"; then
49365 ac_ct_RANLIB=$RANLIB
49366 # Extract the first word of "ranlib", so it can be a program name with args.
49367 set dummy ranlib; ac_word=$2
49368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49370 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49371 echo $ECHO_N "(cached) $ECHO_C" >&6
49373 if test -n "$ac_ct_RANLIB"; then
49374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49377 for as_dir in $PATH
49380 test -z "$as_dir" && as_dir=.
49381 for ac_exec_ext in '' $ac_executable_extensions; do
49382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49383 ac_cv_prog_ac_ct_RANLIB="ranlib"
49384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49393 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49394 if test -n "$ac_ct_RANLIB"; then
49395 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49396 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49398 { echo "$as_me:$LINENO: result: no" >&5
49399 echo "${ECHO_T}no" >&6; }
49402 if test "x$ac_ct_RANLIB" = x; then
49405 case $cross_compiling:$ac_tool_warned in
49407 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49408 whose name does not start with the host triplet. If you think this
49409 configuration is useful to you, please write to autoconf@gnu.org." >&5
49410 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49411 whose name does not start with the host triplet. If you think this
49412 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49413 ac_tool_warned=yes ;;
49415 RANLIB=$ac_ct_RANLIB
49418 RANLIB="$ac_cv_prog_RANLIB"
49421 # Find a good install program. We prefer a C program (faster),
49422 # so one script is as good as another. But avoid the broken or
49423 # incompatible versions:
49424 # SysV /etc/install, /usr/sbin/install
49425 # SunOS /usr/etc/install
49426 # IRIX /sbin/install
49428 # AmigaOS /C/install, which installs bootblocks on floppy discs
49429 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49430 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49431 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49432 # OS/2's system install, which has a completely different semantic
49433 # ./install, which can be erroneously created by make from ./install.sh.
49434 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49435 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49436 if test -z "$INSTALL"; then
49437 if test "${ac_cv_path_install+set}" = set; then
49438 echo $ECHO_N "(cached) $ECHO_C" >&6
49440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49441 for as_dir in $PATH
49444 test -z "$as_dir" && as_dir=.
49445 # Account for people who put trailing slashes in PATH elements.
49447 ./ | .// | /cC/* | \
49448 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49449 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49452 # OSF1 and SCO ODT 3.0 have their own names for install.
49453 # Don't use installbsd from OSF since it installs stuff as root
49455 for ac_prog in ginstall scoinst install; do
49456 for ac_exec_ext in '' $ac_executable_extensions; do
49457 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49458 if test $ac_prog = install &&
49459 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49460 # AIX install. It has an incompatible calling convention.
49462 elif test $ac_prog = install &&
49463 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49464 # program-specific install script used by HP pwplus--don't use.
49467 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49480 if test "${ac_cv_path_install+set}" = set; then
49481 INSTALL=$ac_cv_path_install
49483 # As a last resort, use the slow shell script. Don't cache a
49484 # value for INSTALL within a source directory, because that will
49485 # break other packages using the cache if that directory is
49486 # removed, or if the value is a relative name.
49487 INSTALL=$ac_install_sh
49490 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49491 echo "${ECHO_T}$INSTALL" >&6; }
49493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49494 # It thinks the first close brace ends the variable substitution.
49495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49499 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49501 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49502 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49504 if test "$LN_S" = "ln -s"; then
49505 { echo "$as_me:$LINENO: result: yes" >&5
49506 echo "${ECHO_T}yes" >&6; }
49508 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49509 echo "${ECHO_T}no, using $LN_S" >&6; }
49513 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49514 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49515 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49516 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49517 echo $ECHO_N "(cached) $ECHO_C" >&6
49519 cat >conftest.make <<\_ACEOF
49522 @echo '@@@%%%=$(MAKE)=@@@%%%'
49524 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49525 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49526 *@@@%%%=?*=@@@%%%*)
49527 eval ac_cv_prog_make_${ac_make}_set=yes;;
49529 eval ac_cv_prog_make_${ac_make}_set=no;;
49531 rm -f conftest.make
49533 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49534 { echo "$as_me:$LINENO: result: yes" >&5
49535 echo "${ECHO_T}yes" >&6; }
49538 { echo "$as_me:$LINENO: result: no" >&5
49539 echo "${ECHO_T}no" >&6; }
49540 SET_MAKE="MAKE=${MAKE-make}"
49545 if test "x$SUNCXX" = "xyes"; then
49547 AROPTIONS="-xar -o"
49549 elif test "x$SGICC" = "xyes"; then
49554 if test -n "$ac_tool_prefix"; then
49555 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49556 set dummy ${ac_tool_prefix}ar; ac_word=$2
49557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49559 if test "${ac_cv_prog_AR+set}" = set; then
49560 echo $ECHO_N "(cached) $ECHO_C" >&6
49562 if test -n "$AR"; then
49563 ac_cv_prog_AR="$AR" # Let the user override the test.
49565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49566 for as_dir in $PATH
49569 test -z "$as_dir" && as_dir=.
49570 for ac_exec_ext in '' $ac_executable_extensions; do
49571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49572 ac_cv_prog_AR="${ac_tool_prefix}ar"
49573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49583 if test -n "$AR"; then
49584 { echo "$as_me:$LINENO: result: $AR" >&5
49585 echo "${ECHO_T}$AR" >&6; }
49587 { echo "$as_me:$LINENO: result: no" >&5
49588 echo "${ECHO_T}no" >&6; }
49593 if test -z "$ac_cv_prog_AR"; then
49595 # Extract the first word of "ar", so it can be a program name with args.
49596 set dummy ar; ac_word=$2
49597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49599 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49600 echo $ECHO_N "(cached) $ECHO_C" >&6
49602 if test -n "$ac_ct_AR"; then
49603 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49606 for as_dir in $PATH
49609 test -z "$as_dir" && as_dir=.
49610 for ac_exec_ext in '' $ac_executable_extensions; do
49611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49612 ac_cv_prog_ac_ct_AR="ar"
49613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49622 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49623 if test -n "$ac_ct_AR"; then
49624 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49625 echo "${ECHO_T}$ac_ct_AR" >&6; }
49627 { echo "$as_me:$LINENO: result: no" >&5
49628 echo "${ECHO_T}no" >&6; }
49631 if test "x$ac_ct_AR" = x; then
49634 case $cross_compiling:$ac_tool_warned in
49636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49637 whose name does not start with the host triplet. If you think this
49638 configuration is useful to you, please write to autoconf@gnu.org." >&5
49639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49640 whose name does not start with the host triplet. If you think this
49641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49642 ac_tool_warned=yes ;;
49647 AR="$ac_cv_prog_AR"
49654 if test -n "$ac_tool_prefix"; then
49655 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49656 set dummy ${ac_tool_prefix}strip; ac_word=$2
49657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49659 if test "${ac_cv_prog_STRIP+set}" = set; then
49660 echo $ECHO_N "(cached) $ECHO_C" >&6
49662 if test -n "$STRIP"; then
49663 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49666 for as_dir in $PATH
49669 test -z "$as_dir" && as_dir=.
49670 for ac_exec_ext in '' $ac_executable_extensions; do
49671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49672 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49682 STRIP=$ac_cv_prog_STRIP
49683 if test -n "$STRIP"; then
49684 { echo "$as_me:$LINENO: result: $STRIP" >&5
49685 echo "${ECHO_T}$STRIP" >&6; }
49687 { echo "$as_me:$LINENO: result: no" >&5
49688 echo "${ECHO_T}no" >&6; }
49693 if test -z "$ac_cv_prog_STRIP"; then
49695 # Extract the first word of "strip", so it can be a program name with args.
49696 set dummy strip; ac_word=$2
49697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49699 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49700 echo $ECHO_N "(cached) $ECHO_C" >&6
49702 if test -n "$ac_ct_STRIP"; then
49703 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49706 for as_dir in $PATH
49709 test -z "$as_dir" && as_dir=.
49710 for ac_exec_ext in '' $ac_executable_extensions; do
49711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49712 ac_cv_prog_ac_ct_STRIP="strip"
49713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49722 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49723 if test -n "$ac_ct_STRIP"; then
49724 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49725 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49727 { echo "$as_me:$LINENO: result: no" >&5
49728 echo "${ECHO_T}no" >&6; }
49731 if test "x$ac_ct_STRIP" = x; then
49734 case $cross_compiling:$ac_tool_warned in
49736 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49737 whose name does not start with the host triplet. If you think this
49738 configuration is useful to you, please write to autoconf@gnu.org." >&5
49739 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49740 whose name does not start with the host triplet. If you think this
49741 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49742 ac_tool_warned=yes ;;
49747 STRIP="$ac_cv_prog_STRIP"
49750 if test -n "$ac_tool_prefix"; then
49751 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49752 set dummy ${ac_tool_prefix}nm; ac_word=$2
49753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49755 if test "${ac_cv_prog_NM+set}" = set; then
49756 echo $ECHO_N "(cached) $ECHO_C" >&6
49758 if test -n "$NM"; then
49759 ac_cv_prog_NM="$NM" # Let the user override the test.
49761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49762 for as_dir in $PATH
49765 test -z "$as_dir" && as_dir=.
49766 for ac_exec_ext in '' $ac_executable_extensions; do
49767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49768 ac_cv_prog_NM="${ac_tool_prefix}nm"
49769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49779 if test -n "$NM"; then
49780 { echo "$as_me:$LINENO: result: $NM" >&5
49781 echo "${ECHO_T}$NM" >&6; }
49783 { echo "$as_me:$LINENO: result: no" >&5
49784 echo "${ECHO_T}no" >&6; }
49789 if test -z "$ac_cv_prog_NM"; then
49791 # Extract the first word of "nm", so it can be a program name with args.
49792 set dummy nm; ac_word=$2
49793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49795 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49796 echo $ECHO_N "(cached) $ECHO_C" >&6
49798 if test -n "$ac_ct_NM"; then
49799 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49802 for as_dir in $PATH
49805 test -z "$as_dir" && as_dir=.
49806 for ac_exec_ext in '' $ac_executable_extensions; do
49807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49808 ac_cv_prog_ac_ct_NM="nm"
49809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49818 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49819 if test -n "$ac_ct_NM"; then
49820 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49821 echo "${ECHO_T}$ac_ct_NM" >&6; }
49823 { echo "$as_me:$LINENO: result: no" >&5
49824 echo "${ECHO_T}no" >&6; }
49827 if test "x$ac_ct_NM" = x; then
49830 case $cross_compiling:$ac_tool_warned in
49832 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49833 whose name does not start with the host triplet. If you think this
49834 configuration is useful to you, please write to autoconf@gnu.org." >&5
49835 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49836 whose name does not start with the host triplet. If you think this
49837 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49838 ac_tool_warned=yes ;;
49843 NM="$ac_cv_prog_NM"
49847 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49848 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49849 INSTALL_TEST_DIR=acbftest$$
49850 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49851 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49852 rmdir $INSTALL_TEST_DIR
49853 INSTALL_DIR='$(INSTALL) -d'
49854 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49855 echo "${ECHO_T}$INSTALL -d" >&6; }
49857 INSTALL_DIR="mkdir -p"
49858 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49859 echo "${ECHO_T}mkdir -p" >&6; }
49864 case ${BAKEFILE_HOST} in
49865 *-*-cygwin* | *-*-mingw32* )
49866 LDFLAGS_GUI="-mwindows"
49872 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49873 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49874 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49875 echo $ECHO_N "(cached) $ECHO_C" >&6
49878 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49879 egrep -s GNU > /dev/null); then
49880 bakefile_cv_prog_makeisgnu="yes"
49882 bakefile_cv_prog_makeisgnu="no"
49886 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49887 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49889 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49906 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49907 case "${BAKEFILE_HOST}" in
49914 *-pc-os2_emx | *-pc-os2-emx )
49924 powerpc-apple-macos* )
49933 case "$BAKEFILE_FORCE_PLATFORM" in
49954 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49955 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49956 { (exit 1); exit 1; }; }
49971 # Check whether --enable-omf was given.
49972 if test "${enable_omf+set}" = set; then
49973 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49977 case "${BAKEFILE_HOST}" in
49979 if test "x$GCC" = "xyes"; then
49980 CFLAGS="$CFLAGS -fno-common"
49981 CXXFLAGS="$CXXFLAGS -fno-common"
49983 if test "x$XLCC" = "xyes"; then
49984 CFLAGS="$CFLAGS -qnocommon"
49985 CXXFLAGS="$CXXFLAGS -qnocommon"
49989 *-pc-os2_emx | *-pc-os2-emx )
49990 if test "x$bk_os2_use_omf" = "xyes" ; then
49993 LDFLAGS="-Zomf $LDFLAGS"
49994 CFLAGS="-Zomf $CFLAGS"
49995 CXXFLAGS="-Zomf $CXXFLAGS"
50003 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50009 SO_SUFFIX_MODULE="so"
50014 DLLPREFIX_MODULE=""
50018 case "${BAKEFILE_HOST}" in
50023 SO_SUFFIX_MODULE="sl"
50027 SO_SUFFIX_MODULE="a"
50031 SO_SUFFIX_MODULE="dll"
50032 DLLIMP_SUFFIX="dll.a"
50039 SO_SUFFIX_MODULE="dll"
50040 DLLIMP_SUFFIX="dll.a"
50050 *-pc-os2_emx | *-pc-os2-emx )
50052 SO_SUFFIX_MODULE="dll"
50053 DLLIMP_SUFFIX=$OS2_LIBEXT
50057 LIBEXT=".$OS2_LIBEXT"
50062 SO_SUFFIX_MODULE="bundle"
50066 if test "x$DLLIMP_SUFFIX" = "x" ; then
50067 DLLIMP_SUFFIX="$SO_SUFFIX"
50082 if test "x$GCC" = "xyes"; then
50086 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50087 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50090 case "${BAKEFILE_HOST}" in
50092 if test "x$GCC" != "xyes"; then
50093 LDFLAGS="$LDFLAGS -L/usr/lib"
50095 SHARED_LD_CC="${CC} -b -o"
50096 SHARED_LD_CXX="${CXX} -b -o"
50102 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50104 elif test "x$SUNCXX" = "xyes"; then
50105 SHARED_LD_CC="${CC} -G -o"
50106 SHARED_LD_CXX="${CXX} -G -o"
50112 if test "x$SUNCXX" = xyes ; then
50113 SHARED_LD_CC="${CC} -G -o"
50114 SHARED_LD_CXX="${CXX} -G -o"
50122 cat <<EOF >shared-ld-sh
50124 #-----------------------------------------------------------------------------
50125 #-- Name: distrib/mac/shared-ld-sh
50126 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50127 #-- Author: Gilles Depeyrot
50128 #-- Copyright: (c) 2002 Gilles Depeyrot
50129 #-- Licence: any use permitted
50130 #-----------------------------------------------------------------------------
50135 linking_flag="-dynamiclib"
50136 ldargs="-r -keep_private_externs -nostdlib"
50138 if test "x${D}CXX" = "x"; then
50142 while test ${D}# -gt 0; do
50149 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50150 # collect these options and values
50151 args="${D}{args} ${D}1 ${D}2"
50156 # collect these options and values
50157 ldargs="${D}{ldargs} ${D}1 ${D}2"
50162 # collect these load args
50163 ldargs="${D}{ldargs} ${D}1"
50166 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50167 # collect these options
50168 args="${D}{args} ${D}1"
50171 -dynamiclib|-bundle)
50172 linking_flag="${D}1"
50176 echo "shared-ld: unhandled option '${D}1'"
50180 *.o | *.a | *.dylib)
50181 # collect object files
50182 objects="${D}{objects} ${D}1"
50186 echo "shared-ld: unhandled argument '${D}1'"
50197 # Link one module containing all the others
50199 if test ${D}{verbose} = 1; then
50200 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50202 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50206 # Link the shared library from the single module created, but only if the
50207 # previous command didn't fail:
50209 if test ${D}{status} = 0; then
50210 if test ${D}{verbose} = 1; then
50211 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50213 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50218 # Remove intermediate module
50220 rm -f master.${D}${D}.o
50225 chmod +x shared-ld-sh
50227 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50228 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50231 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50232 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50233 if test "${bakefile_cv_gcc31+set}" = set; then
50234 echo $ECHO_N "(cached) $ECHO_C" >&6
50237 cat >conftest.$ac_ext <<_ACEOF
50240 cat confdefs.h >>conftest.$ac_ext
50241 cat >>conftest.$ac_ext <<_ACEOF
50242 /* end confdefs.h. */
50248 #if (__GNUC__ < 3) || \
50249 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50257 rm -f conftest.$ac_objext
50258 if { (ac_try="$ac_compile"
50259 case "(($ac_try" in
50260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50261 *) ac_try_echo=$ac_try;;
50263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50264 (eval "$ac_compile") 2>conftest.er1
50266 grep -v '^ *+' conftest.er1 >conftest.err
50268 cat conftest.err >&5
50269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50270 (exit $ac_status); } && {
50271 test -z "$ac_c_werror_flag" ||
50272 test ! -s conftest.err
50273 } && test -s conftest.$ac_objext; then
50275 bakefile_cv_gcc31=yes
50278 echo "$as_me: failed program was:" >&5
50279 sed 's/^/| /' conftest.$ac_ext >&5
50282 bakefile_cv_gcc31=no
50287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50290 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50291 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50292 if test "$bakefile_cv_gcc31" = "no"; then
50293 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50294 SHARED_LD_CXX="$SHARED_LD_CC"
50296 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50297 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50300 if test "x$GCC" == "xyes"; then
50301 PIC_FLAG="-dynamic -fPIC"
50303 if test "x$XLCC" = "xyes"; then
50304 PIC_FLAG="-dynamic -DPIC"
50309 if test "x$GCC" = "xyes"; then
50312 case "${BAKEFILE_HOST}" in
50314 LD_EXPFULL="-Wl,-bexpfull"
50318 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50319 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50321 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50322 set dummy makeC++SharedLib; ac_word=$2
50323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50325 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50326 echo $ECHO_N "(cached) $ECHO_C" >&6
50328 if test -n "$AIX_CXX_LD"; then
50329 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50332 for as_dir in $PATH
50335 test -z "$as_dir" && as_dir=.
50336 for ac_exec_ext in '' $ac_executable_extensions; do
50337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50338 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50346 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50349 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50350 if test -n "$AIX_CXX_LD"; then
50351 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50352 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50354 { echo "$as_me:$LINENO: result: no" >&5
50355 echo "${ECHO_T}no" >&6; }
50359 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50360 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50365 SHARED_LD_CC="${LD} -nostart -o"
50366 SHARED_LD_CXX="${LD} -nostart -o"
50370 if test "x$GCC" != "xyes"; then
50375 *-*-cygwin* | *-*-mingw32* )
50377 SHARED_LD_CC="\$(CC) -shared -o"
50378 SHARED_LD_CXX="\$(CXX) -shared -o"
50382 *-pc-os2_emx | *-pc-os2-emx )
50383 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50384 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50388 cat <<EOF >dllar.sh
50391 # dllar - a tool to build both a .dll and an .a file
50392 # from a set of object (.o) files for EMX/OS2.
50394 # Written by Andrew Zabolotny, bit@freya.etu.ru
50395 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50397 # This script will accept a set of files on the command line.
50398 # All the public symbols from the .o files will be exported into
50399 # a .DEF file, then linker will be run (through gcc) against them to
50400 # build a shared library consisting of all given .o files. All libraries
50401 # (.a) will be first decompressed into component .o files then act as
50402 # described above. You can optionally give a description (-d "description")
50403 # which will be put into .DLL. To see the list of accepted options (as well
50404 # as command-line format) simply run this program without options. The .DLL
50405 # is built to be imported by name (there is no guarantee that new versions
50406 # of the library you build will have same ordinals for same symbols).
50408 # dllar is free software; you can redistribute it and/or modify
50409 # it under the terms of the GNU General Public License as published by
50410 # the Free Software Foundation; either version 2, or (at your option)
50411 # any later version.
50413 # dllar is distributed in the hope that it will be useful,
50414 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50415 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50416 # GNU General Public License for more details.
50418 # You should have received a copy of the GNU General Public License
50419 # along with dllar; see the file COPYING. If not, write to the Free
50420 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50423 # To successfuly run this program you will need:
50424 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50425 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50427 # (used to build the .dll)
50429 # (used to create .def file from .o files)
50431 # (used to create .a file from .def file)
50432 # - GNU text utilites (cat, sort, uniq)
50433 # used to process emxexp output
50434 # - GNU file utilities (mv, rm)
50436 # - lxlite (optional, see flag below)
50437 # (used for general .dll cleanup)
50444 # basnam, variant of basename, which does _not_ remove the path, _iff_
50445 # second argument (suffix to remove) is given
50449 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50452 echo ${D}1 | sed 's/'${D}2'${D}//'
50455 echo "error in basnam ${D}*"
50461 # Cleanup temporary files and output
50464 for i in ${D}inputFiles ; do
50467 rm -rf \`basnam ${D}i !\`
50474 # Kill result in case of failure as there is just to many stupid make/nmake
50475 # things out there which doesn't do this.
50476 if [ ${D}# -eq 0 ]; then
50477 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50481 # Print usage and exit script with rc=1.
50483 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50484 echo ' [-name-mangler-script script.sh]'
50485 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50486 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50487 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50488 echo ' [*.o] [*.a]'
50489 echo '*> "output_file" should have no extension.'
50490 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50491 echo ' The import library name is derived from this and is set to "name".a,'
50492 echo ' unless overridden by -import'
50493 echo '*> "importlib_name" should have no extension.'
50494 echo ' If it has the .o, or .a extension, it is automatically removed.'
50495 echo ' This name is used as the import library name and may be longer and'
50496 echo ' more descriptive than the DLL name which has to follow the old '
50497 echo ' 8.3 convention of FAT.'
50498 echo '*> "script.sh may be given to override the output_file name by a'
50499 echo ' different name. It is mainly useful if the regular make process'
50500 echo ' of some package does not take into account OS/2 restriction of'
50501 echo ' DLL name lengths. It takes the importlib name as input and is'
50502 echo ' supposed to procude a shorter name as output. The script should'
50503 echo ' expect to get importlib_name without extension and should produce'
50504 echo ' a (max.) 8 letter name without extension.'
50505 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50506 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50507 echo ' These flags will be put at the start of GCC command line.'
50508 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50509 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50510 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50511 echo ' If the last character of a symbol is "*", all symbols beginning'
50512 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50513 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50514 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50515 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50516 echo ' C runtime DLLs.'
50517 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50518 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50519 echo ' unchanged to GCC at the end of command line.'
50520 echo '*> If you create a DLL from a library and you do not specify -o,'
50521 echo ' the basename for DLL and import library will be set to library name,'
50522 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50523 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50524 echo ' library will be renamed into gcc_s.a.'
50527 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50528 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50533 # Execute a command.
50534 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50535 # @Uses Whatever CleanUp() uses.
50541 if [ ${D}rcCmd -ne 0 ]; then
50542 echo "command failed, exit code="${D}rcCmd
50557 CFLAGS="-s -Zcrtdll"
50559 EXPORT_BY_ORDINALS=0
50564 case ${D}curDirS in
50568 curDirS=${D}{curDirS}"/"
50571 # Parse commandline
50574 while [ ${D}1 ]; do
50577 EXPORT_BY_ORDINALS=1;
50587 -name-mangler-script)
50608 exclude_symbols=${D}{exclude_symbols}${D}1" "
50612 library_flags=${D}{library_flags}${D}1" "
50631 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50634 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50635 if [ ${D}omfLinking -eq 1 ]; then
50636 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50638 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50643 if [ ${D}libsToLink -ne 0 ]; then
50644 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50646 for file in ${D}1 ; do
50647 if [ -f ${D}file ]; then
50648 inputFiles="${D}{inputFiles} ${D}file"
50652 if [ ${D}found -eq 0 ]; then
50653 echo "ERROR: No file(s) found: "${D}1
50660 done # iterate cmdline words
50663 if [ -z "${D}inputFiles" ]; then
50664 echo "dllar: no input files"
50668 # Now extract all .o files from .a files
50670 for file in ${D}inputFiles ; do
50681 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50686 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50688 if [ ${D}? -ne 0 ]; then
50689 echo "Failed to create subdirectory ./${D}dirname"
50693 # Append '!' to indicate archive
50694 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50695 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50698 for subfile in ${D}dirname/*.o* ; do
50699 if [ -f ${D}subfile ]; then
50701 if [ -s ${D}subfile ]; then
50702 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50703 newInputFiles="${D}newInputFiles ${D}subfile"
50707 if [ ${D}found -eq 0 ]; then
50708 echo "WARNING: there are no files in archive \\'${D}file\\'"
50712 newInputFiles="${D}{newInputFiles} ${D}file"
50716 inputFiles="${D}newInputFiles"
50718 # Output filename(s).
50720 if [ -z ${D}outFile ]; then
50722 set outFile ${D}inputFiles; outFile=${D}2
50725 # If it is an archive, remove the '!' and the '_%' suffixes
50726 case ${D}outFile in
50728 outFile=\`basnam ${D}outFile _%!\`
50733 case ${D}outFile in
50735 outFile=\`basnam ${D}outFile .dll\`
50738 outFile=\`basnam ${D}outFile .DLL\`
50741 outFile=\`basnam ${D}outFile .o\`
50744 outFile=\`basnam ${D}outFile .obj\`
50747 outFile=\`basnam ${D}outFile .a\`
50750 outFile=\`basnam ${D}outFile .lib\`
50755 case ${D}outimpFile in
50757 outimpFile=\`basnam ${D}outimpFile .a\`
50760 outimpFile=\`basnam ${D}outimpFile .lib\`
50765 if [ -z ${D}outimpFile ]; then
50766 outimpFile=${D}outFile
50768 defFile="${D}{outFile}.def"
50769 arcFile="${D}{outimpFile}.a"
50770 arcFile2="${D}{outimpFile}.lib"
50772 #create ${D}dllFile as something matching 8.3 restrictions,
50773 if [ -z ${D}renameScript ] ; then
50774 dllFile="${D}outFile"
50776 dllFile=\`${D}renameScript ${D}outimpFile\`
50779 if [ ${D}do_backup -ne 0 ] ; then
50780 if [ -f ${D}arcFile ] ; then
50781 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50783 if [ -f ${D}arcFile2 ] ; then
50784 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50788 # Extract public symbols from all the object files.
50789 tmpdefFile=${D}{defFile}_%
50790 rm -f ${D}tmpdefFile
50791 for file in ${D}inputFiles ; do
50796 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50801 # Create the def file.
50803 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50804 dllFile="${D}{dllFile}.dll"
50805 if [ ! -z ${D}description ]; then
50806 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50808 echo "EXPORTS" >> ${D}defFile
50810 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50811 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50813 # Checks if the export is ok or not.
50814 for word in ${D}exclude_symbols; do
50815 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50816 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50820 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50821 sed "=" < ${D}tmpdefFile | \\
50825 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50827 ' > ${D}{tmpdefFile}%
50828 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50830 rm -f ${D}{tmpdefFile}%
50832 cat ${D}tmpdefFile >> ${D}defFile
50833 rm -f ${D}tmpdefFile
50835 # Do linking, create implib, and apply lxlite.
50837 for file in ${D}inputFiles ; do
50842 gccCmdl="${D}gccCmdl ${D}file"
50846 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50847 touch "${D}{outFile}.dll"
50849 doCommand "emximp -o ${D}arcFile ${D}defFile"
50850 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50852 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50855 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50857 doCommand "emxomf -s -l ${D}arcFile"
50867 powerpc-apple-macos* | \
50868 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50878 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50879 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50880 { (exit 1); exit 1; }; }
50883 if test "x$PIC_FLAG" != "x" ; then
50884 PIC_FLAG="$PIC_FLAG -DPIC"
50887 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50888 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50890 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50891 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50906 USE_SOTWOSYMLINKS=0
50910 case "${BAKEFILE_HOST}" in
50911 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50912 *-*-k*bsd*-gnu | *-*-mirbsd* )
50913 if test "x$SUNCXX" = "xyes"; then
50916 SONAME_FLAG="-Wl,-soname,"
50920 USE_SOTWOSYMLINKS=1
50932 USE_SOTWOSYMLINKS=1
50950 # Check whether --enable-dependency-tracking was given.
50951 if test "${enable_dependency_tracking+set}" = set; then
50952 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50956 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50957 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50960 if test "x$bk_use_trackdeps" = "xno" ; then
50962 { echo "$as_me:$LINENO: result: disabled" >&5
50963 echo "${ECHO_T}disabled" >&6; }
50967 if test "x$GCC" = "xyes"; then
50969 case "${BAKEFILE_HOST}" in
50971 DEPSFLAG="-no-cpp-precomp -MMD"
50977 { echo "$as_me:$LINENO: result: gcc" >&5
50978 echo "${ECHO_T}gcc" >&6; }
50979 elif test "x$MWCC" = "xyes"; then
50982 { echo "$as_me:$LINENO: result: mwcc" >&5
50983 echo "${ECHO_T}mwcc" >&6; }
50984 elif test "x$SUNCC" = "xyes"; then
50987 { echo "$as_me:$LINENO: result: Sun cc" >&5
50988 echo "${ECHO_T}Sun cc" >&6; }
50989 elif test "x$SGICC" = "xyes"; then
50992 { echo "$as_me:$LINENO: result: SGI cc" >&5
50993 echo "${ECHO_T}SGI cc" >&6; }
50994 elif test "x$HPCC" = "xyes"; then
50997 { echo "$as_me:$LINENO: result: HP cc" >&5
50998 echo "${ECHO_T}HP cc" >&6; }
50999 elif test "x$COMPAQCC" = "xyes"; then
51002 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51003 echo "${ECHO_T}Compaq cc" >&6; }
51006 { echo "$as_me:$LINENO: result: none" >&5
51007 echo "${ECHO_T}none" >&6; }
51010 if test $DEPS_TRACKING = 1 ; then
51016 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51017 # script. It is used to track C/C++ files dependencies in portable way.
51019 # Permission is given to use this file in any way.
51021 DEPSMODE=${DEPSMODE}
51022 DEPSFLAG="${DEPSFLAG}"
51025 if test ${D}DEPSMODE = gcc ; then
51026 ${D}* ${D}{DEPSFLAG}
51029 # determine location of created files:
51030 while test ${D}# -gt 0; do
51044 objfilebase=\`basename ${D}objfile\`
51045 builddir=\`dirname ${D}objfile\`
51046 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51047 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51048 depsdir=${D}builddir/${D}DEPSDIRBASE
51049 mkdir -p ${D}depsdir
51051 # if the compiler failed, we're done:
51052 if test ${D}{status} != 0 ; then
51057 # move created file to the location we want it in:
51058 if test -f ${D}depfile ; then
51059 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51062 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51063 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51064 if test ! -f ${D}depfile ; then
51065 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51066 depfile="${D}objfile.d"
51068 if test -f ${D}depfile ; then
51069 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51075 elif test ${D}DEPSMODE = mwcc ; then
51076 ${D}* || exit ${D}?
51077 # Run mwcc again with -MM and redirect into the dep file we want
51078 # NOTE: We can't use shift here because we need ${D}* to be valid
51080 for arg in ${D}* ; do
51081 if test "${D}prevarg" = "-o"; then
51095 objfilebase=\`basename ${D}objfile\`
51096 builddir=\`dirname ${D}objfile\`
51097 depsdir=${D}builddir/${D}DEPSDIRBASE
51098 mkdir -p ${D}depsdir
51100 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51103 elif test ${D}DEPSMODE = unixcc; then
51104 ${D}* || exit ${D}?
51105 # Run compiler again with deps flag and redirect into the dep file.
51106 # It doesn't work if the '-o FILE' option is used, but without it the
51107 # dependency file will contain the wrong name for the object. So it is
51108 # removed from the command line, and the dep file is fixed with sed.
51110 while test ${D}# -gt 0; do
51117 eval arg${D}#=\\${D}1
51118 cmd="${D}cmd \\${D}arg${D}#"
51124 objfilebase=\`basename ${D}objfile\`
51125 builddir=\`dirname ${D}objfile\`
51126 depsdir=${D}builddir/${D}DEPSDIRBASE
51127 mkdir -p ${D}depsdir
51129 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51139 BK_DEPS="`pwd`/bk-deps"
51147 case ${BAKEFILE_HOST} in
51148 *-*-cygwin* | *-*-mingw32* )
51149 if test -n "$ac_tool_prefix"; then
51150 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51151 set dummy ${ac_tool_prefix}windres; ac_word=$2
51152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51154 if test "${ac_cv_prog_WINDRES+set}" = set; then
51155 echo $ECHO_N "(cached) $ECHO_C" >&6
51157 if test -n "$WINDRES"; then
51158 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51161 for as_dir in $PATH
51164 test -z "$as_dir" && as_dir=.
51165 for ac_exec_ext in '' $ac_executable_extensions; do
51166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51167 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51177 WINDRES=$ac_cv_prog_WINDRES
51178 if test -n "$WINDRES"; then
51179 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51180 echo "${ECHO_T}$WINDRES" >&6; }
51182 { echo "$as_me:$LINENO: result: no" >&5
51183 echo "${ECHO_T}no" >&6; }
51188 if test -z "$ac_cv_prog_WINDRES"; then
51189 ac_ct_WINDRES=$WINDRES
51190 # Extract the first word of "windres", so it can be a program name with args.
51191 set dummy windres; ac_word=$2
51192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51194 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51195 echo $ECHO_N "(cached) $ECHO_C" >&6
51197 if test -n "$ac_ct_WINDRES"; then
51198 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51201 for as_dir in $PATH
51204 test -z "$as_dir" && as_dir=.
51205 for ac_exec_ext in '' $ac_executable_extensions; do
51206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51207 ac_cv_prog_ac_ct_WINDRES="windres"
51208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51217 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51218 if test -n "$ac_ct_WINDRES"; then
51219 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51220 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51222 { echo "$as_me:$LINENO: result: no" >&5
51223 echo "${ECHO_T}no" >&6; }
51226 if test "x$ac_ct_WINDRES" = x; then
51229 case $cross_compiling:$ac_tool_warned in
51231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51232 whose name does not start with the host triplet. If you think this
51233 configuration is useful to you, please write to autoconf@gnu.org." >&5
51234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51235 whose name does not start with the host triplet. If you think this
51236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51237 ac_tool_warned=yes ;;
51239 WINDRES=$ac_ct_WINDRES
51242 WINDRES="$ac_cv_prog_WINDRES"
51247 *-*-darwin* | powerpc-apple-macos* )
51248 # Extract the first word of "Rez", so it can be a program name with args.
51249 set dummy Rez; ac_word=$2
51250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51252 if test "${ac_cv_prog_REZ+set}" = set; then
51253 echo $ECHO_N "(cached) $ECHO_C" >&6
51255 if test -n "$REZ"; then
51256 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51259 for as_dir in $PATH
51262 test -z "$as_dir" && as_dir=.
51263 for ac_exec_ext in '' $ac_executable_extensions; do
51264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51265 ac_cv_prog_REZ="Rez"
51266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51273 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51276 REZ=$ac_cv_prog_REZ
51277 if test -n "$REZ"; then
51278 { echo "$as_me:$LINENO: result: $REZ" >&5
51279 echo "${ECHO_T}$REZ" >&6; }
51281 { echo "$as_me:$LINENO: result: no" >&5
51282 echo "${ECHO_T}no" >&6; }
51286 # Extract the first word of "SetFile", so it can be a program name with args.
51287 set dummy SetFile; ac_word=$2
51288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51290 if test "${ac_cv_prog_SETFILE+set}" = set; then
51291 echo $ECHO_N "(cached) $ECHO_C" >&6
51293 if test -n "$SETFILE"; then
51294 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51297 for as_dir in $PATH
51300 test -z "$as_dir" && as_dir=.
51301 for ac_exec_ext in '' $ac_executable_extensions; do
51302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51303 ac_cv_prog_SETFILE="SetFile"
51304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51311 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51314 SETFILE=$ac_cv_prog_SETFILE
51315 if test -n "$SETFILE"; then
51316 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51317 echo "${ECHO_T}$SETFILE" >&6; }
51319 { echo "$as_me:$LINENO: result: no" >&5
51320 echo "${ECHO_T}no" >&6; }
51335 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51338 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51342 # Check whether --enable-precomp-headers was given.
51343 if test "${enable_precomp_headers+set}" = set; then
51344 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51353 case ${BAKEFILE_HOST} in
51359 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51360 if test "x$GCC" = "xyes"; then
51361 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51362 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51363 cat >conftest.$ac_ext <<_ACEOF
51366 cat confdefs.h >>conftest.$ac_ext
51367 cat >>conftest.$ac_ext <<_ACEOF
51368 /* end confdefs.h. */
51374 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51375 There is no PCH support
51378 There is no PCH support
51380 #if (__GNUC__ == 3) && \
51381 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51382 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51383 ( defined(__INTEL_COMPILER) )
51384 There is no PCH support
51391 rm -f conftest.$ac_objext
51392 if { (ac_try="$ac_compile"
51393 case "(($ac_try" in
51394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51395 *) ac_try_echo=$ac_try;;
51397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51398 (eval "$ac_compile") 2>conftest.er1
51400 grep -v '^ *+' conftest.er1 >conftest.err
51402 cat conftest.err >&5
51403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51404 (exit $ac_status); } && {
51405 test -z "$ac_c_werror_flag" ||
51406 test ! -s conftest.err
51407 } && test -s conftest.$ac_objext; then
51409 { echo "$as_me:$LINENO: result: yes" >&5
51410 echo "${ECHO_T}yes" >&6; }
51414 echo "$as_me: failed program was:" >&5
51415 sed 's/^/| /' conftest.$ac_ext >&5
51418 if test "$INTELCXX8" = "yes"; then
51419 { echo "$as_me:$LINENO: result: yes" >&5
51420 echo "${ECHO_T}yes" >&6; }
51422 if test "$INTELCXX10" = "yes"; then
51423 ICC_PCH_CREATE_SWITCH="-pch-create"
51424 ICC_PCH_USE_SWITCH="-pch-use"
51426 ICC_PCH_CREATE_SWITCH="-create-pch"
51427 ICC_PCH_USE_SWITCH="-use-pch"
51430 { echo "$as_me:$LINENO: result: no" >&5
51431 echo "${ECHO_T}no" >&6; }
51436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51437 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51441 cat <<EOF >bk-make-pch
51444 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51445 # script. It is used to generated precompiled headers.
51447 # Permission is given to use this file in any way.
51454 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51459 while test ${D}{#} -gt 0; do
51463 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51464 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51465 headerfile="${D}{incdir}/${D}{header}"
51468 -use-pch|-use_pch|-pch-use )
51473 if test ${D}add_to_cmdline = 1 ; then
51474 compiler="${D}{compiler} ${D}{1}"
51479 if test "x${D}{headerfile}" = "x" ; then
51480 echo "error: can't find header ${D}{header} in include paths" >&2
51482 if test -f ${D}{outfile} ; then
51483 rm -f ${D}{outfile}
51485 mkdir -p \`dirname ${D}{outfile}\`
51487 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51488 mkdir -p ${D}{builddir}/.deps
51489 if test "x${GCC_PCH}" = "x1" ; then
51490 # can do this because gcc is >= 3.4:
51491 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51492 elif test "x${ICC_PCH}" = "x1" ; then
51493 filename=pch_gen-${D}${D}
51494 file=${D}{filename}.c
51495 dfile=${D}{filename}.d
51496 cat > ${D}file <<EOT
51497 #include "${D}header"
51499 # using -MF icc complains about differing command lines in creation/use
51500 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51501 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51502 rm -f ${D}file ${D}dfile ${D}{filename}.o
51508 chmod +x bk-make-pch
51509 BK_MAKE_PCH="`pwd`/bk-make-pch"
51520 COND_BUILD_DEBUG="#"
51521 if test "x$BUILD" = "xdebug" ; then
51522 COND_BUILD_DEBUG=""
51525 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51526 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51527 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51530 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51531 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51532 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51535 COND_BUILD_DEBUG_UNICODE_0="#"
51536 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51537 COND_BUILD_DEBUG_UNICODE_0=""
51540 COND_BUILD_DEBUG_UNICODE_1="#"
51541 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51542 COND_BUILD_DEBUG_UNICODE_1=""
51545 COND_BUILD_RELEASE="#"
51546 if test "x$BUILD" = "xrelease" ; then
51547 COND_BUILD_RELEASE=""
51550 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51551 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51552 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51555 COND_BUILD_RELEASE_UNICODE_0="#"
51556 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51557 COND_BUILD_RELEASE_UNICODE_0=""
51560 COND_BUILD_RELEASE_UNICODE_1="#"
51561 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51562 COND_BUILD_RELEASE_UNICODE_1=""
51565 COND_BUILD_debug="#"
51566 if test "x$BUILD" = "xdebug" ; then
51567 COND_BUILD_debug=""
51570 COND_BUILD_debug_DEBUG_FLAG_default="#"
51571 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51572 COND_BUILD_debug_DEBUG_FLAG_default=""
51575 COND_BUILD_debug_DEBUG_INFO_default="#"
51576 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51577 COND_BUILD_debug_DEBUG_INFO_default=""
51580 COND_BUILD_debug_UNICODE_0="#"
51581 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51582 COND_BUILD_debug_UNICODE_0=""
51585 COND_BUILD_debug_UNICODE_1="#"
51586 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51587 COND_BUILD_debug_UNICODE_1=""
51590 COND_BUILD_release="#"
51591 if test "x$BUILD" = "xrelease" ; then
51592 COND_BUILD_release=""
51595 COND_BUILD_release_DEBUG_INFO_default="#"
51596 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51597 COND_BUILD_release_DEBUG_INFO_default=""
51600 COND_BUILD_release_UNICODE_0="#"
51601 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51602 COND_BUILD_release_UNICODE_0=""
51605 COND_BUILD_release_UNICODE_1="#"
51606 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51607 COND_BUILD_release_UNICODE_1=""
51610 COND_DEBUG_FLAG_0="#"
51611 if test "x$DEBUG_FLAG" = "x0" ; then
51612 COND_DEBUG_FLAG_0=""
51615 COND_DEBUG_FLAG_1="#"
51616 if test "x$DEBUG_FLAG" = "x1" ; then
51617 COND_DEBUG_FLAG_1=""
51620 COND_DEBUG_INFO_0="#"
51621 if test "x$DEBUG_INFO" = "x0" ; then
51622 COND_DEBUG_INFO_0=""
51625 COND_DEBUG_INFO_1="#"
51626 if test "x$DEBUG_INFO" = "x1" ; then
51627 COND_DEBUG_INFO_1=""
51630 COND_DEPS_TRACKING_0="#"
51631 if test "x$DEPS_TRACKING" = "x0" ; then
51632 COND_DEPS_TRACKING_0=""
51635 COND_DEPS_TRACKING_1="#"
51636 if test "x$DEPS_TRACKING" = "x1" ; then
51637 COND_DEPS_TRACKING_1=""
51641 if test "x$GCC_PCH" = "x1" ; then
51646 if test "x$ICC_PCH" = "x1" ; then
51650 COND_MONOLITHIC_0="#"
51651 if test "x$MONOLITHIC" = "x0" ; then
51652 COND_MONOLITHIC_0=""
51655 COND_MONOLITHIC_0_SHARED_0="#"
51656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51657 COND_MONOLITHIC_0_SHARED_0=""
51660 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51662 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51680 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51682 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51685 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51687 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51690 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51692 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51695 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51697 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51700 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51702 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51705 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51707 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51710 COND_MONOLITHIC_0_SHARED_1="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51712 COND_MONOLITHIC_0_SHARED_1=""
51715 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51717 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51720 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51725 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51730 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51735 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51737 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51740 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51742 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51745 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51747 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51750 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51752 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51755 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51757 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51760 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51762 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51765 COND_MONOLITHIC_0_USE_AUI_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51767 COND_MONOLITHIC_0_USE_AUI_1=""
51770 COND_MONOLITHIC_0_USE_GUI_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51772 COND_MONOLITHIC_0_USE_GUI_1=""
51775 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51777 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51780 COND_MONOLITHIC_0_USE_HTML_1="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51782 COND_MONOLITHIC_0_USE_HTML_1=""
51785 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51786 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51787 COND_MONOLITHIC_0_USE_MEDIA_1=""
51790 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51791 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51792 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51795 COND_MONOLITHIC_0_USE_QA_1="#"
51796 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51797 COND_MONOLITHIC_0_USE_QA_1=""
51800 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51801 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51802 COND_MONOLITHIC_0_USE_RIBBON_1=""
51805 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51806 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51807 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51810 COND_MONOLITHIC_0_USE_STC_1="#"
51811 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51812 COND_MONOLITHIC_0_USE_STC_1=""
51815 COND_MONOLITHIC_0_USE_XRC_1="#"
51816 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51817 COND_MONOLITHIC_0_USE_XRC_1=""
51820 COND_MONOLITHIC_1="#"
51821 if test "x$MONOLITHIC" = "x1" ; then
51822 COND_MONOLITHIC_1=""
51825 COND_MONOLITHIC_1_SHARED_0="#"
51826 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51827 COND_MONOLITHIC_1_SHARED_0=""
51830 COND_MONOLITHIC_1_SHARED_1="#"
51831 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51832 COND_MONOLITHIC_1_SHARED_1=""
51835 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51836 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51837 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51840 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51841 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51842 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51845 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51846 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51847 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51850 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51851 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51852 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51855 COND_PLATFORM_MACOSX_1="#"
51856 if test "x$PLATFORM_MACOSX" = "x1" ; then
51857 COND_PLATFORM_MACOSX_1=""
51860 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51861 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51862 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51865 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51866 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51867 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51870 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51871 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51872 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51875 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51876 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51877 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51881 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51886 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51891 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51895 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51896 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51897 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51900 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51901 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51902 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51905 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51906 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51907 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51910 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51911 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51912 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51915 COND_PLATFORM_MACOS_1="#"
51916 if test "x$PLATFORM_MACOS" = "x1" ; then
51917 COND_PLATFORM_MACOS_1=""
51920 COND_PLATFORM_MAC_0="#"
51921 if test "x$PLATFORM_MAC" = "x0" ; then
51922 COND_PLATFORM_MAC_0=""
51925 COND_PLATFORM_MAC_1="#"
51926 if test "x$PLATFORM_MAC" = "x1" ; then
51927 COND_PLATFORM_MAC_1=""
51930 COND_PLATFORM_MSDOS_0="#"
51931 if test "x$PLATFORM_MSDOS" = "x0" ; then
51932 COND_PLATFORM_MSDOS_0=""
51935 COND_PLATFORM_MSDOS_1="#"
51936 if test "x$PLATFORM_MSDOS" = "x1" ; then
51937 COND_PLATFORM_MSDOS_1=""
51940 COND_PLATFORM_OS2_1="#"
51941 if test "x$PLATFORM_OS2" = "x1" ; then
51942 COND_PLATFORM_OS2_1=""
51945 COND_PLATFORM_UNIX_0="#"
51946 if test "x$PLATFORM_UNIX" = "x0" ; then
51947 COND_PLATFORM_UNIX_0=""
51950 COND_PLATFORM_UNIX_1="#"
51951 if test "x$PLATFORM_UNIX" = "x1" ; then
51952 COND_PLATFORM_UNIX_1=""
51955 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51956 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51957 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51960 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51961 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51962 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51965 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51966 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51967 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51970 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51971 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51972 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51975 COND_PLATFORM_WIN32_0="#"
51976 if test "x$PLATFORM_WIN32" = "x0" ; then
51977 COND_PLATFORM_WIN32_0=""
51980 COND_PLATFORM_WIN32_1="#"
51981 if test "x$PLATFORM_WIN32" = "x1" ; then
51982 COND_PLATFORM_WIN32_1=""
51985 COND_PLATFORM_WIN32_1_SHARED_0="#"
51986 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51987 COND_PLATFORM_WIN32_1_SHARED_0=""
51991 if test "x$SHARED" = "x0" ; then
51995 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51996 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51997 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52000 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52001 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52002 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52005 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52006 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52007 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52010 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52011 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52012 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52015 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52016 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52017 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52020 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52021 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52022 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52025 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52026 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52027 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52030 COND_SHARED_0_USE_STC_1="#"
52031 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52032 COND_SHARED_0_USE_STC_1=""
52035 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52036 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52037 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52040 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52041 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52042 COND_SHARED_0_wxUSE_REGEX_builtin=""
52045 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52046 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52047 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52051 if test "x$SHARED" = "x1" ; then
52055 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52056 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52057 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52061 if test "x$TOOLKIT" = "x" ; then
52065 COND_TOOLKIT_COCOA="#"
52066 if test "x$TOOLKIT" = "xCOCOA" ; then
52067 COND_TOOLKIT_COCOA=""
52070 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52071 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52072 COND_TOOLKIT_COCOA_USE_GUI_1=""
52075 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52076 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52077 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52080 COND_TOOLKIT_DFB="#"
52081 if test "x$TOOLKIT" = "xDFB" ; then
52082 COND_TOOLKIT_DFB=""
52085 COND_TOOLKIT_DFB_USE_GUI_1="#"
52086 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52087 COND_TOOLKIT_DFB_USE_GUI_1=""
52090 COND_TOOLKIT_GTK="#"
52091 if test "x$TOOLKIT" = "xGTK" ; then
52092 COND_TOOLKIT_GTK=""
52095 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52096 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52097 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52100 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52101 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52102 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52105 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52106 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52107 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52110 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52111 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52112 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52115 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52116 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52117 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52120 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52121 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52122 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52125 COND_TOOLKIT_GTK_USE_GUI_1="#"
52126 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52127 COND_TOOLKIT_GTK_USE_GUI_1=""
52130 COND_TOOLKIT_MAC="#"
52131 if test "x$TOOLKIT" = "xMAC" ; then
52132 COND_TOOLKIT_MAC=""
52135 COND_TOOLKIT_MGL="#"
52136 if test "x$TOOLKIT" = "xMGL" ; then
52137 COND_TOOLKIT_MGL=""
52140 COND_TOOLKIT_MGL_USE_GUI_1="#"
52141 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52142 COND_TOOLKIT_MGL_USE_GUI_1=""
52145 COND_TOOLKIT_MOTIF="#"
52146 if test "x$TOOLKIT" = "xMOTIF" ; then
52147 COND_TOOLKIT_MOTIF=""
52150 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52151 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52152 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52155 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52156 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52157 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52160 COND_TOOLKIT_MSW="#"
52161 if test "x$TOOLKIT" = "xMSW" ; then
52162 COND_TOOLKIT_MSW=""
52165 COND_TOOLKIT_MSW_USE_GUI_1="#"
52166 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52167 COND_TOOLKIT_MSW_USE_GUI_1=""
52170 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52171 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52172 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52175 COND_TOOLKIT_MSW_WXUNIV_0="#"
52176 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52177 COND_TOOLKIT_MSW_WXUNIV_0=""
52180 COND_TOOLKIT_OSX_CARBON="#"
52181 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52182 COND_TOOLKIT_OSX_CARBON=""
52185 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52186 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52187 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52190 COND_TOOLKIT_OSX_COCOA="#"
52191 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52192 COND_TOOLKIT_OSX_COCOA=""
52195 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52196 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52197 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52200 COND_TOOLKIT_OSX_IPHONE="#"
52201 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52202 COND_TOOLKIT_OSX_IPHONE=""
52205 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52206 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52207 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52210 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52211 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52212 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52215 COND_TOOLKIT_PM="#"
52216 if test "x$TOOLKIT" = "xPM" ; then
52220 COND_TOOLKIT_PM_USE_GUI_1="#"
52221 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52222 COND_TOOLKIT_PM_USE_GUI_1=""
52225 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52226 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52227 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52230 COND_TOOLKIT_WINCE="#"
52231 if test "x$TOOLKIT" = "xWINCE" ; then
52232 COND_TOOLKIT_WINCE=""
52235 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52236 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52237 COND_TOOLKIT_WINCE_USE_GUI_1=""
52240 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52241 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52242 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52245 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52246 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52247 COND_TOOLKIT_WINCE_WXUNIV_0=""
52250 COND_TOOLKIT_X11="#"
52251 if test "x$TOOLKIT" = "xX11" ; then
52252 COND_TOOLKIT_X11=""
52255 COND_TOOLKIT_X11_USE_GUI_1="#"
52256 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52257 COND_TOOLKIT_X11_USE_GUI_1=""
52261 if test "x$UNICODE" = "x1" ; then
52265 COND_USE_CAIRO_1="#"
52266 if test "x$USE_CAIRO" = "x1" ; then
52267 COND_USE_CAIRO_1=""
52270 COND_USE_EXCEPTIONS_0="#"
52271 if test "x$USE_EXCEPTIONS" = "x0" ; then
52272 COND_USE_EXCEPTIONS_0=""
52275 COND_USE_EXCEPTIONS_1="#"
52276 if test "x$USE_EXCEPTIONS" = "x1" ; then
52277 COND_USE_EXCEPTIONS_1=""
52281 if test "x$USE_GUI" = "x0" ; then
52286 if test "x$USE_GUI" = "x1" ; then
52290 COND_USE_GUI_1_USE_OPENGL_1="#"
52291 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52292 COND_USE_GUI_1_USE_OPENGL_1=""
52295 COND_USE_GUI_1_WXUNIV_0="#"
52296 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52297 COND_USE_GUI_1_WXUNIV_0=""
52300 COND_USE_GUI_1_WXUNIV_1="#"
52301 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52302 COND_USE_GUI_1_WXUNIV_1=""
52305 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52306 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52307 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52310 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52311 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52312 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52315 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52316 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52317 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52320 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52321 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52322 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52325 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52326 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52327 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52330 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52331 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52332 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52335 COND_USE_OPENGL_1="#"
52336 if test "x$USE_OPENGL" = "x1" ; then
52337 COND_USE_OPENGL_1=""
52341 if test "x$USE_PCH" = "x1" ; then
52345 COND_USE_PLUGINS_0="#"
52346 if test "x$USE_PLUGINS" = "x0" ; then
52347 COND_USE_PLUGINS_0=""
52350 COND_USE_RTTI_0="#"
52351 if test "x$USE_RTTI" = "x0" ; then
52355 COND_USE_RTTI_1="#"
52356 if test "x$USE_RTTI" = "x1" ; then
52360 COND_USE_SOTWOSYMLINKS_1="#"
52361 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52362 COND_USE_SOTWOSYMLINKS_1=""
52365 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52366 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52367 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52370 COND_USE_SOVERLINUX_1="#"
52371 if test "x$USE_SOVERLINUX" = "x1" ; then
52372 COND_USE_SOVERLINUX_1=""
52375 COND_USE_SOVERSION_0="#"
52376 if test "x$USE_SOVERSION" = "x0" ; then
52377 COND_USE_SOVERSION_0=""
52380 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52381 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52382 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52385 COND_USE_SOVERSOLARIS_1="#"
52386 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52387 COND_USE_SOVERSOLARIS_1=""
52391 if test "x$USE_STC" = "x1" ; then
52395 COND_USE_THREADS_0="#"
52396 if test "x$USE_THREADS" = "x0" ; then
52397 COND_USE_THREADS_0=""
52400 COND_USE_THREADS_1="#"
52401 if test "x$USE_THREADS" = "x1" ; then
52402 COND_USE_THREADS_1=""
52406 if test "x$USE_XRC" = "x1" ; then
52410 COND_WINDOWS_IMPLIB_1="#"
52411 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52412 COND_WINDOWS_IMPLIB_1=""
52415 COND_WITH_PLUGIN_SDL_1="#"
52416 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52417 COND_WITH_PLUGIN_SDL_1=""
52421 if test "x$WXUNIV" = "x0" ; then
52426 if test "x$WXUNIV" = "x1" ; then
52430 COND_WXUSE_EXPAT_BUILTIN="#"
52431 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52432 COND_WXUSE_EXPAT_BUILTIN=""
52435 COND_WXUSE_LIBJPEG_BUILTIN="#"
52436 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52437 COND_WXUSE_LIBJPEG_BUILTIN=""
52440 COND_WXUSE_LIBPNG_BUILTIN="#"
52441 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52442 COND_WXUSE_LIBPNG_BUILTIN=""
52445 COND_WXUSE_LIBTIFF_BUILTIN="#"
52446 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52447 COND_WXUSE_LIBTIFF_BUILTIN=""
52450 COND_WXUSE_REGEX_BUILTIN="#"
52451 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52452 COND_WXUSE_REGEX_BUILTIN=""
52455 COND_WXUSE_ZLIB_BUILTIN="#"
52456 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52457 COND_WXUSE_ZLIB_BUILTIN=""
52460 COND_wxUSE_EXPAT_builtin="#"
52461 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52462 COND_wxUSE_EXPAT_builtin=""
52465 COND_wxUSE_LIBJPEG_builtin="#"
52466 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52467 COND_wxUSE_LIBJPEG_builtin=""
52470 COND_wxUSE_LIBPNG_builtin="#"
52471 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52472 COND_wxUSE_LIBPNG_builtin=""
52475 COND_wxUSE_LIBTIFF_builtin="#"
52476 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52477 COND_wxUSE_LIBTIFF_builtin=""
52480 COND_wxUSE_REGEX_builtin="#"
52481 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52482 COND_wxUSE_REGEX_builtin=""
52485 COND_wxUSE_ZLIB_builtin="#"
52486 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52487 COND_wxUSE_ZLIB_builtin=""
52492 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52493 { { 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
52494 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;}
52495 { (exit 1); exit 1; }; }
52498 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52499 { { 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
52500 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;}
52501 { (exit 1); exit 1; }; }
52508 ?:* ) # Drive letter, considered as absolute.
52511 INSTALL=`pwd`/${INSTALL} ;;
52514 if test "$wxUSE_GUI" = "yes"; then
52516 if test "$wxUSE_MSW" = 1 ; then
52517 if test "x$WINDRES" = "x"; then
52518 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52519 echo "$as_me: error: Required windres program not found" >&2;}
52520 { (exit 1); exit 1; }; }
52526 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52527 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52528 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52530 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52532 # Extract the first word of "DeRez", so it can be a program name with args.
52533 set dummy DeRez; ac_word=$2
52534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52536 if test "${ac_cv_prog_DEREZ+set}" = set; then
52537 echo $ECHO_N "(cached) $ECHO_C" >&6
52539 if test -n "$DEREZ"; then
52540 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52543 for as_dir in $PATH
52546 test -z "$as_dir" && as_dir=.
52547 for ac_exec_ext in '' $ac_executable_extensions; do
52548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52549 ac_cv_prog_DEREZ="DeRez"
52550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52557 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52560 DEREZ=$ac_cv_prog_DEREZ
52561 if test -n "$DEREZ"; then
52562 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52563 echo "${ECHO_T}$DEREZ" >&6; }
52565 { echo "$as_me:$LINENO: result: no" >&5
52566 echo "${ECHO_T}no" >&6; }
52571 MACSETFILE="\$(SETFILE)"
52573 if test "$wxUSE_OSX_CARBON" = 1; then
52574 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52576 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52578 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52579 RESCOMP="cat /dev/null \| $REZ"
52580 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52586 if test "$wxUSE_PM" = 1; then
52588 WXCONFIG_RESFLAGS="-ep"
52590 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52592 POSTLINK_COMMAND="@true"
52599 if test $GCC_PCH = 1
52601 if test "$wx_cv_gcc_pch_bug" = yes; then
52602 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52603 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52604 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52605 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52606 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52607 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52610 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52611 # the headers that benefit from precompilation are mostly C++ headers.
52612 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52613 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52614 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52618 if test "$wxUSE_MAC" = 1 ; then
52619 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52620 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52626 if test "$wxUSE_SHARED" = "yes"; then
52628 *-pc-os2_emx | *-pc-os2-emx )
52629 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52630 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52631 cp -p ${srcdir}/src/os2/dllnames.sh .
52632 cp -p ${srcdir}/src/os2/dllar.sh .
52636 if test "$wxUSE_OMF" = "yes"; then
52638 *-pc-os2_emx | *-pc-os2-emx )
52639 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52640 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52641 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52646 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52651 if test "$GCC" = yes; then
52652 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52653 LIBS=`echo $LIBS | sed 's/-mt//'`
52654 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52659 if test "x$SUNCXX" = xyes; then
52660 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52661 LIBS=`echo $LIBS | sed 's/-pthread//'`
52662 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52667 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52668 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52669 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52670 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52672 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52733 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52734 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52735 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52736 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52737 echo $ECHO_N "(cached) $ECHO_C" >&6
52739 cat >conftest.make <<\_ACEOF
52742 @echo '@@@%%%=$(MAKE)=@@@%%%'
52744 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52745 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52746 *@@@%%%=?*=@@@%%%*)
52747 eval ac_cv_prog_make_${ac_make}_set=yes;;
52749 eval ac_cv_prog_make_${ac_make}_set=no;;
52751 rm -f conftest.make
52753 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52754 { echo "$as_me:$LINENO: result: yes" >&5
52755 echo "${ECHO_T}yes" >&6; }
52758 { echo "$as_me:$LINENO: result: no" >&5
52759 echo "${ECHO_T}no" >&6; }
52760 SET_MAKE="MAKE=${MAKE-make}"
52765 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52768 if test "$USE_WIN32" = 1; then
52769 ac_config_commands="$ac_config_commands rcdefs.h"
52773 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52776 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52779 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52782 if test "$wx_cv_version_script" = "yes"; then
52783 ac_config_files="$ac_config_files version-script"
52786 ac_config_files="$ac_config_files Makefile"
52789 ac_config_commands="$ac_config_commands wx-config"
52793 if test "$wxWITH_SUBDIRS" != "no"; then
52794 if test "$wxUSE_GUI" = "yes"; then
52795 SUBDIRS="samples demos utils"
52797 SUBDIRS="samples utils"
52802 # Check whether --with-cppunit-prefix was given.
52803 if test "${with_cppunit_prefix+set}" = set; then
52804 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52806 cppunit_config_prefix=""
52810 # Check whether --with-cppunit-exec-prefix was given.
52811 if test "${with_cppunit_exec_prefix+set}" = set; then
52812 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52814 cppunit_config_exec_prefix=""
52818 if test x$cppunit_config_exec_prefix != x ; then
52819 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52820 if test x${CPPUNIT_CONFIG+set} != xset ; then
52821 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52824 if test x$cppunit_config_prefix != x ; then
52825 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52826 if test x${CPPUNIT_CONFIG+set} != xset ; then
52827 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52831 # Extract the first word of "cppunit-config", so it can be a program name with args.
52832 set dummy cppunit-config; ac_word=$2
52833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52835 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52836 echo $ECHO_N "(cached) $ECHO_C" >&6
52838 case $CPPUNIT_CONFIG in
52840 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52844 for as_dir in $PATH
52847 test -z "$as_dir" && as_dir=.
52848 for ac_exec_ext in '' $ac_executable_extensions; do
52849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52850 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52858 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52862 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52863 if test -n "$CPPUNIT_CONFIG"; then
52864 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52865 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52867 { echo "$as_me:$LINENO: result: no" >&5
52868 echo "${ECHO_T}no" >&6; }
52872 cppunit_version_min=1.8.0
52874 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52875 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52877 if test "$CPPUNIT_CONFIG" = "no" ; then
52878 { echo "$as_me:$LINENO: result: no" >&5
52879 echo "${ECHO_T}no" >&6; }
52882 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52883 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52884 cppunit_version=`$CPPUNIT_CONFIG --version`
52886 cppunit_major_version=`echo $cppunit_version | \
52887 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52888 cppunit_minor_version=`echo $cppunit_version | \
52889 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52890 cppunit_micro_version=`echo $cppunit_version | \
52891 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52893 cppunit_major_min=`echo $cppunit_version_min | \
52894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52895 cppunit_minor_min=`echo $cppunit_version_min | \
52896 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52897 cppunit_micro_min=`echo $cppunit_version_min | \
52898 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52900 cppunit_version_proper=`expr \
52901 $cppunit_major_version \> $cppunit_major_min \| \
52902 $cppunit_major_version \= $cppunit_major_min \& \
52903 $cppunit_minor_version \> $cppunit_minor_min \| \
52904 $cppunit_major_version \= $cppunit_major_min \& \
52905 $cppunit_minor_version \= $cppunit_minor_min \& \
52906 $cppunit_micro_version \>= $cppunit_micro_min `
52908 if test "$cppunit_version_proper" = "1" ; then
52909 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52910 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52912 { echo "$as_me:$LINENO: result: no" >&5
52913 echo "${ECHO_T}no" >&6; }
52918 if test "x$no_cppunit" = x ; then
52919 SUBDIRS="$SUBDIRS tests"
52930 for subdir in $SUBDIRS; do
52931 if test -d ${srcdir}/${subdir} ; then
52932 if test "$wxUSE_GUI" = "yes"; then
52933 if test ${subdir} = "samples"; then
52934 makefiles="samples/Makefile.in $makefiles"
52935 for sample in $SAMPLES_SUBDIRS; do
52936 if test -d $srcdir/samples/$sample; then
52937 makefiles="samples/$sample/Makefile.in $makefiles"
52941 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52942 eval "disabled=\$$disabled_var"
52943 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52944 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52947 if test ${subdir} = "samples"; then
52948 makefiles="samples/Makefile.in $makefiles"
52949 for sample in `echo $SAMPLES_SUBDIRS`; do
52950 if test -d $srcdir/samples/$sample; then
52951 makefiles="samples/$sample/Makefile.in $makefiles"
52954 elif test ${subdir} = "utils"; then
52956 for util in ifacecheck ; do
52957 if test -d $srcdir/utils/$util ; then
52958 makefiles="utils/$util/src/Makefile.in \
52963 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52967 for mkin in $makefiles ; do
52968 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52969 ac_config_files="$ac_config_files $mk"
52975 cat >confcache <<\_ACEOF
52976 # This file is a shell script that caches the results of configure
52977 # tests run on this system so they can be shared between configure
52978 # scripts and configure runs, see configure's option --config-cache.
52979 # It is not useful on other systems. If it contains results you don't
52980 # want to keep, you may remove or edit it.
52982 # config.status only pays attention to the cache file if you give it
52983 # the --recheck option to rerun configure.
52985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52987 # following values.
52991 # The following way of writing the cache mishandles newlines in values,
52992 # but we know of no workaround that is simple, portable, and efficient.
52993 # So, we kill variables containing newlines.
52994 # Ultrix sh set writes to stderr and can't be redirected directly,
52995 # and sets the high bit in the cache file unless we assign to the vars.
52997 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52998 eval ac_val=\$$ac_var
53002 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53003 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53006 _ | IFS | as_nl) ;; #(
53007 *) $as_unset $ac_var ;;
53013 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53014 *${as_nl}ac_space=\ *)
53015 # `set' does not quote correctly, so add quotes (double-quote
53016 # substitution turns \\\\ into \\, and sed turns \\ into \).
53019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53022 # `set' quotes correctly as required by POSIX, so do not add quotes.
53023 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53032 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53034 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53036 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53037 if test -w "$cache_file"; then
53038 test "x$cache_file" != "x/dev/null" &&
53039 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53040 echo "$as_me: updating cache $cache_file" >&6;}
53041 cat confcache >$cache_file
53043 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53044 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53049 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53050 # Let make expand exec_prefix.
53051 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53053 DEFS=-DHAVE_CONFIG_H
53057 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53058 # 1. Remove the extension, and $U if already installed.
53059 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53060 ac_i=`echo "$ac_i" | sed "$ac_script"`
53061 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53062 # will be set to the directory where LIBOBJS objects are built.
53063 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53064 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53066 LIBOBJS=$ac_libobjs
53068 LTLIBOBJS=$ac_ltlibobjs
53072 : ${CONFIG_STATUS=./config.status}
53073 ac_clean_files_save=$ac_clean_files
53074 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53075 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53076 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53077 cat >$CONFIG_STATUS <<_ACEOF
53079 # Generated by $as_me.
53080 # Run this file to recreate the current configuration.
53081 # Compiler output produced by configure, useful for debugging
53082 # configure, is in config.log if it exists.
53085 ac_cs_recheck=false
53087 SHELL=\${CONFIG_SHELL-$SHELL}
53090 cat >>$CONFIG_STATUS <<\_ACEOF
53091 ## --------------------- ##
53092 ## M4sh Initialization. ##
53093 ## --------------------- ##
53095 # Be more Bourne compatible
53096 DUALCASE=1; export DUALCASE # for MKS sh
53097 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53100 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53101 # is contrary to our usage. Disable this feature.
53102 alias -g '${1+"$@"}'='"$@"'
53103 setopt NO_GLOB_SUBST
53105 case `(set -o) 2>/dev/null` in
53106 *posix*) set -o posix ;;
53115 # Avoid depending upon Character Ranges.
53116 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53117 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53118 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53119 as_cr_digits='0123456789'
53120 as_cr_alnum=$as_cr_Letters$as_cr_digits
53122 # The user is always right.
53123 if test "${PATH_SEPARATOR+set}" != set; then
53124 echo "#! /bin/sh" >conf$$.sh
53125 echo "exit 0" >>conf$$.sh
53127 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53135 # Support unset when possible.
53136 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53144 # We need space, tab and new line, in precisely that order. Quoting is
53145 # there to prevent editors from complaining about space-tab.
53146 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53147 # splitting by setting IFS to empty value.)
53152 # Find who we are. Look in the path if we contain no directory separator.
53154 *[\\/]* ) as_myself=$0 ;;
53155 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53156 for as_dir in $PATH
53159 test -z "$as_dir" && as_dir=.
53160 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53166 # We did not find ourselves, most probably we were run as `sh COMMAND'
53167 # in which case we are not to be found in the path.
53168 if test "x$as_myself" = x; then
53171 if test ! -f "$as_myself"; then
53172 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53173 { (exit 1); exit 1; }
53176 # Work around bugs in pre-3.0 UWIN ksh.
53177 for as_var in ENV MAIL MAILPATH
53178 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53186 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53187 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53188 LC_TELEPHONE LC_TIME
53190 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53191 eval $as_var=C; export $as_var
53193 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53197 # Required to use basename.
53198 if expr a : '\(a\)' >/dev/null 2>&1 &&
53199 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53206 as_basename=basename
53212 # Name of the executable.
53213 as_me=`$as_basename -- "$0" ||
53214 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53215 X"$0" : 'X\(//\)$' \| \
53216 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53218 sed '/^.*\/\([^/][^/]*\)\/*$/{
53237 as_lineno_1=$LINENO
53238 as_lineno_2=$LINENO
53239 test "x$as_lineno_1" != "x$as_lineno_2" &&
53240 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53242 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53243 # uniformly replaced by the line number. The first 'sed' inserts a
53244 # line-number line after each line using $LINENO; the second 'sed'
53245 # does the real work. The second script uses 'N' to pair each
53246 # line-number line with the line containing $LINENO, and appends
53247 # trailing '-' during substitution so that $LINENO is not a special
53248 # case at line end.
53249 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53250 # scripts with optimization help from Paolo Bonzini. Blame Lee
53251 # E. McMahon (1931-1989) for sed's syntax. :-)
53263 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53266 ' >$as_me.lineno &&
53267 chmod +x "$as_me.lineno" ||
53268 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53269 { (exit 1); exit 1; }; }
53271 # Don't try to exec as it changes $[0], causing all sort of problems
53272 # (the dirname of $[0] is not the place where we might find the
53273 # original and so on. Autoconf is especially sensitive to this).
53274 . "./$as_me.lineno"
53275 # Exit status is that of the last command.
53280 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53286 ECHO_C= ECHO_N= ECHO_T=
53287 case `echo -n x` in
53289 case `echo 'x\c'` in
53290 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53297 if expr a : '\(a\)' >/dev/null 2>&1 &&
53298 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53304 rm -f conf$$ conf$$.exe conf$$.file
53305 if test -d conf$$.dir; then
53306 rm -f conf$$.dir/conf$$.file
53312 if ln -s conf$$.file conf$$ 2>/dev/null; then
53314 # ... but there are two gotchas:
53315 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53316 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53317 # In both cases, we have to default to `cp -p'.
53318 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53320 elif ln conf$$.file conf$$ 2>/dev/null; then
53325 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53326 rmdir conf$$.dir 2>/dev/null
53328 if mkdir -p . 2>/dev/null; then
53331 test -d ./-p && rmdir ./-p
53335 if test -x / >/dev/null 2>&1; then
53336 as_test_x='test -x'
53338 if ls -dL / >/dev/null 2>&1; then
53345 if test -d "$1"; then
53351 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53352 ???[sx]*):;;*)false;;esac;fi
53356 as_executable_p=$as_test_x
53358 # Sed expression to map a string onto a valid CPP name.
53359 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53361 # Sed expression to map a string onto a valid variable name.
53362 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53367 # Save the log message, to keep $[0] and so on meaningful, and to
53368 # report actual input values of CONFIG_FILES etc. instead of their
53369 # values after options handling.
53371 This file was extended by wxWidgets $as_me 2.9.2, which was
53372 generated by GNU Autoconf 2.61. Invocation command line was
53374 CONFIG_FILES = $CONFIG_FILES
53375 CONFIG_HEADERS = $CONFIG_HEADERS
53376 CONFIG_LINKS = $CONFIG_LINKS
53377 CONFIG_COMMANDS = $CONFIG_COMMANDS
53380 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53385 cat >>$CONFIG_STATUS <<_ACEOF
53386 # Files that config.status was made for.
53387 config_files="$ac_config_files"
53388 config_headers="$ac_config_headers"
53389 config_commands="$ac_config_commands"
53393 cat >>$CONFIG_STATUS <<\_ACEOF
53395 \`$as_me' instantiates files from templates according to the
53396 current configuration.
53398 Usage: $0 [OPTIONS] [FILE]...
53400 -h, --help print this help, then exit
53401 -V, --version print version number and configuration settings, then exit
53402 -q, --quiet do not print progress messages
53403 -d, --debug don't remove temporary files
53404 --recheck update $as_me by reconfiguring in the same conditions
53405 --file=FILE[:TEMPLATE]
53406 instantiate the configuration file FILE
53407 --header=FILE[:TEMPLATE]
53408 instantiate the configuration header FILE
53410 Configuration files:
53413 Configuration headers:
53416 Configuration commands:
53419 Report bugs to <bug-autoconf@gnu.org>."
53422 cat >>$CONFIG_STATUS <<_ACEOF
53424 wxWidgets config.status 2.9.2
53425 configured by $0, generated by GNU Autoconf 2.61,
53426 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53428 Copyright (C) 2006 Free Software Foundation, Inc.
53429 This config.status script is free software; the Free Software Foundation
53430 gives unlimited permission to copy, distribute and modify it."
53437 cat >>$CONFIG_STATUS <<\_ACEOF
53438 # If no file are specified by the user, then we need to provide default
53439 # value. By we need to know if files were specified by the user.
53445 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53446 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53457 # Handling of the options.
53458 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53460 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53461 echo "$ac_cs_version"; exit ;;
53462 --debug | --debu | --deb | --de | --d | -d )
53464 --file | --fil | --fi | --f )
53466 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53467 ac_need_defaults=false;;
53468 --header | --heade | --head | --hea )
53470 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53471 ac_need_defaults=false;;
53473 # Conflict between --help and --header
53474 { echo "$as_me: error: ambiguous option: $1
53475 Try \`$0 --help' for more information." >&2
53476 { (exit 1); exit 1; }; };;
53477 --help | --hel | -h )
53478 echo "$ac_cs_usage"; exit ;;
53479 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53480 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53483 # This is an error.
53484 -*) { echo "$as_me: error: unrecognized option: $1
53485 Try \`$0 --help' for more information." >&2
53486 { (exit 1); exit 1; }; } ;;
53488 *) ac_config_targets="$ac_config_targets $1"
53489 ac_need_defaults=false ;;
53495 ac_configure_extra_args=
53497 if $ac_cs_silent; then
53499 ac_configure_extra_args="$ac_configure_extra_args --silent"
53503 cat >>$CONFIG_STATUS <<_ACEOF
53504 if \$ac_cs_recheck; then
53505 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53506 CONFIG_SHELL=$SHELL
53507 export CONFIG_SHELL
53508 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53512 cat >>$CONFIG_STATUS <<\_ACEOF
53516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53517 ## Running $as_me. ##
53523 cat >>$CONFIG_STATUS <<_ACEOF
53529 infile="$srcdir/include/wx/msw/genrcdefs.h"
53530 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53533 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53534 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53535 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53541 cat >>$CONFIG_STATUS <<\_ACEOF
53543 # Handling of arguments.
53544 for ac_config_target in $ac_config_targets
53546 case $ac_config_target in
53547 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53548 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53549 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53550 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53551 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53552 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53553 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53554 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53555 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53557 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53558 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53559 { (exit 1); exit 1; }; };;
53564 # If the user did not use the arguments to specify the items to instantiate,
53565 # then the envvar interface is used. Set only those that are not.
53566 # We use the long form for the default assignment because of an extremely
53567 # bizarre bug on SunOS 4.1.3.
53568 if $ac_need_defaults; then
53569 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53570 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53571 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53574 # Have a temporary directory for convenience. Make it in the build tree
53575 # simply because there is no reason against having it here, and in addition,
53576 # creating and moving files from /tmp can sometimes cause problems.
53577 # Hook for its removal unless debugging.
53578 # Note that there is a small window in which the directory will not be cleaned:
53579 # after its creation but before its name has been assigned to `$tmp'.
53583 trap 'exit_status=$?
53584 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53586 trap '{ (exit 1); exit 1; }' 1 2 13 15
53588 # Create a (secure) tmp directory for tmp files.
53591 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53592 test -n "$tmp" && test -d "$tmp"
53595 tmp=./conf$$-$RANDOM
53596 (umask 077 && mkdir "$tmp")
53599 echo "$me: cannot create a temporary directory in ." >&2
53600 { (exit 1); exit 1; }
53604 # Set up the sed scripts for CONFIG_FILES section.
53607 # No need to generate the scripts if there are no CONFIG_FILES.
53608 # This happens for instance when ./config.status config.h
53609 if test -n "$CONFIG_FILES"; then
53616 for ac_last_try in false false false false false :; do
53617 cat >conf$$subs.sed <<_ACEOF
53618 SHELL!$SHELL$ac_delim
53619 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53620 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53621 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53622 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53623 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53624 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53625 exec_prefix!$exec_prefix$ac_delim
53626 prefix!$prefix$ac_delim
53627 program_transform_name!$program_transform_name$ac_delim
53628 bindir!$bindir$ac_delim
53629 sbindir!$sbindir$ac_delim
53630 libexecdir!$libexecdir$ac_delim
53631 datarootdir!$datarootdir$ac_delim
53632 datadir!$datadir$ac_delim
53633 sysconfdir!$sysconfdir$ac_delim
53634 sharedstatedir!$sharedstatedir$ac_delim
53635 localstatedir!$localstatedir$ac_delim
53636 includedir!$includedir$ac_delim
53637 oldincludedir!$oldincludedir$ac_delim
53638 docdir!$docdir$ac_delim
53639 infodir!$infodir$ac_delim
53640 htmldir!$htmldir$ac_delim
53641 dvidir!$dvidir$ac_delim
53642 pdfdir!$pdfdir$ac_delim
53643 psdir!$psdir$ac_delim
53644 libdir!$libdir$ac_delim
53645 localedir!$localedir$ac_delim
53646 mandir!$mandir$ac_delim
53647 DEFS!$DEFS$ac_delim
53648 ECHO_C!$ECHO_C$ac_delim
53649 ECHO_N!$ECHO_N$ac_delim
53650 ECHO_T!$ECHO_T$ac_delim
53651 LIBS!$LIBS$ac_delim
53652 build_alias!$build_alias$ac_delim
53653 host_alias!$host_alias$ac_delim
53654 target_alias!$target_alias$ac_delim
53655 build!$build$ac_delim
53656 build_cpu!$build_cpu$ac_delim
53657 build_vendor!$build_vendor$ac_delim
53658 build_os!$build_os$ac_delim
53659 host!$host$ac_delim
53660 host_cpu!$host_cpu$ac_delim
53661 host_vendor!$host_vendor$ac_delim
53662 host_os!$host_os$ac_delim
53663 wx_top_builddir!$wx_top_builddir$ac_delim
53665 CFLAGS!$CFLAGS$ac_delim
53666 LDFLAGS!$LDFLAGS$ac_delim
53667 CPPFLAGS!$CPPFLAGS$ac_delim
53668 ac_ct_CC!$ac_ct_CC$ac_delim
53669 EXEEXT!$EXEEXT$ac_delim
53670 OBJEXT!$OBJEXT$ac_delim
53672 GREP!$GREP$ac_delim
53673 EGREP!$EGREP$ac_delim
53675 CXXFLAGS!$CXXFLAGS$ac_delim
53676 ac_ct_CXX!$ac_ct_CXX$ac_delim
53678 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53679 CXXCPP!$CXXCPP$ac_delim
53680 subdirs!$subdirs$ac_delim
53681 PKG_CONFIG!$PKG_CONFIG$ac_delim
53682 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53683 GTK_LIBS!$GTK_LIBS$ac_delim
53684 GTK_CONFIG!$GTK_CONFIG$ac_delim
53685 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53686 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53687 XMKMF!$XMKMF$ac_delim
53688 X_CFLAGS!$X_CFLAGS$ac_delim
53689 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53690 X_LIBS!$X_LIBS$ac_delim
53691 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53692 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53693 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53694 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53695 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53696 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53697 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53698 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53699 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53700 LIBICONV!$LIBICONV$ac_delim
53701 GXX_VERSION!$GXX_VERSION$ac_delim
53702 SDL_CONFIG!$SDL_CONFIG$ac_delim
53703 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53704 SDL_LIBS!$SDL_LIBS$ac_delim
53705 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53706 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53707 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53708 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53709 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53710 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53711 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53712 HILDON_LIBS!$HILDON_LIBS$ac_delim
53713 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53714 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53717 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53719 elif $ac_last_try; then
53720 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53721 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53722 { (exit 1); exit 1; }; }
53724 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53728 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53729 if test -n "$ac_eof"; then
53730 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53731 ac_eof=`expr $ac_eof + 1`
53734 cat >>$CONFIG_STATUS <<_ACEOF
53735 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53739 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53740 s/^/s,@/; s/!/@,|#_!!_#|/
53743 s/'"$ac_delim"'$/,g/; t
53745 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53746 ' >>$CONFIG_STATUS <conf$$subs.sed
53747 rm -f conf$$subs.sed
53748 cat >>$CONFIG_STATUS <<_ACEOF
53754 for ac_last_try in false false false false false :; do
53755 cat >conf$$subs.sed <<_ACEOF
53756 PYTHON!$PYTHON$ac_delim
53757 COND_PYTHON!$COND_PYTHON$ac_delim
53758 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53759 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53760 GST_CFLAGS!$GST_CFLAGS$ac_delim
53761 GST_LIBS!$GST_LIBS$ac_delim
53762 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53763 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53764 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53765 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53766 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53767 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53768 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53769 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53770 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53771 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53772 VENDOR!$VENDOR$ac_delim
53773 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53774 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53775 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53776 WXUNIV!$WXUNIV$ac_delim
53777 MONOLITHIC!$MONOLITHIC$ac_delim
53778 USE_PLUGINS!$USE_PLUGINS$ac_delim
53779 CXXWARNINGS!$CXXWARNINGS$ac_delim
53780 EXTRALIBS!$EXTRALIBS$ac_delim
53781 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53782 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53783 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53784 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53785 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53786 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53787 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53788 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53789 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53790 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53791 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53792 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53793 UNICODE!$UNICODE$ac_delim
53794 DEBUG_INFO!$DEBUG_INFO$ac_delim
53795 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53796 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53797 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53798 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53799 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53800 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53801 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53802 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53803 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53804 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53805 RANLIB!$RANLIB$ac_delim
53806 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53807 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53808 INSTALL_DATA!$INSTALL_DATA$ac_delim
53809 LN_S!$LN_S$ac_delim
53810 SET_MAKE!$SET_MAKE$ac_delim
53811 MAKE_SET!$MAKE_SET$ac_delim
53812 AROPTIONS!$AROPTIONS$ac_delim
53813 STRIP!$STRIP$ac_delim
53815 INSTALL_DIR!$INSTALL_DIR$ac_delim
53816 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53817 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53818 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53819 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53820 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53821 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53822 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53823 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53824 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53825 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53826 SO_SUFFIX!$SO_SUFFIX$ac_delim
53827 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53828 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53829 LIBPREFIX!$LIBPREFIX$ac_delim
53830 LIBEXT!$LIBEXT$ac_delim
53831 DLLPREFIX!$DLLPREFIX$ac_delim
53832 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53833 dlldir!$dlldir$ac_delim
53834 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53835 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53836 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53837 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53838 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53839 PIC_FLAG!$PIC_FLAG$ac_delim
53840 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53841 USE_SOVERSION!$USE_SOVERSION$ac_delim
53842 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53843 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53844 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53845 USE_MACVERSION!$USE_MACVERSION$ac_delim
53846 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53847 SONAME_FLAG!$SONAME_FLAG$ac_delim
53848 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53849 BK_DEPS!$BK_DEPS$ac_delim
53850 WINDRES!$WINDRES$ac_delim
53852 SETFILE!$SETFILE$ac_delim
53855 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53857 elif $ac_last_try; then
53858 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53859 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53860 { (exit 1); exit 1; }; }
53862 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53866 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53867 if test -n "$ac_eof"; then
53868 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53869 ac_eof=`expr $ac_eof + 1`
53872 cat >>$CONFIG_STATUS <<_ACEOF
53873 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53874 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53877 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53878 s/^/s,@/; s/!/@,|#_!!_#|/
53881 s/'"$ac_delim"'$/,g/; t
53883 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53884 ' >>$CONFIG_STATUS <conf$$subs.sed
53885 rm -f conf$$subs.sed
53886 cat >>$CONFIG_STATUS <<_ACEOF
53892 for ac_last_try in false false false false false :; do
53893 cat >conf$$subs.sed <<_ACEOF
53894 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53895 GCC_PCH!$GCC_PCH$ac_delim
53896 ICC_PCH!$ICC_PCH$ac_delim
53897 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53898 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53899 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53900 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53901 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53902 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53903 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53904 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53905 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53906 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53907 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53908 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53909 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53910 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53911 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53912 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53913 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53914 COND_BUILD_release!$COND_BUILD_release$ac_delim
53915 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53916 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53917 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53918 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53919 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53920 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53921 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53922 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53923 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53924 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53925 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53926 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53927 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53928 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53929 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53931 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53932 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53933 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53934 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53935 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53936 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53937 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53938 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53939 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53943 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53944 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53945 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53946 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53947 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53948 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53949 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53950 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53951 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53952 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53953 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53954 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53955 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53956 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53957 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53958 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53959 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53960 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53961 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53962 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53963 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53964 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53965 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53966 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53967 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53968 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53969 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53970 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53971 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
53972 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53973 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
53974 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53975 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
53976 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53977 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53978 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53979 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53980 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53981 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53982 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53983 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53984 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53985 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53986 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53987 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53988 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53989 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53990 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53993 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53995 elif $ac_last_try; then
53996 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53997 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53998 { (exit 1); exit 1; }; }
54000 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54004 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54005 if test -n "$ac_eof"; then
54006 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54007 ac_eof=`expr $ac_eof + 1`
54010 cat >>$CONFIG_STATUS <<_ACEOF
54011 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54012 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54015 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54016 s/^/s,@/; s/!/@,|#_!!_#|/
54019 s/'"$ac_delim"'$/,g/; t
54021 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54022 ' >>$CONFIG_STATUS <conf$$subs.sed
54023 rm -f conf$$subs.sed
54024 cat >>$CONFIG_STATUS <<_ACEOF
54030 for ac_last_try in false false false false false :; do
54031 cat >conf$$subs.sed <<_ACEOF
54032 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54033 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54034 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54035 COND_SHARED_0!$COND_SHARED_0$ac_delim
54036 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54037 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54038 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54039 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54040 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54041 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54042 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54043 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54044 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54045 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54046 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54047 COND_SHARED_1!$COND_SHARED_1$ac_delim
54048 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54049 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54050 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54051 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54052 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54053 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54054 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54055 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54056 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54057 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54058 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54059 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54060 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54061 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54062 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54063 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54064 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54065 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54066 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54067 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54068 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54069 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54070 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54071 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54072 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54073 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54074 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54075 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54076 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54077 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54078 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54079 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54080 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54081 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54082 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54083 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54084 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54085 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54086 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54087 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54088 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54089 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54090 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54091 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54092 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54093 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54094 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54095 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54096 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54097 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54098 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54099 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54100 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54101 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54102 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54103 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54104 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54105 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54106 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54107 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54108 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54109 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54110 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54111 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54112 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54113 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54114 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54115 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54116 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54117 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54118 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54119 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54120 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54121 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54122 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54123 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54124 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54125 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54126 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54127 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54128 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54131 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54133 elif $ac_last_try; then
54134 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54135 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54136 { (exit 1); exit 1; }; }
54138 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54142 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54143 if test -n "$ac_eof"; then
54144 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54145 ac_eof=`expr $ac_eof + 1`
54148 cat >>$CONFIG_STATUS <<_ACEOF
54149 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54150 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54153 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54154 s/^/s,@/; s/!/@,|#_!!_#|/
54157 s/'"$ac_delim"'$/,g/; t
54159 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54160 ' >>$CONFIG_STATUS <conf$$subs.sed
54161 rm -f conf$$subs.sed
54162 cat >>$CONFIG_STATUS <<_ACEOF
54168 for ac_last_try in false false false false false :; do
54169 cat >conf$$subs.sed <<_ACEOF
54170 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54171 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54172 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54173 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54174 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54175 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54176 DEREZ!$DEREZ$ac_delim
54177 SHARED!$SHARED$ac_delim
54178 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54179 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54180 USE_GUI!$USE_GUI$ac_delim
54181 AFMINSTALL!$AFMINSTALL$ac_delim
54182 WIN32INSTALL!$WIN32INSTALL$ac_delim
54183 TOOLKIT!$TOOLKIT$ac_delim
54184 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54185 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54186 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54187 cross_compiling!$cross_compiling$ac_delim
54188 WIDGET_SET!$WIDGET_SET$ac_delim
54189 WX_RELEASE!$WX_RELEASE$ac_delim
54190 WX_VERSION!$WX_VERSION$ac_delim
54191 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54192 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54193 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54194 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54195 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54196 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54197 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54198 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54199 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54200 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54201 GUIDIST!$GUIDIST$ac_delim
54202 DISTDIR!$DISTDIR$ac_delim
54203 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54204 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54205 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54206 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54207 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54208 RESCOMP!$RESCOMP$ac_delim
54209 RESFLAGS!$RESFLAGS$ac_delim
54210 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54211 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54212 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54213 LIBWXMACRES!$LIBWXMACRES$ac_delim
54214 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54215 MACSETFILE!$MACSETFILE$ac_delim
54217 DLLTOOL!$DLLTOOL$ac_delim
54218 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54219 LIBOBJS!$LIBOBJS$ac_delim
54220 LTLIBOBJS!$LTLIBOBJS$ac_delim
54223 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54225 elif $ac_last_try; then
54226 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54227 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54228 { (exit 1); exit 1; }; }
54230 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54234 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54235 if test -n "$ac_eof"; then
54236 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54237 ac_eof=`expr $ac_eof + 1`
54240 cat >>$CONFIG_STATUS <<_ACEOF
54241 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54242 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54245 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54246 s/^/s,@/; s/!/@,|#_!!_#|/
54249 s/'"$ac_delim"'$/,g/; t
54251 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54252 ' >>$CONFIG_STATUS <conf$$subs.sed
54253 rm -f conf$$subs.sed
54254 cat >>$CONFIG_STATUS <<_ACEOF
54261 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54262 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54263 # trailing colons and then remove the whole line if VPATH becomes empty
54264 # (actually we leave an empty line to preserve line numbers).
54265 if test "x$srcdir" = x.; then
54266 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54267 s/:*\$(srcdir):*/:/
54268 s/:*\${srcdir}:*/:/
54270 s/^\([^=]*=[ ]*\):*/\1/
54276 cat >>$CONFIG_STATUS <<\_ACEOF
54277 fi # test -n "$CONFIG_FILES"
54280 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54283 :[FHLC]) ac_mode=$ac_tag; continue;;
54285 case $ac_mode$ac_tag in
54287 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54288 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54289 { (exit 1); exit 1; }; };;
54290 :[FH]-) ac_tag=-:-;;
54291 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54308 -) ac_f="$tmp/stdin";;
54309 *) # Look for the file first in the build tree, then in the source tree
54310 # (if the path is not absolute). The absolute path cannot be DOS-style,
54311 # because $ac_f cannot contain `:'.
54315 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54317 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54318 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54319 { (exit 1); exit 1; }; };;
54321 ac_file_inputs="$ac_file_inputs $ac_f"
54324 # Let's still pretend it is `configure' which instantiates (i.e., don't
54325 # use $as_me), people would be surprised to read:
54326 # /* config.h. Generated by config.status. */
54327 configure_input="Generated from "`IFS=:
54328 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54329 if test x"$ac_file" != x-; then
54330 configure_input="$ac_file. $configure_input"
54331 { echo "$as_me:$LINENO: creating $ac_file" >&5
54332 echo "$as_me: creating $ac_file" >&6;}
54336 *:-:* | *:-) cat >"$tmp/stdin";;
54341 ac_dir=`$as_dirname -- "$ac_file" ||
54342 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54343 X"$ac_file" : 'X\(//\)[^/]' \| \
54344 X"$ac_file" : 'X\(//\)$' \| \
54345 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54351 /^X\(\/\/\)[^/].*/{
54366 -*) as_dir=./$as_dir;;
54368 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54372 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54373 *) as_qdir=$as_dir;;
54375 as_dirs="'$as_qdir' $as_dirs"
54376 as_dir=`$as_dirname -- "$as_dir" ||
54377 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54378 X"$as_dir" : 'X\(//\)[^/]' \| \
54379 X"$as_dir" : 'X\(//\)$' \| \
54380 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54386 /^X\(\/\/\)[^/].*/{
54399 test -d "$as_dir" && break
54401 test -z "$as_dirs" || eval "mkdir $as_dirs"
54402 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54403 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54404 { (exit 1); exit 1; }; }; }
54408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54410 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54411 # A ".." for each directory in $ac_dir_suffix.
54412 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54413 case $ac_top_builddir_sub in
54414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54418 ac_abs_top_builddir=$ac_pwd
54419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54420 # for backward compatibility:
54421 ac_top_builddir=$ac_top_build_prefix
54424 .) # We are building in place.
54426 ac_top_srcdir=$ac_top_builddir_sub
54427 ac_abs_top_srcdir=$ac_pwd ;;
54428 [\\/]* | ?:[\\/]* ) # Absolute name.
54429 ac_srcdir=$srcdir$ac_dir_suffix;
54430 ac_top_srcdir=$srcdir
54431 ac_abs_top_srcdir=$srcdir ;;
54432 *) # Relative name.
54433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54434 ac_top_srcdir=$ac_top_build_prefix$srcdir
54435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54447 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54448 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54452 cat >>$CONFIG_STATUS <<\_ACEOF
54453 # If the template does not know about datarootdir, expand it.
54454 # FIXME: This hack should be removed a few years after 2.60.
54455 ac_datarootdir_hack=; ac_datarootdir_seen=
54457 case `sed -n '/datarootdir/ {
54466 ' $ac_file_inputs` in
54467 *datarootdir*) ac_datarootdir_seen=yes;;
54468 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54469 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54470 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54472 cat >>$CONFIG_STATUS <<_ACEOF
54473 ac_datarootdir_hack='
54474 s&@datadir@&$datadir&g
54475 s&@docdir@&$docdir&g
54476 s&@infodir@&$infodir&g
54477 s&@localedir@&$localedir&g
54478 s&@mandir@&$mandir&g
54479 s&\\\${datarootdir}&$datarootdir&g' ;;
54483 # Neutralize VPATH when `$srcdir' = `.'.
54484 # Shell code in configure.ac might set extrasub.
54485 # FIXME: do we really want to maintain this feature?
54486 cat >>$CONFIG_STATUS <<_ACEOF
54490 cat >>$CONFIG_STATUS <<\_ACEOF
54492 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54493 s&@configure_input@&$configure_input&;t t
54494 s&@top_builddir@&$ac_top_builddir_sub&;t t
54495 s&@srcdir@&$ac_srcdir&;t t
54496 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54497 s&@top_srcdir@&$ac_top_srcdir&;t t
54498 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54499 s&@builddir@&$ac_builddir&;t t
54500 s&@abs_builddir@&$ac_abs_builddir&;t t
54501 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54502 s&@INSTALL@&$ac_INSTALL&;t t
54503 $ac_datarootdir_hack
54504 " $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
54506 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54507 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54508 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54509 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54510 which seems to be undefined. Please make sure it is defined." >&5
54511 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54512 which seems to be undefined. Please make sure it is defined." >&2;}
54516 -) cat "$tmp/out"; rm -f "$tmp/out";;
54517 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54526 # Transform confdefs.h into a sed script `conftest.defines', that
54527 # substitutes the proper values into config.h.in to produce config.h.
54528 rm -f conftest.defines conftest.tail
54529 # First, append a space to every undef/define line, to ease matching.
54530 echo 's/$/ /' >conftest.defines
54531 # Then, protect against being on the right side of a sed subst, or in
54532 # an unquoted here document, in config.status. If some macros were
54533 # called several times there might be several #defines for the same
54534 # symbol, which is useless. But do not sort them, since the last
54535 # AC_DEFINE must be honored.
54536 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54537 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54538 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54539 # PARAMS is the parameter list in the macro definition--in most cases, it's
54540 # just an empty string.
54541 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54542 ac_dB='\\)[ (].*,\\1define\\2'
54550 s/^[ ]*#[ ]*define[ ][ ]*//
54555 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54556 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54557 ' >>conftest.defines
54559 # Remove the space that was appended to ease matching.
54560 # Then replace #undef with comments. This is necessary, for
54561 # example, in the case of _POSIX_SOURCE, which is predefined and required
54562 # on some systems where configure will not decide to define it.
54563 # (The regexp can be short, since the line contains either #define or #undef.)
54565 s,^[ #]*u.*,/* & */,' >>conftest.defines
54567 # Break up conftest.defines:
54568 ac_max_sed_lines=50
54570 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54571 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54572 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54574 ac_in='$ac_file_inputs'
54575 ac_out='"$tmp/out1"'
54576 ac_nxt='"$tmp/out2"'
54580 # Write a here document:
54581 cat >>$CONFIG_STATUS <<_ACEOF
54582 # First, check the format of the line:
54583 cat >"\$tmp/defines.sed" <<\\CEOF
54584 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54585 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54589 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54591 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54592 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54593 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54594 grep . conftest.tail >/dev/null || break
54595 rm -f conftest.defines
54596 mv conftest.tail conftest.defines
54598 rm -f conftest.defines conftest.tail
54600 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54601 cat >>$CONFIG_STATUS <<\_ACEOF
54602 if test x"$ac_file" != x-; then
54603 echo "/* $configure_input */" >"$tmp/config.h"
54604 cat "$ac_result" >>"$tmp/config.h"
54605 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54606 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54607 echo "$as_me: $ac_file is unchanged" >&6;}
54610 mv "$tmp/config.h" $ac_file
54613 echo "/* $configure_input */"
54619 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54620 echo "$as_me: executing $ac_file commands" >&6;}
54625 case $ac_file$ac_mode in
54627 mkdir -p $outdir &&
54628 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54630 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54631 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54632 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54633 "wx-config":C) rm -f wx-config
54634 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54641 { (exit 0); exit 0; }
54643 chmod +x $CONFIG_STATUS
54644 ac_clean_files=$ac_clean_files_save
54647 # configure is writing to config.log, and then calls config.status.
54648 # config.status does its own redirection, appending to config.log.
54649 # Unfortunately, on DOS this fails, as config.log is still kept open
54650 # by configure, so config.status won't be able to write to it; its
54651 # output is simply discarded. So we exec the FD to /dev/null,
54652 # effectively closing config.log, so it can be properly (re)opened and
54653 # appended to by config.status. When coming back to configure, we
54654 # need to make the FD available again.
54655 if test "$no_create" != yes; then
54657 ac_config_status_args=
54658 test "$silent" = yes &&
54659 ac_config_status_args="$ac_config_status_args --quiet"
54661 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54664 # would make configure fail if this is the last instruction.
54665 $ac_cs_success || { (exit 1); exit 1; }
54669 # CONFIG_SUBDIRS section.
54671 if test "$no_recursion" != yes; then
54673 # Remove --cache-file and --srcdir arguments so they do not pile up.
54674 ac_sub_configure_args=
54676 eval "set x $ac_configure_args"
54680 if test -n "$ac_prev"; then
54685 -cache-file | --cache-file | --cache-fil | --cache-fi \
54686 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54687 ac_prev=cache_file ;;
54688 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54689 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54692 --config-cache | -C)
54694 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54696 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54698 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54700 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54704 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54706 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54710 # Always prepend --prefix to ensure using the same prefix
54711 # in subdir configurations.
54712 ac_arg="--prefix=$prefix"
54714 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54716 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54719 if test "$silent" = yes; then
54720 ac_sub_configure_args="--silent $ac_sub_configure_args"
54724 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54726 # Do not complain, so a configure script can configure whichever
54727 # parts of a large source tree are present.
54728 test -d "$srcdir/$ac_dir" || continue
54730 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54731 echo "$as_me:$LINENO: $ac_msg" >&5
54735 -*) as_dir=./$as_dir;;
54737 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54741 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54742 *) as_qdir=$as_dir;;
54744 as_dirs="'$as_qdir' $as_dirs"
54745 as_dir=`$as_dirname -- "$as_dir" ||
54746 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54747 X"$as_dir" : 'X\(//\)[^/]' \| \
54748 X"$as_dir" : 'X\(//\)$' \| \
54749 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54755 /^X\(\/\/\)[^/].*/{
54768 test -d "$as_dir" && break
54770 test -z "$as_dirs" || eval "mkdir $as_dirs"
54771 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54772 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54773 { (exit 1); exit 1; }; }; }
54777 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54779 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54780 # A ".." for each directory in $ac_dir_suffix.
54781 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54782 case $ac_top_builddir_sub in
54783 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54784 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54787 ac_abs_top_builddir=$ac_pwd
54788 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54789 # for backward compatibility:
54790 ac_top_builddir=$ac_top_build_prefix
54793 .) # We are building in place.
54795 ac_top_srcdir=$ac_top_builddir_sub
54796 ac_abs_top_srcdir=$ac_pwd ;;
54797 [\\/]* | ?:[\\/]* ) # Absolute name.
54798 ac_srcdir=$srcdir$ac_dir_suffix;
54799 ac_top_srcdir=$srcdir
54800 ac_abs_top_srcdir=$srcdir ;;
54801 *) # Relative name.
54802 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54803 ac_top_srcdir=$ac_top_build_prefix$srcdir
54804 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54806 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54811 # Check for guested configure; otherwise get Cygnus style configure.
54812 if test -f "$ac_srcdir/configure.gnu"; then
54813 ac_sub_configure=$ac_srcdir/configure.gnu
54814 elif test -f "$ac_srcdir/configure"; then
54815 ac_sub_configure=$ac_srcdir/configure
54816 elif test -f "$ac_srcdir/configure.in"; then
54817 # This should be Cygnus configure.
54818 ac_sub_configure=$ac_aux_dir/configure
54820 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54821 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54825 # The recursion is here.
54826 if test -n "$ac_sub_configure"; then
54827 # Make the cache file name correct relative to the subdirectory.
54828 case $cache_file in
54829 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54830 *) # Relative name.
54831 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54834 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54835 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54836 # The eval makes quoting arguments work.
54837 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54838 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54839 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54840 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54841 { (exit 1); exit 1; }; }
54850 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54852 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54853 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54854 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54855 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54856 if test "$wxUSE_UNICODE" = "yes"; then
54857 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54858 echo " (using UTF-8)"
54860 echo " (using wchar_t)"
54866 echo " What level of wxWidgets compatibility should be enabled?"
54867 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54868 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54870 echo " Which libraries should wxWidgets use?"
54871 echo " STL ${wxUSE_STL}"
54872 echo " jpeg ${wxUSE_LIBJPEG-none}"
54873 echo " png ${wxUSE_LIBPNG-none}"
54874 echo " regex ${wxUSE_REGEX}"
54875 echo " tiff ${wxUSE_LIBTIFF-none}"
54876 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54877 echo " xpm ${wxUSE_LIBXPM-none}"
54879 echo " zlib ${wxUSE_ZLIB}"
54880 echo " expat ${wxUSE_EXPAT}"
54881 echo " libmspack ${wxUSE_LIBMSPACK}"
54882 echo " sdl ${wxUSE_LIBSDL}"