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"
29954 if test "$wxUSE_SHARED" != "yes"; then
29955 GTK_LIBS="$GTK_LIBS -lX11"
29960 if test -z "$wx_cv_lib_gtk"; then
29961 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29963 # Check whether --with-gtk-prefix was given.
29964 if test "${with_gtk_prefix+set}" = set; then
29965 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29967 gtk_config_prefix=""
29971 # Check whether --with-gtk-exec-prefix was given.
29972 if test "${with_gtk_exec_prefix+set}" = set; then
29973 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29975 gtk_config_exec_prefix=""
29978 # Check whether --enable-gtktest was given.
29979 if test "${enable_gtktest+set}" = set; then
29980 enableval=$enable_gtktest;
29986 for module in . $GTK_MODULES
29990 gtk_config_args="$gtk_config_args gthread"
29995 if test x$gtk_config_exec_prefix != x ; then
29996 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29997 if test x${GTK_CONFIG+set} != xset ; then
29998 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30001 if test x$gtk_config_prefix != x ; then
30002 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30003 if test x${GTK_CONFIG+set} != xset ; then
30004 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30008 # Extract the first word of "gtk-config", so it can be a program name with args.
30009 set dummy gtk-config; ac_word=$2
30010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30012 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30015 case $GTK_CONFIG in
30017 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30021 for as_dir in $PATH
30024 test -z "$as_dir" && as_dir=.
30025 for ac_exec_ext in '' $ac_executable_extensions; do
30026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30027 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30035 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30039 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30040 if test -n "$GTK_CONFIG"; then
30041 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30042 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30044 { echo "$as_me:$LINENO: result: no" >&5
30045 echo "${ECHO_T}no" >&6; }
30049 min_gtk_version=1.2.7
30050 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30051 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30053 if test "$GTK_CONFIG" = "no" ; then
30056 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30057 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30058 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30059 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30060 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30061 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30062 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30063 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30064 if test "x$enable_gtktest" = "xyes" ; then
30065 ac_save_CFLAGS="$CFLAGS"
30066 ac_save_LIBS="$LIBS"
30067 CFLAGS="$CFLAGS $GTK_CFLAGS"
30068 LIBS="$GTK_LIBS $LIBS"
30070 if test "$cross_compiling" = yes; then
30071 echo $ac_n "cross compiling; assumed OK... $ac_c"
30073 cat >conftest.$ac_ext <<_ACEOF
30076 cat confdefs.h >>conftest.$ac_ext
30077 cat >>conftest.$ac_ext <<_ACEOF
30078 /* end confdefs.h. */
30080 #include <gtk/gtk.h>
30082 #include <stdlib.h>
30087 int major, minor, micro;
30090 system ("touch conf.gtktest");
30092 /* HP/UX 9 (%@#!) writes to sscanf strings */
30093 tmp_version = g_strdup("$min_gtk_version");
30094 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30095 printf("%s, bad version string\n", "$min_gtk_version");
30099 if ((gtk_major_version != $gtk_config_major_version) ||
30100 (gtk_minor_version != $gtk_config_minor_version) ||
30101 (gtk_micro_version != $gtk_config_micro_version))
30103 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30104 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30105 gtk_major_version, gtk_minor_version, gtk_micro_version);
30106 printf ("*** was found! If gtk-config was correct, then it is best\n");
30107 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30108 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30109 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30110 printf("*** required on your system.\n");
30111 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30112 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30113 printf("*** before re-running configure\n");
30115 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30116 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30117 (gtk_minor_version != GTK_MINOR_VERSION) ||
30118 (gtk_micro_version != GTK_MICRO_VERSION))
30120 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30121 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30122 printf("*** library (version %d.%d.%d)\n",
30123 gtk_major_version, gtk_minor_version, gtk_micro_version);
30125 #endif /* defined (GTK_MAJOR_VERSION) ... */
30128 if ((gtk_major_version > major) ||
30129 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30130 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30136 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30137 gtk_major_version, gtk_minor_version, gtk_micro_version);
30138 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30139 major, minor, micro);
30140 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30142 printf("*** If you have already installed a sufficiently new version, this error\n");
30143 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30144 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30145 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30146 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30147 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30148 printf("*** so that the correct libraries are found at run-time))\n");
30155 rm -f conftest$ac_exeext
30156 if { (ac_try="$ac_link"
30157 case "(($ac_try" in
30158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30159 *) ac_try_echo=$ac_try;;
30161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30162 (eval "$ac_link") 2>&5
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30166 { (case "(($ac_try" in
30167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30168 *) ac_try_echo=$ac_try;;
30170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30171 (eval "$ac_try") 2>&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; }; then
30177 echo "$as_me: program exited with status $ac_status" >&5
30178 echo "$as_me: failed program was:" >&5
30179 sed 's/^/| /' conftest.$ac_ext >&5
30181 ( exit $ac_status )
30184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30188 CFLAGS="$ac_save_CFLAGS"
30189 LIBS="$ac_save_LIBS"
30192 if test "x$no_gtk" = x ; then
30193 { echo "$as_me:$LINENO: result: yes" >&5
30194 echo "${ECHO_T}yes" >&6; }
30195 wx_cv_lib_gtk=1.2.7
30197 { echo "$as_me:$LINENO: result: no" >&5
30198 echo "${ECHO_T}no" >&6; }
30199 if test "$GTK_CONFIG" = "no" ; then
30200 echo "*** The gtk-config script installed by GTK could not be found"
30201 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30202 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30203 echo "*** full path to gtk-config."
30205 if test -f conf.gtktest ; then
30208 echo "*** Could not run GTK test program, checking why..."
30209 CFLAGS="$CFLAGS $GTK_CFLAGS"
30210 LIBS="$LIBS $GTK_LIBS"
30211 cat >conftest.$ac_ext <<_ACEOF
30214 cat confdefs.h >>conftest.$ac_ext
30215 cat >>conftest.$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30218 #include <gtk/gtk.h>
30224 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30229 rm -f conftest.$ac_objext conftest$ac_exeext
30230 if { (ac_try="$ac_link"
30231 case "(($ac_try" in
30232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30233 *) ac_try_echo=$ac_try;;
30235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30236 (eval "$ac_link") 2>conftest.er1
30238 grep -v '^ *+' conftest.er1 >conftest.err
30240 cat conftest.err >&5
30241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242 (exit $ac_status); } && {
30243 test -z "$ac_c_werror_flag" ||
30244 test ! -s conftest.err
30245 } && test -s conftest$ac_exeext &&
30246 $as_test_x conftest$ac_exeext; then
30247 echo "*** The test program compiled, but did not run. This usually means"
30248 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30249 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30250 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30251 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30252 echo "*** is required on your system"
30254 echo "*** If you have an old version installed, it is best to remove it, although"
30255 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30257 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30258 echo "*** came with the system with the command"
30260 echo "*** rpm --erase --nodeps gtk gtk-devel"
30262 echo "$as_me: failed program was:" >&5
30263 sed 's/^/| /' conftest.$ac_ext >&5
30265 echo "*** The test program failed to compile or link. See the file config.log for the"
30266 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30267 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30268 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30272 conftest$ac_exeext conftest.$ac_ext
30273 CFLAGS="$ac_save_CFLAGS"
30274 LIBS="$ac_save_LIBS"
30286 if test -z "$wx_cv_lib_gtk"; then
30288 # Check whether --with-gtk-prefix was given.
30289 if test "${with_gtk_prefix+set}" = set; then
30290 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30292 gtk_config_prefix=""
30296 # Check whether --with-gtk-exec-prefix was given.
30297 if test "${with_gtk_exec_prefix+set}" = set; then
30298 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30300 gtk_config_exec_prefix=""
30303 # Check whether --enable-gtktest was given.
30304 if test "${enable_gtktest+set}" = set; then
30305 enableval=$enable_gtktest;
30311 for module in . $GTK_MODULES
30315 gtk_config_args="$gtk_config_args gthread"
30320 if test x$gtk_config_exec_prefix != x ; then
30321 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30322 if test x${GTK_CONFIG+set} != xset ; then
30323 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30326 if test x$gtk_config_prefix != x ; then
30327 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30328 if test x${GTK_CONFIG+set} != xset ; then
30329 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30333 # Extract the first word of "gtk-config", so it can be a program name with args.
30334 set dummy gtk-config; ac_word=$2
30335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30337 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30338 echo $ECHO_N "(cached) $ECHO_C" >&6
30340 case $GTK_CONFIG in
30342 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30346 for as_dir in $PATH
30349 test -z "$as_dir" && as_dir=.
30350 for ac_exec_ext in '' $ac_executable_extensions; do
30351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30352 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30360 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30364 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30365 if test -n "$GTK_CONFIG"; then
30366 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30367 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30369 { echo "$as_me:$LINENO: result: no" >&5
30370 echo "${ECHO_T}no" >&6; }
30374 min_gtk_version=1.2.3
30375 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30376 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30378 if test "$GTK_CONFIG" = "no" ; then
30381 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30382 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30383 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30385 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30387 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30389 if test "x$enable_gtktest" = "xyes" ; then
30390 ac_save_CFLAGS="$CFLAGS"
30391 ac_save_LIBS="$LIBS"
30392 CFLAGS="$CFLAGS $GTK_CFLAGS"
30393 LIBS="$GTK_LIBS $LIBS"
30395 if test "$cross_compiling" = yes; then
30396 echo $ac_n "cross compiling; assumed OK... $ac_c"
30398 cat >conftest.$ac_ext <<_ACEOF
30401 cat confdefs.h >>conftest.$ac_ext
30402 cat >>conftest.$ac_ext <<_ACEOF
30403 /* end confdefs.h. */
30405 #include <gtk/gtk.h>
30407 #include <stdlib.h>
30412 int major, minor, micro;
30415 system ("touch conf.gtktest");
30417 /* HP/UX 9 (%@#!) writes to sscanf strings */
30418 tmp_version = g_strdup("$min_gtk_version");
30419 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30420 printf("%s, bad version string\n", "$min_gtk_version");
30424 if ((gtk_major_version != $gtk_config_major_version) ||
30425 (gtk_minor_version != $gtk_config_minor_version) ||
30426 (gtk_micro_version != $gtk_config_micro_version))
30428 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30429 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30430 gtk_major_version, gtk_minor_version, gtk_micro_version);
30431 printf ("*** was found! If gtk-config was correct, then it is best\n");
30432 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30433 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30434 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30435 printf("*** required on your system.\n");
30436 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30437 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30438 printf("*** before re-running configure\n");
30440 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30441 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30442 (gtk_minor_version != GTK_MINOR_VERSION) ||
30443 (gtk_micro_version != GTK_MICRO_VERSION))
30445 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30446 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30447 printf("*** library (version %d.%d.%d)\n",
30448 gtk_major_version, gtk_minor_version, gtk_micro_version);
30450 #endif /* defined (GTK_MAJOR_VERSION) ... */
30453 if ((gtk_major_version > major) ||
30454 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30455 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30461 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30462 gtk_major_version, gtk_minor_version, gtk_micro_version);
30463 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30464 major, minor, micro);
30465 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30467 printf("*** If you have already installed a sufficiently new version, this error\n");
30468 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30469 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30470 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30471 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30472 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30473 printf("*** so that the correct libraries are found at run-time))\n");
30480 rm -f conftest$ac_exeext
30481 if { (ac_try="$ac_link"
30482 case "(($ac_try" in
30483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30484 *) ac_try_echo=$ac_try;;
30486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30487 (eval "$ac_link") 2>&5
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30491 { (case "(($ac_try" in
30492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30493 *) ac_try_echo=$ac_try;;
30495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30496 (eval "$ac_try") 2>&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; }; then
30502 echo "$as_me: program exited with status $ac_status" >&5
30503 echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.$ac_ext >&5
30506 ( exit $ac_status )
30509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30513 CFLAGS="$ac_save_CFLAGS"
30514 LIBS="$ac_save_LIBS"
30517 if test "x$no_gtk" = x ; then
30518 { echo "$as_me:$LINENO: result: yes" >&5
30519 echo "${ECHO_T}yes" >&6; }
30520 wx_cv_lib_gtk=1.2.3
30522 { echo "$as_me:$LINENO: result: no" >&5
30523 echo "${ECHO_T}no" >&6; }
30524 if test "$GTK_CONFIG" = "no" ; then
30525 echo "*** The gtk-config script installed by GTK could not be found"
30526 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30527 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30528 echo "*** full path to gtk-config."
30530 if test -f conf.gtktest ; then
30533 echo "*** Could not run GTK test program, checking why..."
30534 CFLAGS="$CFLAGS $GTK_CFLAGS"
30535 LIBS="$LIBS $GTK_LIBS"
30536 cat >conftest.$ac_ext <<_ACEOF
30539 cat confdefs.h >>conftest.$ac_ext
30540 cat >>conftest.$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30543 #include <gtk/gtk.h>
30549 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30554 rm -f conftest.$ac_objext conftest$ac_exeext
30555 if { (ac_try="$ac_link"
30556 case "(($ac_try" in
30557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30558 *) ac_try_echo=$ac_try;;
30560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30561 (eval "$ac_link") 2>conftest.er1
30563 grep -v '^ *+' conftest.er1 >conftest.err
30565 cat conftest.err >&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } && {
30568 test -z "$ac_c_werror_flag" ||
30569 test ! -s conftest.err
30570 } && test -s conftest$ac_exeext &&
30571 $as_test_x conftest$ac_exeext; then
30572 echo "*** The test program compiled, but did not run. This usually means"
30573 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30574 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30575 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30576 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30577 echo "*** is required on your system"
30579 echo "*** If you have an old version installed, it is best to remove it, although"
30580 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30582 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30583 echo "*** came with the system with the command"
30585 echo "*** rpm --erase --nodeps gtk gtk-devel"
30587 echo "$as_me: failed program was:" >&5
30588 sed 's/^/| /' conftest.$ac_ext >&5
30590 echo "*** The test program failed to compile or link. See the file config.log for the"
30591 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30592 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30593 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30597 conftest$ac_exeext conftest.$ac_ext
30598 CFLAGS="$ac_save_CFLAGS"
30599 LIBS="$ac_save_LIBS"
30614 if test -z "$wx_cv_lib_gtk"; then
30617 wx_cv_cflags_gtk=$GTK_CFLAGS
30618 wx_cv_libs_gtk=$GTK_LIBS
30625 if test "$gtk_version_cached" = 1; then
30626 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30627 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30630 case "$wx_cv_lib_gtk" in
30639 *) { { echo "$as_me:$LINENO: error:
30640 The development files for GTK+ were not found. For GTK+ 2, please
30641 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30642 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30643 and that the version is 1.2.3 or above. Also check that the
30644 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30645 --libs' are in the LD_LIBRARY_PATH or equivalent.
30647 echo "$as_me: error:
30648 The development files for GTK+ were not found. For GTK+ 2, please
30649 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30650 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30651 and that the version is 1.2.3 or above. Also check that the
30652 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30653 --libs' are in the LD_LIBRARY_PATH or equivalent.
30655 { (exit 1); exit 1; }; }
30659 if test "$WXGTK2" = 1; then
30660 save_CFLAGS="$CFLAGS"
30662 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30663 LIBS="$LIBS $wx_cv_libs_gtk"
30665 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30666 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30667 cat >conftest.$ac_ext <<_ACEOF
30670 cat confdefs.h >>conftest.$ac_ext
30671 cat >>conftest.$ac_ext <<_ACEOF
30672 /* end confdefs.h. */
30674 #include <gtk/gtk.h>
30680 #if !GTK_CHECK_VERSION(2,18,0)
30688 rm -f conftest.$ac_objext
30689 if { (ac_try="$ac_compile"
30690 case "(($ac_try" in
30691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30692 *) ac_try_echo=$ac_try;;
30694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30695 (eval "$ac_compile") 2>conftest.er1
30697 grep -v '^ *+' conftest.er1 >conftest.err
30699 cat conftest.err >&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } && {
30702 test -z "$ac_c_werror_flag" ||
30703 test ! -s conftest.err
30704 } && test -s conftest.$ac_objext; then
30706 cat >>confdefs.h <<\_ACEOF
30707 #define __WXGTK218__ 1
30710 cat >>confdefs.h <<\_ACEOF
30711 #define __WXGTK210__ 1
30714 cat >>confdefs.h <<\_ACEOF
30715 #define __WXGTK26__ 1
30718 { echo "$as_me:$LINENO: result: yes" >&5
30719 echo "${ECHO_T}yes" >&6; }
30723 echo "$as_me: failed program was:" >&5
30724 sed 's/^/| /' conftest.$ac_ext >&5
30727 { echo "$as_me:$LINENO: result: no" >&5
30728 echo "${ECHO_T}no" >&6; }
30733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30735 if test "$ac_wxgtk218" = 0; then
30736 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30737 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30738 cat >conftest.$ac_ext <<_ACEOF
30741 cat confdefs.h >>conftest.$ac_ext
30742 cat >>conftest.$ac_ext <<_ACEOF
30743 /* end confdefs.h. */
30745 #include <gtk/gtk.h>
30751 #if !GTK_CHECK_VERSION(2,10,0)
30759 rm -f conftest.$ac_objext
30760 if { (ac_try="$ac_compile"
30761 case "(($ac_try" in
30762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30763 *) ac_try_echo=$ac_try;;
30765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30766 (eval "$ac_compile") 2>conftest.er1
30768 grep -v '^ *+' conftest.er1 >conftest.err
30770 cat conftest.err >&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); } && {
30773 test -z "$ac_c_werror_flag" ||
30774 test ! -s conftest.err
30775 } && test -s conftest.$ac_objext; then
30777 cat >>confdefs.h <<\_ACEOF
30778 #define __WXGTK210__ 1
30781 cat >>confdefs.h <<\_ACEOF
30782 #define __WXGTK26__ 1
30785 { echo "$as_me:$LINENO: result: yes" >&5
30786 echo "${ECHO_T}yes" >&6; }
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.$ac_ext >&5
30794 { echo "$as_me:$LINENO: result: no" >&5
30795 echo "${ECHO_T}no" >&6; }
30800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30802 if test "$ac_wxgtk210" = 0; then
30803 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30804 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30805 cat >conftest.$ac_ext <<_ACEOF
30808 cat confdefs.h >>conftest.$ac_ext
30809 cat >>conftest.$ac_ext <<_ACEOF
30810 /* end confdefs.h. */
30812 #include <gtk/gtk.h>
30818 #if !GTK_CHECK_VERSION(2,6,0)
30826 rm -f conftest.$ac_objext
30827 if { (ac_try="$ac_compile"
30828 case "(($ac_try" in
30829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30830 *) ac_try_echo=$ac_try;;
30832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30833 (eval "$ac_compile") 2>conftest.er1
30835 grep -v '^ *+' conftest.er1 >conftest.err
30837 cat conftest.err >&5
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); } && {
30840 test -z "$ac_c_werror_flag" ||
30841 test ! -s conftest.err
30842 } && test -s conftest.$ac_objext; then
30844 cat >>confdefs.h <<\_ACEOF
30845 #define __WXGTK26__ 1
30848 { echo "$as_me:$LINENO: result: yes" >&5
30849 echo "${ECHO_T}yes" >&6; }
30853 echo "$as_me: failed program was:" >&5
30854 sed 's/^/| /' conftest.$ac_ext >&5
30857 { echo "$as_me:$LINENO: result: no" >&5
30858 echo "${ECHO_T}no" >&6; }
30863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30867 CFLAGS="$save_CFLAGS"
30870 if test "$wxUSE_UNICODE" = "yes"; then
30871 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30872 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30876 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30877 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30878 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30879 echo $ECHO_N "(cached) $ECHO_C" >&6
30881 ac_check_lib_save_LIBS=$LIBS
30883 cat >conftest.$ac_ext <<_ACEOF
30886 cat confdefs.h >>conftest.$ac_ext
30887 cat >>conftest.$ac_ext <<_ACEOF
30888 /* end confdefs.h. */
30890 /* Override any GCC internal prototype to avoid an error.
30891 Use char because int might match the return type of a GCC
30892 builtin and then its argument prototype would still apply. */
30896 char gdk_im_open ();
30900 return gdk_im_open ();
30905 rm -f conftest.$ac_objext conftest$ac_exeext
30906 if { (ac_try="$ac_link"
30907 case "(($ac_try" in
30908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30909 *) ac_try_echo=$ac_try;;
30911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30912 (eval "$ac_link") 2>conftest.er1
30914 grep -v '^ *+' conftest.er1 >conftest.err
30916 cat conftest.err >&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } && {
30919 test -z "$ac_c_werror_flag" ||
30920 test ! -s conftest.err
30921 } && test -s conftest$ac_exeext &&
30922 $as_test_x conftest$ac_exeext; then
30923 ac_cv_lib_gdk_gdk_im_open=yes
30925 echo "$as_me: failed program was:" >&5
30926 sed 's/^/| /' conftest.$ac_ext >&5
30928 ac_cv_lib_gdk_gdk_im_open=no
30931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30932 conftest$ac_exeext conftest.$ac_ext
30933 LIBS=$ac_check_lib_save_LIBS
30935 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30936 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30937 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30938 cat >>confdefs.h <<\_ACEOF
30945 if test "$USE_DARWIN" != 1; then
30947 for ac_func in poll
30949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30950 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30952 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30953 echo $ECHO_N "(cached) $ECHO_C" >&6
30955 cat >conftest.$ac_ext <<_ACEOF
30958 cat confdefs.h >>conftest.$ac_ext
30959 cat >>conftest.$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30963 #define $ac_func innocuous_$ac_func
30965 /* System header to define __stub macros and hopefully few prototypes,
30966 which can conflict with char $ac_func (); below.
30967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30968 <limits.h> exists even on freestanding compilers. */
30971 # include <limits.h>
30973 # include <assert.h>
30978 /* Override any GCC internal prototype to avoid an error.
30979 Use char because int might match the return type of a GCC
30980 builtin and then its argument prototype would still apply. */
30985 /* The GNU C library defines this for functions which it implements
30986 to always fail with ENOSYS. Some functions are actually named
30987 something starting with __ and the normal name is an alias. */
30988 #if defined __stub_$ac_func || defined __stub___$ac_func
30995 return $ac_func ();
31000 rm -f conftest.$ac_objext conftest$ac_exeext
31001 if { (ac_try="$ac_link"
31002 case "(($ac_try" in
31003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31004 *) ac_try_echo=$ac_try;;
31006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31007 (eval "$ac_link") 2>conftest.er1
31009 grep -v '^ *+' conftest.er1 >conftest.err
31011 cat conftest.err >&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); } && {
31014 test -z "$ac_c_werror_flag" ||
31015 test ! -s conftest.err
31016 } && test -s conftest$ac_exeext &&
31017 $as_test_x conftest$ac_exeext; then
31018 eval "$as_ac_var=yes"
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.$ac_ext >&5
31023 eval "$as_ac_var=no"
31026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31027 conftest$ac_exeext conftest.$ac_ext
31029 ac_res=`eval echo '${'$as_ac_var'}'`
31030 { echo "$as_me:$LINENO: result: $ac_res" >&5
31031 echo "${ECHO_T}$ac_res" >&6; }
31032 if test `eval echo '${'$as_ac_var'}'` = yes; then
31033 cat >>confdefs.h <<_ACEOF
31034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31043 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31044 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31046 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31048 AFMINSTALL=afminstall
31052 if test "$wxUSE_GPE" = "yes"; then
31053 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31054 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31057 for ac_dir in $SEARCH_LIB
31059 for ac_extension in a so sl dylib dll.a; do
31060 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31061 ac_find_libraries=$ac_dir
31067 if test "$ac_find_libraries" != "" ; then
31069 if test "$ac_find_libraries" = "default location"; then
31072 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31074 if test $result = 0; then
31077 ac_path_to_link=" -L$ac_find_libraries"
31081 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31083 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31084 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31086 { echo "$as_me:$LINENO: result: not found" >&5
31087 echo "${ECHO_T}not found" >&6; }
31093 if test "$wxUSE_MGL" = 1; then
31094 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31095 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31096 if test "x$MGL_ROOT" = x ; then
31097 { echo "$as_me:$LINENO: result: not found" >&5
31098 echo "${ECHO_T}not found" >&6; }
31099 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31100 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31101 { (exit 1); exit 1; }; }
31103 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31104 echo "${ECHO_T}$MGL_ROOT" >&6; }
31107 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31108 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31111 if test "x$wxUSE_SHARED" = xyes ; then
31112 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31114 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31118 mgl_os_candidates="dos32/dj2"
31121 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31122 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31123 { (exit 1); exit 1; }; }
31129 for mgl_os_i in $mgl_os_candidates ; do
31130 if test "x$mgl_os" = x ; then
31131 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31132 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31133 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31138 if test "x$mgl_lib_type" = x ; then
31139 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31140 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31141 mgl_lib_type=release
31148 if test "x$mgl_os" = x ; then
31149 { echo "$as_me:$LINENO: result: not found" >&5
31150 echo "${ECHO_T}not found" >&6; }
31151 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31152 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31153 { (exit 1); exit 1; }; }
31155 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31156 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31158 wxUSE_UNIVERSAL="yes"
31160 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31161 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31163 AFMINSTALL=afminstall
31168 if test "$wxUSE_DFB" = 1; then
31171 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31172 if test -n "$ac_tool_prefix"; then
31173 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31174 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31177 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31178 echo $ECHO_N "(cached) $ECHO_C" >&6
31180 case $PKG_CONFIG in
31182 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31186 for as_dir in $PATH
31189 test -z "$as_dir" && as_dir=.
31190 for ac_exec_ext in '' $ac_executable_extensions; do
31191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31192 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31203 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31204 if test -n "$PKG_CONFIG"; then
31205 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31206 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31208 { echo "$as_me:$LINENO: result: no" >&5
31209 echo "${ECHO_T}no" >&6; }
31214 if test -z "$ac_cv_path_PKG_CONFIG"; then
31215 ac_pt_PKG_CONFIG=$PKG_CONFIG
31216 # Extract the first word of "pkg-config", so it can be a program name with args.
31217 set dummy pkg-config; ac_word=$2
31218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31220 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31221 echo $ECHO_N "(cached) $ECHO_C" >&6
31223 case $ac_pt_PKG_CONFIG in
31225 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31229 for as_dir in $PATH
31232 test -z "$as_dir" && as_dir=.
31233 for ac_exec_ext in '' $ac_executable_extensions; do
31234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31235 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31246 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31247 if test -n "$ac_pt_PKG_CONFIG"; then
31248 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31249 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31251 { echo "$as_me:$LINENO: result: no" >&5
31252 echo "${ECHO_T}no" >&6; }
31255 if test "x$ac_pt_PKG_CONFIG" = x; then
31258 case $cross_compiling:$ac_tool_warned in
31260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31261 whose name does not start with the host triplet. If you think this
31262 configuration is useful to you, please write to autoconf@gnu.org." >&5
31263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31264 whose name does not start with the host triplet. If you think this
31265 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31266 ac_tool_warned=yes ;;
31268 PKG_CONFIG=$ac_pt_PKG_CONFIG
31271 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31275 if test -n "$PKG_CONFIG"; then
31276 _pkg_min_version=0.9.0
31277 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31278 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31279 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31280 { echo "$as_me:$LINENO: result: yes" >&5
31281 echo "${ECHO_T}yes" >&6; }
31283 { echo "$as_me:$LINENO: result: no" >&5
31284 echo "${ECHO_T}no" >&6; }
31292 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31293 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31295 if test -n "$PKG_CONFIG"; then
31296 if test -n "$DIRECTFB_CFLAGS"; then
31297 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31299 if test -n "$PKG_CONFIG" && \
31300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31301 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; then
31305 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31313 if test -n "$PKG_CONFIG"; then
31314 if test -n "$DIRECTFB_LIBS"; then
31315 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31317 if test -n "$PKG_CONFIG" && \
31318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31319 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); }; then
31323 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31334 if test $pkg_failed = yes; then
31336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31337 _pkg_short_errors_supported=yes
31339 _pkg_short_errors_supported=no
31341 if test $_pkg_short_errors_supported = yes; then
31342 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31344 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31346 # Put the nasty error message in config.log where it belongs
31347 echo "$DIRECTFB_PKG_ERRORS" >&5
31350 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31351 echo "$as_me: error: DirectFB not found." >&2;}
31352 { (exit 1); exit 1; }; }
31355 elif test $pkg_failed = untried; then
31357 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31358 echo "$as_me: error: DirectFB not found." >&2;}
31359 { (exit 1); exit 1; }; }
31363 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31364 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31365 { echo "$as_me:$LINENO: result: yes" >&5
31366 echo "${ECHO_T}yes" >&6; }
31368 wxUSE_UNIVERSAL="yes"
31369 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31370 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31377 if test "$wxUSE_MICROWIN" = 1; then
31378 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31379 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31380 if test "x$MICROWINDOWS" = x ; then
31381 { echo "$as_me:$LINENO: result: not found" >&5
31382 echo "${ECHO_T}not found" >&6; }
31383 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31384 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31385 { (exit 1); exit 1; }; }
31387 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31388 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31391 if test -f $MICROWINDOWS/lib/libmwin.a; then
31392 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31393 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31395 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31396 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31397 { (exit 1); exit 1; }; }
31400 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31401 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31403 wxUSE_UNIVERSAL="yes"
31405 AFMINSTALL=afminstall
31407 GUIDIST=MICROWIN_DIST
31409 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31412 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31413 { echo "$as_me:$LINENO: checking for X" >&5
31414 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31417 # Check whether --with-x was given.
31418 if test "${with_x+set}" = set; then
31422 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31423 if test "x$with_x" = xno; then
31424 # The user explicitly disabled X.
31427 case $x_includes,$x_libraries in #(
31428 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31429 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31430 { (exit 1); exit 1; }; };; #(
31431 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31434 # One or both of the vars are not set, and there is no cached value.
31435 ac_x_includes=no ac_x_libraries=no
31436 rm -f -r conftest.dir
31437 if mkdir conftest.dir; then
31439 cat >Imakefile <<'_ACEOF'
31441 @echo incroot='${INCROOT}'
31443 @echo usrlibdir='${USRLIBDIR}'
31445 @echo libdir='${LIBDIR}'
31447 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31449 for ac_var in incroot usrlibdir libdir; do
31450 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31452 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31453 for ac_extension in a so sl; do
31454 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31455 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31456 ac_im_usrlibdir=$ac_im_libdir; break
31459 # Screen out bogus values from the imake configuration. They are
31460 # bogus both because they are the default anyway, and because
31461 # using them would break gcc on systems where it needs fixed includes.
31462 case $ac_im_incroot in
31463 /usr/include) ac_x_includes= ;;
31464 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31466 case $ac_im_usrlibdir in
31467 /usr/lib | /lib) ;;
31468 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31472 rm -f -r conftest.dir
31475 # Standard set of common directories for X headers.
31476 # Check X11 before X11Rn because it is often a symlink to the current release.
31488 /usr/local/X11/include
31489 /usr/local/X11R6/include
31490 /usr/local/X11R5/include
31491 /usr/local/X11R4/include
31493 /usr/local/include/X11
31494 /usr/local/include/X11R6
31495 /usr/local/include/X11R5
31496 /usr/local/include/X11R4
31500 /usr/XFree86/include/X11
31504 /usr/unsupported/include
31505 /usr/athena/include
31506 /usr/local/x11r5/include
31507 /usr/lpp/Xamples/include
31509 /usr/openwin/include
31510 /usr/openwin/share/include'
31512 if test "$ac_x_includes" = no; then
31513 # Guess where to find include files, by looking for Xlib.h.
31514 # First, try using that file with no special directory specified.
31515 cat >conftest.$ac_ext <<_ACEOF
31518 cat confdefs.h >>conftest.$ac_ext
31519 cat >>conftest.$ac_ext <<_ACEOF
31520 /* end confdefs.h. */
31521 #include <X11/Xlib.h>
31523 if { (ac_try="$ac_cpp conftest.$ac_ext"
31524 case "(($ac_try" in
31525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31526 *) ac_try_echo=$ac_try;;
31528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31529 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31531 grep -v '^ *+' conftest.er1 >conftest.err
31533 cat conftest.err >&5
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); } >/dev/null && {
31536 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31537 test ! -s conftest.err
31539 # We can compile using X headers with no special include directory.
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.$ac_ext >&5
31545 for ac_dir in $ac_x_header_dirs; do
31546 if test -r "$ac_dir/X11/Xlib.h"; then
31547 ac_x_includes=$ac_dir
31553 rm -f conftest.err conftest.$ac_ext
31554 fi # $ac_x_includes = no
31556 if test "$ac_x_libraries" = no; then
31557 # Check for the libraries.
31558 # See if we find them without any special options.
31559 # Don't add to $LIBS permanently.
31562 cat >conftest.$ac_ext <<_ACEOF
31565 cat confdefs.h >>conftest.$ac_ext
31566 cat >>conftest.$ac_ext <<_ACEOF
31567 /* end confdefs.h. */
31568 #include <X11/Xlib.h>
31577 rm -f conftest.$ac_objext conftest$ac_exeext
31578 if { (ac_try="$ac_link"
31579 case "(($ac_try" in
31580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31581 *) ac_try_echo=$ac_try;;
31583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31584 (eval "$ac_link") 2>conftest.er1
31586 grep -v '^ *+' conftest.er1 >conftest.err
31588 cat conftest.err >&5
31589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31590 (exit $ac_status); } && {
31591 test -z "$ac_c_werror_flag" ||
31592 test ! -s conftest.err
31593 } && test -s conftest$ac_exeext &&
31594 $as_test_x conftest$ac_exeext; then
31596 # We can link X programs with no special library path.
31599 echo "$as_me: failed program was:" >&5
31600 sed 's/^/| /' conftest.$ac_ext >&5
31603 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31605 # Don't even attempt the hair of trying to link an X program!
31606 for ac_extension in a so sl; do
31607 if test -r "$ac_dir/libX11.$ac_extension"; then
31608 ac_x_libraries=$ac_dir
31615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31616 conftest$ac_exeext conftest.$ac_ext
31617 fi # $ac_x_libraries = no
31619 case $ac_x_includes,$ac_x_libraries in #(
31620 no,* | *,no | *\'*)
31621 # Didn't find X, or a directory has "'" in its name.
31622 ac_cv_have_x="have_x=no";; #(
31624 # Record where we found X for the cache.
31625 ac_cv_have_x="have_x=yes\
31626 ac_x_includes='$ac_x_includes'\
31627 ac_x_libraries='$ac_x_libraries'"
31633 eval "$ac_cv_have_x"
31636 if test "$have_x" != yes; then
31637 { echo "$as_me:$LINENO: result: $have_x" >&5
31638 echo "${ECHO_T}$have_x" >&6; }
31641 # If each of the values was on the command line, it overrides each guess.
31642 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31643 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31644 # Update the cache value to reflect the command line values.
31645 ac_cv_have_x="have_x=yes\
31646 ac_x_includes='$x_includes'\
31647 ac_x_libraries='$x_libraries'"
31648 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31649 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31652 if test "$no_x" = yes; then
31653 # Not all programs may use this symbol, but it does not hurt to define it.
31655 cat >>confdefs.h <<\_ACEOF
31656 #define X_DISPLAY_MISSING 1
31659 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31661 if test -n "$x_includes"; then
31662 X_CFLAGS="$X_CFLAGS -I$x_includes"
31665 # It would also be nice to do this for all -L options, not just this one.
31666 if test -n "$x_libraries"; then
31667 X_LIBS="$X_LIBS -L$x_libraries"
31668 # For Solaris; some versions of Sun CC require a space after -R and
31669 # others require no space. Words are not sufficient . . . .
31670 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31671 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31672 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31673 ac_xsave_c_werror_flag=$ac_c_werror_flag
31674 ac_c_werror_flag=yes
31675 cat >conftest.$ac_ext <<_ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31690 rm -f conftest.$ac_objext conftest$ac_exeext
31691 if { (ac_try="$ac_link"
31692 case "(($ac_try" in
31693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31694 *) ac_try_echo=$ac_try;;
31696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31697 (eval "$ac_link") 2>conftest.er1
31699 grep -v '^ *+' conftest.er1 >conftest.err
31701 cat conftest.err >&5
31702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31703 (exit $ac_status); } && {
31704 test -z "$ac_c_werror_flag" ||
31705 test ! -s conftest.err
31706 } && test -s conftest$ac_exeext &&
31707 $as_test_x conftest$ac_exeext; then
31708 { echo "$as_me:$LINENO: result: no" >&5
31709 echo "${ECHO_T}no" >&6; }
31710 X_LIBS="$X_LIBS -R$x_libraries"
31712 echo "$as_me: failed program was:" >&5
31713 sed 's/^/| /' conftest.$ac_ext >&5
31715 LIBS="$ac_xsave_LIBS -R $x_libraries"
31716 cat >conftest.$ac_ext <<_ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31731 rm -f conftest.$ac_objext conftest$ac_exeext
31732 if { (ac_try="$ac_link"
31733 case "(($ac_try" in
31734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31735 *) ac_try_echo=$ac_try;;
31737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31738 (eval "$ac_link") 2>conftest.er1
31740 grep -v '^ *+' conftest.er1 >conftest.err
31742 cat conftest.err >&5
31743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744 (exit $ac_status); } && {
31745 test -z "$ac_c_werror_flag" ||
31746 test ! -s conftest.err
31747 } && test -s conftest$ac_exeext &&
31748 $as_test_x conftest$ac_exeext; then
31749 { echo "$as_me:$LINENO: result: yes" >&5
31750 echo "${ECHO_T}yes" >&6; }
31751 X_LIBS="$X_LIBS -R $x_libraries"
31753 echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.$ac_ext >&5
31756 { echo "$as_me:$LINENO: result: neither works" >&5
31757 echo "${ECHO_T}neither works" >&6; }
31760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31761 conftest$ac_exeext conftest.$ac_ext
31764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31765 conftest$ac_exeext conftest.$ac_ext
31766 ac_c_werror_flag=$ac_xsave_c_werror_flag
31767 LIBS=$ac_xsave_LIBS
31770 # Check for system-dependent libraries X programs must link with.
31771 # Do this before checking for the system-independent R6 libraries
31772 # (-lICE), since we may need -lsocket or whatever for X linking.
31774 if test "$ISC" = yes; then
31775 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31777 # Martyn Johnson says this is needed for Ultrix, if the X
31778 # libraries were built with DECnet support. And Karl Berry says
31779 # the Alpha needs dnet_stub (dnet does not exist).
31780 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31781 cat >conftest.$ac_ext <<_ACEOF
31784 cat confdefs.h >>conftest.$ac_ext
31785 cat >>conftest.$ac_ext <<_ACEOF
31786 /* end confdefs.h. */
31788 /* Override any GCC internal prototype to avoid an error.
31789 Use char because int might match the return type of a GCC
31790 builtin and then its argument prototype would still apply. */
31794 char XOpenDisplay ();
31798 return XOpenDisplay ();
31803 rm -f conftest.$ac_objext conftest$ac_exeext
31804 if { (ac_try="$ac_link"
31805 case "(($ac_try" in
31806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31807 *) ac_try_echo=$ac_try;;
31809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31810 (eval "$ac_link") 2>conftest.er1
31812 grep -v '^ *+' conftest.er1 >conftest.err
31814 cat conftest.err >&5
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); } && {
31817 test -z "$ac_c_werror_flag" ||
31818 test ! -s conftest.err
31819 } && test -s conftest$ac_exeext &&
31820 $as_test_x conftest$ac_exeext; then
31823 echo "$as_me: failed program was:" >&5
31824 sed 's/^/| /' conftest.$ac_ext >&5
31826 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31827 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31828 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31829 echo $ECHO_N "(cached) $ECHO_C" >&6
31831 ac_check_lib_save_LIBS=$LIBS
31832 LIBS="-ldnet $LIBS"
31833 cat >conftest.$ac_ext <<_ACEOF
31836 cat confdefs.h >>conftest.$ac_ext
31837 cat >>conftest.$ac_ext <<_ACEOF
31838 /* end confdefs.h. */
31840 /* Override any GCC internal prototype to avoid an error.
31841 Use char because int might match the return type of a GCC
31842 builtin and then its argument prototype would still apply. */
31850 return dnet_ntoa ();
31855 rm -f conftest.$ac_objext conftest$ac_exeext
31856 if { (ac_try="$ac_link"
31857 case "(($ac_try" in
31858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31859 *) ac_try_echo=$ac_try;;
31861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31862 (eval "$ac_link") 2>conftest.er1
31864 grep -v '^ *+' conftest.er1 >conftest.err
31866 cat conftest.err >&5
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); } && {
31869 test -z "$ac_c_werror_flag" ||
31870 test ! -s conftest.err
31871 } && test -s conftest$ac_exeext &&
31872 $as_test_x conftest$ac_exeext; then
31873 ac_cv_lib_dnet_dnet_ntoa=yes
31875 echo "$as_me: failed program was:" >&5
31876 sed 's/^/| /' conftest.$ac_ext >&5
31878 ac_cv_lib_dnet_dnet_ntoa=no
31881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31882 conftest$ac_exeext conftest.$ac_ext
31883 LIBS=$ac_check_lib_save_LIBS
31885 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31886 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31887 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31888 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31891 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31892 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31893 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31894 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31895 echo $ECHO_N "(cached) $ECHO_C" >&6
31897 ac_check_lib_save_LIBS=$LIBS
31898 LIBS="-ldnet_stub $LIBS"
31899 cat >conftest.$ac_ext <<_ACEOF
31902 cat confdefs.h >>conftest.$ac_ext
31903 cat >>conftest.$ac_ext <<_ACEOF
31904 /* end confdefs.h. */
31906 /* Override any GCC internal prototype to avoid an error.
31907 Use char because int might match the return type of a GCC
31908 builtin and then its argument prototype would still apply. */
31916 return dnet_ntoa ();
31921 rm -f conftest.$ac_objext conftest$ac_exeext
31922 if { (ac_try="$ac_link"
31923 case "(($ac_try" in
31924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31925 *) ac_try_echo=$ac_try;;
31927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31928 (eval "$ac_link") 2>conftest.er1
31930 grep -v '^ *+' conftest.er1 >conftest.err
31932 cat conftest.err >&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); } && {
31935 test -z "$ac_c_werror_flag" ||
31936 test ! -s conftest.err
31937 } && test -s conftest$ac_exeext &&
31938 $as_test_x conftest$ac_exeext; then
31939 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31941 echo "$as_me: failed program was:" >&5
31942 sed 's/^/| /' conftest.$ac_ext >&5
31944 ac_cv_lib_dnet_stub_dnet_ntoa=no
31947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31948 conftest$ac_exeext conftest.$ac_ext
31949 LIBS=$ac_check_lib_save_LIBS
31951 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31952 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31953 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31954 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31961 conftest$ac_exeext conftest.$ac_ext
31962 LIBS="$ac_xsave_LIBS"
31964 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31965 # to get the SysV transport functions.
31966 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31968 # The nsl library prevents programs from opening the X display
31969 # on Irix 5.2, according to T.E. Dickey.
31970 # The functions gethostbyname, getservbyname, and inet_addr are
31971 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31972 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31973 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31974 if test "${ac_cv_func_gethostbyname+set}" = set; then
31975 echo $ECHO_N "(cached) $ECHO_C" >&6
31977 cat >conftest.$ac_ext <<_ACEOF
31980 cat confdefs.h >>conftest.$ac_ext
31981 cat >>conftest.$ac_ext <<_ACEOF
31982 /* end confdefs.h. */
31983 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31985 #define gethostbyname innocuous_gethostbyname
31987 /* System header to define __stub macros and hopefully few prototypes,
31988 which can conflict with char gethostbyname (); below.
31989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31990 <limits.h> exists even on freestanding compilers. */
31993 # include <limits.h>
31995 # include <assert.h>
31998 #undef gethostbyname
32000 /* Override any GCC internal prototype to avoid an error.
32001 Use char because int might match the return type of a GCC
32002 builtin and then its argument prototype would still apply. */
32006 char gethostbyname ();
32007 /* The GNU C library defines this for functions which it implements
32008 to always fail with ENOSYS. Some functions are actually named
32009 something starting with __ and the normal name is an alias. */
32010 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32017 return gethostbyname ();
32022 rm -f conftest.$ac_objext conftest$ac_exeext
32023 if { (ac_try="$ac_link"
32024 case "(($ac_try" in
32025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32026 *) ac_try_echo=$ac_try;;
32028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32029 (eval "$ac_link") 2>conftest.er1
32031 grep -v '^ *+' conftest.er1 >conftest.err
32033 cat conftest.err >&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } && {
32036 test -z "$ac_c_werror_flag" ||
32037 test ! -s conftest.err
32038 } && test -s conftest$ac_exeext &&
32039 $as_test_x conftest$ac_exeext; then
32040 ac_cv_func_gethostbyname=yes
32042 echo "$as_me: failed program was:" >&5
32043 sed 's/^/| /' conftest.$ac_ext >&5
32045 ac_cv_func_gethostbyname=no
32048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32049 conftest$ac_exeext conftest.$ac_ext
32051 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32052 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32054 if test $ac_cv_func_gethostbyname = no; then
32055 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32056 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32057 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32058 echo $ECHO_N "(cached) $ECHO_C" >&6
32060 ac_check_lib_save_LIBS=$LIBS
32062 cat >conftest.$ac_ext <<_ACEOF
32065 cat confdefs.h >>conftest.$ac_ext
32066 cat >>conftest.$ac_ext <<_ACEOF
32067 /* end confdefs.h. */
32069 /* Override any GCC internal prototype to avoid an error.
32070 Use char because int might match the return type of a GCC
32071 builtin and then its argument prototype would still apply. */
32075 char gethostbyname ();
32079 return gethostbyname ();
32084 rm -f conftest.$ac_objext conftest$ac_exeext
32085 if { (ac_try="$ac_link"
32086 case "(($ac_try" in
32087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32088 *) ac_try_echo=$ac_try;;
32090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32091 (eval "$ac_link") 2>conftest.er1
32093 grep -v '^ *+' conftest.er1 >conftest.err
32095 cat conftest.err >&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } && {
32098 test -z "$ac_c_werror_flag" ||
32099 test ! -s conftest.err
32100 } && test -s conftest$ac_exeext &&
32101 $as_test_x conftest$ac_exeext; then
32102 ac_cv_lib_nsl_gethostbyname=yes
32104 echo "$as_me: failed program was:" >&5
32105 sed 's/^/| /' conftest.$ac_ext >&5
32107 ac_cv_lib_nsl_gethostbyname=no
32110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32111 conftest$ac_exeext conftest.$ac_ext
32112 LIBS=$ac_check_lib_save_LIBS
32114 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32115 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32116 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32117 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32120 if test $ac_cv_lib_nsl_gethostbyname = no; then
32121 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32122 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32123 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32124 echo $ECHO_N "(cached) $ECHO_C" >&6
32126 ac_check_lib_save_LIBS=$LIBS
32128 cat >conftest.$ac_ext <<_ACEOF
32131 cat confdefs.h >>conftest.$ac_ext
32132 cat >>conftest.$ac_ext <<_ACEOF
32133 /* end confdefs.h. */
32135 /* Override any GCC internal prototype to avoid an error.
32136 Use char because int might match the return type of a GCC
32137 builtin and then its argument prototype would still apply. */
32141 char gethostbyname ();
32145 return gethostbyname ();
32150 rm -f conftest.$ac_objext conftest$ac_exeext
32151 if { (ac_try="$ac_link"
32152 case "(($ac_try" in
32153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32154 *) ac_try_echo=$ac_try;;
32156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32157 (eval "$ac_link") 2>conftest.er1
32159 grep -v '^ *+' conftest.er1 >conftest.err
32161 cat conftest.err >&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); } && {
32164 test -z "$ac_c_werror_flag" ||
32165 test ! -s conftest.err
32166 } && test -s conftest$ac_exeext &&
32167 $as_test_x conftest$ac_exeext; then
32168 ac_cv_lib_bsd_gethostbyname=yes
32170 echo "$as_me: failed program was:" >&5
32171 sed 's/^/| /' conftest.$ac_ext >&5
32173 ac_cv_lib_bsd_gethostbyname=no
32176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32177 conftest$ac_exeext conftest.$ac_ext
32178 LIBS=$ac_check_lib_save_LIBS
32180 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32181 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32182 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32183 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32189 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32190 # socket/setsockopt and other routines are undefined under SCO ODT
32191 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32192 # on later versions), says Simon Leinen: it contains gethostby*
32193 # variants that don't use the name server (or something). -lsocket
32194 # must be given before -lnsl if both are needed. We assume that
32195 # if connect needs -lnsl, so does gethostbyname.
32196 { echo "$as_me:$LINENO: checking for connect" >&5
32197 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32198 if test "${ac_cv_func_connect+set}" = set; then
32199 echo $ECHO_N "(cached) $ECHO_C" >&6
32201 cat >conftest.$ac_ext <<_ACEOF
32204 cat confdefs.h >>conftest.$ac_ext
32205 cat >>conftest.$ac_ext <<_ACEOF
32206 /* end confdefs.h. */
32207 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32209 #define connect innocuous_connect
32211 /* System header to define __stub macros and hopefully few prototypes,
32212 which can conflict with char connect (); below.
32213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32214 <limits.h> exists even on freestanding compilers. */
32217 # include <limits.h>
32219 # include <assert.h>
32224 /* Override any GCC internal prototype to avoid an error.
32225 Use char because int might match the return type of a GCC
32226 builtin and then its argument prototype would still apply. */
32231 /* The GNU C library defines this for functions which it implements
32232 to always fail with ENOSYS. Some functions are actually named
32233 something starting with __ and the normal name is an alias. */
32234 #if defined __stub_connect || defined __stub___connect
32246 rm -f conftest.$ac_objext conftest$ac_exeext
32247 if { (ac_try="$ac_link"
32248 case "(($ac_try" in
32249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32250 *) ac_try_echo=$ac_try;;
32252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32253 (eval "$ac_link") 2>conftest.er1
32255 grep -v '^ *+' conftest.er1 >conftest.err
32257 cat conftest.err >&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); } && {
32260 test -z "$ac_c_werror_flag" ||
32261 test ! -s conftest.err
32262 } && test -s conftest$ac_exeext &&
32263 $as_test_x conftest$ac_exeext; then
32264 ac_cv_func_connect=yes
32266 echo "$as_me: failed program was:" >&5
32267 sed 's/^/| /' conftest.$ac_ext >&5
32269 ac_cv_func_connect=no
32272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32273 conftest$ac_exeext conftest.$ac_ext
32275 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32276 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32278 if test $ac_cv_func_connect = no; then
32279 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32280 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32281 if test "${ac_cv_lib_socket_connect+set}" = set; then
32282 echo $ECHO_N "(cached) $ECHO_C" >&6
32284 ac_check_lib_save_LIBS=$LIBS
32285 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32286 cat >conftest.$ac_ext <<_ACEOF
32289 cat confdefs.h >>conftest.$ac_ext
32290 cat >>conftest.$ac_ext <<_ACEOF
32291 /* end confdefs.h. */
32293 /* Override any GCC internal prototype to avoid an error.
32294 Use char because int might match the return type of a GCC
32295 builtin and then its argument prototype would still apply. */
32308 rm -f conftest.$ac_objext conftest$ac_exeext
32309 if { (ac_try="$ac_link"
32310 case "(($ac_try" in
32311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32312 *) ac_try_echo=$ac_try;;
32314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32315 (eval "$ac_link") 2>conftest.er1
32317 grep -v '^ *+' conftest.er1 >conftest.err
32319 cat conftest.err >&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); } && {
32322 test -z "$ac_c_werror_flag" ||
32323 test ! -s conftest.err
32324 } && test -s conftest$ac_exeext &&
32325 $as_test_x conftest$ac_exeext; then
32326 ac_cv_lib_socket_connect=yes
32328 echo "$as_me: failed program was:" >&5
32329 sed 's/^/| /' conftest.$ac_ext >&5
32331 ac_cv_lib_socket_connect=no
32334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32335 conftest$ac_exeext conftest.$ac_ext
32336 LIBS=$ac_check_lib_save_LIBS
32338 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32339 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32340 if test $ac_cv_lib_socket_connect = yes; then
32341 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32346 # Guillermo Gomez says -lposix is necessary on A/UX.
32347 { echo "$as_me:$LINENO: checking for remove" >&5
32348 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32349 if test "${ac_cv_func_remove+set}" = set; then
32350 echo $ECHO_N "(cached) $ECHO_C" >&6
32352 cat >conftest.$ac_ext <<_ACEOF
32355 cat confdefs.h >>conftest.$ac_ext
32356 cat >>conftest.$ac_ext <<_ACEOF
32357 /* end confdefs.h. */
32358 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32360 #define remove innocuous_remove
32362 /* System header to define __stub macros and hopefully few prototypes,
32363 which can conflict with char remove (); below.
32364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32365 <limits.h> exists even on freestanding compilers. */
32368 # include <limits.h>
32370 # include <assert.h>
32375 /* Override any GCC internal prototype to avoid an error.
32376 Use char because int might match the return type of a GCC
32377 builtin and then its argument prototype would still apply. */
32382 /* The GNU C library defines this for functions which it implements
32383 to always fail with ENOSYS. Some functions are actually named
32384 something starting with __ and the normal name is an alias. */
32385 #if defined __stub_remove || defined __stub___remove
32397 rm -f conftest.$ac_objext conftest$ac_exeext
32398 if { (ac_try="$ac_link"
32399 case "(($ac_try" in
32400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32401 *) ac_try_echo=$ac_try;;
32403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32404 (eval "$ac_link") 2>conftest.er1
32406 grep -v '^ *+' conftest.er1 >conftest.err
32408 cat conftest.err >&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } && {
32411 test -z "$ac_c_werror_flag" ||
32412 test ! -s conftest.err
32413 } && test -s conftest$ac_exeext &&
32414 $as_test_x conftest$ac_exeext; then
32415 ac_cv_func_remove=yes
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32420 ac_cv_func_remove=no
32423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32424 conftest$ac_exeext conftest.$ac_ext
32426 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32427 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32429 if test $ac_cv_func_remove = no; then
32430 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32431 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32432 if test "${ac_cv_lib_posix_remove+set}" = set; then
32433 echo $ECHO_N "(cached) $ECHO_C" >&6
32435 ac_check_lib_save_LIBS=$LIBS
32436 LIBS="-lposix $LIBS"
32437 cat >conftest.$ac_ext <<_ACEOF
32440 cat confdefs.h >>conftest.$ac_ext
32441 cat >>conftest.$ac_ext <<_ACEOF
32442 /* end confdefs.h. */
32444 /* Override any GCC internal prototype to avoid an error.
32445 Use char because int might match the return type of a GCC
32446 builtin and then its argument prototype would still apply. */
32459 rm -f conftest.$ac_objext conftest$ac_exeext
32460 if { (ac_try="$ac_link"
32461 case "(($ac_try" in
32462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32463 *) ac_try_echo=$ac_try;;
32465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32466 (eval "$ac_link") 2>conftest.er1
32468 grep -v '^ *+' conftest.er1 >conftest.err
32470 cat conftest.err >&5
32471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472 (exit $ac_status); } && {
32473 test -z "$ac_c_werror_flag" ||
32474 test ! -s conftest.err
32475 } && test -s conftest$ac_exeext &&
32476 $as_test_x conftest$ac_exeext; then
32477 ac_cv_lib_posix_remove=yes
32479 echo "$as_me: failed program was:" >&5
32480 sed 's/^/| /' conftest.$ac_ext >&5
32482 ac_cv_lib_posix_remove=no
32485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32486 conftest$ac_exeext conftest.$ac_ext
32487 LIBS=$ac_check_lib_save_LIBS
32489 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32490 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32491 if test $ac_cv_lib_posix_remove = yes; then
32492 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32497 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32498 { echo "$as_me:$LINENO: checking for shmat" >&5
32499 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32500 if test "${ac_cv_func_shmat+set}" = set; then
32501 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 cat >conftest.$ac_ext <<_ACEOF
32506 cat confdefs.h >>conftest.$ac_ext
32507 cat >>conftest.$ac_ext <<_ACEOF
32508 /* end confdefs.h. */
32509 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32511 #define shmat innocuous_shmat
32513 /* System header to define __stub macros and hopefully few prototypes,
32514 which can conflict with char shmat (); below.
32515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32516 <limits.h> exists even on freestanding compilers. */
32519 # include <limits.h>
32521 # include <assert.h>
32526 /* Override any GCC internal prototype to avoid an error.
32527 Use char because int might match the return type of a GCC
32528 builtin and then its argument prototype would still apply. */
32533 /* The GNU C library defines this for functions which it implements
32534 to always fail with ENOSYS. Some functions are actually named
32535 something starting with __ and the normal name is an alias. */
32536 #if defined __stub_shmat || defined __stub___shmat
32548 rm -f conftest.$ac_objext conftest$ac_exeext
32549 if { (ac_try="$ac_link"
32550 case "(($ac_try" in
32551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32552 *) ac_try_echo=$ac_try;;
32554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32555 (eval "$ac_link") 2>conftest.er1
32557 grep -v '^ *+' conftest.er1 >conftest.err
32559 cat conftest.err >&5
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); } && {
32562 test -z "$ac_c_werror_flag" ||
32563 test ! -s conftest.err
32564 } && test -s conftest$ac_exeext &&
32565 $as_test_x conftest$ac_exeext; then
32566 ac_cv_func_shmat=yes
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32571 ac_cv_func_shmat=no
32574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32575 conftest$ac_exeext conftest.$ac_ext
32577 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32578 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32580 if test $ac_cv_func_shmat = no; then
32581 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32582 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32583 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32584 echo $ECHO_N "(cached) $ECHO_C" >&6
32586 ac_check_lib_save_LIBS=$LIBS
32588 cat >conftest.$ac_ext <<_ACEOF
32591 cat confdefs.h >>conftest.$ac_ext
32592 cat >>conftest.$ac_ext <<_ACEOF
32593 /* end confdefs.h. */
32595 /* Override any GCC internal prototype to avoid an error.
32596 Use char because int might match the return type of a GCC
32597 builtin and then its argument prototype would still apply. */
32610 rm -f conftest.$ac_objext conftest$ac_exeext
32611 if { (ac_try="$ac_link"
32612 case "(($ac_try" in
32613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32614 *) ac_try_echo=$ac_try;;
32616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32617 (eval "$ac_link") 2>conftest.er1
32619 grep -v '^ *+' conftest.er1 >conftest.err
32621 cat conftest.err >&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); } && {
32624 test -z "$ac_c_werror_flag" ||
32625 test ! -s conftest.err
32626 } && test -s conftest$ac_exeext &&
32627 $as_test_x conftest$ac_exeext; then
32628 ac_cv_lib_ipc_shmat=yes
32630 echo "$as_me: failed program was:" >&5
32631 sed 's/^/| /' conftest.$ac_ext >&5
32633 ac_cv_lib_ipc_shmat=no
32636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32637 conftest$ac_exeext conftest.$ac_ext
32638 LIBS=$ac_check_lib_save_LIBS
32640 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32641 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32642 if test $ac_cv_lib_ipc_shmat = yes; then
32643 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32649 # Check for libraries that X11R6 Xt/Xaw programs need.
32650 ac_save_LDFLAGS=$LDFLAGS
32651 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32652 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32653 # check for ICE first), but we must link in the order -lSM -lICE or
32654 # we get undefined symbols. So assume we have SM if we have ICE.
32655 # These have to be linked with before -lX11, unlike the other
32656 # libraries we check for below, so use a different variable.
32657 # John Interrante, Karl Berry
32658 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32659 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32660 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32661 echo $ECHO_N "(cached) $ECHO_C" >&6
32663 ac_check_lib_save_LIBS=$LIBS
32664 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32665 cat >conftest.$ac_ext <<_ACEOF
32668 cat confdefs.h >>conftest.$ac_ext
32669 cat >>conftest.$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32672 /* Override any GCC internal prototype to avoid an error.
32673 Use char because int might match the return type of a GCC
32674 builtin and then its argument prototype would still apply. */
32678 char IceConnectionNumber ();
32682 return IceConnectionNumber ();
32687 rm -f conftest.$ac_objext conftest$ac_exeext
32688 if { (ac_try="$ac_link"
32689 case "(($ac_try" in
32690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32691 *) ac_try_echo=$ac_try;;
32693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32694 (eval "$ac_link") 2>conftest.er1
32696 grep -v '^ *+' conftest.er1 >conftest.err
32698 cat conftest.err >&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); } && {
32701 test -z "$ac_c_werror_flag" ||
32702 test ! -s conftest.err
32703 } && test -s conftest$ac_exeext &&
32704 $as_test_x conftest$ac_exeext; then
32705 ac_cv_lib_ICE_IceConnectionNumber=yes
32707 echo "$as_me: failed program was:" >&5
32708 sed 's/^/| /' conftest.$ac_ext >&5
32710 ac_cv_lib_ICE_IceConnectionNumber=no
32713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32714 conftest$ac_exeext conftest.$ac_ext
32715 LIBS=$ac_check_lib_save_LIBS
32717 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32718 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32719 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32720 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32723 LDFLAGS=$ac_save_LDFLAGS
32728 if test "$no_x" = "yes"; then
32729 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32730 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32731 { (exit 1); exit 1; }; }
32734 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32735 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32736 AFMINSTALL=afminstall
32737 COMPILED_X_PROGRAM=0
32741 if test "$wxUSE_X11" = 1; then
32742 if test "$wxUSE_NANOX" = "yes"; then
32743 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32744 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32745 if test "x$MICROWIN" = x ; then
32746 { echo "$as_me:$LINENO: result: not found" >&5
32747 echo "${ECHO_T}not found" >&6; }
32748 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32749 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32750 { (exit 1); exit 1; }; }
32752 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32753 echo "${ECHO_T}$MICROWIN" >&6; }
32754 cat >>confdefs.h <<\_ACEOF
32755 #define wxUSE_NANOX 1
32761 if test "$wxUSE_UNICODE" = "yes"; then
32764 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32765 if test -n "$ac_tool_prefix"; then
32766 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32767 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32770 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32771 echo $ECHO_N "(cached) $ECHO_C" >&6
32773 case $PKG_CONFIG in
32775 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32779 for as_dir in $PATH
32782 test -z "$as_dir" && as_dir=.
32783 for ac_exec_ext in '' $ac_executable_extensions; do
32784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32785 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32796 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32797 if test -n "$PKG_CONFIG"; then
32798 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32799 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32801 { echo "$as_me:$LINENO: result: no" >&5
32802 echo "${ECHO_T}no" >&6; }
32807 if test -z "$ac_cv_path_PKG_CONFIG"; then
32808 ac_pt_PKG_CONFIG=$PKG_CONFIG
32809 # Extract the first word of "pkg-config", so it can be a program name with args.
32810 set dummy pkg-config; ac_word=$2
32811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32813 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32814 echo $ECHO_N "(cached) $ECHO_C" >&6
32816 case $ac_pt_PKG_CONFIG in
32818 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32822 for as_dir in $PATH
32825 test -z "$as_dir" && as_dir=.
32826 for ac_exec_ext in '' $ac_executable_extensions; do
32827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32828 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32839 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32840 if test -n "$ac_pt_PKG_CONFIG"; then
32841 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32842 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32844 { echo "$as_me:$LINENO: result: no" >&5
32845 echo "${ECHO_T}no" >&6; }
32848 if test "x$ac_pt_PKG_CONFIG" = x; then
32851 case $cross_compiling:$ac_tool_warned in
32853 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32854 whose name does not start with the host triplet. If you think this
32855 configuration is useful to you, please write to autoconf@gnu.org." >&5
32856 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32857 whose name does not start with the host triplet. If you think this
32858 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32859 ac_tool_warned=yes ;;
32861 PKG_CONFIG=$ac_pt_PKG_CONFIG
32864 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32868 if test -n "$PKG_CONFIG"; then
32869 _pkg_min_version=0.9.0
32870 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32871 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32872 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32873 { echo "$as_me:$LINENO: result: yes" >&5
32874 echo "${ECHO_T}yes" >&6; }
32876 { echo "$as_me:$LINENO: result: no" >&5
32877 echo "${ECHO_T}no" >&6; }
32885 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32886 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32888 if test -n "$PKG_CONFIG"; then
32889 if test -n "$PANGOX_CFLAGS"; then
32890 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32892 if test -n "$PKG_CONFIG" && \
32893 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32894 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); }; then
32898 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32906 if test -n "$PKG_CONFIG"; then
32907 if test -n "$PANGOX_LIBS"; then
32908 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32910 if test -n "$PKG_CONFIG" && \
32911 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32912 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 (exit $ac_status); }; then
32916 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32927 if test $pkg_failed = yes; then
32929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32930 _pkg_short_errors_supported=yes
32932 _pkg_short_errors_supported=no
32934 if test $_pkg_short_errors_supported = yes; then
32935 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32937 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32939 # Put the nasty error message in config.log where it belongs
32940 echo "$PANGOX_PKG_ERRORS" >&5
32943 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32944 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32945 { (exit 1); exit 1; }; }
32948 elif test $pkg_failed = untried; then
32950 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32951 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32952 { (exit 1); exit 1; }; }
32956 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32957 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32958 { echo "$as_me:$LINENO: result: yes" >&5
32959 echo "${ECHO_T}yes" >&6; }
32961 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32962 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32963 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32968 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32969 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32971 if test -n "$PKG_CONFIG"; then
32972 if test -n "$PANGOFT2_CFLAGS"; then
32973 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32975 if test -n "$PKG_CONFIG" && \
32976 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32977 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; then
32981 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32989 if test -n "$PKG_CONFIG"; then
32990 if test -n "$PANGOFT2_LIBS"; then
32991 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32993 if test -n "$PKG_CONFIG" && \
32994 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32995 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32998 (exit $ac_status); }; then
32999 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33010 if test $pkg_failed = yes; then
33012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33013 _pkg_short_errors_supported=yes
33015 _pkg_short_errors_supported=no
33017 if test $_pkg_short_errors_supported = yes; then
33018 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33020 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33022 # Put the nasty error message in config.log where it belongs
33023 echo "$PANGOFT2_PKG_ERRORS" >&5
33026 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33027 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33028 wxUSE_PRINTING_ARCHITECTURE="no"
33031 elif test $pkg_failed = untried; then
33033 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33034 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33035 wxUSE_PRINTING_ARCHITECTURE="no"
33039 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33040 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33041 { echo "$as_me:$LINENO: result: yes" >&5
33042 echo "${ECHO_T}yes" >&6; }
33044 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33045 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33046 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33051 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33052 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33054 if test -n "$PKG_CONFIG"; then
33055 if test -n "$PANGOXFT_CFLAGS"; then
33056 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33058 if test -n "$PKG_CONFIG" && \
33059 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33060 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; then
33064 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33072 if test -n "$PKG_CONFIG"; then
33073 if test -n "$PANGOXFT_LIBS"; then
33074 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33076 if test -n "$PKG_CONFIG" && \
33077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33078 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; then
33082 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33093 if test $pkg_failed = yes; then
33095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33096 _pkg_short_errors_supported=yes
33098 _pkg_short_errors_supported=no
33100 if test $_pkg_short_errors_supported = yes; then
33101 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33103 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33105 # Put the nasty error message in config.log where it belongs
33106 echo "$PANGOXFT_PKG_ERRORS" >&5
33109 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33110 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33113 elif test $pkg_failed = untried; then
33115 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33116 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33120 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33121 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33122 { echo "$as_me:$LINENO: result: yes" >&5
33123 echo "${ECHO_T}yes" >&6; }
33125 cat >>confdefs.h <<\_ACEOF
33126 #define HAVE_PANGO_XFT 1
33129 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33130 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33131 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33135 LIBS="$LIBS $PANGOX_LIBS"
33137 for ac_func in pango_font_family_is_monospace
33139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33140 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33142 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33143 echo $ECHO_N "(cached) $ECHO_C" >&6
33145 cat >conftest.$ac_ext <<_ACEOF
33148 cat confdefs.h >>conftest.$ac_ext
33149 cat >>conftest.$ac_ext <<_ACEOF
33150 /* end confdefs.h. */
33151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33153 #define $ac_func innocuous_$ac_func
33155 /* System header to define __stub macros and hopefully few prototypes,
33156 which can conflict with char $ac_func (); below.
33157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33158 <limits.h> exists even on freestanding compilers. */
33161 # include <limits.h>
33163 # include <assert.h>
33168 /* Override any GCC internal prototype to avoid an error.
33169 Use char because int might match the return type of a GCC
33170 builtin and then its argument prototype would still apply. */
33175 /* The GNU C library defines this for functions which it implements
33176 to always fail with ENOSYS. Some functions are actually named
33177 something starting with __ and the normal name is an alias. */
33178 #if defined __stub_$ac_func || defined __stub___$ac_func
33185 return $ac_func ();
33190 rm -f conftest.$ac_objext conftest$ac_exeext
33191 if { (ac_try="$ac_link"
33192 case "(($ac_try" in
33193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33194 *) ac_try_echo=$ac_try;;
33196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33197 (eval "$ac_link") 2>conftest.er1
33199 grep -v '^ *+' conftest.er1 >conftest.err
33201 cat conftest.err >&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); } && {
33204 test -z "$ac_c_werror_flag" ||
33205 test ! -s conftest.err
33206 } && test -s conftest$ac_exeext &&
33207 $as_test_x conftest$ac_exeext; then
33208 eval "$as_ac_var=yes"
33210 echo "$as_me: failed program was:" >&5
33211 sed 's/^/| /' conftest.$ac_ext >&5
33213 eval "$as_ac_var=no"
33216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33217 conftest$ac_exeext conftest.$ac_ext
33219 ac_res=`eval echo '${'$as_ac_var'}'`
33220 { echo "$as_me:$LINENO: result: $ac_res" >&5
33221 echo "${ECHO_T}$ac_res" >&6; }
33222 if test `eval echo '${'$as_ac_var'}'` = yes; then
33223 cat >>confdefs.h <<_ACEOF
33224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33233 wxUSE_UNIVERSAL="yes"
33235 if test "$wxUSE_NANOX" = "yes"; then
33236 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33237 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"
33238 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33240 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33247 if test "$wxUSE_MOTIF" = 1; then
33248 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33249 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33252 for ac_dir in $SEARCH_INCLUDE /usr/include
33254 if test -f "$ac_dir/Xm/Xm.h"; then
33255 ac_find_includes=$ac_dir
33260 if test "$ac_find_includes" != "" ; then
33261 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33262 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33264 if test "x$ac_find_includes" = "x/usr/include"; then
33265 ac_path_to_include=""
33267 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33269 if test $result = 0; then
33270 ac_path_to_include=""
33272 ac_path_to_include=" -I$ac_find_includes"
33276 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33278 save_CFLAGS=$CFLAGS
33279 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33281 cat >conftest.$ac_ext <<_ACEOF
33284 cat confdefs.h >>conftest.$ac_ext
33285 cat >>conftest.$ac_ext <<_ACEOF
33286 /* end confdefs.h. */
33295 version = xmUseVersion;
33301 rm -f conftest.$ac_objext
33302 if { (ac_try="$ac_compile"
33303 case "(($ac_try" in
33304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33305 *) ac_try_echo=$ac_try;;
33307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33308 (eval "$ac_compile") 2>conftest.er1
33310 grep -v '^ *+' conftest.er1 >conftest.err
33312 cat conftest.err >&5
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); } && {
33315 test -z "$ac_c_werror_flag" ||
33316 test ! -s conftest.err
33317 } && test -s conftest.$ac_objext; then
33319 { echo "$as_me:$LINENO: result: found in default search path" >&5
33320 echo "${ECHO_T}found in default search path" >&6; }
33321 COMPILED_X_PROGRAM=1
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.$ac_ext >&5
33328 { echo "$as_me:$LINENO: result: no" >&5
33329 echo "${ECHO_T}no" >&6; }
33330 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33331 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33332 { (exit 1); exit 1; }; }
33337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33339 CFLAGS=$save_CFLAGS
33343 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33344 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33347 for ac_dir in $SEARCH_LIB
33349 for ac_extension in a so sl dylib dll.a; do
33350 if test -f "$ac_dir/libXm.$ac_extension"; then
33351 ac_find_libraries=$ac_dir
33358 if test "x$ac_find_libraries" != "x" ; then
33359 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33360 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33363 if test "$ac_find_libraries" = "default location"; then
33366 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33368 if test $result = 0; then
33371 ac_path_to_link=" -L$ac_find_libraries"
33375 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33377 save_CFLAGS=$CFLAGS
33378 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33380 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33382 cat >conftest.$ac_ext <<_ACEOF
33385 cat confdefs.h >>conftest.$ac_ext
33386 cat >>conftest.$ac_ext <<_ACEOF
33387 /* end confdefs.h. */
33396 version = xmUseVersion;
33402 rm -f conftest.$ac_objext conftest$ac_exeext
33403 if { (ac_try="$ac_link"
33404 case "(($ac_try" in
33405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33406 *) ac_try_echo=$ac_try;;
33408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33409 (eval "$ac_link") 2>conftest.er1
33411 grep -v '^ *+' conftest.er1 >conftest.err
33413 cat conftest.err >&5
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); } && {
33416 test -z "$ac_c_werror_flag" ||
33417 test ! -s conftest.err
33418 } && test -s conftest$ac_exeext &&
33419 $as_test_x conftest$ac_exeext; then
33421 { echo "$as_me:$LINENO: result: found in default search path" >&5
33422 echo "${ECHO_T}found in default search path" >&6; }
33423 COMPILED_X_PROGRAM=1
33426 echo "$as_me: failed program was:" >&5
33427 sed 's/^/| /' conftest.$ac_ext >&5
33430 { echo "$as_me:$LINENO: result: no" >&5
33431 echo "${ECHO_T}no" >&6; }
33432 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33433 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33434 { (exit 1); exit 1; }; }
33439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33440 conftest$ac_exeext conftest.$ac_ext
33442 CFLAGS=$save_CFLAGS
33446 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33447 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33451 for libp in "" " -lXp"; do
33452 if test "$libs_found" = 0; then
33453 for libsm_ice in "" " -lSM -lICE"; do
33454 if test "$libs_found" = 0; then
33456 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33457 save_CFLAGS=$CFLAGS
33458 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33460 cat >conftest.$ac_ext <<_ACEOF
33463 cat confdefs.h >>conftest.$ac_ext
33464 cat >>conftest.$ac_ext <<_ACEOF
33465 /* end confdefs.h. */
33468 #include <Xm/List.h>
33474 XmString string = NULL;
33477 XmListAddItem(w, string, position);
33483 rm -f conftest.$ac_objext conftest$ac_exeext
33484 if { (ac_try="$ac_link"
33485 case "(($ac_try" in
33486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33487 *) ac_try_echo=$ac_try;;
33489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33490 (eval "$ac_link") 2>conftest.er1
33492 grep -v '^ *+' conftest.er1 >conftest.err
33494 cat conftest.err >&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); } && {
33497 test -z "$ac_c_werror_flag" ||
33498 test ! -s conftest.err
33499 } && test -s conftest$ac_exeext &&
33500 $as_test_x conftest$ac_exeext; then
33503 libsm_ice_link="$libsm_ice"
33504 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33505 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33509 echo "$as_me: failed program was:" >&5
33510 sed 's/^/| /' conftest.$ac_ext >&5
33516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33517 conftest$ac_exeext conftest.$ac_ext
33520 CFLAGS=$save_CFLAGS
33526 if test "$libs_found" = 0; then
33527 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33528 echo "${ECHO_T}can't find the right libraries" >&6; }
33529 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33530 echo "$as_me: error: can't link a simple motif program" >&2;}
33531 { (exit 1); exit 1; }; }
33534 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33535 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33536 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33537 echo $ECHO_N "(cached) $ECHO_C" >&6
33539 ac_check_lib_save_LIBS=$LIBS
33541 cat >conftest.$ac_ext <<_ACEOF
33544 cat confdefs.h >>conftest.$ac_ext
33545 cat >>conftest.$ac_ext <<_ACEOF
33546 /* end confdefs.h. */
33548 /* Override any GCC internal prototype to avoid an error.
33549 Use char because int might match the return type of a GCC
33550 builtin and then its argument prototype would still apply. */
33554 char SgCreateList ();
33558 return SgCreateList ();
33563 rm -f conftest.$ac_objext conftest$ac_exeext
33564 if { (ac_try="$ac_link"
33565 case "(($ac_try" in
33566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33567 *) ac_try_echo=$ac_try;;
33569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33570 (eval "$ac_link") 2>conftest.er1
33572 grep -v '^ *+' conftest.er1 >conftest.err
33574 cat conftest.err >&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } && {
33577 test -z "$ac_c_werror_flag" ||
33578 test ! -s conftest.err
33579 } && test -s conftest$ac_exeext &&
33580 $as_test_x conftest$ac_exeext; then
33581 ac_cv_lib_Sgm_SgCreateList=yes
33583 echo "$as_me: failed program was:" >&5
33584 sed 's/^/| /' conftest.$ac_ext >&5
33586 ac_cv_lib_Sgm_SgCreateList=no
33589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33590 conftest$ac_exeext conftest.$ac_ext
33591 LIBS=$ac_check_lib_save_LIBS
33593 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33594 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33595 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33596 libsgm_link=" -lSgm"
33600 save_CFLAGS=$CFLAGS
33601 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33603 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33604 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33605 if test "${wx_cv_lib_motif2+set}" = set; then
33606 echo $ECHO_N "(cached) $ECHO_C" >&6
33608 cat >conftest.$ac_ext <<_ACEOF
33611 cat confdefs.h >>conftest.$ac_ext
33612 cat >>conftest.$ac_ext <<_ACEOF
33613 /* end confdefs.h. */
33621 #if XmVersion < 2000
33629 rm -f conftest.$ac_objext
33630 if { (ac_try="$ac_compile"
33631 case "(($ac_try" in
33632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33633 *) ac_try_echo=$ac_try;;
33635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33636 (eval "$ac_compile") 2>conftest.er1
33638 grep -v '^ *+' conftest.er1 >conftest.err
33640 cat conftest.err >&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); } && {
33643 test -z "$ac_c_werror_flag" ||
33644 test ! -s conftest.err
33645 } && test -s conftest.$ac_objext; then
33646 wx_cv_lib_motif2="yes"
33648 echo "$as_me: failed program was:" >&5
33649 sed 's/^/| /' conftest.$ac_ext >&5
33651 wx_cv_lib_motif2="no"
33654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33656 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33657 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33658 if test "$wx_cv_lib_motif2" = "yes"; then
33659 cat >>confdefs.h <<\_ACEOF
33660 #define __WXMOTIF20__ 1
33664 cat >>confdefs.h <<\_ACEOF
33665 #define __WXMOTIF20__ 0
33670 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33671 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33672 if test "${wx_cv_lib_lesstif+set}" = set; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33675 cat >conftest.$ac_ext <<_ACEOF
33678 cat confdefs.h >>conftest.$ac_ext
33679 cat >>conftest.$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33688 #if !defined(LesstifVersion) || LesstifVersion <= 0
33696 rm -f conftest.$ac_objext
33697 if { (ac_try="$ac_compile"
33698 case "(($ac_try" in
33699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33700 *) ac_try_echo=$ac_try;;
33702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33703 (eval "$ac_compile") 2>conftest.er1
33705 grep -v '^ *+' conftest.er1 >conftest.err
33707 cat conftest.err >&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } && {
33710 test -z "$ac_c_werror_flag" ||
33711 test ! -s conftest.err
33712 } && test -s conftest.$ac_objext; then
33713 wx_cv_lib_lesstif="yes"
33715 echo "$as_me: failed program was:" >&5
33716 sed 's/^/| /' conftest.$ac_ext >&5
33718 wx_cv_lib_lesstif="no"
33721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33724 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33725 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33726 if test "$wx_cv_lib_lesstif" = "yes"; then
33727 cat >>confdefs.h <<\_ACEOF
33728 #define __WXLESSTIF__ 1
33732 cat >>confdefs.h <<\_ACEOF
33733 #define __WXLESSTIF__ 0
33738 CFLAGS=$save_CFLAGS
33740 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33745 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33746 if test "$wxUSE_LIBXPM" = "sys"; then
33747 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33748 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33751 for ac_dir in $SEARCH_LIB
33753 for ac_extension in a so sl dylib dll.a; do
33754 if test -f "$ac_dir/libXpm.$ac_extension"; then
33755 ac_find_libraries=$ac_dir
33761 if test "$ac_find_libraries" != "" ; then
33763 if test "$ac_find_libraries" = "default location"; then
33766 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33768 if test $result = 0; then
33771 ac_path_to_link=" -L$ac_find_libraries"
33775 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33776 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33777 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33779 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33780 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33781 if test "${wx_cv_x11_xpm_h+set}" = set; then
33782 echo $ECHO_N "(cached) $ECHO_C" >&6
33785 save_CFLAGS=$CFLAGS
33786 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33788 cat >conftest.$ac_ext <<_ACEOF
33791 cat confdefs.h >>conftest.$ac_ext
33792 cat >>conftest.$ac_ext <<_ACEOF
33793 /* end confdefs.h. */
33795 #include <X11/xpm.h>
33802 version = XpmLibraryVersion();
33808 rm -f conftest.$ac_objext
33809 if { (ac_try="$ac_compile"
33810 case "(($ac_try" in
33811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33812 *) ac_try_echo=$ac_try;;
33814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33815 (eval "$ac_compile") 2>conftest.er1
33817 grep -v '^ *+' conftest.er1 >conftest.err
33819 cat conftest.err >&5
33820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821 (exit $ac_status); } && {
33822 test -z "$ac_c_werror_flag" ||
33823 test ! -s conftest.err
33824 } && test -s conftest.$ac_objext; then
33825 wx_cv_x11_xpm_h=yes
33827 echo "$as_me: failed program was:" >&5
33828 sed 's/^/| /' conftest.$ac_ext >&5
33834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33836 CFLAGS=$save_CFLAGS
33840 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33841 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33843 if test $wx_cv_x11_xpm_h = "yes"; then
33844 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33845 cat >>confdefs.h <<\_ACEOF
33846 #define wxHAVE_LIB_XPM 1
33850 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33851 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33857 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33858 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33859 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33860 echo $ECHO_N "(cached) $ECHO_C" >&6
33862 ac_check_lib_save_LIBS=$LIBS
33863 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33864 cat >conftest.$ac_ext <<_ACEOF
33867 cat confdefs.h >>conftest.$ac_ext
33868 cat >>conftest.$ac_ext <<_ACEOF
33869 /* end confdefs.h. */
33871 /* Override any GCC internal prototype to avoid an error.
33872 Use char because int might match the return type of a GCC
33873 builtin and then its argument prototype would still apply. */
33877 char XShapeQueryExtension ();
33881 return XShapeQueryExtension ();
33886 rm -f conftest.$ac_objext conftest$ac_exeext
33887 if { (ac_try="$ac_link"
33888 case "(($ac_try" in
33889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33890 *) ac_try_echo=$ac_try;;
33892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33893 (eval "$ac_link") 2>conftest.er1
33895 grep -v '^ *+' conftest.er1 >conftest.err
33897 cat conftest.err >&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); } && {
33900 test -z "$ac_c_werror_flag" ||
33901 test ! -s conftest.err
33902 } && test -s conftest$ac_exeext &&
33903 $as_test_x conftest$ac_exeext; then
33904 ac_cv_lib_Xext_XShapeQueryExtension=yes
33906 echo "$as_me: failed program was:" >&5
33907 sed 's/^/| /' conftest.$ac_ext >&5
33909 ac_cv_lib_Xext_XShapeQueryExtension=no
33912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33913 conftest$ac_exeext conftest.$ac_ext
33914 LIBS=$ac_check_lib_save_LIBS
33916 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33917 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33918 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33920 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33926 if test "$wxHAVE_XEXT_LIB" = 1; then
33927 save_CFLAGS="$CFLAGS"
33928 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33930 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33931 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33932 cat >conftest.$ac_ext <<_ACEOF
33935 cat confdefs.h >>conftest.$ac_ext
33936 cat >>conftest.$ac_ext <<_ACEOF
33937 /* end confdefs.h. */
33939 #include <X11/Xlib.h>
33940 #include <X11/extensions/shape.h>
33946 int dummy1, dummy2;
33947 XShapeQueryExtension((Display*)NULL,
33948 (int*)NULL, (int*)NULL);
33954 rm -f conftest.$ac_objext
33955 if { (ac_try="$ac_compile"
33956 case "(($ac_try" in
33957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33958 *) ac_try_echo=$ac_try;;
33960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33961 (eval "$ac_compile") 2>conftest.er1
33963 grep -v '^ *+' conftest.er1 >conftest.err
33965 cat conftest.err >&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); } && {
33968 test -z "$ac_c_werror_flag" ||
33969 test ! -s conftest.err
33970 } && test -s conftest.$ac_objext; then
33972 cat >>confdefs.h <<\_ACEOF
33973 #define HAVE_XSHAPE 1
33976 { echo "$as_me:$LINENO: result: found" >&5
33977 echo "${ECHO_T}found" >&6; }
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33984 { echo "$as_me:$LINENO: result: not found" >&5
33985 echo "${ECHO_T}not found" >&6; }
33989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33990 CFLAGS="$save_CFLAGS"
33995 if test "$wxUSE_OSX_CARBON" = 1; then
33996 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33997 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33998 if test "$GCC" = yes; then
33999 { echo "$as_me:$LINENO: result: gcc" >&5
34000 echo "${ECHO_T}gcc" >&6; }
34001 CPPFLAGS_PASCAL="-fpascal-strings"
34002 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34003 { echo "$as_me:$LINENO: result: xlc" >&5
34004 echo "${ECHO_T}xlc" >&6; }
34005 CPPFLAGS_PASCAL="-qmacpstr"
34007 { echo "$as_me:$LINENO: result: none" >&5
34008 echo "${ECHO_T}none" >&6; }
34011 if test "x$wxUSE_UNIX" = "xyes"; then
34012 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34014 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34018 GUIDIST=OSX_CARBON_DIST
34019 WXBASEPORT="_carbon"
34021 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34024 if test "$wxUSE_OSX_COCOA" = 1; then
34026 GUIDIST=OSX_COCOA_DIST
34028 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34031 if test "$wxUSE_OSX_IPHONE" = 1; then
34035 if test "$wxUSE_OLD_COCOA" = 1; then
34040 if test "$wxUSE_PM" = 1; then
34043 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34044 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34045 if test "${wx_cv_spbcdata+set}" = set; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34049 cat >conftest.$ac_ext <<_ACEOF
34052 cat confdefs.h >>conftest.$ac_ext
34053 cat >>conftest.$ac_ext <<_ACEOF
34054 /* end confdefs.h. */
34069 rm -f conftest.$ac_objext
34070 if { (ac_try="$ac_compile"
34071 case "(($ac_try" in
34072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34073 *) ac_try_echo=$ac_try;;
34075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34076 (eval "$ac_compile") 2>conftest.er1
34078 grep -v '^ *+' conftest.er1 >conftest.err
34080 cat conftest.err >&5
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); } && {
34083 test -z "$ac_c_werror_flag" ||
34084 test ! -s conftest.err
34085 } && test -s conftest.$ac_objext; then
34088 echo "$as_me: failed program was:" >&5
34089 sed 's/^/| /' conftest.$ac_ext >&5
34095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34099 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34100 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34102 if test $wx_cv_spbcdata = "yes"; then
34103 cat >>confdefs.h <<\_ACEOF
34104 #define HAVE_SPBCDATA 1
34110 if test "$TOOLKIT" = "PM" ; then
34113 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34116 if test "$wxUSE_UNIVERSAL" = "yes"; then
34117 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34121 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34122 DISTDIR="wx\$(TOOLKIT)"
34128 if test "$USE_WIN32" = 1 ; then
34132 GUIDIST="BASE_DIST"
34138 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34139 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34140 wxUSE_UNICODE_UTF8=yes
34141 elif test "$USE_OS2" = 1 ; then
34142 wxUSE_UNICODE_UTF8=yes
34144 wxUSE_UNICODE_UTF8=no
34149 if test "$wxUSE_GUI" = "yes"; then
34150 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34152 for ac_header in X11/Xlib.h
34154 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34160 cat >conftest.$ac_ext <<_ACEOF
34163 cat confdefs.h >>conftest.$ac_ext
34164 cat >>conftest.$ac_ext <<_ACEOF
34165 /* end confdefs.h. */
34168 #include <$ac_header>
34170 rm -f conftest.$ac_objext
34171 if { (ac_try="$ac_compile"
34172 case "(($ac_try" in
34173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34174 *) ac_try_echo=$ac_try;;
34176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34177 (eval "$ac_compile") 2>conftest.er1
34179 grep -v '^ *+' conftest.er1 >conftest.err
34181 cat conftest.err >&5
34182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34183 (exit $ac_status); } && {
34184 test -z "$ac_c_werror_flag" ||
34185 test ! -s conftest.err
34186 } && test -s conftest.$ac_objext; then
34187 eval "$as_ac_Header=yes"
34189 echo "$as_me: failed program was:" >&5
34190 sed 's/^/| /' conftest.$ac_ext >&5
34192 eval "$as_ac_Header=no"
34195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34197 ac_res=`eval echo '${'$as_ac_Header'}'`
34198 { echo "$as_me:$LINENO: result: $ac_res" >&5
34199 echo "${ECHO_T}$ac_res" >&6; }
34200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34201 cat >>confdefs.h <<_ACEOF
34202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34210 for ac_header in X11/XKBlib.h
34212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34216 echo $ECHO_N "(cached) $ECHO_C" >&6
34218 cat >conftest.$ac_ext <<_ACEOF
34221 cat confdefs.h >>conftest.$ac_ext
34222 cat >>conftest.$ac_ext <<_ACEOF
34223 /* end confdefs.h. */
34225 #if HAVE_X11_XLIB_H
34226 #include <X11/Xlib.h>
34230 #include <$ac_header>
34232 rm -f conftest.$ac_objext
34233 if { (ac_try="$ac_compile"
34234 case "(($ac_try" in
34235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34236 *) ac_try_echo=$ac_try;;
34238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34239 (eval "$ac_compile") 2>conftest.er1
34241 grep -v '^ *+' conftest.er1 >conftest.err
34243 cat conftest.err >&5
34244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34245 (exit $ac_status); } && {
34246 test -z "$ac_c_werror_flag" ||
34247 test ! -s conftest.err
34248 } && test -s conftest.$ac_objext; then
34249 eval "$as_ac_Header=yes"
34251 echo "$as_me: failed program was:" >&5
34252 sed 's/^/| /' conftest.$ac_ext >&5
34254 eval "$as_ac_Header=no"
34257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34259 ac_res=`eval echo '${'$as_ac_Header'}'`
34260 { echo "$as_me:$LINENO: result: $ac_res" >&5
34261 echo "${ECHO_T}$ac_res" >&6; }
34262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34263 cat >>confdefs.h <<_ACEOF
34264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34277 if test "$wxUSE_DISPLAY" = "yes"; then
34278 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34279 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34280 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34283 for ac_dir in $SEARCH_LIB
34285 for ac_extension in a so sl dylib dll.a; do
34286 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34287 ac_find_libraries=$ac_dir
34293 if test "$ac_find_libraries" != "" ; then
34295 if test "$ac_find_libraries" = "default location"; then
34298 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34300 if test $result = 0; then
34303 ac_path_to_link=" -L$ac_find_libraries"
34307 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34308 LDFLAGS="$LDFLAGS $ac_path_to_link"
34311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34312 { echo "$as_me:$LINENO: result: yes" >&5
34313 echo "${ECHO_T}yes" >&6; }
34315 { echo "$as_me:$LINENO: result: no" >&5
34316 echo "${ECHO_T}no" >&6; }
34317 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34318 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34321 elif test "$wxUSE_MSW" = 1; then
34322 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34323 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34324 if test "${ac_cv_header_ddraw_h+set}" = set; then
34325 echo $ECHO_N "(cached) $ECHO_C" >&6
34327 cat >conftest.$ac_ext <<_ACEOF
34330 cat confdefs.h >>conftest.$ac_ext
34331 cat >>conftest.$ac_ext <<_ACEOF
34332 /* end confdefs.h. */
34333 #include <windows.h>
34337 rm -f conftest.$ac_objext
34338 if { (ac_try="$ac_compile"
34339 case "(($ac_try" in
34340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34341 *) ac_try_echo=$ac_try;;
34343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34344 (eval "$ac_compile") 2>conftest.er1
34346 grep -v '^ *+' conftest.er1 >conftest.err
34348 cat conftest.err >&5
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); } && {
34351 test -z "$ac_c_werror_flag" ||
34352 test ! -s conftest.err
34353 } && test -s conftest.$ac_objext; then
34354 ac_cv_header_ddraw_h=yes
34356 echo "$as_me: failed program was:" >&5
34357 sed 's/^/| /' conftest.$ac_ext >&5
34359 ac_cv_header_ddraw_h=no
34362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34364 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34365 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34371 if test "$wxUSE_DISPLAY" = "yes"; then
34372 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34373 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34374 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34377 for ac_dir in $SEARCH_LIB
34379 for ac_extension in a so sl dylib dll.a; do
34380 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34381 ac_find_libraries=$ac_dir
34387 if test "$ac_find_libraries" != "" ; then
34388 { echo "$as_me:$LINENO: result: yes" >&5
34389 echo "${ECHO_T}yes" >&6; }
34391 for ac_header in X11/extensions/xf86vmode.h
34393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34397 echo $ECHO_N "(cached) $ECHO_C" >&6
34399 cat >conftest.$ac_ext <<_ACEOF
34402 cat confdefs.h >>conftest.$ac_ext
34403 cat >>conftest.$ac_ext <<_ACEOF
34404 /* end confdefs.h. */
34406 #if HAVE_X11_XLIB_H
34407 #include <X11/Xlib.h>
34411 #include <$ac_header>
34413 rm -f conftest.$ac_objext
34414 if { (ac_try="$ac_compile"
34415 case "(($ac_try" in
34416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34417 *) ac_try_echo=$ac_try;;
34419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34420 (eval "$ac_compile") 2>conftest.er1
34422 grep -v '^ *+' conftest.er1 >conftest.err
34424 cat conftest.err >&5
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); } && {
34427 test -z "$ac_c_werror_flag" ||
34428 test ! -s conftest.err
34429 } && test -s conftest.$ac_objext; then
34430 eval "$as_ac_Header=yes"
34432 echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.$ac_ext >&5
34435 eval "$as_ac_Header=no"
34438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34440 ac_res=`eval echo '${'$as_ac_Header'}'`
34441 { echo "$as_me:$LINENO: result: $ac_res" >&5
34442 echo "${ECHO_T}$ac_res" >&6; }
34443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34444 cat >>confdefs.h <<_ACEOF
34445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34448 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34455 { echo "$as_me:$LINENO: result: no" >&5
34456 echo "${ECHO_T}no" >&6; }
34461 if test "$wxUSE_DETECT_SM" = "yes"; then
34462 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34463 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34464 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34467 for ac_dir in $SEARCH_LIB
34469 for ac_extension in a so sl dylib dll.a; do
34470 if test -f "$ac_dir/libSM.$ac_extension"; then
34471 ac_find_libraries=$ac_dir
34477 if test "$ac_find_libraries" != "" ; then
34479 if test "$ac_find_libraries" = "default location"; then
34482 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34484 if test $result = 0; then
34487 ac_path_to_link=" -L$ac_find_libraries"
34491 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34492 LDFLAGS="$LDFLAGS $ac_path_to_link"
34494 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34495 { echo "$as_me:$LINENO: result: yes" >&5
34496 echo "${ECHO_T}yes" >&6; }
34498 { echo "$as_me:$LINENO: result: no" >&5
34499 echo "${ECHO_T}no" >&6; }
34500 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34501 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34502 wxUSE_DETECT_SM="no"
34505 wxUSE_DETECT_SM="no"
34512 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34515 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34516 OPENGL_LIBS="-framework OpenGL -framework AGL"
34517 elif test "$wxUSE_MSW" = 1; then
34518 OPENGL_LIBS="-lopengl32 -lglu32"
34519 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34521 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34522 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34525 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34527 if test -f "$ac_dir/GL/gl.h"; then
34528 ac_find_includes=$ac_dir
34533 if test "$ac_find_includes" != "" ; then
34534 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34535 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34537 if test "x$ac_find_includes" = "x/usr/include"; then
34538 ac_path_to_include=""
34540 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34542 if test $result = 0; then
34543 ac_path_to_include=""
34545 ac_path_to_include=" -I$ac_find_includes"
34549 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34551 { echo "$as_me:$LINENO: result: not found" >&5
34552 echo "${ECHO_T}not found" >&6; }
34555 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34556 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34557 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34558 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 cat >conftest.$ac_ext <<_ACEOF
34563 cat confdefs.h >>conftest.$ac_ext
34564 cat >>conftest.$ac_ext <<_ACEOF
34565 /* end confdefs.h. */
34570 rm -f conftest.$ac_objext
34571 if { (ac_try="$ac_compile"
34572 case "(($ac_try" in
34573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34574 *) ac_try_echo=$ac_try;;
34576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34577 (eval "$ac_compile") 2>conftest.er1
34579 grep -v '^ *+' conftest.er1 >conftest.err
34581 cat conftest.err >&5
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); } && {
34584 test -z "$ac_c_werror_flag" ||
34585 test ! -s conftest.err
34586 } && test -s conftest.$ac_objext; then
34587 ac_cv_header_GL_gl_h=yes
34589 echo "$as_me: failed program was:" >&5
34590 sed 's/^/| /' conftest.$ac_ext >&5
34592 ac_cv_header_GL_gl_h=no
34595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34597 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34598 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34599 if test $ac_cv_header_GL_gl_h = yes; then
34601 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34602 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34603 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34604 echo $ECHO_N "(cached) $ECHO_C" >&6
34606 cat >conftest.$ac_ext <<_ACEOF
34609 cat confdefs.h >>conftest.$ac_ext
34610 cat >>conftest.$ac_ext <<_ACEOF
34611 /* end confdefs.h. */
34614 #include <GL/glu.h>
34616 rm -f conftest.$ac_objext
34617 if { (ac_try="$ac_compile"
34618 case "(($ac_try" in
34619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34620 *) ac_try_echo=$ac_try;;
34622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34623 (eval "$ac_compile") 2>conftest.er1
34625 grep -v '^ *+' conftest.er1 >conftest.err
34627 cat conftest.err >&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); } && {
34630 test -z "$ac_c_werror_flag" ||
34631 test ! -s conftest.err
34632 } && test -s conftest.$ac_objext; then
34633 ac_cv_header_GL_glu_h=yes
34635 echo "$as_me: failed program was:" >&5
34636 sed 's/^/| /' conftest.$ac_ext >&5
34638 ac_cv_header_GL_glu_h=no
34641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34643 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34644 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34645 if test $ac_cv_header_GL_glu_h = yes; then
34649 { echo "$as_me:$LINENO: checking for -lGL" >&5
34650 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34653 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34655 for ac_extension in a so sl dylib dll.a; do
34656 if test -f "$ac_dir/libGL.$ac_extension"; then
34657 ac_find_libraries=$ac_dir
34663 if test "$ac_find_libraries" != "" ; then
34664 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34665 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34668 if test "$ac_find_libraries" = "default location"; then
34671 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34673 if test $result = 0; then
34676 ac_path_to_link=" -L$ac_find_libraries"
34680 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34681 LDFLAGS_GL="$ac_path_to_link"
34684 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34685 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34688 for ac_dir in $SEARCH_LIB
34690 for ac_extension in a so sl dylib dll.a; do
34691 if test -f "$ac_dir/libGLU.$ac_extension"; then
34692 ac_find_libraries=$ac_dir
34698 if test "$ac_find_libraries" != "" ; then
34700 if test "$ac_find_libraries" = "default location"; then
34703 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34705 if test $result = 0; then
34708 ac_path_to_link=" -L$ac_find_libraries"
34712 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34713 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34714 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34718 OPENGL_LIBS="-lGL -lGLU"
34719 { echo "$as_me:$LINENO: result: yes" >&5
34720 echo "${ECHO_T}yes" >&6; }
34722 { echo "$as_me:$LINENO: result: no" >&5
34723 echo "${ECHO_T}no" >&6; }
34726 { echo "$as_me:$LINENO: result: no" >&5
34727 echo "${ECHO_T}no" >&6; }
34730 if test "$found_gl" != 1; then
34731 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34732 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34735 for ac_dir in $SEARCH_LIB
34737 for ac_extension in a so sl dylib dll.a; do
34738 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34739 ac_find_libraries=$ac_dir
34745 if test "$ac_find_libraries" != "" ; then
34747 if test "$ac_find_libraries" = "default location"; then
34750 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34752 if test $result = 0; then
34755 ac_path_to_link=" -L$ac_find_libraries"
34759 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34760 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34761 { echo "$as_me:$LINENO: result: yes" >&5
34762 echo "${ECHO_T}yes" >&6; }
34764 { echo "$as_me:$LINENO: result: no" >&5
34765 echo "${ECHO_T}no" >&6; }
34777 if test "x$OPENGL_LIBS" = "x"; then
34778 if test "$wxUSE_OPENGL" = "yes"; then
34779 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34780 echo "$as_me: error: OpenGL libraries not available" >&2;}
34781 { (exit 1); exit 1; }; }
34783 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34784 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34790 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34791 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34795 if test "$wxUSE_OPENGL" = "auto"; then
34799 if test "$wxUSE_OPENGL" = "yes"; then
34801 cat >>confdefs.h <<\_ACEOF
34802 #define wxUSE_OPENGL 1
34805 cat >>confdefs.h <<\_ACEOF
34806 #define wxUSE_GLCANVAS 1
34809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34814 if test -n "$TOOLKIT" ; then
34815 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34820 if test "$wxUSE_SHARED" = "yes"; then
34824 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34825 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34830 if test "$wxUSE_SHARED" = "yes"; then
34834 *-*-cygwin* | *-*-mingw* )
34835 wx_cv_version_script=no
34839 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34840 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34841 if test "${wx_cv_version_script+set}" = set; then
34842 echo $ECHO_N "(cached) $ECHO_C" >&6
34845 echo "VER_1 { *; };" >conftest.sym
34846 echo "int main() { return 0; }" >conftest.cpp
34849 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34850 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34852 (eval $ac_try) 2>&5
34854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855 (exit $ac_status); }; } ; then
34856 if test -s conftest.stderr ; then
34857 wx_cv_version_script=no
34859 wx_cv_version_script=yes
34862 wx_cv_version_script=no
34865 if test $wx_cv_version_script = yes
34867 echo "struct B { virtual ~B() { } }; \
34868 struct D : public B { }; \
34869 void F() { D d; }" > conftest.cpp
34872 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34873 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34875 (eval $ac_try) 2>&5
34877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34878 (exit $ac_status); }; } &&
34880 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34881 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; }
34889 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34890 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; }
34897 wx_cv_version_script=yes
34899 wx_cv_version_script=no
34904 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34905 rm -f conftest1.output conftest2.output conftest3.output
34908 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34909 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34911 if test $wx_cv_version_script = yes ; then
34912 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34918 if test "$wxUSE_VISIBILITY" != "no"; then
34921 if test -n "$GCC"; then
34922 CFLAGS_VISIBILITY="-fvisibility=hidden"
34923 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34924 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34925 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34926 if test "${wx_cv_cc_visibility+set}" = set; then
34927 echo $ECHO_N "(cached) $ECHO_C" >&6
34930 wx_save_CXXFLAGS="$CXXFLAGS"
34931 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34933 ac_cpp='$CXXCPP $CPPFLAGS'
34934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34938 cat >conftest.$ac_ext <<_ACEOF
34941 cat confdefs.h >>conftest.$ac_ext
34942 cat >>conftest.$ac_ext <<_ACEOF
34943 /* end confdefs.h. */
34945 /* we need gcc >= 4.0, older versions with visibility support
34946 didn't have class visibility: */
34947 #if defined(__GNUC__) && __GNUC__ < 4
34948 error this gcc is too old;
34951 /* visibility only makes sense for ELF shared libs: */
34952 #if !defined(__ELF__) && !defined(__APPLE__)
34953 error this platform has no visibility;
34956 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34957 extern __attribute__((__visibility__("default"))) int exportedvar;
34958 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34959 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34960 class __attribute__((__visibility__("default"))) Foo {
34972 rm -f conftest.$ac_objext
34973 if { (ac_try="$ac_compile"
34974 case "(($ac_try" in
34975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34976 *) ac_try_echo=$ac_try;;
34978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34979 (eval "$ac_compile") 2>conftest.er1
34981 grep -v '^ *+' conftest.er1 >conftest.err
34983 cat conftest.err >&5
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); } && {
34986 test -z "$ac_cxx_werror_flag" ||
34987 test ! -s conftest.err
34988 } && test -s conftest.$ac_objext; then
34989 wx_cv_cc_visibility=yes
34991 echo "$as_me: failed program was:" >&5
34992 sed 's/^/| /' conftest.$ac_ext >&5
34994 wx_cv_cc_visibility=no
34997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34999 ac_cpp='$CPP $CPPFLAGS'
35000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35004 CXXFLAGS="$wx_save_CXXFLAGS"
35007 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35008 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35009 if test $wx_cv_cc_visibility = yes; then
35010 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35011 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35012 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35013 echo $ECHO_N "(cached) $ECHO_C" >&6
35016 wx_save_CXXFLAGS="$CXXFLAGS"
35017 wx_save_LDFLAGS="$LDFLAGS"
35018 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35019 LDFLAGS="$LDFLAGS -shared -fPIC"
35021 ac_cpp='$CXXCPP $CPPFLAGS'
35022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35026 cat >conftest.$ac_ext <<_ACEOF
35029 cat confdefs.h >>conftest.$ac_ext
35030 cat >>conftest.$ac_ext <<_ACEOF
35031 /* end confdefs.h. */
35039 std::string s("hello");
35046 rm -f conftest.$ac_objext conftest$ac_exeext
35047 if { (ac_try="$ac_link"
35048 case "(($ac_try" in
35049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35050 *) ac_try_echo=$ac_try;;
35052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35053 (eval "$ac_link") 2>conftest.er1
35055 grep -v '^ *+' conftest.er1 >conftest.err
35057 cat conftest.err >&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } && {
35060 test -z "$ac_cxx_werror_flag" ||
35061 test ! -s conftest.err
35062 } && test -s conftest$ac_exeext &&
35063 $as_test_x conftest$ac_exeext; then
35064 wx_cv_cc_broken_libstdcxx_visibility=no
35066 echo "$as_me: failed program was:" >&5
35067 sed 's/^/| /' conftest.$ac_ext >&5
35069 wx_cv_cc_broken_libstdcxx_visibility=yes
35072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35073 conftest$ac_exeext conftest.$ac_ext
35075 ac_cpp='$CPP $CPPFLAGS'
35076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35080 CXXFLAGS="$wx_save_CXXFLAGS"
35081 LDFLAGS="$wx_save_LDFLAGS"
35084 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35085 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35087 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35088 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35089 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35090 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35095 ac_cpp='$CXXCPP $CPPFLAGS'
35096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35100 cat >conftest.$ac_ext <<_ACEOF
35103 cat confdefs.h >>conftest.$ac_ext
35104 cat >>conftest.$ac_ext <<_ACEOF
35105 /* end confdefs.h. */
35107 #pragma GCC visibility push(default)
35109 #pragma GCC visibility pop
35115 std::string s("hello");
35122 rm -f conftest.$ac_objext conftest$ac_exeext
35123 if { (ac_try="$ac_link"
35124 case "(($ac_try" in
35125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35126 *) ac_try_echo=$ac_try;;
35128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35129 (eval "$ac_link") 2>conftest.er1
35131 grep -v '^ *+' conftest.er1 >conftest.err
35133 cat conftest.err >&5
35134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35135 (exit $ac_status); } && {
35136 test -z "$ac_cxx_werror_flag" ||
35137 test ! -s conftest.err
35138 } && test -s conftest$ac_exeext &&
35139 $as_test_x conftest$ac_exeext; then
35140 wx_cv_cc_visibility_workaround=no
35142 echo "$as_me: failed program was:" >&5
35143 sed 's/^/| /' conftest.$ac_ext >&5
35145 wx_cv_cc_visibility_workaround=yes
35148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35149 conftest$ac_exeext conftest.$ac_ext
35151 ac_cpp='$CPP $CPPFLAGS'
35152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35159 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35160 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35162 if test $wx_cv_cc_visibility_workaround = no; then
35163 wx_cv_cc_visibility=no
35168 if test $wx_cv_cc_visibility = yes; then
35169 cat >>confdefs.h <<\_ACEOF
35170 #define HAVE_VISIBILITY 1
35173 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35174 cat >>confdefs.h <<\_ACEOF
35175 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35180 CFLAGS_VISIBILITY=""
35181 CXXFLAGS_VISIBILITY=""
35189 if test "x$SUNCXX" = xyes; then
35190 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35191 WXCONFIG_RPATH="-R\$libdir"
35194 *-*-linux* | *-*-gnu* )
35195 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35196 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35201 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35203 saveLdflags="$LDFLAGS"
35204 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35205 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35206 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35207 cat >conftest.$ac_ext <<_ACEOF
35210 cat confdefs.h >>conftest.$ac_ext
35211 cat >>conftest.$ac_ext <<_ACEOF
35212 /* end confdefs.h. */
35222 rm -f conftest.$ac_objext conftest$ac_exeext
35223 if { (ac_try="$ac_link"
35224 case "(($ac_try" in
35225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35226 *) ac_try_echo=$ac_try;;
35228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35229 (eval "$ac_link") 2>conftest.er1
35231 grep -v '^ *+' conftest.er1 >conftest.err
35233 cat conftest.err >&5
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); } && {
35236 test -z "$ac_c_werror_flag" ||
35237 test ! -s conftest.err
35238 } && test -s conftest$ac_exeext &&
35239 $as_test_x conftest$ac_exeext; then
35241 { echo "$as_me:$LINENO: result: yes" >&5
35242 echo "${ECHO_T}yes" >&6; }
35243 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35244 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35247 echo "$as_me: failed program was:" >&5
35248 sed 's/^/| /' conftest.$ac_ext >&5
35251 { echo "$as_me:$LINENO: result: no" >&5
35252 echo "${ECHO_T}no" >&6; }
35253 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35254 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35255 LDFLAGS="$saveLdflags -Wl,-R,/"
35256 cat >conftest.$ac_ext <<_ACEOF
35259 cat confdefs.h >>conftest.$ac_ext
35260 cat >>conftest.$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35271 rm -f conftest.$ac_objext conftest$ac_exeext
35272 if { (ac_try="$ac_link"
35273 case "(($ac_try" in
35274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35275 *) ac_try_echo=$ac_try;;
35277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35278 (eval "$ac_link") 2>conftest.er1
35280 grep -v '^ *+' conftest.er1 >conftest.err
35282 cat conftest.err >&5
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); } && {
35285 test -z "$ac_c_werror_flag" ||
35286 test ! -s conftest.err
35287 } && test -s conftest$ac_exeext &&
35288 $as_test_x conftest$ac_exeext; then
35290 { echo "$as_me:$LINENO: result: yes" >&5
35291 echo "${ECHO_T}yes" >&6; }
35292 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35293 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35296 echo "$as_me: failed program was:" >&5
35297 sed 's/^/| /' conftest.$ac_ext >&5
35300 { echo "$as_me:$LINENO: result: no" >&5
35301 echo "${ECHO_T}no" >&6; }
35305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35306 conftest$ac_exeext conftest.$ac_ext
35310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35311 conftest$ac_exeext conftest.$ac_ext
35312 LDFLAGS="$saveLdflags"
35316 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35317 if test "$install_name_tool" -a -x "$install_name_tool"; then
35318 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35319 cat <<EOF >change-install-names
35321 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35322 for i in \${libnames} ; do
35323 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35324 for dep in \${libnames} ; do
35325 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35329 chmod +x change-install-names
35330 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35333 HEADER_PAD_OPTION="-headerpad_max_install_names"
35336 *-*-cygwin* | *-*-mingw32* )
35340 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35341 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35347 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35349 if test $wxUSE_RPATH = "no"; then
35350 SAMPLES_RPATH_FLAG=''
35351 DYLIB_PATH_POSTLINK=''
35359 config_linkage_component="-static"
35366 lib_unicode_suffix=
35368 if test "$wxUSE_UNICODE" = "yes"; then
35369 lib_unicode_suffix=u
35370 WX_CHARTYPE="unicode"
35374 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35375 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35378 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35382 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35384 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35386 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35389 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35390 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35392 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35394 if test "${TOOLKIT_DIR}" = "os2"; then
35395 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35397 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35402 if test "$wxUSE_OLD_COCOA" = 1; then
35405 ac_cpp='$CPP $CPPFLAGS'
35406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35412 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35413 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35414 cat >conftest.$ac_ext <<_ACEOF
35417 cat confdefs.h >>conftest.$ac_ext
35418 cat >>conftest.$ac_ext <<_ACEOF
35419 /* end confdefs.h. */
35420 #include <AppKit/NSEvent.h>
35421 #include <CoreFoundation/CoreFoundation.h>
35431 rm -f conftest.$ac_objext
35432 if { (ac_try="$ac_compile"
35433 case "(($ac_try" in
35434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35435 *) ac_try_echo=$ac_try;;
35437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35438 (eval "$ac_compile") 2>conftest.er1
35440 grep -v '^ *+' conftest.er1 >conftest.err
35442 cat conftest.err >&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); } && {
35445 test -z "$ac_c_werror_flag" ||
35446 test ! -s conftest.err
35447 } && test -s conftest.$ac_objext; then
35448 { echo "$as_me:$LINENO: result: no" >&5
35449 echo "${ECHO_T}no" >&6; }
35451 echo "$as_me: failed program was:" >&5
35452 sed 's/^/| /' conftest.$ac_ext >&5
35454 { echo "$as_me:$LINENO: result: yes" >&5
35455 echo "${ECHO_T}yes" >&6; }
35456 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35457 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35458 cat >conftest.$ac_ext <<_ACEOF
35461 cat confdefs.h >>conftest.$ac_ext
35462 cat >>conftest.$ac_ext <<_ACEOF
35463 /* end confdefs.h. */
35464 #define __Point__ 1
35465 #include <AppKit/NSEvent.h>
35466 #include <CoreFoundation/CoreFoundation.h>
35476 rm -f conftest.$ac_objext
35477 if { (ac_try="$ac_compile"
35478 case "(($ac_try" in
35479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35480 *) ac_try_echo=$ac_try;;
35482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35483 (eval "$ac_compile") 2>conftest.er1
35485 grep -v '^ *+' conftest.er1 >conftest.err
35487 cat conftest.err >&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } && {
35490 test -z "$ac_c_werror_flag" ||
35491 test ! -s conftest.err
35492 } && test -s conftest.$ac_objext; then
35493 { echo "$as_me:$LINENO: result: yes" >&5
35494 echo "${ECHO_T}yes" >&6; }
35495 cat >>confdefs.h <<\_ACEOF
35496 #define __Point__ 1
35501 echo "$as_me: failed program was:" >&5
35502 sed 's/^/| /' conftest.$ac_ext >&5
35504 { { echo "$as_me:$LINENO: error: no
35505 See \`config.log' for more details." >&5
35506 echo "$as_me: error: no
35507 See \`config.log' for more details." >&2;}
35508 { (exit 1); exit 1; }; }
35512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35518 ac_cpp='$CPP $CPPFLAGS'
35519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35526 { echo "$as_me:$LINENO: checking for mode_t" >&5
35527 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35528 if test "${ac_cv_type_mode_t+set}" = set; then
35529 echo $ECHO_N "(cached) $ECHO_C" >&6
35531 cat >conftest.$ac_ext <<_ACEOF
35534 cat confdefs.h >>conftest.$ac_ext
35535 cat >>conftest.$ac_ext <<_ACEOF
35536 /* end confdefs.h. */
35537 $ac_includes_default
35538 typedef mode_t ac__type_new_;
35542 if ((ac__type_new_ *) 0)
35544 if (sizeof (ac__type_new_))
35550 rm -f conftest.$ac_objext
35551 if { (ac_try="$ac_compile"
35552 case "(($ac_try" in
35553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35554 *) ac_try_echo=$ac_try;;
35556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35557 (eval "$ac_compile") 2>conftest.er1
35559 grep -v '^ *+' conftest.er1 >conftest.err
35561 cat conftest.err >&5
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); } && {
35564 test -z "$ac_c_werror_flag" ||
35565 test ! -s conftest.err
35566 } && test -s conftest.$ac_objext; then
35567 ac_cv_type_mode_t=yes
35569 echo "$as_me: failed program was:" >&5
35570 sed 's/^/| /' conftest.$ac_ext >&5
35572 ac_cv_type_mode_t=no
35575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35577 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35578 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35579 if test $ac_cv_type_mode_t = yes; then
35583 cat >>confdefs.h <<_ACEOF
35589 { echo "$as_me:$LINENO: checking for off_t" >&5
35590 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35591 if test "${ac_cv_type_off_t+set}" = set; then
35592 echo $ECHO_N "(cached) $ECHO_C" >&6
35594 cat >conftest.$ac_ext <<_ACEOF
35597 cat confdefs.h >>conftest.$ac_ext
35598 cat >>conftest.$ac_ext <<_ACEOF
35599 /* end confdefs.h. */
35600 $ac_includes_default
35601 typedef off_t ac__type_new_;
35605 if ((ac__type_new_ *) 0)
35607 if (sizeof (ac__type_new_))
35613 rm -f conftest.$ac_objext
35614 if { (ac_try="$ac_compile"
35615 case "(($ac_try" in
35616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_compile") 2>conftest.er1
35622 grep -v '^ *+' conftest.er1 >conftest.err
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } && {
35627 test -z "$ac_c_werror_flag" ||
35628 test ! -s conftest.err
35629 } && test -s conftest.$ac_objext; then
35630 ac_cv_type_off_t=yes
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.$ac_ext >&5
35635 ac_cv_type_off_t=no
35638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35640 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35641 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35642 if test $ac_cv_type_off_t = yes; then
35646 cat >>confdefs.h <<_ACEOF
35647 #define off_t long int
35652 { echo "$as_me:$LINENO: checking for pid_t" >&5
35653 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35654 if test "${ac_cv_type_pid_t+set}" = set; then
35655 echo $ECHO_N "(cached) $ECHO_C" >&6
35657 cat >conftest.$ac_ext <<_ACEOF
35660 cat confdefs.h >>conftest.$ac_ext
35661 cat >>conftest.$ac_ext <<_ACEOF
35662 /* end confdefs.h. */
35663 $ac_includes_default
35664 typedef pid_t ac__type_new_;
35668 if ((ac__type_new_ *) 0)
35670 if (sizeof (ac__type_new_))
35676 rm -f conftest.$ac_objext
35677 if { (ac_try="$ac_compile"
35678 case "(($ac_try" in
35679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35680 *) ac_try_echo=$ac_try;;
35682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35683 (eval "$ac_compile") 2>conftest.er1
35685 grep -v '^ *+' conftest.er1 >conftest.err
35687 cat conftest.err >&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); } && {
35690 test -z "$ac_c_werror_flag" ||
35691 test ! -s conftest.err
35692 } && test -s conftest.$ac_objext; then
35693 ac_cv_type_pid_t=yes
35695 echo "$as_me: failed program was:" >&5
35696 sed 's/^/| /' conftest.$ac_ext >&5
35698 ac_cv_type_pid_t=no
35701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35703 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35704 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35705 if test $ac_cv_type_pid_t = yes; then
35709 cat >>confdefs.h <<_ACEOF
35715 { echo "$as_me:$LINENO: checking for size_t" >&5
35716 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35717 if test "${ac_cv_type_size_t+set}" = set; then
35718 echo $ECHO_N "(cached) $ECHO_C" >&6
35720 cat >conftest.$ac_ext <<_ACEOF
35723 cat confdefs.h >>conftest.$ac_ext
35724 cat >>conftest.$ac_ext <<_ACEOF
35725 /* end confdefs.h. */
35726 $ac_includes_default
35727 typedef size_t ac__type_new_;
35731 if ((ac__type_new_ *) 0)
35733 if (sizeof (ac__type_new_))
35739 rm -f conftest.$ac_objext
35740 if { (ac_try="$ac_compile"
35741 case "(($ac_try" in
35742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35743 *) ac_try_echo=$ac_try;;
35745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35746 (eval "$ac_compile") 2>conftest.er1
35748 grep -v '^ *+' conftest.er1 >conftest.err
35750 cat conftest.err >&5
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); } && {
35753 test -z "$ac_c_werror_flag" ||
35754 test ! -s conftest.err
35755 } && test -s conftest.$ac_objext; then
35756 ac_cv_type_size_t=yes
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.$ac_ext >&5
35761 ac_cv_type_size_t=no
35764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35766 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35767 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35768 if test $ac_cv_type_size_t = yes; then
35772 cat >>confdefs.h <<_ACEOF
35773 #define size_t unsigned int
35779 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35780 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35781 if test "${ac_cv_type_ssize_t+set}" = set; then
35782 echo $ECHO_N "(cached) $ECHO_C" >&6
35784 cat >conftest.$ac_ext <<_ACEOF
35787 cat confdefs.h >>conftest.$ac_ext
35788 cat >>conftest.$ac_ext <<_ACEOF
35789 /* end confdefs.h. */
35790 $ac_includes_default
35791 typedef ssize_t ac__type_new_;
35795 if ((ac__type_new_ *) 0)
35797 if (sizeof (ac__type_new_))
35803 rm -f conftest.$ac_objext
35804 if { (ac_try="$ac_compile"
35805 case "(($ac_try" in
35806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35807 *) ac_try_echo=$ac_try;;
35809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35810 (eval "$ac_compile") 2>conftest.er1
35812 grep -v '^ *+' conftest.er1 >conftest.err
35814 cat conftest.err >&5
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); } && {
35817 test -z "$ac_c_werror_flag" ||
35818 test ! -s conftest.err
35819 } && test -s conftest.$ac_objext; then
35820 ac_cv_type_ssize_t=yes
35822 echo "$as_me: failed program was:" >&5
35823 sed 's/^/| /' conftest.$ac_ext >&5
35825 ac_cv_type_ssize_t=no
35828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35830 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35831 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35832 if test $ac_cv_type_ssize_t = yes; then
35834 cat >>confdefs.h <<_ACEOF
35835 #define HAVE_SSIZE_T 1
35843 ac_cpp='$CXXCPP $CPPFLAGS'
35844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35847 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35848 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35849 if test "${wx_cv_size_t_is_uint+set}" = set; then
35850 echo $ECHO_N "(cached) $ECHO_C" >&6
35853 cat >conftest.$ac_ext <<_ACEOF
35856 cat confdefs.h >>conftest.$ac_ext
35857 cat >>conftest.$ac_ext <<_ACEOF
35858 /* end confdefs.h. */
35859 #include <stddef.h>
35866 struct Foo { void foo(size_t); void foo(unsigned int); };
35874 rm -f conftest.$ac_objext
35875 if { (ac_try="$ac_compile"
35876 case "(($ac_try" in
35877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35878 *) ac_try_echo=$ac_try;;
35880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35881 (eval "$ac_compile") 2>conftest.er1
35883 grep -v '^ *+' conftest.er1 >conftest.err
35885 cat conftest.err >&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); } && {
35888 test -z "$ac_cxx_werror_flag" ||
35889 test ! -s conftest.err
35890 } && test -s conftest.$ac_objext; then
35891 wx_cv_size_t_is_uint=no
35893 echo "$as_me: failed program was:" >&5
35894 sed 's/^/| /' conftest.$ac_ext >&5
35896 wx_cv_size_t_is_uint=yes
35900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35904 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35905 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35907 if test "$wx_cv_size_t_is_uint" = "yes"; then
35908 cat >>confdefs.h <<\_ACEOF
35909 #define wxSIZE_T_IS_UINT 1
35913 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35914 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35915 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35916 echo $ECHO_N "(cached) $ECHO_C" >&6
35918 cat >conftest.$ac_ext <<_ACEOF
35921 cat confdefs.h >>conftest.$ac_ext
35922 cat >>conftest.$ac_ext <<_ACEOF
35923 /* end confdefs.h. */
35924 #include <stddef.h>
35931 struct Foo { void foo(size_t); void foo(unsigned long); };
35939 rm -f conftest.$ac_objext
35940 if { (ac_try="$ac_compile"
35941 case "(($ac_try" in
35942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35943 *) ac_try_echo=$ac_try;;
35945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35946 (eval "$ac_compile") 2>conftest.er1
35948 grep -v '^ *+' conftest.er1 >conftest.err
35950 cat conftest.err >&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); } && {
35953 test -z "$ac_cxx_werror_flag" ||
35954 test ! -s conftest.err
35955 } && test -s conftest.$ac_objext; then
35956 wx_cv_size_t_is_ulong=no
35958 echo "$as_me: failed program was:" >&5
35959 sed 's/^/| /' conftest.$ac_ext >&5
35961 wx_cv_size_t_is_ulong=yes
35965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35968 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35969 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35971 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35972 cat >>confdefs.h <<\_ACEOF
35973 #define wxSIZE_T_IS_ULONG 1
35979 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35980 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35981 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35982 echo $ECHO_N "(cached) $ECHO_C" >&6
35984 cat >conftest.$ac_ext <<_ACEOF
35987 cat confdefs.h >>conftest.$ac_ext
35988 cat >>conftest.$ac_ext <<_ACEOF
35989 /* end confdefs.h. */
35997 struct Foo { void foo(wchar_t);
35998 void foo(unsigned short);
35999 void foo(unsigned int);
36000 void foo(unsigned long); };
36008 rm -f conftest.$ac_objext
36009 if { (ac_try="$ac_compile"
36010 case "(($ac_try" in
36011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36012 *) ac_try_echo=$ac_try;;
36014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36015 (eval "$ac_compile") 2>conftest.er1
36017 grep -v '^ *+' conftest.er1 >conftest.err
36019 cat conftest.err >&5
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); } && {
36022 test -z "$ac_cxx_werror_flag" ||
36023 test ! -s conftest.err
36024 } && test -s conftest.$ac_objext; then
36025 wx_cv_wchar_t_is_separate_type=yes
36027 echo "$as_me: failed program was:" >&5
36028 sed 's/^/| /' conftest.$ac_ext >&5
36030 wx_cv_wchar_t_is_separate_type=no
36034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36037 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36038 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36040 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36041 cat >>confdefs.h <<\_ACEOF
36042 #define wxWCHAR_T_IS_REAL_TYPE 1
36046 cat >>confdefs.h <<\_ACEOF
36047 #define wxWCHAR_T_IS_REAL_TYPE 0
36053 ac_cpp='$CPP $CPPFLAGS'
36054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36059 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36060 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36061 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36062 echo $ECHO_N "(cached) $ECHO_C" >&6
36065 cat >conftest.$ac_ext <<_ACEOF
36068 cat confdefs.h >>conftest.$ac_ext
36069 cat >>conftest.$ac_ext <<_ACEOF
36070 /* end confdefs.h. */
36084 rm -f conftest.$ac_objext
36085 if { (ac_try="$ac_compile"
36086 case "(($ac_try" in
36087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36088 *) ac_try_echo=$ac_try;;
36090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36091 (eval "$ac_compile") 2>conftest.er1
36093 grep -v '^ *+' conftest.er1 >conftest.err
36095 cat conftest.err >&5
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); } && {
36098 test -z "$ac_c_werror_flag" ||
36099 test ! -s conftest.err
36100 } && test -s conftest.$ac_objext; then
36102 wx_cv_struct_pw_gecos=yes
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36109 wx_cv_struct_pw_gecos=no
36114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36118 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36119 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36121 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36122 cat >>confdefs.h <<\_ACEOF
36123 #define HAVE_PW_GECOS 1
36132 for ac_func in wcslen
36134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36138 echo $ECHO_N "(cached) $ECHO_C" >&6
36140 cat >conftest.$ac_ext <<_ACEOF
36143 cat confdefs.h >>conftest.$ac_ext
36144 cat >>conftest.$ac_ext <<_ACEOF
36145 /* end confdefs.h. */
36146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36148 #define $ac_func innocuous_$ac_func
36150 /* System header to define __stub macros and hopefully few prototypes,
36151 which can conflict with char $ac_func (); below.
36152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36153 <limits.h> exists even on freestanding compilers. */
36156 # include <limits.h>
36158 # include <assert.h>
36163 /* Override any GCC internal prototype to avoid an error.
36164 Use char because int might match the return type of a GCC
36165 builtin and then its argument prototype would still apply. */
36170 /* The GNU C library defines this for functions which it implements
36171 to always fail with ENOSYS. Some functions are actually named
36172 something starting with __ and the normal name is an alias. */
36173 #if defined __stub_$ac_func || defined __stub___$ac_func
36180 return $ac_func ();
36185 rm -f conftest.$ac_objext conftest$ac_exeext
36186 if { (ac_try="$ac_link"
36187 case "(($ac_try" in
36188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36189 *) ac_try_echo=$ac_try;;
36191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36192 (eval "$ac_link") 2>conftest.er1
36194 grep -v '^ *+' conftest.er1 >conftest.err
36196 cat conftest.err >&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); } && {
36199 test -z "$ac_c_werror_flag" ||
36200 test ! -s conftest.err
36201 } && test -s conftest$ac_exeext &&
36202 $as_test_x conftest$ac_exeext; then
36203 eval "$as_ac_var=yes"
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.$ac_ext >&5
36208 eval "$as_ac_var=no"
36211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36212 conftest$ac_exeext conftest.$ac_ext
36214 ac_res=`eval echo '${'$as_ac_var'}'`
36215 { echo "$as_me:$LINENO: result: $ac_res" >&5
36216 echo "${ECHO_T}$ac_res" >&6; }
36217 if test `eval echo '${'$as_ac_var'}'` = yes; then
36218 cat >>confdefs.h <<_ACEOF
36219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36226 if test "$WCSLEN_FOUND" = 0; then
36227 if test "$TOOLKIT" = "MSW"; then
36228 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36229 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36230 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36231 echo $ECHO_N "(cached) $ECHO_C" >&6
36233 ac_check_lib_save_LIBS=$LIBS
36234 LIBS="-lmsvcrt $LIBS"
36235 cat >conftest.$ac_ext <<_ACEOF
36238 cat confdefs.h >>conftest.$ac_ext
36239 cat >>conftest.$ac_ext <<_ACEOF
36240 /* end confdefs.h. */
36242 /* Override any GCC internal prototype to avoid an error.
36243 Use char because int might match the return type of a GCC
36244 builtin and then its argument prototype would still apply. */
36257 rm -f conftest.$ac_objext conftest$ac_exeext
36258 if { (ac_try="$ac_link"
36259 case "(($ac_try" in
36260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36261 *) ac_try_echo=$ac_try;;
36263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36264 (eval "$ac_link") 2>conftest.er1
36266 grep -v '^ *+' conftest.er1 >conftest.err
36268 cat conftest.err >&5
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); } && {
36271 test -z "$ac_c_werror_flag" ||
36272 test ! -s conftest.err
36273 } && test -s conftest$ac_exeext &&
36274 $as_test_x conftest$ac_exeext; then
36275 ac_cv_lib_msvcrt_wcslen=yes
36277 echo "$as_me: failed program was:" >&5
36278 sed 's/^/| /' conftest.$ac_ext >&5
36280 ac_cv_lib_msvcrt_wcslen=no
36283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36284 conftest$ac_exeext conftest.$ac_ext
36285 LIBS=$ac_check_lib_save_LIBS
36287 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36288 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36289 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36294 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36295 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36296 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36297 echo $ECHO_N "(cached) $ECHO_C" >&6
36299 ac_check_lib_save_LIBS=$LIBS
36301 cat >conftest.$ac_ext <<_ACEOF
36304 cat confdefs.h >>conftest.$ac_ext
36305 cat >>conftest.$ac_ext <<_ACEOF
36306 /* end confdefs.h. */
36308 /* Override any GCC internal prototype to avoid an error.
36309 Use char because int might match the return type of a GCC
36310 builtin and then its argument prototype would still apply. */
36323 rm -f conftest.$ac_objext conftest$ac_exeext
36324 if { (ac_try="$ac_link"
36325 case "(($ac_try" in
36326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36327 *) ac_try_echo=$ac_try;;
36329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36330 (eval "$ac_link") 2>conftest.er1
36332 grep -v '^ *+' conftest.er1 >conftest.err
36334 cat conftest.err >&5
36335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36336 (exit $ac_status); } && {
36337 test -z "$ac_c_werror_flag" ||
36338 test ! -s conftest.err
36339 } && test -s conftest$ac_exeext &&
36340 $as_test_x conftest$ac_exeext; then
36341 ac_cv_lib_w_wcslen=yes
36343 echo "$as_me: failed program was:" >&5
36344 sed 's/^/| /' conftest.$ac_ext >&5
36346 ac_cv_lib_w_wcslen=no
36349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36350 conftest$ac_exeext conftest.$ac_ext
36351 LIBS=$ac_check_lib_save_LIBS
36353 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36354 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36355 if test $ac_cv_lib_w_wcslen = yes; then
36365 if test "$WCSLEN_FOUND" = 1; then
36366 cat >>confdefs.h <<\_ACEOF
36367 #define HAVE_WCSLEN 1
36378 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36381 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36383 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36384 echo $ECHO_N "(cached) $ECHO_C" >&6
36386 cat >conftest.$ac_ext <<_ACEOF
36389 cat confdefs.h >>conftest.$ac_ext
36390 cat >>conftest.$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36394 #define $ac_func innocuous_$ac_func
36396 /* System header to define __stub macros and hopefully few prototypes,
36397 which can conflict with char $ac_func (); below.
36398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36399 <limits.h> exists even on freestanding compilers. */
36402 # include <limits.h>
36404 # include <assert.h>
36409 /* Override any GCC internal prototype to avoid an error.
36410 Use char because int might match the return type of a GCC
36411 builtin and then its argument prototype would still apply. */
36416 /* The GNU C library defines this for functions which it implements
36417 to always fail with ENOSYS. Some functions are actually named
36418 something starting with __ and the normal name is an alias. */
36419 #if defined __stub_$ac_func || defined __stub___$ac_func
36426 return $ac_func ();
36431 rm -f conftest.$ac_objext conftest$ac_exeext
36432 if { (ac_try="$ac_link"
36433 case "(($ac_try" in
36434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36435 *) ac_try_echo=$ac_try;;
36437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36438 (eval "$ac_link") 2>conftest.er1
36440 grep -v '^ *+' conftest.er1 >conftest.err
36442 cat conftest.err >&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); } && {
36445 test -z "$ac_c_werror_flag" ||
36446 test ! -s conftest.err
36447 } && test -s conftest$ac_exeext &&
36448 $as_test_x conftest$ac_exeext; then
36449 eval "$as_ac_var=yes"
36451 echo "$as_me: failed program was:" >&5
36452 sed 's/^/| /' conftest.$ac_ext >&5
36454 eval "$as_ac_var=no"
36457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36458 conftest$ac_exeext conftest.$ac_ext
36460 ac_res=`eval echo '${'$as_ac_var'}'`
36461 { echo "$as_me:$LINENO: result: $ac_res" >&5
36462 echo "${ECHO_T}$ac_res" >&6; }
36463 if test `eval echo '${'$as_ac_var'}'` = yes; then
36464 cat >>confdefs.h <<_ACEOF
36465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36472 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36473 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36476 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36477 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36478 if test "${ac_cv_type_mbstate_t+set}" = set; then
36479 echo $ECHO_N "(cached) $ECHO_C" >&6
36481 cat >conftest.$ac_ext <<_ACEOF
36484 cat confdefs.h >>conftest.$ac_ext
36485 cat >>conftest.$ac_ext <<_ACEOF
36486 /* end confdefs.h. */
36489 typedef mbstate_t ac__type_new_;
36493 if ((ac__type_new_ *) 0)
36495 if (sizeof (ac__type_new_))
36501 rm -f conftest.$ac_objext
36502 if { (ac_try="$ac_compile"
36503 case "(($ac_try" in
36504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36505 *) ac_try_echo=$ac_try;;
36507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36508 (eval "$ac_compile") 2>conftest.er1
36510 grep -v '^ *+' conftest.er1 >conftest.err
36512 cat conftest.err >&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); } && {
36515 test -z "$ac_c_werror_flag" ||
36516 test ! -s conftest.err
36517 } && test -s conftest.$ac_objext; then
36518 ac_cv_type_mbstate_t=yes
36520 echo "$as_me: failed program was:" >&5
36521 sed 's/^/| /' conftest.$ac_ext >&5
36523 ac_cv_type_mbstate_t=no
36526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36528 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36529 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36530 if test $ac_cv_type_mbstate_t = yes; then
36532 cat >>confdefs.h <<_ACEOF
36533 #define HAVE_MBSTATE_T 1
36537 for ac_func in wcsrtombs
36539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36545 cat >conftest.$ac_ext <<_ACEOF
36548 cat confdefs.h >>conftest.$ac_ext
36549 cat >>conftest.$ac_ext <<_ACEOF
36550 /* end confdefs.h. */
36551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36553 #define $ac_func innocuous_$ac_func
36555 /* System header to define __stub macros and hopefully few prototypes,
36556 which can conflict with char $ac_func (); below.
36557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36558 <limits.h> exists even on freestanding compilers. */
36561 # include <limits.h>
36563 # include <assert.h>
36568 /* Override any GCC internal prototype to avoid an error.
36569 Use char because int might match the return type of a GCC
36570 builtin and then its argument prototype would still apply. */
36575 /* The GNU C library defines this for functions which it implements
36576 to always fail with ENOSYS. Some functions are actually named
36577 something starting with __ and the normal name is an alias. */
36578 #if defined __stub_$ac_func || defined __stub___$ac_func
36585 return $ac_func ();
36590 rm -f conftest.$ac_objext conftest$ac_exeext
36591 if { (ac_try="$ac_link"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36594 *) ac_try_echo=$ac_try;;
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_link") 2>conftest.er1
36599 grep -v '^ *+' conftest.er1 >conftest.err
36601 cat conftest.err >&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest$ac_exeext &&
36607 $as_test_x conftest$ac_exeext; then
36608 eval "$as_ac_var=yes"
36610 echo "$as_me: failed program was:" >&5
36611 sed 's/^/| /' conftest.$ac_ext >&5
36613 eval "$as_ac_var=no"
36616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36617 conftest$ac_exeext conftest.$ac_ext
36619 ac_res=`eval echo '${'$as_ac_var'}'`
36620 { echo "$as_me:$LINENO: result: $ac_res" >&5
36621 echo "${ECHO_T}$ac_res" >&6; }
36622 if test `eval echo '${'$as_ac_var'}'` = yes; then
36623 cat >>confdefs.h <<_ACEOF
36624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36636 for ac_func in snprintf vsnprintf vsscanf
36638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36642 echo $ECHO_N "(cached) $ECHO_C" >&6
36644 cat >conftest.$ac_ext <<_ACEOF
36647 cat confdefs.h >>conftest.$ac_ext
36648 cat >>conftest.$ac_ext <<_ACEOF
36649 /* end confdefs.h. */
36650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36652 #define $ac_func innocuous_$ac_func
36654 /* System header to define __stub macros and hopefully few prototypes,
36655 which can conflict with char $ac_func (); below.
36656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36657 <limits.h> exists even on freestanding compilers. */
36660 # include <limits.h>
36662 # include <assert.h>
36667 /* Override any GCC internal prototype to avoid an error.
36668 Use char because int might match the return type of a GCC
36669 builtin and then its argument prototype would still apply. */
36674 /* The GNU C library defines this for functions which it implements
36675 to always fail with ENOSYS. Some functions are actually named
36676 something starting with __ and the normal name is an alias. */
36677 #if defined __stub_$ac_func || defined __stub___$ac_func
36684 return $ac_func ();
36689 rm -f conftest.$ac_objext conftest$ac_exeext
36690 if { (ac_try="$ac_link"
36691 case "(($ac_try" in
36692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36693 *) ac_try_echo=$ac_try;;
36695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36696 (eval "$ac_link") 2>conftest.er1
36698 grep -v '^ *+' conftest.er1 >conftest.err
36700 cat conftest.err >&5
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); } && {
36703 test -z "$ac_c_werror_flag" ||
36704 test ! -s conftest.err
36705 } && test -s conftest$ac_exeext &&
36706 $as_test_x conftest$ac_exeext; then
36707 eval "$as_ac_var=yes"
36709 echo "$as_me: failed program was:" >&5
36710 sed 's/^/| /' conftest.$ac_ext >&5
36712 eval "$as_ac_var=no"
36715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36716 conftest$ac_exeext conftest.$ac_ext
36718 ac_res=`eval echo '${'$as_ac_var'}'`
36719 { echo "$as_me:$LINENO: result: $ac_res" >&5
36720 echo "${ECHO_T}$ac_res" >&6; }
36721 if test `eval echo '${'$as_ac_var'}'` = yes; then
36722 cat >>confdefs.h <<_ACEOF
36723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36731 ac_cpp='$CXXCPP $CPPFLAGS'
36732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36736 if test "$ac_cv_func_vsnprintf" = "yes"; then
36737 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36738 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36739 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36743 cat >conftest.$ac_ext <<_ACEOF
36746 cat confdefs.h >>conftest.$ac_ext
36747 cat >>conftest.$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36751 #include <stdarg.h>
36753 #if __MSL__ >= 0x6000
36755 using namespace std;
36765 vsnprintf(buf, 10u, "%s", ap);
36771 rm -f conftest.$ac_objext
36772 if { (ac_try="$ac_compile"
36773 case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36775 *) ac_try_echo=$ac_try;;
36777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_compile") 2>conftest.er1
36780 grep -v '^ *+' conftest.er1 >conftest.err
36782 cat conftest.err >&5
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); } && {
36785 test -z "$ac_cxx_werror_flag" ||
36786 test ! -s conftest.err
36787 } && test -s conftest.$ac_objext; then
36788 wx_cv_func_vsnprintf_decl=yes
36790 echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36793 wx_cv_func_vsnprintf_decl=no
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36801 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36802 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36804 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36805 cat >>confdefs.h <<\_ACEOF
36806 #define HAVE_VSNPRINTF_DECL 1
36810 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36811 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36812 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36813 echo $ECHO_N "(cached) $ECHO_C" >&6
36816 cat >conftest.$ac_ext <<_ACEOF
36819 cat confdefs.h >>conftest.$ac_ext
36820 cat >>conftest.$ac_ext <<_ACEOF
36821 /* end confdefs.h. */
36824 #include <stdarg.h>
36826 #if __MSL__ >= 0x6000
36828 using namespace std;
36838 const char *fmt = "%s";
36839 vsnprintf(buf, 10u, fmt, ap);
36845 rm -f conftest.$ac_objext
36846 if { (ac_try="$ac_compile"
36847 case "(($ac_try" in
36848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36849 *) ac_try_echo=$ac_try;;
36851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36852 (eval "$ac_compile") 2>conftest.er1
36854 grep -v '^ *+' conftest.er1 >conftest.err
36856 cat conftest.err >&5
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); } && {
36859 test -z "$ac_cxx_werror_flag" ||
36860 test ! -s conftest.err
36861 } && test -s conftest.$ac_objext; then
36862 wx_cv_func_broken_vsnprintf_decl=no
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36867 wx_cv_func_broken_vsnprintf_decl=yes
36871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36875 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36876 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36878 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36879 cat >>confdefs.h <<\_ACEOF
36880 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36887 if test "$ac_cv_func_snprintf" = "yes"; then
36888 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36889 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36890 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36891 echo $ECHO_N "(cached) $ECHO_C" >&6
36894 cat >conftest.$ac_ext <<_ACEOF
36897 cat confdefs.h >>conftest.$ac_ext
36898 cat >>conftest.$ac_ext <<_ACEOF
36899 /* end confdefs.h. */
36902 #include <stdarg.h>
36904 #if __MSL__ >= 0x6000
36906 using namespace std;
36915 snprintf(buf, 10u, "%s", "wx");
36921 rm -f conftest.$ac_objext
36922 if { (ac_try="$ac_compile"
36923 case "(($ac_try" in
36924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36925 *) ac_try_echo=$ac_try;;
36927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36928 (eval "$ac_compile") 2>conftest.er1
36930 grep -v '^ *+' conftest.er1 >conftest.err
36932 cat conftest.err >&5
36933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36934 (exit $ac_status); } && {
36935 test -z "$ac_cxx_werror_flag" ||
36936 test ! -s conftest.err
36937 } && test -s conftest.$ac_objext; then
36938 wx_cv_func_snprintf_decl=yes
36940 echo "$as_me: failed program was:" >&5
36941 sed 's/^/| /' conftest.$ac_ext >&5
36943 wx_cv_func_snprintf_decl=no
36947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36951 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36952 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36954 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36955 cat >>confdefs.h <<\_ACEOF
36956 #define HAVE_SNPRINTF_DECL 1
36961 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36963 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36964 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36965 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36966 echo $ECHO_N "(cached) $ECHO_C" >&6
36969 if test "$cross_compiling" = yes; then
36971 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36972 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36973 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36974 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36975 wx_cv_func_snprintf_pos_params=no
36979 cat >conftest.$ac_ext <<_ACEOF
36982 cat confdefs.h >>conftest.$ac_ext
36983 cat >>conftest.$ac_ext <<_ACEOF
36984 /* end confdefs.h. */
36991 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36992 if (strcmp ("2 3 1", buffer) == 0)
36998 rm -f conftest$ac_exeext
36999 if { (ac_try="$ac_link"
37000 case "(($ac_try" in
37001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37002 *) ac_try_echo=$ac_try;;
37004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_link") 2>&5
37007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37009 { (case "(($ac_try" in
37010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37011 *) ac_try_echo=$ac_try;;
37013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37014 (eval "$ac_try") 2>&5
37016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017 (exit $ac_status); }; }; then
37018 wx_cv_func_snprintf_pos_params=no
37020 echo "$as_me: program exited with status $ac_status" >&5
37021 echo "$as_me: failed program was:" >&5
37022 sed 's/^/| /' conftest.$ac_ext >&5
37024 ( exit $ac_status )
37025 wx_cv_func_snprintf_pos_params=yes
37027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37034 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37035 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37037 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37038 cat >>confdefs.h <<\_ACEOF
37039 #define HAVE_UNIX98_PRINTF 1
37046 if test "$ac_cv_func_vsscanf" = "yes"; then
37047 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37048 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37049 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37050 echo $ECHO_N "(cached) $ECHO_C" >&6
37053 cat >conftest.$ac_ext <<_ACEOF
37056 cat confdefs.h >>conftest.$ac_ext
37057 cat >>conftest.$ac_ext <<_ACEOF
37058 /* end confdefs.h. */
37061 #include <stdarg.h>
37063 #if __MSL__ >= 0x6000
37065 using namespace std;
37075 vsscanf(buf, "%s", args);
37081 rm -f conftest.$ac_objext
37082 if { (ac_try="$ac_compile"
37083 case "(($ac_try" in
37084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37085 *) ac_try_echo=$ac_try;;
37087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37088 (eval "$ac_compile") 2>conftest.er1
37090 grep -v '^ *+' conftest.er1 >conftest.err
37092 cat conftest.err >&5
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); } && {
37095 test -z "$ac_cxx_werror_flag" ||
37096 test ! -s conftest.err
37097 } && test -s conftest.$ac_objext; then
37098 wx_cv_func_vsscanf_decl=yes
37100 echo "$as_me: failed program was:" >&5
37101 sed 's/^/| /' conftest.$ac_ext >&5
37103 wx_cv_func_vsscanf_decl=no
37107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37111 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37112 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37114 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37115 cat >>confdefs.h <<\_ACEOF
37116 #define HAVE_VSSCANF_DECL 1
37122 ac_cpp='$CPP $CPPFLAGS'
37123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37128 if test "$wxUSE_UNICODE" = yes; then
37130 wchar_headers="#include <stdio.h>
37131 #include <wchar.h>"
37135 for ac_header in widec.h
37137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37141 echo $ECHO_N "(cached) $ECHO_C" >&6
37143 cat >conftest.$ac_ext <<_ACEOF
37146 cat confdefs.h >>conftest.$ac_ext
37147 cat >>conftest.$ac_ext <<_ACEOF
37148 /* end confdefs.h. */
37149 $ac_includes_default
37151 #include <$ac_header>
37153 rm -f conftest.$ac_objext
37154 if { (ac_try="$ac_compile"
37155 case "(($ac_try" in
37156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37157 *) ac_try_echo=$ac_try;;
37159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37160 (eval "$ac_compile") 2>conftest.er1
37162 grep -v '^ *+' conftest.er1 >conftest.err
37164 cat conftest.err >&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); } && {
37167 test -z "$ac_c_werror_flag" ||
37168 test ! -s conftest.err
37169 } && test -s conftest.$ac_objext; then
37170 eval "$as_ac_Header=yes"
37172 echo "$as_me: failed program was:" >&5
37173 sed 's/^/| /' conftest.$ac_ext >&5
37175 eval "$as_ac_Header=no"
37178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37180 ac_res=`eval echo '${'$as_ac_Header'}'`
37181 { echo "$as_me:$LINENO: result: $ac_res" >&5
37182 echo "${ECHO_T}$ac_res" >&6; }
37183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37184 cat >>confdefs.h <<_ACEOF
37185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37192 if test "$ac_cv_header_widec_h" = "yes"; then
37193 wchar_headers="$wchar_headers
37194 #include <widec.h>"
37199 for wx_func in putws fputws wprintf vswprintf vswscanf
37201 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37202 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37203 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37204 echo $ECHO_N "(cached) $ECHO_C" >&6
37207 cat >conftest.$ac_ext <<_ACEOF
37211 cat confdefs.h >>conftest.$ac_ext
37212 cat >>conftest.$ac_ext <<_ACEOF
37213 /* end confdefs.h. */
37216 $ac_includes_default
37232 rm -f conftest.$ac_objext conftest$ac_exeext
37233 if { (ac_try="$ac_link"
37234 case "(($ac_try" in
37235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37236 *) ac_try_echo=$ac_try;;
37238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37239 (eval "$ac_link") 2>conftest.er1
37241 grep -v '^ *+' conftest.er1 >conftest.err
37243 cat conftest.err >&5
37244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37245 (exit $ac_status); } && {
37246 test -z "$ac_c_werror_flag" ||
37247 test ! -s conftest.err
37248 } && test -s conftest$ac_exeext &&
37249 $as_test_x conftest$ac_exeext; then
37250 eval wx_cv_func_$wx_func=yes
37252 echo "$as_me: failed program was:" >&5
37253 sed 's/^/| /' conftest.$ac_ext >&5
37255 eval wx_cv_func_$wx_func=no
37258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37259 conftest$ac_exeext conftest.$ac_ext
37262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37263 { echo "$as_me:$LINENO: result: $ac_res" >&5
37264 echo "${ECHO_T}$ac_res" >&6; }
37266 if eval test \$wx_cv_func_$wx_func = yes
37268 cat >>confdefs.h <<_ACEOF
37269 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37280 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37281 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37282 cat >conftest.$ac_ext <<_ACEOF
37285 cat confdefs.h >>conftest.$ac_ext
37286 cat >>conftest.$ac_ext <<_ACEOF
37287 /* end confdefs.h. */
37297 rm -f conftest.$ac_objext
37298 if { (ac_try="$ac_compile"
37299 case "(($ac_try" in
37300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37301 *) ac_try_echo=$ac_try;;
37303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37304 (eval "$ac_compile") 2>conftest.er1
37306 grep -v '^ *+' conftest.er1 >conftest.err
37308 cat conftest.err >&5
37309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37310 (exit $ac_status); } && {
37311 test -z "$ac_c_werror_flag" ||
37312 test ! -s conftest.err
37313 } && test -s conftest.$ac_objext; then
37314 { echo "$as_me:$LINENO: result: yes" >&5
37315 echo "${ECHO_T}yes" >&6; }
37316 cat >>confdefs.h <<\_ACEOF
37317 #define HAVE__VSNWPRINTF 1
37321 echo "$as_me: failed program was:" >&5
37322 sed 's/^/| /' conftest.$ac_ext >&5
37324 { echo "$as_me:$LINENO: result: no" >&5
37325 echo "${ECHO_T}no" >&6; }
37328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37331 if test "$wxUSE_FILE" = "yes"; then
37333 for wx_func in fsync
37335 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37336 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37337 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37338 echo $ECHO_N "(cached) $ECHO_C" >&6
37341 cat >conftest.$ac_ext <<_ACEOF
37345 cat confdefs.h >>conftest.$ac_ext
37346 cat >>conftest.$ac_ext <<_ACEOF
37347 /* end confdefs.h. */
37350 $ac_includes_default
37366 rm -f conftest.$ac_objext conftest$ac_exeext
37367 if { (ac_try="$ac_link"
37368 case "(($ac_try" in
37369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37370 *) ac_try_echo=$ac_try;;
37372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_link") 2>conftest.er1
37375 grep -v '^ *+' conftest.er1 >conftest.err
37377 cat conftest.err >&5
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); } && {
37380 test -z "$ac_c_werror_flag" ||
37381 test ! -s conftest.err
37382 } && test -s conftest$ac_exeext &&
37383 $as_test_x conftest$ac_exeext; then
37384 eval wx_cv_func_$wx_func=yes
37386 echo "$as_me: failed program was:" >&5
37387 sed 's/^/| /' conftest.$ac_ext >&5
37389 eval wx_cv_func_$wx_func=no
37392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37393 conftest$ac_exeext conftest.$ac_ext
37396 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37397 { echo "$as_me:$LINENO: result: $ac_res" >&5
37398 echo "${ECHO_T}$ac_res" >&6; }
37400 if eval test \$wx_cv_func_$wx_func = yes
37402 cat >>confdefs.h <<_ACEOF
37403 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37422 for wx_func in round
37424 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37425 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37426 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37427 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 cat >conftest.$ac_ext <<_ACEOF
37434 cat confdefs.h >>conftest.$ac_ext
37435 cat >>conftest.$ac_ext <<_ACEOF
37436 /* end confdefs.h. */
37439 $ac_includes_default
37455 rm -f conftest.$ac_objext conftest$ac_exeext
37456 if { (ac_try="$ac_link"
37457 case "(($ac_try" in
37458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37459 *) ac_try_echo=$ac_try;;
37461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37462 (eval "$ac_link") 2>conftest.er1
37464 grep -v '^ *+' conftest.er1 >conftest.err
37466 cat conftest.err >&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } && {
37469 test -z "$ac_cxx_werror_flag" ||
37470 test ! -s conftest.err
37471 } && test -s conftest$ac_exeext &&
37472 $as_test_x conftest$ac_exeext; then
37473 eval wx_cv_func_$wx_func=yes
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37478 eval wx_cv_func_$wx_func=no
37481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37482 conftest$ac_exeext conftest.$ac_ext
37485 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37486 { echo "$as_me:$LINENO: result: $ac_res" >&5
37487 echo "${ECHO_T}$ac_res" >&6; }
37489 if eval test \$wx_cv_func_$wx_func = yes
37491 cat >>confdefs.h <<_ACEOF
37492 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37503 ac_cpp='$CPP $CPPFLAGS'
37504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37509 if test "$TOOLKIT" != "MSW"; then
37511 if test "$wxUSE_LIBICONV" != "no" ; then
37515 # Check whether --with-libiconv-prefix was given.
37516 if test "${with_libiconv_prefix+set}" = set; then
37517 withval=$with_libiconv_prefix;
37518 for dir in `echo "$withval" | tr : ' '`; do
37519 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37520 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37526 { echo "$as_me:$LINENO: checking for iconv" >&5
37527 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37528 if test "${am_cv_func_iconv+set}" = set; then
37529 echo $ECHO_N "(cached) $ECHO_C" >&6
37532 am_cv_func_iconv="no, consider installing GNU libiconv"
37534 cat >conftest.$ac_ext <<_ACEOF
37537 cat confdefs.h >>conftest.$ac_ext
37538 cat >>conftest.$ac_ext <<_ACEOF
37539 /* end confdefs.h. */
37540 #include <stdlib.h>
37545 iconv_t cd = iconv_open("","");
37546 iconv(cd,NULL,NULL,NULL,NULL);
37552 rm -f conftest.$ac_objext conftest$ac_exeext
37553 if { (ac_try="$ac_link"
37554 case "(($ac_try" in
37555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37556 *) ac_try_echo=$ac_try;;
37558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37559 (eval "$ac_link") 2>conftest.er1
37561 grep -v '^ *+' conftest.er1 >conftest.err
37563 cat conftest.err >&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); } && {
37566 test -z "$ac_c_werror_flag" ||
37567 test ! -s conftest.err
37568 } && test -s conftest$ac_exeext &&
37569 $as_test_x conftest$ac_exeext; then
37570 am_cv_func_iconv=yes
37572 echo "$as_me: failed program was:" >&5
37573 sed 's/^/| /' conftest.$ac_ext >&5
37578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37579 conftest$ac_exeext conftest.$ac_ext
37580 if test "$am_cv_func_iconv" != yes; then
37581 am_save_LIBS="$LIBS"
37582 LIBS="$LIBS -liconv"
37583 cat >conftest.$ac_ext <<_ACEOF
37586 cat confdefs.h >>conftest.$ac_ext
37587 cat >>conftest.$ac_ext <<_ACEOF
37588 /* end confdefs.h. */
37589 #include <stdlib.h>
37594 iconv_t cd = iconv_open("","");
37595 iconv(cd,NULL,NULL,NULL,NULL);
37601 rm -f conftest.$ac_objext conftest$ac_exeext
37602 if { (ac_try="$ac_link"
37603 case "(($ac_try" in
37604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37605 *) ac_try_echo=$ac_try;;
37607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37608 (eval "$ac_link") 2>conftest.er1
37610 grep -v '^ *+' conftest.er1 >conftest.err
37612 cat conftest.err >&5
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); } && {
37615 test -z "$ac_c_werror_flag" ||
37616 test ! -s conftest.err
37617 } && test -s conftest$ac_exeext &&
37618 $as_test_x conftest$ac_exeext; then
37619 am_cv_lib_iconv=yes
37620 am_cv_func_iconv=yes
37622 echo "$as_me: failed program was:" >&5
37623 sed 's/^/| /' conftest.$ac_ext >&5
37628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37629 conftest$ac_exeext conftest.$ac_ext
37630 LIBS="$am_save_LIBS"
37634 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37635 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37636 if test "$am_cv_func_iconv" = yes; then
37638 cat >>confdefs.h <<\_ACEOF
37639 #define HAVE_ICONV 1
37642 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37643 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37644 if test "${wx_cv_func_iconv_const+set}" = set; then
37645 echo $ECHO_N "(cached) $ECHO_C" >&6
37647 cat >conftest.$ac_ext <<_ACEOF
37650 cat confdefs.h >>conftest.$ac_ext
37651 cat >>conftest.$ac_ext <<_ACEOF
37652 /* end confdefs.h. */
37654 #include <stdlib.h>
37660 #if defined(__STDC__) || defined(__cplusplus)
37661 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37674 rm -f conftest.$ac_objext
37675 if { (ac_try="$ac_compile"
37676 case "(($ac_try" in
37677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37678 *) ac_try_echo=$ac_try;;
37680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37681 (eval "$ac_compile") 2>conftest.er1
37683 grep -v '^ *+' conftest.er1 >conftest.err
37685 cat conftest.err >&5
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); } && {
37688 test -z "$ac_c_werror_flag" ||
37689 test ! -s conftest.err
37690 } && test -s conftest.$ac_objext; then
37691 wx_cv_func_iconv_const="no"
37693 echo "$as_me: failed program was:" >&5
37694 sed 's/^/| /' conftest.$ac_ext >&5
37696 wx_cv_func_iconv_const="yes"
37700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37703 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37704 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37707 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37708 iconv_const="const"
37712 cat >>confdefs.h <<_ACEOF
37713 #define ICONV_CONST $iconv_const
37718 if test "$am_cv_lib_iconv" = yes; then
37723 LIBS="$LIBICONV $LIBS"
37726 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37728 for ac_func in sigaction
37730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37734 echo $ECHO_N "(cached) $ECHO_C" >&6
37736 cat >conftest.$ac_ext <<_ACEOF
37739 cat confdefs.h >>conftest.$ac_ext
37740 cat >>conftest.$ac_ext <<_ACEOF
37741 /* end confdefs.h. */
37742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37744 #define $ac_func innocuous_$ac_func
37746 /* System header to define __stub macros and hopefully few prototypes,
37747 which can conflict with char $ac_func (); below.
37748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37749 <limits.h> exists even on freestanding compilers. */
37752 # include <limits.h>
37754 # include <assert.h>
37759 /* Override any GCC internal prototype to avoid an error.
37760 Use char because int might match the return type of a GCC
37761 builtin and then its argument prototype would still apply. */
37766 /* The GNU C library defines this for functions which it implements
37767 to always fail with ENOSYS. Some functions are actually named
37768 something starting with __ and the normal name is an alias. */
37769 #if defined __stub_$ac_func || defined __stub___$ac_func
37776 return $ac_func ();
37781 rm -f conftest.$ac_objext conftest$ac_exeext
37782 if { (ac_try="$ac_link"
37783 case "(($ac_try" in
37784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37785 *) ac_try_echo=$ac_try;;
37787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37788 (eval "$ac_link") 2>conftest.er1
37790 grep -v '^ *+' conftest.er1 >conftest.err
37792 cat conftest.err >&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); } && {
37795 test -z "$ac_c_werror_flag" ||
37796 test ! -s conftest.err
37797 } && test -s conftest$ac_exeext &&
37798 $as_test_x conftest$ac_exeext; then
37799 eval "$as_ac_var=yes"
37801 echo "$as_me: failed program was:" >&5
37802 sed 's/^/| /' conftest.$ac_ext >&5
37804 eval "$as_ac_var=no"
37807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37808 conftest$ac_exeext conftest.$ac_ext
37810 ac_res=`eval echo '${'$as_ac_var'}'`
37811 { echo "$as_me:$LINENO: result: $ac_res" >&5
37812 echo "${ECHO_T}$ac_res" >&6; }
37813 if test `eval echo '${'$as_ac_var'}'` = yes; then
37814 cat >>confdefs.h <<_ACEOF
37815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37822 if test "$ac_cv_func_sigaction" = "no"; then
37823 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37824 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37825 wxUSE_ON_FATAL_EXCEPTION=no
37828 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37829 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37830 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37831 if test "${wx_cv_type_sa_handler+set}" = set; then
37832 echo $ECHO_N "(cached) $ECHO_C" >&6
37836 ac_cpp='$CXXCPP $CPPFLAGS'
37837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37841 cat >conftest.$ac_ext <<_ACEOF
37844 cat confdefs.h >>conftest.$ac_ext
37845 cat >>conftest.$ac_ext <<_ACEOF
37846 /* end confdefs.h. */
37847 #include <signal.h>
37852 extern void testSigHandler(int);
37854 struct sigaction sa;
37855 sa.sa_handler = testSigHandler;
37861 rm -f conftest.$ac_objext
37862 if { (ac_try="$ac_compile"
37863 case "(($ac_try" in
37864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37865 *) ac_try_echo=$ac_try;;
37867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37868 (eval "$ac_compile") 2>conftest.er1
37870 grep -v '^ *+' conftest.er1 >conftest.err
37872 cat conftest.err >&5
37873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874 (exit $ac_status); } && {
37875 test -z "$ac_cxx_werror_flag" ||
37876 test ! -s conftest.err
37877 } && test -s conftest.$ac_objext; then
37879 wx_cv_type_sa_handler=int
37882 echo "$as_me: failed program was:" >&5
37883 sed 's/^/| /' conftest.$ac_ext >&5
37886 wx_cv_type_sa_handler=void
37890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37899 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37900 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37902 cat >>confdefs.h <<_ACEOF
37903 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37909 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37910 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37911 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37912 if test "${wx_cv_func_backtrace+set}" = set; then
37913 echo $ECHO_N "(cached) $ECHO_C" >&6
37917 ac_cpp='$CXXCPP $CPPFLAGS'
37918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37922 cat >conftest.$ac_ext <<_ACEOF
37925 cat confdefs.h >>conftest.$ac_ext
37926 cat >>conftest.$ac_ext <<_ACEOF
37927 /* end confdefs.h. */
37928 #include <execinfo.h>
37936 backtrace(trace, 1);
37937 messages = backtrace_symbols(trace, 1);
37943 rm -f conftest.$ac_objext
37944 if { (ac_try="$ac_compile"
37945 case "(($ac_try" in
37946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37947 *) ac_try_echo=$ac_try;;
37949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37950 (eval "$ac_compile") 2>conftest.er1
37952 grep -v '^ *+' conftest.er1 >conftest.err
37954 cat conftest.err >&5
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); } && {
37957 test -z "$ac_cxx_werror_flag" ||
37958 test ! -s conftest.err
37959 } && test -s conftest.$ac_objext; then
37960 wx_cv_func_backtrace=yes
37962 echo "$as_me: failed program was:" >&5
37963 sed 's/^/| /' conftest.$ac_ext >&5
37965 wx_cv_func_backtrace=no
37969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37971 ac_cpp='$CPP $CPPFLAGS'
37972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37979 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37980 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37983 if test "$wx_cv_func_backtrace" = "no"; then
37984 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37985 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37986 wxUSE_STACKWALKER=no
37988 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37989 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37990 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37991 echo $ECHO_N "(cached) $ECHO_C" >&6
37995 ac_cpp='$CXXCPP $CPPFLAGS'
37996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38000 cat >conftest.$ac_ext <<_ACEOF
38003 cat confdefs.h >>conftest.$ac_ext
38004 cat >>conftest.$ac_ext <<_ACEOF
38005 /* end confdefs.h. */
38006 #include <cxxabi.h>
38012 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38018 rm -f conftest.$ac_objext conftest$ac_exeext
38019 if { (ac_try="$ac_link"
38020 case "(($ac_try" in
38021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38022 *) ac_try_echo=$ac_try;;
38024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38025 (eval "$ac_link") 2>conftest.er1
38027 grep -v '^ *+' conftest.er1 >conftest.err
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } && {
38032 test -z "$ac_cxx_werror_flag" ||
38033 test ! -s conftest.err
38034 } && test -s conftest$ac_exeext &&
38035 $as_test_x conftest$ac_exeext; then
38036 wx_cv_func_cxa_demangle=yes
38038 echo "$as_me: failed program was:" >&5
38039 sed 's/^/| /' conftest.$ac_ext >&5
38041 wx_cv_func_cxa_demangle=no
38045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38046 conftest$ac_exeext conftest.$ac_ext
38048 ac_cpp='$CPP $CPPFLAGS'
38049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38056 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38057 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38059 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38060 cat >>confdefs.h <<\_ACEOF
38061 #define HAVE_CXA_DEMANGLE 1
38068 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38069 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38070 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38071 wxUSE_STACKWALKER=no
38077 for ac_func in mkstemp mktemp
38079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38082 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 cat >conftest.$ac_ext <<_ACEOF
38088 cat confdefs.h >>conftest.$ac_ext
38089 cat >>conftest.$ac_ext <<_ACEOF
38090 /* end confdefs.h. */
38091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38093 #define $ac_func innocuous_$ac_func
38095 /* System header to define __stub macros and hopefully few prototypes,
38096 which can conflict with char $ac_func (); below.
38097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38098 <limits.h> exists even on freestanding compilers. */
38101 # include <limits.h>
38103 # include <assert.h>
38108 /* Override any GCC internal prototype to avoid an error.
38109 Use char because int might match the return type of a GCC
38110 builtin and then its argument prototype would still apply. */
38115 /* The GNU C library defines this for functions which it implements
38116 to always fail with ENOSYS. Some functions are actually named
38117 something starting with __ and the normal name is an alias. */
38118 #if defined __stub_$ac_func || defined __stub___$ac_func
38125 return $ac_func ();
38130 rm -f conftest.$ac_objext conftest$ac_exeext
38131 if { (ac_try="$ac_link"
38132 case "(($ac_try" in
38133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38134 *) ac_try_echo=$ac_try;;
38136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38137 (eval "$ac_link") 2>conftest.er1
38139 grep -v '^ *+' conftest.er1 >conftest.err
38141 cat conftest.err >&5
38142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38143 (exit $ac_status); } && {
38144 test -z "$ac_c_werror_flag" ||
38145 test ! -s conftest.err
38146 } && test -s conftest$ac_exeext &&
38147 $as_test_x conftest$ac_exeext; then
38148 eval "$as_ac_var=yes"
38150 echo "$as_me: failed program was:" >&5
38151 sed 's/^/| /' conftest.$ac_ext >&5
38153 eval "$as_ac_var=no"
38156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38157 conftest$ac_exeext conftest.$ac_ext
38159 ac_res=`eval echo '${'$as_ac_var'}'`
38160 { echo "$as_me:$LINENO: result: $ac_res" >&5
38161 echo "${ECHO_T}$ac_res" >&6; }
38162 if test `eval echo '${'$as_ac_var'}'` = yes; then
38163 cat >>confdefs.h <<_ACEOF
38164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38171 { echo "$as_me:$LINENO: checking for statfs" >&5
38172 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38173 if test "${wx_cv_func_statfs+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 cat >conftest.$ac_ext <<_ACEOF
38179 cat confdefs.h >>conftest.$ac_ext
38180 cat >>conftest.$ac_ext <<_ACEOF
38181 /* end confdefs.h. */
38183 #if defined(__BSD__)
38184 #include <sys/param.h>
38185 #include <sys/mount.h>
38187 #include <sys/vfs.h>
38205 rm -f conftest.$ac_objext
38206 if { (ac_try="$ac_compile"
38207 case "(($ac_try" in
38208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38209 *) ac_try_echo=$ac_try;;
38211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38212 (eval "$ac_compile") 2>conftest.er1
38214 grep -v '^ *+' conftest.er1 >conftest.err
38216 cat conftest.err >&5
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); } && {
38219 test -z "$ac_c_werror_flag" ||
38220 test ! -s conftest.err
38221 } && test -s conftest.$ac_objext; then
38222 wx_cv_func_statfs=yes
38224 echo "$as_me: failed program was:" >&5
38225 sed 's/^/| /' conftest.$ac_ext >&5
38227 wx_cv_func_statfs=no
38231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38234 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38235 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38237 if test "$wx_cv_func_statfs" = "yes"; then
38238 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38239 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38240 if test "${wx_cv_func_statfs_decl+set}" = set; then
38241 echo $ECHO_N "(cached) $ECHO_C" >&6
38244 ac_cpp='$CXXCPP $CPPFLAGS'
38245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38249 cat >conftest.$ac_ext <<_ACEOF
38252 cat confdefs.h >>conftest.$ac_ext
38253 cat >>conftest.$ac_ext <<_ACEOF
38254 /* end confdefs.h. */
38256 #if defined(__BSD__)
38257 #include <sys/param.h>
38258 #include <sys/mount.h>
38260 #include <sys/vfs.h>
38274 rm -f conftest.$ac_objext
38275 if { (ac_try="$ac_compile"
38276 case "(($ac_try" in
38277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38278 *) ac_try_echo=$ac_try;;
38280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38281 (eval "$ac_compile") 2>conftest.er1
38283 grep -v '^ *+' conftest.er1 >conftest.err
38285 cat conftest.err >&5
38286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38287 (exit $ac_status); } && {
38288 test -z "$ac_cxx_werror_flag" ||
38289 test ! -s conftest.err
38290 } && test -s conftest.$ac_objext; then
38291 wx_cv_func_statfs_decl=yes
38293 echo "$as_me: failed program was:" >&5
38294 sed 's/^/| /' conftest.$ac_ext >&5
38296 wx_cv_func_statfs_decl=no
38300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38302 ac_cpp='$CPP $CPPFLAGS'
38303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38309 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38310 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38312 if test "$wx_cv_func_statfs_decl" = "yes"; then
38313 cat >>confdefs.h <<\_ACEOF
38314 #define HAVE_STATFS_DECL 1
38319 wx_cv_type_statvfs_t="struct statfs"
38320 cat >>confdefs.h <<\_ACEOF
38321 #define HAVE_STATFS 1
38325 { echo "$as_me:$LINENO: checking for statvfs" >&5
38326 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38327 if test "${wx_cv_func_statvfs+set}" = set; then
38328 echo $ECHO_N "(cached) $ECHO_C" >&6
38330 cat >conftest.$ac_ext <<_ACEOF
38333 cat confdefs.h >>conftest.$ac_ext
38334 cat >>conftest.$ac_ext <<_ACEOF
38335 /* end confdefs.h. */
38337 #include <stddef.h>
38338 #include <sys/statvfs.h>
38344 statvfs("/", NULL);
38350 rm -f conftest.$ac_objext
38351 if { (ac_try="$ac_compile"
38352 case "(($ac_try" in
38353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38354 *) ac_try_echo=$ac_try;;
38356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38357 (eval "$ac_compile") 2>conftest.er1
38359 grep -v '^ *+' conftest.er1 >conftest.err
38361 cat conftest.err >&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); } && {
38364 test -z "$ac_c_werror_flag" ||
38365 test ! -s conftest.err
38366 } && test -s conftest.$ac_objext; then
38367 wx_cv_func_statvfs=yes
38369 echo "$as_me: failed program was:" >&5
38370 sed 's/^/| /' conftest.$ac_ext >&5
38372 wx_cv_func_statvfs=no
38376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38379 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38380 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38382 if test "$wx_cv_func_statvfs" = "yes"; then
38383 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38384 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38385 if test "${wx_cv_type_statvfs_t+set}" = set; then
38386 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 ac_cpp='$CXXCPP $CPPFLAGS'
38390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38394 cat >conftest.$ac_ext <<_ACEOF
38397 cat confdefs.h >>conftest.$ac_ext
38398 cat >>conftest.$ac_ext <<_ACEOF
38399 /* end confdefs.h. */
38401 #include <sys/statvfs.h>
38418 rm -f conftest.$ac_objext
38419 if { (ac_try="$ac_compile"
38420 case "(($ac_try" in
38421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38422 *) ac_try_echo=$ac_try;;
38424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38425 (eval "$ac_compile") 2>conftest.er1
38427 grep -v '^ *+' conftest.er1 >conftest.err
38429 cat conftest.err >&5
38430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431 (exit $ac_status); } && {
38432 test -z "$ac_cxx_werror_flag" ||
38433 test ! -s conftest.err
38434 } && test -s conftest.$ac_objext; then
38435 wx_cv_type_statvfs_t=statvfs_t
38437 echo "$as_me: failed program was:" >&5
38438 sed 's/^/| /' conftest.$ac_ext >&5
38441 cat >conftest.$ac_ext <<_ACEOF
38444 cat confdefs.h >>conftest.$ac_ext
38445 cat >>conftest.$ac_ext <<_ACEOF
38446 /* end confdefs.h. */
38448 #include <sys/statvfs.h>
38465 rm -f conftest.$ac_objext
38466 if { (ac_try="$ac_compile"
38467 case "(($ac_try" in
38468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38469 *) ac_try_echo=$ac_try;;
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_compile") 2>conftest.er1
38474 grep -v '^ *+' conftest.er1 >conftest.err
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_cxx_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest.$ac_objext; then
38482 wx_cv_type_statvfs_t="struct statvfs"
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38487 wx_cv_type_statvfs_t="unknown"
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38498 ac_cpp='$CPP $CPPFLAGS'
38499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38505 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38506 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38508 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38509 cat >>confdefs.h <<\_ACEOF
38510 #define HAVE_STATVFS 1
38515 wx_cv_type_statvfs_t="unknown"
38519 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38520 cat >>confdefs.h <<_ACEOF
38521 #define WX_STATFS_T $wx_cv_type_statvfs_t
38525 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38526 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38529 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38532 for ac_func in fcntl flock
38534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38538 echo $ECHO_N "(cached) $ECHO_C" >&6
38540 cat >conftest.$ac_ext <<_ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38548 #define $ac_func innocuous_$ac_func
38550 /* System header to define __stub macros and hopefully few prototypes,
38551 which can conflict with char $ac_func (); below.
38552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38553 <limits.h> exists even on freestanding compilers. */
38556 # include <limits.h>
38558 # include <assert.h>
38563 /* Override any GCC internal prototype to avoid an error.
38564 Use char because int might match the return type of a GCC
38565 builtin and then its argument prototype would still apply. */
38570 /* The GNU C library defines this for functions which it implements
38571 to always fail with ENOSYS. Some functions are actually named
38572 something starting with __ and the normal name is an alias. */
38573 #if defined __stub_$ac_func || defined __stub___$ac_func
38580 return $ac_func ();
38585 rm -f conftest.$ac_objext conftest$ac_exeext
38586 if { (ac_try="$ac_link"
38587 case "(($ac_try" in
38588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38589 *) ac_try_echo=$ac_try;;
38591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38592 (eval "$ac_link") 2>conftest.er1
38594 grep -v '^ *+' conftest.er1 >conftest.err
38596 cat conftest.err >&5
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); } && {
38599 test -z "$ac_c_werror_flag" ||
38600 test ! -s conftest.err
38601 } && test -s conftest$ac_exeext &&
38602 $as_test_x conftest$ac_exeext; then
38603 eval "$as_ac_var=yes"
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.$ac_ext >&5
38608 eval "$as_ac_var=no"
38611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38612 conftest$ac_exeext conftest.$ac_ext
38614 ac_res=`eval echo '${'$as_ac_var'}'`
38615 { echo "$as_me:$LINENO: result: $ac_res" >&5
38616 echo "${ECHO_T}$ac_res" >&6; }
38617 if test `eval echo '${'$as_ac_var'}'` = yes; then
38618 cat >>confdefs.h <<_ACEOF
38619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38626 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38627 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38628 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38629 wxUSE_SNGLINST_CHECKER=no
38635 for ac_func in setenv putenv
38637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38641 echo $ECHO_N "(cached) $ECHO_C" >&6
38643 cat >conftest.$ac_ext <<_ACEOF
38646 cat confdefs.h >>conftest.$ac_ext
38647 cat >>conftest.$ac_ext <<_ACEOF
38648 /* end confdefs.h. */
38649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38651 #define $ac_func innocuous_$ac_func
38653 /* System header to define __stub macros and hopefully few prototypes,
38654 which can conflict with char $ac_func (); below.
38655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38656 <limits.h> exists even on freestanding compilers. */
38659 # include <limits.h>
38661 # include <assert.h>
38666 /* Override any GCC internal prototype to avoid an error.
38667 Use char because int might match the return type of a GCC
38668 builtin and then its argument prototype would still apply. */
38673 /* The GNU C library defines this for functions which it implements
38674 to always fail with ENOSYS. Some functions are actually named
38675 something starting with __ and the normal name is an alias. */
38676 #if defined __stub_$ac_func || defined __stub___$ac_func
38683 return $ac_func ();
38688 rm -f conftest.$ac_objext conftest$ac_exeext
38689 if { (ac_try="$ac_link"
38690 case "(($ac_try" in
38691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38692 *) ac_try_echo=$ac_try;;
38694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38695 (eval "$ac_link") 2>conftest.er1
38697 grep -v '^ *+' conftest.er1 >conftest.err
38699 cat conftest.err >&5
38700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38701 (exit $ac_status); } && {
38702 test -z "$ac_c_werror_flag" ||
38703 test ! -s conftest.err
38704 } && test -s conftest$ac_exeext &&
38705 $as_test_x conftest$ac_exeext; then
38706 eval "$as_ac_var=yes"
38708 echo "$as_me: failed program was:" >&5
38709 sed 's/^/| /' conftest.$ac_ext >&5
38711 eval "$as_ac_var=no"
38714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38715 conftest$ac_exeext conftest.$ac_ext
38717 ac_res=`eval echo '${'$as_ac_var'}'`
38718 { echo "$as_me:$LINENO: result: $ac_res" >&5
38719 echo "${ECHO_T}$ac_res" >&6; }
38720 if test `eval echo '${'$as_ac_var'}'` = yes; then
38721 cat >>confdefs.h <<_ACEOF
38722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38728 if test "$ac_cv_func_setenv" = "yes"; then
38730 for ac_func in unsetenv
38732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38736 echo $ECHO_N "(cached) $ECHO_C" >&6
38738 cat >conftest.$ac_ext <<_ACEOF
38741 cat confdefs.h >>conftest.$ac_ext
38742 cat >>conftest.$ac_ext <<_ACEOF
38743 /* end confdefs.h. */
38744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38746 #define $ac_func innocuous_$ac_func
38748 /* System header to define __stub macros and hopefully few prototypes,
38749 which can conflict with char $ac_func (); below.
38750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38751 <limits.h> exists even on freestanding compilers. */
38754 # include <limits.h>
38756 # include <assert.h>
38761 /* Override any GCC internal prototype to avoid an error.
38762 Use char because int might match the return type of a GCC
38763 builtin and then its argument prototype would still apply. */
38768 /* The GNU C library defines this for functions which it implements
38769 to always fail with ENOSYS. Some functions are actually named
38770 something starting with __ and the normal name is an alias. */
38771 #if defined __stub_$ac_func || defined __stub___$ac_func
38778 return $ac_func ();
38783 rm -f conftest.$ac_objext conftest$ac_exeext
38784 if { (ac_try="$ac_link"
38785 case "(($ac_try" in
38786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38787 *) ac_try_echo=$ac_try;;
38789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38790 (eval "$ac_link") 2>conftest.er1
38792 grep -v '^ *+' conftest.er1 >conftest.err
38794 cat conftest.err >&5
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); } && {
38797 test -z "$ac_c_werror_flag" ||
38798 test ! -s conftest.err
38799 } && test -s conftest$ac_exeext &&
38800 $as_test_x conftest$ac_exeext; then
38801 eval "$as_ac_var=yes"
38803 echo "$as_me: failed program was:" >&5
38804 sed 's/^/| /' conftest.$ac_ext >&5
38806 eval "$as_ac_var=no"
38809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38810 conftest$ac_exeext conftest.$ac_ext
38812 ac_res=`eval echo '${'$as_ac_var'}'`
38813 { echo "$as_me:$LINENO: result: $ac_res" >&5
38814 echo "${ECHO_T}$ac_res" >&6; }
38815 if test `eval echo '${'$as_ac_var'}'` = yes; then
38816 cat >>confdefs.h <<_ACEOF
38817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38825 HAVE_SOME_SLEEP_FUNC=0
38826 if test "$USE_BEOS" = 1; then
38827 cat >>confdefs.h <<\_ACEOF
38828 #define HAVE_SLEEP 1
38831 HAVE_SOME_SLEEP_FUNC=1
38834 if test "$USE_DARWIN" = 1; then
38835 cat >>confdefs.h <<\_ACEOF
38836 #define HAVE_USLEEP 1
38839 HAVE_SOME_SLEEP_FUNC=1
38842 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38845 for ac_func in nanosleep
38847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38851 echo $ECHO_N "(cached) $ECHO_C" >&6
38853 cat >conftest.$ac_ext <<_ACEOF
38856 cat confdefs.h >>conftest.$ac_ext
38857 cat >>conftest.$ac_ext <<_ACEOF
38858 /* end confdefs.h. */
38859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38861 #define $ac_func innocuous_$ac_func
38863 /* System header to define __stub macros and hopefully few prototypes,
38864 which can conflict with char $ac_func (); below.
38865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38866 <limits.h> exists even on freestanding compilers. */
38869 # include <limits.h>
38871 # include <assert.h>
38876 /* Override any GCC internal prototype to avoid an error.
38877 Use char because int might match the return type of a GCC
38878 builtin and then its argument prototype would still apply. */
38883 /* The GNU C library defines this for functions which it implements
38884 to always fail with ENOSYS. Some functions are actually named
38885 something starting with __ and the normal name is an alias. */
38886 #if defined __stub_$ac_func || defined __stub___$ac_func
38893 return $ac_func ();
38898 rm -f conftest.$ac_objext conftest$ac_exeext
38899 if { (ac_try="$ac_link"
38900 case "(($ac_try" in
38901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38902 *) ac_try_echo=$ac_try;;
38904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38905 (eval "$ac_link") 2>conftest.er1
38907 grep -v '^ *+' conftest.er1 >conftest.err
38909 cat conftest.err >&5
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); } && {
38912 test -z "$ac_c_werror_flag" ||
38913 test ! -s conftest.err
38914 } && test -s conftest$ac_exeext &&
38915 $as_test_x conftest$ac_exeext; then
38916 eval "$as_ac_var=yes"
38918 echo "$as_me: failed program was:" >&5
38919 sed 's/^/| /' conftest.$ac_ext >&5
38921 eval "$as_ac_var=no"
38924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38925 conftest$ac_exeext conftest.$ac_ext
38927 ac_res=`eval echo '${'$as_ac_var'}'`
38928 { echo "$as_me:$LINENO: result: $ac_res" >&5
38929 echo "${ECHO_T}$ac_res" >&6; }
38930 if test `eval echo '${'$as_ac_var'}'` = yes; then
38931 cat >>confdefs.h <<_ACEOF
38932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38934 cat >>confdefs.h <<\_ACEOF
38935 #define HAVE_NANOSLEEP 1
38940 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38941 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38942 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38943 echo $ECHO_N "(cached) $ECHO_C" >&6
38945 ac_check_lib_save_LIBS=$LIBS
38946 LIBS="-lposix4 $LIBS"
38947 cat >conftest.$ac_ext <<_ACEOF
38950 cat confdefs.h >>conftest.$ac_ext
38951 cat >>conftest.$ac_ext <<_ACEOF
38952 /* end confdefs.h. */
38954 /* Override any GCC internal prototype to avoid an error.
38955 Use char because int might match the return type of a GCC
38956 builtin and then its argument prototype would still apply. */
38964 return nanosleep ();
38969 rm -f conftest.$ac_objext conftest$ac_exeext
38970 if { (ac_try="$ac_link"
38971 case "(($ac_try" in
38972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38973 *) ac_try_echo=$ac_try;;
38975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38976 (eval "$ac_link") 2>conftest.er1
38978 grep -v '^ *+' conftest.er1 >conftest.err
38980 cat conftest.err >&5
38981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38982 (exit $ac_status); } && {
38983 test -z "$ac_c_werror_flag" ||
38984 test ! -s conftest.err
38985 } && test -s conftest$ac_exeext &&
38986 $as_test_x conftest$ac_exeext; then
38987 ac_cv_lib_posix4_nanosleep=yes
38989 echo "$as_me: failed program was:" >&5
38990 sed 's/^/| /' conftest.$ac_ext >&5
38992 ac_cv_lib_posix4_nanosleep=no
38995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38996 conftest$ac_exeext conftest.$ac_ext
38997 LIBS=$ac_check_lib_save_LIBS
38999 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39000 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39001 if test $ac_cv_lib_posix4_nanosleep = yes; then
39003 cat >>confdefs.h <<\_ACEOF
39004 #define HAVE_NANOSLEEP 1
39007 POSIX4_LINK=" -lposix4"
39012 for wx_func in usleep
39014 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39015 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39016 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39017 echo $ECHO_N "(cached) $ECHO_C" >&6
39020 cat >conftest.$ac_ext <<_ACEOF
39024 cat confdefs.h >>conftest.$ac_ext
39025 cat >>conftest.$ac_ext <<_ACEOF
39026 /* end confdefs.h. */
39029 $ac_includes_default
39045 rm -f conftest.$ac_objext conftest$ac_exeext
39046 if { (ac_try="$ac_link"
39047 case "(($ac_try" in
39048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39049 *) ac_try_echo=$ac_try;;
39051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39052 (eval "$ac_link") 2>conftest.er1
39054 grep -v '^ *+' conftest.er1 >conftest.err
39056 cat conftest.err >&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); } && {
39059 test -z "$ac_c_werror_flag" ||
39060 test ! -s conftest.err
39061 } && test -s conftest$ac_exeext &&
39062 $as_test_x conftest$ac_exeext; then
39063 eval wx_cv_func_$wx_func=yes
39065 echo "$as_me: failed program was:" >&5
39066 sed 's/^/| /' conftest.$ac_ext >&5
39068 eval wx_cv_func_$wx_func=no
39071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39072 conftest$ac_exeext conftest.$ac_ext
39075 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39076 { echo "$as_me:$LINENO: result: $ac_res" >&5
39077 echo "${ECHO_T}$ac_res" >&6; }
39079 if eval test \$wx_cv_func_$wx_func = yes
39081 cat >>confdefs.h <<_ACEOF
39082 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39088 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39089 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39106 for wx_func in uname
39108 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39109 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39110 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39111 echo $ECHO_N "(cached) $ECHO_C" >&6
39114 cat >conftest.$ac_ext <<_ACEOF
39118 cat confdefs.h >>conftest.$ac_ext
39119 cat >>conftest.$ac_ext <<_ACEOF
39120 /* end confdefs.h. */
39122 #include <sys/utsname.h>
39123 $ac_includes_default
39139 rm -f conftest.$ac_objext conftest$ac_exeext
39140 if { (ac_try="$ac_link"
39141 case "(($ac_try" in
39142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39143 *) ac_try_echo=$ac_try;;
39145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39146 (eval "$ac_link") 2>conftest.er1
39148 grep -v '^ *+' conftest.er1 >conftest.err
39150 cat conftest.err >&5
39151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39152 (exit $ac_status); } && {
39153 test -z "$ac_c_werror_flag" ||
39154 test ! -s conftest.err
39155 } && test -s conftest$ac_exeext &&
39156 $as_test_x conftest$ac_exeext; then
39157 eval wx_cv_func_$wx_func=yes
39159 echo "$as_me: failed program was:" >&5
39160 sed 's/^/| /' conftest.$ac_ext >&5
39162 eval wx_cv_func_$wx_func=no
39165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39166 conftest$ac_exeext conftest.$ac_ext
39169 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39170 { echo "$as_me:$LINENO: result: $ac_res" >&5
39171 echo "${ECHO_T}$ac_res" >&6; }
39173 if eval test \$wx_cv_func_$wx_func = yes
39175 cat >>confdefs.h <<_ACEOF
39176 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39186 if test "$wx_cv_func_uname" != yes; then
39188 for wx_func in gethostname
39190 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39191 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39192 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39193 echo $ECHO_N "(cached) $ECHO_C" >&6
39196 cat >conftest.$ac_ext <<_ACEOF
39200 cat confdefs.h >>conftest.$ac_ext
39201 cat >>conftest.$ac_ext <<_ACEOF
39202 /* end confdefs.h. */
39205 $ac_includes_default
39221 rm -f conftest.$ac_objext conftest$ac_exeext
39222 if { (ac_try="$ac_link"
39223 case "(($ac_try" in
39224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39225 *) ac_try_echo=$ac_try;;
39227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39228 (eval "$ac_link") 2>conftest.er1
39230 grep -v '^ *+' conftest.er1 >conftest.err
39232 cat conftest.err >&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); } && {
39235 test -z "$ac_c_werror_flag" ||
39236 test ! -s conftest.err
39237 } && test -s conftest$ac_exeext &&
39238 $as_test_x conftest$ac_exeext; then
39239 eval wx_cv_func_$wx_func=yes
39241 echo "$as_me: failed program was:" >&5
39242 sed 's/^/| /' conftest.$ac_ext >&5
39244 eval wx_cv_func_$wx_func=no
39247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39248 conftest$ac_exeext conftest.$ac_ext
39251 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39252 { echo "$as_me:$LINENO: result: $ac_res" >&5
39253 echo "${ECHO_T}$ac_res" >&6; }
39255 if eval test \$wx_cv_func_$wx_func = yes
39257 cat >>confdefs.h <<_ACEOF
39258 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39271 for wx_func in strtok_r
39273 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39274 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39275 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39276 echo $ECHO_N "(cached) $ECHO_C" >&6
39279 cat >conftest.$ac_ext <<_ACEOF
39283 cat confdefs.h >>conftest.$ac_ext
39284 cat >>conftest.$ac_ext <<_ACEOF
39285 /* end confdefs.h. */
39288 $ac_includes_default
39304 rm -f conftest.$ac_objext conftest$ac_exeext
39305 if { (ac_try="$ac_link"
39306 case "(($ac_try" in
39307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39308 *) ac_try_echo=$ac_try;;
39310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39311 (eval "$ac_link") 2>conftest.er1
39313 grep -v '^ *+' conftest.er1 >conftest.err
39315 cat conftest.err >&5
39316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39317 (exit $ac_status); } && {
39318 test -z "$ac_c_werror_flag" ||
39319 test ! -s conftest.err
39320 } && test -s conftest$ac_exeext &&
39321 $as_test_x conftest$ac_exeext; then
39322 eval wx_cv_func_$wx_func=yes
39324 echo "$as_me: failed program was:" >&5
39325 sed 's/^/| /' conftest.$ac_ext >&5
39327 eval wx_cv_func_$wx_func=no
39330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39331 conftest$ac_exeext conftest.$ac_ext
39334 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39335 { echo "$as_me:$LINENO: result: $ac_res" >&5
39336 echo "${ECHO_T}$ac_res" >&6; }
39338 if eval test \$wx_cv_func_$wx_func = yes
39340 cat >>confdefs.h <<_ACEOF
39341 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39354 for ac_func in inet_addr
39356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39360 echo $ECHO_N "(cached) $ECHO_C" >&6
39362 cat >conftest.$ac_ext <<_ACEOF
39365 cat confdefs.h >>conftest.$ac_ext
39366 cat >>conftest.$ac_ext <<_ACEOF
39367 /* end confdefs.h. */
39368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39370 #define $ac_func innocuous_$ac_func
39372 /* System header to define __stub macros and hopefully few prototypes,
39373 which can conflict with char $ac_func (); below.
39374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39375 <limits.h> exists even on freestanding compilers. */
39378 # include <limits.h>
39380 # include <assert.h>
39385 /* Override any GCC internal prototype to avoid an error.
39386 Use char because int might match the return type of a GCC
39387 builtin and then its argument prototype would still apply. */
39392 /* The GNU C library defines this for functions which it implements
39393 to always fail with ENOSYS. Some functions are actually named
39394 something starting with __ and the normal name is an alias. */
39395 #if defined __stub_$ac_func || defined __stub___$ac_func
39402 return $ac_func ();
39407 rm -f conftest.$ac_objext conftest$ac_exeext
39408 if { (ac_try="$ac_link"
39409 case "(($ac_try" in
39410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39411 *) ac_try_echo=$ac_try;;
39413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39414 (eval "$ac_link") 2>conftest.er1
39416 grep -v '^ *+' conftest.er1 >conftest.err
39418 cat conftest.err >&5
39419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420 (exit $ac_status); } && {
39421 test -z "$ac_c_werror_flag" ||
39422 test ! -s conftest.err
39423 } && test -s conftest$ac_exeext &&
39424 $as_test_x conftest$ac_exeext; then
39425 eval "$as_ac_var=yes"
39427 echo "$as_me: failed program was:" >&5
39428 sed 's/^/| /' conftest.$ac_ext >&5
39430 eval "$as_ac_var=no"
39433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39434 conftest$ac_exeext conftest.$ac_ext
39436 ac_res=`eval echo '${'$as_ac_var'}'`
39437 { echo "$as_me:$LINENO: result: $ac_res" >&5
39438 echo "${ECHO_T}$ac_res" >&6; }
39439 if test `eval echo '${'$as_ac_var'}'` = yes; then
39440 cat >>confdefs.h <<_ACEOF
39441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39443 cat >>confdefs.h <<\_ACEOF
39444 #define HAVE_INET_ADDR 1
39449 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39450 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39451 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39452 echo $ECHO_N "(cached) $ECHO_C" >&6
39454 ac_check_lib_save_LIBS=$LIBS
39456 cat >conftest.$ac_ext <<_ACEOF
39459 cat confdefs.h >>conftest.$ac_ext
39460 cat >>conftest.$ac_ext <<_ACEOF
39461 /* end confdefs.h. */
39463 /* Override any GCC internal prototype to avoid an error.
39464 Use char because int might match the return type of a GCC
39465 builtin and then its argument prototype would still apply. */
39473 return inet_addr ();
39478 rm -f conftest.$ac_objext conftest$ac_exeext
39479 if { (ac_try="$ac_link"
39480 case "(($ac_try" in
39481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39482 *) ac_try_echo=$ac_try;;
39484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39485 (eval "$ac_link") 2>conftest.er1
39487 grep -v '^ *+' conftest.er1 >conftest.err
39489 cat conftest.err >&5
39490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39491 (exit $ac_status); } && {
39492 test -z "$ac_c_werror_flag" ||
39493 test ! -s conftest.err
39494 } && test -s conftest$ac_exeext &&
39495 $as_test_x conftest$ac_exeext; then
39496 ac_cv_lib_nsl_inet_addr=yes
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39501 ac_cv_lib_nsl_inet_addr=no
39504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39505 conftest$ac_exeext conftest.$ac_ext
39506 LIBS=$ac_check_lib_save_LIBS
39508 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39509 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39510 if test $ac_cv_lib_nsl_inet_addr = yes; then
39514 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39515 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39516 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39517 echo $ECHO_N "(cached) $ECHO_C" >&6
39519 ac_check_lib_save_LIBS=$LIBS
39520 LIBS="-lresolv $LIBS"
39521 cat >conftest.$ac_ext <<_ACEOF
39524 cat confdefs.h >>conftest.$ac_ext
39525 cat >>conftest.$ac_ext <<_ACEOF
39526 /* end confdefs.h. */
39528 /* Override any GCC internal prototype to avoid an error.
39529 Use char because int might match the return type of a GCC
39530 builtin and then its argument prototype would still apply. */
39538 return inet_addr ();
39543 rm -f conftest.$ac_objext conftest$ac_exeext
39544 if { (ac_try="$ac_link"
39545 case "(($ac_try" in
39546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39547 *) ac_try_echo=$ac_try;;
39549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39550 (eval "$ac_link") 2>conftest.er1
39552 grep -v '^ *+' conftest.er1 >conftest.err
39554 cat conftest.err >&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); } && {
39557 test -z "$ac_c_werror_flag" ||
39558 test ! -s conftest.err
39559 } && test -s conftest$ac_exeext &&
39560 $as_test_x conftest$ac_exeext; then
39561 ac_cv_lib_resolv_inet_addr=yes
39563 echo "$as_me: failed program was:" >&5
39564 sed 's/^/| /' conftest.$ac_ext >&5
39566 ac_cv_lib_resolv_inet_addr=no
39569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39570 conftest$ac_exeext conftest.$ac_ext
39571 LIBS=$ac_check_lib_save_LIBS
39573 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39574 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39575 if test $ac_cv_lib_resolv_inet_addr = yes; then
39579 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39580 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39581 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39582 echo $ECHO_N "(cached) $ECHO_C" >&6
39584 ac_check_lib_save_LIBS=$LIBS
39585 LIBS="-lsocket $LIBS"
39586 cat >conftest.$ac_ext <<_ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39593 /* Override any GCC internal prototype to avoid an error.
39594 Use char because int might match the return type of a GCC
39595 builtin and then its argument prototype would still apply. */
39603 return inet_addr ();
39608 rm -f conftest.$ac_objext conftest$ac_exeext
39609 if { (ac_try="$ac_link"
39610 case "(($ac_try" in
39611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39612 *) ac_try_echo=$ac_try;;
39614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39615 (eval "$ac_link") 2>conftest.er1
39617 grep -v '^ *+' conftest.er1 >conftest.err
39619 cat conftest.err >&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } && {
39622 test -z "$ac_c_werror_flag" ||
39623 test ! -s conftest.err
39624 } && test -s conftest$ac_exeext &&
39625 $as_test_x conftest$ac_exeext; then
39626 ac_cv_lib_socket_inet_addr=yes
39628 echo "$as_me: failed program was:" >&5
39629 sed 's/^/| /' conftest.$ac_ext >&5
39631 ac_cv_lib_socket_inet_addr=no
39634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39635 conftest$ac_exeext conftest.$ac_ext
39636 LIBS=$ac_check_lib_save_LIBS
39638 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39639 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39640 if test $ac_cv_lib_socket_inet_addr = yes; then
39660 for ac_func in inet_aton
39662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39663 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39665 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39666 echo $ECHO_N "(cached) $ECHO_C" >&6
39668 cat >conftest.$ac_ext <<_ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39676 #define $ac_func innocuous_$ac_func
39678 /* System header to define __stub macros and hopefully few prototypes,
39679 which can conflict with char $ac_func (); below.
39680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39681 <limits.h> exists even on freestanding compilers. */
39684 # include <limits.h>
39686 # include <assert.h>
39691 /* Override any GCC internal prototype to avoid an error.
39692 Use char because int might match the return type of a GCC
39693 builtin and then its argument prototype would still apply. */
39698 /* The GNU C library defines this for functions which it implements
39699 to always fail with ENOSYS. Some functions are actually named
39700 something starting with __ and the normal name is an alias. */
39701 #if defined __stub_$ac_func || defined __stub___$ac_func
39708 return $ac_func ();
39713 rm -f conftest.$ac_objext conftest$ac_exeext
39714 if { (ac_try="$ac_link"
39715 case "(($ac_try" in
39716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39717 *) ac_try_echo=$ac_try;;
39719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39720 (eval "$ac_link") 2>conftest.er1
39722 grep -v '^ *+' conftest.er1 >conftest.err
39724 cat conftest.err >&5
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); } && {
39727 test -z "$ac_c_werror_flag" ||
39728 test ! -s conftest.err
39729 } && test -s conftest$ac_exeext &&
39730 $as_test_x conftest$ac_exeext; then
39731 eval "$as_ac_var=yes"
39733 echo "$as_me: failed program was:" >&5
39734 sed 's/^/| /' conftest.$ac_ext >&5
39736 eval "$as_ac_var=no"
39739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39740 conftest$ac_exeext conftest.$ac_ext
39742 ac_res=`eval echo '${'$as_ac_var'}'`
39743 { echo "$as_me:$LINENO: result: $ac_res" >&5
39744 echo "${ECHO_T}$ac_res" >&6; }
39745 if test `eval echo '${'$as_ac_var'}'` = yes; then
39746 cat >>confdefs.h <<_ACEOF
39747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39749 cat >>confdefs.h <<\_ACEOF
39750 #define HAVE_INET_ATON 1
39755 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39756 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39757 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39758 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39759 echo $ECHO_N "(cached) $ECHO_C" >&6
39761 ac_check_lib_save_LIBS=$LIBS
39762 LIBS="-l$INET_LINK $LIBS"
39763 cat >conftest.$ac_ext <<_ACEOF
39766 cat confdefs.h >>conftest.$ac_ext
39767 cat >>conftest.$ac_ext <<_ACEOF
39768 /* end confdefs.h. */
39770 /* Override any GCC internal prototype to avoid an error.
39771 Use char because int might match the return type of a GCC
39772 builtin and then its argument prototype would still apply. */
39780 return inet_aton ();
39785 rm -f conftest.$ac_objext conftest$ac_exeext
39786 if { (ac_try="$ac_link"
39787 case "(($ac_try" in
39788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39789 *) ac_try_echo=$ac_try;;
39791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39792 (eval "$ac_link") 2>conftest.er1
39794 grep -v '^ *+' conftest.er1 >conftest.err
39796 cat conftest.err >&5
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); } && {
39799 test -z "$ac_c_werror_flag" ||
39800 test ! -s conftest.err
39801 } && test -s conftest$ac_exeext &&
39802 $as_test_x conftest$ac_exeext; then
39803 eval "$as_ac_Lib=yes"
39805 echo "$as_me: failed program was:" >&5
39806 sed 's/^/| /' conftest.$ac_ext >&5
39808 eval "$as_ac_Lib=no"
39811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39812 conftest$ac_exeext conftest.$ac_ext
39813 LIBS=$ac_check_lib_save_LIBS
39815 ac_res=`eval echo '${'$as_ac_Lib'}'`
39816 { echo "$as_me:$LINENO: result: $ac_res" >&5
39817 echo "${ECHO_T}$ac_res" >&6; }
39818 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39819 cat >>confdefs.h <<\_ACEOF
39820 #define HAVE_INET_ATON 1
39830 if test "x$INET_LINK" != "x"; then
39831 cat >>confdefs.h <<\_ACEOF
39832 #define HAVE_INET_ADDR 1
39835 INET_LINK=" -l$INET_LINK"
39839 for wx_func in fdopen
39841 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39842 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39843 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39844 echo $ECHO_N "(cached) $ECHO_C" >&6
39847 cat >conftest.$ac_ext <<_ACEOF
39851 cat confdefs.h >>conftest.$ac_ext
39852 cat >>conftest.$ac_ext <<_ACEOF
39853 /* end confdefs.h. */
39856 $ac_includes_default
39872 rm -f conftest.$ac_objext conftest$ac_exeext
39873 if { (ac_try="$ac_link"
39874 case "(($ac_try" in
39875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39876 *) ac_try_echo=$ac_try;;
39878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39879 (eval "$ac_link") 2>conftest.er1
39881 grep -v '^ *+' conftest.er1 >conftest.err
39883 cat conftest.err >&5
39884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885 (exit $ac_status); } && {
39886 test -z "$ac_c_werror_flag" ||
39887 test ! -s conftest.err
39888 } && test -s conftest$ac_exeext &&
39889 $as_test_x conftest$ac_exeext; then
39890 eval wx_cv_func_$wx_func=yes
39892 echo "$as_me: failed program was:" >&5
39893 sed 's/^/| /' conftest.$ac_ext >&5
39895 eval wx_cv_func_$wx_func=no
39898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39899 conftest$ac_exeext conftest.$ac_ext
39902 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39903 { echo "$as_me:$LINENO: result: $ac_res" >&5
39904 echo "${ECHO_T}$ac_res" >&6; }
39906 if eval test \$wx_cv_func_$wx_func = yes
39908 cat >>confdefs.h <<_ACEOF
39909 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39920 if test "$wxUSE_TARSTREAM" = "yes"; then
39922 for wx_func in sysconf
39924 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39925 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39926 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39927 echo $ECHO_N "(cached) $ECHO_C" >&6
39930 cat >conftest.$ac_ext <<_ACEOF
39934 cat confdefs.h >>conftest.$ac_ext
39935 cat >>conftest.$ac_ext <<_ACEOF
39936 /* end confdefs.h. */
39939 $ac_includes_default
39955 rm -f conftest.$ac_objext conftest$ac_exeext
39956 if { (ac_try="$ac_link"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39959 *) ac_try_echo=$ac_try;;
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_link") 2>conftest.er1
39964 grep -v '^ *+' conftest.er1 >conftest.err
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } && {
39969 test -z "$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39971 } && test -s conftest$ac_exeext &&
39972 $as_test_x conftest$ac_exeext; then
39973 eval wx_cv_func_$wx_func=yes
39975 echo "$as_me: failed program was:" >&5
39976 sed 's/^/| /' conftest.$ac_ext >&5
39978 eval wx_cv_func_$wx_func=no
39981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39982 conftest$ac_exeext conftest.$ac_ext
39985 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39986 { echo "$as_me:$LINENO: result: $ac_res" >&5
39987 echo "${ECHO_T}$ac_res" >&6; }
39989 if eval test \$wx_cv_func_$wx_func = yes
39991 cat >>confdefs.h <<_ACEOF
39992 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40004 for wx_func in getpwuid_r
40006 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40007 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40008 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40009 echo $ECHO_N "(cached) $ECHO_C" >&6
40012 cat >conftest.$ac_ext <<_ACEOF
40016 cat confdefs.h >>conftest.$ac_ext
40017 cat >>conftest.$ac_ext <<_ACEOF
40018 /* end confdefs.h. */
40024 $ac_includes_default
40034 struct passwd pw, *ppw;
40036 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40044 rm -f conftest.$ac_objext conftest$ac_exeext
40045 if { (ac_try="$ac_link"
40046 case "(($ac_try" in
40047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40048 *) ac_try_echo=$ac_try;;
40050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40051 (eval "$ac_link") 2>conftest.er1
40053 grep -v '^ *+' conftest.er1 >conftest.err
40055 cat conftest.err >&5
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); } && {
40058 test -z "$ac_c_werror_flag" ||
40059 test ! -s conftest.err
40060 } && test -s conftest$ac_exeext &&
40061 $as_test_x conftest$ac_exeext; then
40062 eval wx_cv_func_$wx_func=yes
40064 echo "$as_me: failed program was:" >&5
40065 sed 's/^/| /' conftest.$ac_ext >&5
40067 eval wx_cv_func_$wx_func=no
40070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40071 conftest$ac_exeext conftest.$ac_ext
40074 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40075 { echo "$as_me:$LINENO: result: $ac_res" >&5
40076 echo "${ECHO_T}$ac_res" >&6; }
40078 if eval test \$wx_cv_func_$wx_func = yes
40080 cat >>confdefs.h <<_ACEOF
40081 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40093 for wx_func in getgrgid_r
40095 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40096 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40097 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40098 echo $ECHO_N "(cached) $ECHO_C" >&6
40101 cat >conftest.$ac_ext <<_ACEOF
40105 cat confdefs.h >>conftest.$ac_ext
40106 cat >>conftest.$ac_ext <<_ACEOF
40107 /* end confdefs.h. */
40113 $ac_includes_default
40123 struct group grp, *pgrp;
40125 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40133 rm -f conftest.$ac_objext conftest$ac_exeext
40134 if { (ac_try="$ac_link"
40135 case "(($ac_try" in
40136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40137 *) ac_try_echo=$ac_try;;
40139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40140 (eval "$ac_link") 2>conftest.er1
40142 grep -v '^ *+' conftest.er1 >conftest.err
40144 cat conftest.err >&5
40145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40146 (exit $ac_status); } && {
40147 test -z "$ac_c_werror_flag" ||
40148 test ! -s conftest.err
40149 } && test -s conftest$ac_exeext &&
40150 $as_test_x conftest$ac_exeext; then
40151 eval wx_cv_func_$wx_func=yes
40153 echo "$as_me: failed program was:" >&5
40154 sed 's/^/| /' conftest.$ac_ext >&5
40156 eval wx_cv_func_$wx_func=no
40159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40160 conftest$ac_exeext conftest.$ac_ext
40163 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40164 { echo "$as_me:$LINENO: result: $ac_res" >&5
40165 echo "${ECHO_T}$ac_res" >&6; }
40167 if eval test \$wx_cv_func_$wx_func = yes
40169 cat >>confdefs.h <<_ACEOF
40170 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40186 cat >confcache <<\_ACEOF
40187 # This file is a shell script that caches the results of configure
40188 # tests run on this system so they can be shared between configure
40189 # scripts and configure runs, see configure's option --config-cache.
40190 # It is not useful on other systems. If it contains results you don't
40191 # want to keep, you may remove or edit it.
40193 # config.status only pays attention to the cache file if you give it
40194 # the --recheck option to rerun configure.
40196 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40197 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40198 # following values.
40202 # The following way of writing the cache mishandles newlines in values,
40203 # but we know of no workaround that is simple, portable, and efficient.
40204 # So, we kill variables containing newlines.
40205 # Ultrix sh set writes to stderr and can't be redirected directly,
40206 # and sets the high bit in the cache file unless we assign to the vars.
40208 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40209 eval ac_val=\$$ac_var
40213 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40214 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40217 _ | IFS | as_nl) ;; #(
40218 *) $as_unset $ac_var ;;
40224 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40225 *${as_nl}ac_space=\ *)
40226 # `set' does not quote correctly, so add quotes (double-quote
40227 # substitution turns \\\\ into \\, and sed turns \\ into \).
40230 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40233 # `set' quotes correctly as required by POSIX, so do not add quotes.
40234 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40243 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40245 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40247 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40248 if test -w "$cache_file"; then
40249 test "x$cache_file" != "x/dev/null" &&
40250 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40251 echo "$as_me: updating cache $cache_file" >&6;}
40252 cat confcache >$cache_file
40254 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40255 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40261 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40267 if test "$wxUSE_THREADS" = "yes" ; then
40268 if test "$USE_BEOS" = 1; then
40269 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40270 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40275 if test "$wxUSE_THREADS" = "yes" ; then
40278 THREAD_OPTS="-pthread"
40279 if test "x$SUNCXX" = xyes; then
40280 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40284 *-*-solaris2* | *-*-sunos4* )
40285 if test "x$GCC" = "xyes"; then
40286 THREAD_OPTS="-pthreads $THREAD_OPTS"
40290 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40292 *-*-darwin* | *-*-cygwin* )
40296 THREAD_OPTS="pthreads"
40299 if test "x$GCC" = "xyes"; then
40300 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40308 if test "x$GCC" = "xyes"; then
40318 if test "x$GCC" != "xyes"; then
40319 THREAD_OPTS="-Ethread"
40326 THREAD_OPTS="none pthread"
40330 THREAD_OPTS="$THREAD_OPTS pthread none"
40335 for flag in $THREAD_OPTS; do
40338 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40339 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40343 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40344 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40345 THREADS_CFLAGS="$flag"
40349 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40350 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40351 THREADS_LINK="-l$flag"
40356 save_CFLAGS="$CFLAGS"
40357 LIBS="$THREADS_LINK $LIBS"
40358 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40360 cat >conftest.$ac_ext <<_ACEOF
40363 cat confdefs.h >>conftest.$ac_ext
40364 cat >>conftest.$ac_ext <<_ACEOF
40365 /* end confdefs.h. */
40366 #include <pthread.h>
40370 pthread_create(0,0,0,0);
40375 rm -f conftest.$ac_objext conftest$ac_exeext
40376 if { (ac_try="$ac_link"
40377 case "(($ac_try" in
40378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40379 *) ac_try_echo=$ac_try;;
40381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40382 (eval "$ac_link") 2>conftest.er1
40384 grep -v '^ *+' conftest.er1 >conftest.err
40386 cat conftest.err >&5
40387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40388 (exit $ac_status); } && {
40389 test -z "$ac_c_werror_flag" ||
40390 test ! -s conftest.err
40391 } && test -s conftest$ac_exeext &&
40392 $as_test_x conftest$ac_exeext; then
40395 echo "$as_me: failed program was:" >&5
40396 sed 's/^/| /' conftest.$ac_ext >&5
40401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40402 conftest$ac_exeext conftest.$ac_ext
40405 CFLAGS="$save_CFLAGS"
40407 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40408 echo "${ECHO_T}$THREADS_OK" >&6; }
40409 if test "x$THREADS_OK" = "xyes"; then
40417 if test "x$THREADS_OK" != "xyes"; then
40419 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40420 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40422 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40423 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40424 LIBS="$THREADS_LINK $LIBS"
40426 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40427 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40431 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40432 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40433 flag="-D_THREAD_SAFE"
40436 flag="-D_THREAD_SAFE"
40439 flag="-D_REENTRANT"
40440 if test "x$GCC" != "xyes"; then
40441 flag="$flag -D_RWSTD_MULTI_THREAD"
40444 *solaris* | alpha*-osf*)
40445 flag="-D_REENTRANT"
40448 { echo "$as_me:$LINENO: result: ${flag}" >&5
40449 echo "${ECHO_T}${flag}" >&6; }
40450 if test "x$flag" != xno; then
40451 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40454 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40458 if test "$wxUSE_THREADS" = "yes" ; then
40460 for ac_func in thr_setconcurrency
40462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40463 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40465 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40466 echo $ECHO_N "(cached) $ECHO_C" >&6
40468 cat >conftest.$ac_ext <<_ACEOF
40471 cat confdefs.h >>conftest.$ac_ext
40472 cat >>conftest.$ac_ext <<_ACEOF
40473 /* end confdefs.h. */
40474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40476 #define $ac_func innocuous_$ac_func
40478 /* System header to define __stub macros and hopefully few prototypes,
40479 which can conflict with char $ac_func (); below.
40480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40481 <limits.h> exists even on freestanding compilers. */
40484 # include <limits.h>
40486 # include <assert.h>
40491 /* Override any GCC internal prototype to avoid an error.
40492 Use char because int might match the return type of a GCC
40493 builtin and then its argument prototype would still apply. */
40498 /* The GNU C library defines this for functions which it implements
40499 to always fail with ENOSYS. Some functions are actually named
40500 something starting with __ and the normal name is an alias. */
40501 #if defined __stub_$ac_func || defined __stub___$ac_func
40508 return $ac_func ();
40513 rm -f conftest.$ac_objext conftest$ac_exeext
40514 if { (ac_try="$ac_link"
40515 case "(($ac_try" in
40516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40517 *) ac_try_echo=$ac_try;;
40519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40520 (eval "$ac_link") 2>conftest.er1
40522 grep -v '^ *+' conftest.er1 >conftest.err
40524 cat conftest.err >&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); } && {
40527 test -z "$ac_c_werror_flag" ||
40528 test ! -s conftest.err
40529 } && test -s conftest$ac_exeext &&
40530 $as_test_x conftest$ac_exeext; then
40531 eval "$as_ac_var=yes"
40533 echo "$as_me: failed program was:" >&5
40534 sed 's/^/| /' conftest.$ac_ext >&5
40536 eval "$as_ac_var=no"
40539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40540 conftest$ac_exeext conftest.$ac_ext
40542 ac_res=`eval echo '${'$as_ac_var'}'`
40543 { echo "$as_me:$LINENO: result: $ac_res" >&5
40544 echo "${ECHO_T}$ac_res" >&6; }
40545 if test `eval echo '${'$as_ac_var'}'` = yes; then
40546 cat >>confdefs.h <<_ACEOF
40547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40554 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40555 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40556 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40557 echo $ECHO_N "(cached) $ECHO_C" >&6
40561 ac_cpp='$CXXCPP $CPPFLAGS'
40562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40566 cat >conftest.$ac_ext <<_ACEOF
40569 cat confdefs.h >>conftest.$ac_ext
40570 cat >>conftest.$ac_ext <<_ACEOF
40571 /* end confdefs.h. */
40572 #include <pthread.h>
40573 void ThreadCleanupFunc(void *p);
40580 pthread_cleanup_push(ThreadCleanupFunc, p);
40581 pthread_cleanup_pop(0);
40587 rm -f conftest.$ac_objext
40588 if { (ac_try="$ac_compile"
40589 case "(($ac_try" in
40590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40591 *) ac_try_echo=$ac_try;;
40593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40594 (eval "$ac_compile") 2>conftest.er1
40596 grep -v '^ *+' conftest.er1 >conftest.err
40598 cat conftest.err >&5
40599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40600 (exit $ac_status); } && {
40601 test -z "$ac_cxx_werror_flag" ||
40602 test ! -s conftest.err
40603 } && test -s conftest.$ac_objext; then
40605 wx_cv_func_pthread_cleanup=yes
40608 echo "$as_me: failed program was:" >&5
40609 sed 's/^/| /' conftest.$ac_ext >&5
40612 wx_cv_func_pthread_cleanup=no
40617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40619 ac_cpp='$CPP $CPPFLAGS'
40620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40626 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40627 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40628 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40629 cat >>confdefs.h <<\_ACEOF
40630 #define wxHAVE_PTHREAD_CLEANUP 1
40636 for ac_header in sched.h
40638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40642 echo $ECHO_N "(cached) $ECHO_C" >&6
40644 cat >conftest.$ac_ext <<_ACEOF
40647 cat confdefs.h >>conftest.$ac_ext
40648 cat >>conftest.$ac_ext <<_ACEOF
40649 /* end confdefs.h. */
40650 $ac_includes_default
40652 #include <$ac_header>
40654 rm -f conftest.$ac_objext
40655 if { (ac_try="$ac_compile"
40656 case "(($ac_try" in
40657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40658 *) ac_try_echo=$ac_try;;
40660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40661 (eval "$ac_compile") 2>conftest.er1
40663 grep -v '^ *+' conftest.er1 >conftest.err
40665 cat conftest.err >&5
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); } && {
40668 test -z "$ac_c_werror_flag" ||
40669 test ! -s conftest.err
40670 } && test -s conftest.$ac_objext; then
40671 eval "$as_ac_Header=yes"
40673 echo "$as_me: failed program was:" >&5
40674 sed 's/^/| /' conftest.$ac_ext >&5
40676 eval "$as_ac_Header=no"
40679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40681 ac_res=`eval echo '${'$as_ac_Header'}'`
40682 { echo "$as_me:$LINENO: result: $ac_res" >&5
40683 echo "${ECHO_T}$ac_res" >&6; }
40684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40685 cat >>confdefs.h <<_ACEOF
40686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40693 if test "$ac_cv_header_sched_h" = "yes"; then
40694 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40695 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40696 if test "${ac_cv_func_sched_yield+set}" = set; then
40697 echo $ECHO_N "(cached) $ECHO_C" >&6
40699 cat >conftest.$ac_ext <<_ACEOF
40702 cat confdefs.h >>conftest.$ac_ext
40703 cat >>conftest.$ac_ext <<_ACEOF
40704 /* end confdefs.h. */
40705 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40707 #define sched_yield innocuous_sched_yield
40709 /* System header to define __stub macros and hopefully few prototypes,
40710 which can conflict with char sched_yield (); below.
40711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40712 <limits.h> exists even on freestanding compilers. */
40715 # include <limits.h>
40717 # include <assert.h>
40722 /* Override any GCC internal prototype to avoid an error.
40723 Use char because int might match the return type of a GCC
40724 builtin and then its argument prototype would still apply. */
40728 char sched_yield ();
40729 /* The GNU C library defines this for functions which it implements
40730 to always fail with ENOSYS. Some functions are actually named
40731 something starting with __ and the normal name is an alias. */
40732 #if defined __stub_sched_yield || defined __stub___sched_yield
40739 return sched_yield ();
40744 rm -f conftest.$ac_objext conftest$ac_exeext
40745 if { (ac_try="$ac_link"
40746 case "(($ac_try" in
40747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40748 *) ac_try_echo=$ac_try;;
40750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40751 (eval "$ac_link") 2>conftest.er1
40753 grep -v '^ *+' conftest.er1 >conftest.err
40755 cat conftest.err >&5
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); } && {
40758 test -z "$ac_c_werror_flag" ||
40759 test ! -s conftest.err
40760 } && test -s conftest$ac_exeext &&
40761 $as_test_x conftest$ac_exeext; then
40762 ac_cv_func_sched_yield=yes
40764 echo "$as_me: failed program was:" >&5
40765 sed 's/^/| /' conftest.$ac_ext >&5
40767 ac_cv_func_sched_yield=no
40770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40771 conftest$ac_exeext conftest.$ac_ext
40773 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40774 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40775 if test $ac_cv_func_sched_yield = yes; then
40776 cat >>confdefs.h <<\_ACEOF
40777 #define HAVE_SCHED_YIELD 1
40782 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40783 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40784 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40785 echo $ECHO_N "(cached) $ECHO_C" >&6
40787 ac_check_lib_save_LIBS=$LIBS
40788 LIBS="-lposix4 $LIBS"
40789 cat >conftest.$ac_ext <<_ACEOF
40792 cat confdefs.h >>conftest.$ac_ext
40793 cat >>conftest.$ac_ext <<_ACEOF
40794 /* end confdefs.h. */
40796 /* Override any GCC internal prototype to avoid an error.
40797 Use char because int might match the return type of a GCC
40798 builtin and then its argument prototype would still apply. */
40802 char sched_yield ();
40806 return sched_yield ();
40811 rm -f conftest.$ac_objext conftest$ac_exeext
40812 if { (ac_try="$ac_link"
40813 case "(($ac_try" in
40814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40815 *) ac_try_echo=$ac_try;;
40817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40818 (eval "$ac_link") 2>conftest.er1
40820 grep -v '^ *+' conftest.er1 >conftest.err
40822 cat conftest.err >&5
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); } && {
40825 test -z "$ac_c_werror_flag" ||
40826 test ! -s conftest.err
40827 } && test -s conftest$ac_exeext &&
40828 $as_test_x conftest$ac_exeext; then
40829 ac_cv_lib_posix4_sched_yield=yes
40831 echo "$as_me: failed program was:" >&5
40832 sed 's/^/| /' conftest.$ac_ext >&5
40834 ac_cv_lib_posix4_sched_yield=no
40837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40838 conftest$ac_exeext conftest.$ac_ext
40839 LIBS=$ac_check_lib_save_LIBS
40841 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40842 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40843 if test $ac_cv_lib_posix4_sched_yield = yes; then
40844 cat >>confdefs.h <<\_ACEOF
40845 #define HAVE_SCHED_YIELD 1
40847 POSIX4_LINK=" -lposix4"
40849 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40850 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40861 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40862 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40863 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40864 echo $ECHO_N "(cached) $ECHO_C" >&6
40866 cat >conftest.$ac_ext <<_ACEOF
40869 cat confdefs.h >>conftest.$ac_ext
40870 cat >>conftest.$ac_ext <<_ACEOF
40871 /* end confdefs.h. */
40872 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40874 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40876 /* System header to define __stub macros and hopefully few prototypes,
40877 which can conflict with char pthread_attr_getschedpolicy (); below.
40878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40879 <limits.h> exists even on freestanding compilers. */
40882 # include <limits.h>
40884 # include <assert.h>
40887 #undef pthread_attr_getschedpolicy
40889 /* Override any GCC internal prototype to avoid an error.
40890 Use char because int might match the return type of a GCC
40891 builtin and then its argument prototype would still apply. */
40895 char pthread_attr_getschedpolicy ();
40896 /* The GNU C library defines this for functions which it implements
40897 to always fail with ENOSYS. Some functions are actually named
40898 something starting with __ and the normal name is an alias. */
40899 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40906 return pthread_attr_getschedpolicy ();
40911 rm -f conftest.$ac_objext conftest$ac_exeext
40912 if { (ac_try="$ac_link"
40913 case "(($ac_try" in
40914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40915 *) ac_try_echo=$ac_try;;
40917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40918 (eval "$ac_link") 2>conftest.er1
40920 grep -v '^ *+' conftest.er1 >conftest.err
40922 cat conftest.err >&5
40923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40924 (exit $ac_status); } && {
40925 test -z "$ac_c_werror_flag" ||
40926 test ! -s conftest.err
40927 } && test -s conftest$ac_exeext &&
40928 $as_test_x conftest$ac_exeext; then
40929 ac_cv_func_pthread_attr_getschedpolicy=yes
40931 echo "$as_me: failed program was:" >&5
40932 sed 's/^/| /' conftest.$ac_ext >&5
40934 ac_cv_func_pthread_attr_getschedpolicy=no
40937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40938 conftest$ac_exeext conftest.$ac_ext
40940 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40941 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40942 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40943 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40944 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40945 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40946 echo $ECHO_N "(cached) $ECHO_C" >&6
40948 cat >conftest.$ac_ext <<_ACEOF
40951 cat confdefs.h >>conftest.$ac_ext
40952 cat >>conftest.$ac_ext <<_ACEOF
40953 /* end confdefs.h. */
40954 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40956 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40958 /* System header to define __stub macros and hopefully few prototypes,
40959 which can conflict with char pthread_attr_setschedparam (); below.
40960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40961 <limits.h> exists even on freestanding compilers. */
40964 # include <limits.h>
40966 # include <assert.h>
40969 #undef pthread_attr_setschedparam
40971 /* Override any GCC internal prototype to avoid an error.
40972 Use char because int might match the return type of a GCC
40973 builtin and then its argument prototype would still apply. */
40977 char pthread_attr_setschedparam ();
40978 /* The GNU C library defines this for functions which it implements
40979 to always fail with ENOSYS. Some functions are actually named
40980 something starting with __ and the normal name is an alias. */
40981 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40988 return pthread_attr_setschedparam ();
40993 rm -f conftest.$ac_objext conftest$ac_exeext
40994 if { (ac_try="$ac_link"
40995 case "(($ac_try" in
40996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40997 *) ac_try_echo=$ac_try;;
40999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41000 (eval "$ac_link") 2>conftest.er1
41002 grep -v '^ *+' conftest.er1 >conftest.err
41004 cat conftest.err >&5
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); } && {
41007 test -z "$ac_c_werror_flag" ||
41008 test ! -s conftest.err
41009 } && test -s conftest$ac_exeext &&
41010 $as_test_x conftest$ac_exeext; then
41011 ac_cv_func_pthread_attr_setschedparam=yes
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41016 ac_cv_func_pthread_attr_setschedparam=no
41019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41020 conftest$ac_exeext conftest.$ac_ext
41022 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41023 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41024 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41025 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41026 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41027 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41028 echo $ECHO_N "(cached) $ECHO_C" >&6
41030 cat >conftest.$ac_ext <<_ACEOF
41033 cat confdefs.h >>conftest.$ac_ext
41034 cat >>conftest.$ac_ext <<_ACEOF
41035 /* end confdefs.h. */
41036 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41038 #define sched_get_priority_max innocuous_sched_get_priority_max
41040 /* System header to define __stub macros and hopefully few prototypes,
41041 which can conflict with char sched_get_priority_max (); below.
41042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41043 <limits.h> exists even on freestanding compilers. */
41046 # include <limits.h>
41048 # include <assert.h>
41051 #undef sched_get_priority_max
41053 /* Override any GCC internal prototype to avoid an error.
41054 Use char because int might match the return type of a GCC
41055 builtin and then its argument prototype would still apply. */
41059 char sched_get_priority_max ();
41060 /* The GNU C library defines this for functions which it implements
41061 to always fail with ENOSYS. Some functions are actually named
41062 something starting with __ and the normal name is an alias. */
41063 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41070 return sched_get_priority_max ();
41075 rm -f conftest.$ac_objext conftest$ac_exeext
41076 if { (ac_try="$ac_link"
41077 case "(($ac_try" in
41078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41079 *) ac_try_echo=$ac_try;;
41081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41082 (eval "$ac_link") 2>conftest.er1
41084 grep -v '^ *+' conftest.er1 >conftest.err
41086 cat conftest.err >&5
41087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41088 (exit $ac_status); } && {
41089 test -z "$ac_c_werror_flag" ||
41090 test ! -s conftest.err
41091 } && test -s conftest$ac_exeext &&
41092 $as_test_x conftest$ac_exeext; then
41093 ac_cv_func_sched_get_priority_max=yes
41095 echo "$as_me: failed program was:" >&5
41096 sed 's/^/| /' conftest.$ac_ext >&5
41098 ac_cv_func_sched_get_priority_max=no
41101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41102 conftest$ac_exeext conftest.$ac_ext
41104 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41105 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41106 if test $ac_cv_func_sched_get_priority_max = yes; then
41109 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41110 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41111 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41112 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 ac_check_lib_save_LIBS=$LIBS
41115 LIBS="-lposix4 $LIBS"
41116 cat >conftest.$ac_ext <<_ACEOF
41119 cat confdefs.h >>conftest.$ac_ext
41120 cat >>conftest.$ac_ext <<_ACEOF
41121 /* end confdefs.h. */
41123 /* Override any GCC internal prototype to avoid an error.
41124 Use char because int might match the return type of a GCC
41125 builtin and then its argument prototype would still apply. */
41129 char sched_get_priority_max ();
41133 return sched_get_priority_max ();
41138 rm -f conftest.$ac_objext conftest$ac_exeext
41139 if { (ac_try="$ac_link"
41140 case "(($ac_try" in
41141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41142 *) ac_try_echo=$ac_try;;
41144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41145 (eval "$ac_link") 2>conftest.er1
41147 grep -v '^ *+' conftest.er1 >conftest.err
41149 cat conftest.err >&5
41150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41151 (exit $ac_status); } && {
41152 test -z "$ac_c_werror_flag" ||
41153 test ! -s conftest.err
41154 } && test -s conftest$ac_exeext &&
41155 $as_test_x conftest$ac_exeext; then
41156 ac_cv_lib_posix4_sched_get_priority_max=yes
41158 echo "$as_me: failed program was:" >&5
41159 sed 's/^/| /' conftest.$ac_ext >&5
41161 ac_cv_lib_posix4_sched_get_priority_max=no
41164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41165 conftest$ac_exeext conftest.$ac_ext
41166 LIBS=$ac_check_lib_save_LIBS
41168 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41169 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41170 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41173 POSIX4_LINK=" -lposix4"
41187 if test "$HAVE_PRIOR_FUNCS" = 1; then
41188 cat >>confdefs.h <<\_ACEOF
41189 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41193 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41194 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41197 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41198 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41199 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41200 echo $ECHO_N "(cached) $ECHO_C" >&6
41202 cat >conftest.$ac_ext <<_ACEOF
41205 cat confdefs.h >>conftest.$ac_ext
41206 cat >>conftest.$ac_ext <<_ACEOF
41207 /* end confdefs.h. */
41208 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41210 #define pthread_cancel innocuous_pthread_cancel
41212 /* System header to define __stub macros and hopefully few prototypes,
41213 which can conflict with char pthread_cancel (); below.
41214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41215 <limits.h> exists even on freestanding compilers. */
41218 # include <limits.h>
41220 # include <assert.h>
41223 #undef pthread_cancel
41225 /* Override any GCC internal prototype to avoid an error.
41226 Use char because int might match the return type of a GCC
41227 builtin and then its argument prototype would still apply. */
41231 char pthread_cancel ();
41232 /* The GNU C library defines this for functions which it implements
41233 to always fail with ENOSYS. Some functions are actually named
41234 something starting with __ and the normal name is an alias. */
41235 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41242 return pthread_cancel ();
41247 rm -f conftest.$ac_objext conftest$ac_exeext
41248 if { (ac_try="$ac_link"
41249 case "(($ac_try" in
41250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41251 *) ac_try_echo=$ac_try;;
41253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41254 (eval "$ac_link") 2>conftest.er1
41256 grep -v '^ *+' conftest.er1 >conftest.err
41258 cat conftest.err >&5
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); } && {
41261 test -z "$ac_c_werror_flag" ||
41262 test ! -s conftest.err
41263 } && test -s conftest$ac_exeext &&
41264 $as_test_x conftest$ac_exeext; then
41265 ac_cv_func_pthread_cancel=yes
41267 echo "$as_me: failed program was:" >&5
41268 sed 's/^/| /' conftest.$ac_ext >&5
41270 ac_cv_func_pthread_cancel=no
41273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41274 conftest$ac_exeext conftest.$ac_ext
41276 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41277 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41278 if test $ac_cv_func_pthread_cancel = yes; then
41279 cat >>confdefs.h <<\_ACEOF
41280 #define HAVE_PTHREAD_CANCEL 1
41284 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41285 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41289 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41290 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41291 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41292 echo $ECHO_N "(cached) $ECHO_C" >&6
41294 cat >conftest.$ac_ext <<_ACEOF
41297 cat confdefs.h >>conftest.$ac_ext
41298 cat >>conftest.$ac_ext <<_ACEOF
41299 /* end confdefs.h. */
41300 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41302 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41304 /* System header to define __stub macros and hopefully few prototypes,
41305 which can conflict with char pthread_mutex_timedlock (); below.
41306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41307 <limits.h> exists even on freestanding compilers. */
41310 # include <limits.h>
41312 # include <assert.h>
41315 #undef pthread_mutex_timedlock
41317 /* Override any GCC internal prototype to avoid an error.
41318 Use char because int might match the return type of a GCC
41319 builtin and then its argument prototype would still apply. */
41323 char pthread_mutex_timedlock ();
41324 /* The GNU C library defines this for functions which it implements
41325 to always fail with ENOSYS. Some functions are actually named
41326 something starting with __ and the normal name is an alias. */
41327 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41334 return pthread_mutex_timedlock ();
41339 rm -f conftest.$ac_objext conftest$ac_exeext
41340 if { (ac_try="$ac_link"
41341 case "(($ac_try" in
41342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41343 *) ac_try_echo=$ac_try;;
41345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41346 (eval "$ac_link") 2>conftest.er1
41348 grep -v '^ *+' conftest.er1 >conftest.err
41350 cat conftest.err >&5
41351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41352 (exit $ac_status); } && {
41353 test -z "$ac_c_werror_flag" ||
41354 test ! -s conftest.err
41355 } && test -s conftest$ac_exeext &&
41356 $as_test_x conftest$ac_exeext; then
41357 ac_cv_func_pthread_mutex_timedlock=yes
41359 echo "$as_me: failed program was:" >&5
41360 sed 's/^/| /' conftest.$ac_ext >&5
41362 ac_cv_func_pthread_mutex_timedlock=no
41365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41366 conftest$ac_exeext conftest.$ac_ext
41368 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41369 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41370 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41371 cat >>confdefs.h <<\_ACEOF
41372 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41376 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41377 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41381 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41382 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41383 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41384 echo $ECHO_N "(cached) $ECHO_C" >&6
41386 cat >conftest.$ac_ext <<_ACEOF
41389 cat confdefs.h >>conftest.$ac_ext
41390 cat >>conftest.$ac_ext <<_ACEOF
41391 /* end confdefs.h. */
41392 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41394 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41396 /* System header to define __stub macros and hopefully few prototypes,
41397 which can conflict with char pthread_attr_setstacksize (); below.
41398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41399 <limits.h> exists even on freestanding compilers. */
41402 # include <limits.h>
41404 # include <assert.h>
41407 #undef pthread_attr_setstacksize
41409 /* Override any GCC internal prototype to avoid an error.
41410 Use char because int might match the return type of a GCC
41411 builtin and then its argument prototype would still apply. */
41415 char pthread_attr_setstacksize ();
41416 /* The GNU C library defines this for functions which it implements
41417 to always fail with ENOSYS. Some functions are actually named
41418 something starting with __ and the normal name is an alias. */
41419 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41426 return pthread_attr_setstacksize ();
41431 rm -f conftest.$ac_objext conftest$ac_exeext
41432 if { (ac_try="$ac_link"
41433 case "(($ac_try" in
41434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41435 *) ac_try_echo=$ac_try;;
41437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41438 (eval "$ac_link") 2>conftest.er1
41440 grep -v '^ *+' conftest.er1 >conftest.err
41442 cat conftest.err >&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); } && {
41445 test -z "$ac_c_werror_flag" ||
41446 test ! -s conftest.err
41447 } && test -s conftest$ac_exeext &&
41448 $as_test_x conftest$ac_exeext; then
41449 ac_cv_func_pthread_attr_setstacksize=yes
41451 echo "$as_me: failed program was:" >&5
41452 sed 's/^/| /' conftest.$ac_ext >&5
41454 ac_cv_func_pthread_attr_setstacksize=no
41457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41458 conftest$ac_exeext conftest.$ac_ext
41460 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41461 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41462 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41463 cat >>confdefs.h <<\_ACEOF
41464 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41471 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41472 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41473 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41474 echo $ECHO_N "(cached) $ECHO_C" >&6
41477 cat >conftest.$ac_ext <<_ACEOF
41480 cat confdefs.h >>conftest.$ac_ext
41481 cat >>conftest.$ac_ext <<_ACEOF
41482 /* end confdefs.h. */
41483 #include <pthread.h>
41488 pthread_mutexattr_t attr;
41489 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41495 rm -f conftest.$ac_objext
41496 if { (ac_try="$ac_compile"
41497 case "(($ac_try" in
41498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41499 *) ac_try_echo=$ac_try;;
41501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41502 (eval "$ac_compile") 2>conftest.er1
41504 grep -v '^ *+' conftest.er1 >conftest.err
41506 cat conftest.err >&5
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); } && {
41509 test -z "$ac_c_werror_flag" ||
41510 test ! -s conftest.err
41511 } && test -s conftest.$ac_objext; then
41512 wx_cv_type_pthread_mutexattr_t=yes
41514 echo "$as_me: failed program was:" >&5
41515 sed 's/^/| /' conftest.$ac_ext >&5
41517 wx_cv_type_pthread_mutexattr_t=no
41521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41524 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41525 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41527 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41528 cat >>confdefs.h <<\_ACEOF
41529 #define HAVE_PTHREAD_MUTEXATTR_T 1
41533 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41534 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41535 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41536 echo $ECHO_N "(cached) $ECHO_C" >&6
41539 cat >conftest.$ac_ext <<_ACEOF
41542 cat confdefs.h >>conftest.$ac_ext
41543 cat >>conftest.$ac_ext <<_ACEOF
41544 /* end confdefs.h. */
41545 #include <pthread.h>
41550 pthread_mutexattr_t attr;
41551 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41557 rm -f conftest.$ac_objext
41558 if { (ac_try="$ac_compile"
41559 case "(($ac_try" in
41560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41561 *) ac_try_echo=$ac_try;;
41563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41564 (eval "$ac_compile") 2>conftest.er1
41566 grep -v '^ *+' conftest.er1 >conftest.err
41568 cat conftest.err >&5
41569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41570 (exit $ac_status); } && {
41571 test -z "$ac_c_werror_flag" ||
41572 test ! -s conftest.err
41573 } && test -s conftest.$ac_objext; then
41574 wx_cv_func_pthread_mutexattr_settype_decl=yes
41576 echo "$as_me: failed program was:" >&5
41577 sed 's/^/| /' conftest.$ac_ext >&5
41579 wx_cv_func_pthread_mutexattr_settype_decl=no
41583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41586 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41587 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41588 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41589 cat >>confdefs.h <<\_ACEOF
41590 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41595 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41596 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41597 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41598 echo $ECHO_N "(cached) $ECHO_C" >&6
41601 cat >conftest.$ac_ext <<_ACEOF
41604 cat confdefs.h >>conftest.$ac_ext
41605 cat >>conftest.$ac_ext <<_ACEOF
41606 /* end confdefs.h. */
41607 #include <pthread.h>
41612 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41618 rm -f conftest.$ac_objext
41619 if { (ac_try="$ac_compile"
41620 case "(($ac_try" in
41621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41622 *) ac_try_echo=$ac_try;;
41624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41625 (eval "$ac_compile") 2>conftest.er1
41627 grep -v '^ *+' conftest.er1 >conftest.err
41629 cat conftest.err >&5
41630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41631 (exit $ac_status); } && {
41632 test -z "$ac_c_werror_flag" ||
41633 test ! -s conftest.err
41634 } && test -s conftest.$ac_objext; then
41636 wx_cv_type_pthread_rec_mutex_init=yes
41639 echo "$as_me: failed program was:" >&5
41640 sed 's/^/| /' conftest.$ac_ext >&5
41643 wx_cv_type_pthread_rec_mutex_init=no
41648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41651 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41652 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41653 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41654 cat >>confdefs.h <<\_ACEOF
41655 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41659 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41660 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41664 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41665 if test "$USE_NETBSD" = 1; then
41666 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41667 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41668 wxUSE_COMPILER_TLS=no
41670 wxUSE_COMPILER_TLS=yes
41674 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41675 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41676 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41677 if test "${wx_cv_cc___thread+set}" = set; then
41678 echo $ECHO_N "(cached) $ECHO_C" >&6
41681 cat >conftest.$ac_ext <<_ACEOF
41684 cat confdefs.h >>conftest.$ac_ext
41685 cat >>conftest.$ac_ext <<_ACEOF
41686 /* end confdefs.h. */
41687 #include <pthread.h>
41692 static __thread int n = 0;
41693 static __thread int *p = 0;
41699 rm -f conftest.$ac_objext
41700 if { (ac_try="$ac_compile"
41701 case "(($ac_try" in
41702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41703 *) ac_try_echo=$ac_try;;
41705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41706 (eval "$ac_compile") 2>conftest.er1
41708 grep -v '^ *+' conftest.er1 >conftest.err
41710 cat conftest.err >&5
41711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41712 (exit $ac_status); } && {
41713 test -z "$ac_c_werror_flag" ||
41714 test ! -s conftest.err
41715 } && test -s conftest.$ac_objext; then
41716 wx_cv_cc___thread=yes
41718 echo "$as_me: failed program was:" >&5
41719 sed 's/^/| /' conftest.$ac_ext >&5
41721 wx_cv_cc___thread=no
41725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41729 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41730 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41732 if test "$wx_cv_cc___thread" = "yes"; then
41738 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41739 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41741 if test "x$GCC" = "xyes" ; then
41743 if test -z "" ; then
41745 ax_gcc_option_test="int main()
41752 ax_gcc_option_test=""
41757 # Dump the test program to file
41758 cat <<EOF > conftest.c
41759 $ax_gcc_option_test
41762 # Dump back the file to the log, useful for debugging purposes
41763 { ac_try='cat conftest.c 1>&5'
41764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41765 (eval $ac_try) 2>&5
41767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768 (exit $ac_status); }; }
41770 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41772 (eval $ac_try) 2>&5
41774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41775 (exit $ac_status); }; } ; then
41777 { echo "$as_me:$LINENO: result: yes" >&5
41778 echo "${ECHO_T}yes" >&6; }
41780 ax_gcc_version_option=yes
41785 { echo "$as_me:$LINENO: result: no" >&5
41786 echo "${ECHO_T}no" >&6; }
41788 ax_gcc_version_option=no
41796 { echo "$as_me:$LINENO: result: no gcc available" >&5
41797 echo "${ECHO_T}no gcc available" >&6; }
41802 if test "x$GXX" = "xyes"; then
41804 if test "x$ax_gxx_version_option" != "no"; then
41806 { echo "$as_me:$LINENO: checking gxx version" >&5
41807 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41808 if test "${ax_cv_gxx_version+set}" = set; then
41809 echo $ECHO_N "(cached) $ECHO_C" >&6
41812 ax_cv_gxx_version="`$CXX -dumpversion`"
41813 if test "x$ax_cv_gxx_version" = "x"; then
41815 ax_cv_gxx_version=""
41821 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41822 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41823 GXX_VERSION=$ax_cv_gxx_version
41832 if test -n "$ax_cv_gxx_version"; then
41833 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41834 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41835 case "$ax_cv_gxx_version" in
41837 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41838 echo "${ECHO_T}no, it's broken" >&6; }
41839 wx_cv_cc___thread=no
41842 { echo "$as_me:$LINENO: result: yes, it works" >&5
41843 echo "${ECHO_T}yes, it works" >&6; }
41849 if test "$wx_cv_cc___thread" = "yes"; then
41850 cat >>confdefs.h <<\_ACEOF
41851 #define HAVE___THREAD_KEYWORD 1
41859 if test "$wxUSE_THREADS" = "yes" ; then
41861 x86_64-*-mingw32* )
41864 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41865 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41866 if test "${wx_cv_cflags_mthread+set}" = set; then
41867 echo $ECHO_N "(cached) $ECHO_C" >&6
41870 CFLAGS_OLD="$CFLAGS"
41871 CFLAGS="-mthreads $CFLAGS"
41872 cat >conftest.$ac_ext <<_ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41887 rm -f conftest.$ac_objext
41888 if { (ac_try="$ac_compile"
41889 case "(($ac_try" in
41890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41891 *) ac_try_echo=$ac_try;;
41893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41894 (eval "$ac_compile") 2>conftest.er1
41896 grep -v '^ *+' conftest.er1 >conftest.err
41898 cat conftest.err >&5
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); } && {
41901 test -z "$ac_c_werror_flag" ||
41902 test ! -s conftest.err
41903 } && test -s conftest.$ac_objext; then
41904 wx_cv_cflags_mthread=yes
41906 echo "$as_me: failed program was:" >&5
41907 sed 's/^/| /' conftest.$ac_ext >&5
41909 wx_cv_cflags_mthread=no
41913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41917 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41918 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41920 if test "$wx_cv_cflags_mthread" = "yes"; then
41921 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41922 LDFLAGS="$LDFLAGS -mthreads"
41924 CFLAGS="$CFLAGS_OLD"
41928 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41929 LDFLAGS="$LDFLAGS -Zmt"
41935 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41936 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41937 if test "${ac_cv_func_localtime_r+set}" = set; then
41938 echo $ECHO_N "(cached) $ECHO_C" >&6
41940 cat >conftest.$ac_ext <<_ACEOF
41943 cat confdefs.h >>conftest.$ac_ext
41944 cat >>conftest.$ac_ext <<_ACEOF
41945 /* end confdefs.h. */
41946 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41948 #define localtime_r innocuous_localtime_r
41950 /* System header to define __stub macros and hopefully few prototypes,
41951 which can conflict with char localtime_r (); below.
41952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41953 <limits.h> exists even on freestanding compilers. */
41956 # include <limits.h>
41958 # include <assert.h>
41963 /* Override any GCC internal prototype to avoid an error.
41964 Use char because int might match the return type of a GCC
41965 builtin and then its argument prototype would still apply. */
41969 char localtime_r ();
41970 /* The GNU C library defines this for functions which it implements
41971 to always fail with ENOSYS. Some functions are actually named
41972 something starting with __ and the normal name is an alias. */
41973 #if defined __stub_localtime_r || defined __stub___localtime_r
41980 return localtime_r ();
41985 rm -f conftest.$ac_objext conftest$ac_exeext
41986 if { (ac_try="$ac_link"
41987 case "(($ac_try" in
41988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41989 *) ac_try_echo=$ac_try;;
41991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41992 (eval "$ac_link") 2>conftest.er1
41994 grep -v '^ *+' conftest.er1 >conftest.err
41996 cat conftest.err >&5
41997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998 (exit $ac_status); } && {
41999 test -z "$ac_c_werror_flag" ||
42000 test ! -s conftest.err
42001 } && test -s conftest$ac_exeext &&
42002 $as_test_x conftest$ac_exeext; then
42003 ac_cv_func_localtime_r=yes
42005 echo "$as_me: failed program was:" >&5
42006 sed 's/^/| /' conftest.$ac_ext >&5
42008 ac_cv_func_localtime_r=no
42011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42012 conftest$ac_exeext conftest.$ac_ext
42014 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42015 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42016 if test $ac_cv_func_localtime_r = yes; then
42017 cat >>confdefs.h <<\_ACEOF
42018 #define HAVE_LOCALTIME_R 1
42023 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42024 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42025 if test "${ac_cv_func_gmtime_r+set}" = set; then
42026 echo $ECHO_N "(cached) $ECHO_C" >&6
42028 cat >conftest.$ac_ext <<_ACEOF
42031 cat confdefs.h >>conftest.$ac_ext
42032 cat >>conftest.$ac_ext <<_ACEOF
42033 /* end confdefs.h. */
42034 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42036 #define gmtime_r innocuous_gmtime_r
42038 /* System header to define __stub macros and hopefully few prototypes,
42039 which can conflict with char gmtime_r (); below.
42040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42041 <limits.h> exists even on freestanding compilers. */
42044 # include <limits.h>
42046 # include <assert.h>
42051 /* Override any GCC internal prototype to avoid an error.
42052 Use char because int might match the return type of a GCC
42053 builtin and then its argument prototype would still apply. */
42058 /* The GNU C library defines this for functions which it implements
42059 to always fail with ENOSYS. Some functions are actually named
42060 something starting with __ and the normal name is an alias. */
42061 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42068 return gmtime_r ();
42073 rm -f conftest.$ac_objext conftest$ac_exeext
42074 if { (ac_try="$ac_link"
42075 case "(($ac_try" in
42076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42077 *) ac_try_echo=$ac_try;;
42079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42080 (eval "$ac_link") 2>conftest.er1
42082 grep -v '^ *+' conftest.er1 >conftest.err
42084 cat conftest.err >&5
42085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42086 (exit $ac_status); } && {
42087 test -z "$ac_c_werror_flag" ||
42088 test ! -s conftest.err
42089 } && test -s conftest$ac_exeext &&
42090 $as_test_x conftest$ac_exeext; then
42091 ac_cv_func_gmtime_r=yes
42093 echo "$as_me: failed program was:" >&5
42094 sed 's/^/| /' conftest.$ac_ext >&5
42096 ac_cv_func_gmtime_r=no
42099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42100 conftest$ac_exeext conftest.$ac_ext
42102 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42103 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42104 if test $ac_cv_func_gmtime_r = yes; then
42105 cat >>confdefs.h <<\_ACEOF
42106 #define HAVE_GMTIME_R 1
42115 ac_cpp='$CPP $CPPFLAGS'
42116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42120 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42121 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42123 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42124 echo $ECHO_N "(cached) $ECHO_C" >&6
42128 ################################################################
42130 ac_cv_func_which_gethostbyname_r=unknown
42133 # ONE ARGUMENT (sanity check)
42136 # This should fail, as there is no variant of gethostbyname_r() that takes
42137 # a single argument. If it actually compiles, then we can assume that
42138 # netdb.h is not declaring the function, and the compiler is thereby
42139 # assuming an implicit prototype. In which case, we're out of luck.
42141 cat >conftest.$ac_ext <<_ACEOF
42144 cat confdefs.h >>conftest.$ac_ext
42145 cat >>conftest.$ac_ext <<_ACEOF
42146 /* end confdefs.h. */
42152 char *name = "www.gnu.org";
42153 (void)gethostbyname_r(name) /* ; */
42159 rm -f conftest.$ac_objext
42160 if { (ac_try="$ac_compile"
42161 case "(($ac_try" in
42162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42163 *) ac_try_echo=$ac_try;;
42165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42166 (eval "$ac_compile") 2>conftest.er1
42168 grep -v '^ *+' conftest.er1 >conftest.err
42170 cat conftest.err >&5
42171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42172 (exit $ac_status); } && {
42173 test -z "$ac_c_werror_flag" ||
42174 test ! -s conftest.err
42175 } && test -s conftest.$ac_objext; then
42176 ac_cv_func_which_gethostbyname_r=no
42178 echo "$as_me: failed program was:" >&5
42179 sed 's/^/| /' conftest.$ac_ext >&5
42184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42191 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42193 cat >conftest.$ac_ext <<_ACEOF
42196 cat confdefs.h >>conftest.$ac_ext
42197 cat >>conftest.$ac_ext <<_ACEOF
42198 /* end confdefs.h. */
42204 char *name = "www.gnu.org";
42205 struct hostent ret, *retp;
42209 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42215 rm -f conftest.$ac_objext
42216 if { (ac_try="$ac_compile"
42217 case "(($ac_try" in
42218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42219 *) ac_try_echo=$ac_try;;
42221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42222 (eval "$ac_compile") 2>conftest.er1
42224 grep -v '^ *+' conftest.er1 >conftest.err
42226 cat conftest.err >&5
42227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42228 (exit $ac_status); } && {
42229 test -z "$ac_c_werror_flag" ||
42230 test ! -s conftest.err
42231 } && test -s conftest.$ac_objext; then
42232 ac_cv_func_which_gethostbyname_r=six
42234 echo "$as_me: failed program was:" >&5
42235 sed 's/^/| /' conftest.$ac_ext >&5
42240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42249 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42251 cat >conftest.$ac_ext <<_ACEOF
42254 cat confdefs.h >>conftest.$ac_ext
42255 cat >>conftest.$ac_ext <<_ACEOF
42256 /* end confdefs.h. */
42262 char *name = "www.gnu.org";
42263 struct hostent ret;
42267 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42273 rm -f conftest.$ac_objext
42274 if { (ac_try="$ac_compile"
42275 case "(($ac_try" in
42276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42277 *) ac_try_echo=$ac_try;;
42279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42280 (eval "$ac_compile") 2>conftest.er1
42282 grep -v '^ *+' conftest.er1 >conftest.err
42284 cat conftest.err >&5
42285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42286 (exit $ac_status); } && {
42287 test -z "$ac_c_werror_flag" ||
42288 test ! -s conftest.err
42289 } && test -s conftest.$ac_objext; then
42290 ac_cv_func_which_gethostbyname_r=five
42292 echo "$as_me: failed program was:" >&5
42293 sed 's/^/| /' conftest.$ac_ext >&5
42298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42304 # (e.g. AIX, HP-UX, Tru64)
42307 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42309 cat >conftest.$ac_ext <<_ACEOF
42312 cat confdefs.h >>conftest.$ac_ext
42313 cat >>conftest.$ac_ext <<_ACEOF
42314 /* end confdefs.h. */
42320 char *name = "www.gnu.org";
42321 struct hostent ret;
42322 struct hostent_data data;
42323 (void)gethostbyname_r(name, &ret, &data) /* ; */
42329 rm -f conftest.$ac_objext
42330 if { (ac_try="$ac_compile"
42331 case "(($ac_try" in
42332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42333 *) ac_try_echo=$ac_try;;
42335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42336 (eval "$ac_compile") 2>conftest.er1
42338 grep -v '^ *+' conftest.er1 >conftest.err
42340 cat conftest.err >&5
42341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42342 (exit $ac_status); } && {
42343 test -z "$ac_c_werror_flag" ||
42344 test ! -s conftest.err
42345 } && test -s conftest.$ac_objext; then
42346 ac_cv_func_which_gethostbyname_r=three
42348 echo "$as_me: failed program was:" >&5
42349 sed 's/^/| /' conftest.$ac_ext >&5
42354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42358 ################################################################
42363 case "$ac_cv_func_which_gethostbyname_r" in
42365 { echo "$as_me:$LINENO: result: three" >&5
42366 echo "${ECHO_T}three" >&6; }
42367 cat >>confdefs.h <<\_ACEOF
42368 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42374 { echo "$as_me:$LINENO: result: five" >&5
42375 echo "${ECHO_T}five" >&6; }
42376 cat >>confdefs.h <<\_ACEOF
42377 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42383 { echo "$as_me:$LINENO: result: six" >&5
42384 echo "${ECHO_T}six" >&6; }
42385 cat >>confdefs.h <<\_ACEOF
42386 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42392 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42393 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42397 { echo "$as_me:$LINENO: result: can't tell" >&5
42398 echo "${ECHO_T}can't tell" >&6; }
42402 { { echo "$as_me:$LINENO: error: internal error" >&5
42403 echo "$as_me: error: internal error" >&2;}
42404 { (exit 1); exit 1; }; }
42409 ac_cpp='$CPP $CPPFLAGS'
42410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42416 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42417 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42418 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42419 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42420 if test "${ac_cv_func_gethostbyname+set}" = set; then
42421 echo $ECHO_N "(cached) $ECHO_C" >&6
42423 cat >conftest.$ac_ext <<_ACEOF
42426 cat confdefs.h >>conftest.$ac_ext
42427 cat >>conftest.$ac_ext <<_ACEOF
42428 /* end confdefs.h. */
42429 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42431 #define gethostbyname innocuous_gethostbyname
42433 /* System header to define __stub macros and hopefully few prototypes,
42434 which can conflict with char gethostbyname (); below.
42435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42436 <limits.h> exists even on freestanding compilers. */
42439 # include <limits.h>
42441 # include <assert.h>
42444 #undef gethostbyname
42446 /* Override any GCC internal prototype to avoid an error.
42447 Use char because int might match the return type of a GCC
42448 builtin and then its argument prototype would still apply. */
42452 char gethostbyname ();
42453 /* The GNU C library defines this for functions which it implements
42454 to always fail with ENOSYS. Some functions are actually named
42455 something starting with __ and the normal name is an alias. */
42456 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42463 return gethostbyname ();
42468 rm -f conftest.$ac_objext conftest$ac_exeext
42469 if { (ac_try="$ac_link"
42470 case "(($ac_try" in
42471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42472 *) ac_try_echo=$ac_try;;
42474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42475 (eval "$ac_link") 2>conftest.er1
42477 grep -v '^ *+' conftest.er1 >conftest.err
42479 cat conftest.err >&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); } && {
42482 test -z "$ac_c_werror_flag" ||
42483 test ! -s conftest.err
42484 } && test -s conftest$ac_exeext &&
42485 $as_test_x conftest$ac_exeext; then
42486 ac_cv_func_gethostbyname=yes
42488 echo "$as_me: failed program was:" >&5
42489 sed 's/^/| /' conftest.$ac_ext >&5
42491 ac_cv_func_gethostbyname=no
42494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42495 conftest$ac_exeext conftest.$ac_ext
42497 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42498 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42499 if test $ac_cv_func_gethostbyname = yes; then
42500 cat >>confdefs.h <<\_ACEOF
42501 #define HAVE_GETHOSTBYNAME 1
42508 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42509 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42510 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42511 echo $ECHO_N "(cached) $ECHO_C" >&6
42515 ac_cpp='$CXXCPP $CPPFLAGS'
42516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42521 cat >conftest.$ac_ext <<_ACEOF
42524 cat confdefs.h >>conftest.$ac_ext
42525 cat >>conftest.$ac_ext <<_ACEOF
42526 /* end confdefs.h. */
42534 struct servent *se, *res;
42537 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42543 rm -f conftest.$ac_objext
42544 if { (ac_try="$ac_compile"
42545 case "(($ac_try" in
42546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42547 *) ac_try_echo=$ac_try;;
42549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42550 (eval "$ac_compile") 2>conftest.er1
42552 grep -v '^ *+' conftest.er1 >conftest.err
42554 cat conftest.err >&5
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); } && {
42557 test -z "$ac_cxx_werror_flag" ||
42558 test ! -s conftest.err
42559 } && test -s conftest.$ac_objext; then
42560 ac_cv_func_which_getservbyname_r=six
42562 echo "$as_me: failed program was:" >&5
42563 sed 's/^/| /' conftest.$ac_ext >&5
42566 cat >conftest.$ac_ext <<_ACEOF
42569 cat confdefs.h >>conftest.$ac_ext
42570 cat >>conftest.$ac_ext <<_ACEOF
42571 /* end confdefs.h. */
42579 struct servent *se;
42582 (void) getservbyname_r(name, proto, se, buffer, buflen)
42588 rm -f conftest.$ac_objext
42589 if { (ac_try="$ac_compile"
42590 case "(($ac_try" in
42591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42592 *) ac_try_echo=$ac_try;;
42594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42595 (eval "$ac_compile") 2>conftest.er1
42597 grep -v '^ *+' conftest.er1 >conftest.err
42599 cat conftest.err >&5
42600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42601 (exit $ac_status); } && {
42602 test -z "$ac_cxx_werror_flag" ||
42603 test ! -s conftest.err
42604 } && test -s conftest.$ac_objext; then
42605 ac_cv_func_which_getservbyname_r=five
42607 echo "$as_me: failed program was:" >&5
42608 sed 's/^/| /' conftest.$ac_ext >&5
42611 cat >conftest.$ac_ext <<_ACEOF
42614 cat confdefs.h >>conftest.$ac_ext
42615 cat >>conftest.$ac_ext <<_ACEOF
42616 /* end confdefs.h. */
42624 struct servent *se;
42625 struct servent_data data;
42626 (void) getservbyname_r(name, proto, se, &data);
42632 rm -f conftest.$ac_objext
42633 if { (ac_try="$ac_compile"
42634 case "(($ac_try" in
42635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42636 *) ac_try_echo=$ac_try;;
42638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42639 (eval "$ac_compile") 2>conftest.er1
42641 grep -v '^ *+' conftest.er1 >conftest.err
42643 cat conftest.err >&5
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); } && {
42646 test -z "$ac_cxx_werror_flag" ||
42647 test ! -s conftest.err
42648 } && test -s conftest.$ac_objext; then
42649 ac_cv_func_which_getservbyname_r=four
42651 echo "$as_me: failed program was:" >&5
42652 sed 's/^/| /' conftest.$ac_ext >&5
42654 ac_cv_func_which_getservbyname_r=no
42658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42670 ac_cpp='$CPP $CPPFLAGS'
42671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42678 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42679 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42681 if test $ac_cv_func_which_getservbyname_r = six; then
42682 cat >>confdefs.h <<\_ACEOF
42683 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42686 elif test $ac_cv_func_which_getservbyname_r = five; then
42687 cat >>confdefs.h <<\_ACEOF
42688 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42691 elif test $ac_cv_func_which_getservbyname_r = four; then
42692 cat >>confdefs.h <<\_ACEOF
42693 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42699 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42700 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42702 for ac_func in getservbyname
42704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42705 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42707 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42708 echo $ECHO_N "(cached) $ECHO_C" >&6
42710 cat >conftest.$ac_ext <<_ACEOF
42713 cat confdefs.h >>conftest.$ac_ext
42714 cat >>conftest.$ac_ext <<_ACEOF
42715 /* end confdefs.h. */
42716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42718 #define $ac_func innocuous_$ac_func
42720 /* System header to define __stub macros and hopefully few prototypes,
42721 which can conflict with char $ac_func (); below.
42722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42723 <limits.h> exists even on freestanding compilers. */
42726 # include <limits.h>
42728 # include <assert.h>
42733 /* Override any GCC internal prototype to avoid an error.
42734 Use char because int might match the return type of a GCC
42735 builtin and then its argument prototype would still apply. */
42740 /* The GNU C library defines this for functions which it implements
42741 to always fail with ENOSYS. Some functions are actually named
42742 something starting with __ and the normal name is an alias. */
42743 #if defined __stub_$ac_func || defined __stub___$ac_func
42750 return $ac_func ();
42755 rm -f conftest.$ac_objext conftest$ac_exeext
42756 if { (ac_try="$ac_link"
42757 case "(($ac_try" in
42758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42759 *) ac_try_echo=$ac_try;;
42761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42762 (eval "$ac_link") 2>conftest.er1
42764 grep -v '^ *+' conftest.er1 >conftest.err
42766 cat conftest.err >&5
42767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42768 (exit $ac_status); } && {
42769 test -z "$ac_c_werror_flag" ||
42770 test ! -s conftest.err
42771 } && test -s conftest$ac_exeext &&
42772 $as_test_x conftest$ac_exeext; then
42773 eval "$as_ac_var=yes"
42775 echo "$as_me: failed program was:" >&5
42776 sed 's/^/| /' conftest.$ac_ext >&5
42778 eval "$as_ac_var=no"
42781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42782 conftest$ac_exeext conftest.$ac_ext
42784 ac_res=`eval echo '${'$as_ac_var'}'`
42785 { echo "$as_me:$LINENO: result: $ac_res" >&5
42786 echo "${ECHO_T}$ac_res" >&6; }
42787 if test `eval echo '${'$as_ac_var'}'` = yes; then
42788 cat >>confdefs.h <<_ACEOF
42789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42791 cat >>confdefs.h <<\_ACEOF
42792 #define HAVE_GETSERVBYNAME 1
42800 if test "$wxUSE_THREADS" = "yes"; then
42801 cat >>confdefs.h <<\_ACEOF
42802 #define wxUSE_THREADS 1
42806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42808 if test "$wx_cv_func_strtok_r" = "yes"; then
42809 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42810 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42811 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42812 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42813 { echo "$as_me:$LINENO: result: yes" >&5
42814 echo "${ECHO_T}yes" >&6; }
42816 { echo "$as_me:$LINENO: result: no" >&5
42817 echo "${ECHO_T}no" >&6; }
42822 if test "$WXGTK2" = 1 ; then
42823 cat >>confdefs.h <<_ACEOF
42824 #define __WXGTK20__ $WXGTK2
42830 if test "$WXGTK12" = 1 ; then
42831 cat >>confdefs.h <<_ACEOF
42832 #define __WXGTK12__ $WXGTK12
42837 if test "$WXGTK127" = 1 ; then
42838 cat >>confdefs.h <<_ACEOF
42839 #define __WXGTK127__ $WXGTK127
42844 if test "$WXGPE" = 1 ; then
42845 cat >>confdefs.h <<_ACEOF
42846 #define __WXGPE__ $WXGPE
42852 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42853 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42854 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42855 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42859 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42860 wxUSE_DEBUG_INFO=yes
42861 if test "$GCC" = yes; then
42862 DEBUG_CFLAGS="-ggdb"
42866 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42867 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42869 if test "$wxUSE_GTK" = 1 ; then
42870 if test "x$wxGTK_VERSION" = "x1" ; then
42871 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42876 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42877 cat >>confdefs.h <<\_ACEOF
42878 #define wxUSE_MEMORY_TRACING 1
42881 cat >>confdefs.h <<\_ACEOF
42882 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42885 cat >>confdefs.h <<\_ACEOF
42886 #define wxUSE_DEBUG_NEW_ALWAYS 1
42889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42892 if test "$wxUSE_DMALLOC" = "yes" ; then
42893 DMALLOC_LIBS="-ldmallocthcxx"
42897 if test "$wxUSE_PROFILE" = "yes" ; then
42898 PROFILE_FLAGS=" -pg"
42901 if test "$GCC" = "yes" ; then
42902 if test "$wxUSE_NO_RTTI" = "yes" ; then
42903 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42905 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42906 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42908 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42909 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42914 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42917 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42923 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42924 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42925 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42927 if test "$wxUSE_OPTIMISE" = "no" ; then
42928 if test "$GCC" = yes ; then
42929 OPTIMISE_CFLAGS="-O0"
42932 if test "$GCC" = yes ; then
42934 *-pc-os2_emx | *-pc-os2-emx )
42935 OPTIMISE_CFLAGS="-O2"
42938 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42942 OPTIMISE_CFLAGS="-O"
42948 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42949 cat >>confdefs.h <<\_ACEOF
42950 #define WXWIN_COMPATIBILITY_2_6 1
42954 WXWIN_COMPATIBILITY_2_8="yes"
42957 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42958 cat >>confdefs.h <<\_ACEOF
42959 #define WXWIN_COMPATIBILITY_2_8 1
42965 if test "$wxUSE_GUI" = "yes"; then
42966 cat >>confdefs.h <<\_ACEOF
42967 #define wxUSE_GUI 1
42974 if test "$wxUSE_UNIX" = "yes"; then
42975 cat >>confdefs.h <<\_ACEOF
42976 #define wxUSE_UNIX 1
42982 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42986 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42987 if test "$USE_DOS" = 1; then
42991 for ac_func in dlopen
42993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42994 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42996 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42997 echo $ECHO_N "(cached) $ECHO_C" >&6
42999 cat >conftest.$ac_ext <<_ACEOF
43002 cat confdefs.h >>conftest.$ac_ext
43003 cat >>conftest.$ac_ext <<_ACEOF
43004 /* end confdefs.h. */
43005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43007 #define $ac_func innocuous_$ac_func
43009 /* System header to define __stub macros and hopefully few prototypes,
43010 which can conflict with char $ac_func (); below.
43011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43012 <limits.h> exists even on freestanding compilers. */
43015 # include <limits.h>
43017 # include <assert.h>
43022 /* Override any GCC internal prototype to avoid an error.
43023 Use char because int might match the return type of a GCC
43024 builtin and then its argument prototype would still apply. */
43029 /* The GNU C library defines this for functions which it implements
43030 to always fail with ENOSYS. Some functions are actually named
43031 something starting with __ and the normal name is an alias. */
43032 #if defined __stub_$ac_func || defined __stub___$ac_func
43039 return $ac_func ();
43044 rm -f conftest.$ac_objext conftest$ac_exeext
43045 if { (ac_try="$ac_link"
43046 case "(($ac_try" in
43047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43048 *) ac_try_echo=$ac_try;;
43050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43051 (eval "$ac_link") 2>conftest.er1
43053 grep -v '^ *+' conftest.er1 >conftest.err
43055 cat conftest.err >&5
43056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43057 (exit $ac_status); } && {
43058 test -z "$ac_c_werror_flag" ||
43059 test ! -s conftest.err
43060 } && test -s conftest$ac_exeext &&
43061 $as_test_x conftest$ac_exeext; then
43062 eval "$as_ac_var=yes"
43064 echo "$as_me: failed program was:" >&5
43065 sed 's/^/| /' conftest.$ac_ext >&5
43067 eval "$as_ac_var=no"
43070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43071 conftest$ac_exeext conftest.$ac_ext
43073 ac_res=`eval echo '${'$as_ac_var'}'`
43074 { echo "$as_me:$LINENO: result: $ac_res" >&5
43075 echo "${ECHO_T}$ac_res" >&6; }
43076 if test `eval echo '${'$as_ac_var'}'` = yes; then
43077 cat >>confdefs.h <<_ACEOF
43078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43081 cat >>confdefs.h <<\_ACEOF
43082 #define HAVE_DLOPEN 1
43089 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43090 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43091 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43092 echo $ECHO_N "(cached) $ECHO_C" >&6
43094 ac_check_lib_save_LIBS=$LIBS
43096 cat >conftest.$ac_ext <<_ACEOF
43099 cat confdefs.h >>conftest.$ac_ext
43100 cat >>conftest.$ac_ext <<_ACEOF
43101 /* end confdefs.h. */
43103 /* Override any GCC internal prototype to avoid an error.
43104 Use char because int might match the return type of a GCC
43105 builtin and then its argument prototype would still apply. */
43118 rm -f conftest.$ac_objext conftest$ac_exeext
43119 if { (ac_try="$ac_link"
43120 case "(($ac_try" in
43121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43122 *) ac_try_echo=$ac_try;;
43124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43125 (eval "$ac_link") 2>conftest.er1
43127 grep -v '^ *+' conftest.er1 >conftest.err
43129 cat conftest.err >&5
43130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43131 (exit $ac_status); } && {
43132 test -z "$ac_c_werror_flag" ||
43133 test ! -s conftest.err
43134 } && test -s conftest$ac_exeext &&
43135 $as_test_x conftest$ac_exeext; then
43136 ac_cv_lib_dl_dlopen=yes
43138 echo "$as_me: failed program was:" >&5
43139 sed 's/^/| /' conftest.$ac_ext >&5
43141 ac_cv_lib_dl_dlopen=no
43144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43145 conftest$ac_exeext conftest.$ac_ext
43146 LIBS=$ac_check_lib_save_LIBS
43148 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43149 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43150 if test $ac_cv_lib_dl_dlopen = yes; then
43152 cat >>confdefs.h <<\_ACEOF
43153 #define HAVE_DLOPEN 1
43157 DL_LINK=" -ldl$DL_LINK"
43162 for ac_func in shl_load
43164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43165 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43167 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43168 echo $ECHO_N "(cached) $ECHO_C" >&6
43170 cat >conftest.$ac_ext <<_ACEOF
43173 cat confdefs.h >>conftest.$ac_ext
43174 cat >>conftest.$ac_ext <<_ACEOF
43175 /* end confdefs.h. */
43176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43178 #define $ac_func innocuous_$ac_func
43180 /* System header to define __stub macros and hopefully few prototypes,
43181 which can conflict with char $ac_func (); below.
43182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43183 <limits.h> exists even on freestanding compilers. */
43186 # include <limits.h>
43188 # include <assert.h>
43193 /* Override any GCC internal prototype to avoid an error.
43194 Use char because int might match the return type of a GCC
43195 builtin and then its argument prototype would still apply. */
43200 /* The GNU C library defines this for functions which it implements
43201 to always fail with ENOSYS. Some functions are actually named
43202 something starting with __ and the normal name is an alias. */
43203 #if defined __stub_$ac_func || defined __stub___$ac_func
43210 return $ac_func ();
43215 rm -f conftest.$ac_objext conftest$ac_exeext
43216 if { (ac_try="$ac_link"
43217 case "(($ac_try" in
43218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43219 *) ac_try_echo=$ac_try;;
43221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43222 (eval "$ac_link") 2>conftest.er1
43224 grep -v '^ *+' conftest.er1 >conftest.err
43226 cat conftest.err >&5
43227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43228 (exit $ac_status); } && {
43229 test -z "$ac_c_werror_flag" ||
43230 test ! -s conftest.err
43231 } && test -s conftest$ac_exeext &&
43232 $as_test_x conftest$ac_exeext; then
43233 eval "$as_ac_var=yes"
43235 echo "$as_me: failed program was:" >&5
43236 sed 's/^/| /' conftest.$ac_ext >&5
43238 eval "$as_ac_var=no"
43241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43242 conftest$ac_exeext conftest.$ac_ext
43244 ac_res=`eval echo '${'$as_ac_var'}'`
43245 { echo "$as_me:$LINENO: result: $ac_res" >&5
43246 echo "${ECHO_T}$ac_res" >&6; }
43247 if test `eval echo '${'$as_ac_var'}'` = yes; then
43248 cat >>confdefs.h <<_ACEOF
43249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43252 cat >>confdefs.h <<\_ACEOF
43253 #define HAVE_SHL_LOAD 1
43260 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43261 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43262 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43263 echo $ECHO_N "(cached) $ECHO_C" >&6
43265 ac_check_lib_save_LIBS=$LIBS
43266 LIBS="-lshl_load $LIBS"
43267 cat >conftest.$ac_ext <<_ACEOF
43270 cat confdefs.h >>conftest.$ac_ext
43271 cat >>conftest.$ac_ext <<_ACEOF
43272 /* end confdefs.h. */
43274 /* Override any GCC internal prototype to avoid an error.
43275 Use char because int might match the return type of a GCC
43276 builtin and then its argument prototype would still apply. */
43289 rm -f conftest.$ac_objext conftest$ac_exeext
43290 if { (ac_try="$ac_link"
43291 case "(($ac_try" in
43292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43293 *) ac_try_echo=$ac_try;;
43295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43296 (eval "$ac_link") 2>conftest.er1
43298 grep -v '^ *+' conftest.er1 >conftest.err
43300 cat conftest.err >&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } && {
43303 test -z "$ac_c_werror_flag" ||
43304 test ! -s conftest.err
43305 } && test -s conftest$ac_exeext &&
43306 $as_test_x conftest$ac_exeext; then
43307 ac_cv_lib_shl_load_dld=yes
43309 echo "$as_me: failed program was:" >&5
43310 sed 's/^/| /' conftest.$ac_ext >&5
43312 ac_cv_lib_shl_load_dld=no
43315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43316 conftest$ac_exeext conftest.$ac_ext
43317 LIBS=$ac_check_lib_save_LIBS
43319 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43320 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43321 if test $ac_cv_lib_shl_load_dld = yes; then
43324 DL_LINK=" -ldld$DL_LINK"
43340 if test "$HAVE_DL_FUNCS" = 1; then
43342 for ac_func in dlerror
43344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43345 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43348 echo $ECHO_N "(cached) $ECHO_C" >&6
43350 cat >conftest.$ac_ext <<_ACEOF
43353 cat confdefs.h >>conftest.$ac_ext
43354 cat >>conftest.$ac_ext <<_ACEOF
43355 /* end confdefs.h. */
43356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43358 #define $ac_func innocuous_$ac_func
43360 /* System header to define __stub macros and hopefully few prototypes,
43361 which can conflict with char $ac_func (); below.
43362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43363 <limits.h> exists even on freestanding compilers. */
43366 # include <limits.h>
43368 # include <assert.h>
43373 /* Override any GCC internal prototype to avoid an error.
43374 Use char because int might match the return type of a GCC
43375 builtin and then its argument prototype would still apply. */
43380 /* The GNU C library defines this for functions which it implements
43381 to always fail with ENOSYS. Some functions are actually named
43382 something starting with __ and the normal name is an alias. */
43383 #if defined __stub_$ac_func || defined __stub___$ac_func
43390 return $ac_func ();
43395 rm -f conftest.$ac_objext conftest$ac_exeext
43396 if { (ac_try="$ac_link"
43397 case "(($ac_try" in
43398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43399 *) ac_try_echo=$ac_try;;
43401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43402 (eval "$ac_link") 2>conftest.er1
43404 grep -v '^ *+' conftest.er1 >conftest.err
43406 cat conftest.err >&5
43407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408 (exit $ac_status); } && {
43409 test -z "$ac_c_werror_flag" ||
43410 test ! -s conftest.err
43411 } && test -s conftest$ac_exeext &&
43412 $as_test_x conftest$ac_exeext; then
43413 eval "$as_ac_var=yes"
43415 echo "$as_me: failed program was:" >&5
43416 sed 's/^/| /' conftest.$ac_ext >&5
43418 eval "$as_ac_var=no"
43421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43422 conftest$ac_exeext conftest.$ac_ext
43424 ac_res=`eval echo '${'$as_ac_var'}'`
43425 { echo "$as_me:$LINENO: result: $ac_res" >&5
43426 echo "${ECHO_T}$ac_res" >&6; }
43427 if test `eval echo '${'$as_ac_var'}'` = yes; then
43428 cat >>confdefs.h <<_ACEOF
43429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43431 cat >>confdefs.h <<\_ACEOF
43432 #define HAVE_DLERROR 1
43437 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43438 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43439 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43440 echo $ECHO_N "(cached) $ECHO_C" >&6
43442 ac_check_lib_save_LIBS=$LIBS
43444 cat >conftest.$ac_ext <<_ACEOF
43447 cat confdefs.h >>conftest.$ac_ext
43448 cat >>conftest.$ac_ext <<_ACEOF
43449 /* end confdefs.h. */
43451 /* Override any GCC internal prototype to avoid an error.
43452 Use char because int might match the return type of a GCC
43453 builtin and then its argument prototype would still apply. */
43466 rm -f conftest.$ac_objext conftest$ac_exeext
43467 if { (ac_try="$ac_link"
43468 case "(($ac_try" in
43469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43470 *) ac_try_echo=$ac_try;;
43472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43473 (eval "$ac_link") 2>conftest.er1
43475 grep -v '^ *+' conftest.er1 >conftest.err
43477 cat conftest.err >&5
43478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43479 (exit $ac_status); } && {
43480 test -z "$ac_c_werror_flag" ||
43481 test ! -s conftest.err
43482 } && test -s conftest$ac_exeext &&
43483 $as_test_x conftest$ac_exeext; then
43484 ac_cv_lib_dl_dlerror=yes
43486 echo "$as_me: failed program was:" >&5
43487 sed 's/^/| /' conftest.$ac_ext >&5
43489 ac_cv_lib_dl_dlerror=no
43492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43493 conftest$ac_exeext conftest.$ac_ext
43494 LIBS=$ac_check_lib_save_LIBS
43496 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43497 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43498 if test $ac_cv_lib_dl_dlerror = yes; then
43499 cat >>confdefs.h <<\_ACEOF
43500 #define HAVE_DLERROR 1
43513 if test "$USE_DARWIN" = 1; then
43517 if test "$HAVE_DL_FUNCS" = 0; then
43518 if test "$HAVE_SHL_FUNCS" = 0; then
43519 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43520 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43521 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43522 wxUSE_DYNAMIC_LOADER=no
43523 wxUSE_DYNLIB_CLASS=no
43525 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43526 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43533 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43534 cat >>confdefs.h <<\_ACEOF
43535 #define wxUSE_DYNAMIC_LOADER 1
43539 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define wxUSE_DYNLIB_CLASS 1
43548 if test "$wxUSE_PLUGINS" = "yes" ; then
43549 if test "$wxUSE_SHARED" = "no" ; then
43550 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43551 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43554 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43555 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43556 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43559 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43560 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43561 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43564 if test "$wxUSE_PLUGINS" = "yes" ; then
43565 cat >>confdefs.h <<\_ACEOF
43566 #define wxUSE_PLUGINS 1
43573 if test "$wxUSE_FSWATCHER" = "yes"; then
43574 if test "$wxUSE_MSW" != "1"; then
43575 if test "$wxUSE_UNIX" = "yes"; then
43577 for ac_header in sys/inotify.h
43579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43580 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43583 echo $ECHO_N "(cached) $ECHO_C" >&6
43585 cat >conftest.$ac_ext <<_ACEOF
43588 cat confdefs.h >>conftest.$ac_ext
43589 cat >>conftest.$ac_ext <<_ACEOF
43590 /* end confdefs.h. */
43591 $ac_includes_default
43593 #include <$ac_header>
43595 rm -f conftest.$ac_objext
43596 if { (ac_try="$ac_compile"
43597 case "(($ac_try" in
43598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43599 *) ac_try_echo=$ac_try;;
43601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43602 (eval "$ac_compile") 2>conftest.er1
43604 grep -v '^ *+' conftest.er1 >conftest.err
43606 cat conftest.err >&5
43607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43608 (exit $ac_status); } && {
43609 test -z "$ac_c_werror_flag" ||
43610 test ! -s conftest.err
43611 } && test -s conftest.$ac_objext; then
43612 eval "$as_ac_Header=yes"
43614 echo "$as_me: failed program was:" >&5
43615 sed 's/^/| /' conftest.$ac_ext >&5
43617 eval "$as_ac_Header=no"
43620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43622 ac_res=`eval echo '${'$as_ac_Header'}'`
43623 { echo "$as_me:$LINENO: result: $ac_res" >&5
43624 echo "${ECHO_T}$ac_res" >&6; }
43625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43626 cat >>confdefs.h <<_ACEOF
43627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43634 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43635 cat >>confdefs.h <<\_ACEOF
43636 #define wxHAS_INOTIFY 1
43641 for ac_header in sys/event.h
43643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43647 echo $ECHO_N "(cached) $ECHO_C" >&6
43649 cat >conftest.$ac_ext <<_ACEOF
43652 cat confdefs.h >>conftest.$ac_ext
43653 cat >>conftest.$ac_ext <<_ACEOF
43654 /* end confdefs.h. */
43655 $ac_includes_default
43657 #include <$ac_header>
43659 rm -f conftest.$ac_objext
43660 if { (ac_try="$ac_compile"
43661 case "(($ac_try" in
43662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43663 *) ac_try_echo=$ac_try;;
43665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43666 (eval "$ac_compile") 2>conftest.er1
43668 grep -v '^ *+' conftest.er1 >conftest.err
43670 cat conftest.err >&5
43671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43672 (exit $ac_status); } && {
43673 test -z "$ac_c_werror_flag" ||
43674 test ! -s conftest.err
43675 } && test -s conftest.$ac_objext; then
43676 eval "$as_ac_Header=yes"
43678 echo "$as_me: failed program was:" >&5
43679 sed 's/^/| /' conftest.$ac_ext >&5
43681 eval "$as_ac_Header=no"
43684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43686 ac_res=`eval echo '${'$as_ac_Header'}'`
43687 { echo "$as_me:$LINENO: result: $ac_res" >&5
43688 echo "${ECHO_T}$ac_res" >&6; }
43689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43690 cat >>confdefs.h <<_ACEOF
43691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43698 if test "$ac_cv_header_sys_event_h" = "yes"; then
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxHAS_KQUEUE 1
43712 if test "$wxUSE_FSWATCHER" = "yes"; then
43713 cat >>confdefs.h <<\_ACEOF
43714 #define wxUSE_FSWATCHER 1
43717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43719 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43720 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43725 if test "$wxUSE_STL" = "yes"; then
43726 cat >>confdefs.h <<\_ACEOF
43727 #define wxUSE_STL 1
43732 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_EXTENDED_RTTI 1
43739 if test "$wxUSE_ANY" = "yes"; then
43740 cat >>confdefs.h <<\_ACEOF
43741 #define wxUSE_ANY 1
43746 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43747 cat >>confdefs.h <<\_ACEOF
43748 #define wxUSE_APPLE_IEEE 1
43753 if test "$wxUSE_TIMER" = "yes"; then
43754 cat >>confdefs.h <<\_ACEOF
43755 #define wxUSE_TIMER 1
43760 if test "$USE_UNIX" = 1 ; then
43761 if test "$wxUSE_MGL" != 1; then
43762 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43763 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43764 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43765 echo $ECHO_N "(cached) $ECHO_C" >&6
43768 cat >conftest.$ac_ext <<_ACEOF
43771 cat confdefs.h >>conftest.$ac_ext
43772 cat >>conftest.$ac_ext <<_ACEOF
43773 /* end confdefs.h. */
43775 #include <sys/ioctl.h>
43776 #include <sys/soundcard.h>
43782 ioctl(0, SNDCTL_DSP_SPEED, 0);
43788 rm -f conftest.$ac_objext conftest$ac_exeext
43789 if { (ac_try="$ac_link"
43790 case "(($ac_try" in
43791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43792 *) ac_try_echo=$ac_try;;
43794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43795 (eval "$ac_link") 2>conftest.er1
43797 grep -v '^ *+' conftest.er1 >conftest.err
43799 cat conftest.err >&5
43800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43801 (exit $ac_status); } && {
43802 test -z "$ac_c_werror_flag" ||
43803 test ! -s conftest.err
43804 } && test -s conftest$ac_exeext &&
43805 $as_test_x conftest$ac_exeext; then
43806 ac_cv_header_sys_soundcard=yes
43808 echo "$as_me: failed program was:" >&5
43809 sed 's/^/| /' conftest.$ac_ext >&5
43813 LIBS="$saveLibs -lossaudio"
43814 cat >conftest.$ac_ext <<_ACEOF
43817 cat confdefs.h >>conftest.$ac_ext
43818 cat >>conftest.$ac_ext <<_ACEOF
43819 /* end confdefs.h. */
43821 #include <sys/ioctl.h>
43822 #include <sys/soundcard.h>
43828 ioctl(0, SNDCTL_DSP_SPEED, 0);
43834 rm -f conftest.$ac_objext conftest$ac_exeext
43835 if { (ac_try="$ac_link"
43836 case "(($ac_try" in
43837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43838 *) ac_try_echo=$ac_try;;
43840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43841 (eval "$ac_link") 2>conftest.er1
43843 grep -v '^ *+' conftest.er1 >conftest.err
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } && {
43848 test -z "$ac_c_werror_flag" ||
43849 test ! -s conftest.err
43850 } && test -s conftest$ac_exeext &&
43851 $as_test_x conftest$ac_exeext; then
43852 ac_cv_header_sys_soundcard=yes
43854 echo "$as_me: failed program was:" >&5
43855 sed 's/^/| /' conftest.$ac_ext >&5
43859 ac_cv_header_sys_soundcard=no
43864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43865 conftest$ac_exeext conftest.$ac_ext
43870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43871 conftest$ac_exeext conftest.$ac_ext
43874 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43875 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43878 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43879 cat >>confdefs.h <<\_ACEOF
43880 #define HAVE_SYS_SOUNDCARD_H 1
43887 if test "$wxUSE_SOUND" = "yes"; then
43888 if test "$USE_UNIX" = 1 ; then
43889 if test "$wxUSE_LIBSDL" != "no"; then
43891 # Check whether --with-sdl-prefix was given.
43892 if test "${with_sdl_prefix+set}" = set; then
43893 withval=$with_sdl_prefix; sdl_prefix="$withval"
43899 # Check whether --with-sdl-exec-prefix was given.
43900 if test "${with_sdl_exec_prefix+set}" = set; then
43901 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43906 # Check whether --enable-sdltest was given.
43907 if test "${enable_sdltest+set}" = set; then
43908 enableval=$enable_sdltest;
43914 if test x$sdl_exec_prefix != x ; then
43915 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43916 if test x${SDL_CONFIG+set} != xset ; then
43917 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43920 if test x$sdl_prefix != x ; then
43921 sdl_args="$sdl_args --prefix=$sdl_prefix"
43922 if test x${SDL_CONFIG+set} != xset ; then
43923 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43927 if test "x$prefix" != xNONE; then
43928 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43930 # Extract the first word of "sdl-config", so it can be a program name with args.
43931 set dummy sdl-config; ac_word=$2
43932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43934 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43935 echo $ECHO_N "(cached) $ECHO_C" >&6
43937 case $SDL_CONFIG in
43939 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43943 for as_dir in $PATH
43946 test -z "$as_dir" && as_dir=.
43947 for ac_exec_ext in '' $ac_executable_extensions; do
43948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43949 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43957 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43961 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43962 if test -n "$SDL_CONFIG"; then
43963 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43964 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43966 { echo "$as_me:$LINENO: result: no" >&5
43967 echo "${ECHO_T}no" >&6; }
43971 min_sdl_version=1.2.0
43972 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43973 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43975 if test "$SDL_CONFIG" = "no" ; then
43978 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43979 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43981 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43983 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43985 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43987 if test "x$enable_sdltest" = "xyes" ; then
43988 ac_save_CFLAGS="$CFLAGS"
43989 ac_save_CXXFLAGS="$CXXFLAGS"
43990 ac_save_LIBS="$LIBS"
43991 CFLAGS="$CFLAGS $SDL_CFLAGS"
43992 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43993 LIBS="$LIBS $SDL_LIBS"
43995 if test "$cross_compiling" = yes; then
43996 echo $ac_n "cross compiling; assumed OK... $ac_c"
43998 cat >conftest.$ac_ext <<_ACEOF
44001 cat confdefs.h >>conftest.$ac_ext
44002 cat >>conftest.$ac_ext <<_ACEOF
44003 /* end confdefs.h. */
44006 #include <stdlib.h>
44007 #include <string.h>
44011 my_strdup (char *str)
44017 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44018 strcpy (new_str, str);
44026 int main (int argc, char *argv[])
44028 int major, minor, micro;
44031 /* This hangs on some systems (?)
44032 system ("touch conf.sdltest");
44034 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44036 /* HP/UX 9 (%@#!) writes to sscanf strings */
44037 tmp_version = my_strdup("$min_sdl_version");
44038 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44039 printf("%s, bad version string\n", "$min_sdl_version");
44043 if (($sdl_major_version > major) ||
44044 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44045 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44051 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44052 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44053 printf("*** best to upgrade to the required version.\n");
44054 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44055 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44056 printf("*** config.cache before re-running configure\n");
44063 rm -f conftest$ac_exeext
44064 if { (ac_try="$ac_link"
44065 case "(($ac_try" in
44066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44067 *) ac_try_echo=$ac_try;;
44069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44070 (eval "$ac_link") 2>&5
44072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44073 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44074 { (case "(($ac_try" in
44075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44076 *) ac_try_echo=$ac_try;;
44078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44079 (eval "$ac_try") 2>&5
44081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44082 (exit $ac_status); }; }; then
44085 echo "$as_me: program exited with status $ac_status" >&5
44086 echo "$as_me: failed program was:" >&5
44087 sed 's/^/| /' conftest.$ac_ext >&5
44089 ( exit $ac_status )
44092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44096 CFLAGS="$ac_save_CFLAGS"
44097 CXXFLAGS="$ac_save_CXXFLAGS"
44098 LIBS="$ac_save_LIBS"
44101 if test "x$no_sdl" = x ; then
44102 { echo "$as_me:$LINENO: result: yes" >&5
44103 echo "${ECHO_T}yes" >&6; }
44105 EXTRALIBS_SDL="$SDL_LIBS"
44106 CFLAGS="$SDL_CFLAGS $CFLAGS"
44107 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44108 cat >>confdefs.h <<\_ACEOF
44109 #define wxUSE_LIBSDL 1
44114 { echo "$as_me:$LINENO: result: no" >&5
44115 echo "${ECHO_T}no" >&6; }
44116 if test "$SDL_CONFIG" = "no" ; then
44117 echo "*** The sdl-config script installed by SDL could not be found"
44118 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44119 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44120 echo "*** full path to sdl-config."
44122 if test -f conf.sdltest ; then
44125 echo "*** Could not run SDL test program, checking why..."
44126 CFLAGS="$CFLAGS $SDL_CFLAGS"
44127 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44128 LIBS="$LIBS $SDL_LIBS"
44129 cat >conftest.$ac_ext <<_ACEOF
44132 cat confdefs.h >>conftest.$ac_ext
44133 cat >>conftest.$ac_ext <<_ACEOF
44134 /* end confdefs.h. */
44139 int main(int argc, char *argv[])
44142 #define main K_and_R_C_main
44152 rm -f conftest.$ac_objext conftest$ac_exeext
44153 if { (ac_try="$ac_link"
44154 case "(($ac_try" in
44155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44156 *) ac_try_echo=$ac_try;;
44158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44159 (eval "$ac_link") 2>conftest.er1
44161 grep -v '^ *+' conftest.er1 >conftest.err
44163 cat conftest.err >&5
44164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44165 (exit $ac_status); } && {
44166 test -z "$ac_c_werror_flag" ||
44167 test ! -s conftest.err
44168 } && test -s conftest$ac_exeext &&
44169 $as_test_x conftest$ac_exeext; then
44170 echo "*** The test program compiled, but did not run. This usually means"
44171 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44172 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44173 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44174 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44175 echo "*** is required on your system"
44177 echo "*** If you have an old version installed, it is best to remove it, although"
44178 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44180 echo "$as_me: failed program was:" >&5
44181 sed 's/^/| /' conftest.$ac_ext >&5
44183 echo "*** The test program failed to compile or link. See the file config.log for the"
44184 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44185 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44186 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44190 conftest$ac_exeext conftest.$ac_ext
44191 CFLAGS="$ac_save_CFLAGS"
44192 CXXFLAGS="$ac_save_CXXFLAGS"
44193 LIBS="$ac_save_LIBS"
44204 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44209 if test "$wxUSE_MGL" = 1; then
44210 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44211 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44217 if test "$wxUSE_SOUND" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_SOUND 1
44222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44225 if test "$WXGTK2" = 1; then
44228 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44229 if test -n "$ac_tool_prefix"; then
44230 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44231 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44234 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44235 echo $ECHO_N "(cached) $ECHO_C" >&6
44237 case $PKG_CONFIG in
44239 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44243 for as_dir in $PATH
44246 test -z "$as_dir" && as_dir=.
44247 for ac_exec_ext in '' $ac_executable_extensions; do
44248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44249 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44260 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44261 if test -n "$PKG_CONFIG"; then
44262 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44263 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44265 { echo "$as_me:$LINENO: result: no" >&5
44266 echo "${ECHO_T}no" >&6; }
44271 if test -z "$ac_cv_path_PKG_CONFIG"; then
44272 ac_pt_PKG_CONFIG=$PKG_CONFIG
44273 # Extract the first word of "pkg-config", so it can be a program name with args.
44274 set dummy pkg-config; ac_word=$2
44275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44277 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44278 echo $ECHO_N "(cached) $ECHO_C" >&6
44280 case $ac_pt_PKG_CONFIG in
44282 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44286 for as_dir in $PATH
44289 test -z "$as_dir" && as_dir=.
44290 for ac_exec_ext in '' $ac_executable_extensions; do
44291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44292 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44303 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44304 if test -n "$ac_pt_PKG_CONFIG"; then
44305 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44306 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44308 { echo "$as_me:$LINENO: result: no" >&5
44309 echo "${ECHO_T}no" >&6; }
44312 if test "x$ac_pt_PKG_CONFIG" = x; then
44315 case $cross_compiling:$ac_tool_warned in
44317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44318 whose name does not start with the host triplet. If you think this
44319 configuration is useful to you, please write to autoconf@gnu.org." >&5
44320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44321 whose name does not start with the host triplet. If you think this
44322 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44323 ac_tool_warned=yes ;;
44325 PKG_CONFIG=$ac_pt_PKG_CONFIG
44328 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44332 if test -n "$PKG_CONFIG"; then
44333 _pkg_min_version=0.9.0
44334 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44335 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44336 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44337 { echo "$as_me:$LINENO: result: yes" >&5
44338 echo "${ECHO_T}yes" >&6; }
44340 { echo "$as_me:$LINENO: result: no" >&5
44341 echo "${ECHO_T}no" >&6; }
44347 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44349 if test "$wxUSE_GTKPRINT" = "yes" ; then
44353 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44354 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44356 if test -n "$PKG_CONFIG"; then
44357 if test -n "$GTKPRINT_CFLAGS"; then
44358 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44360 if test -n "$PKG_CONFIG" && \
44361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44362 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44365 (exit $ac_status); }; then
44366 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44374 if test -n "$PKG_CONFIG"; then
44375 if test -n "$GTKPRINT_LIBS"; then
44376 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44378 if test -n "$PKG_CONFIG" && \
44379 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44380 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44383 (exit $ac_status); }; then
44384 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44395 if test $pkg_failed = yes; then
44397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44398 _pkg_short_errors_supported=yes
44400 _pkg_short_errors_supported=no
44402 if test $_pkg_short_errors_supported = yes; then
44403 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44405 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44407 # Put the nasty error message in config.log where it belongs
44408 echo "$GTKPRINT_PKG_ERRORS" >&5
44411 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44412 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44413 wxUSE_GTKPRINT="no"
44416 elif test $pkg_failed = untried; then
44418 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44419 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44420 wxUSE_GTKPRINT="no"
44424 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44425 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44426 { echo "$as_me:$LINENO: result: yes" >&5
44427 echo "${ECHO_T}yes" >&6; }
44429 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44430 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44431 cat >>confdefs.h <<\_ACEOF
44432 #define wxUSE_GTKPRINT 1
44439 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44443 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44444 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44446 if test -n "$PKG_CONFIG"; then
44447 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44448 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44450 if test -n "$PKG_CONFIG" && \
44451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44452 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); }; then
44456 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44464 if test -n "$PKG_CONFIG"; then
44465 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44466 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44468 if test -n "$PKG_CONFIG" && \
44469 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44470 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44473 (exit $ac_status); }; then
44474 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44485 if test $pkg_failed = yes; then
44487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44488 _pkg_short_errors_supported=yes
44490 _pkg_short_errors_supported=no
44492 if test $_pkg_short_errors_supported = yes; then
44493 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44495 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44497 # Put the nasty error message in config.log where it belongs
44498 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44501 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44502 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44503 wxUSE_LIBGNOMEPRINT="no"
44506 elif test $pkg_failed = untried; then
44508 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44509 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44510 wxUSE_LIBGNOMEPRINT="no"
44514 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44515 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44516 { echo "$as_me:$LINENO: result: yes" >&5
44517 echo "${ECHO_T}yes" >&6; }
44519 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44520 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44521 cat >>confdefs.h <<\_ACEOF
44522 #define wxUSE_LIBGNOMEPRINT 1
44530 if test "$wxUSE_MIMETYPE" = "yes" ; then
44531 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44535 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44536 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44538 if test -n "$PKG_CONFIG"; then
44539 if test -n "$GNOMEVFS_CFLAGS"; then
44540 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44542 if test -n "$PKG_CONFIG" && \
44543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44544 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); }; then
44548 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44556 if test -n "$PKG_CONFIG"; then
44557 if test -n "$GNOMEVFS_LIBS"; then
44558 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44560 if test -n "$PKG_CONFIG" && \
44561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44562 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44565 (exit $ac_status); }; then
44566 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44577 if test $pkg_failed = yes; then
44579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44580 _pkg_short_errors_supported=yes
44582 _pkg_short_errors_supported=no
44584 if test $_pkg_short_errors_supported = yes; then
44585 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44587 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44589 # Put the nasty error message in config.log where it belongs
44590 echo "$GNOMEVFS_PKG_ERRORS" >&5
44593 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44594 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44595 wxUSE_LIBGNOMEVFS="no"
44598 elif test $pkg_failed = untried; then
44600 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44601 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44602 wxUSE_LIBGNOMEVFS="no"
44606 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44607 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44608 { echo "$as_me:$LINENO: result: yes" >&5
44609 echo "${ECHO_T}yes" >&6; }
44611 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44612 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44613 cat >>confdefs.h <<\_ACEOF
44614 #define wxUSE_LIBGNOMEVFS 1
44622 if test "$wxUSE_LIBHILDON" = "yes" ; then
44625 { echo "$as_me:$LINENO: checking for HILDON" >&5
44626 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44628 if test -n "$PKG_CONFIG"; then
44629 if test -n "$HILDON_CFLAGS"; then
44630 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44632 if test -n "$PKG_CONFIG" && \
44633 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44634 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); }; then
44638 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44646 if test -n "$PKG_CONFIG"; then
44647 if test -n "$HILDON_LIBS"; then
44648 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44650 if test -n "$PKG_CONFIG" && \
44651 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44652 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); }; then
44656 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44667 if test $pkg_failed = yes; then
44669 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44670 _pkg_short_errors_supported=yes
44672 _pkg_short_errors_supported=no
44674 if test $_pkg_short_errors_supported = yes; then
44675 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44677 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44679 # Put the nasty error message in config.log where it belongs
44680 echo "$HILDON_PKG_ERRORS" >&5
44683 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44684 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44685 wxUSE_LIBHILDON="no"
44689 elif test $pkg_failed = untried; then
44691 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44692 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44693 wxUSE_LIBHILDON="no"
44698 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44699 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44700 { echo "$as_me:$LINENO: result: yes" >&5
44701 echo "${ECHO_T}yes" >&6; }
44703 EXTRALIBS_HILDON="$HILDON_LIBS"
44704 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44705 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_LIBHILDON 1
44714 if test "$ac_hildon_lgpl" = 0 ; then
44717 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44718 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44720 if test -n "$PKG_CONFIG"; then
44721 if test -n "$HILDON2_CFLAGS"; then
44722 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44724 if test -n "$PKG_CONFIG" && \
44725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44726 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44729 (exit $ac_status); }; then
44730 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44738 if test -n "$PKG_CONFIG"; then
44739 if test -n "$HILDON2_LIBS"; then
44740 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44742 if test -n "$PKG_CONFIG" && \
44743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44744 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44747 (exit $ac_status); }; then
44748 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44759 if test $pkg_failed = yes; then
44761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44762 _pkg_short_errors_supported=yes
44764 _pkg_short_errors_supported=no
44766 if test $_pkg_short_errors_supported = yes; then
44767 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44769 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44771 # Put the nasty error message in config.log where it belongs
44772 echo "$HILDON2_PKG_ERRORS" >&5
44775 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44776 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44777 wxUSE_LIBHILDON2="no"
44780 elif test $pkg_failed = untried; then
44782 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44783 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44784 wxUSE_LIBHILDON2="no"
44788 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44789 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44790 { echo "$as_me:$LINENO: result: yes" >&5
44791 echo "${ECHO_T}yes" >&6; }
44793 EXTRALIBS_HILDON="$HILDON2_LIBS"
44794 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44795 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44796 cat >>confdefs.h <<\_ACEOF
44797 #define wxUSE_LIBHILDON2 1
44806 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44807 cat >>confdefs.h <<\_ACEOF
44808 #define wxUSE_CMDLINE_PARSER 1
44813 if test "$wxUSE_STOPWATCH" = "yes"; then
44814 cat >>confdefs.h <<\_ACEOF
44815 #define wxUSE_STOPWATCH 1
44820 if test "$wxUSE_DATETIME" = "yes"; then
44821 cat >>confdefs.h <<\_ACEOF
44822 #define wxUSE_DATETIME 1
44827 if test "$wxUSE_FILE" = "yes"; then
44828 cat >>confdefs.h <<\_ACEOF
44829 #define wxUSE_FILE 1
44834 if test "$wxUSE_FFILE" = "yes"; then
44835 cat >>confdefs.h <<\_ACEOF
44836 #define wxUSE_FFILE 1
44841 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44842 if test "$wxUSE_STREAMS" != yes; then
44843 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44844 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44845 wxUSE_ARCHIVE_STREAMS=no
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_ARCHIVE_STREAMS 1
44854 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44855 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44856 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44857 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44858 elif test "$wxUSE_ZLIB" = "no"; then
44859 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44860 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44862 cat >>confdefs.h <<\_ACEOF
44863 #define wxUSE_ZIPSTREAM 1
44869 if test "$wxUSE_TARSTREAM" = "yes"; then
44870 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44871 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44872 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44874 cat >>confdefs.h <<\_ACEOF
44875 #define wxUSE_TARSTREAM 1
44881 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_FILE_HISTORY 1
44888 if test "$wxUSE_FILESYSTEM" = "yes"; then
44889 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44890 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44891 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44892 wxUSE_FILESYSTEM=no
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_FILESYSTEM 1
44901 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44902 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44903 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44904 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44906 cat >>confdefs.h <<\_ACEOF
44907 #define wxUSE_FS_ARCHIVE 1
44913 if test "$wxUSE_FS_ZIP" = "yes"; then
44914 if test "$wxUSE_FS_ARCHIVE" != yes; then
44915 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44916 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_FS_ZIP 1
44925 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44926 if test "$USE_UNIX" != 1; then
44927 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44928 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44929 wxUSE_ON_FATAL_EXCEPTION=no
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_ON_FATAL_EXCEPTION 1
44938 if test "$wxUSE_STACKWALKER" = "yes"; then
44939 cat >>confdefs.h <<\_ACEOF
44940 #define wxUSE_STACKWALKER 1
44945 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44946 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44947 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44948 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44949 wxUSE_DEBUGREPORT=no
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_DEBUGREPORT 1
44955 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44961 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44962 cat >>confdefs.h <<\_ACEOF
44963 #define wxUSE_SNGLINST_CHECKER 1
44968 if test "$wxUSE_BUSYINFO" = "yes"; then
44969 cat >>confdefs.h <<\_ACEOF
44970 #define wxUSE_BUSYINFO 1
44975 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_STD_CONTAINERS 1
44982 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_STD_IOSTREAM 1
44989 if test "$wxUSE_STD_STRING" = "yes"; then
44990 cat >>confdefs.h <<\_ACEOF
44991 #define wxUSE_STD_STRING 1
44996 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
44997 cat >>confdefs.h <<\_ACEOF
44998 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45003 if test "$wxUSE_STDPATHS" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_STDPATHS 1
45010 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_TEXTBUFFER 1
45017 if test "$wxUSE_TEXTFILE" = "yes"; then
45018 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45019 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45020 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45022 cat >>confdefs.h <<\_ACEOF
45023 #define wxUSE_TEXTFILE 1
45029 if test "$wxUSE_CONFIG" = "yes" ; then
45030 if test "$wxUSE_TEXTFILE" != "yes"; then
45031 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45032 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45034 cat >>confdefs.h <<\_ACEOF
45035 #define wxUSE_CONFIG 1
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_CONFIG_NATIVE 1
45042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45046 if test "$wxUSE_INTL" = "yes" ; then
45047 if test "$wxUSE_FILE" != "yes"; then
45048 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45049 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_INTL 1
45055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45056 GUIDIST="$GUIDIST INTL_DIST"
45060 if test "$wxUSE_XLOCALE" = "yes" ; then
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_XLOCALE 1
45065 { echo "$as_me:$LINENO: checking for locale_t" >&5
45066 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45067 if test "${ac_cv_type_locale_t+set}" = set; then
45068 echo $ECHO_N "(cached) $ECHO_C" >&6
45070 cat >conftest.$ac_ext <<_ACEOF
45073 cat confdefs.h >>conftest.$ac_ext
45074 cat >>conftest.$ac_ext <<_ACEOF
45075 /* end confdefs.h. */
45076 #include <xlocale.h>
45077 #include <locale.h>
45079 typedef locale_t ac__type_new_;
45083 if ((ac__type_new_ *) 0)
45085 if (sizeof (ac__type_new_))
45091 rm -f conftest.$ac_objext
45092 if { (ac_try="$ac_compile"
45093 case "(($ac_try" in
45094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45095 *) ac_try_echo=$ac_try;;
45097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45098 (eval "$ac_compile") 2>conftest.er1
45100 grep -v '^ *+' conftest.er1 >conftest.err
45102 cat conftest.err >&5
45103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45104 (exit $ac_status); } && {
45105 test -z "$ac_c_werror_flag" ||
45106 test ! -s conftest.err
45107 } && test -s conftest.$ac_objext; then
45108 ac_cv_type_locale_t=yes
45110 echo "$as_me: failed program was:" >&5
45111 sed 's/^/| /' conftest.$ac_ext >&5
45113 ac_cv_type_locale_t=no
45116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45118 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45119 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45120 if test $ac_cv_type_locale_t = yes; then
45122 cat >>confdefs.h <<_ACEOF
45123 #define HAVE_LOCALE_T 1
45131 if test "$wxUSE_LOG" = "yes"; then
45132 cat >>confdefs.h <<\_ACEOF
45133 #define wxUSE_LOG 1
45137 if test "$wxUSE_LOGGUI" = "yes"; then
45138 cat >>confdefs.h <<\_ACEOF
45139 #define wxUSE_LOGGUI 1
45144 if test "$wxUSE_LOGWINDOW" = "yes"; then
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_LOGWINDOW 1
45151 if test "$wxUSE_LOGDIALOG" = "yes"; then
45152 cat >>confdefs.h <<\_ACEOF
45153 #define wxUSE_LOG_DIALOG 1
45158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45161 if test "$wxUSE_LONGLONG" = "yes"; then
45162 cat >>confdefs.h <<\_ACEOF
45163 #define wxUSE_LONGLONG 1
45168 if test "$wxUSE_GEOMETRY" = "yes"; then
45169 cat >>confdefs.h <<\_ACEOF
45170 #define wxUSE_GEOMETRY 1
45175 if test "$wxUSE_BASE64" = "yes"; then
45176 cat >>confdefs.h <<\_ACEOF
45177 #define wxUSE_BASE64 1
45182 if test "$wxUSE_STREAMS" = "yes" ; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_STREAMS 1
45189 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45190 cat >>confdefs.h <<\_ACEOF
45191 #define wxUSE_PRINTF_POS_PARAMS 1
45196 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_OBJC_UNIQUIFYING 1
45204 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_CONSOLE_EVENTLOOP 1
45210 if test "$wxUSE_UNIX" = "yes"; then
45211 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45212 cat >>confdefs.h <<\_ACEOF
45213 #define wxUSE_SELECT_DISPATCHER 1
45218 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45220 for ac_header in sys/epoll.h
45222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45226 echo $ECHO_N "(cached) $ECHO_C" >&6
45228 cat >conftest.$ac_ext <<_ACEOF
45231 cat confdefs.h >>conftest.$ac_ext
45232 cat >>conftest.$ac_ext <<_ACEOF
45233 /* end confdefs.h. */
45234 $ac_includes_default
45236 #include <$ac_header>
45238 rm -f conftest.$ac_objext
45239 if { (ac_try="$ac_compile"
45240 case "(($ac_try" in
45241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45242 *) ac_try_echo=$ac_try;;
45244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45245 (eval "$ac_compile") 2>conftest.er1
45247 grep -v '^ *+' conftest.er1 >conftest.err
45249 cat conftest.err >&5
45250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45251 (exit $ac_status); } && {
45252 test -z "$ac_c_werror_flag" ||
45253 test ! -s conftest.err
45254 } && test -s conftest.$ac_objext; then
45255 eval "$as_ac_Header=yes"
45257 echo "$as_me: failed program was:" >&5
45258 sed 's/^/| /' conftest.$ac_ext >&5
45260 eval "$as_ac_Header=no"
45263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45265 ac_res=`eval echo '${'$as_ac_Header'}'`
45266 { echo "$as_me:$LINENO: result: $ac_res" >&5
45267 echo "${ECHO_T}$ac_res" >&6; }
45268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45269 cat >>confdefs.h <<_ACEOF
45270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45277 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45278 cat >>confdefs.h <<\_ACEOF
45279 #define wxUSE_EPOLL_DISPATCHER 1
45283 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45284 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45293 for ac_func in gettimeofday ftime
45295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45299 echo $ECHO_N "(cached) $ECHO_C" >&6
45301 cat >conftest.$ac_ext <<_ACEOF
45304 cat confdefs.h >>conftest.$ac_ext
45305 cat >>conftest.$ac_ext <<_ACEOF
45306 /* end confdefs.h. */
45307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45309 #define $ac_func innocuous_$ac_func
45311 /* System header to define __stub macros and hopefully few prototypes,
45312 which can conflict with char $ac_func (); below.
45313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45314 <limits.h> exists even on freestanding compilers. */
45317 # include <limits.h>
45319 # include <assert.h>
45324 /* Override any GCC internal prototype to avoid an error.
45325 Use char because int might match the return type of a GCC
45326 builtin and then its argument prototype would still apply. */
45331 /* The GNU C library defines this for functions which it implements
45332 to always fail with ENOSYS. Some functions are actually named
45333 something starting with __ and the normal name is an alias. */
45334 #if defined __stub_$ac_func || defined __stub___$ac_func
45341 return $ac_func ();
45346 rm -f conftest.$ac_objext conftest$ac_exeext
45347 if { (ac_try="$ac_link"
45348 case "(($ac_try" in
45349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45350 *) ac_try_echo=$ac_try;;
45352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45353 (eval "$ac_link") 2>conftest.er1
45355 grep -v '^ *+' conftest.er1 >conftest.err
45357 cat conftest.err >&5
45358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45359 (exit $ac_status); } && {
45360 test -z "$ac_c_werror_flag" ||
45361 test ! -s conftest.err
45362 } && test -s conftest$ac_exeext &&
45363 $as_test_x conftest$ac_exeext; then
45364 eval "$as_ac_var=yes"
45366 echo "$as_me: failed program was:" >&5
45367 sed 's/^/| /' conftest.$ac_ext >&5
45369 eval "$as_ac_var=no"
45372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45373 conftest$ac_exeext conftest.$ac_ext
45375 ac_res=`eval echo '${'$as_ac_var'}'`
45376 { echo "$as_me:$LINENO: result: $ac_res" >&5
45377 echo "${ECHO_T}$ac_res" >&6; }
45378 if test `eval echo '${'$as_ac_var'}'` = yes; then
45379 cat >>confdefs.h <<_ACEOF
45380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45387 if test "$ac_cv_func_gettimeofday" = "yes"; then
45388 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45389 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45390 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45391 echo $ECHO_N "(cached) $ECHO_C" >&6
45394 cat >conftest.$ac_ext <<_ACEOF
45397 cat confdefs.h >>conftest.$ac_ext
45398 cat >>conftest.$ac_ext <<_ACEOF
45399 /* end confdefs.h. */
45401 #include <sys/time.h>
45402 #include <unistd.h>
45409 gettimeofday(&tv, NULL);
45415 rm -f conftest.$ac_objext
45416 if { (ac_try="$ac_compile"
45417 case "(($ac_try" in
45418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45419 *) ac_try_echo=$ac_try;;
45421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45422 (eval "$ac_compile") 2>conftest.er1
45424 grep -v '^ *+' conftest.er1 >conftest.err
45426 cat conftest.err >&5
45427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45428 (exit $ac_status); } && {
45429 test -z "$ac_c_werror_flag" ||
45430 test ! -s conftest.err
45431 } && test -s conftest.$ac_objext; then
45432 wx_cv_func_gettimeofday_has_2_args=yes
45434 echo "$as_me: failed program was:" >&5
45435 sed 's/^/| /' conftest.$ac_ext >&5
45437 cat >conftest.$ac_ext <<_ACEOF
45440 cat confdefs.h >>conftest.$ac_ext
45441 cat >>conftest.$ac_ext <<_ACEOF
45442 /* end confdefs.h. */
45444 #include <sys/time.h>
45445 #include <unistd.h>
45458 rm -f conftest.$ac_objext
45459 if { (ac_try="$ac_compile"
45460 case "(($ac_try" in
45461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45462 *) ac_try_echo=$ac_try;;
45464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45465 (eval "$ac_compile") 2>conftest.er1
45467 grep -v '^ *+' conftest.er1 >conftest.err
45469 cat conftest.err >&5
45470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45471 (exit $ac_status); } && {
45472 test -z "$ac_c_werror_flag" ||
45473 test ! -s conftest.err
45474 } && test -s conftest.$ac_objext; then
45475 wx_cv_func_gettimeofday_has_2_args=no
45477 echo "$as_me: failed program was:" >&5
45478 sed 's/^/| /' conftest.$ac_ext >&5
45481 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45482 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45483 wx_cv_func_gettimeofday_has_2_args=unknown
45488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45495 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45496 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45498 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45499 cat >>confdefs.h <<\_ACEOF
45500 #define WX_GETTIMEOFDAY_NO_TZ 1
45506 if test "$wxUSE_DATETIME" = "yes"; then
45507 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45508 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45509 if test "${wx_cv_var_timezone+set}" = set; then
45510 echo $ECHO_N "(cached) $ECHO_C" >&6
45514 ac_cpp='$CXXCPP $CPPFLAGS'
45515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45519 cat >conftest.$ac_ext <<_ACEOF
45522 cat confdefs.h >>conftest.$ac_ext
45523 cat >>conftest.$ac_ext <<_ACEOF
45524 /* end confdefs.h. */
45539 rm -f conftest.$ac_objext
45540 if { (ac_try="$ac_compile"
45541 case "(($ac_try" in
45542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45543 *) ac_try_echo=$ac_try;;
45545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45546 (eval "$ac_compile") 2>conftest.er1
45548 grep -v '^ *+' conftest.er1 >conftest.err
45550 cat conftest.err >&5
45551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45552 (exit $ac_status); } && {
45553 test -z "$ac_cxx_werror_flag" ||
45554 test ! -s conftest.err
45555 } && test -s conftest.$ac_objext; then
45557 wx_cv_var_timezone=timezone
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.$ac_ext >&5
45564 cat >conftest.$ac_ext <<_ACEOF
45567 cat confdefs.h >>conftest.$ac_ext
45568 cat >>conftest.$ac_ext <<_ACEOF
45569 /* end confdefs.h. */
45584 rm -f conftest.$ac_objext
45585 if { (ac_try="$ac_compile"
45586 case "(($ac_try" in
45587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45588 *) ac_try_echo=$ac_try;;
45590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45591 (eval "$ac_compile") 2>conftest.er1
45593 grep -v '^ *+' conftest.er1 >conftest.err
45595 cat conftest.err >&5
45596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45597 (exit $ac_status); } && {
45598 test -z "$ac_cxx_werror_flag" ||
45599 test ! -s conftest.err
45600 } && test -s conftest.$ac_objext; then
45602 wx_cv_var_timezone=_timezone
45605 echo "$as_me: failed program was:" >&5
45606 sed 's/^/| /' conftest.$ac_ext >&5
45609 cat >conftest.$ac_ext <<_ACEOF
45612 cat confdefs.h >>conftest.$ac_ext
45613 cat >>conftest.$ac_ext <<_ACEOF
45614 /* end confdefs.h. */
45629 rm -f conftest.$ac_objext
45630 if { (ac_try="$ac_compile"
45631 case "(($ac_try" in
45632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45633 *) ac_try_echo=$ac_try;;
45635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45636 (eval "$ac_compile") 2>conftest.er1
45638 grep -v '^ *+' conftest.er1 >conftest.err
45640 cat conftest.err >&5
45641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45642 (exit $ac_status); } && {
45643 test -z "$ac_cxx_werror_flag" ||
45644 test ! -s conftest.err
45645 } && test -s conftest.$ac_objext; then
45647 wx_cv_var_timezone=__timezone
45650 echo "$as_me: failed program was:" >&5
45651 sed 's/^/| /' conftest.$ac_ext >&5
45654 if test "$USE_DOS" = 0 ; then
45655 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45656 echo "$as_me: WARNING: no timezone variable" >&2;}
45662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45674 ac_cpp='$CPP $CPPFLAGS'
45675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45682 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45683 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45685 if test "x$wx_cv_var_timezone" != x ; then
45686 cat >>confdefs.h <<_ACEOF
45687 #define WX_TIMEZONE $wx_cv_var_timezone
45693 for ac_func in localtime
45695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45699 echo $ECHO_N "(cached) $ECHO_C" >&6
45701 cat >conftest.$ac_ext <<_ACEOF
45704 cat confdefs.h >>conftest.$ac_ext
45705 cat >>conftest.$ac_ext <<_ACEOF
45706 /* end confdefs.h. */
45707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45709 #define $ac_func innocuous_$ac_func
45711 /* System header to define __stub macros and hopefully few prototypes,
45712 which can conflict with char $ac_func (); below.
45713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45714 <limits.h> exists even on freestanding compilers. */
45717 # include <limits.h>
45719 # include <assert.h>
45724 /* Override any GCC internal prototype to avoid an error.
45725 Use char because int might match the return type of a GCC
45726 builtin and then its argument prototype would still apply. */
45731 /* The GNU C library defines this for functions which it implements
45732 to always fail with ENOSYS. Some functions are actually named
45733 something starting with __ and the normal name is an alias. */
45734 #if defined __stub_$ac_func || defined __stub___$ac_func
45741 return $ac_func ();
45746 rm -f conftest.$ac_objext conftest$ac_exeext
45747 if { (ac_try="$ac_link"
45748 case "(($ac_try" in
45749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45750 *) ac_try_echo=$ac_try;;
45752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45753 (eval "$ac_link") 2>conftest.er1
45755 grep -v '^ *+' conftest.er1 >conftest.err
45757 cat conftest.err >&5
45758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45759 (exit $ac_status); } && {
45760 test -z "$ac_c_werror_flag" ||
45761 test ! -s conftest.err
45762 } && test -s conftest$ac_exeext &&
45763 $as_test_x conftest$ac_exeext; then
45764 eval "$as_ac_var=yes"
45766 echo "$as_me: failed program was:" >&5
45767 sed 's/^/| /' conftest.$ac_ext >&5
45769 eval "$as_ac_var=no"
45772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45773 conftest$ac_exeext conftest.$ac_ext
45775 ac_res=`eval echo '${'$as_ac_var'}'`
45776 { echo "$as_me:$LINENO: result: $ac_res" >&5
45777 echo "${ECHO_T}$ac_res" >&6; }
45778 if test `eval echo '${'$as_ac_var'}'` = yes; then
45779 cat >>confdefs.h <<_ACEOF
45780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45787 if test "$ac_cv_func_localtime" = "yes"; then
45788 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45789 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45790 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45791 echo $ECHO_N "(cached) $ECHO_C" >&6
45794 cat >conftest.$ac_ext <<_ACEOF
45797 cat confdefs.h >>conftest.$ac_ext
45798 cat >>conftest.$ac_ext <<_ACEOF
45799 /* end confdefs.h. */
45814 rm -f conftest.$ac_objext
45815 if { (ac_try="$ac_compile"
45816 case "(($ac_try" in
45817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45818 *) ac_try_echo=$ac_try;;
45820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45821 (eval "$ac_compile") 2>conftest.er1
45823 grep -v '^ *+' conftest.er1 >conftest.err
45825 cat conftest.err >&5
45826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827 (exit $ac_status); } && {
45828 test -z "$ac_c_werror_flag" ||
45829 test ! -s conftest.err
45830 } && test -s conftest.$ac_objext; then
45832 wx_cv_struct_tm_has_gmtoff=yes
45835 echo "$as_me: failed program was:" >&5
45836 sed 's/^/| /' conftest.$ac_ext >&5
45838 wx_cv_struct_tm_has_gmtoff=no
45842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45845 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45846 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45849 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define WX_GMTOFF_IN_TM 1
45856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45860 if test "$wxUSE_SOCKETS" = "yes"; then
45861 if test "$wxUSE_MGL" = 1; then
45862 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45863 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45868 if test "$wxUSE_SOCKETS" = "yes"; then
45869 if test "$TOOLKIT" != "MSW"; then
45870 { echo "$as_me:$LINENO: checking for socket" >&5
45871 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45872 if test "${ac_cv_func_socket+set}" = set; then
45873 echo $ECHO_N "(cached) $ECHO_C" >&6
45875 cat >conftest.$ac_ext <<_ACEOF
45878 cat confdefs.h >>conftest.$ac_ext
45879 cat >>conftest.$ac_ext <<_ACEOF
45880 /* end confdefs.h. */
45881 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45883 #define socket innocuous_socket
45885 /* System header to define __stub macros and hopefully few prototypes,
45886 which can conflict with char socket (); below.
45887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45888 <limits.h> exists even on freestanding compilers. */
45891 # include <limits.h>
45893 # include <assert.h>
45898 /* Override any GCC internal prototype to avoid an error.
45899 Use char because int might match the return type of a GCC
45900 builtin and then its argument prototype would still apply. */
45905 /* The GNU C library defines this for functions which it implements
45906 to always fail with ENOSYS. Some functions are actually named
45907 something starting with __ and the normal name is an alias. */
45908 #if defined __stub_socket || defined __stub___socket
45920 rm -f conftest.$ac_objext conftest$ac_exeext
45921 if { (ac_try="$ac_link"
45922 case "(($ac_try" in
45923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45924 *) ac_try_echo=$ac_try;;
45926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45927 (eval "$ac_link") 2>conftest.er1
45929 grep -v '^ *+' conftest.er1 >conftest.err
45931 cat conftest.err >&5
45932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45933 (exit $ac_status); } && {
45934 test -z "$ac_c_werror_flag" ||
45935 test ! -s conftest.err
45936 } && test -s conftest$ac_exeext &&
45937 $as_test_x conftest$ac_exeext; then
45938 ac_cv_func_socket=yes
45940 echo "$as_me: failed program was:" >&5
45941 sed 's/^/| /' conftest.$ac_ext >&5
45943 ac_cv_func_socket=no
45946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45947 conftest$ac_exeext conftest.$ac_ext
45949 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45950 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45951 if test $ac_cv_func_socket = yes; then
45955 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45956 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45957 if test "${ac_cv_lib_socket_socket+set}" = set; then
45958 echo $ECHO_N "(cached) $ECHO_C" >&6
45960 ac_check_lib_save_LIBS=$LIBS
45961 LIBS="-lsocket $LIBS"
45962 cat >conftest.$ac_ext <<_ACEOF
45965 cat confdefs.h >>conftest.$ac_ext
45966 cat >>conftest.$ac_ext <<_ACEOF
45967 /* end confdefs.h. */
45969 /* Override any GCC internal prototype to avoid an error.
45970 Use char because int might match the return type of a GCC
45971 builtin and then its argument prototype would still apply. */
45984 rm -f conftest.$ac_objext conftest$ac_exeext
45985 if { (ac_try="$ac_link"
45986 case "(($ac_try" in
45987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45988 *) ac_try_echo=$ac_try;;
45990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45991 (eval "$ac_link") 2>conftest.er1
45993 grep -v '^ *+' conftest.er1 >conftest.err
45995 cat conftest.err >&5
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); } && {
45998 test -z "$ac_c_werror_flag" ||
45999 test ! -s conftest.err
46000 } && test -s conftest$ac_exeext &&
46001 $as_test_x conftest$ac_exeext; then
46002 ac_cv_lib_socket_socket=yes
46004 echo "$as_me: failed program was:" >&5
46005 sed 's/^/| /' conftest.$ac_ext >&5
46007 ac_cv_lib_socket_socket=no
46010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46011 conftest$ac_exeext conftest.$ac_ext
46012 LIBS=$ac_check_lib_save_LIBS
46014 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46015 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46016 if test $ac_cv_lib_socket_socket = yes; then
46017 if test "$INET_LINK" != " -lsocket"; then
46018 INET_LINK="$INET_LINK -lsocket"
46022 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46023 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46036 if test "$wxUSE_SOCKETS" = "yes" ; then
46037 if test "$TOOLKIT" != "MSW"; then
46038 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46039 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46040 if test "${wx_cv_type_getsockname3+set}" = set; then
46041 echo $ECHO_N "(cached) $ECHO_C" >&6
46045 ac_cpp='$CXXCPP $CPPFLAGS'
46046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46050 cat >conftest.$ac_ext <<_ACEOF
46053 cat confdefs.h >>conftest.$ac_ext
46054 cat >>conftest.$ac_ext <<_ACEOF
46055 /* end confdefs.h. */
46057 #include <sys/types.h>
46058 #include <sys/socket.h>
46065 getsockname(0, 0, &len);
46071 rm -f conftest.$ac_objext
46072 if { (ac_try="$ac_compile"
46073 case "(($ac_try" in
46074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46075 *) ac_try_echo=$ac_try;;
46077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46078 (eval "$ac_compile") 2>conftest.er1
46080 grep -v '^ *+' conftest.er1 >conftest.err
46082 cat conftest.err >&5
46083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46084 (exit $ac_status); } && {
46085 test -z "$ac_cxx_werror_flag" ||
46086 test ! -s conftest.err
46087 } && test -s conftest.$ac_objext; then
46088 wx_cv_type_getsockname3=socklen_t
46090 echo "$as_me: failed program was:" >&5
46091 sed 's/^/| /' conftest.$ac_ext >&5
46094 CFLAGS_OLD="$CFLAGS"
46095 if test "$GCC" = yes ; then
46096 CFLAGS="-Werror $CFLAGS"
46099 cat >conftest.$ac_ext <<_ACEOF
46102 cat confdefs.h >>conftest.$ac_ext
46103 cat >>conftest.$ac_ext <<_ACEOF
46104 /* end confdefs.h. */
46106 #include <sys/types.h>
46107 #include <sys/socket.h>
46114 getsockname(0, 0, &len);
46120 rm -f conftest.$ac_objext
46121 if { (ac_try="$ac_compile"
46122 case "(($ac_try" in
46123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46124 *) ac_try_echo=$ac_try;;
46126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46127 (eval "$ac_compile") 2>conftest.er1
46129 grep -v '^ *+' conftest.er1 >conftest.err
46131 cat conftest.err >&5
46132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46133 (exit $ac_status); } && {
46134 test -z "$ac_cxx_werror_flag" ||
46135 test ! -s conftest.err
46136 } && test -s conftest.$ac_objext; then
46137 wx_cv_type_getsockname3=size_t
46139 echo "$as_me: failed program was:" >&5
46140 sed 's/^/| /' conftest.$ac_ext >&5
46142 cat >conftest.$ac_ext <<_ACEOF
46145 cat confdefs.h >>conftest.$ac_ext
46146 cat >>conftest.$ac_ext <<_ACEOF
46147 /* end confdefs.h. */
46149 #include <sys/types.h>
46150 #include <sys/socket.h>
46157 getsockname(0, 0, &len);
46163 rm -f conftest.$ac_objext
46164 if { (ac_try="$ac_compile"
46165 case "(($ac_try" in
46166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46167 *) ac_try_echo=$ac_try;;
46169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46170 (eval "$ac_compile") 2>conftest.er1
46172 grep -v '^ *+' conftest.er1 >conftest.err
46174 cat conftest.err >&5
46175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46176 (exit $ac_status); } && {
46177 test -z "$ac_cxx_werror_flag" ||
46178 test ! -s conftest.err
46179 } && test -s conftest.$ac_objext; then
46180 wx_cv_type_getsockname3=int
46182 echo "$as_me: failed program was:" >&5
46183 sed 's/^/| /' conftest.$ac_ext >&5
46185 wx_cv_type_getsockname3=unknown
46189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46195 CFLAGS="$CFLAGS_OLD"
46200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46202 ac_cpp='$CPP $CPPFLAGS'
46203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46209 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46210 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46212 if test "$wx_cv_type_getsockname3" = "unknown"; then
46214 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46215 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46217 cat >>confdefs.h <<_ACEOF
46218 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46222 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46223 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46224 if test "${wx_cv_type_getsockopt5+set}" = set; then
46225 echo $ECHO_N "(cached) $ECHO_C" >&6
46229 ac_cpp='$CXXCPP $CPPFLAGS'
46230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46234 cat >conftest.$ac_ext <<_ACEOF
46237 cat confdefs.h >>conftest.$ac_ext
46238 cat >>conftest.$ac_ext <<_ACEOF
46239 /* end confdefs.h. */
46241 #include <sys/types.h>
46242 #include <sys/socket.h>
46249 getsockopt(0, 0, 0, 0, &len);
46255 rm -f conftest.$ac_objext
46256 if { (ac_try="$ac_compile"
46257 case "(($ac_try" in
46258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46259 *) ac_try_echo=$ac_try;;
46261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46262 (eval "$ac_compile") 2>conftest.er1
46264 grep -v '^ *+' conftest.er1 >conftest.err
46266 cat conftest.err >&5
46267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46268 (exit $ac_status); } && {
46269 test -z "$ac_cxx_werror_flag" ||
46270 test ! -s conftest.err
46271 } && test -s conftest.$ac_objext; then
46272 wx_cv_type_getsockopt5=socklen_t
46274 echo "$as_me: failed program was:" >&5
46275 sed 's/^/| /' conftest.$ac_ext >&5
46278 cat >conftest.$ac_ext <<_ACEOF
46281 cat confdefs.h >>conftest.$ac_ext
46282 cat >>conftest.$ac_ext <<_ACEOF
46283 /* end confdefs.h. */
46285 #include <sys/types.h>
46286 #include <sys/socket.h>
46293 getsockopt(0, 0, 0, 0, &len);
46299 rm -f conftest.$ac_objext
46300 if { (ac_try="$ac_compile"
46301 case "(($ac_try" in
46302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46303 *) ac_try_echo=$ac_try;;
46305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46306 (eval "$ac_compile") 2>conftest.er1
46308 grep -v '^ *+' conftest.er1 >conftest.err
46310 cat conftest.err >&5
46311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312 (exit $ac_status); } && {
46313 test -z "$ac_cxx_werror_flag" ||
46314 test ! -s conftest.err
46315 } && test -s conftest.$ac_objext; then
46316 wx_cv_type_getsockopt5=size_t
46318 echo "$as_me: failed program was:" >&5
46319 sed 's/^/| /' conftest.$ac_ext >&5
46321 cat >conftest.$ac_ext <<_ACEOF
46324 cat confdefs.h >>conftest.$ac_ext
46325 cat >>conftest.$ac_ext <<_ACEOF
46326 /* end confdefs.h. */
46328 #include <sys/types.h>
46329 #include <sys/socket.h>
46336 getsockopt(0, 0, 0, 0, &len);
46342 rm -f conftest.$ac_objext
46343 if { (ac_try="$ac_compile"
46344 case "(($ac_try" in
46345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46346 *) ac_try_echo=$ac_try;;
46348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46349 (eval "$ac_compile") 2>conftest.er1
46351 grep -v '^ *+' conftest.er1 >conftest.err
46353 cat conftest.err >&5
46354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46355 (exit $ac_status); } && {
46356 test -z "$ac_cxx_werror_flag" ||
46357 test ! -s conftest.err
46358 } && test -s conftest.$ac_objext; then
46359 wx_cv_type_getsockopt5=int
46361 echo "$as_me: failed program was:" >&5
46362 sed 's/^/| /' conftest.$ac_ext >&5
46364 wx_cv_type_getsockopt5=unknown
46368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46379 ac_cpp='$CPP $CPPFLAGS'
46380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46386 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46387 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46389 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46391 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46392 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46394 cat >>confdefs.h <<_ACEOF
46395 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46402 if test "$wxUSE_SOCKETS" = "yes" ; then
46403 if test "$wxUSE_IPV6" = "yes"; then
46404 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46405 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46406 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46407 echo $ECHO_N "(cached) $ECHO_C" >&6
46410 cat >conftest.$ac_ext <<_ACEOF
46413 cat confdefs.h >>conftest.$ac_ext
46414 cat >>conftest.$ac_ext <<_ACEOF
46415 /* end confdefs.h. */
46417 #include <sys/types.h>
46418 #include <sys/socket.h>
46419 #include <netinet/in.h>
46425 struct sockaddr_in6 sa6;
46431 rm -f conftest.$ac_objext
46432 if { (ac_try="$ac_compile"
46433 case "(($ac_try" in
46434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46435 *) ac_try_echo=$ac_try;;
46437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46438 (eval "$ac_compile") 2>conftest.er1
46440 grep -v '^ *+' conftest.er1 >conftest.err
46442 cat conftest.err >&5
46443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46444 (exit $ac_status); } && {
46445 test -z "$ac_c_werror_flag" ||
46446 test ! -s conftest.err
46447 } && test -s conftest.$ac_objext; then
46448 wx_cv_type_sockaddr_in6=yes
46450 echo "$as_me: failed program was:" >&5
46451 sed 's/^/| /' conftest.$ac_ext >&5
46453 wx_cv_type_sockaddr_in6=no
46457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46461 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46462 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46464 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46465 cat >>confdefs.h <<\_ACEOF
46466 #define wxUSE_IPV6 1
46470 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46471 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_SOCKETS 1
46479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46482 if test "$wxUSE_PROTOCOL" = "yes"; then
46483 if test "$wxUSE_SOCKETS" != "yes"; then
46484 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46485 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46490 if test "$wxUSE_PROTOCOL" = "yes"; then
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_PROTOCOL 1
46496 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_PROTOCOL_HTTP 1
46502 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_PROTOCOL_FTP 1
46508 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46509 cat >>confdefs.h <<\_ACEOF
46510 #define wxUSE_PROTOCOL_FILE 1
46515 if test "$wxUSE_FS_INET" = "yes"; then
46516 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46517 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46522 if test "$wxUSE_URL" = "yes"; then
46523 if test "$wxUSE_PROTOCOL" != "yes"; then
46524 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46525 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46528 if test "$wxUSE_URL" = "yes"; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_URL 1
46536 if test "$wxUSE_VARIANT" = "yes"; then
46537 cat >>confdefs.h <<\_ACEOF
46538 #define wxUSE_VARIANT 1
46543 if test "$wxUSE_FS_INET" = "yes"; then
46544 cat >>confdefs.h <<\_ACEOF
46545 #define wxUSE_FS_INET 1
46551 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46554 if test "$TOOLKIT" = "MSW"; then
46557 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46558 if test "$USE_DARWIN" = 1; then
46559 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46560 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46562 ac_cpp='$CXXCPP $CPPFLAGS'
46563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46567 cat >conftest.$ac_ext <<_ACEOF
46570 cat confdefs.h >>conftest.$ac_ext
46571 cat >>conftest.$ac_ext <<_ACEOF
46572 /* end confdefs.h. */
46573 #include <IOKit/hid/IOHIDLib.h>
46577 IOHIDQueueInterface *qi = NULL;
46578 IOHIDCallbackFunction cb = NULL;
46579 qi->setEventCallout(NULL, cb, NULL, NULL);
46584 rm -f conftest.$ac_objext
46585 if { (ac_try="$ac_compile"
46586 case "(($ac_try" in
46587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46588 *) ac_try_echo=$ac_try;;
46590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46591 (eval "$ac_compile") 2>conftest.er1
46593 grep -v '^ *+' conftest.er1 >conftest.err
46595 cat conftest.err >&5
46596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46597 (exit $ac_status); } && {
46598 test -z "$ac_cxx_werror_flag" ||
46599 test ! -s conftest.err
46600 } && test -s conftest.$ac_objext; then
46604 echo "$as_me: failed program was:" >&5
46605 sed 's/^/| /' conftest.$ac_ext >&5
46610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46612 ac_cpp='$CPP $CPPFLAGS'
46613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46617 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46618 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46622 if test "$wxUSE_MGL" != 1; then
46624 for ac_header in linux/joystick.h
46626 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46630 echo $ECHO_N "(cached) $ECHO_C" >&6
46632 cat >conftest.$ac_ext <<_ACEOF
46635 cat confdefs.h >>conftest.$ac_ext
46636 cat >>conftest.$ac_ext <<_ACEOF
46637 /* end confdefs.h. */
46638 $ac_includes_default
46640 #include <$ac_header>
46642 rm -f conftest.$ac_objext
46643 if { (ac_try="$ac_compile"
46644 case "(($ac_try" in
46645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46646 *) ac_try_echo=$ac_try;;
46648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46649 (eval "$ac_compile") 2>conftest.er1
46651 grep -v '^ *+' conftest.er1 >conftest.err
46653 cat conftest.err >&5
46654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46655 (exit $ac_status); } && {
46656 test -z "$ac_c_werror_flag" ||
46657 test ! -s conftest.err
46658 } && test -s conftest.$ac_objext; then
46659 eval "$as_ac_Header=yes"
46661 echo "$as_me: failed program was:" >&5
46662 sed 's/^/| /' conftest.$ac_ext >&5
46664 eval "$as_ac_Header=no"
46667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46669 ac_res=`eval echo '${'$as_ac_Header'}'`
46670 { echo "$as_me:$LINENO: result: $ac_res" >&5
46671 echo "${ECHO_T}$ac_res" >&6; }
46672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46673 cat >>confdefs.h <<_ACEOF
46674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46684 if test "$wxUSE_JOYSTICK" = "yes"; then
46685 cat >>confdefs.h <<\_ACEOF
46686 #define wxUSE_JOYSTICK 1
46689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46691 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46692 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46698 if test "$wxUSE_FONTENUM" = "yes" ; then
46699 cat >>confdefs.h <<\_ACEOF
46700 #define wxUSE_FONTENUM 1
46705 if test "$wxUSE_FONTMAP" = "yes" ; then
46706 cat >>confdefs.h <<\_ACEOF
46707 #define wxUSE_FONTMAP 1
46712 if test "$wxUSE_UNICODE" = "yes" ; then
46713 cat >>confdefs.h <<\_ACEOF
46714 #define wxUSE_UNICODE 1
46718 if test "$USE_WIN32" != 1; then
46719 wxUSE_UNICODE_MSLU=no
46722 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46723 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46724 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46725 if test "${ac_cv_lib_unicows_main+set}" = set; then
46726 echo $ECHO_N "(cached) $ECHO_C" >&6
46728 ac_check_lib_save_LIBS=$LIBS
46729 LIBS="-lunicows $LIBS"
46730 cat >conftest.$ac_ext <<_ACEOF
46733 cat confdefs.h >>conftest.$ac_ext
46734 cat >>conftest.$ac_ext <<_ACEOF
46735 /* end confdefs.h. */
46746 rm -f conftest.$ac_objext conftest$ac_exeext
46747 if { (ac_try="$ac_link"
46748 case "(($ac_try" in
46749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46750 *) ac_try_echo=$ac_try;;
46752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46753 (eval "$ac_link") 2>conftest.er1
46755 grep -v '^ *+' conftest.er1 >conftest.err
46757 cat conftest.err >&5
46758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46759 (exit $ac_status); } && {
46760 test -z "$ac_c_werror_flag" ||
46761 test ! -s conftest.err
46762 } && test -s conftest$ac_exeext &&
46763 $as_test_x conftest$ac_exeext; then
46764 ac_cv_lib_unicows_main=yes
46766 echo "$as_me: failed program was:" >&5
46767 sed 's/^/| /' conftest.$ac_ext >&5
46769 ac_cv_lib_unicows_main=no
46772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46773 conftest$ac_exeext conftest.$ac_ext
46774 LIBS=$ac_check_lib_save_LIBS
46776 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46777 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46778 if test $ac_cv_lib_unicows_main = yes; then
46780 cat >>confdefs.h <<\_ACEOF
46781 #define wxUSE_UNICODE_MSLU 1
46787 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46788 Applications will only run on Windows NT/2000/XP!" >&5
46789 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46790 Applications will only run on Windows NT/2000/XP!" >&2;}
46791 wxUSE_UNICODE_MSLU=no
46798 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46799 cat >>confdefs.h <<\_ACEOF
46800 #define wxUSE_UNICODE_UTF8 1
46804 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46805 cat >>confdefs.h <<\_ACEOF
46806 #define wxUSE_UTF8_LOCALE_ONLY 1
46813 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46814 cat >>confdefs.h <<\_ACEOF
46815 #define wxUSE_CONSTRAINTS 1
46818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46821 if test "$wxUSE_MDI" = "yes"; then
46822 cat >>confdefs.h <<\_ACEOF
46823 #define wxUSE_MDI 1
46827 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46828 cat >>confdefs.h <<\_ACEOF
46829 #define wxUSE_MDI_ARCHITECTURE 1
46832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46836 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46837 cat >>confdefs.h <<\_ACEOF
46838 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46844 if test "$wxUSE_HELP" = "yes"; then
46845 cat >>confdefs.h <<\_ACEOF
46846 #define wxUSE_HELP 1
46849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46851 if test "$wxUSE_MSW" = 1; then
46852 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46853 cat >>confdefs.h <<\_ACEOF
46854 #define wxUSE_MS_HTML_HELP 1
46860 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46861 if test "$wxUSE_HTML" = "yes"; then
46862 cat >>confdefs.h <<\_ACEOF
46863 #define wxUSE_WXHTML_HELP 1
46867 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46868 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46869 wxUSE_WXHTML_HELP=no
46874 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46875 cat >>confdefs.h <<\_ACEOF
46876 #define wxUSE_PRINTING_ARCHITECTURE 1
46879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46882 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46883 cat >>confdefs.h <<\_ACEOF
46884 #define wxUSE_POSTSCRIPT 1
46889 cat >>confdefs.h <<\_ACEOF
46890 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46894 if test "$wxUSE_SVG" = "yes"; then
46895 cat >>confdefs.h <<\_ACEOF
46896 #define wxUSE_SVG 1
46902 if test "$wxUSE_METAFILE" = "yes"; then
46903 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46904 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46905 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46911 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46912 -o "$wxUSE_CLIPBOARD" = "yes" \
46913 -o "$wxUSE_OLE" = "yes" \
46914 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46915 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46916 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46917 if test "${ac_cv_header_ole2_h+set}" = set; then
46918 echo $ECHO_N "(cached) $ECHO_C" >&6
46920 cat >conftest.$ac_ext <<_ACEOF
46923 cat confdefs.h >>conftest.$ac_ext
46924 cat >>conftest.$ac_ext <<_ACEOF
46925 /* end confdefs.h. */
46930 rm -f conftest.$ac_objext
46931 if { (ac_try="$ac_compile"
46932 case "(($ac_try" in
46933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46934 *) ac_try_echo=$ac_try;;
46936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46937 (eval "$ac_compile") 2>conftest.er1
46939 grep -v '^ *+' conftest.er1 >conftest.err
46941 cat conftest.err >&5
46942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46943 (exit $ac_status); } && {
46944 test -z "$ac_c_werror_flag" ||
46945 test ! -s conftest.err
46946 } && test -s conftest.$ac_objext; then
46947 ac_cv_header_ole2_h=yes
46949 echo "$as_me: failed program was:" >&5
46950 sed 's/^/| /' conftest.$ac_ext >&5
46952 ac_cv_header_ole2_h=no
46955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46957 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46958 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46962 if test "$ac_cv_header_ole2_h" = "yes" ; then
46963 if test "$GCC" = yes ; then
46964 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46965 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46966 cat >conftest.$ac_ext <<_ACEOF
46969 cat confdefs.h >>conftest.$ac_ext
46970 cat >>conftest.$ac_ext <<_ACEOF
46971 /* end confdefs.h. */
46972 #include <windows.h>
46982 rm -f conftest.$ac_objext
46983 if { (ac_try="$ac_compile"
46984 case "(($ac_try" in
46985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46986 *) ac_try_echo=$ac_try;;
46988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46989 (eval "$ac_compile") 2>conftest.er1
46991 grep -v '^ *+' conftest.er1 >conftest.err
46993 cat conftest.err >&5
46994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46995 (exit $ac_status); } && {
46996 test -z "$ac_c_werror_flag" ||
46997 test ! -s conftest.err
46998 } && test -s conftest.$ac_objext; then
46999 { echo "$as_me:$LINENO: result: no" >&5
47000 echo "${ECHO_T}no" >&6; }
47002 echo "$as_me: failed program was:" >&5
47003 sed 's/^/| /' conftest.$ac_ext >&5
47005 { echo "$as_me:$LINENO: result: yes" >&5
47006 echo "${ECHO_T}yes" >&6; }
47007 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47011 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47012 if test "$wxUSE_OLE" = "yes" ; then
47013 cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_OLE 1
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_OLE_AUTOMATION 1
47021 cat >>confdefs.h <<\_ACEOF
47022 #define wxUSE_ACTIVEX 1
47025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47029 if test "$wxUSE_DATAOBJ" = "yes" ; then
47030 cat >>confdefs.h <<\_ACEOF
47031 #define wxUSE_DATAOBJ 1
47036 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47037 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47040 wxUSE_DRAG_AND_DROP=no
47045 if test "$wxUSE_METAFILE" = "yes"; then
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_METAFILE 1
47051 cat >>confdefs.h <<\_ACEOF
47052 #define wxUSE_ENH_METAFILE 1
47058 if test "$wxUSE_IPC" = "yes"; then
47059 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47060 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47061 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47065 if test "$wxUSE_IPC" = "yes"; then
47066 cat >>confdefs.h <<\_ACEOF
47067 #define wxUSE_IPC 1
47070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47074 if test "$wxUSE_DATAOBJ" = "yes"; then
47075 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47076 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47077 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_DATAOBJ 1
47086 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47087 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47089 wxUSE_DRAG_AND_DROP=no
47092 if test "$wxUSE_CLIPBOARD" = "yes"; then
47093 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47094 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47095 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47099 if test "$wxUSE_CLIPBOARD" = "yes"; then
47100 cat >>confdefs.h <<\_ACEOF
47101 #define wxUSE_CLIPBOARD 1
47107 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47108 if test "$wxUSE_GTK" = 1; then
47109 if test "$WXGTK12" != 1; then
47110 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47111 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47112 wxUSE_DRAG_AND_DROP=no
47116 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47117 "$wxUSE_DFB" = 1; then
47118 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47119 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47120 wxUSE_DRAG_AND_DROP=no
47123 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47124 cat >>confdefs.h <<\_ACEOF
47125 #define wxUSE_DRAG_AND_DROP 1
47132 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47136 if test "$wxUSE_CLIPBOARD" = "yes"; then
47137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47140 if test "$wxUSE_SPLINES" = "yes" ; then
47141 cat >>confdefs.h <<\_ACEOF
47142 #define wxUSE_SPLINES 1
47147 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47148 cat >>confdefs.h <<\_ACEOF
47149 #define wxUSE_MOUSEWHEEL 1
47154 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47155 cat >>confdefs.h <<\_ACEOF
47156 #define wxUSE_UIACTIONSIMULATOR 1
47159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47164 if test "$wxUSE_CONTROLS" = "yes"; then
47168 if test "$wxUSE_MARKUP" = "yes"; then
47169 cat >>confdefs.h <<\_ACEOF
47170 #define wxUSE_MARKUP 1
47175 if test "$wxUSE_ACCEL" = "yes"; then
47176 cat >>confdefs.h <<\_ACEOF
47177 #define wxUSE_ACCEL 1
47183 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47184 cat >>confdefs.h <<\_ACEOF
47185 #define wxUSE_ANIMATIONCTRL 1
47189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47192 if test "$wxUSE_BUTTON" = "yes"; then
47193 cat >>confdefs.h <<\_ACEOF
47194 #define wxUSE_BUTTON 1
47200 if test "$wxUSE_BMPBUTTON" = "yes"; then
47201 cat >>confdefs.h <<\_ACEOF
47202 #define wxUSE_BMPBUTTON 1
47208 if test "$wxUSE_CALCTRL" = "yes"; then
47209 cat >>confdefs.h <<\_ACEOF
47210 #define wxUSE_CALENDARCTRL 1
47214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47217 if test "$wxUSE_CARET" = "yes"; then
47218 cat >>confdefs.h <<\_ACEOF
47219 #define wxUSE_CARET 1
47223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47226 if test "$wxUSE_COLLPANE" = "yes"; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_COLLPANE 1
47232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47235 if test "$wxUSE_COMBOBOX" = "yes"; then
47236 cat >>confdefs.h <<\_ACEOF
47237 #define wxUSE_COMBOBOX 1
47243 if test "$wxUSE_COMBOCTRL" = "yes"; then
47244 cat >>confdefs.h <<\_ACEOF
47245 #define wxUSE_COMBOCTRL 1
47251 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47252 cat >>confdefs.h <<\_ACEOF
47253 #define wxUSE_COMMANDLINKBUTTON 1
47259 if test "$wxUSE_CHOICE" = "yes"; then
47260 cat >>confdefs.h <<\_ACEOF
47261 #define wxUSE_CHOICE 1
47267 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47268 cat >>confdefs.h <<\_ACEOF
47269 #define wxUSE_CHOICEBOOK 1
47275 if test "$wxUSE_CHECKBOX" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_CHECKBOX 1
47283 if test "$wxUSE_CHECKLST" = "yes"; then
47284 cat >>confdefs.h <<\_ACEOF
47285 #define wxUSE_CHECKLISTBOX 1
47291 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47292 cat >>confdefs.h <<\_ACEOF
47293 #define wxUSE_COLOURPICKERCTRL 1
47299 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_DATEPICKCTRL 1
47307 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47308 cat >>confdefs.h <<\_ACEOF
47309 #define wxUSE_DIRPICKERCTRL 1
47315 if test "$wxUSE_FILECTRL" = "yes"; then
47316 cat >>confdefs.h <<\_ACEOF
47317 #define wxUSE_FILECTRL 1
47323 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47324 cat >>confdefs.h <<\_ACEOF
47325 #define wxUSE_FILEPICKERCTRL 1
47331 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_FONTPICKERCTRL 1
47339 if test "$wxUSE_DISPLAY" = "yes"; then
47340 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47341 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47342 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47345 cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_DISPLAY 1
47349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47353 if test "$wxUSE_DETECT_SM" = "yes"; then
47354 cat >>confdefs.h <<\_ACEOF
47355 #define wxUSE_DETECT_SM 1
47360 if test "$wxUSE_GAUGE" = "yes"; then
47361 cat >>confdefs.h <<\_ACEOF
47362 #define wxUSE_GAUGE 1
47368 if test "$wxUSE_GRID" = "yes"; then
47369 cat >>confdefs.h <<\_ACEOF
47370 #define wxUSE_GRID 1
47374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47377 if test "$wxUSE_HEADERCTRL" = "yes"; then
47378 cat >>confdefs.h <<\_ACEOF
47379 #define wxUSE_HEADERCTRL 1
47385 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_HYPERLINKCTRL 1
47393 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47394 cat >>confdefs.h <<\_ACEOF
47395 #define wxUSE_BITMAPCOMBOBOX 1
47401 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_DATAVIEWCTRL 1
47407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47410 if test "$wxUSE_IMAGLIST" = "yes"; then
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_IMAGLIST 1
47417 if test "$wxUSE_INFOBAR" = "yes"; then
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_INFOBAR 1
47424 if test "$wxUSE_LISTBOOK" = "yes"; then
47425 cat >>confdefs.h <<\_ACEOF
47426 #define wxUSE_LISTBOOK 1
47432 if test "$wxUSE_LISTBOX" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_LISTBOX 1
47440 if test "$wxUSE_LISTCTRL" = "yes"; then
47441 if test "$wxUSE_IMAGLIST" = "yes"; then
47442 cat >>confdefs.h <<\_ACEOF
47443 #define wxUSE_LISTCTRL 1
47447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47449 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47450 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47454 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_EDITABLELISTBOX 1
47462 if test "$wxUSE_NOTEBOOK" = "yes"; then
47463 cat >>confdefs.h <<\_ACEOF
47464 #define wxUSE_NOTEBOOK 1
47468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47471 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_NOTIFICATION_MESSAGE 1
47478 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_ODCOMBOBOX 1
47484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47487 if test "$wxUSE_RADIOBOX" = "yes"; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_RADIOBOX 1
47495 if test "$wxUSE_RADIOBTN" = "yes"; then
47496 cat >>confdefs.h <<\_ACEOF
47497 #define wxUSE_RADIOBTN 1
47503 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_REARRANGECTRL 1
47510 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_RICHMSGDLG 1
47517 if test "$wxUSE_SASH" = "yes"; then
47518 cat >>confdefs.h <<\_ACEOF
47519 #define wxUSE_SASH 1
47522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47525 if test "$wxUSE_SCROLLBAR" = "yes"; then
47526 cat >>confdefs.h <<\_ACEOF
47527 #define wxUSE_SCROLLBAR 1
47531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47534 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_SEARCHCTRL 1
47542 if test "$wxUSE_SLIDER" = "yes"; then
47543 cat >>confdefs.h <<\_ACEOF
47544 #define wxUSE_SLIDER 1
47550 if test "$wxUSE_SPINBTN" = "yes"; then
47551 cat >>confdefs.h <<\_ACEOF
47552 #define wxUSE_SPINBTN 1
47558 if test "$wxUSE_SPINCTRL" = "yes"; then
47559 cat >>confdefs.h <<\_ACEOF
47560 #define wxUSE_SPINCTRL 1
47566 if test "$wxUSE_SPLITTER" = "yes"; then
47567 cat >>confdefs.h <<\_ACEOF
47568 #define wxUSE_SPLITTER 1
47571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47574 if test "$wxUSE_STATBMP" = "yes"; then
47575 cat >>confdefs.h <<\_ACEOF
47576 #define wxUSE_STATBMP 1
47582 if test "$wxUSE_STATBOX" = "yes"; then
47583 cat >>confdefs.h <<\_ACEOF
47584 #define wxUSE_STATBOX 1
47590 if test "$wxUSE_STATTEXT" = "yes"; then
47591 cat >>confdefs.h <<\_ACEOF
47592 #define wxUSE_STATTEXT 1
47598 if test "$wxUSE_STATLINE" = "yes"; then
47599 cat >>confdefs.h <<\_ACEOF
47600 #define wxUSE_STATLINE 1
47606 if test "$wxUSE_STATUSBAR" = "yes"; then
47607 cat >>confdefs.h <<\_ACEOF
47608 #define wxUSE_NATIVE_STATUSBAR 1
47611 cat >>confdefs.h <<\_ACEOF
47612 #define wxUSE_STATUSBAR 1
47617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47620 if test "$wxUSE_TEXTCTRL" = "yes"; then
47621 cat >>confdefs.h <<\_ACEOF
47622 #define wxUSE_TEXTCTRL 1
47626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47628 cat >>confdefs.h <<\_ACEOF
47629 #define wxUSE_RICHEDIT 1
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_RICHEDIT2 1
47638 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47639 if test "$wxUSE_OLD_COCOA" = 1 ; then
47640 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47641 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47645 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_TOGGLEBTN 1
47654 if test "$wxUSE_TOOLBAR" = "yes"; then
47655 cat >>confdefs.h <<\_ACEOF
47656 #define wxUSE_TOOLBAR 1
47661 if test "$wxUSE_UNIVERSAL" = "yes"; then
47662 wxUSE_TOOLBAR_NATIVE="no"
47664 wxUSE_TOOLBAR_NATIVE="yes"
47665 cat >>confdefs.h <<\_ACEOF
47666 #define wxUSE_TOOLBAR_NATIVE 1
47671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47674 if test "$wxUSE_TOOLTIPS" = "yes"; then
47675 if test "$wxUSE_MOTIF" = 1; then
47676 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47677 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47679 if test "$wxUSE_UNIVERSAL" = "yes"; then
47680 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47681 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_TOOLTIPS 1
47691 if test "$wxUSE_TREEBOOK" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_TREEBOOK 1
47699 if test "$wxUSE_TOOLBOOK" = "yes"; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_TOOLBOOK 1
47707 if test "$wxUSE_TREECTRL" = "yes"; then
47708 if test "$wxUSE_IMAGLIST" = "yes"; then
47709 cat >>confdefs.h <<\_ACEOF
47710 #define wxUSE_TREECTRL 1
47714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47716 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47717 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47721 if test "$wxUSE_POPUPWIN" = "yes"; then
47722 if test "$wxUSE_OLD_COCOA" = 1 ; then
47723 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47724 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47726 if test "$wxUSE_PM" = 1; then
47727 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47728 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_POPUPWIN 1
47734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47741 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47742 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47743 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47744 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47746 cat >>confdefs.h <<\_ACEOF
47747 #define wxUSE_DIALUP_MANAGER 1
47750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47754 if test "$wxUSE_TIPWINDOW" = "yes"; then
47755 if test "$wxUSE_PM" = 1; then
47756 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47757 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_TIPWINDOW 1
47766 if test "$USES_CONTROLS" = 1; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_CONTROLS 1
47774 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_ACCESSIBILITY 1
47779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47782 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47783 cat >>confdefs.h <<\_ACEOF
47784 #define wxUSE_ARTPROVIDER_STD 1
47789 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47790 if test "$wxUSE_GTK" != 1; then
47791 if test "$wxUSE_LIBPNG" != no -a \
47792 "$wxUSE_IMAGE" = yes -a \
47793 "$wxUSE_STREAMS" = yes; then
47794 wxUSE_ARTPROVIDER_TANGO="yes"
47799 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_ARTPROVIDER_TANGO 1
47806 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_DRAGIMAGE 1
47811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47814 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47815 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47816 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47817 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_EXCEPTIONS 1
47823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47828 if test "$wxUSE_HTML" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_HTML 1
47834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47836 if test "$wxUSE_WEBKIT" = "yes"; then
47837 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47838 old_CPPFLAGS="$CPPFLAGS"
47839 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47840 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47841 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47842 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47843 echo $ECHO_N "(cached) $ECHO_C" >&6
47845 cat >conftest.$ac_ext <<_ACEOF
47848 cat confdefs.h >>conftest.$ac_ext
47849 cat >>conftest.$ac_ext <<_ACEOF
47850 /* end confdefs.h. */
47852 #include <Carbon/Carbon.h>
47853 #include <WebKit/WebKit.h>
47856 #include <WebKit/HIWebView.h>
47858 rm -f conftest.$ac_objext
47859 if { (ac_try="$ac_compile"
47860 case "(($ac_try" in
47861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47862 *) ac_try_echo=$ac_try;;
47864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47865 (eval "$ac_compile") 2>conftest.er1
47867 grep -v '^ *+' conftest.er1 >conftest.err
47869 cat conftest.err >&5
47870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47871 (exit $ac_status); } && {
47872 test -z "$ac_c_werror_flag" ||
47873 test ! -s conftest.err
47874 } && test -s conftest.$ac_objext; then
47875 ac_cv_header_WebKit_HIWebView_h=yes
47877 echo "$as_me: failed program was:" >&5
47878 sed 's/^/| /' conftest.$ac_ext >&5
47880 ac_cv_header_WebKit_HIWebView_h=no
47883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47885 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47886 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47887 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_WEBKIT 1
47893 WEBKIT_LINK="-framework WebKit"
47897 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47898 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47904 CPPFLAGS="$old_CPPFLAGS"
47905 elif test "$wxUSE_OLD_COCOA" = 1; then
47906 cat >>confdefs.h <<\_ACEOF
47907 #define wxUSE_WEBKIT 1
47913 if test "$wxUSE_WEBKIT" = "yes"; then
47914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47919 if test "$wxUSE_XRC" = "yes"; then
47920 if test "$wxUSE_XML" != "yes"; then
47921 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47922 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47925 cat >>confdefs.h <<\_ACEOF
47926 #define wxUSE_XRC 1
47930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47935 if test "$wxUSE_AUI" = "yes"; then
47936 cat >>confdefs.h <<\_ACEOF
47937 #define wxUSE_AUI 1
47941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47945 if test "$wxUSE_PROPGRID" = "yes"; then
47946 cat >>confdefs.h <<\_ACEOF
47947 #define wxUSE_PROPGRID 1
47951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47955 if test "$wxUSE_RIBBON" = "yes"; then
47956 cat >>confdefs.h <<\_ACEOF
47957 #define wxUSE_RIBBON 1
47961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47965 if test "$wxUSE_STC" = "yes"; then
47966 cat >>confdefs.h <<\_ACEOF
47967 #define wxUSE_STC 1
47971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47973 # Extract the first word of "python", so it can be a program name with args.
47974 set dummy python; ac_word=$2
47975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47977 if test "${ac_cv_path_PYTHON+set}" = set; then
47978 echo $ECHO_N "(cached) $ECHO_C" >&6
47982 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47986 for as_dir in $PATH
47989 test -z "$as_dir" && as_dir=.
47990 for ac_exec_ext in '' $ac_executable_extensions; do
47991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47992 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48003 PYTHON=$ac_cv_path_PYTHON
48004 if test -n "$PYTHON"; then
48005 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48006 echo "${ECHO_T}$PYTHON" >&6; }
48008 { echo "$as_me:$LINENO: result: no" >&5
48009 echo "${ECHO_T}no" >&6; }
48013 if test "x$PYTHON" = "x"; then
48019 if test "$wxUSE_MENUS" = "yes"; then
48020 cat >>confdefs.h <<\_ACEOF
48021 #define wxUSE_MENUS 1
48024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48027 if test "$wxUSE_METAFILE" = "yes"; then
48028 cat >>confdefs.h <<\_ACEOF
48029 #define wxUSE_METAFILE 1
48034 if test "$wxUSE_MIMETYPE" = "yes"; then
48035 cat >>confdefs.h <<\_ACEOF
48036 #define wxUSE_MIMETYPE 1
48041 if test "$wxUSE_MINIFRAME" = "yes"; then
48042 cat >>confdefs.h <<\_ACEOF
48043 #define wxUSE_MINIFRAME 1
48048 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48049 cat >>confdefs.h <<\_ACEOF
48050 #define wxUSE_SYSTEM_OPTIONS 1
48055 if test "$wxUSE_TASKBARICON" = "yes"; then
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_TASKBARICON 1
48060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48064 if test "$wxUSE_VALIDATORS" = "yes"; then
48065 cat >>confdefs.h <<\_ACEOF
48066 #define wxUSE_VALIDATORS 1
48069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48072 if test "$wxUSE_PALETTE" = "yes" ; then
48073 if test "$wxUSE_DFB" = 1; then
48074 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48075 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48078 cat >>confdefs.h <<\_ACEOF
48079 #define wxUSE_PALETTE 1
48085 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48086 LIBS=" -lunicows $LIBS"
48090 if test "$wxUSE_RICHTEXT" = "yes"; then
48091 cat >>confdefs.h <<\_ACEOF
48092 #define wxUSE_RICHTEXT 1
48096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48100 if test "$wxUSE_IMAGE" = "yes" ; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_IMAGE 1
48106 if test "$wxUSE_GIF" = "yes" ; then
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_GIF 1
48113 if test "$wxUSE_PCX" = "yes" ; then
48114 cat >>confdefs.h <<\_ACEOF
48115 #define wxUSE_PCX 1
48120 if test "$wxUSE_TGA" = "yes" ; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_TGA 1
48127 if test "$wxUSE_IFF" = "yes" ; then
48128 cat >>confdefs.h <<\_ACEOF
48129 #define wxUSE_IFF 1
48134 if test "$wxUSE_PNM" = "yes" ; then
48135 cat >>confdefs.h <<\_ACEOF
48136 #define wxUSE_PNM 1
48141 if test "$wxUSE_XPM" = "yes" ; then
48142 cat >>confdefs.h <<\_ACEOF
48143 #define wxUSE_XPM 1
48148 if test "$wxUSE_ICO_CUR" = "yes" ; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_ICO_CUR 1
48157 if test "$wxUSE_ABOUTDLG" = "yes"; then
48158 cat >>confdefs.h <<\_ACEOF
48159 #define wxUSE_ABOUTDLG 1
48164 if test "$wxUSE_CHOICEDLG" = "yes"; then
48165 cat >>confdefs.h <<\_ACEOF
48166 #define wxUSE_CHOICEDLG 1
48171 if test "$wxUSE_COLOURDLG" = "yes"; then
48172 cat >>confdefs.h <<\_ACEOF
48173 #define wxUSE_COLOURDLG 1
48178 if test "$wxUSE_FILEDLG" = "yes"; then
48179 cat >>confdefs.h <<\_ACEOF
48180 #define wxUSE_FILEDLG 1
48185 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48186 cat >>confdefs.h <<\_ACEOF
48187 #define wxUSE_FINDREPLDLG 1
48192 if test "$wxUSE_FONTDLG" = "yes"; then
48193 cat >>confdefs.h <<\_ACEOF
48194 #define wxUSE_FONTDLG 1
48199 if test "$wxUSE_DIRDLG" = "yes"; then
48200 if test "$wxUSE_TREECTRL" != "yes"; then
48201 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48202 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_DIRDLG 1
48211 if test "$wxUSE_MSGDLG" = "yes"; then
48212 cat >>confdefs.h <<\_ACEOF
48213 #define wxUSE_MSGDLG 1
48218 if test "$wxUSE_NUMBERDLG" = "yes"; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_NUMBERDLG 1
48225 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_PROGRESSDLG 1
48232 if test "$wxUSE_SPLASH" = "yes"; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_SPLASH 1
48237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48240 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_STARTUP_TIPS 1
48247 if test "$wxUSE_TEXTDLG" = "yes"; then
48248 cat >>confdefs.h <<\_ACEOF
48249 #define wxUSE_TEXTDLG 1
48254 if test "$wxUSE_WIZARDDLG" = "yes"; then
48255 cat >>confdefs.h <<\_ACEOF
48256 #define wxUSE_WIZARDDLG 1
48259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48263 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48264 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_OWNER_DRAWN 1
48273 if test "$wxUSE_MSW" = 1 ; then
48275 if test "$wxUSE_DC_CACHEING" = "yes"; then
48276 cat >>confdefs.h <<\_ACEOF
48277 #define wxUSE_DC_CACHEING 1
48282 if test "$wxUSE_DIB" = "yes"; then
48283 cat >>confdefs.h <<\_ACEOF
48284 #define wxUSE_WXDIB 1
48289 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48290 cat >>confdefs.h <<\_ACEOF
48291 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48296 if test "$wxUSE_UXTHEME" = "yes"; then
48297 cat >>confdefs.h <<\_ACEOF
48298 #define wxUSE_UXTHEME 1
48305 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48306 cat >>confdefs.h <<\_ACEOF
48307 #define wxUSE_AUTOID_MANAGEMENT 1
48312 if test "$USE_WIN32" = 1 ; then
48313 if test "$wxUSE_INICONF" = "yes"; then
48314 cat >>confdefs.h <<\_ACEOF
48315 #define wxUSE_INICONF 1
48320 if test "$wxUSE_REGKEY" = "yes"; then
48321 cat >>confdefs.h <<\_ACEOF
48322 #define wxUSE_REGKEY 1
48329 if test "$wxUSE_MAC" = 1; then
48330 wxUSE_GRAPHICS_CONTEXT="yes"
48333 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48335 if test "$wxUSE_MSW" = 1; then
48336 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48337 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48338 if test "${wx_cv_lib_gdiplus+set}" = set; then
48339 echo $ECHO_N "(cached) $ECHO_C" >&6
48343 ac_cpp='$CXXCPP $CPPFLAGS'
48344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48348 cat >conftest.$ac_ext <<_ACEOF
48351 cat confdefs.h >>conftest.$ac_ext
48352 cat >>conftest.$ac_ext <<_ACEOF
48353 /* end confdefs.h. */
48354 #include <windows.h>
48355 #include <gdiplus.h>
48360 using namespace Gdiplus;
48366 rm -f conftest.$ac_objext
48367 if { (ac_try="$ac_compile"
48368 case "(($ac_try" in
48369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48370 *) ac_try_echo=$ac_try;;
48372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48373 (eval "$ac_compile") 2>conftest.er1
48375 grep -v '^ *+' conftest.er1 >conftest.err
48377 cat conftest.err >&5
48378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48379 (exit $ac_status); } && {
48380 test -z "$ac_cxx_werror_flag" ||
48381 test ! -s conftest.err
48382 } && test -s conftest.$ac_objext; then
48383 wx_cv_lib_gdiplus=yes
48385 echo "$as_me: failed program was:" >&5
48386 sed 's/^/| /' conftest.$ac_ext >&5
48388 wx_cv_lib_gdiplus=no
48392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48394 ac_cpp='$CPP $CPPFLAGS'
48395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48402 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48403 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48404 if test "$wx_cv_lib_gdiplus" = "yes"; then
48407 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48410 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48411 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48413 if test -n "$PKG_CONFIG"; then
48414 if test -n "$CAIRO_CFLAGS"; then
48415 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48417 if test -n "$PKG_CONFIG" && \
48418 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48419 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48422 (exit $ac_status); }; then
48423 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48431 if test -n "$PKG_CONFIG"; then
48432 if test -n "$CAIRO_LIBS"; then
48433 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48435 if test -n "$PKG_CONFIG" && \
48436 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48437 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48440 (exit $ac_status); }; then
48441 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48452 if test $pkg_failed = yes; then
48454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48455 _pkg_short_errors_supported=yes
48457 _pkg_short_errors_supported=no
48459 if test $_pkg_short_errors_supported = yes; then
48460 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48462 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48464 # Put the nasty error message in config.log where it belongs
48465 echo "$CAIRO_PKG_ERRORS" >&5
48467 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48468 echo "$as_me: WARNING: Cairo library not found" >&2;}
48470 elif test $pkg_failed = untried; then
48471 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48472 echo "$as_me: WARNING: Cairo library not found" >&2;}
48475 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48476 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48477 { echo "$as_me:$LINENO: result: yes" >&5
48478 echo "${ECHO_T}yes" >&6; }
48481 if test "$wx_has_graphics" = 1; then
48483 LIBS="$LIBS $CAIRO_LIBS"
48485 for ac_func in cairo_push_group
48487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48488 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48490 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48491 echo $ECHO_N "(cached) $ECHO_C" >&6
48493 cat >conftest.$ac_ext <<_ACEOF
48496 cat confdefs.h >>conftest.$ac_ext
48497 cat >>conftest.$ac_ext <<_ACEOF
48498 /* end confdefs.h. */
48499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48501 #define $ac_func innocuous_$ac_func
48503 /* System header to define __stub macros and hopefully few prototypes,
48504 which can conflict with char $ac_func (); below.
48505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48506 <limits.h> exists even on freestanding compilers. */
48509 # include <limits.h>
48511 # include <assert.h>
48516 /* Override any GCC internal prototype to avoid an error.
48517 Use char because int might match the return type of a GCC
48518 builtin and then its argument prototype would still apply. */
48523 /* The GNU C library defines this for functions which it implements
48524 to always fail with ENOSYS. Some functions are actually named
48525 something starting with __ and the normal name is an alias. */
48526 #if defined __stub_$ac_func || defined __stub___$ac_func
48533 return $ac_func ();
48538 rm -f conftest.$ac_objext conftest$ac_exeext
48539 if { (ac_try="$ac_link"
48540 case "(($ac_try" in
48541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48542 *) ac_try_echo=$ac_try;;
48544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48545 (eval "$ac_link") 2>conftest.er1
48547 grep -v '^ *+' conftest.er1 >conftest.err
48549 cat conftest.err >&5
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); } && {
48552 test -z "$ac_c_werror_flag" ||
48553 test ! -s conftest.err
48554 } && test -s conftest$ac_exeext &&
48555 $as_test_x conftest$ac_exeext; then
48556 eval "$as_ac_var=yes"
48558 echo "$as_me: failed program was:" >&5
48559 sed 's/^/| /' conftest.$ac_ext >&5
48561 eval "$as_ac_var=no"
48564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48565 conftest$ac_exeext conftest.$ac_ext
48567 ac_res=`eval echo '${'$as_ac_var'}'`
48568 { echo "$as_me:$LINENO: result: $ac_res" >&5
48569 echo "${ECHO_T}$ac_res" >&6; }
48570 if test `eval echo '${'$as_ac_var'}'` = yes; then
48571 cat >>confdefs.h <<_ACEOF
48572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48579 if test "$ac_cv_func_cairo_push_group" = "no"; then
48581 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48582 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48584 cat >>confdefs.h <<\_ACEOF
48585 #define wxUSE_CAIRO 1
48589 if test "$wxUSE_GTK" != 1; then
48590 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48591 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48599 if test "$wx_has_graphics" = 1; then
48600 cat >>confdefs.h <<\_ACEOF
48601 #define wxUSE_GRAPHICS_CONTEXT 1
48605 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48606 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48613 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48616 if test "$wxUSE_GTK" = 1; then
48617 wxUSE_GSTREAMER="no"
48619 GST_VERSION_MAJOR=0
48620 GST_VERSION_MINOR=10
48621 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48623 if test "$wxUSE_GSTREAMER8" = "no"; then
48626 { echo "$as_me:$LINENO: checking for GST" >&5
48627 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48629 if test -n "$PKG_CONFIG"; then
48630 if test -n "$GST_CFLAGS"; then
48631 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48633 if test -n "$PKG_CONFIG" && \
48634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48635 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48638 (exit $ac_status); }; then
48639 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48647 if test -n "$PKG_CONFIG"; then
48648 if test -n "$GST_LIBS"; then
48649 pkg_cv_GST_LIBS="$GST_LIBS"
48651 if test -n "$PKG_CONFIG" && \
48652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48653 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48656 (exit $ac_status); }; then
48657 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48668 if test $pkg_failed = yes; then
48670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48671 _pkg_short_errors_supported=yes
48673 _pkg_short_errors_supported=no
48675 if test $_pkg_short_errors_supported = yes; then
48676 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48678 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48680 # Put the nasty error message in config.log where it belongs
48681 echo "$GST_PKG_ERRORS" >&5
48684 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48685 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48686 GST_VERSION_MINOR=8
48689 elif test $pkg_failed = untried; then
48691 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48692 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48693 GST_VERSION_MINOR=8
48697 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48698 GST_LIBS=$pkg_cv_GST_LIBS
48699 { echo "$as_me:$LINENO: result: yes" >&5
48700 echo "${ECHO_T}yes" >&6; }
48702 wxUSE_GSTREAMER="yes"
48703 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48707 GST_VERSION_MINOR=8
48710 if test $GST_VERSION_MINOR = "8"; then
48711 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48714 { echo "$as_me:$LINENO: checking for GST" >&5
48715 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48717 if test -n "$PKG_CONFIG"; then
48718 if test -n "$GST_CFLAGS"; then
48719 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48721 if test -n "$PKG_CONFIG" && \
48722 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48723 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48726 (exit $ac_status); }; then
48727 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48735 if test -n "$PKG_CONFIG"; then
48736 if test -n "$GST_LIBS"; then
48737 pkg_cv_GST_LIBS="$GST_LIBS"
48739 if test -n "$PKG_CONFIG" && \
48740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48741 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48744 (exit $ac_status); }; then
48745 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48756 if test $pkg_failed = yes; then
48758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48759 _pkg_short_errors_supported=yes
48761 _pkg_short_errors_supported=no
48763 if test $_pkg_short_errors_supported = yes; then
48764 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48766 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48768 # Put the nasty error message in config.log where it belongs
48769 echo "$GST_PKG_ERRORS" >&5
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;}
48775 elif test $pkg_failed = untried; then
48777 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48778 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48781 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48782 GST_LIBS=$pkg_cv_GST_LIBS
48783 { echo "$as_me:$LINENO: result: yes" >&5
48784 echo "${ECHO_T}yes" >&6; }
48785 wxUSE_GSTREAMER="yes"
48790 if test "$wxUSE_GSTREAMER" = "yes"; then
48791 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48792 EXTRALIBS_MEDIA="$GST_LIBS"
48794 cat >>confdefs.h <<\_ACEOF
48795 #define wxUSE_GSTREAMER 1
48803 if test $USE_MEDIA = 1; then
48804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48805 cat >>confdefs.h <<\_ACEOF
48806 #define wxUSE_MEDIACTRL 1
48810 if test "$wxUSE_MEDIACTRL" = "yes"; then
48811 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48812 echo "$as_me: error: GStreamer not available" >&2;}
48813 { (exit 1); exit 1; }; }
48815 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48816 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48822 if test "$cross_compiling" != "no"; then
48825 OSINFO=`uname -s -r -m`
48826 OSINFO="\"$OSINFO\""
48829 cat >>confdefs.h <<_ACEOF
48830 #define WXWIN_OS_DESCRIPTION $OSINFO
48835 if test "x$prefix" != "xNONE"; then
48838 wxPREFIX=$ac_default_prefix
48841 cat >>confdefs.h <<_ACEOF
48842 #define wxINSTALL_PREFIX "$wxPREFIX"
48848 STD_BASE_LIBS="base"
48850 BUILT_WX_LIBS="base"
48851 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48853 if test "$wxUSE_SOCKETS" = "yes" ; then
48854 STD_BASE_LIBS="net $STD_BASE_LIBS"
48855 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48857 if test "$wxUSE_XML" = "yes" ; then
48858 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48859 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48862 if test "$wxUSE_GUI" = "yes"; then
48863 STD_GUI_LIBS="adv core"
48864 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48866 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48867 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48868 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48870 if test "$wxUSE_HTML" = "yes" ; then
48871 STD_GUI_LIBS="html $STD_GUI_LIBS"
48872 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48874 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48875 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48877 if test "$wxUSE_OPENGL" = "yes" ; then
48878 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48880 if test "$wxUSE_AUI" = "yes" ; then
48881 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48883 if test "$wxUSE_PROPGRID" = "yes" ; then
48884 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48886 if test "$wxUSE_RIBBON" = "yes" ; then
48887 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48889 if test "$wxUSE_RICHTEXT" = "yes" ; then
48890 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48892 if test "$wxUSE_STC" = "yes" ; then
48893 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48895 if test "$wxUSE_XRC" = "yes" ; then
48896 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48897 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48908 if test "$wxUSE_MAC" = 1 ; then
48909 if test "$USE_DARWIN" = 1; then
48910 if test "$wxUSE_OSX_IPHONE" = 1; then
48911 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48913 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48917 if test "$wxUSE_OLD_COCOA" = 1 ; then
48918 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48919 if test "$wxUSE_MEDIACTRL" = "yes"; then
48920 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48923 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48924 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48927 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48928 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48930 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48932 if test "$wxUSE_GUI" = "yes"; then
48935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48936 erase event exec font image minimal render \
48937 shaped svg taborder vscroll widgets wrapsizer"
48939 if test "$wxUSE_MONOLITHIC" != "yes"; then
48940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48942 if test "$TOOLKIT" = "MSW"; then
48943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48944 if test "$wxUSE_UNIVERSAL" != "yes"; then
48945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48948 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48952 SAMPLES_SUBDIRS="console"
48953 if test "$wxUSE_SOCKETS" = "yes" ; then
48954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48956 if test "$wxUSE_IPC" = "yes" ; then
48957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48962 if test "x$INTELCC" = "xyes" ; then
48963 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48964 elif test "$GCC" = yes ; then
48965 CWARNINGS="-Wall -Wundef"
48968 if test "x$INTELCXX" = "xyes" ; then
48969 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48970 elif test "$GXX" = yes ; then
48971 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48972 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48973 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48974 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48975 echo $ECHO_N "(cached) $ECHO_C" >&6
48977 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48980 ac_cpp='$CXXCPP $CPPFLAGS'
48981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48985 ac_save_CXXFLAGS="$CXXFLAGS"
48986 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48987 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48988 cat >conftest.$ac_ext <<_ACEOF
48991 cat confdefs.h >>conftest.$ac_ext
48992 cat >>conftest.$ac_ext <<_ACEOF
48993 /* end confdefs.h. */
49003 rm -f conftest.$ac_objext
49004 if { (ac_try="$ac_compile"
49005 case "(($ac_try" in
49006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49007 *) ac_try_echo=$ac_try;;
49009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49010 (eval "$ac_compile") 2>conftest.er1
49012 grep -v '^ *+' conftest.er1 >conftest.err
49014 cat conftest.err >&5
49015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49016 (exit $ac_status); } && {
49017 test -z "$ac_cxx_werror_flag" ||
49018 test ! -s conftest.err
49019 } && test -s conftest.$ac_objext; then
49020 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49022 echo "$as_me: failed program was:" >&5
49023 sed 's/^/| /' conftest.$ac_ext >&5
49028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49030 CXXFLAGS="$ac_save_CXXFLAGS"
49032 ac_cpp='$CPP $CPPFLAGS'
49033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49039 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49040 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49041 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49045 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49046 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49047 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49050 (exit $ac_status); }
49051 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49052 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49055 (exit $ac_status); }
49056 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49062 if test "$wxUSE_MAC" = 1 ; then
49063 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49068 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49069 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49072 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49073 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49074 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49077 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49078 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49079 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49080 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49081 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49083 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49086 if test "x$MWCC" = "xyes"; then
49088 CC="$CC -cwd source -I-"
49089 CXX="$CXX -cwd source -I-"
49094 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49095 EXTRALIBS_XML="$EXPAT_LINK"
49096 EXTRALIBS_HTML="$MSPACK_LINK"
49097 EXTRALIBS_MEDIA="$GST_LIBS"
49098 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49099 if test "$wxUSE_GUI" = "yes"; then
49100 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49102 if test "$wxUSE_OPENGL" = "yes"; then
49103 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49106 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49108 WXCONFIG_LIBS="$LIBS"
49110 if test "$wxUSE_REGEX" = "builtin" ; then
49111 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49113 if test "$wxUSE_EXPAT" = "builtin" ; then
49114 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49116 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49117 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49119 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49120 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49122 if test "$wxUSE_LIBPNG" = "builtin" ; then
49123 wxconfig_3rdparty="png $wxconfig_3rdparty"
49125 if test "$wxUSE_ZLIB" = "builtin" ; then
49126 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49129 for i in $wxconfig_3rdparty ; do
49130 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49134 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49137 case "$wxUNIV_THEMES" in
49139 cat >>confdefs.h <<\_ACEOF
49140 #define wxUSE_ALL_THEMES 1
49146 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49147 cat >>confdefs.h <<_ACEOF
49148 #define wxUSE_THEME_$t 1
49164 if test $wxUSE_MONOLITHIC = "yes" ; then
49170 if test $wxUSE_PLUGINS = "yes" ; then
49176 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49182 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49214 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49227 TOOLKIT_DESC="GTK+"
49228 if test "$WXGTK2" = 1; then
49229 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49230 if test "$wxUSE_GTKPRINT" = "yes" ; then
49231 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49233 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49234 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49236 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49237 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49239 if test "$wxUSE_LIBHILDON" = "yes"; then
49240 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49242 if test "$wxUSE_LIBHILDON2" = "yes"; then
49243 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49246 if test "$TOOLKIT_EXTRA" != ""; then
49247 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49253 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49257 TOOLKIT_DESC="base only"
49261 if test "$wxUSE_WINE" = "yes"; then
49262 BAKEFILE_FORCE_PLATFORM=win32
49265 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49267 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49268 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49269 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49270 echo $ECHO_N "(cached) $ECHO_C" >&6
49273 echo '#include <stdio.h>
49274 const wchar_t test_var[] = L"awidetest";' > conftest.h
49276 echo '#include "conftest.h"
49279 printf("%ls", test_var);
49283 wx_cv_gcc_pch_bug="pch not supported"
49285 if $CXX conftest.h >/dev/null 2>&1
49289 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49291 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49292 grep awidetest >/dev/null
49294 wx_cv_gcc_pch_bug=no
49296 wx_cv_gcc_pch_bug=yes
49301 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49304 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49305 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49307 if test "$wx_cv_gcc_pch_bug" = yes; then
49318 if test "x$BAKEFILE_HOST" = "x"; then
49319 if test "x${host}" = "x" ; then
49320 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49321 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49322 { (exit 1); exit 1; }; }
49325 BAKEFILE_HOST="${host}"
49328 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49330 if test -n "$ac_tool_prefix"; then
49331 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49332 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49335 if test "${ac_cv_prog_RANLIB+set}" = set; then
49336 echo $ECHO_N "(cached) $ECHO_C" >&6
49338 if test -n "$RANLIB"; then
49339 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49342 for as_dir in $PATH
49345 test -z "$as_dir" && as_dir=.
49346 for ac_exec_ext in '' $ac_executable_extensions; do
49347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49348 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49358 RANLIB=$ac_cv_prog_RANLIB
49359 if test -n "$RANLIB"; then
49360 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49361 echo "${ECHO_T}$RANLIB" >&6; }
49363 { echo "$as_me:$LINENO: result: no" >&5
49364 echo "${ECHO_T}no" >&6; }
49369 if test -z "$ac_cv_prog_RANLIB"; then
49370 ac_ct_RANLIB=$RANLIB
49371 # Extract the first word of "ranlib", so it can be a program name with args.
49372 set dummy ranlib; ac_word=$2
49373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49375 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49376 echo $ECHO_N "(cached) $ECHO_C" >&6
49378 if test -n "$ac_ct_RANLIB"; then
49379 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49382 for as_dir in $PATH
49385 test -z "$as_dir" && as_dir=.
49386 for ac_exec_ext in '' $ac_executable_extensions; do
49387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49388 ac_cv_prog_ac_ct_RANLIB="ranlib"
49389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49398 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49399 if test -n "$ac_ct_RANLIB"; then
49400 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49401 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49403 { echo "$as_me:$LINENO: result: no" >&5
49404 echo "${ECHO_T}no" >&6; }
49407 if test "x$ac_ct_RANLIB" = x; then
49410 case $cross_compiling:$ac_tool_warned in
49412 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49413 whose name does not start with the host triplet. If you think this
49414 configuration is useful to you, please write to autoconf@gnu.org." >&5
49415 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49416 whose name does not start with the host triplet. If you think this
49417 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49418 ac_tool_warned=yes ;;
49420 RANLIB=$ac_ct_RANLIB
49423 RANLIB="$ac_cv_prog_RANLIB"
49426 # Find a good install program. We prefer a C program (faster),
49427 # so one script is as good as another. But avoid the broken or
49428 # incompatible versions:
49429 # SysV /etc/install, /usr/sbin/install
49430 # SunOS /usr/etc/install
49431 # IRIX /sbin/install
49433 # AmigaOS /C/install, which installs bootblocks on floppy discs
49434 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49435 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49436 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49437 # OS/2's system install, which has a completely different semantic
49438 # ./install, which can be erroneously created by make from ./install.sh.
49439 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49440 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49441 if test -z "$INSTALL"; then
49442 if test "${ac_cv_path_install+set}" = set; then
49443 echo $ECHO_N "(cached) $ECHO_C" >&6
49445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49446 for as_dir in $PATH
49449 test -z "$as_dir" && as_dir=.
49450 # Account for people who put trailing slashes in PATH elements.
49452 ./ | .// | /cC/* | \
49453 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49454 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49457 # OSF1 and SCO ODT 3.0 have their own names for install.
49458 # Don't use installbsd from OSF since it installs stuff as root
49460 for ac_prog in ginstall scoinst install; do
49461 for ac_exec_ext in '' $ac_executable_extensions; do
49462 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49463 if test $ac_prog = install &&
49464 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49465 # AIX install. It has an incompatible calling convention.
49467 elif test $ac_prog = install &&
49468 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49469 # program-specific install script used by HP pwplus--don't use.
49472 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49485 if test "${ac_cv_path_install+set}" = set; then
49486 INSTALL=$ac_cv_path_install
49488 # As a last resort, use the slow shell script. Don't cache a
49489 # value for INSTALL within a source directory, because that will
49490 # break other packages using the cache if that directory is
49491 # removed, or if the value is a relative name.
49492 INSTALL=$ac_install_sh
49495 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49496 echo "${ECHO_T}$INSTALL" >&6; }
49498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49499 # It thinks the first close brace ends the variable substitution.
49500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49504 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49506 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49507 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49509 if test "$LN_S" = "ln -s"; then
49510 { echo "$as_me:$LINENO: result: yes" >&5
49511 echo "${ECHO_T}yes" >&6; }
49513 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49514 echo "${ECHO_T}no, using $LN_S" >&6; }
49518 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49519 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49520 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49521 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49522 echo $ECHO_N "(cached) $ECHO_C" >&6
49524 cat >conftest.make <<\_ACEOF
49527 @echo '@@@%%%=$(MAKE)=@@@%%%'
49529 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49530 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49531 *@@@%%%=?*=@@@%%%*)
49532 eval ac_cv_prog_make_${ac_make}_set=yes;;
49534 eval ac_cv_prog_make_${ac_make}_set=no;;
49536 rm -f conftest.make
49538 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49539 { echo "$as_me:$LINENO: result: yes" >&5
49540 echo "${ECHO_T}yes" >&6; }
49543 { echo "$as_me:$LINENO: result: no" >&5
49544 echo "${ECHO_T}no" >&6; }
49545 SET_MAKE="MAKE=${MAKE-make}"
49550 if test "x$SUNCXX" = "xyes"; then
49552 AROPTIONS="-xar -o"
49554 elif test "x$SGICC" = "xyes"; then
49559 if test -n "$ac_tool_prefix"; then
49560 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49561 set dummy ${ac_tool_prefix}ar; ac_word=$2
49562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49564 if test "${ac_cv_prog_AR+set}" = set; then
49565 echo $ECHO_N "(cached) $ECHO_C" >&6
49567 if test -n "$AR"; then
49568 ac_cv_prog_AR="$AR" # Let the user override the test.
49570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49571 for as_dir in $PATH
49574 test -z "$as_dir" && as_dir=.
49575 for ac_exec_ext in '' $ac_executable_extensions; do
49576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49577 ac_cv_prog_AR="${ac_tool_prefix}ar"
49578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49588 if test -n "$AR"; then
49589 { echo "$as_me:$LINENO: result: $AR" >&5
49590 echo "${ECHO_T}$AR" >&6; }
49592 { echo "$as_me:$LINENO: result: no" >&5
49593 echo "${ECHO_T}no" >&6; }
49598 if test -z "$ac_cv_prog_AR"; then
49600 # Extract the first word of "ar", so it can be a program name with args.
49601 set dummy ar; ac_word=$2
49602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49604 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49605 echo $ECHO_N "(cached) $ECHO_C" >&6
49607 if test -n "$ac_ct_AR"; then
49608 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49611 for as_dir in $PATH
49614 test -z "$as_dir" && as_dir=.
49615 for ac_exec_ext in '' $ac_executable_extensions; do
49616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49617 ac_cv_prog_ac_ct_AR="ar"
49618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49627 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49628 if test -n "$ac_ct_AR"; then
49629 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49630 echo "${ECHO_T}$ac_ct_AR" >&6; }
49632 { echo "$as_me:$LINENO: result: no" >&5
49633 echo "${ECHO_T}no" >&6; }
49636 if test "x$ac_ct_AR" = x; then
49639 case $cross_compiling:$ac_tool_warned in
49641 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49642 whose name does not start with the host triplet. If you think this
49643 configuration is useful to you, please write to autoconf@gnu.org." >&5
49644 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49645 whose name does not start with the host triplet. If you think this
49646 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49647 ac_tool_warned=yes ;;
49652 AR="$ac_cv_prog_AR"
49659 if test -n "$ac_tool_prefix"; then
49660 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49661 set dummy ${ac_tool_prefix}strip; ac_word=$2
49662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49664 if test "${ac_cv_prog_STRIP+set}" = set; then
49665 echo $ECHO_N "(cached) $ECHO_C" >&6
49667 if test -n "$STRIP"; then
49668 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49671 for as_dir in $PATH
49674 test -z "$as_dir" && as_dir=.
49675 for ac_exec_ext in '' $ac_executable_extensions; do
49676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49677 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49687 STRIP=$ac_cv_prog_STRIP
49688 if test -n "$STRIP"; then
49689 { echo "$as_me:$LINENO: result: $STRIP" >&5
49690 echo "${ECHO_T}$STRIP" >&6; }
49692 { echo "$as_me:$LINENO: result: no" >&5
49693 echo "${ECHO_T}no" >&6; }
49698 if test -z "$ac_cv_prog_STRIP"; then
49700 # Extract the first word of "strip", so it can be a program name with args.
49701 set dummy strip; ac_word=$2
49702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49704 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49705 echo $ECHO_N "(cached) $ECHO_C" >&6
49707 if test -n "$ac_ct_STRIP"; then
49708 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49711 for as_dir in $PATH
49714 test -z "$as_dir" && as_dir=.
49715 for ac_exec_ext in '' $ac_executable_extensions; do
49716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49717 ac_cv_prog_ac_ct_STRIP="strip"
49718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49727 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49728 if test -n "$ac_ct_STRIP"; then
49729 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49730 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49732 { echo "$as_me:$LINENO: result: no" >&5
49733 echo "${ECHO_T}no" >&6; }
49736 if test "x$ac_ct_STRIP" = x; then
49739 case $cross_compiling:$ac_tool_warned in
49741 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49742 whose name does not start with the host triplet. If you think this
49743 configuration is useful to you, please write to autoconf@gnu.org." >&5
49744 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49745 whose name does not start with the host triplet. If you think this
49746 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49747 ac_tool_warned=yes ;;
49752 STRIP="$ac_cv_prog_STRIP"
49755 if test -n "$ac_tool_prefix"; then
49756 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49757 set dummy ${ac_tool_prefix}nm; ac_word=$2
49758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49760 if test "${ac_cv_prog_NM+set}" = set; then
49761 echo $ECHO_N "(cached) $ECHO_C" >&6
49763 if test -n "$NM"; then
49764 ac_cv_prog_NM="$NM" # Let the user override the test.
49766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49767 for as_dir in $PATH
49770 test -z "$as_dir" && as_dir=.
49771 for ac_exec_ext in '' $ac_executable_extensions; do
49772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49773 ac_cv_prog_NM="${ac_tool_prefix}nm"
49774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49784 if test -n "$NM"; then
49785 { echo "$as_me:$LINENO: result: $NM" >&5
49786 echo "${ECHO_T}$NM" >&6; }
49788 { echo "$as_me:$LINENO: result: no" >&5
49789 echo "${ECHO_T}no" >&6; }
49794 if test -z "$ac_cv_prog_NM"; then
49796 # Extract the first word of "nm", so it can be a program name with args.
49797 set dummy nm; ac_word=$2
49798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49800 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49801 echo $ECHO_N "(cached) $ECHO_C" >&6
49803 if test -n "$ac_ct_NM"; then
49804 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49807 for as_dir in $PATH
49810 test -z "$as_dir" && as_dir=.
49811 for ac_exec_ext in '' $ac_executable_extensions; do
49812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49813 ac_cv_prog_ac_ct_NM="nm"
49814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49823 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49824 if test -n "$ac_ct_NM"; then
49825 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49826 echo "${ECHO_T}$ac_ct_NM" >&6; }
49828 { echo "$as_me:$LINENO: result: no" >&5
49829 echo "${ECHO_T}no" >&6; }
49832 if test "x$ac_ct_NM" = x; then
49835 case $cross_compiling:$ac_tool_warned in
49837 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49838 whose name does not start with the host triplet. If you think this
49839 configuration is useful to you, please write to autoconf@gnu.org." >&5
49840 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49841 whose name does not start with the host triplet. If you think this
49842 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49843 ac_tool_warned=yes ;;
49848 NM="$ac_cv_prog_NM"
49852 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49853 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49854 INSTALL_TEST_DIR=acbftest$$
49855 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49856 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49857 rmdir $INSTALL_TEST_DIR
49858 INSTALL_DIR='$(INSTALL) -d'
49859 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49860 echo "${ECHO_T}$INSTALL -d" >&6; }
49862 INSTALL_DIR="mkdir -p"
49863 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49864 echo "${ECHO_T}mkdir -p" >&6; }
49869 case ${BAKEFILE_HOST} in
49870 *-*-cygwin* | *-*-mingw32* )
49871 LDFLAGS_GUI="-mwindows"
49877 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49878 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49879 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49880 echo $ECHO_N "(cached) $ECHO_C" >&6
49883 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49884 egrep -s GNU > /dev/null); then
49885 bakefile_cv_prog_makeisgnu="yes"
49887 bakefile_cv_prog_makeisgnu="no"
49891 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49892 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49894 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49911 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49912 case "${BAKEFILE_HOST}" in
49919 *-pc-os2_emx | *-pc-os2-emx )
49929 powerpc-apple-macos* )
49938 case "$BAKEFILE_FORCE_PLATFORM" in
49959 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49960 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49961 { (exit 1); exit 1; }; }
49976 # Check whether --enable-omf was given.
49977 if test "${enable_omf+set}" = set; then
49978 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49982 case "${BAKEFILE_HOST}" in
49984 if test "x$GCC" = "xyes"; then
49985 CFLAGS="$CFLAGS -fno-common"
49986 CXXFLAGS="$CXXFLAGS -fno-common"
49988 if test "x$XLCC" = "xyes"; then
49989 CFLAGS="$CFLAGS -qnocommon"
49990 CXXFLAGS="$CXXFLAGS -qnocommon"
49994 *-pc-os2_emx | *-pc-os2-emx )
49995 if test "x$bk_os2_use_omf" = "xyes" ; then
49998 LDFLAGS="-Zomf $LDFLAGS"
49999 CFLAGS="-Zomf $CFLAGS"
50000 CXXFLAGS="-Zomf $CXXFLAGS"
50008 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50014 SO_SUFFIX_MODULE="so"
50019 DLLPREFIX_MODULE=""
50023 case "${BAKEFILE_HOST}" in
50028 SO_SUFFIX_MODULE="sl"
50032 SO_SUFFIX_MODULE="a"
50036 SO_SUFFIX_MODULE="dll"
50037 DLLIMP_SUFFIX="dll.a"
50044 SO_SUFFIX_MODULE="dll"
50045 DLLIMP_SUFFIX="dll.a"
50055 *-pc-os2_emx | *-pc-os2-emx )
50057 SO_SUFFIX_MODULE="dll"
50058 DLLIMP_SUFFIX=$OS2_LIBEXT
50062 LIBEXT=".$OS2_LIBEXT"
50067 SO_SUFFIX_MODULE="bundle"
50071 if test "x$DLLIMP_SUFFIX" = "x" ; then
50072 DLLIMP_SUFFIX="$SO_SUFFIX"
50087 if test "x$GCC" = "xyes"; then
50091 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50092 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50095 case "${BAKEFILE_HOST}" in
50097 if test "x$GCC" != "xyes"; then
50098 LDFLAGS="$LDFLAGS -L/usr/lib"
50100 SHARED_LD_CC="${CC} -b -o"
50101 SHARED_LD_CXX="${CXX} -b -o"
50107 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50109 elif test "x$SUNCXX" = "xyes"; then
50110 SHARED_LD_CC="${CC} -G -o"
50111 SHARED_LD_CXX="${CXX} -G -o"
50117 if test "x$SUNCXX" = xyes ; then
50118 SHARED_LD_CC="${CC} -G -o"
50119 SHARED_LD_CXX="${CXX} -G -o"
50127 cat <<EOF >shared-ld-sh
50129 #-----------------------------------------------------------------------------
50130 #-- Name: distrib/mac/shared-ld-sh
50131 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50132 #-- Author: Gilles Depeyrot
50133 #-- Copyright: (c) 2002 Gilles Depeyrot
50134 #-- Licence: any use permitted
50135 #-----------------------------------------------------------------------------
50140 linking_flag="-dynamiclib"
50141 ldargs="-r -keep_private_externs -nostdlib"
50143 if test "x${D}CXX" = "x"; then
50147 while test ${D}# -gt 0; do
50154 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50155 # collect these options and values
50156 args="${D}{args} ${D}1 ${D}2"
50161 # collect these options and values
50162 ldargs="${D}{ldargs} ${D}1 ${D}2"
50167 # collect these load args
50168 ldargs="${D}{ldargs} ${D}1"
50171 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50172 # collect these options
50173 args="${D}{args} ${D}1"
50176 -dynamiclib|-bundle)
50177 linking_flag="${D}1"
50181 echo "shared-ld: unhandled option '${D}1'"
50185 *.o | *.a | *.dylib)
50186 # collect object files
50187 objects="${D}{objects} ${D}1"
50191 echo "shared-ld: unhandled argument '${D}1'"
50202 # Link one module containing all the others
50204 if test ${D}{verbose} = 1; then
50205 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50207 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50211 # Link the shared library from the single module created, but only if the
50212 # previous command didn't fail:
50214 if test ${D}{status} = 0; then
50215 if test ${D}{verbose} = 1; then
50216 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50218 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50223 # Remove intermediate module
50225 rm -f master.${D}${D}.o
50230 chmod +x shared-ld-sh
50232 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50233 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50236 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50237 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50238 if test "${bakefile_cv_gcc31+set}" = set; then
50239 echo $ECHO_N "(cached) $ECHO_C" >&6
50242 cat >conftest.$ac_ext <<_ACEOF
50245 cat confdefs.h >>conftest.$ac_ext
50246 cat >>conftest.$ac_ext <<_ACEOF
50247 /* end confdefs.h. */
50253 #if (__GNUC__ < 3) || \
50254 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50262 rm -f conftest.$ac_objext
50263 if { (ac_try="$ac_compile"
50264 case "(($ac_try" in
50265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50266 *) ac_try_echo=$ac_try;;
50268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50269 (eval "$ac_compile") 2>conftest.er1
50271 grep -v '^ *+' conftest.er1 >conftest.err
50273 cat conftest.err >&5
50274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50275 (exit $ac_status); } && {
50276 test -z "$ac_c_werror_flag" ||
50277 test ! -s conftest.err
50278 } && test -s conftest.$ac_objext; then
50280 bakefile_cv_gcc31=yes
50283 echo "$as_me: failed program was:" >&5
50284 sed 's/^/| /' conftest.$ac_ext >&5
50287 bakefile_cv_gcc31=no
50292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50295 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50296 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50297 if test "$bakefile_cv_gcc31" = "no"; then
50298 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50299 SHARED_LD_CXX="$SHARED_LD_CC"
50301 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50302 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50305 if test "x$GCC" == "xyes"; then
50306 PIC_FLAG="-dynamic -fPIC"
50308 if test "x$XLCC" = "xyes"; then
50309 PIC_FLAG="-dynamic -DPIC"
50314 if test "x$GCC" = "xyes"; then
50317 case "${BAKEFILE_HOST}" in
50319 LD_EXPFULL="-Wl,-bexpfull"
50323 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50324 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50326 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50327 set dummy makeC++SharedLib; ac_word=$2
50328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50330 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50331 echo $ECHO_N "(cached) $ECHO_C" >&6
50333 if test -n "$AIX_CXX_LD"; then
50334 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50337 for as_dir in $PATH
50340 test -z "$as_dir" && as_dir=.
50341 for ac_exec_ext in '' $ac_executable_extensions; do
50342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50343 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50351 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50354 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50355 if test -n "$AIX_CXX_LD"; then
50356 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50357 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50359 { echo "$as_me:$LINENO: result: no" >&5
50360 echo "${ECHO_T}no" >&6; }
50364 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50365 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50370 SHARED_LD_CC="${LD} -nostart -o"
50371 SHARED_LD_CXX="${LD} -nostart -o"
50375 if test "x$GCC" != "xyes"; then
50380 *-*-cygwin* | *-*-mingw32* )
50382 SHARED_LD_CC="\$(CC) -shared -o"
50383 SHARED_LD_CXX="\$(CXX) -shared -o"
50387 *-pc-os2_emx | *-pc-os2-emx )
50388 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50389 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50393 cat <<EOF >dllar.sh
50396 # dllar - a tool to build both a .dll and an .a file
50397 # from a set of object (.o) files for EMX/OS2.
50399 # Written by Andrew Zabolotny, bit@freya.etu.ru
50400 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50402 # This script will accept a set of files on the command line.
50403 # All the public symbols from the .o files will be exported into
50404 # a .DEF file, then linker will be run (through gcc) against them to
50405 # build a shared library consisting of all given .o files. All libraries
50406 # (.a) will be first decompressed into component .o files then act as
50407 # described above. You can optionally give a description (-d "description")
50408 # which will be put into .DLL. To see the list of accepted options (as well
50409 # as command-line format) simply run this program without options. The .DLL
50410 # is built to be imported by name (there is no guarantee that new versions
50411 # of the library you build will have same ordinals for same symbols).
50413 # dllar is free software; you can redistribute it and/or modify
50414 # it under the terms of the GNU General Public License as published by
50415 # the Free Software Foundation; either version 2, or (at your option)
50416 # any later version.
50418 # dllar is distributed in the hope that it will be useful,
50419 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50420 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50421 # GNU General Public License for more details.
50423 # You should have received a copy of the GNU General Public License
50424 # along with dllar; see the file COPYING. If not, write to the Free
50425 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50428 # To successfuly run this program you will need:
50429 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50430 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50432 # (used to build the .dll)
50434 # (used to create .def file from .o files)
50436 # (used to create .a file from .def file)
50437 # - GNU text utilites (cat, sort, uniq)
50438 # used to process emxexp output
50439 # - GNU file utilities (mv, rm)
50441 # - lxlite (optional, see flag below)
50442 # (used for general .dll cleanup)
50449 # basnam, variant of basename, which does _not_ remove the path, _iff_
50450 # second argument (suffix to remove) is given
50454 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50457 echo ${D}1 | sed 's/'${D}2'${D}//'
50460 echo "error in basnam ${D}*"
50466 # Cleanup temporary files and output
50469 for i in ${D}inputFiles ; do
50472 rm -rf \`basnam ${D}i !\`
50479 # Kill result in case of failure as there is just to many stupid make/nmake
50480 # things out there which doesn't do this.
50481 if [ ${D}# -eq 0 ]; then
50482 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50486 # Print usage and exit script with rc=1.
50488 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50489 echo ' [-name-mangler-script script.sh]'
50490 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50491 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50492 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50493 echo ' [*.o] [*.a]'
50494 echo '*> "output_file" should have no extension.'
50495 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50496 echo ' The import library name is derived from this and is set to "name".a,'
50497 echo ' unless overridden by -import'
50498 echo '*> "importlib_name" should have no extension.'
50499 echo ' If it has the .o, or .a extension, it is automatically removed.'
50500 echo ' This name is used as the import library name and may be longer and'
50501 echo ' more descriptive than the DLL name which has to follow the old '
50502 echo ' 8.3 convention of FAT.'
50503 echo '*> "script.sh may be given to override the output_file name by a'
50504 echo ' different name. It is mainly useful if the regular make process'
50505 echo ' of some package does not take into account OS/2 restriction of'
50506 echo ' DLL name lengths. It takes the importlib name as input and is'
50507 echo ' supposed to procude a shorter name as output. The script should'
50508 echo ' expect to get importlib_name without extension and should produce'
50509 echo ' a (max.) 8 letter name without extension.'
50510 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50511 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50512 echo ' These flags will be put at the start of GCC command line.'
50513 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50514 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50515 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50516 echo ' If the last character of a symbol is "*", all symbols beginning'
50517 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50518 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50519 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50520 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50521 echo ' C runtime DLLs.'
50522 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50523 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50524 echo ' unchanged to GCC at the end of command line.'
50525 echo '*> If you create a DLL from a library and you do not specify -o,'
50526 echo ' the basename for DLL and import library will be set to library name,'
50527 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50528 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50529 echo ' library will be renamed into gcc_s.a.'
50532 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50533 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50538 # Execute a command.
50539 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50540 # @Uses Whatever CleanUp() uses.
50546 if [ ${D}rcCmd -ne 0 ]; then
50547 echo "command failed, exit code="${D}rcCmd
50562 CFLAGS="-s -Zcrtdll"
50564 EXPORT_BY_ORDINALS=0
50569 case ${D}curDirS in
50573 curDirS=${D}{curDirS}"/"
50576 # Parse commandline
50579 while [ ${D}1 ]; do
50582 EXPORT_BY_ORDINALS=1;
50592 -name-mangler-script)
50613 exclude_symbols=${D}{exclude_symbols}${D}1" "
50617 library_flags=${D}{library_flags}${D}1" "
50636 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50639 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50640 if [ ${D}omfLinking -eq 1 ]; then
50641 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50643 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50648 if [ ${D}libsToLink -ne 0 ]; then
50649 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50651 for file in ${D}1 ; do
50652 if [ -f ${D}file ]; then
50653 inputFiles="${D}{inputFiles} ${D}file"
50657 if [ ${D}found -eq 0 ]; then
50658 echo "ERROR: No file(s) found: "${D}1
50665 done # iterate cmdline words
50668 if [ -z "${D}inputFiles" ]; then
50669 echo "dllar: no input files"
50673 # Now extract all .o files from .a files
50675 for file in ${D}inputFiles ; do
50686 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50691 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50693 if [ ${D}? -ne 0 ]; then
50694 echo "Failed to create subdirectory ./${D}dirname"
50698 # Append '!' to indicate archive
50699 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50700 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50703 for subfile in ${D}dirname/*.o* ; do
50704 if [ -f ${D}subfile ]; then
50706 if [ -s ${D}subfile ]; then
50707 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50708 newInputFiles="${D}newInputFiles ${D}subfile"
50712 if [ ${D}found -eq 0 ]; then
50713 echo "WARNING: there are no files in archive \\'${D}file\\'"
50717 newInputFiles="${D}{newInputFiles} ${D}file"
50721 inputFiles="${D}newInputFiles"
50723 # Output filename(s).
50725 if [ -z ${D}outFile ]; then
50727 set outFile ${D}inputFiles; outFile=${D}2
50730 # If it is an archive, remove the '!' and the '_%' suffixes
50731 case ${D}outFile in
50733 outFile=\`basnam ${D}outFile _%!\`
50738 case ${D}outFile in
50740 outFile=\`basnam ${D}outFile .dll\`
50743 outFile=\`basnam ${D}outFile .DLL\`
50746 outFile=\`basnam ${D}outFile .o\`
50749 outFile=\`basnam ${D}outFile .obj\`
50752 outFile=\`basnam ${D}outFile .a\`
50755 outFile=\`basnam ${D}outFile .lib\`
50760 case ${D}outimpFile in
50762 outimpFile=\`basnam ${D}outimpFile .a\`
50765 outimpFile=\`basnam ${D}outimpFile .lib\`
50770 if [ -z ${D}outimpFile ]; then
50771 outimpFile=${D}outFile
50773 defFile="${D}{outFile}.def"
50774 arcFile="${D}{outimpFile}.a"
50775 arcFile2="${D}{outimpFile}.lib"
50777 #create ${D}dllFile as something matching 8.3 restrictions,
50778 if [ -z ${D}renameScript ] ; then
50779 dllFile="${D}outFile"
50781 dllFile=\`${D}renameScript ${D}outimpFile\`
50784 if [ ${D}do_backup -ne 0 ] ; then
50785 if [ -f ${D}arcFile ] ; then
50786 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50788 if [ -f ${D}arcFile2 ] ; then
50789 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50793 # Extract public symbols from all the object files.
50794 tmpdefFile=${D}{defFile}_%
50795 rm -f ${D}tmpdefFile
50796 for file in ${D}inputFiles ; do
50801 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50806 # Create the def file.
50808 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50809 dllFile="${D}{dllFile}.dll"
50810 if [ ! -z ${D}description ]; then
50811 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50813 echo "EXPORTS" >> ${D}defFile
50815 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50816 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50818 # Checks if the export is ok or not.
50819 for word in ${D}exclude_symbols; do
50820 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50821 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50825 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50826 sed "=" < ${D}tmpdefFile | \\
50830 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50832 ' > ${D}{tmpdefFile}%
50833 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50835 rm -f ${D}{tmpdefFile}%
50837 cat ${D}tmpdefFile >> ${D}defFile
50838 rm -f ${D}tmpdefFile
50840 # Do linking, create implib, and apply lxlite.
50842 for file in ${D}inputFiles ; do
50847 gccCmdl="${D}gccCmdl ${D}file"
50851 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50852 touch "${D}{outFile}.dll"
50854 doCommand "emximp -o ${D}arcFile ${D}defFile"
50855 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50857 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50860 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50862 doCommand "emxomf -s -l ${D}arcFile"
50872 powerpc-apple-macos* | \
50873 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50883 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50884 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50885 { (exit 1); exit 1; }; }
50888 if test "x$PIC_FLAG" != "x" ; then
50889 PIC_FLAG="$PIC_FLAG -DPIC"
50892 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50893 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50895 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50896 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50911 USE_SOTWOSYMLINKS=0
50915 case "${BAKEFILE_HOST}" in
50916 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50917 *-*-k*bsd*-gnu | *-*-mirbsd* )
50918 if test "x$SUNCXX" = "xyes"; then
50921 SONAME_FLAG="-Wl,-soname,"
50925 USE_SOTWOSYMLINKS=1
50937 USE_SOTWOSYMLINKS=1
50955 # Check whether --enable-dependency-tracking was given.
50956 if test "${enable_dependency_tracking+set}" = set; then
50957 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50961 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50962 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50965 if test "x$bk_use_trackdeps" = "xno" ; then
50967 { echo "$as_me:$LINENO: result: disabled" >&5
50968 echo "${ECHO_T}disabled" >&6; }
50972 if test "x$GCC" = "xyes"; then
50974 case "${BAKEFILE_HOST}" in
50976 DEPSFLAG="-no-cpp-precomp -MMD"
50982 { echo "$as_me:$LINENO: result: gcc" >&5
50983 echo "${ECHO_T}gcc" >&6; }
50984 elif test "x$MWCC" = "xyes"; then
50987 { echo "$as_me:$LINENO: result: mwcc" >&5
50988 echo "${ECHO_T}mwcc" >&6; }
50989 elif test "x$SUNCC" = "xyes"; then
50992 { echo "$as_me:$LINENO: result: Sun cc" >&5
50993 echo "${ECHO_T}Sun cc" >&6; }
50994 elif test "x$SGICC" = "xyes"; then
50997 { echo "$as_me:$LINENO: result: SGI cc" >&5
50998 echo "${ECHO_T}SGI cc" >&6; }
50999 elif test "x$HPCC" = "xyes"; then
51002 { echo "$as_me:$LINENO: result: HP cc" >&5
51003 echo "${ECHO_T}HP cc" >&6; }
51004 elif test "x$COMPAQCC" = "xyes"; then
51007 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51008 echo "${ECHO_T}Compaq cc" >&6; }
51011 { echo "$as_me:$LINENO: result: none" >&5
51012 echo "${ECHO_T}none" >&6; }
51015 if test $DEPS_TRACKING = 1 ; then
51021 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51022 # script. It is used to track C/C++ files dependencies in portable way.
51024 # Permission is given to use this file in any way.
51026 DEPSMODE=${DEPSMODE}
51027 DEPSFLAG="${DEPSFLAG}"
51030 if test ${D}DEPSMODE = gcc ; then
51031 ${D}* ${D}{DEPSFLAG}
51034 # determine location of created files:
51035 while test ${D}# -gt 0; do
51049 objfilebase=\`basename ${D}objfile\`
51050 builddir=\`dirname ${D}objfile\`
51051 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51052 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51053 depsdir=${D}builddir/${D}DEPSDIRBASE
51054 mkdir -p ${D}depsdir
51056 # if the compiler failed, we're done:
51057 if test ${D}{status} != 0 ; then
51062 # move created file to the location we want it in:
51063 if test -f ${D}depfile ; then
51064 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51067 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51068 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51069 if test ! -f ${D}depfile ; then
51070 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51071 depfile="${D}objfile.d"
51073 if test -f ${D}depfile ; then
51074 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51080 elif test ${D}DEPSMODE = mwcc ; then
51081 ${D}* || exit ${D}?
51082 # Run mwcc again with -MM and redirect into the dep file we want
51083 # NOTE: We can't use shift here because we need ${D}* to be valid
51085 for arg in ${D}* ; do
51086 if test "${D}prevarg" = "-o"; then
51100 objfilebase=\`basename ${D}objfile\`
51101 builddir=\`dirname ${D}objfile\`
51102 depsdir=${D}builddir/${D}DEPSDIRBASE
51103 mkdir -p ${D}depsdir
51105 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51108 elif test ${D}DEPSMODE = unixcc; then
51109 ${D}* || exit ${D}?
51110 # Run compiler again with deps flag and redirect into the dep file.
51111 # It doesn't work if the '-o FILE' option is used, but without it the
51112 # dependency file will contain the wrong name for the object. So it is
51113 # removed from the command line, and the dep file is fixed with sed.
51115 while test ${D}# -gt 0; do
51122 eval arg${D}#=\\${D}1
51123 cmd="${D}cmd \\${D}arg${D}#"
51129 objfilebase=\`basename ${D}objfile\`
51130 builddir=\`dirname ${D}objfile\`
51131 depsdir=${D}builddir/${D}DEPSDIRBASE
51132 mkdir -p ${D}depsdir
51134 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51144 BK_DEPS="`pwd`/bk-deps"
51152 case ${BAKEFILE_HOST} in
51153 *-*-cygwin* | *-*-mingw32* )
51154 if test -n "$ac_tool_prefix"; then
51155 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51156 set dummy ${ac_tool_prefix}windres; ac_word=$2
51157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51159 if test "${ac_cv_prog_WINDRES+set}" = set; then
51160 echo $ECHO_N "(cached) $ECHO_C" >&6
51162 if test -n "$WINDRES"; then
51163 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51166 for as_dir in $PATH
51169 test -z "$as_dir" && as_dir=.
51170 for ac_exec_ext in '' $ac_executable_extensions; do
51171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51172 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51182 WINDRES=$ac_cv_prog_WINDRES
51183 if test -n "$WINDRES"; then
51184 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51185 echo "${ECHO_T}$WINDRES" >&6; }
51187 { echo "$as_me:$LINENO: result: no" >&5
51188 echo "${ECHO_T}no" >&6; }
51193 if test -z "$ac_cv_prog_WINDRES"; then
51194 ac_ct_WINDRES=$WINDRES
51195 # Extract the first word of "windres", so it can be a program name with args.
51196 set dummy windres; ac_word=$2
51197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51199 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51200 echo $ECHO_N "(cached) $ECHO_C" >&6
51202 if test -n "$ac_ct_WINDRES"; then
51203 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51206 for as_dir in $PATH
51209 test -z "$as_dir" && as_dir=.
51210 for ac_exec_ext in '' $ac_executable_extensions; do
51211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51212 ac_cv_prog_ac_ct_WINDRES="windres"
51213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51222 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51223 if test -n "$ac_ct_WINDRES"; then
51224 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51225 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51227 { echo "$as_me:$LINENO: result: no" >&5
51228 echo "${ECHO_T}no" >&6; }
51231 if test "x$ac_ct_WINDRES" = x; then
51234 case $cross_compiling:$ac_tool_warned in
51236 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51237 whose name does not start with the host triplet. If you think this
51238 configuration is useful to you, please write to autoconf@gnu.org." >&5
51239 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51240 whose name does not start with the host triplet. If you think this
51241 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51242 ac_tool_warned=yes ;;
51244 WINDRES=$ac_ct_WINDRES
51247 WINDRES="$ac_cv_prog_WINDRES"
51252 *-*-darwin* | powerpc-apple-macos* )
51253 # Extract the first word of "Rez", so it can be a program name with args.
51254 set dummy Rez; ac_word=$2
51255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51257 if test "${ac_cv_prog_REZ+set}" = set; then
51258 echo $ECHO_N "(cached) $ECHO_C" >&6
51260 if test -n "$REZ"; then
51261 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51264 for as_dir in $PATH
51267 test -z "$as_dir" && as_dir=.
51268 for ac_exec_ext in '' $ac_executable_extensions; do
51269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51270 ac_cv_prog_REZ="Rez"
51271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51278 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51281 REZ=$ac_cv_prog_REZ
51282 if test -n "$REZ"; then
51283 { echo "$as_me:$LINENO: result: $REZ" >&5
51284 echo "${ECHO_T}$REZ" >&6; }
51286 { echo "$as_me:$LINENO: result: no" >&5
51287 echo "${ECHO_T}no" >&6; }
51291 # Extract the first word of "SetFile", so it can be a program name with args.
51292 set dummy SetFile; ac_word=$2
51293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51295 if test "${ac_cv_prog_SETFILE+set}" = set; then
51296 echo $ECHO_N "(cached) $ECHO_C" >&6
51298 if test -n "$SETFILE"; then
51299 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51302 for as_dir in $PATH
51305 test -z "$as_dir" && as_dir=.
51306 for ac_exec_ext in '' $ac_executable_extensions; do
51307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51308 ac_cv_prog_SETFILE="SetFile"
51309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51316 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51319 SETFILE=$ac_cv_prog_SETFILE
51320 if test -n "$SETFILE"; then
51321 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51322 echo "${ECHO_T}$SETFILE" >&6; }
51324 { echo "$as_me:$LINENO: result: no" >&5
51325 echo "${ECHO_T}no" >&6; }
51340 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51343 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51347 # Check whether --enable-precomp-headers was given.
51348 if test "${enable_precomp_headers+set}" = set; then
51349 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51358 case ${BAKEFILE_HOST} in
51364 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51365 if test "x$GCC" = "xyes"; then
51366 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51367 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51368 cat >conftest.$ac_ext <<_ACEOF
51371 cat confdefs.h >>conftest.$ac_ext
51372 cat >>conftest.$ac_ext <<_ACEOF
51373 /* end confdefs.h. */
51379 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51380 There is no PCH support
51383 There is no PCH support
51385 #if (__GNUC__ == 3) && \
51386 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51387 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51388 ( defined(__INTEL_COMPILER) )
51389 There is no PCH support
51396 rm -f conftest.$ac_objext
51397 if { (ac_try="$ac_compile"
51398 case "(($ac_try" in
51399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51400 *) ac_try_echo=$ac_try;;
51402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51403 (eval "$ac_compile") 2>conftest.er1
51405 grep -v '^ *+' conftest.er1 >conftest.err
51407 cat conftest.err >&5
51408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51409 (exit $ac_status); } && {
51410 test -z "$ac_c_werror_flag" ||
51411 test ! -s conftest.err
51412 } && test -s conftest.$ac_objext; then
51414 { echo "$as_me:$LINENO: result: yes" >&5
51415 echo "${ECHO_T}yes" >&6; }
51419 echo "$as_me: failed program was:" >&5
51420 sed 's/^/| /' conftest.$ac_ext >&5
51423 if test "$INTELCXX8" = "yes"; then
51424 { echo "$as_me:$LINENO: result: yes" >&5
51425 echo "${ECHO_T}yes" >&6; }
51427 if test "$INTELCXX10" = "yes"; then
51428 ICC_PCH_CREATE_SWITCH="-pch-create"
51429 ICC_PCH_USE_SWITCH="-pch-use"
51431 ICC_PCH_CREATE_SWITCH="-create-pch"
51432 ICC_PCH_USE_SWITCH="-use-pch"
51435 { echo "$as_me:$LINENO: result: no" >&5
51436 echo "${ECHO_T}no" >&6; }
51441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51442 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51446 cat <<EOF >bk-make-pch
51449 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51450 # script. It is used to generated precompiled headers.
51452 # Permission is given to use this file in any way.
51459 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51464 while test ${D}{#} -gt 0; do
51468 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51469 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51470 headerfile="${D}{incdir}/${D}{header}"
51473 -use-pch|-use_pch|-pch-use )
51478 if test ${D}add_to_cmdline = 1 ; then
51479 compiler="${D}{compiler} ${D}{1}"
51484 if test "x${D}{headerfile}" = "x" ; then
51485 echo "error: can't find header ${D}{header} in include paths" >&2
51487 if test -f ${D}{outfile} ; then
51488 rm -f ${D}{outfile}
51490 mkdir -p \`dirname ${D}{outfile}\`
51492 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51493 mkdir -p ${D}{builddir}/.deps
51494 if test "x${GCC_PCH}" = "x1" ; then
51495 # can do this because gcc is >= 3.4:
51496 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51497 elif test "x${ICC_PCH}" = "x1" ; then
51498 filename=pch_gen-${D}${D}
51499 file=${D}{filename}.c
51500 dfile=${D}{filename}.d
51501 cat > ${D}file <<EOT
51502 #include "${D}header"
51504 # using -MF icc complains about differing command lines in creation/use
51505 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51506 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51507 rm -f ${D}file ${D}dfile ${D}{filename}.o
51513 chmod +x bk-make-pch
51514 BK_MAKE_PCH="`pwd`/bk-make-pch"
51525 COND_BUILD_DEBUG="#"
51526 if test "x$BUILD" = "xdebug" ; then
51527 COND_BUILD_DEBUG=""
51530 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51531 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51532 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51535 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51536 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51537 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51540 COND_BUILD_DEBUG_UNICODE_0="#"
51541 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51542 COND_BUILD_DEBUG_UNICODE_0=""
51545 COND_BUILD_DEBUG_UNICODE_1="#"
51546 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51547 COND_BUILD_DEBUG_UNICODE_1=""
51550 COND_BUILD_RELEASE="#"
51551 if test "x$BUILD" = "xrelease" ; then
51552 COND_BUILD_RELEASE=""
51555 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51556 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51557 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51560 COND_BUILD_RELEASE_UNICODE_0="#"
51561 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51562 COND_BUILD_RELEASE_UNICODE_0=""
51565 COND_BUILD_RELEASE_UNICODE_1="#"
51566 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51567 COND_BUILD_RELEASE_UNICODE_1=""
51570 COND_BUILD_debug="#"
51571 if test "x$BUILD" = "xdebug" ; then
51572 COND_BUILD_debug=""
51575 COND_BUILD_debug_DEBUG_FLAG_default="#"
51576 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51577 COND_BUILD_debug_DEBUG_FLAG_default=""
51580 COND_BUILD_debug_DEBUG_INFO_default="#"
51581 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51582 COND_BUILD_debug_DEBUG_INFO_default=""
51585 COND_BUILD_debug_UNICODE_0="#"
51586 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51587 COND_BUILD_debug_UNICODE_0=""
51590 COND_BUILD_debug_UNICODE_1="#"
51591 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51592 COND_BUILD_debug_UNICODE_1=""
51595 COND_BUILD_release="#"
51596 if test "x$BUILD" = "xrelease" ; then
51597 COND_BUILD_release=""
51600 COND_BUILD_release_DEBUG_INFO_default="#"
51601 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51602 COND_BUILD_release_DEBUG_INFO_default=""
51605 COND_BUILD_release_UNICODE_0="#"
51606 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51607 COND_BUILD_release_UNICODE_0=""
51610 COND_BUILD_release_UNICODE_1="#"
51611 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51612 COND_BUILD_release_UNICODE_1=""
51615 COND_DEBUG_FLAG_0="#"
51616 if test "x$DEBUG_FLAG" = "x0" ; then
51617 COND_DEBUG_FLAG_0=""
51620 COND_DEBUG_FLAG_1="#"
51621 if test "x$DEBUG_FLAG" = "x1" ; then
51622 COND_DEBUG_FLAG_1=""
51625 COND_DEBUG_INFO_0="#"
51626 if test "x$DEBUG_INFO" = "x0" ; then
51627 COND_DEBUG_INFO_0=""
51630 COND_DEBUG_INFO_1="#"
51631 if test "x$DEBUG_INFO" = "x1" ; then
51632 COND_DEBUG_INFO_1=""
51635 COND_DEPS_TRACKING_0="#"
51636 if test "x$DEPS_TRACKING" = "x0" ; then
51637 COND_DEPS_TRACKING_0=""
51640 COND_DEPS_TRACKING_1="#"
51641 if test "x$DEPS_TRACKING" = "x1" ; then
51642 COND_DEPS_TRACKING_1=""
51646 if test "x$GCC_PCH" = "x1" ; then
51651 if test "x$ICC_PCH" = "x1" ; then
51655 COND_MONOLITHIC_0="#"
51656 if test "x$MONOLITHIC" = "x0" ; then
51657 COND_MONOLITHIC_0=""
51660 COND_MONOLITHIC_0_SHARED_0="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51662 COND_MONOLITHIC_0_SHARED_0=""
51665 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51667 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51680 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51682 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51685 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51687 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51690 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51692 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51695 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51697 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51700 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51702 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51705 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51707 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51710 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51712 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51715 COND_MONOLITHIC_0_SHARED_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51717 COND_MONOLITHIC_0_SHARED_1=""
51720 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51722 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51725 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51730 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51735 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51737 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51740 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51742 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51745 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51747 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51750 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51752 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51755 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51757 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51760 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51762 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51765 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51767 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51770 COND_MONOLITHIC_0_USE_AUI_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51772 COND_MONOLITHIC_0_USE_AUI_1=""
51775 COND_MONOLITHIC_0_USE_GUI_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51777 COND_MONOLITHIC_0_USE_GUI_1=""
51780 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51782 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51785 COND_MONOLITHIC_0_USE_HTML_1="#"
51786 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51787 COND_MONOLITHIC_0_USE_HTML_1=""
51790 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51791 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51792 COND_MONOLITHIC_0_USE_MEDIA_1=""
51795 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51796 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51797 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51800 COND_MONOLITHIC_0_USE_QA_1="#"
51801 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51802 COND_MONOLITHIC_0_USE_QA_1=""
51805 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51806 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51807 COND_MONOLITHIC_0_USE_RIBBON_1=""
51810 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51811 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51812 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51815 COND_MONOLITHIC_0_USE_STC_1="#"
51816 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51817 COND_MONOLITHIC_0_USE_STC_1=""
51820 COND_MONOLITHIC_0_USE_XRC_1="#"
51821 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51822 COND_MONOLITHIC_0_USE_XRC_1=""
51825 COND_MONOLITHIC_1="#"
51826 if test "x$MONOLITHIC" = "x1" ; then
51827 COND_MONOLITHIC_1=""
51830 COND_MONOLITHIC_1_SHARED_0="#"
51831 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51832 COND_MONOLITHIC_1_SHARED_0=""
51835 COND_MONOLITHIC_1_SHARED_1="#"
51836 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51837 COND_MONOLITHIC_1_SHARED_1=""
51840 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51841 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51842 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51845 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51846 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51847 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51850 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51851 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51852 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51855 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51856 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51857 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51860 COND_PLATFORM_MACOSX_1="#"
51861 if test "x$PLATFORM_MACOSX" = "x1" ; then
51862 COND_PLATFORM_MACOSX_1=""
51865 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51866 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51867 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51870 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51871 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51872 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51875 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51876 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51877 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51881 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51886 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51891 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51895 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51896 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51897 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51900 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51901 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51902 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51905 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51906 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51907 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51910 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51911 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51912 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51915 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51916 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51917 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51920 COND_PLATFORM_MACOS_1="#"
51921 if test "x$PLATFORM_MACOS" = "x1" ; then
51922 COND_PLATFORM_MACOS_1=""
51925 COND_PLATFORM_MAC_0="#"
51926 if test "x$PLATFORM_MAC" = "x0" ; then
51927 COND_PLATFORM_MAC_0=""
51930 COND_PLATFORM_MAC_1="#"
51931 if test "x$PLATFORM_MAC" = "x1" ; then
51932 COND_PLATFORM_MAC_1=""
51935 COND_PLATFORM_MSDOS_0="#"
51936 if test "x$PLATFORM_MSDOS" = "x0" ; then
51937 COND_PLATFORM_MSDOS_0=""
51940 COND_PLATFORM_MSDOS_1="#"
51941 if test "x$PLATFORM_MSDOS" = "x1" ; then
51942 COND_PLATFORM_MSDOS_1=""
51945 COND_PLATFORM_OS2_1="#"
51946 if test "x$PLATFORM_OS2" = "x1" ; then
51947 COND_PLATFORM_OS2_1=""
51950 COND_PLATFORM_UNIX_0="#"
51951 if test "x$PLATFORM_UNIX" = "x0" ; then
51952 COND_PLATFORM_UNIX_0=""
51955 COND_PLATFORM_UNIX_1="#"
51956 if test "x$PLATFORM_UNIX" = "x1" ; then
51957 COND_PLATFORM_UNIX_1=""
51960 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51961 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51962 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51965 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51966 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51967 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51970 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51971 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51972 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51975 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51976 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51977 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51980 COND_PLATFORM_WIN32_0="#"
51981 if test "x$PLATFORM_WIN32" = "x0" ; then
51982 COND_PLATFORM_WIN32_0=""
51985 COND_PLATFORM_WIN32_1="#"
51986 if test "x$PLATFORM_WIN32" = "x1" ; then
51987 COND_PLATFORM_WIN32_1=""
51990 COND_PLATFORM_WIN32_1_SHARED_0="#"
51991 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51992 COND_PLATFORM_WIN32_1_SHARED_0=""
51996 if test "x$SHARED" = "x0" ; then
52000 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52001 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52002 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52005 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52006 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52007 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52010 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52011 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52012 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52015 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52016 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52017 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52020 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52021 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52022 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52025 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52026 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52027 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52030 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52031 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52032 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52035 COND_SHARED_0_USE_STC_1="#"
52036 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52037 COND_SHARED_0_USE_STC_1=""
52040 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52041 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52042 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52045 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52046 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52047 COND_SHARED_0_wxUSE_REGEX_builtin=""
52050 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52051 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52052 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52056 if test "x$SHARED" = "x1" ; then
52060 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52061 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52062 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52066 if test "x$TOOLKIT" = "x" ; then
52070 COND_TOOLKIT_COCOA="#"
52071 if test "x$TOOLKIT" = "xCOCOA" ; then
52072 COND_TOOLKIT_COCOA=""
52075 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52076 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52077 COND_TOOLKIT_COCOA_USE_GUI_1=""
52080 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52081 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52082 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52085 COND_TOOLKIT_DFB="#"
52086 if test "x$TOOLKIT" = "xDFB" ; then
52087 COND_TOOLKIT_DFB=""
52090 COND_TOOLKIT_DFB_USE_GUI_1="#"
52091 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52092 COND_TOOLKIT_DFB_USE_GUI_1=""
52095 COND_TOOLKIT_GTK="#"
52096 if test "x$TOOLKIT" = "xGTK" ; then
52097 COND_TOOLKIT_GTK=""
52100 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52101 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52102 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52105 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52106 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52107 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52110 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52111 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52112 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52115 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52116 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52117 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52120 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52121 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52122 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52125 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52126 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52127 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52130 COND_TOOLKIT_GTK_USE_GUI_1="#"
52131 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52132 COND_TOOLKIT_GTK_USE_GUI_1=""
52135 COND_TOOLKIT_MAC="#"
52136 if test "x$TOOLKIT" = "xMAC" ; then
52137 COND_TOOLKIT_MAC=""
52140 COND_TOOLKIT_MGL="#"
52141 if test "x$TOOLKIT" = "xMGL" ; then
52142 COND_TOOLKIT_MGL=""
52145 COND_TOOLKIT_MGL_USE_GUI_1="#"
52146 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52147 COND_TOOLKIT_MGL_USE_GUI_1=""
52150 COND_TOOLKIT_MOTIF="#"
52151 if test "x$TOOLKIT" = "xMOTIF" ; then
52152 COND_TOOLKIT_MOTIF=""
52155 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52156 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52157 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52160 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52161 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52162 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52165 COND_TOOLKIT_MSW="#"
52166 if test "x$TOOLKIT" = "xMSW" ; then
52167 COND_TOOLKIT_MSW=""
52170 COND_TOOLKIT_MSW_USE_GUI_1="#"
52171 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52172 COND_TOOLKIT_MSW_USE_GUI_1=""
52175 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52176 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52177 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52180 COND_TOOLKIT_MSW_WXUNIV_0="#"
52181 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52182 COND_TOOLKIT_MSW_WXUNIV_0=""
52185 COND_TOOLKIT_OSX_CARBON="#"
52186 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52187 COND_TOOLKIT_OSX_CARBON=""
52190 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52191 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52192 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52195 COND_TOOLKIT_OSX_COCOA="#"
52196 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52197 COND_TOOLKIT_OSX_COCOA=""
52200 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52201 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52202 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52205 COND_TOOLKIT_OSX_IPHONE="#"
52206 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52207 COND_TOOLKIT_OSX_IPHONE=""
52210 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52211 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52212 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52215 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52216 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52217 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52220 COND_TOOLKIT_PM="#"
52221 if test "x$TOOLKIT" = "xPM" ; then
52225 COND_TOOLKIT_PM_USE_GUI_1="#"
52226 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52227 COND_TOOLKIT_PM_USE_GUI_1=""
52230 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52231 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52232 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52235 COND_TOOLKIT_WINCE="#"
52236 if test "x$TOOLKIT" = "xWINCE" ; then
52237 COND_TOOLKIT_WINCE=""
52240 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52241 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52242 COND_TOOLKIT_WINCE_USE_GUI_1=""
52245 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52246 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52247 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52250 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52251 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52252 COND_TOOLKIT_WINCE_WXUNIV_0=""
52255 COND_TOOLKIT_X11="#"
52256 if test "x$TOOLKIT" = "xX11" ; then
52257 COND_TOOLKIT_X11=""
52260 COND_TOOLKIT_X11_USE_GUI_1="#"
52261 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52262 COND_TOOLKIT_X11_USE_GUI_1=""
52266 if test "x$UNICODE" = "x1" ; then
52270 COND_USE_CAIRO_1="#"
52271 if test "x$USE_CAIRO" = "x1" ; then
52272 COND_USE_CAIRO_1=""
52275 COND_USE_EXCEPTIONS_0="#"
52276 if test "x$USE_EXCEPTIONS" = "x0" ; then
52277 COND_USE_EXCEPTIONS_0=""
52280 COND_USE_EXCEPTIONS_1="#"
52281 if test "x$USE_EXCEPTIONS" = "x1" ; then
52282 COND_USE_EXCEPTIONS_1=""
52286 if test "x$USE_GUI" = "x0" ; then
52291 if test "x$USE_GUI" = "x1" ; then
52295 COND_USE_GUI_1_USE_OPENGL_1="#"
52296 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52297 COND_USE_GUI_1_USE_OPENGL_1=""
52300 COND_USE_GUI_1_WXUNIV_0="#"
52301 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52302 COND_USE_GUI_1_WXUNIV_0=""
52305 COND_USE_GUI_1_WXUNIV_1="#"
52306 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52307 COND_USE_GUI_1_WXUNIV_1=""
52310 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52311 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52312 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52315 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52316 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52317 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52320 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52321 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52322 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52325 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52326 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52327 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52330 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52331 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52332 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52335 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52336 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52337 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52340 COND_USE_OPENGL_1="#"
52341 if test "x$USE_OPENGL" = "x1" ; then
52342 COND_USE_OPENGL_1=""
52346 if test "x$USE_PCH" = "x1" ; then
52350 COND_USE_PLUGINS_0="#"
52351 if test "x$USE_PLUGINS" = "x0" ; then
52352 COND_USE_PLUGINS_0=""
52355 COND_USE_RTTI_0="#"
52356 if test "x$USE_RTTI" = "x0" ; then
52360 COND_USE_RTTI_1="#"
52361 if test "x$USE_RTTI" = "x1" ; then
52365 COND_USE_SOTWOSYMLINKS_1="#"
52366 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52367 COND_USE_SOTWOSYMLINKS_1=""
52370 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52371 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52372 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52375 COND_USE_SOVERLINUX_1="#"
52376 if test "x$USE_SOVERLINUX" = "x1" ; then
52377 COND_USE_SOVERLINUX_1=""
52380 COND_USE_SOVERSION_0="#"
52381 if test "x$USE_SOVERSION" = "x0" ; then
52382 COND_USE_SOVERSION_0=""
52385 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52386 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52387 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52390 COND_USE_SOVERSOLARIS_1="#"
52391 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52392 COND_USE_SOVERSOLARIS_1=""
52396 if test "x$USE_STC" = "x1" ; then
52400 COND_USE_THREADS_0="#"
52401 if test "x$USE_THREADS" = "x0" ; then
52402 COND_USE_THREADS_0=""
52405 COND_USE_THREADS_1="#"
52406 if test "x$USE_THREADS" = "x1" ; then
52407 COND_USE_THREADS_1=""
52411 if test "x$USE_XRC" = "x1" ; then
52415 COND_WINDOWS_IMPLIB_1="#"
52416 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52417 COND_WINDOWS_IMPLIB_1=""
52420 COND_WITH_PLUGIN_SDL_1="#"
52421 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52422 COND_WITH_PLUGIN_SDL_1=""
52426 if test "x$WXUNIV" = "x0" ; then
52431 if test "x$WXUNIV" = "x1" ; then
52435 COND_WXUSE_EXPAT_BUILTIN="#"
52436 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52437 COND_WXUSE_EXPAT_BUILTIN=""
52440 COND_WXUSE_LIBJPEG_BUILTIN="#"
52441 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52442 COND_WXUSE_LIBJPEG_BUILTIN=""
52445 COND_WXUSE_LIBPNG_BUILTIN="#"
52446 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52447 COND_WXUSE_LIBPNG_BUILTIN=""
52450 COND_WXUSE_LIBTIFF_BUILTIN="#"
52451 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52452 COND_WXUSE_LIBTIFF_BUILTIN=""
52455 COND_WXUSE_REGEX_BUILTIN="#"
52456 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52457 COND_WXUSE_REGEX_BUILTIN=""
52460 COND_WXUSE_ZLIB_BUILTIN="#"
52461 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52462 COND_WXUSE_ZLIB_BUILTIN=""
52465 COND_wxUSE_EXPAT_builtin="#"
52466 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52467 COND_wxUSE_EXPAT_builtin=""
52470 COND_wxUSE_LIBJPEG_builtin="#"
52471 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52472 COND_wxUSE_LIBJPEG_builtin=""
52475 COND_wxUSE_LIBPNG_builtin="#"
52476 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52477 COND_wxUSE_LIBPNG_builtin=""
52480 COND_wxUSE_LIBTIFF_builtin="#"
52481 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52482 COND_wxUSE_LIBTIFF_builtin=""
52485 COND_wxUSE_REGEX_builtin="#"
52486 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52487 COND_wxUSE_REGEX_builtin=""
52490 COND_wxUSE_ZLIB_builtin="#"
52491 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52492 COND_wxUSE_ZLIB_builtin=""
52497 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52498 { { 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
52499 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;}
52500 { (exit 1); exit 1; }; }
52503 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52504 { { 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
52505 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;}
52506 { (exit 1); exit 1; }; }
52513 ?:* ) # Drive letter, considered as absolute.
52516 INSTALL=`pwd`/${INSTALL} ;;
52519 if test "$wxUSE_GUI" = "yes"; then
52521 if test "$wxUSE_MSW" = 1 ; then
52522 if test "x$WINDRES" = "x"; then
52523 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52524 echo "$as_me: error: Required windres program not found" >&2;}
52525 { (exit 1); exit 1; }; }
52531 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52532 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52533 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52535 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52537 # Extract the first word of "DeRez", so it can be a program name with args.
52538 set dummy DeRez; ac_word=$2
52539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52541 if test "${ac_cv_prog_DEREZ+set}" = set; then
52542 echo $ECHO_N "(cached) $ECHO_C" >&6
52544 if test -n "$DEREZ"; then
52545 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52548 for as_dir in $PATH
52551 test -z "$as_dir" && as_dir=.
52552 for ac_exec_ext in '' $ac_executable_extensions; do
52553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52554 ac_cv_prog_DEREZ="DeRez"
52555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52562 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52565 DEREZ=$ac_cv_prog_DEREZ
52566 if test -n "$DEREZ"; then
52567 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52568 echo "${ECHO_T}$DEREZ" >&6; }
52570 { echo "$as_me:$LINENO: result: no" >&5
52571 echo "${ECHO_T}no" >&6; }
52576 MACSETFILE="\$(SETFILE)"
52578 if test "$wxUSE_OSX_CARBON" = 1; then
52579 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52581 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52583 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52584 RESCOMP="cat /dev/null \| $REZ"
52585 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52591 if test "$wxUSE_PM" = 1; then
52593 WXCONFIG_RESFLAGS="-ep"
52595 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52597 POSTLINK_COMMAND="@true"
52604 if test $GCC_PCH = 1
52606 if test "$wx_cv_gcc_pch_bug" = yes; then
52607 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52608 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52609 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52610 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52611 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52612 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52615 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52616 # the headers that benefit from precompilation are mostly C++ headers.
52617 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52618 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52619 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52623 if test "$wxUSE_MAC" = 1 ; then
52624 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52625 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52631 if test "$wxUSE_SHARED" = "yes"; then
52633 *-pc-os2_emx | *-pc-os2-emx )
52634 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52635 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52636 cp -p ${srcdir}/src/os2/dllnames.sh .
52637 cp -p ${srcdir}/src/os2/dllar.sh .
52641 if test "$wxUSE_OMF" = "yes"; then
52643 *-pc-os2_emx | *-pc-os2-emx )
52644 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52645 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52646 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52651 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52656 if test "$GCC" = yes; then
52657 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52658 LIBS=`echo $LIBS | sed 's/-mt//'`
52659 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52664 if test "x$SUNCXX" = xyes; then
52665 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52666 LIBS=`echo $LIBS | sed 's/-pthread//'`
52667 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52672 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52673 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52674 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52675 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52677 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52738 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52739 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52740 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52741 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52742 echo $ECHO_N "(cached) $ECHO_C" >&6
52744 cat >conftest.make <<\_ACEOF
52747 @echo '@@@%%%=$(MAKE)=@@@%%%'
52749 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52750 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52751 *@@@%%%=?*=@@@%%%*)
52752 eval ac_cv_prog_make_${ac_make}_set=yes;;
52754 eval ac_cv_prog_make_${ac_make}_set=no;;
52756 rm -f conftest.make
52758 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52759 { echo "$as_me:$LINENO: result: yes" >&5
52760 echo "${ECHO_T}yes" >&6; }
52763 { echo "$as_me:$LINENO: result: no" >&5
52764 echo "${ECHO_T}no" >&6; }
52765 SET_MAKE="MAKE=${MAKE-make}"
52770 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52773 if test "$USE_WIN32" = 1; then
52774 ac_config_commands="$ac_config_commands rcdefs.h"
52778 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52781 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52784 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52787 if test "$wx_cv_version_script" = "yes"; then
52788 ac_config_files="$ac_config_files version-script"
52791 ac_config_files="$ac_config_files Makefile"
52794 ac_config_commands="$ac_config_commands wx-config"
52798 if test "$wxWITH_SUBDIRS" != "no"; then
52799 if test "$wxUSE_GUI" = "yes"; then
52800 SUBDIRS="samples demos utils"
52802 SUBDIRS="samples utils"
52807 # Check whether --with-cppunit-prefix was given.
52808 if test "${with_cppunit_prefix+set}" = set; then
52809 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52811 cppunit_config_prefix=""
52815 # Check whether --with-cppunit-exec-prefix was given.
52816 if test "${with_cppunit_exec_prefix+set}" = set; then
52817 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52819 cppunit_config_exec_prefix=""
52823 if test x$cppunit_config_exec_prefix != x ; then
52824 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52825 if test x${CPPUNIT_CONFIG+set} != xset ; then
52826 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52829 if test x$cppunit_config_prefix != x ; then
52830 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52831 if test x${CPPUNIT_CONFIG+set} != xset ; then
52832 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52836 # Extract the first word of "cppunit-config", so it can be a program name with args.
52837 set dummy cppunit-config; ac_word=$2
52838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52840 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52841 echo $ECHO_N "(cached) $ECHO_C" >&6
52843 case $CPPUNIT_CONFIG in
52845 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52849 for as_dir in $PATH
52852 test -z "$as_dir" && as_dir=.
52853 for ac_exec_ext in '' $ac_executable_extensions; do
52854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52855 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52863 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52867 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52868 if test -n "$CPPUNIT_CONFIG"; then
52869 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52870 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52872 { echo "$as_me:$LINENO: result: no" >&5
52873 echo "${ECHO_T}no" >&6; }
52877 cppunit_version_min=1.8.0
52879 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52880 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52882 if test "$CPPUNIT_CONFIG" = "no" ; then
52883 { echo "$as_me:$LINENO: result: no" >&5
52884 echo "${ECHO_T}no" >&6; }
52887 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52888 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52889 cppunit_version=`$CPPUNIT_CONFIG --version`
52891 cppunit_major_version=`echo $cppunit_version | \
52892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52893 cppunit_minor_version=`echo $cppunit_version | \
52894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52895 cppunit_micro_version=`echo $cppunit_version | \
52896 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52898 cppunit_major_min=`echo $cppunit_version_min | \
52899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52900 cppunit_minor_min=`echo $cppunit_version_min | \
52901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52902 cppunit_micro_min=`echo $cppunit_version_min | \
52903 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52905 cppunit_version_proper=`expr \
52906 $cppunit_major_version \> $cppunit_major_min \| \
52907 $cppunit_major_version \= $cppunit_major_min \& \
52908 $cppunit_minor_version \> $cppunit_minor_min \| \
52909 $cppunit_major_version \= $cppunit_major_min \& \
52910 $cppunit_minor_version \= $cppunit_minor_min \& \
52911 $cppunit_micro_version \>= $cppunit_micro_min `
52913 if test "$cppunit_version_proper" = "1" ; then
52914 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52915 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52917 { echo "$as_me:$LINENO: result: no" >&5
52918 echo "${ECHO_T}no" >&6; }
52923 if test "x$no_cppunit" = x ; then
52924 SUBDIRS="$SUBDIRS tests"
52935 for subdir in $SUBDIRS; do
52936 if test -d ${srcdir}/${subdir} ; then
52937 if test "$wxUSE_GUI" = "yes"; then
52938 if test ${subdir} = "samples"; then
52939 makefiles="samples/Makefile.in $makefiles"
52940 for sample in $SAMPLES_SUBDIRS; do
52941 if test -d $srcdir/samples/$sample; then
52942 makefiles="samples/$sample/Makefile.in $makefiles"
52946 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52947 eval "disabled=\$$disabled_var"
52948 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52949 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52952 if test ${subdir} = "samples"; then
52953 makefiles="samples/Makefile.in $makefiles"
52954 for sample in `echo $SAMPLES_SUBDIRS`; do
52955 if test -d $srcdir/samples/$sample; then
52956 makefiles="samples/$sample/Makefile.in $makefiles"
52959 elif test ${subdir} = "utils"; then
52961 for util in ifacecheck ; do
52962 if test -d $srcdir/utils/$util ; then
52963 makefiles="utils/$util/src/Makefile.in \
52968 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52972 for mkin in $makefiles ; do
52973 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52974 ac_config_files="$ac_config_files $mk"
52980 cat >confcache <<\_ACEOF
52981 # This file is a shell script that caches the results of configure
52982 # tests run on this system so they can be shared between configure
52983 # scripts and configure runs, see configure's option --config-cache.
52984 # It is not useful on other systems. If it contains results you don't
52985 # want to keep, you may remove or edit it.
52987 # config.status only pays attention to the cache file if you give it
52988 # the --recheck option to rerun configure.
52990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52992 # following values.
52996 # The following way of writing the cache mishandles newlines in values,
52997 # but we know of no workaround that is simple, portable, and efficient.
52998 # So, we kill variables containing newlines.
52999 # Ultrix sh set writes to stderr and can't be redirected directly,
53000 # and sets the high bit in the cache file unless we assign to the vars.
53002 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53003 eval ac_val=\$$ac_var
53007 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53008 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53011 _ | IFS | as_nl) ;; #(
53012 *) $as_unset $ac_var ;;
53018 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53019 *${as_nl}ac_space=\ *)
53020 # `set' does not quote correctly, so add quotes (double-quote
53021 # substitution turns \\\\ into \\, and sed turns \\ into \).
53024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53027 # `set' quotes correctly as required by POSIX, so do not add quotes.
53028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53037 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53039 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53041 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53042 if test -w "$cache_file"; then
53043 test "x$cache_file" != "x/dev/null" &&
53044 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53045 echo "$as_me: updating cache $cache_file" >&6;}
53046 cat confcache >$cache_file
53048 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53049 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53054 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53055 # Let make expand exec_prefix.
53056 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53058 DEFS=-DHAVE_CONFIG_H
53062 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53063 # 1. Remove the extension, and $U if already installed.
53064 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53065 ac_i=`echo "$ac_i" | sed "$ac_script"`
53066 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53067 # will be set to the directory where LIBOBJS objects are built.
53068 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53069 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53071 LIBOBJS=$ac_libobjs
53073 LTLIBOBJS=$ac_ltlibobjs
53077 : ${CONFIG_STATUS=./config.status}
53078 ac_clean_files_save=$ac_clean_files
53079 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53080 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53081 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53082 cat >$CONFIG_STATUS <<_ACEOF
53084 # Generated by $as_me.
53085 # Run this file to recreate the current configuration.
53086 # Compiler output produced by configure, useful for debugging
53087 # configure, is in config.log if it exists.
53090 ac_cs_recheck=false
53092 SHELL=\${CONFIG_SHELL-$SHELL}
53095 cat >>$CONFIG_STATUS <<\_ACEOF
53096 ## --------------------- ##
53097 ## M4sh Initialization. ##
53098 ## --------------------- ##
53100 # Be more Bourne compatible
53101 DUALCASE=1; export DUALCASE # for MKS sh
53102 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53105 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53106 # is contrary to our usage. Disable this feature.
53107 alias -g '${1+"$@"}'='"$@"'
53108 setopt NO_GLOB_SUBST
53110 case `(set -o) 2>/dev/null` in
53111 *posix*) set -o posix ;;
53120 # Avoid depending upon Character Ranges.
53121 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53122 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53123 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53124 as_cr_digits='0123456789'
53125 as_cr_alnum=$as_cr_Letters$as_cr_digits
53127 # The user is always right.
53128 if test "${PATH_SEPARATOR+set}" != set; then
53129 echo "#! /bin/sh" >conf$$.sh
53130 echo "exit 0" >>conf$$.sh
53132 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53140 # Support unset when possible.
53141 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53149 # We need space, tab and new line, in precisely that order. Quoting is
53150 # there to prevent editors from complaining about space-tab.
53151 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53152 # splitting by setting IFS to empty value.)
53157 # Find who we are. Look in the path if we contain no directory separator.
53159 *[\\/]* ) as_myself=$0 ;;
53160 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53161 for as_dir in $PATH
53164 test -z "$as_dir" && as_dir=.
53165 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53171 # We did not find ourselves, most probably we were run as `sh COMMAND'
53172 # in which case we are not to be found in the path.
53173 if test "x$as_myself" = x; then
53176 if test ! -f "$as_myself"; then
53177 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53178 { (exit 1); exit 1; }
53181 # Work around bugs in pre-3.0 UWIN ksh.
53182 for as_var in ENV MAIL MAILPATH
53183 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53191 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53192 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53193 LC_TELEPHONE LC_TIME
53195 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53196 eval $as_var=C; export $as_var
53198 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53202 # Required to use basename.
53203 if expr a : '\(a\)' >/dev/null 2>&1 &&
53204 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53210 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53211 as_basename=basename
53217 # Name of the executable.
53218 as_me=`$as_basename -- "$0" ||
53219 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53220 X"$0" : 'X\(//\)$' \| \
53221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53223 sed '/^.*\/\([^/][^/]*\)\/*$/{
53242 as_lineno_1=$LINENO
53243 as_lineno_2=$LINENO
53244 test "x$as_lineno_1" != "x$as_lineno_2" &&
53245 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53247 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53248 # uniformly replaced by the line number. The first 'sed' inserts a
53249 # line-number line after each line using $LINENO; the second 'sed'
53250 # does the real work. The second script uses 'N' to pair each
53251 # line-number line with the line containing $LINENO, and appends
53252 # trailing '-' during substitution so that $LINENO is not a special
53253 # case at line end.
53254 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53255 # scripts with optimization help from Paolo Bonzini. Blame Lee
53256 # E. McMahon (1931-1989) for sed's syntax. :-)
53268 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53271 ' >$as_me.lineno &&
53272 chmod +x "$as_me.lineno" ||
53273 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53274 { (exit 1); exit 1; }; }
53276 # Don't try to exec as it changes $[0], causing all sort of problems
53277 # (the dirname of $[0] is not the place where we might find the
53278 # original and so on. Autoconf is especially sensitive to this).
53279 . "./$as_me.lineno"
53280 # Exit status is that of the last command.
53285 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53291 ECHO_C= ECHO_N= ECHO_T=
53292 case `echo -n x` in
53294 case `echo 'x\c'` in
53295 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53302 if expr a : '\(a\)' >/dev/null 2>&1 &&
53303 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53309 rm -f conf$$ conf$$.exe conf$$.file
53310 if test -d conf$$.dir; then
53311 rm -f conf$$.dir/conf$$.file
53317 if ln -s conf$$.file conf$$ 2>/dev/null; then
53319 # ... but there are two gotchas:
53320 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53321 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53322 # In both cases, we have to default to `cp -p'.
53323 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53325 elif ln conf$$.file conf$$ 2>/dev/null; then
53330 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53331 rmdir conf$$.dir 2>/dev/null
53333 if mkdir -p . 2>/dev/null; then
53336 test -d ./-p && rmdir ./-p
53340 if test -x / >/dev/null 2>&1; then
53341 as_test_x='test -x'
53343 if ls -dL / >/dev/null 2>&1; then
53350 if test -d "$1"; then
53356 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53357 ???[sx]*):;;*)false;;esac;fi
53361 as_executable_p=$as_test_x
53363 # Sed expression to map a string onto a valid CPP name.
53364 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53366 # Sed expression to map a string onto a valid variable name.
53367 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53372 # Save the log message, to keep $[0] and so on meaningful, and to
53373 # report actual input values of CONFIG_FILES etc. instead of their
53374 # values after options handling.
53376 This file was extended by wxWidgets $as_me 2.9.2, which was
53377 generated by GNU Autoconf 2.61. Invocation command line was
53379 CONFIG_FILES = $CONFIG_FILES
53380 CONFIG_HEADERS = $CONFIG_HEADERS
53381 CONFIG_LINKS = $CONFIG_LINKS
53382 CONFIG_COMMANDS = $CONFIG_COMMANDS
53385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53390 cat >>$CONFIG_STATUS <<_ACEOF
53391 # Files that config.status was made for.
53392 config_files="$ac_config_files"
53393 config_headers="$ac_config_headers"
53394 config_commands="$ac_config_commands"
53398 cat >>$CONFIG_STATUS <<\_ACEOF
53400 \`$as_me' instantiates files from templates according to the
53401 current configuration.
53403 Usage: $0 [OPTIONS] [FILE]...
53405 -h, --help print this help, then exit
53406 -V, --version print version number and configuration settings, then exit
53407 -q, --quiet do not print progress messages
53408 -d, --debug don't remove temporary files
53409 --recheck update $as_me by reconfiguring in the same conditions
53410 --file=FILE[:TEMPLATE]
53411 instantiate the configuration file FILE
53412 --header=FILE[:TEMPLATE]
53413 instantiate the configuration header FILE
53415 Configuration files:
53418 Configuration headers:
53421 Configuration commands:
53424 Report bugs to <bug-autoconf@gnu.org>."
53427 cat >>$CONFIG_STATUS <<_ACEOF
53429 wxWidgets config.status 2.9.2
53430 configured by $0, generated by GNU Autoconf 2.61,
53431 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53433 Copyright (C) 2006 Free Software Foundation, Inc.
53434 This config.status script is free software; the Free Software Foundation
53435 gives unlimited permission to copy, distribute and modify it."
53442 cat >>$CONFIG_STATUS <<\_ACEOF
53443 # If no file are specified by the user, then we need to provide default
53444 # value. By we need to know if files were specified by the user.
53450 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53451 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53462 # Handling of the options.
53463 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53465 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53466 echo "$ac_cs_version"; exit ;;
53467 --debug | --debu | --deb | --de | --d | -d )
53469 --file | --fil | --fi | --f )
53471 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53472 ac_need_defaults=false;;
53473 --header | --heade | --head | --hea )
53475 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53476 ac_need_defaults=false;;
53478 # Conflict between --help and --header
53479 { echo "$as_me: error: ambiguous option: $1
53480 Try \`$0 --help' for more information." >&2
53481 { (exit 1); exit 1; }; };;
53482 --help | --hel | -h )
53483 echo "$ac_cs_usage"; exit ;;
53484 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53485 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53488 # This is an error.
53489 -*) { echo "$as_me: error: unrecognized option: $1
53490 Try \`$0 --help' for more information." >&2
53491 { (exit 1); exit 1; }; } ;;
53493 *) ac_config_targets="$ac_config_targets $1"
53494 ac_need_defaults=false ;;
53500 ac_configure_extra_args=
53502 if $ac_cs_silent; then
53504 ac_configure_extra_args="$ac_configure_extra_args --silent"
53508 cat >>$CONFIG_STATUS <<_ACEOF
53509 if \$ac_cs_recheck; then
53510 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53511 CONFIG_SHELL=$SHELL
53512 export CONFIG_SHELL
53513 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53517 cat >>$CONFIG_STATUS <<\_ACEOF
53521 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53522 ## Running $as_me. ##
53528 cat >>$CONFIG_STATUS <<_ACEOF
53534 infile="$srcdir/include/wx/msw/genrcdefs.h"
53535 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53538 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53539 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53540 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53546 cat >>$CONFIG_STATUS <<\_ACEOF
53548 # Handling of arguments.
53549 for ac_config_target in $ac_config_targets
53551 case $ac_config_target in
53552 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53553 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53554 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53555 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53556 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53557 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53558 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53559 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53560 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53562 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53563 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53564 { (exit 1); exit 1; }; };;
53569 # If the user did not use the arguments to specify the items to instantiate,
53570 # then the envvar interface is used. Set only those that are not.
53571 # We use the long form for the default assignment because of an extremely
53572 # bizarre bug on SunOS 4.1.3.
53573 if $ac_need_defaults; then
53574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53575 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53576 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53579 # Have a temporary directory for convenience. Make it in the build tree
53580 # simply because there is no reason against having it here, and in addition,
53581 # creating and moving files from /tmp can sometimes cause problems.
53582 # Hook for its removal unless debugging.
53583 # Note that there is a small window in which the directory will not be cleaned:
53584 # after its creation but before its name has been assigned to `$tmp'.
53588 trap 'exit_status=$?
53589 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53591 trap '{ (exit 1); exit 1; }' 1 2 13 15
53593 # Create a (secure) tmp directory for tmp files.
53596 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53597 test -n "$tmp" && test -d "$tmp"
53600 tmp=./conf$$-$RANDOM
53601 (umask 077 && mkdir "$tmp")
53604 echo "$me: cannot create a temporary directory in ." >&2
53605 { (exit 1); exit 1; }
53609 # Set up the sed scripts for CONFIG_FILES section.
53612 # No need to generate the scripts if there are no CONFIG_FILES.
53613 # This happens for instance when ./config.status config.h
53614 if test -n "$CONFIG_FILES"; then
53621 for ac_last_try in false false false false false :; do
53622 cat >conf$$subs.sed <<_ACEOF
53623 SHELL!$SHELL$ac_delim
53624 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53625 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53626 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53627 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53628 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53629 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53630 exec_prefix!$exec_prefix$ac_delim
53631 prefix!$prefix$ac_delim
53632 program_transform_name!$program_transform_name$ac_delim
53633 bindir!$bindir$ac_delim
53634 sbindir!$sbindir$ac_delim
53635 libexecdir!$libexecdir$ac_delim
53636 datarootdir!$datarootdir$ac_delim
53637 datadir!$datadir$ac_delim
53638 sysconfdir!$sysconfdir$ac_delim
53639 sharedstatedir!$sharedstatedir$ac_delim
53640 localstatedir!$localstatedir$ac_delim
53641 includedir!$includedir$ac_delim
53642 oldincludedir!$oldincludedir$ac_delim
53643 docdir!$docdir$ac_delim
53644 infodir!$infodir$ac_delim
53645 htmldir!$htmldir$ac_delim
53646 dvidir!$dvidir$ac_delim
53647 pdfdir!$pdfdir$ac_delim
53648 psdir!$psdir$ac_delim
53649 libdir!$libdir$ac_delim
53650 localedir!$localedir$ac_delim
53651 mandir!$mandir$ac_delim
53652 DEFS!$DEFS$ac_delim
53653 ECHO_C!$ECHO_C$ac_delim
53654 ECHO_N!$ECHO_N$ac_delim
53655 ECHO_T!$ECHO_T$ac_delim
53656 LIBS!$LIBS$ac_delim
53657 build_alias!$build_alias$ac_delim
53658 host_alias!$host_alias$ac_delim
53659 target_alias!$target_alias$ac_delim
53660 build!$build$ac_delim
53661 build_cpu!$build_cpu$ac_delim
53662 build_vendor!$build_vendor$ac_delim
53663 build_os!$build_os$ac_delim
53664 host!$host$ac_delim
53665 host_cpu!$host_cpu$ac_delim
53666 host_vendor!$host_vendor$ac_delim
53667 host_os!$host_os$ac_delim
53668 wx_top_builddir!$wx_top_builddir$ac_delim
53670 CFLAGS!$CFLAGS$ac_delim
53671 LDFLAGS!$LDFLAGS$ac_delim
53672 CPPFLAGS!$CPPFLAGS$ac_delim
53673 ac_ct_CC!$ac_ct_CC$ac_delim
53674 EXEEXT!$EXEEXT$ac_delim
53675 OBJEXT!$OBJEXT$ac_delim
53677 GREP!$GREP$ac_delim
53678 EGREP!$EGREP$ac_delim
53680 CXXFLAGS!$CXXFLAGS$ac_delim
53681 ac_ct_CXX!$ac_ct_CXX$ac_delim
53683 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53684 CXXCPP!$CXXCPP$ac_delim
53685 subdirs!$subdirs$ac_delim
53686 PKG_CONFIG!$PKG_CONFIG$ac_delim
53687 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53688 GTK_LIBS!$GTK_LIBS$ac_delim
53689 GTK_CONFIG!$GTK_CONFIG$ac_delim
53690 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53691 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53692 XMKMF!$XMKMF$ac_delim
53693 X_CFLAGS!$X_CFLAGS$ac_delim
53694 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53695 X_LIBS!$X_LIBS$ac_delim
53696 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53697 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53698 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53699 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53700 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53701 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53702 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53703 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53704 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53705 LIBICONV!$LIBICONV$ac_delim
53706 GXX_VERSION!$GXX_VERSION$ac_delim
53707 SDL_CONFIG!$SDL_CONFIG$ac_delim
53708 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53709 SDL_LIBS!$SDL_LIBS$ac_delim
53710 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53711 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53712 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53713 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53714 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53715 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53716 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53717 HILDON_LIBS!$HILDON_LIBS$ac_delim
53718 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53719 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53722 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53724 elif $ac_last_try; then
53725 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53726 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53727 { (exit 1); exit 1; }; }
53729 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53733 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53734 if test -n "$ac_eof"; then
53735 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53736 ac_eof=`expr $ac_eof + 1`
53739 cat >>$CONFIG_STATUS <<_ACEOF
53740 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53744 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53745 s/^/s,@/; s/!/@,|#_!!_#|/
53748 s/'"$ac_delim"'$/,g/; t
53750 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53751 ' >>$CONFIG_STATUS <conf$$subs.sed
53752 rm -f conf$$subs.sed
53753 cat >>$CONFIG_STATUS <<_ACEOF
53759 for ac_last_try in false false false false false :; do
53760 cat >conf$$subs.sed <<_ACEOF
53761 PYTHON!$PYTHON$ac_delim
53762 COND_PYTHON!$COND_PYTHON$ac_delim
53763 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53764 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53765 GST_CFLAGS!$GST_CFLAGS$ac_delim
53766 GST_LIBS!$GST_LIBS$ac_delim
53767 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53768 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53769 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53770 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53771 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53772 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53773 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53774 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53775 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53776 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53777 VENDOR!$VENDOR$ac_delim
53778 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53779 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53780 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53781 WXUNIV!$WXUNIV$ac_delim
53782 MONOLITHIC!$MONOLITHIC$ac_delim
53783 USE_PLUGINS!$USE_PLUGINS$ac_delim
53784 CXXWARNINGS!$CXXWARNINGS$ac_delim
53785 EXTRALIBS!$EXTRALIBS$ac_delim
53786 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53787 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53788 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53789 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53790 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53791 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53792 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53793 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53794 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53795 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53796 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53797 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53798 UNICODE!$UNICODE$ac_delim
53799 DEBUG_INFO!$DEBUG_INFO$ac_delim
53800 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53801 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53802 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53803 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53804 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53805 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53806 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53807 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53808 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53809 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53810 RANLIB!$RANLIB$ac_delim
53811 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53812 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53813 INSTALL_DATA!$INSTALL_DATA$ac_delim
53814 LN_S!$LN_S$ac_delim
53815 SET_MAKE!$SET_MAKE$ac_delim
53816 MAKE_SET!$MAKE_SET$ac_delim
53817 AROPTIONS!$AROPTIONS$ac_delim
53818 STRIP!$STRIP$ac_delim
53820 INSTALL_DIR!$INSTALL_DIR$ac_delim
53821 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53822 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53823 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53824 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53825 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53826 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53827 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53828 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53829 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53830 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53831 SO_SUFFIX!$SO_SUFFIX$ac_delim
53832 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53833 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53834 LIBPREFIX!$LIBPREFIX$ac_delim
53835 LIBEXT!$LIBEXT$ac_delim
53836 DLLPREFIX!$DLLPREFIX$ac_delim
53837 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53838 dlldir!$dlldir$ac_delim
53839 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53840 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53841 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53842 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53843 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53844 PIC_FLAG!$PIC_FLAG$ac_delim
53845 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53846 USE_SOVERSION!$USE_SOVERSION$ac_delim
53847 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53848 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53849 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53850 USE_MACVERSION!$USE_MACVERSION$ac_delim
53851 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53852 SONAME_FLAG!$SONAME_FLAG$ac_delim
53853 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53854 BK_DEPS!$BK_DEPS$ac_delim
53855 WINDRES!$WINDRES$ac_delim
53857 SETFILE!$SETFILE$ac_delim
53860 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53862 elif $ac_last_try; then
53863 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53864 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53865 { (exit 1); exit 1; }; }
53867 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53871 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53872 if test -n "$ac_eof"; then
53873 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53874 ac_eof=`expr $ac_eof + 1`
53877 cat >>$CONFIG_STATUS <<_ACEOF
53878 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53882 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53883 s/^/s,@/; s/!/@,|#_!!_#|/
53886 s/'"$ac_delim"'$/,g/; t
53888 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53889 ' >>$CONFIG_STATUS <conf$$subs.sed
53890 rm -f conf$$subs.sed
53891 cat >>$CONFIG_STATUS <<_ACEOF
53897 for ac_last_try in false false false false false :; do
53898 cat >conf$$subs.sed <<_ACEOF
53899 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53900 GCC_PCH!$GCC_PCH$ac_delim
53901 ICC_PCH!$ICC_PCH$ac_delim
53902 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53903 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53904 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53905 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53906 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53907 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53908 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53909 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53910 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53911 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53912 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53913 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53914 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53915 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53916 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53917 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53918 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53919 COND_BUILD_release!$COND_BUILD_release$ac_delim
53920 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53921 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53922 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53923 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53924 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53925 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53926 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53927 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53928 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53929 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53930 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53931 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53932 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53933 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53934 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53935 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53936 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53937 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53938 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53939 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53940 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53941 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53942 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53943 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53944 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53946 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53948 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53949 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53950 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53951 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53952 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53953 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53954 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53955 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53956 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53957 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53958 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53959 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53960 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53961 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53962 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53963 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53964 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53965 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53966 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53967 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53968 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53969 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53970 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53971 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53972 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53973 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53974 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53975 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53976 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
53977 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53978 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
53979 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53980 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
53981 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53982 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53983 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53984 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53985 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53986 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53987 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53988 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53989 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53990 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53991 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53992 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53993 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53994 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53995 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53998 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54000 elif $ac_last_try; then
54001 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54002 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54003 { (exit 1); exit 1; }; }
54005 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54009 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54010 if test -n "$ac_eof"; then
54011 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54012 ac_eof=`expr $ac_eof + 1`
54015 cat >>$CONFIG_STATUS <<_ACEOF
54016 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54017 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54020 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54021 s/^/s,@/; s/!/@,|#_!!_#|/
54024 s/'"$ac_delim"'$/,g/; t
54026 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54027 ' >>$CONFIG_STATUS <conf$$subs.sed
54028 rm -f conf$$subs.sed
54029 cat >>$CONFIG_STATUS <<_ACEOF
54035 for ac_last_try in false false false false false :; do
54036 cat >conf$$subs.sed <<_ACEOF
54037 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54038 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54039 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54040 COND_SHARED_0!$COND_SHARED_0$ac_delim
54041 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54042 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54043 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54044 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54045 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54046 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54047 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54048 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54049 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54050 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54051 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54052 COND_SHARED_1!$COND_SHARED_1$ac_delim
54053 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54054 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54055 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54056 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54057 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54058 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54059 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54060 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54061 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54063 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54064 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54065 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54066 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54067 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54068 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54069 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54070 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54071 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54072 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54073 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54074 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54075 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54076 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54077 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54078 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54079 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54080 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54081 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54082 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54083 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54084 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54085 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54086 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54087 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54088 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54089 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54090 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54091 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54092 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54093 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54094 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54095 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54096 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54097 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54098 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54099 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54100 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54101 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54102 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54103 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54104 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54105 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54106 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54107 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54108 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54109 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54110 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54111 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54112 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54113 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54114 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54115 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54116 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54117 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54118 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54119 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54120 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54121 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54122 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54123 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54124 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54125 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54126 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54127 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54128 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54129 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54130 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54131 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54132 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54133 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54136 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54138 elif $ac_last_try; then
54139 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54140 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54141 { (exit 1); exit 1; }; }
54143 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54147 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54148 if test -n "$ac_eof"; then
54149 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54150 ac_eof=`expr $ac_eof + 1`
54153 cat >>$CONFIG_STATUS <<_ACEOF
54154 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54158 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54159 s/^/s,@/; s/!/@,|#_!!_#|/
54162 s/'"$ac_delim"'$/,g/; t
54164 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54165 ' >>$CONFIG_STATUS <conf$$subs.sed
54166 rm -f conf$$subs.sed
54167 cat >>$CONFIG_STATUS <<_ACEOF
54173 for ac_last_try in false false false false false :; do
54174 cat >conf$$subs.sed <<_ACEOF
54175 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54176 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54177 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54178 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54179 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54180 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54181 DEREZ!$DEREZ$ac_delim
54182 SHARED!$SHARED$ac_delim
54183 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54184 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54185 USE_GUI!$USE_GUI$ac_delim
54186 AFMINSTALL!$AFMINSTALL$ac_delim
54187 WIN32INSTALL!$WIN32INSTALL$ac_delim
54188 TOOLKIT!$TOOLKIT$ac_delim
54189 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54190 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54191 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54192 cross_compiling!$cross_compiling$ac_delim
54193 WIDGET_SET!$WIDGET_SET$ac_delim
54194 WX_RELEASE!$WX_RELEASE$ac_delim
54195 WX_VERSION!$WX_VERSION$ac_delim
54196 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54197 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54198 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54199 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54200 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54201 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54202 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54203 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54204 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54205 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54206 GUIDIST!$GUIDIST$ac_delim
54207 DISTDIR!$DISTDIR$ac_delim
54208 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54209 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54210 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54211 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54212 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54213 RESCOMP!$RESCOMP$ac_delim
54214 RESFLAGS!$RESFLAGS$ac_delim
54215 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54216 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54217 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54218 LIBWXMACRES!$LIBWXMACRES$ac_delim
54219 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54220 MACSETFILE!$MACSETFILE$ac_delim
54222 DLLTOOL!$DLLTOOL$ac_delim
54223 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54224 LIBOBJS!$LIBOBJS$ac_delim
54225 LTLIBOBJS!$LTLIBOBJS$ac_delim
54228 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54230 elif $ac_last_try; then
54231 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54232 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54233 { (exit 1); exit 1; }; }
54235 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54239 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54240 if test -n "$ac_eof"; then
54241 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54242 ac_eof=`expr $ac_eof + 1`
54245 cat >>$CONFIG_STATUS <<_ACEOF
54246 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54247 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54250 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54251 s/^/s,@/; s/!/@,|#_!!_#|/
54254 s/'"$ac_delim"'$/,g/; t
54256 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54257 ' >>$CONFIG_STATUS <conf$$subs.sed
54258 rm -f conf$$subs.sed
54259 cat >>$CONFIG_STATUS <<_ACEOF
54266 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54267 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54268 # trailing colons and then remove the whole line if VPATH becomes empty
54269 # (actually we leave an empty line to preserve line numbers).
54270 if test "x$srcdir" = x.; then
54271 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54272 s/:*\$(srcdir):*/:/
54273 s/:*\${srcdir}:*/:/
54275 s/^\([^=]*=[ ]*\):*/\1/
54281 cat >>$CONFIG_STATUS <<\_ACEOF
54282 fi # test -n "$CONFIG_FILES"
54285 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54288 :[FHLC]) ac_mode=$ac_tag; continue;;
54290 case $ac_mode$ac_tag in
54292 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54293 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54294 { (exit 1); exit 1; }; };;
54295 :[FH]-) ac_tag=-:-;;
54296 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54313 -) ac_f="$tmp/stdin";;
54314 *) # Look for the file first in the build tree, then in the source tree
54315 # (if the path is not absolute). The absolute path cannot be DOS-style,
54316 # because $ac_f cannot contain `:'.
54320 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54322 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54323 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54324 { (exit 1); exit 1; }; };;
54326 ac_file_inputs="$ac_file_inputs $ac_f"
54329 # Let's still pretend it is `configure' which instantiates (i.e., don't
54330 # use $as_me), people would be surprised to read:
54331 # /* config.h. Generated by config.status. */
54332 configure_input="Generated from "`IFS=:
54333 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54334 if test x"$ac_file" != x-; then
54335 configure_input="$ac_file. $configure_input"
54336 { echo "$as_me:$LINENO: creating $ac_file" >&5
54337 echo "$as_me: creating $ac_file" >&6;}
54341 *:-:* | *:-) cat >"$tmp/stdin";;
54346 ac_dir=`$as_dirname -- "$ac_file" ||
54347 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54348 X"$ac_file" : 'X\(//\)[^/]' \| \
54349 X"$ac_file" : 'X\(//\)$' \| \
54350 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54356 /^X\(\/\/\)[^/].*/{
54371 -*) as_dir=./$as_dir;;
54373 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54377 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54378 *) as_qdir=$as_dir;;
54380 as_dirs="'$as_qdir' $as_dirs"
54381 as_dir=`$as_dirname -- "$as_dir" ||
54382 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54383 X"$as_dir" : 'X\(//\)[^/]' \| \
54384 X"$as_dir" : 'X\(//\)$' \| \
54385 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54391 /^X\(\/\/\)[^/].*/{
54404 test -d "$as_dir" && break
54406 test -z "$as_dirs" || eval "mkdir $as_dirs"
54407 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54408 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54409 { (exit 1); exit 1; }; }; }
54413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54415 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54416 # A ".." for each directory in $ac_dir_suffix.
54417 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54418 case $ac_top_builddir_sub in
54419 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54420 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54423 ac_abs_top_builddir=$ac_pwd
54424 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54425 # for backward compatibility:
54426 ac_top_builddir=$ac_top_build_prefix
54429 .) # We are building in place.
54431 ac_top_srcdir=$ac_top_builddir_sub
54432 ac_abs_top_srcdir=$ac_pwd ;;
54433 [\\/]* | ?:[\\/]* ) # Absolute name.
54434 ac_srcdir=$srcdir$ac_dir_suffix;
54435 ac_top_srcdir=$srcdir
54436 ac_abs_top_srcdir=$srcdir ;;
54437 *) # Relative name.
54438 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54439 ac_top_srcdir=$ac_top_build_prefix$srcdir
54440 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54442 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54452 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54453 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54457 cat >>$CONFIG_STATUS <<\_ACEOF
54458 # If the template does not know about datarootdir, expand it.
54459 # FIXME: This hack should be removed a few years after 2.60.
54460 ac_datarootdir_hack=; ac_datarootdir_seen=
54462 case `sed -n '/datarootdir/ {
54471 ' $ac_file_inputs` in
54472 *datarootdir*) ac_datarootdir_seen=yes;;
54473 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54474 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54475 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54477 cat >>$CONFIG_STATUS <<_ACEOF
54478 ac_datarootdir_hack='
54479 s&@datadir@&$datadir&g
54480 s&@docdir@&$docdir&g
54481 s&@infodir@&$infodir&g
54482 s&@localedir@&$localedir&g
54483 s&@mandir@&$mandir&g
54484 s&\\\${datarootdir}&$datarootdir&g' ;;
54488 # Neutralize VPATH when `$srcdir' = `.'.
54489 # Shell code in configure.ac might set extrasub.
54490 # FIXME: do we really want to maintain this feature?
54491 cat >>$CONFIG_STATUS <<_ACEOF
54495 cat >>$CONFIG_STATUS <<\_ACEOF
54497 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54498 s&@configure_input@&$configure_input&;t t
54499 s&@top_builddir@&$ac_top_builddir_sub&;t t
54500 s&@srcdir@&$ac_srcdir&;t t
54501 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54502 s&@top_srcdir@&$ac_top_srcdir&;t t
54503 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54504 s&@builddir@&$ac_builddir&;t t
54505 s&@abs_builddir@&$ac_abs_builddir&;t t
54506 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54507 s&@INSTALL@&$ac_INSTALL&;t t
54508 $ac_datarootdir_hack
54509 " $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
54511 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54512 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54513 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54514 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54515 which seems to be undefined. Please make sure it is defined." >&5
54516 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54517 which seems to be undefined. Please make sure it is defined." >&2;}
54521 -) cat "$tmp/out"; rm -f "$tmp/out";;
54522 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54531 # Transform confdefs.h into a sed script `conftest.defines', that
54532 # substitutes the proper values into config.h.in to produce config.h.
54533 rm -f conftest.defines conftest.tail
54534 # First, append a space to every undef/define line, to ease matching.
54535 echo 's/$/ /' >conftest.defines
54536 # Then, protect against being on the right side of a sed subst, or in
54537 # an unquoted here document, in config.status. If some macros were
54538 # called several times there might be several #defines for the same
54539 # symbol, which is useless. But do not sort them, since the last
54540 # AC_DEFINE must be honored.
54541 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54542 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54543 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54544 # PARAMS is the parameter list in the macro definition--in most cases, it's
54545 # just an empty string.
54546 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54547 ac_dB='\\)[ (].*,\\1define\\2'
54555 s/^[ ]*#[ ]*define[ ][ ]*//
54560 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54561 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54562 ' >>conftest.defines
54564 # Remove the space that was appended to ease matching.
54565 # Then replace #undef with comments. This is necessary, for
54566 # example, in the case of _POSIX_SOURCE, which is predefined and required
54567 # on some systems where configure will not decide to define it.
54568 # (The regexp can be short, since the line contains either #define or #undef.)
54570 s,^[ #]*u.*,/* & */,' >>conftest.defines
54572 # Break up conftest.defines:
54573 ac_max_sed_lines=50
54575 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54576 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54577 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54579 ac_in='$ac_file_inputs'
54580 ac_out='"$tmp/out1"'
54581 ac_nxt='"$tmp/out2"'
54585 # Write a here document:
54586 cat >>$CONFIG_STATUS <<_ACEOF
54587 # First, check the format of the line:
54588 cat >"\$tmp/defines.sed" <<\\CEOF
54589 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54590 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54594 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54596 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54597 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54598 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54599 grep . conftest.tail >/dev/null || break
54600 rm -f conftest.defines
54601 mv conftest.tail conftest.defines
54603 rm -f conftest.defines conftest.tail
54605 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54606 cat >>$CONFIG_STATUS <<\_ACEOF
54607 if test x"$ac_file" != x-; then
54608 echo "/* $configure_input */" >"$tmp/config.h"
54609 cat "$ac_result" >>"$tmp/config.h"
54610 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54611 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54612 echo "$as_me: $ac_file is unchanged" >&6;}
54615 mv "$tmp/config.h" $ac_file
54618 echo "/* $configure_input */"
54624 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54625 echo "$as_me: executing $ac_file commands" >&6;}
54630 case $ac_file$ac_mode in
54632 mkdir -p $outdir &&
54633 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54635 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54636 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54637 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54638 "wx-config":C) rm -f wx-config
54639 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54646 { (exit 0); exit 0; }
54648 chmod +x $CONFIG_STATUS
54649 ac_clean_files=$ac_clean_files_save
54652 # configure is writing to config.log, and then calls config.status.
54653 # config.status does its own redirection, appending to config.log.
54654 # Unfortunately, on DOS this fails, as config.log is still kept open
54655 # by configure, so config.status won't be able to write to it; its
54656 # output is simply discarded. So we exec the FD to /dev/null,
54657 # effectively closing config.log, so it can be properly (re)opened and
54658 # appended to by config.status. When coming back to configure, we
54659 # need to make the FD available again.
54660 if test "$no_create" != yes; then
54662 ac_config_status_args=
54663 test "$silent" = yes &&
54664 ac_config_status_args="$ac_config_status_args --quiet"
54666 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54668 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54669 # would make configure fail if this is the last instruction.
54670 $ac_cs_success || { (exit 1); exit 1; }
54674 # CONFIG_SUBDIRS section.
54676 if test "$no_recursion" != yes; then
54678 # Remove --cache-file and --srcdir arguments so they do not pile up.
54679 ac_sub_configure_args=
54681 eval "set x $ac_configure_args"
54685 if test -n "$ac_prev"; then
54690 -cache-file | --cache-file | --cache-fil | --cache-fi \
54691 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54692 ac_prev=cache_file ;;
54693 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54694 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54697 --config-cache | -C)
54699 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54701 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54703 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54705 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54709 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54711 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54715 # Always prepend --prefix to ensure using the same prefix
54716 # in subdir configurations.
54717 ac_arg="--prefix=$prefix"
54719 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54721 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54724 if test "$silent" = yes; then
54725 ac_sub_configure_args="--silent $ac_sub_configure_args"
54729 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54731 # Do not complain, so a configure script can configure whichever
54732 # parts of a large source tree are present.
54733 test -d "$srcdir/$ac_dir" || continue
54735 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54736 echo "$as_me:$LINENO: $ac_msg" >&5
54740 -*) as_dir=./$as_dir;;
54742 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54746 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54747 *) as_qdir=$as_dir;;
54749 as_dirs="'$as_qdir' $as_dirs"
54750 as_dir=`$as_dirname -- "$as_dir" ||
54751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54752 X"$as_dir" : 'X\(//\)[^/]' \| \
54753 X"$as_dir" : 'X\(//\)$' \| \
54754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54760 /^X\(\/\/\)[^/].*/{
54773 test -d "$as_dir" && break
54775 test -z "$as_dirs" || eval "mkdir $as_dirs"
54776 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54777 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54778 { (exit 1); exit 1; }; }; }
54782 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54784 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54785 # A ".." for each directory in $ac_dir_suffix.
54786 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54787 case $ac_top_builddir_sub in
54788 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54789 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54792 ac_abs_top_builddir=$ac_pwd
54793 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54794 # for backward compatibility:
54795 ac_top_builddir=$ac_top_build_prefix
54798 .) # We are building in place.
54800 ac_top_srcdir=$ac_top_builddir_sub
54801 ac_abs_top_srcdir=$ac_pwd ;;
54802 [\\/]* | ?:[\\/]* ) # Absolute name.
54803 ac_srcdir=$srcdir$ac_dir_suffix;
54804 ac_top_srcdir=$srcdir
54805 ac_abs_top_srcdir=$srcdir ;;
54806 *) # Relative name.
54807 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54808 ac_top_srcdir=$ac_top_build_prefix$srcdir
54809 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54811 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54816 # Check for guested configure; otherwise get Cygnus style configure.
54817 if test -f "$ac_srcdir/configure.gnu"; then
54818 ac_sub_configure=$ac_srcdir/configure.gnu
54819 elif test -f "$ac_srcdir/configure"; then
54820 ac_sub_configure=$ac_srcdir/configure
54821 elif test -f "$ac_srcdir/configure.in"; then
54822 # This should be Cygnus configure.
54823 ac_sub_configure=$ac_aux_dir/configure
54825 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54826 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54830 # The recursion is here.
54831 if test -n "$ac_sub_configure"; then
54832 # Make the cache file name correct relative to the subdirectory.
54833 case $cache_file in
54834 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54835 *) # Relative name.
54836 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54839 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54840 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54841 # The eval makes quoting arguments work.
54842 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54843 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54844 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54845 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54846 { (exit 1); exit 1; }; }
54855 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54857 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54858 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54859 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54860 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54861 if test "$wxUSE_UNICODE" = "yes"; then
54862 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54863 echo " (using UTF-8)"
54865 echo " (using wchar_t)"
54871 echo " What level of wxWidgets compatibility should be enabled?"
54872 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54873 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54875 echo " Which libraries should wxWidgets use?"
54876 echo " STL ${wxUSE_STL}"
54877 echo " jpeg ${wxUSE_LIBJPEG-none}"
54878 echo " png ${wxUSE_LIBPNG-none}"
54879 echo " regex ${wxUSE_REGEX}"
54880 echo " tiff ${wxUSE_LIBTIFF-none}"
54881 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54882 echo " xpm ${wxUSE_LIBXPM-none}"
54884 echo " zlib ${wxUSE_ZLIB}"
54885 echo " expat ${wxUSE_EXPAT}"
54886 echo " libmspack ${wxUSE_LIBMSPACK}"
54887 echo " sdl ${wxUSE_LIBSDL}"