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 behaviour: `$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 STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros, even if they are supported
1708 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1709 --enable-macosx_arch=ARCH build for just the specified architecture
1710 --enable-compat26 enable wxWidgets 2.6 compatibility
1711 --disable-compat28 disable wxWidgets 2.8 compatibility
1712 --disable-rpath disable use of rpath for uninstalled builds
1713 --enable-objc_uniquifying enable Objective-C class name uniquifying
1714 --disable-visibility disable use of ELF symbols visibility even if supported
1715 --disable-tls disable use of compiler TLS support
1716 --enable-intl use internationalization system
1717 --enable-xlocale use x-locale support (requires wxLocale)
1718 --enable-config use wxConfig (and derived) classes
1719 --enable-protocols use wxProtocol and derived classes
1720 --enable-ftp use wxFTP (requires wxProtocol
1721 --enable-http use wxHTTP (requires wxProtocol
1722 --enable-fileproto use wxFileProto class (requires wxProtocol
1723 --enable-sockets use socket/network classes
1724 --enable-ipv6 enable IPv6 support in wxSocket
1725 --enable-ole use OLE classes (Win32 only)
1726 --enable-dataobj use data object classes
1727 --enable-ipc use interprocess communication (wxSocket etc.)
1728 --enable-baseevtloop use event loop in console programs too
1729 --enable-epollloop use wxEpollDispatcher class (Linux only)
1730 --enable-selectloop use wxSelectDispatcher class
1731 --enable-any use wxAny class
1732 --enable-apple_ieee use the Apple IEEE codec
1733 --enable-arcstream use wxArchive streams
1734 --enable-base64 use base64 encoding/decoding functions
1735 --enable-backtrace use wxStackWalker class for getting backtraces
1736 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1737 --enable-cmdline use wxCmdLineParser class
1738 --enable-datetime use wxDateTime class
1739 --enable-debugreport use wxDebugReport class
1740 --enable-dialupman use dialup network classes
1741 --enable-dynlib use wxLibrary class for DLL loading
1742 --enable-dynamicloader use (new) wxDynamicLibrary class
1743 --enable-exceptions build exception-safe library
1744 --enable-ffile use wxFFile class
1745 --enable-file use wxFile class
1746 --enable-filehistory use wxFileHistory class
1747 --enable-filesystem use virtual file systems classes
1748 --enable-fontenum use wxFontEnumerator class
1749 --enable-fontmap use font encodings conversion classes
1750 --enable-fs_archive use virtual archive filesystems
1751 --enable-fs_inet use virtual HTTP/FTP filesystems
1752 --enable-fs_zip now replaced by fs_archive
1753 --enable-fswatcher use wxFileSystemWatcher class
1754 --enable-geometry use geometry class
1755 --enable-log use logging system
1756 --enable-longlong use wxLongLong class
1757 --enable-mimetype use wxMimeTypesManager
1758 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1759 --enable-snglinst use wxSingleInstanceChecker class
1760 --enable-sound use wxSound class
1761 --enable-stdpaths use wxStandardPaths class
1762 --enable-stopwatch use wxStopWatch class
1763 --enable-streams use wxStream etc classes
1764 --enable-sysoptions use wxSystemOptions
1765 --enable-tarstream use wxTar streams
1766 --enable-textbuf use wxTextBuffer class
1767 --enable-textfile use wxTextFile class
1768 --enable-timer use wxTimer class
1769 --enable-variant use wxVariant class
1770 --enable-zipstream use wxZip streams
1771 --enable-url use wxURL class
1772 --enable-protocol use wxProtocol class
1773 --enable-protocol-http HTTP support in wxProtocol
1774 --enable-protocol-ftp FTP support in wxProtocol
1775 --enable-protocol-file FILE support in wxProtocol
1776 --enable-threads use threads
1777 --enable-iniconf use wxIniConfig (Win32 only)
1778 --enable-regkey use wxRegKey class (Win32 only)
1779 --enable-docview use document view architecture
1780 --enable-help use help subsystem
1781 --enable-mshtmlhelp use MS HTML Help (win32)
1782 --enable-html use wxHTML sub-library
1783 --enable-htmlhelp use wxHTML-based help
1784 --enable-xrc use XRC resources sub-library
1785 --enable-aui use AUI docking library
1786 --enable-propgrid use wxPropertyGrid library
1787 --enable-ribbon use wxRibbon library
1788 --enable-stc use wxStyledTextCtrl library
1789 --enable-constraints use layout-constraints system
1790 --enable-loggui use standard GUI logger
1791 --enable-logwin use wxLogWindow
1792 --enable-logdialog use wxLogDialog
1793 --enable-mdi use multiple document interface architecture
1794 --enable-mdidoc use docview architecture with MDI
1795 --enable-mediactrl use wxMediaCtrl class
1796 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1797 --enable-webkit use wxWebKitCtrl (Mac)
1798 --enable-richtext use wxRichTextCtrl
1799 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1800 --enable-printarch use printing architecture
1801 --enable-svg use wxSVGFileDC device context
1802 --enable-graphics_ctx use graphics context 2D drawing API
1803 --enable-clipboard use wxClipboard class
1804 --enable-dnd use Drag'n'Drop classes
1805 --enable-metafile use win32 metafiles
1806 --disable-controls disable compilation of all standard controls
1807 --enable-markup support wxControl::SetLabelMarkup
1808 --enable-accel use accelerators
1809 --enable-animatectrl use wxAnimationCtrl class
1810 --enable-artstd use standard XPM icons in wxArtProvider
1811 --enable-arttango use Tango icons in wxArtProvider
1812 --enable-bmpbutton use wxBitmapButton class
1813 --enable-bmpcombobox use wxBitmapComboBox class
1814 --enable-button use wxButton class
1815 --enable-calendar use wxCalendarCtrl class
1816 --enable-caret use wxCaret class
1817 --enable-checkbox use wxCheckBox class
1818 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1819 --enable-choice use wxChoice class
1820 --enable-choicebook use wxChoicebook class
1821 --enable-collpane use wxCollapsiblePane class
1822 --enable-colourpicker use wxColourPickerCtrl class
1823 --enable-combobox use wxComboBox class
1824 --enable-comboctrl use wxComboCtrl class
1825 --enable-commandlinkbutton use wxCommmandLinkButton class
1826 --enable-dataviewctrl use wxDataViewCtrl class
1827 --enable-datepick use wxDatePickerCtrl class
1828 --enable-detect_sm use code to detect X11 session manager
1829 --enable-dirpicker use wxDirPickerCtrl class
1830 --enable-display use wxDisplay class
1831 --enable-editablebox use wxEditableListBox class
1832 --enable-filectrl use wxFileCtrl class
1833 --enable-filepicker use wxFilePickerCtrl class
1834 --enable-fontpicker use wxFontPickerCtrl class
1835 --enable-gauge use wxGauge class
1836 --enable-grid use wxGrid class
1837 --enable-headerctrl use wxHeaderCtrl class
1838 --enable-hyperlink use wxHyperlinkCtrl class
1839 --enable-imaglist use wxImageList class
1840 --enable-infobar use wxInfoBar class
1841 --enable-listbook use wxListbook class
1842 --enable-listbox use wxListBox class
1843 --enable-listctrl use wxListCtrl class
1844 --enable-notebook use wxNotebook class
1845 --enable-notifmsg use wxNotificationMessage class
1846 --enable-odcombobox use wxOwnerDrawnComboBox class
1847 --enable-popupwin use wxPopUpWindow class
1848 --enable-radiobox use wxRadioBox class
1849 --enable-radiobtn use wxRadioButton class
1850 --enable-richmsgdlg use wxRichMessageDialog class
1851 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1852 --enable-sash use wxSashWindow class
1853 --enable-scrollbar use wxScrollBar class and scrollable windows
1854 --enable-searchctrl use wxSearchCtrl class
1855 --enable-slider use wxSlider class
1856 --enable-spinbtn use wxSpinButton class
1857 --enable-spinctrl use wxSpinCtrl class
1858 --enable-splitter use wxSplitterWindow class
1859 --enable-statbmp use wxStaticBitmap class
1860 --enable-statbox use wxStaticBox class
1861 --enable-statline use wxStaticLine class
1862 --enable-stattext use wxStaticText class
1863 --enable-statusbar use wxStatusBar class
1864 --enable-taskbaricon use wxTaskBarIcon class
1865 --enable-tbarnative use native wxToolBar class
1866 --enable-textctrl use wxTextCtrl class
1867 --enable-tipwindow use wxTipWindow class
1868 --enable-togglebtn use wxToggleButton class
1869 --enable-toolbar use wxToolBar class
1870 --enable-toolbook use wxToolbook class
1871 --enable-treebook use wxTreebook class
1872 --enable-treectrl use wxTreeCtrl class
1873 --enable-commondlg use all common dialogs
1874 --enable-aboutdlg use wxAboutBox
1875 --enable-choicedlg use wxChoiceDialog
1876 --enable-coldlg use wxColourDialog
1877 --enable-filedlg use wxFileDialog
1878 --enable-finddlg use wxFindReplaceDialog
1879 --enable-fontdlg use wxFontDialog
1880 --enable-dirdlg use wxDirDialog
1881 --enable-msgdlg use wxMessageDialog
1882 --enable-numberdlg use wxNumberEntryDialog
1883 --enable-splash use wxSplashScreen
1884 --enable-textdlg use wxTextDialog
1885 --enable-tipdlg use startup tips
1886 --enable-progressdlg use wxProgressDialog
1887 --enable-wizarddlg use wxWizard
1888 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1889 --enable-miniframe use wxMiniFrame class
1890 --enable-tooltips use wxToolTip class
1891 --enable-splines use spline drawing code
1892 --enable-mousewheel use mousewheel
1893 --enable-validators use wxValidator and derived classes
1894 --enable-busyinfo use wxBusyInfo
1895 --enable-joystick use wxJoystick
1896 --enable-metafiles use wxMetaFile (Win32 only)
1897 --enable-dragimage use wxDragImage
1898 --enable-accessibility enable accessibility support
1899 --enable-uiactionsim use wxUIActionSimulator (experimental)
1900 --enable-palette use wxPalette class
1901 --enable-image use wxImage class
1902 --enable-gif use gif images (GIF file format)
1903 --enable-pcx use pcx images (PCX file format)
1904 --enable-tga use tga images (TGA file format)
1905 --enable-iff use iff images (IFF file format)
1906 --enable-pnm use pnm images (PNM file format)
1907 --enable-xpm use xpm images (XPM file format)
1908 --enable-ico_cur use Windows ICO and CUR formats
1909 --enable-dccache cache temporary wxDC objects (Win32 only)
1910 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1911 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1912 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1913 --enable-wxdib use wxDIB class (Win32 only)
1914 --enable-autoidman use automatic ids management
1915 --disable-largefile omit support for large files
1916 --disable-gtktest do not try to compile and run a test GTK+ program
1917 --disable-gtktest Do not try to compile and run a test GTK program
1918 --disable-sdltest Do not try to compile and run a test SDL program
1919 --enable-omf use OMF object format (OS/2)
1920 --disable-dependency-tracking
1921 don't use dependency tracking even if the compiler
1923 --disable-precomp-headers
1924 don't use precompiled headers even if compiler can
1927 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1928 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1929 --without-subdirs don't generate makefiles for samples/demos/...
1930 --with-flavour=NAME specify a name to identify this build
1931 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1932 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1933 --with-motif use Motif/Lesstif
1934 --with-osx_carbon use Mac OS X (Carbon)
1935 --with-osx_cocoa use Mac OS X (Cocoa)
1936 --with-osx_iphone use iPhone OS X port
1937 --with-osx use Mac OS X (default port, currently Carbon)
1938 --with-carbon same as --with-osx_carbon
1939 --with-cocoa same as --with-osx_cocoa
1940 --with-iphone same as --with-osx_iphone
1941 --with-mac same as --with-osx
1942 --with-old_cocoa use old, deprecated, Cocoa port
1943 --with-wine use Wine
1944 --with-msw use MS-Windows
1945 --with-pm use OS/2 Presentation Manager
1946 --with-mgl use SciTech MGL
1947 --with-directfb use DirectFB
1948 --with-microwin use MicroWindows
1950 --with-libpng use libpng (PNG image format)
1951 --with-libjpeg use libjpeg (JPEG file format)
1952 --with-libtiff use libtiff (TIFF file format)
1953 --with-libxpm use libxpm (XPM file format)
1954 --with-libiconv use libiconv (character conversion)
1955 --with-libmspack use libmspack (CHM help files loading)
1956 --without-gtkprint don't use GTK printing support
1957 --without-gnomeprint don't use GNOME printing libraries
1958 --with-gnomevfs use GNOME VFS for associating MIME types
1959 --with-hildon use Hildon framework for Nokia 770/800/810
1960 --with-opengl use OpenGL (or Mesa)
1961 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1962 --with-sdl use SDL for audio on Unix
1963 --with-regex enable support for wxRegEx class
1964 --with-zlib use zlib for LZW compression
1965 --with-expat enable XML support using expat parser
1966 --with-macosx-sdk=PATH use an OS X SDK at PATH
1967 --with-macosx-version-min=VER build binaries which require at least this OS X version
1968 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1969 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1970 --with-x use the X Window System
1971 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1972 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1973 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1974 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1975 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1977 Some influential environment variables:
1978 CC C compiler command
1979 CFLAGS C compiler flags
1980 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1981 nonstandard directory <lib dir>
1982 LIBS libraries to pass to the linker, e.g. -l<library>
1983 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1984 you have headers in a nonstandard directory <include dir>
1986 CXX C++ compiler command
1987 CXXFLAGS C++ compiler flags
1988 CXXCPP C++ preprocessor
1989 PKG_CONFIG path to pkg-config utility
1991 C compiler flags for DIRECTFB, overriding pkg-config
1993 linker flags for DIRECTFB, overriding pkg-config
1994 XMKMF Path to xmkmf, Makefile generator for X Window System
1996 C compiler flags for PANGOX, overriding pkg-config
1997 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1999 C compiler flags for PANGOFT2, overriding pkg-config
2001 linker flags for PANGOFT2, overriding pkg-config
2003 C compiler flags for PANGOXFT, overriding pkg-config
2005 linker flags for PANGOXFT, overriding pkg-config
2007 C compiler flags for GTKPRINT, overriding pkg-config
2009 linker flags for GTKPRINT, overriding pkg-config
2010 LIBGNOMEPRINTUI_CFLAGS
2011 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2012 LIBGNOMEPRINTUI_LIBS
2013 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2015 C compiler flags for GNOMEVFS, overriding pkg-config
2017 linker flags for GNOMEVFS, overriding pkg-config
2019 C compiler flags for HILDON, overriding pkg-config
2020 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2022 C compiler flags for HILDON2, overriding pkg-config
2024 linker flags for HILDON2, overriding pkg-config
2026 C compiler flags for CAIRO, overriding pkg-config
2027 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2028 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2029 GST_LIBS linker flags for GST, overriding pkg-config
2031 Use these variables to override the choices made by `configure' or to help
2032 it to find libraries and programs with nonstandard names/locations.
2034 Report bugs to <wx-dev@lists.wxwidgets.org>.
2039 if test "$ac_init_help" = "recursive"; then
2040 # If there are subdirs, report their specific --help.
2041 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2042 test -d "$ac_dir" || continue
2046 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2048 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2049 # A ".." for each directory in $ac_dir_suffix.
2050 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2051 case $ac_top_builddir_sub in
2052 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2053 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2056 ac_abs_top_builddir=$ac_pwd
2057 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2058 # for backward compatibility:
2059 ac_top_builddir=$ac_top_build_prefix
2062 .) # We are building in place.
2064 ac_top_srcdir=$ac_top_builddir_sub
2065 ac_abs_top_srcdir=$ac_pwd ;;
2066 [\\/]* | ?:[\\/]* ) # Absolute name.
2067 ac_srcdir=$srcdir$ac_dir_suffix;
2068 ac_top_srcdir=$srcdir
2069 ac_abs_top_srcdir=$srcdir ;;
2071 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2072 ac_top_srcdir=$ac_top_build_prefix$srcdir
2073 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2075 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2077 cd "$ac_dir" || { ac_status=$?; continue; }
2078 # Check for guested configure.
2079 if test -f "$ac_srcdir/configure.gnu"; then
2081 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2082 elif test -f "$ac_srcdir/configure"; then
2084 $SHELL "$ac_srcdir/configure" --help=recursive
2086 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2088 cd "$ac_pwd" || { ac_status=$?; break; }
2092 test -n "$ac_init_help" && exit $ac_status
2093 if $ac_init_version; then
2095 wxWidgets configure 2.9.2
2096 generated by GNU Autoconf 2.61
2098 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2099 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2100 This configure script is free software; the Free Software Foundation
2101 gives unlimited permission to copy, distribute and modify it.
2105 cat >config.log <<_ACEOF
2106 This file contains any messages produced by compilers while
2107 running configure, to aid debugging if configure makes a mistake.
2109 It was created by wxWidgets $as_me 2.9.2, which was
2110 generated by GNU Autoconf 2.61. Invocation command line was
2122 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2123 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2124 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2125 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2126 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2128 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2129 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2131 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2132 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2133 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2134 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2135 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2136 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2137 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir=.
2146 echo "PATH: $as_dir"
2162 # Keep a trace of the command line.
2163 # Strip out --no-create and --no-recursion so they do not pile up.
2164 # Strip out --silent because we don't want to record it for future runs.
2165 # Also quote any args containing shell meta-characters.
2166 # Make two passes to allow for proper duplicate-argument suppression.
2170 ac_must_keep_next=false
2176 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2178 | -silent | --silent | --silen | --sile | --sil)
2181 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2184 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2186 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2187 if test $ac_must_keep_next = true; then
2188 ac_must_keep_next=false # Got value, back to normal.
2191 *=* | --config-cache | -C | -disable-* | --disable-* \
2192 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2193 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2194 | -with-* | --with-* | -without-* | --without-* | --x)
2195 case "$ac_configure_args0 " in
2196 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2199 -* ) ac_must_keep_next=true ;;
2202 ac_configure_args="$ac_configure_args '$ac_arg'"
2207 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2208 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2210 # When interrupted or exit'd, cleanup temporary files, and complete
2211 # config.log. We remove comments because anyway the quotes in there
2212 # would cause problems or look ugly.
2213 # WARNING: Use '\'' to represent an apostrophe within the trap.
2214 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2215 trap 'exit_status=$?
2216 # Save into config.log some information that might help in debugging.
2221 ## ---------------- ##
2222 ## Cache variables. ##
2223 ## ---------------- ##
2226 # The following way of writing the cache mishandles newlines in values,
2228 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2229 eval ac_val=\$$ac_var
2233 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2234 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2237 _ | IFS | as_nl) ;; #(
2238 *) $as_unset $ac_var ;;
2243 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2244 *${as_nl}ac_space=\ *)
2246 "s/'\''/'\''\\\\'\'''\''/g;
2247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2258 ## ----------------- ##
2259 ## Output variables. ##
2260 ## ----------------- ##
2263 for ac_var in $ac_subst_vars
2265 eval ac_val=\$$ac_var
2267 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2269 echo "$ac_var='\''$ac_val'\''"
2273 if test -n "$ac_subst_files"; then
2275 ## ------------------- ##
2276 ## File substitutions. ##
2277 ## ------------------- ##
2280 for ac_var in $ac_subst_files
2282 eval ac_val=\$$ac_var
2284 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2286 echo "$ac_var='\''$ac_val'\''"
2291 if test -s confdefs.h; then
2301 test "$ac_signal" != 0 &&
2302 echo "$as_me: caught signal $ac_signal"
2303 echo "$as_me: exit $exit_status"
2305 rm -f core *.core core.conftest.* &&
2306 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2309 for ac_signal in 1 2 13 15; do
2310 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2314 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2315 rm -f -r conftest* confdefs.h
2317 # Predefined preprocessor variables.
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_NAME "$PACKAGE_NAME"
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_STRING "$PACKAGE_STRING"
2339 cat >>confdefs.h <<_ACEOF
2340 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2344 # Let the site file select an alternate cache file if it wants to.
2345 # Prefer explicitly selected file to automatically selected ones.
2346 if test -n "$CONFIG_SITE"; then
2347 set x "$CONFIG_SITE"
2348 elif test "x$prefix" != xNONE; then
2349 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2351 set x "$ac_default_prefix/share/config.site" \
2352 "$ac_default_prefix/etc/config.site"
2357 if test -r "$ac_site_file"; then
2358 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2359 echo "$as_me: loading site script $ac_site_file" >&6;}
2360 sed 's/^/| /' "$ac_site_file" >&5
2365 if test -r "$cache_file"; then
2366 # Some versions of bash will fail to source /dev/null (special
2367 # files actually), so we avoid doing that.
2368 if test -f "$cache_file"; then
2369 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2370 echo "$as_me: loading cache $cache_file" >&6;}
2372 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2373 *) . "./$cache_file";;
2377 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2378 echo "$as_me: creating cache $cache_file" >&6;}
2382 # Check that the precious variables saved in the cache have kept the same
2384 ac_cache_corrupted=false
2385 for ac_var in $ac_precious_vars; do
2386 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2387 eval ac_new_set=\$ac_env_${ac_var}_set
2388 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2389 eval ac_new_val=\$ac_env_${ac_var}_value
2390 case $ac_old_set,$ac_new_set in
2392 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2393 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2396 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2397 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2398 ac_cache_corrupted=: ;;
2401 if test "x$ac_old_val" != "x$ac_new_val"; then
2402 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2403 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2404 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2405 echo "$as_me: former value: $ac_old_val" >&2;}
2406 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2407 echo "$as_me: current value: $ac_new_val" >&2;}
2408 ac_cache_corrupted=:
2411 # Pass precious variables to config.status.
2412 if test "$ac_new_set" = set; then
2414 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2415 *) ac_arg=$ac_var=$ac_new_val ;;
2417 case " $ac_configure_args " in
2418 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2419 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2423 if $ac_cache_corrupted; then
2424 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2425 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2426 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2427 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2428 { (exit 1); exit 1; }; }
2456 ac_cpp='$CPP $CPPFLAGS'
2457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2466 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2467 if test -f "$ac_dir/install-sh"; then
2469 ac_install_sh="$ac_aux_dir/install-sh -c"
2471 elif test -f "$ac_dir/install.sh"; then
2473 ac_install_sh="$ac_aux_dir/install.sh -c"
2475 elif test -f "$ac_dir/shtool"; then
2477 ac_install_sh="$ac_aux_dir/shtool install -c"
2481 if test -z "$ac_aux_dir"; then
2482 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2483 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2484 { (exit 1); exit 1; }; }
2487 # These three variables are undocumented and unsupported,
2488 # and are intended to be withdrawn in a future Autoconf release.
2489 # They can cause serious problems if a builder's source tree is in a directory
2490 # whose full name contains unusual characters.
2491 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2492 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2493 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2496 # Make sure we can run config.sub.
2497 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2498 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2499 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2500 { (exit 1); exit 1; }; }
2502 { echo "$as_me:$LINENO: checking build system type" >&5
2503 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_build+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 ac_build_alias=$build_alias
2508 test "x$ac_build_alias" = x &&
2509 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2510 test "x$ac_build_alias" = x &&
2511 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2512 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2513 { (exit 1); exit 1; }; }
2514 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2515 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2516 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2517 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2521 echo "${ECHO_T}$ac_cv_build" >&6; }
2522 case $ac_cv_build in
2524 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2525 echo "$as_me: error: invalid value of canonical build" >&2;}
2526 { (exit 1); exit 1; }; };;
2529 ac_save_IFS=$IFS; IFS='-'
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2539 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2542 { echo "$as_me:$LINENO: checking host system type" >&5
2543 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2544 if test "${ac_cv_host+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 if test "x$host_alias" = x; then
2548 ac_cv_host=$ac_cv_build
2550 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2551 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2552 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2553 { (exit 1); exit 1; }; }
2557 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2558 echo "${ECHO_T}$ac_cv_host" >&6; }
2561 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2562 echo "$as_me: error: invalid value of canonical host" >&2;}
2563 { (exit 1); exit 1; }; };;
2566 ac_save_IFS=$IFS; IFS='-'
2572 # Remember, the first character of IFS is used to create $*,
2573 # except with old shells:
2576 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2580 if test "$cross_compiling" != "no"; then
2581 HOST_PREFIX="${host_alias}-"
2582 HOST_SUFFIX="-$host_alias"
2589 wx_major_version_number=2
2590 wx_minor_version_number=9
2592 wx_subrelease_number=0
2594 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2595 WX_VERSION=$WX_RELEASE.$wx_release_number
2596 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2598 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2601 wx_top_builddir="`pwd`"
2614 USE_BSD= USE_DARWIN= USE_FREEBSD=
2620 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2626 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2628 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2630 DEFAULT_wxUSE_OLD_COCOA=0
2632 DEFAULT_wxUSE_OSX_CARBON=0
2633 DEFAULT_wxUSE_OSX_COCOA=0
2634 DEFAULT_wxUSE_OSX_IPHONE=0
2636 DEFAULT_wxUSE_MICROWIN=0
2637 DEFAULT_wxUSE_MOTIF=0
2643 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2644 DEFAULT_DEFAULT_wxUSE_GTK=0
2645 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2646 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2647 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2648 DEFAULT_DEFAULT_wxUSE_MGL=0
2649 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2650 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2651 DEFAULT_DEFAULT_wxUSE_MSW=0
2652 DEFAULT_DEFAULT_wxUSE_PM=0
2653 DEFAULT_DEFAULT_wxUSE_X11=0
2654 DEFAULT_DEFAULT_wxUSE_DFB=0
2658 DYLIB_RPATH_INSTALL=
2659 DYLIB_RPATH_POSTLINK=
2661 DEFAULT_STD_FLAG=yes
2666 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2667 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2668 cat >>confdefs.h <<\_ACEOF
2673 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2677 cat >>confdefs.h <<\_ACEOF
2682 if test "x$TMP" = "xalpha"; then
2684 cat >>confdefs.h <<\_ACEOF
2689 DEFAULT_DEFAULT_wxUSE_GTK=1
2691 *-*-gnu* | *-*-k*bsd*-gnu )
2694 if test "x$TMP" = "xalpha"; then
2696 cat >>confdefs.h <<\_ACEOF
2701 DEFAULT_DEFAULT_wxUSE_GTK=1
2703 *-*-irix5* | *-*-irix6* )
2706 cat >>confdefs.h <<\_ACEOF
2710 cat >>confdefs.h <<\_ACEOF
2714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2718 cat >>confdefs.h <<\_ACEOF
2722 DEFAULT_DEFAULT_wxUSE_X11=1
2728 cat >>confdefs.h <<\_ACEOF
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __SOLARIS__ 1
2736 cat >>confdefs.h <<\_ACEOF
2740 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2741 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747 cat >>confdefs.h <<\_ACEOF
2751 cat >>confdefs.h <<\_ACEOF
2755 cat >>confdefs.h <<\_ACEOF
2759 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __FREEBSD__ 1
2768 cat >>confdefs.h <<\_ACEOF
2772 DEFAULT_DEFAULT_wxUSE_GTK=1
2774 *-*-openbsd*|*-*-mirbsd*)
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __OPENBSD__ 1
2781 cat >>confdefs.h <<\_ACEOF
2785 DEFAULT_DEFAULT_wxUSE_GTK=1
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __NETBSD__ 1
2794 cat >>confdefs.h <<\_ACEOF
2798 DEFAULT_DEFAULT_wxUSE_GTK=1
2799 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2801 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2806 cat >>confdefs.h <<\_ACEOF
2810 cat >>confdefs.h <<\_ACEOF
2814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2815 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2820 cat >>confdefs.h <<\_ACEOF
2824 cat >>confdefs.h <<\_ACEOF
2828 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2833 cat >>confdefs.h <<\_ACEOF
2837 cat >>confdefs.h <<\_ACEOF
2841 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2847 cat >>confdefs.h <<\_ACEOF
2851 cat >>confdefs.h <<\_ACEOF
2855 cat >>confdefs.h <<\_ACEOF
2859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __UNIXWARE__ 1
2872 *-*-cygwin* | *-*-mingw32* )
2874 DEFAULT_DEFAULT_wxUSE_MSW=1
2880 cat >>confdefs.h <<\_ACEOF
2885 DEFAULT_DEFAULT_wxUSE_MGL=1
2888 *-pc-os2_emx | *-pc-os2-emx )
2889 cat >>confdefs.h <<\_ACEOF
2894 cat >>confdefs.h <<\_ACEOF
2899 DEFAULT_DEFAULT_wxUSE_PM=1
2901 LDFLAGS="$LDFLAGS -Zcrtdll"
2902 ac_executable_extensions=".exe"
2903 export ac_executable_extensions
2907 for ac_dir in $PATH; do
2909 if test -z "$ac_TEMP_PATH"; then
2910 ac_TEMP_PATH="$ac_dir"
2912 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2915 export PATH="$ac_TEMP_PATH"
2923 cat >>confdefs.h <<\_ACEOF
2927 cat >>confdefs.h <<\_ACEOF
2928 #define __DARWIN__ 1
2931 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2937 cat >>confdefs.h <<\_ACEOF
2941 cat >>confdefs.h <<\_ACEOF
2942 #define __DARWIN__ 1
2945 cat >>confdefs.h <<\_ACEOF
2946 #define TARGET_CARBON 1
2949 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2954 cat >>confdefs.h <<\_ACEOF
2961 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2962 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2963 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2964 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2966 DEFAULT_DEFAULT_wxUSE_X11=1
2967 DEFAULT_wxUSE_SHARED=no
2972 DEFAULT_wxUSE_ALL_FEATURES=yes
2974 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2975 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2977 DEFAULT_wxUSE_DMALLOC=no
2978 DEFAULT_wxUSE_LIBGNOMEVFS=no
2979 DEFAULT_wxUSE_LIBHILDON=no
2980 DEFAULT_wxUSE_LIBHILDON2=no
2981 DEFAULT_wxUSE_LIBMSPACK=no
2982 DEFAULT_wxUSE_LIBSDL=no
2984 DEFAULT_wxUSE_ACCESSIBILITY=no
2985 DEFAULT_wxUSE_IPV6=no
2986 DEFAULT_wxUSE_GSTREAMER8=no
2988 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2989 DEFAULT_wxUSE_UNICODE_UTF8=auto
2990 DEFAULT_wxUSE_OPENGL=auto
2991 DEFAULT_wxUSE_MEDIACTRL=auto
2992 DEFAULT_wxUSE_COMPILER_TLS=auto
2994 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2996 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2997 DEFAULT_wxUSE_MAC_ARCH=no
2999 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3001 DEFAULT_wxUSE_GTK2=yes
3003 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3009 enablestring=disable
3011 if test -z "$defaultval"; then
3012 if test x"$enablestring" = xdisable; then
3019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3020 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3021 # Check whether --enable-gui was given.
3022 if test "${enable_gui+set}" = set; then
3023 enableval=$enable_gui;
3024 if test "$enableval" = yes; then
3025 wx_cv_use_gui='wxUSE_GUI=yes'
3027 wx_cv_use_gui='wxUSE_GUI=no'
3032 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3037 eval "$wx_cv_use_gui"
3039 if test x"$enablestring" = xdisable; then
3040 if test $wxUSE_GUI = no; then
3049 { echo "$as_me:$LINENO: result: $result" >&5
3050 echo "${ECHO_T}$result" >&6; }
3055 if test -z "$defaultval"; then
3056 if test x"$enablestring" = xdisable; then
3063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3064 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3065 # Check whether --enable-monolithic was given.
3066 if test "${enable_monolithic+set}" = set; then
3067 enableval=$enable_monolithic;
3068 if test "$enableval" = yes; then
3069 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3071 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3076 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3081 eval "$wx_cv_use_monolithic"
3083 if test x"$enablestring" = xdisable; then
3084 if test $wxUSE_MONOLITHIC = no; then
3090 result=$wxUSE_MONOLITHIC
3093 { echo "$as_me:$LINENO: result: $result" >&5
3094 echo "${ECHO_T}$result" >&6; }
3099 if test -z "$defaultval"; then
3100 if test x"$enablestring" = xdisable; then
3107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3108 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3109 # Check whether --enable-plugins was given.
3110 if test "${enable_plugins+set}" = set; then
3111 enableval=$enable_plugins;
3112 if test "$enableval" = yes; then
3113 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3115 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3120 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3125 eval "$wx_cv_use_plugins"
3127 if test x"$enablestring" = xdisable; then
3128 if test $wxUSE_PLUGINS = no; then
3134 result=$wxUSE_PLUGINS
3137 { echo "$as_me:$LINENO: result: $result" >&5
3138 echo "${ECHO_T}$result" >&6; }
3142 defaultval=$wxUSE_ALL_FEATURES
3143 if test -z "$defaultval"; then
3144 if test x"$withstring" = xwithout; then
3150 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3151 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3153 # Check whether --with-subdirs was given.
3154 if test "${with_subdirs+set}" = set; then
3155 withval=$with_subdirs;
3156 if test "$withval" = yes; then
3157 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3164 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3169 eval "$wx_cv_use_subdirs"
3171 if test x"$withstring" = xwithout; then
3172 if test $wxWITH_SUBDIRS = yes; then
3178 result=$wxWITH_SUBDIRS
3181 { echo "$as_me:$LINENO: result: $result" >&5
3182 echo "${ECHO_T}$result" >&6; }
3185 # Check whether --with-flavour was given.
3186 if test "${with_flavour+set}" = set; then
3187 withval=$with_flavour; WX_FLAVOUR="$withval"
3193 if test -z "$defaultval"; then
3194 if test x"$enablestring" = xdisable; then
3201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3202 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3203 # Check whether --enable-official_build was given.
3204 if test "${enable_official_build+set}" = set; then
3205 enableval=$enable_official_build;
3206 if test "$enableval" = yes; then
3207 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3214 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3219 eval "$wx_cv_use_official_build"
3221 if test x"$enablestring" = xdisable; then
3222 if test $wxUSE_OFFICIAL_BUILD = no; then
3228 result=$wxUSE_OFFICIAL_BUILD
3231 { echo "$as_me:$LINENO: result: $result" >&5
3232 echo "${ECHO_T}$result" >&6; }
3234 # Check whether --enable-vendor was given.
3235 if test "${enable_vendor+set}" = set; then
3236 enableval=$enable_vendor; VENDOR="$enableval"
3239 if test "x$VENDOR" = "x"; then
3244 enablestring=disable
3246 if test -z "$defaultval"; then
3247 if test x"$enablestring" = xdisable; then
3254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3255 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3256 # Check whether --enable-all-features was given.
3257 if test "${enable_all_features+set}" = set; then
3258 enableval=$enable_all_features;
3259 if test "$enableval" = yes; then
3260 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3262 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3267 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3272 eval "$wx_cv_use_all_features"
3274 if test x"$enablestring" = xdisable; then
3275 if test $wxUSE_ALL_FEATURES = no; then
3281 result=$wxUSE_ALL_FEATURES
3284 { echo "$as_me:$LINENO: result: $result" >&5
3285 echo "${ECHO_T}$result" >&6; }
3288 if test "$wxUSE_ALL_FEATURES" = "no"; then
3289 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3290 DEFAULT_wxUSE_MEDIACTRL=no
3294 if test "$wxUSE_GUI" = "yes"; then
3299 if test -z "$defaultval"; then
3300 if test x"$enablestring" = xdisable; then
3307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3308 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3309 # Check whether --enable-universal was given.
3310 if test "${enable_universal+set}" = set; then
3311 enableval=$enable_universal;
3312 if test "$enableval" = yes; then
3313 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3315 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3320 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3325 eval "$wx_cv_use_universal"
3327 if test x"$enablestring" = xdisable; then
3328 if test $wxUSE_UNIVERSAL = no; then
3334 result=$wxUSE_UNIVERSAL
3337 { echo "$as_me:$LINENO: result: $result" >&5
3338 echo "${ECHO_T}$result" >&6; }
3340 if test "$wxUSE_UNIVERSAL" = "yes"; then
3342 # Check whether --with-themes was given.
3343 if test "${with_themes+set}" = set; then
3344 withval=$with_themes; wxUNIV_THEMES="$withval"
3350 # Check whether --with-gtk was given.
3351 if test "${with_gtk+set}" = set; then
3352 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3356 # Check whether --with-motif was given.
3357 if test "${with_motif+set}" = set; then
3358 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3362 # Check whether --with-osx_carbon was given.
3363 if test "${with_osx_carbon+set}" = set; then
3364 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3368 # Check whether --with-osx_cocoa was given.
3369 if test "${with_osx_cocoa+set}" = set; then
3370 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3374 # Check whether --with-osx_iphone was given.
3375 if test "${with_osx_iphone+set}" = set; then
3376 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3380 # Check whether --with-osx was given.
3381 if test "${with_osx+set}" = set; then
3382 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3386 # Check whether --with-carbon was given.
3387 if test "${with_carbon+set}" = set; then
3388 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3392 # Check whether --with-cocoa was given.
3393 if test "${with_cocoa+set}" = set; then
3394 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3398 # Check whether --with-iphone was given.
3399 if test "${with_iphone+set}" = set; then
3400 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3404 # Check whether --with-mac was given.
3405 if test "${with_mac+set}" = set; then
3406 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3410 # Check whether --with-old_cocoa was given.
3411 if test "${with_old_cocoa+set}" = set; then
3412 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3416 # Check whether --with-wine was given.
3417 if test "${with_wine+set}" = set; then
3418 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3422 # Check whether --with-msw was given.
3423 if test "${with_msw+set}" = set; then
3424 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3428 # Check whether --with-pm was given.
3429 if test "${with_pm+set}" = set; then
3430 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3434 # Check whether --with-mgl was given.
3435 if test "${with_mgl+set}" = set; then
3436 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3440 # Check whether --with-directfb was given.
3441 if test "${with_directfb+set}" = set; then
3442 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3446 # Check whether --with-microwin was given.
3447 if test "${with_microwin+set}" = set; then
3448 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3452 # Check whether --with-x11 was given.
3453 if test "${with_x11+set}" = set; then
3454 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3460 if test -z "$defaultval"; then
3461 if test x"$enablestring" = xdisable; then
3468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3470 # Check whether --enable-nanox was given.
3471 if test "${enable_nanox+set}" = set; then
3472 enableval=$enable_nanox;
3473 if test "$enableval" = yes; then
3474 wx_cv_use_nanox='wxUSE_NANOX=yes'
3476 wx_cv_use_nanox='wxUSE_NANOX=no'
3481 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3486 eval "$wx_cv_use_nanox"
3488 if test x"$enablestring" = xdisable; then
3489 if test $wxUSE_NANOX = no; then
3498 { echo "$as_me:$LINENO: result: $result" >&5
3499 echo "${ECHO_T}$result" >&6; }
3502 # Check whether --enable-gtk2 was given.
3503 if test "${enable_gtk2+set}" = set; then
3504 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3510 if test -z "$defaultval"; then
3511 if test x"$enablestring" = xdisable; then
3518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3519 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3520 # Check whether --enable-gpe was given.
3521 if test "${enable_gpe+set}" = set; then
3522 enableval=$enable_gpe;
3523 if test "$enableval" = yes; then
3524 wx_cv_use_gpe='wxUSE_GPE=yes'
3526 wx_cv_use_gpe='wxUSE_GPE=no'
3531 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3536 eval "$wx_cv_use_gpe"
3538 if test x"$enablestring" = xdisable; then
3539 if test $wxUSE_GPE = no; then
3548 { echo "$as_me:$LINENO: result: $result" >&5
3549 echo "${ECHO_T}$result" >&6; }
3553 { echo "$as_me:$LINENO: checking for toolkit" >&5
3554 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3558 # In Wine, we need to default to MSW, not GTK or MOTIF
3559 if test "$wxUSE_WINE" = "yes"; then
3560 DEFAULT_DEFAULT_wxUSE_GTK=0
3561 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3562 DEFAULT_DEFAULT_wxUSE_MSW=1
3569 if test "$wxUSE_GUI" = "yes"; then
3571 if test "$USE_BEOS" = 1; then
3572 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3573 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3574 { (exit 1); exit 1; }; }
3577 if test "$TOOLKIT_GIVEN" = 1; then
3578 for toolkit in $ALL_TOOLKITS; do
3580 eval "value=\$${var}"
3581 if test "x$value" = "xno"; then
3583 elif test "x$value" != "x"; then
3587 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3588 eval "wx${toolkit}_VERSION=$value"
3592 for toolkit in $ALL_TOOLKITS; do
3593 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3594 eval "wxUSE_$toolkit=\$${var}"
3598 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3599 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3600 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3603 *-pc-os2_emx | *-pc-os2-emx )
3604 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3607 case "$NUM_TOOLKITS" in
3611 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3612 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3613 { (exit 1); exit 1; }; }
3616 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3617 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3618 { (exit 1); exit 1; }; }
3621 # to be removed when --disable-gtk2 isn't needed
3622 if test "x$wxUSE_GTK2" = "xyes"; then
3625 elif test "x$wxUSE_GTK2" = "xno"; then
3630 for toolkit in $ALL_TOOLKITS; do
3632 eval "value=\$${var}"
3633 if test "$value" = 1; then
3634 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3635 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3636 echo "${ECHO_T}$toolkit_echo" >&6; }
3640 if test "x$host_alias" != "x"; then
3641 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3642 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3644 { echo "$as_me:$LINENO: result: base only" >&5
3645 echo "${ECHO_T}base only" >&6; }
3650 if test "$wxUSE_OSX_CARBON" = 1 \
3651 -o "$wxUSE_OSX_COCOA" = 1 \
3652 -o "$wxUSE_OSX_IPHONE" = 1; then
3658 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3659 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3661 # Check whether --with-libpng was given.
3662 if test "${with_libpng+set}" = set; then
3663 withval=$with_libpng;
3664 if test "$withval" = yes; then
3665 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3666 elif test "$withval" = no; then
3667 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3668 elif test "$withval" = sys; then
3669 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3670 elif test "$withval" = builtin; then
3671 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3680 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3685 eval "$wx_cv_use_libpng"
3687 if test "$wxUSE_LIBPNG" = yes; then
3688 { echo "$as_me:$LINENO: result: yes" >&5
3689 echo "${ECHO_T}yes" >&6; }
3690 elif test "$wxUSE_LIBPNG" = no; then
3691 { echo "$as_me:$LINENO: result: no" >&5
3692 echo "${ECHO_T}no" >&6; }
3693 elif test "$wxUSE_LIBPNG" = sys; then
3694 { echo "$as_me:$LINENO: result: system version" >&5
3695 echo "${ECHO_T}system version" >&6; }
3696 elif test "$wxUSE_LIBPNG" = builtin; then
3697 { echo "$as_me:$LINENO: result: builtin version" >&5
3698 echo "${ECHO_T}builtin version" >&6; }
3700 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3701 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3702 { (exit 1); exit 1; }; }
3706 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3707 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3709 # Check whether --with-libjpeg was given.
3710 if test "${with_libjpeg+set}" = set; then
3711 withval=$with_libjpeg;
3712 if test "$withval" = yes; then
3713 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3714 elif test "$withval" = no; then
3715 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3716 elif test "$withval" = sys; then
3717 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3718 elif test "$withval" = builtin; then
3719 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3721 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3722 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3723 { (exit 1); exit 1; }; }
3728 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3733 eval "$wx_cv_use_libjpeg"
3735 if test "$wxUSE_LIBJPEG" = yes; then
3736 { echo "$as_me:$LINENO: result: yes" >&5
3737 echo "${ECHO_T}yes" >&6; }
3738 elif test "$wxUSE_LIBJPEG" = no; then
3739 { echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6; }
3741 elif test "$wxUSE_LIBJPEG" = sys; then
3742 { echo "$as_me:$LINENO: result: system version" >&5
3743 echo "${ECHO_T}system version" >&6; }
3744 elif test "$wxUSE_LIBJPEG" = builtin; then
3745 { echo "$as_me:$LINENO: result: builtin version" >&5
3746 echo "${ECHO_T}builtin version" >&6; }
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3754 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3755 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3757 # Check whether --with-libtiff was given.
3758 if test "${with_libtiff+set}" = set; then
3759 withval=$with_libtiff;
3760 if test "$withval" = yes; then
3761 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3762 elif test "$withval" = no; then
3763 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3764 elif test "$withval" = sys; then
3765 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3766 elif test "$withval" = builtin; then
3767 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3769 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3770 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3771 { (exit 1); exit 1; }; }
3776 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3781 eval "$wx_cv_use_libtiff"
3783 if test "$wxUSE_LIBTIFF" = yes; then
3784 { echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6; }
3786 elif test "$wxUSE_LIBTIFF" = no; then
3787 { echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6; }
3789 elif test "$wxUSE_LIBTIFF" = sys; then
3790 { echo "$as_me:$LINENO: result: system version" >&5
3791 echo "${ECHO_T}system version" >&6; }
3792 elif test "$wxUSE_LIBTIFF" = builtin; then
3793 { echo "$as_me:$LINENO: result: builtin version" >&5
3794 echo "${ECHO_T}builtin version" >&6; }
3796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3797 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3798 { (exit 1); exit 1; }; }
3802 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3803 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3805 # Check whether --with-libxpm was given.
3806 if test "${with_libxpm+set}" = set; then
3807 withval=$with_libxpm;
3808 if test "$withval" = yes; then
3809 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3810 elif test "$withval" = no; then
3811 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3812 elif test "$withval" = sys; then
3813 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3814 elif test "$withval" = builtin; then
3815 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3818 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3819 { (exit 1); exit 1; }; }
3824 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3829 eval "$wx_cv_use_libxpm"
3831 if test "$wxUSE_LIBXPM" = yes; then
3832 { echo "$as_me:$LINENO: result: yes" >&5
3833 echo "${ECHO_T}yes" >&6; }
3834 elif test "$wxUSE_LIBXPM" = no; then
3835 { echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6; }
3837 elif test "$wxUSE_LIBXPM" = sys; then
3838 { echo "$as_me:$LINENO: result: system version" >&5
3839 echo "${ECHO_T}system version" >&6; }
3840 elif test "$wxUSE_LIBXPM" = builtin; then
3841 { echo "$as_me:$LINENO: result: builtin version" >&5
3842 echo "${ECHO_T}builtin version" >&6; }
3844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3845 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3846 { (exit 1); exit 1; }; }
3851 defaultval=$wxUSE_ALL_FEATURES
3852 if test -z "$defaultval"; then
3853 if test x"$withstring" = xwithout; then
3859 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3860 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3862 # Check whether --with-libiconv was given.
3863 if test "${with_libiconv+set}" = set; then
3864 withval=$with_libiconv;
3865 if test "$withval" = yes; then
3866 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3868 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3873 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3878 eval "$wx_cv_use_libiconv"
3880 if test x"$withstring" = xwithout; then
3881 if test $wxUSE_LIBICONV = yes; then
3887 result=$wxUSE_LIBICONV
3890 { echo "$as_me:$LINENO: result: $result" >&5
3891 echo "${ECHO_T}$result" >&6; }
3895 defaultval=$wxUSE_ALL_FEATURES
3896 if test -z "$defaultval"; then
3897 if test x"$withstring" = xwithout; then
3903 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3904 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3906 # Check whether --with-libmspack was given.
3907 if test "${with_libmspack+set}" = set; then
3908 withval=$with_libmspack;
3909 if test "$withval" = yes; then
3910 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3912 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3917 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3922 eval "$wx_cv_use_libmspack"
3924 if test x"$withstring" = xwithout; then
3925 if test $wxUSE_LIBMSPACK = yes; then
3931 result=$wxUSE_LIBMSPACK
3934 { echo "$as_me:$LINENO: result: $result" >&5
3935 echo "${ECHO_T}$result" >&6; }
3939 defaultval=$wxUSE_ALL_FEATURES
3940 if test -z "$defaultval"; then
3941 if test x"$withstring" = xwithout; then
3947 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3948 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3950 # Check whether --with-gtkprint was given.
3951 if test "${with_gtkprint+set}" = set; then
3952 withval=$with_gtkprint;
3953 if test "$withval" = yes; then
3954 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3956 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3961 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3966 eval "$wx_cv_use_gtkprint"
3968 if test x"$withstring" = xwithout; then
3969 if test $wxUSE_GTKPRINT = yes; then
3975 result=$wxUSE_GTKPRINT
3978 { echo "$as_me:$LINENO: result: $result" >&5
3979 echo "${ECHO_T}$result" >&6; }
3983 defaultval=$wxUSE_ALL_FEATURES
3984 if test -z "$defaultval"; then
3985 if test x"$withstring" = xwithout; then
3991 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3992 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3994 # Check whether --with-gnomeprint was given.
3995 if test "${with_gnomeprint+set}" = set; then
3996 withval=$with_gnomeprint;
3997 if test "$withval" = yes; then
3998 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4000 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4005 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4010 eval "$wx_cv_use_gnomeprint"
4012 if test x"$withstring" = xwithout; then
4013 if test $wxUSE_LIBGNOMEPRINT = yes; then
4019 result=$wxUSE_LIBGNOMEPRINT
4022 { echo "$as_me:$LINENO: result: $result" >&5
4023 echo "${ECHO_T}$result" >&6; }
4027 defaultval=$wxUSE_ALL_FEATURES
4028 if test -z "$defaultval"; then
4029 if test x"$withstring" = xwithout; then
4035 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4036 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4038 # Check whether --with-gnomevfs was given.
4039 if test "${with_gnomevfs+set}" = set; then
4040 withval=$with_gnomevfs;
4041 if test "$withval" = yes; then
4042 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4044 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4049 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4054 eval "$wx_cv_use_gnomevfs"
4056 if test x"$withstring" = xwithout; then
4057 if test $wxUSE_LIBGNOMEVFS = yes; then
4063 result=$wxUSE_LIBGNOMEVFS
4066 { echo "$as_me:$LINENO: result: $result" >&5
4067 echo "${ECHO_T}$result" >&6; }
4071 defaultval=$wxUSE_ALL_FEATURES
4072 if test -z "$defaultval"; then
4073 if test x"$withstring" = xwithout; then
4079 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4080 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4082 # Check whether --with-hildon was given.
4083 if test "${with_hildon+set}" = set; then
4084 withval=$with_hildon;
4085 if test "$withval" = yes; then
4086 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4088 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4093 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4098 eval "$wx_cv_use_hildon"
4100 if test x"$withstring" = xwithout; then
4101 if test $wxUSE_LIBHILDON = yes; then
4107 result=$wxUSE_LIBHILDON
4110 { echo "$as_me:$LINENO: result: $result" >&5
4111 echo "${ECHO_T}$result" >&6; }
4115 defaultval=$wxUSE_ALL_FEATURES
4116 if test -z "$defaultval"; then
4117 if test x"$withstring" = xwithout; then
4123 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4124 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4126 # Check whether --with-opengl was given.
4127 if test "${with_opengl+set}" = set; then
4128 withval=$with_opengl;
4129 if test "$withval" = yes; then
4130 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4132 wx_cv_use_opengl='wxUSE_OPENGL=no'
4137 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4142 eval "$wx_cv_use_opengl"
4144 if test x"$withstring" = xwithout; then
4145 if test $wxUSE_OPENGL = yes; then
4151 result=$wxUSE_OPENGL
4154 { echo "$as_me:$LINENO: result: $result" >&5
4155 echo "${ECHO_T}$result" >&6; }
4162 defaultval=$wxUSE_ALL_FEATURES
4163 if test -z "$defaultval"; then
4164 if test x"$withstring" = xwithout; then
4170 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4171 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4173 # Check whether --with-dmalloc was given.
4174 if test "${with_dmalloc+set}" = set; then
4175 withval=$with_dmalloc;
4176 if test "$withval" = yes; then
4177 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4179 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4184 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4189 eval "$wx_cv_use_dmalloc"
4191 if test x"$withstring" = xwithout; then
4192 if test $wxUSE_DMALLOC = yes; then
4198 result=$wxUSE_DMALLOC
4201 { echo "$as_me:$LINENO: result: $result" >&5
4202 echo "${ECHO_T}$result" >&6; }
4206 defaultval=$wxUSE_ALL_FEATURES
4207 if test -z "$defaultval"; then
4208 if test x"$withstring" = xwithout; then
4214 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4215 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4217 # Check whether --with-sdl was given.
4218 if test "${with_sdl+set}" = set; then
4220 if test "$withval" = yes; then
4221 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4223 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4228 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4233 eval "$wx_cv_use_sdl"
4235 if test x"$withstring" = xwithout; then
4236 if test $wxUSE_LIBSDL = yes; then
4242 result=$wxUSE_LIBSDL
4245 { echo "$as_me:$LINENO: result: $result" >&5
4246 echo "${ECHO_T}$result" >&6; }
4249 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4250 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4252 # Check whether --with-regex was given.
4253 if test "${with_regex+set}" = set; then
4254 withval=$with_regex;
4255 if test "$withval" = yes; then
4256 wx_cv_use_regex='wxUSE_REGEX=yes'
4257 elif test "$withval" = no; then
4258 wx_cv_use_regex='wxUSE_REGEX=no'
4259 elif test "$withval" = sys; then
4260 wx_cv_use_regex='wxUSE_REGEX=sys'
4261 elif test "$withval" = builtin; then
4262 wx_cv_use_regex='wxUSE_REGEX=builtin'
4264 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4265 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4266 { (exit 1); exit 1; }; }
4271 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4276 eval "$wx_cv_use_regex"
4278 if test "$wxUSE_REGEX" = yes; then
4279 { echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6; }
4281 elif test "$wxUSE_REGEX" = no; then
4282 { echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6; }
4284 elif test "$wxUSE_REGEX" = sys; then
4285 { echo "$as_me:$LINENO: result: system version" >&5
4286 echo "${ECHO_T}system version" >&6; }
4287 elif test "$wxUSE_REGEX" = builtin; then
4288 { echo "$as_me:$LINENO: result: builtin version" >&5
4289 echo "${ECHO_T}builtin version" >&6; }
4291 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4292 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4297 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4298 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4300 # Check whether --with-zlib was given.
4301 if test "${with_zlib+set}" = set; then
4303 if test "$withval" = yes; then
4304 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4305 elif test "$withval" = no; then
4306 wx_cv_use_zlib='wxUSE_ZLIB=no'
4307 elif test "$withval" = sys; then
4308 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4309 elif test "$withval" = builtin; then
4310 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4312 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4313 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4314 { (exit 1); exit 1; }; }
4319 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4324 eval "$wx_cv_use_zlib"
4326 if test "$wxUSE_ZLIB" = yes; then
4327 { echo "$as_me:$LINENO: result: yes" >&5
4328 echo "${ECHO_T}yes" >&6; }
4329 elif test "$wxUSE_ZLIB" = no; then
4330 { echo "$as_me:$LINENO: result: no" >&5
4331 echo "${ECHO_T}no" >&6; }
4332 elif test "$wxUSE_ZLIB" = sys; then
4333 { echo "$as_me:$LINENO: result: system version" >&5
4334 echo "${ECHO_T}system version" >&6; }
4335 elif test "$wxUSE_ZLIB" = builtin; then
4336 { echo "$as_me:$LINENO: result: builtin version" >&5
4337 echo "${ECHO_T}builtin version" >&6; }
4339 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4340 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4341 { (exit 1); exit 1; }; }
4345 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4346 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4348 # Check whether --with-expat was given.
4349 if test "${with_expat+set}" = set; then
4350 withval=$with_expat;
4351 if test "$withval" = yes; then
4352 wx_cv_use_expat='wxUSE_EXPAT=yes'
4353 elif test "$withval" = no; then
4354 wx_cv_use_expat='wxUSE_EXPAT=no'
4355 elif test "$withval" = sys; then
4356 wx_cv_use_expat='wxUSE_EXPAT=sys'
4357 elif test "$withval" = builtin; then
4358 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4360 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4361 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4362 { (exit 1); exit 1; }; }
4367 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4372 eval "$wx_cv_use_expat"
4374 if test "$wxUSE_EXPAT" = yes; then
4375 { echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6; }
4377 elif test "$wxUSE_EXPAT" = no; then
4378 { echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6; }
4380 elif test "$wxUSE_EXPAT" = sys; then
4381 { echo "$as_me:$LINENO: result: system version" >&5
4382 echo "${ECHO_T}system version" >&6; }
4383 elif test "$wxUSE_EXPAT" = builtin; then
4384 { echo "$as_me:$LINENO: result: builtin version" >&5
4385 echo "${ECHO_T}builtin version" >&6; }
4387 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4388 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4389 { (exit 1); exit 1; }; }
4393 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4394 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4396 # Check whether --with-macosx-sdk was given.
4397 if test "${with_macosx_sdk+set}" = set; then
4398 withval=$with_macosx_sdk;
4399 wxUSE_MACOSX_SDK=$withval
4400 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4404 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4405 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4407 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4408 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4410 # Check whether --with-macosx-version-min was given.
4411 if test "${with_macosx_version_min+set}" = set; then
4412 withval=$with_macosx_version_min;
4413 wxUSE_MACOSX_VERSION_MIN=$withval
4414 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4418 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4419 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4422 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4423 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4424 # Check whether --enable-debug was given.
4425 if test "${enable_debug+set}" = set; then
4426 enableval=$enable_debug;
4427 if test "$enableval" = yes; then
4429 elif test "$enableval" = no; then
4431 elif test "$enableval" = max; then
4433 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4435 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4436 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4437 { (exit 1); exit 1; }; }
4446 case "$wxUSE_DEBUG" in
4448 DEFAULT_wxUSE_DEBUG_FLAG=yes
4449 DEFAULT_wxUSE_DEBUG_INFO=yes
4451 DEFAULT_wxUSE_OPTIMISE=no
4455 DEFAULT_wxUSE_DEBUG_FLAG=no
4456 DEFAULT_wxUSE_DEBUG_INFO=no
4460 DEFAULT_wxUSE_DEBUG_FLAG=yes
4461 DEFAULT_wxUSE_DEBUG_INFO=no
4466 enablestring=disable
4468 if test -z "$defaultval"; then
4469 if test x"$enablestring" = xdisable; then
4476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4477 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4478 # Check whether --enable-debug_flag was given.
4479 if test "${enable_debug_flag+set}" = set; then
4480 enableval=$enable_debug_flag;
4481 if test "$enableval" = yes; then
4482 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4484 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4489 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4494 eval "$wx_cv_use_debug_flag"
4496 if test x"$enablestring" = xdisable; then
4497 if test $wxUSE_DEBUG_FLAG = no; then
4503 result=$wxUSE_DEBUG_FLAG
4506 { echo "$as_me:$LINENO: result: $result" >&5
4507 echo "${ECHO_T}$result" >&6; }
4512 if test -z "$defaultval"; then
4513 if test x"$enablestring" = xdisable; then
4520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4521 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4522 # Check whether --enable-debug_info was given.
4523 if test "${enable_debug_info+set}" = set; then
4524 enableval=$enable_debug_info;
4525 if test "$enableval" = yes; then
4526 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4528 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4533 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4538 eval "$wx_cv_use_debug_info"
4540 if test x"$enablestring" = xdisable; then
4541 if test $wxUSE_DEBUG_INFO = no; then
4547 result=$wxUSE_DEBUG_INFO
4550 { echo "$as_me:$LINENO: result: $result" >&5
4551 echo "${ECHO_T}$result" >&6; }
4558 if test -z "$defaultval"; then
4559 if test x"$enablestring" = xdisable; then
4566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4567 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4568 # Check whether --enable-debug_gdb was given.
4569 if test "${enable_debug_gdb+set}" = set; then
4570 enableval=$enable_debug_gdb;
4571 if test "$enableval" = yes; then
4572 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4574 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4579 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4584 eval "$wx_cv_use_debug_gdb"
4586 if test x"$enablestring" = xdisable; then
4587 if test $wxUSE_DEBUG_GDB = no; then
4593 result=$wxUSE_DEBUG_GDB
4596 { echo "$as_me:$LINENO: result: $result" >&5
4597 echo "${ECHO_T}$result" >&6; }
4602 if test -z "$defaultval"; then
4603 if test x"$enablestring" = xdisable; then
4610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4611 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4612 # Check whether --enable-debug_cntxt was given.
4613 if test "${enable_debug_cntxt+set}" = set; then
4614 enableval=$enable_debug_cntxt;
4615 if test "$enableval" = yes; then
4616 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4618 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4623 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4628 eval "$wx_cv_use_debug_cntxt"
4630 if test x"$enablestring" = xdisable; then
4631 if test $wxUSE_DEBUG_CONTEXT = no; then
4637 result=$wxUSE_DEBUG_CONTEXT
4640 { echo "$as_me:$LINENO: result: $result" >&5
4641 echo "${ECHO_T}$result" >&6; }
4646 if test -z "$defaultval"; then
4647 if test x"$enablestring" = xdisable; then
4654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4656 # Check whether --enable-mem_tracing was given.
4657 if test "${enable_mem_tracing+set}" = set; then
4658 enableval=$enable_mem_tracing;
4659 if test "$enableval" = yes; then
4660 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4662 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4667 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4672 eval "$wx_cv_use_mem_tracing"
4674 if test x"$enablestring" = xdisable; then
4675 if test $wxUSE_MEM_TRACING = no; then
4681 result=$wxUSE_MEM_TRACING
4684 { echo "$as_me:$LINENO: result: $result" >&5
4685 echo "${ECHO_T}$result" >&6; }
4690 enablestring=disable
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4702 # Check whether --enable-shared was given.
4703 if test "${enable_shared+set}" = set; then
4704 enableval=$enable_shared;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_shared='wxUSE_SHARED=yes'
4708 wx_cv_use_shared='wxUSE_SHARED=no'
4713 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4718 eval "$wx_cv_use_shared"
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_SHARED = no; then
4727 result=$wxUSE_SHARED
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4736 if test -z "$defaultval"; then
4737 if test x"$enablestring" = xdisable; then
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4746 # Check whether --enable-stl was given.
4747 if test "${enable_stl+set}" = set; then
4748 enableval=$enable_stl;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_stl='wxUSE_STL=yes'
4752 wx_cv_use_stl='wxUSE_STL=no'
4757 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4762 eval "$wx_cv_use_stl"
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_STL = no; then
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4790 # Check whether --enable-std_iostreams was given.
4791 if test "${enable_std_iostreams+set}" = set; then
4792 enableval=$enable_std_iostreams;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4796 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4801 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4806 eval "$wx_cv_use_std_iostreams"
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_STD_IOSTREAM = no; then
4815 result=$wxUSE_STD_IOSTREAM
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4824 if test -z "$defaultval"; then
4825 if test x"$enablestring" = xdisable; then
4832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4834 # Check whether --enable-std_string was given.
4835 if test "${enable_std_string+set}" = set; then
4836 enableval=$enable_std_string;
4837 if test "$enableval" = yes; then
4838 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4840 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4845 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4850 eval "$wx_cv_use_std_string"
4852 if test x"$enablestring" = xdisable; then
4853 if test $wxUSE_STD_STRING = no; then
4859 result=$wxUSE_STD_STRING
4862 { echo "$as_me:$LINENO: result: $result" >&5
4863 echo "${ECHO_T}$result" >&6; }
4866 enablestring=disable
4868 if test -z "$defaultval"; then
4869 if test x"$enablestring" = xdisable; then
4876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4878 # Check whether --enable-unicode was given.
4879 if test "${enable_unicode+set}" = set; then
4880 enableval=$enable_unicode;
4881 if test "$enableval" = yes; then
4882 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4884 wx_cv_use_unicode='wxUSE_UNICODE=no'
4889 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4894 eval "$wx_cv_use_unicode"
4896 if test x"$enablestring" = xdisable; then
4897 if test $wxUSE_UNICODE = no; then
4903 result=$wxUSE_UNICODE
4906 { echo "$as_me:$LINENO: result: $result" >&5
4907 echo "${ECHO_T}$result" >&6; }
4912 if test -z "$defaultval"; then
4913 if test x"$enablestring" = xdisable; then
4920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4922 # Check whether --enable-mslu was given.
4923 if test "${enable_mslu+set}" = set; then
4924 enableval=$enable_mslu;
4925 if test "$enableval" = yes; then
4926 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4928 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4933 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4938 eval "$wx_cv_use_mslu"
4940 if test x"$enablestring" = xdisable; then
4941 if test $wxUSE_UNICODE_MSLU = no; then
4947 result=$wxUSE_UNICODE_MSLU
4950 { echo "$as_me:$LINENO: result: $result" >&5
4951 echo "${ECHO_T}$result" >&6; }
4955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4957 # Check whether --enable-utf8 was given.
4958 if test "${enable_utf8+set}" = set; then
4959 enableval=$enable_utf8;
4960 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4964 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4969 eval "$wx_cv_use_utf8"
4971 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4972 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4977 if test -z "$defaultval"; then
4978 if test x"$enablestring" = xdisable; then
4985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4986 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4987 # Check whether --enable-utf8only was given.
4988 if test "${enable_utf8only+set}" = set; then
4989 enableval=$enable_utf8only;
4990 if test "$enableval" = yes; then
4991 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4993 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4998 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5003 eval "$wx_cv_use_utf8only"
5005 if test x"$enablestring" = xdisable; then
5006 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5012 result=$wxUSE_UNICODE_UTF8_LOCALE
5015 { echo "$as_me:$LINENO: result: $result" >&5
5016 echo "${ECHO_T}$result" >&6; }
5021 if test -z "$defaultval"; then
5022 if test x"$enablestring" = xdisable; then
5029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5031 # Check whether --enable-extended_rtti was given.
5032 if test "${enable_extended_rtti+set}" = set; then
5033 enableval=$enable_extended_rtti;
5034 if test "$enableval" = yes; then
5035 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5037 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5042 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5047 eval "$wx_cv_use_extended_rtti"
5049 if test x"$enablestring" = xdisable; then
5050 if test $wxUSE_EXTENDED_RTTI = no; then
5056 result=$wxUSE_EXTENDED_RTTI
5059 { echo "$as_me:$LINENO: result: $result" >&5
5060 echo "${ECHO_T}$result" >&6; }
5062 if test "$USE_OS2" = 1; then
5063 DEFAULT_wxUSE_OMF=no
5067 if test -z "$defaultval"; then
5068 if test x"$enablestring" = xdisable; then
5075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5076 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5077 # Check whether --enable-omf was given.
5078 if test "${enable_omf+set}" = set; then
5079 enableval=$enable_omf;
5080 if test "$enableval" = yes; then
5081 wx_cv_use_omf='wxUSE_OMF=yes'
5083 wx_cv_use_omf='wxUSE_OMF=no'
5088 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5093 eval "$wx_cv_use_omf"
5095 if test x"$enablestring" = xdisable; then
5096 if test $wxUSE_OMF = no; then
5105 { echo "$as_me:$LINENO: result: $result" >&5
5106 echo "${ECHO_T}$result" >&6; }
5111 enablestring=disable
5113 if test -z "$defaultval"; then
5114 if test x"$enablestring" = xdisable; then
5121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5123 # Check whether --enable-optimise was given.
5124 if test "${enable_optimise+set}" = set; then
5125 enableval=$enable_optimise;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5129 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5134 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5139 eval "$wx_cv_use_optimise"
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_OPTIMISE = no; then
5148 result=$wxUSE_OPTIMISE
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5168 # Check whether --enable-profile was given.
5169 if test "${enable_profile+set}" = set; then
5170 enableval=$enable_profile;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_profile='wxUSE_PROFILE=yes'
5174 wx_cv_use_profile='wxUSE_PROFILE=no'
5179 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5184 eval "$wx_cv_use_profile"
5186 if test x"$enablestring" = xdisable; then
5187 if test $wxUSE_PROFILE = no; then
5193 result=$wxUSE_PROFILE
5196 { echo "$as_me:$LINENO: result: $result" >&5
5197 echo "${ECHO_T}$result" >&6; }
5202 if test -z "$defaultval"; then
5203 if test x"$enablestring" = xdisable; then
5210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5212 # Check whether --enable-no_rtti was given.
5213 if test "${enable_no_rtti+set}" = set; then
5214 enableval=$enable_no_rtti;
5215 if test "$enableval" = yes; then
5216 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5218 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5223 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5228 eval "$wx_cv_use_no_rtti"
5230 if test x"$enablestring" = xdisable; then
5231 if test $wxUSE_NO_RTTI = no; then
5237 result=$wxUSE_NO_RTTI
5240 { echo "$as_me:$LINENO: result: $result" >&5
5241 echo "${ECHO_T}$result" >&6; }
5246 if test -z "$defaultval"; then
5247 if test x"$enablestring" = xdisable; then
5254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5255 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5256 # Check whether --enable-no_exceptions was given.
5257 if test "${enable_no_exceptions+set}" = set; then
5258 enableval=$enable_no_exceptions;
5259 if test "$enableval" = yes; then
5260 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5262 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5267 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5272 eval "$wx_cv_use_no_exceptions"
5274 if test x"$enablestring" = xdisable; then
5275 if test $wxUSE_NO_EXCEPTIONS = no; then
5281 result=$wxUSE_NO_EXCEPTIONS
5284 { echo "$as_me:$LINENO: result: $result" >&5
5285 echo "${ECHO_T}$result" >&6; }
5290 if test -z "$defaultval"; then
5291 if test x"$enablestring" = xdisable; then
5298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5300 # Check whether --enable-permissive was given.
5301 if test "${enable_permissive+set}" = set; then
5302 enableval=$enable_permissive;
5303 if test "$enableval" = yes; then
5304 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5306 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5311 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5316 eval "$wx_cv_use_permissive"
5318 if test x"$enablestring" = xdisable; then
5319 if test $wxUSE_PERMISSIVE = no; then
5325 result=$wxUSE_PERMISSIVE
5328 { echo "$as_me:$LINENO: result: $result" >&5
5329 echo "${ECHO_T}$result" >&6; }
5334 if test -z "$defaultval"; then
5335 if test x"$enablestring" = xdisable; then
5342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5344 # Check whether --enable-no_deps was given.
5345 if test "${enable_no_deps+set}" = set; then
5346 enableval=$enable_no_deps;
5347 if test "$enableval" = yes; then
5348 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5350 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5355 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5360 eval "$wx_cv_use_no_deps"
5362 if test x"$enablestring" = xdisable; then
5363 if test $wxUSE_NO_DEPS = no; then
5369 result=$wxUSE_NO_DEPS
5372 { echo "$as_me:$LINENO: result: $result" >&5
5373 echo "${ECHO_T}$result" >&6; }
5376 enablestring=disable
5378 if test -z "$defaultval"; then
5379 if test x"$enablestring" = xdisable; then
5386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5387 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5388 # Check whether --enable-vararg_macros was given.
5389 if test "${enable_vararg_macros+set}" = set; then
5390 enableval=$enable_vararg_macros;
5391 if test "$enableval" = yes; then
5392 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5394 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5399 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5404 eval "$wx_cv_use_vararg_macros"
5406 if test x"$enablestring" = xdisable; then
5407 if test $wxUSE_VARARG_MACROS = no; then
5413 result=$wxUSE_VARARG_MACROS
5416 { echo "$as_me:$LINENO: result: $result" >&5
5417 echo "${ECHO_T}$result" >&6; }
5422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5424 # Check whether --enable-universal_binary was given.
5425 if test "${enable_universal_binary+set}" = set; then
5426 enableval=$enable_universal_binary;
5427 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5431 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5436 eval "$wx_cv_use_universal_binary"
5438 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5439 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5445 # Check whether --enable-macosx_arch was given.
5446 if test "${enable_macosx_arch+set}" = set; then
5447 enableval=$enable_macosx_arch;
5448 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5452 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5457 eval "$wx_cv_use_macosx_arch"
5459 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5460 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5466 if test -z "$defaultval"; then
5467 if test x"$enablestring" = xdisable; then
5474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5476 # Check whether --enable-compat26 was given.
5477 if test "${enable_compat26+set}" = set; then
5478 enableval=$enable_compat26;
5479 if test "$enableval" = yes; then
5480 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5482 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5487 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5492 eval "$wx_cv_use_compat26"
5494 if test x"$enablestring" = xdisable; then
5495 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5501 result=$WXWIN_COMPATIBILITY_2_6
5504 { echo "$as_me:$LINENO: result: $result" >&5
5505 echo "${ECHO_T}$result" >&6; }
5508 enablestring=disable
5510 if test -z "$defaultval"; then
5511 if test x"$enablestring" = xdisable; then
5518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5519 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5520 # Check whether --enable-compat28 was given.
5521 if test "${enable_compat28+set}" = set; then
5522 enableval=$enable_compat28;
5523 if test "$enableval" = yes; then
5524 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5526 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5531 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5536 eval "$wx_cv_use_compat28"
5538 if test x"$enablestring" = xdisable; then
5539 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5545 result=$WXWIN_COMPATIBILITY_2_8
5548 { echo "$as_me:$LINENO: result: $result" >&5
5549 echo "${ECHO_T}$result" >&6; }
5553 enablestring=disable
5555 if test -z "$defaultval"; then
5556 if test x"$enablestring" = xdisable; then
5563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5565 # Check whether --enable-rpath was given.
5566 if test "${enable_rpath+set}" = set; then
5567 enableval=$enable_rpath;
5568 if test "$enableval" = yes; then
5569 wx_cv_use_rpath='wxUSE_RPATH=yes'
5571 wx_cv_use_rpath='wxUSE_RPATH=no'
5576 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5581 eval "$wx_cv_use_rpath"
5583 if test x"$enablestring" = xdisable; then
5584 if test $wxUSE_RPATH = no; then
5593 { echo "$as_me:$LINENO: result: $result" >&5
5594 echo "${ECHO_T}$result" >&6; }
5600 if test -z "$defaultval"; then
5601 if test x"$enablestring" = xdisable; then
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5610 # Check whether --enable-objc_uniquifying was given.
5611 if test "${enable_objc_uniquifying+set}" = set; then
5612 enableval=$enable_objc_uniquifying;
5613 if test "$enableval" = yes; then
5614 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5616 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5621 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5626 eval "$wx_cv_use_objc_uniquifying"
5628 if test x"$enablestring" = xdisable; then
5629 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5635 result=$wxUSE_OBJC_UNIQUIFYING
5638 { echo "$as_me:$LINENO: result: $result" >&5
5639 echo "${ECHO_T}$result" >&6; }
5643 enablestring=disable
5645 if test -z "$defaultval"; then
5646 if test x"$enablestring" = xdisable; then
5653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5654 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5655 # Check whether --enable-visibility was given.
5656 if test "${enable_visibility+set}" = set; then
5657 enableval=$enable_visibility;
5658 if test "$enableval" = yes; then
5659 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5661 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5666 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5671 eval "$wx_cv_use_visibility"
5673 if test x"$enablestring" = xdisable; then
5674 if test $wxUSE_VISIBILITY = no; then
5680 result=$wxUSE_VISIBILITY
5683 { echo "$as_me:$LINENO: result: $result" >&5
5684 echo "${ECHO_T}$result" >&6; }
5687 enablestring=disable
5689 if test -z "$defaultval"; then
5690 if test x"$enablestring" = xdisable; then
5697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5698 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5699 # Check whether --enable-tls was given.
5700 if test "${enable_tls+set}" = set; then
5701 enableval=$enable_tls;
5702 if test "$enableval" = yes; then
5703 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5705 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5710 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5715 eval "$wx_cv_use_tls"
5717 if test x"$enablestring" = xdisable; then
5718 if test $wxUSE_COMPILER_TLS = no; then
5724 result=$wxUSE_COMPILER_TLS
5727 { echo "$as_me:$LINENO: result: $result" >&5
5728 echo "${ECHO_T}$result" >&6; }
5734 defaultval=$wxUSE_ALL_FEATURES
5735 if test -z "$defaultval"; then
5736 if test x"$enablestring" = xdisable; then
5743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5744 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5745 # Check whether --enable-intl was given.
5746 if test "${enable_intl+set}" = set; then
5747 enableval=$enable_intl;
5748 if test "$enableval" = yes; then
5749 wx_cv_use_intl='wxUSE_INTL=yes'
5751 wx_cv_use_intl='wxUSE_INTL=no'
5756 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5761 eval "$wx_cv_use_intl"
5763 if test x"$enablestring" = xdisable; then
5764 if test $wxUSE_INTL = no; then
5773 { echo "$as_me:$LINENO: result: $result" >&5
5774 echo "${ECHO_T}$result" >&6; }
5778 defaultval=$wxUSE_ALL_FEATURES
5779 if test -z "$defaultval"; then
5780 if test x"$enablestring" = xdisable; then
5787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5788 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5789 # Check whether --enable-xlocale was given.
5790 if test "${enable_xlocale+set}" = set; then
5791 enableval=$enable_xlocale;
5792 if test "$enableval" = yes; then
5793 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5795 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5800 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5805 eval "$wx_cv_use_xlocale"
5807 if test x"$enablestring" = xdisable; then
5808 if test $wxUSE_XLOCALE = no; then
5814 result=$wxUSE_XLOCALE
5817 { echo "$as_me:$LINENO: result: $result" >&5
5818 echo "${ECHO_T}$result" >&6; }
5822 defaultval=$wxUSE_ALL_FEATURES
5823 if test -z "$defaultval"; then
5824 if test x"$enablestring" = xdisable; then
5831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5832 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5833 # Check whether --enable-config was given.
5834 if test "${enable_config+set}" = set; then
5835 enableval=$enable_config;
5836 if test "$enableval" = yes; then
5837 wx_cv_use_config='wxUSE_CONFIG=yes'
5839 wx_cv_use_config='wxUSE_CONFIG=no'
5844 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5849 eval "$wx_cv_use_config"
5851 if test x"$enablestring" = xdisable; then
5852 if test $wxUSE_CONFIG = no; then
5858 result=$wxUSE_CONFIG
5861 { echo "$as_me:$LINENO: result: $result" >&5
5862 echo "${ECHO_T}$result" >&6; }
5867 defaultval=$wxUSE_ALL_FEATURES
5868 if test -z "$defaultval"; then
5869 if test x"$enablestring" = xdisable; then
5876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5877 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5878 # Check whether --enable-protocols was given.
5879 if test "${enable_protocols+set}" = set; then
5880 enableval=$enable_protocols;
5881 if test "$enableval" = yes; then
5882 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5884 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5889 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5894 eval "$wx_cv_use_protocols"
5896 if test x"$enablestring" = xdisable; then
5897 if test $wxUSE_PROTOCOL = no; then
5903 result=$wxUSE_PROTOCOL
5906 { echo "$as_me:$LINENO: result: $result" >&5
5907 echo "${ECHO_T}$result" >&6; }
5911 defaultval=$wxUSE_ALL_FEATURES
5912 if test -z "$defaultval"; then
5913 if test x"$enablestring" = xdisable; then
5920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5921 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5922 # Check whether --enable-ftp was given.
5923 if test "${enable_ftp+set}" = set; then
5924 enableval=$enable_ftp;
5925 if test "$enableval" = yes; then
5926 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5928 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5933 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5938 eval "$wx_cv_use_ftp"
5940 if test x"$enablestring" = xdisable; then
5941 if test $wxUSE_PROTOCOL_FTP = no; then
5947 result=$wxUSE_PROTOCOL_FTP
5950 { echo "$as_me:$LINENO: result: $result" >&5
5951 echo "${ECHO_T}$result" >&6; }
5955 defaultval=$wxUSE_ALL_FEATURES
5956 if test -z "$defaultval"; then
5957 if test x"$enablestring" = xdisable; then
5964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5965 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5966 # Check whether --enable-http was given.
5967 if test "${enable_http+set}" = set; then
5968 enableval=$enable_http;
5969 if test "$enableval" = yes; then
5970 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5972 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5977 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5982 eval "$wx_cv_use_http"
5984 if test x"$enablestring" = xdisable; then
5985 if test $wxUSE_PROTOCOL_HTTP = no; then
5991 result=$wxUSE_PROTOCOL_HTTP
5994 { echo "$as_me:$LINENO: result: $result" >&5
5995 echo "${ECHO_T}$result" >&6; }
5999 defaultval=$wxUSE_ALL_FEATURES
6000 if test -z "$defaultval"; then
6001 if test x"$enablestring" = xdisable; then
6008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6010 # Check whether --enable-fileproto was given.
6011 if test "${enable_fileproto+set}" = set; then
6012 enableval=$enable_fileproto;
6013 if test "$enableval" = yes; then
6014 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6016 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6021 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6026 eval "$wx_cv_use_fileproto"
6028 if test x"$enablestring" = xdisable; then
6029 if test $wxUSE_PROTOCOL_FILE = no; then
6035 result=$wxUSE_PROTOCOL_FILE
6038 { echo "$as_me:$LINENO: result: $result" >&5
6039 echo "${ECHO_T}$result" >&6; }
6043 defaultval=$wxUSE_ALL_FEATURES
6044 if test -z "$defaultval"; then
6045 if test x"$enablestring" = xdisable; then
6052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6054 # Check whether --enable-sockets was given.
6055 if test "${enable_sockets+set}" = set; then
6056 enableval=$enable_sockets;
6057 if test "$enableval" = yes; then
6058 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6060 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6065 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6070 eval "$wx_cv_use_sockets"
6072 if test x"$enablestring" = xdisable; then
6073 if test $wxUSE_SOCKETS = no; then
6079 result=$wxUSE_SOCKETS
6082 { echo "$as_me:$LINENO: result: $result" >&5
6083 echo "${ECHO_T}$result" >&6; }
6087 defaultval=$wxUSE_ALL_FEATURES
6088 if test -z "$defaultval"; then
6089 if test x"$enablestring" = xdisable; then
6096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6098 # Check whether --enable-ipv6 was given.
6099 if test "${enable_ipv6+set}" = set; then
6100 enableval=$enable_ipv6;
6101 if test "$enableval" = yes; then
6102 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6104 wx_cv_use_ipv6='wxUSE_IPV6=no'
6109 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6114 eval "$wx_cv_use_ipv6"
6116 if test x"$enablestring" = xdisable; then
6117 if test $wxUSE_IPV6 = no; then
6126 { echo "$as_me:$LINENO: result: $result" >&5
6127 echo "${ECHO_T}$result" >&6; }
6131 defaultval=$wxUSE_ALL_FEATURES
6132 if test -z "$defaultval"; then
6133 if test x"$enablestring" = xdisable; then
6140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6142 # Check whether --enable-ole was given.
6143 if test "${enable_ole+set}" = set; then
6144 enableval=$enable_ole;
6145 if test "$enableval" = yes; then
6146 wx_cv_use_ole='wxUSE_OLE=yes'
6148 wx_cv_use_ole='wxUSE_OLE=no'
6153 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6158 eval "$wx_cv_use_ole"
6160 if test x"$enablestring" = xdisable; then
6161 if test $wxUSE_OLE = no; then
6170 { echo "$as_me:$LINENO: result: $result" >&5
6171 echo "${ECHO_T}$result" >&6; }
6175 defaultval=$wxUSE_ALL_FEATURES
6176 if test -z "$defaultval"; then
6177 if test x"$enablestring" = xdisable; then
6184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6186 # Check whether --enable-dataobj was given.
6187 if test "${enable_dataobj+set}" = set; then
6188 enableval=$enable_dataobj;
6189 if test "$enableval" = yes; then
6190 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6192 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6197 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6202 eval "$wx_cv_use_dataobj"
6204 if test x"$enablestring" = xdisable; then
6205 if test $wxUSE_DATAOBJ = no; then
6211 result=$wxUSE_DATAOBJ
6214 { echo "$as_me:$LINENO: result: $result" >&5
6215 echo "${ECHO_T}$result" >&6; }
6220 defaultval=$wxUSE_ALL_FEATURES
6221 if test -z "$defaultval"; then
6222 if test x"$enablestring" = xdisable; then
6229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6230 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6231 # Check whether --enable-ipc was given.
6232 if test "${enable_ipc+set}" = set; then
6233 enableval=$enable_ipc;
6234 if test "$enableval" = yes; then
6235 wx_cv_use_ipc='wxUSE_IPC=yes'
6237 wx_cv_use_ipc='wxUSE_IPC=no'
6242 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6247 eval "$wx_cv_use_ipc"
6249 if test x"$enablestring" = xdisable; then
6250 if test $wxUSE_IPC = no; then
6259 { echo "$as_me:$LINENO: result: $result" >&5
6260 echo "${ECHO_T}$result" >&6; }
6265 defaultval=$wxUSE_ALL_FEATURES
6266 if test -z "$defaultval"; then
6267 if test x"$enablestring" = xdisable; then
6274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6276 # Check whether --enable-baseevtloop was given.
6277 if test "${enable_baseevtloop+set}" = set; then
6278 enableval=$enable_baseevtloop;
6279 if test "$enableval" = yes; then
6280 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6282 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6287 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6292 eval "$wx_cv_use_baseevtloop"
6294 if test x"$enablestring" = xdisable; then
6295 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6301 result=$wxUSE_CONSOLE_EVENTLOOP
6304 { echo "$as_me:$LINENO: result: $result" >&5
6305 echo "${ECHO_T}$result" >&6; }
6309 defaultval=$wxUSE_ALL_FEATURES
6310 if test -z "$defaultval"; then
6311 if test x"$enablestring" = xdisable; then
6318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6320 # Check whether --enable-epollloop was given.
6321 if test "${enable_epollloop+set}" = set; then
6322 enableval=$enable_epollloop;
6323 if test "$enableval" = yes; then
6324 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6326 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6331 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6336 eval "$wx_cv_use_epollloop"
6338 if test x"$enablestring" = xdisable; then
6339 if test $wxUSE_EPOLL_DISPATCHER = no; then
6345 result=$wxUSE_EPOLL_DISPATCHER
6348 { echo "$as_me:$LINENO: result: $result" >&5
6349 echo "${ECHO_T}$result" >&6; }
6353 defaultval=$wxUSE_ALL_FEATURES
6354 if test -z "$defaultval"; then
6355 if test x"$enablestring" = xdisable; then
6362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6364 # Check whether --enable-selectloop was given.
6365 if test "${enable_selectloop+set}" = set; then
6366 enableval=$enable_selectloop;
6367 if test "$enableval" = yes; then
6368 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6370 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6375 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6380 eval "$wx_cv_use_selectloop"
6382 if test x"$enablestring" = xdisable; then
6383 if test $wxUSE_SELECT_DISPATCHER = no; then
6389 result=$wxUSE_SELECT_DISPATCHER
6392 { echo "$as_me:$LINENO: result: $result" >&5
6393 echo "${ECHO_T}$result" >&6; }
6398 defaultval=$wxUSE_ALL_FEATURES
6399 if test -z "$defaultval"; then
6400 if test x"$enablestring" = xdisable; then
6407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6408 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6409 # Check whether --enable-any was given.
6410 if test "${enable_any+set}" = set; then
6411 enableval=$enable_any;
6412 if test "$enableval" = yes; then
6413 wx_cv_use_any='wxUSE_ANY=yes'
6415 wx_cv_use_any='wxUSE_ANY=no'
6420 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6425 eval "$wx_cv_use_any"
6427 if test x"$enablestring" = xdisable; then
6428 if test $wxUSE_ANY = no; then
6437 { echo "$as_me:$LINENO: result: $result" >&5
6438 echo "${ECHO_T}$result" >&6; }
6442 defaultval=$wxUSE_ALL_FEATURES
6443 if test -z "$defaultval"; then
6444 if test x"$enablestring" = xdisable; then
6451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6452 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6453 # Check whether --enable-apple_ieee was given.
6454 if test "${enable_apple_ieee+set}" = set; then
6455 enableval=$enable_apple_ieee;
6456 if test "$enableval" = yes; then
6457 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6459 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6464 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6469 eval "$wx_cv_use_apple_ieee"
6471 if test x"$enablestring" = xdisable; then
6472 if test $wxUSE_APPLE_IEEE = no; then
6478 result=$wxUSE_APPLE_IEEE
6481 { echo "$as_me:$LINENO: result: $result" >&5
6482 echo "${ECHO_T}$result" >&6; }
6486 defaultval=$wxUSE_ALL_FEATURES
6487 if test -z "$defaultval"; then
6488 if test x"$enablestring" = xdisable; then
6495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6496 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6497 # Check whether --enable-arcstream was given.
6498 if test "${enable_arcstream+set}" = set; then
6499 enableval=$enable_arcstream;
6500 if test "$enableval" = yes; then
6501 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6503 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6508 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6513 eval "$wx_cv_use_arcstream"
6515 if test x"$enablestring" = xdisable; then
6516 if test $wxUSE_ARCHIVE_STREAMS = no; then
6522 result=$wxUSE_ARCHIVE_STREAMS
6525 { echo "$as_me:$LINENO: result: $result" >&5
6526 echo "${ECHO_T}$result" >&6; }
6530 defaultval=$wxUSE_ALL_FEATURES
6531 if test -z "$defaultval"; then
6532 if test x"$enablestring" = xdisable; then
6539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6541 # Check whether --enable-base64 was given.
6542 if test "${enable_base64+set}" = set; then
6543 enableval=$enable_base64;
6544 if test "$enableval" = yes; then
6545 wx_cv_use_base64='wxUSE_BASE64=yes'
6547 wx_cv_use_base64='wxUSE_BASE64=no'
6552 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6557 eval "$wx_cv_use_base64"
6559 if test x"$enablestring" = xdisable; then
6560 if test $wxUSE_BASE64 = no; then
6566 result=$wxUSE_BASE64
6569 { echo "$as_me:$LINENO: result: $result" >&5
6570 echo "${ECHO_T}$result" >&6; }
6574 defaultval=$wxUSE_ALL_FEATURES
6575 if test -z "$defaultval"; then
6576 if test x"$enablestring" = xdisable; then
6583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6585 # Check whether --enable-backtrace was given.
6586 if test "${enable_backtrace+set}" = set; then
6587 enableval=$enable_backtrace;
6588 if test "$enableval" = yes; then
6589 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6591 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6596 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6601 eval "$wx_cv_use_backtrace"
6603 if test x"$enablestring" = xdisable; then
6604 if test $wxUSE_STACKWALKER = no; then
6610 result=$wxUSE_STACKWALKER
6613 { echo "$as_me:$LINENO: result: $result" >&5
6614 echo "${ECHO_T}$result" >&6; }
6618 defaultval=$wxUSE_ALL_FEATURES
6619 if test -z "$defaultval"; then
6620 if test x"$enablestring" = xdisable; then
6627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6628 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6629 # Check whether --enable-catch_segvs was given.
6630 if test "${enable_catch_segvs+set}" = set; then
6631 enableval=$enable_catch_segvs;
6632 if test "$enableval" = yes; then
6633 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6635 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6640 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6645 eval "$wx_cv_use_catch_segvs"
6647 if test x"$enablestring" = xdisable; then
6648 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6654 result=$wxUSE_ON_FATAL_EXCEPTION
6657 { echo "$as_me:$LINENO: result: $result" >&5
6658 echo "${ECHO_T}$result" >&6; }
6662 defaultval=$wxUSE_ALL_FEATURES
6663 if test -z "$defaultval"; then
6664 if test x"$enablestring" = xdisable; then
6671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6672 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6673 # Check whether --enable-cmdline was given.
6674 if test "${enable_cmdline+set}" = set; then
6675 enableval=$enable_cmdline;
6676 if test "$enableval" = yes; then
6677 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6679 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6684 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6689 eval "$wx_cv_use_cmdline"
6691 if test x"$enablestring" = xdisable; then
6692 if test $wxUSE_CMDLINE_PARSER = no; then
6698 result=$wxUSE_CMDLINE_PARSER
6701 { echo "$as_me:$LINENO: result: $result" >&5
6702 echo "${ECHO_T}$result" >&6; }
6706 defaultval=$wxUSE_ALL_FEATURES
6707 if test -z "$defaultval"; then
6708 if test x"$enablestring" = xdisable; then
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6717 # Check whether --enable-datetime was given.
6718 if test "${enable_datetime+set}" = set; then
6719 enableval=$enable_datetime;
6720 if test "$enableval" = yes; then
6721 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6723 wx_cv_use_datetime='wxUSE_DATETIME=no'
6728 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6733 eval "$wx_cv_use_datetime"
6735 if test x"$enablestring" = xdisable; then
6736 if test $wxUSE_DATETIME = no; then
6742 result=$wxUSE_DATETIME
6745 { echo "$as_me:$LINENO: result: $result" >&5
6746 echo "${ECHO_T}$result" >&6; }
6750 defaultval=$wxUSE_ALL_FEATURES
6751 if test -z "$defaultval"; then
6752 if test x"$enablestring" = xdisable; then
6759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6761 # Check whether --enable-debugreport was given.
6762 if test "${enable_debugreport+set}" = set; then
6763 enableval=$enable_debugreport;
6764 if test "$enableval" = yes; then
6765 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6767 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6772 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6777 eval "$wx_cv_use_debugreport"
6779 if test x"$enablestring" = xdisable; then
6780 if test $wxUSE_DEBUGREPORT = no; then
6786 result=$wxUSE_DEBUGREPORT
6789 { echo "$as_me:$LINENO: result: $result" >&5
6790 echo "${ECHO_T}$result" >&6; }
6794 defaultval=$wxUSE_ALL_FEATURES
6795 if test -z "$defaultval"; then
6796 if test x"$enablestring" = xdisable; then
6803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6805 # Check whether --enable-dialupman was given.
6806 if test "${enable_dialupman+set}" = set; then
6807 enableval=$enable_dialupman;
6808 if test "$enableval" = yes; then
6809 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6811 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6816 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6821 eval "$wx_cv_use_dialupman"
6823 if test x"$enablestring" = xdisable; then
6824 if test $wxUSE_DIALUP_MANAGER = no; then
6830 result=$wxUSE_DIALUP_MANAGER
6833 { echo "$as_me:$LINENO: result: $result" >&5
6834 echo "${ECHO_T}$result" >&6; }
6838 defaultval=$wxUSE_ALL_FEATURES
6839 if test -z "$defaultval"; then
6840 if test x"$enablestring" = xdisable; then
6847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6848 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6849 # Check whether --enable-dynlib was given.
6850 if test "${enable_dynlib+set}" = set; then
6851 enableval=$enable_dynlib;
6852 if test "$enableval" = yes; then
6853 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6855 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6860 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6865 eval "$wx_cv_use_dynlib"
6867 if test x"$enablestring" = xdisable; then
6868 if test $wxUSE_DYNLIB_CLASS = no; then
6874 result=$wxUSE_DYNLIB_CLASS
6877 { echo "$as_me:$LINENO: result: $result" >&5
6878 echo "${ECHO_T}$result" >&6; }
6882 defaultval=$wxUSE_ALL_FEATURES
6883 if test -z "$defaultval"; then
6884 if test x"$enablestring" = xdisable; then
6891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6893 # Check whether --enable-dynamicloader was given.
6894 if test "${enable_dynamicloader+set}" = set; then
6895 enableval=$enable_dynamicloader;
6896 if test "$enableval" = yes; then
6897 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6899 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6904 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6909 eval "$wx_cv_use_dynamicloader"
6911 if test x"$enablestring" = xdisable; then
6912 if test $wxUSE_DYNAMIC_LOADER = no; then
6918 result=$wxUSE_DYNAMIC_LOADER
6921 { echo "$as_me:$LINENO: result: $result" >&5
6922 echo "${ECHO_T}$result" >&6; }
6926 defaultval=$wxUSE_ALL_FEATURES
6927 if test -z "$defaultval"; then
6928 if test x"$enablestring" = xdisable; then
6935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6936 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6937 # Check whether --enable-exceptions was given.
6938 if test "${enable_exceptions+set}" = set; then
6939 enableval=$enable_exceptions;
6940 if test "$enableval" = yes; then
6941 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6943 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6948 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6953 eval "$wx_cv_use_exceptions"
6955 if test x"$enablestring" = xdisable; then
6956 if test $wxUSE_EXCEPTIONS = no; then
6962 result=$wxUSE_EXCEPTIONS
6965 { echo "$as_me:$LINENO: result: $result" >&5
6966 echo "${ECHO_T}$result" >&6; }
6970 defaultval=$wxUSE_ALL_FEATURES
6971 if test -z "$defaultval"; then
6972 if test x"$enablestring" = xdisable; then
6979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6980 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6981 # Check whether --enable-ffile was given.
6982 if test "${enable_ffile+set}" = set; then
6983 enableval=$enable_ffile;
6984 if test "$enableval" = yes; then
6985 wx_cv_use_ffile='wxUSE_FFILE=yes'
6987 wx_cv_use_ffile='wxUSE_FFILE=no'
6992 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6997 eval "$wx_cv_use_ffile"
6999 if test x"$enablestring" = xdisable; then
7000 if test $wxUSE_FFILE = no; then
7009 { echo "$as_me:$LINENO: result: $result" >&5
7010 echo "${ECHO_T}$result" >&6; }
7014 defaultval=$wxUSE_ALL_FEATURES
7015 if test -z "$defaultval"; then
7016 if test x"$enablestring" = xdisable; then
7023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7025 # Check whether --enable-file was given.
7026 if test "${enable_file+set}" = set; then
7027 enableval=$enable_file;
7028 if test "$enableval" = yes; then
7029 wx_cv_use_file='wxUSE_FILE=yes'
7031 wx_cv_use_file='wxUSE_FILE=no'
7036 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7041 eval "$wx_cv_use_file"
7043 if test x"$enablestring" = xdisable; then
7044 if test $wxUSE_FILE = no; then
7053 { echo "$as_me:$LINENO: result: $result" >&5
7054 echo "${ECHO_T}$result" >&6; }
7058 defaultval=$wxUSE_ALL_FEATURES
7059 if test -z "$defaultval"; then
7060 if test x"$enablestring" = xdisable; then
7067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7069 # Check whether --enable-filehistory was given.
7070 if test "${enable_filehistory+set}" = set; then
7071 enableval=$enable_filehistory;
7072 if test "$enableval" = yes; then
7073 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7075 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7080 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7085 eval "$wx_cv_use_filehistory"
7087 if test x"$enablestring" = xdisable; then
7088 if test $wxUSE_FILE_HISTORY = no; then
7094 result=$wxUSE_FILE_HISTORY
7097 { echo "$as_me:$LINENO: result: $result" >&5
7098 echo "${ECHO_T}$result" >&6; }
7102 defaultval=$wxUSE_ALL_FEATURES
7103 if test -z "$defaultval"; then
7104 if test x"$enablestring" = xdisable; then
7111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7113 # Check whether --enable-filesystem was given.
7114 if test "${enable_filesystem+set}" = set; then
7115 enableval=$enable_filesystem;
7116 if test "$enableval" = yes; then
7117 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7119 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7124 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7129 eval "$wx_cv_use_filesystem"
7131 if test x"$enablestring" = xdisable; then
7132 if test $wxUSE_FILESYSTEM = no; then
7138 result=$wxUSE_FILESYSTEM
7141 { echo "$as_me:$LINENO: result: $result" >&5
7142 echo "${ECHO_T}$result" >&6; }
7146 defaultval=$wxUSE_ALL_FEATURES
7147 if test -z "$defaultval"; then
7148 if test x"$enablestring" = xdisable; then
7155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7156 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7157 # Check whether --enable-fontenum was given.
7158 if test "${enable_fontenum+set}" = set; then
7159 enableval=$enable_fontenum;
7160 if test "$enableval" = yes; then
7161 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7163 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7168 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7173 eval "$wx_cv_use_fontenum"
7175 if test x"$enablestring" = xdisable; then
7176 if test $wxUSE_FONTENUM = no; then
7182 result=$wxUSE_FONTENUM
7185 { echo "$as_me:$LINENO: result: $result" >&5
7186 echo "${ECHO_T}$result" >&6; }
7190 defaultval=$wxUSE_ALL_FEATURES
7191 if test -z "$defaultval"; then
7192 if test x"$enablestring" = xdisable; then
7199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7200 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7201 # Check whether --enable-fontmap was given.
7202 if test "${enable_fontmap+set}" = set; then
7203 enableval=$enable_fontmap;
7204 if test "$enableval" = yes; then
7205 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7207 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7212 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7217 eval "$wx_cv_use_fontmap"
7219 if test x"$enablestring" = xdisable; then
7220 if test $wxUSE_FONTMAP = no; then
7226 result=$wxUSE_FONTMAP
7229 { echo "$as_me:$LINENO: result: $result" >&5
7230 echo "${ECHO_T}$result" >&6; }
7234 defaultval=$wxUSE_ALL_FEATURES
7235 if test -z "$defaultval"; then
7236 if test x"$enablestring" = xdisable; then
7243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7244 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7245 # Check whether --enable-fs_archive was given.
7246 if test "${enable_fs_archive+set}" = set; then
7247 enableval=$enable_fs_archive;
7248 if test "$enableval" = yes; then
7249 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7251 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7256 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7261 eval "$wx_cv_use_fs_archive"
7263 if test x"$enablestring" = xdisable; then
7264 if test $wxUSE_FS_ARCHIVE = no; then
7270 result=$wxUSE_FS_ARCHIVE
7273 { echo "$as_me:$LINENO: result: $result" >&5
7274 echo "${ECHO_T}$result" >&6; }
7278 defaultval=$wxUSE_ALL_FEATURES
7279 if test -z "$defaultval"; then
7280 if test x"$enablestring" = xdisable; then
7287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7288 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7289 # Check whether --enable-fs_inet was given.
7290 if test "${enable_fs_inet+set}" = set; then
7291 enableval=$enable_fs_inet;
7292 if test "$enableval" = yes; then
7293 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7295 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7300 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7305 eval "$wx_cv_use_fs_inet"
7307 if test x"$enablestring" = xdisable; then
7308 if test $wxUSE_FS_INET = no; then
7314 result=$wxUSE_FS_INET
7317 { echo "$as_me:$LINENO: result: $result" >&5
7318 echo "${ECHO_T}$result" >&6; }
7322 defaultval=$wxUSE_ALL_FEATURES
7323 if test -z "$defaultval"; then
7324 if test x"$enablestring" = xdisable; then
7331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7332 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7333 # Check whether --enable-fs_zip was given.
7334 if test "${enable_fs_zip+set}" = set; then
7335 enableval=$enable_fs_zip;
7336 if test "$enableval" = yes; then
7337 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7339 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7344 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7349 eval "$wx_cv_use_fs_zip"
7351 if test x"$enablestring" = xdisable; then
7352 if test $wxUSE_FS_ZIP = no; then
7358 result=$wxUSE_FS_ZIP
7361 { echo "$as_me:$LINENO: result: $result" >&5
7362 echo "${ECHO_T}$result" >&6; }
7366 defaultval=$wxUSE_ALL_FEATURES
7367 if test -z "$defaultval"; then
7368 if test x"$enablestring" = xdisable; then
7375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7377 # Check whether --enable-fswatcher was given.
7378 if test "${enable_fswatcher+set}" = set; then
7379 enableval=$enable_fswatcher;
7380 if test "$enableval" = yes; then
7381 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7383 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7388 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7393 eval "$wx_cv_use_fswatcher"
7395 if test x"$enablestring" = xdisable; then
7396 if test $wxUSE_FSWATCHER = no; then
7402 result=$wxUSE_FSWATCHER
7405 { echo "$as_me:$LINENO: result: $result" >&5
7406 echo "${ECHO_T}$result" >&6; }
7410 defaultval=$wxUSE_ALL_FEATURES
7411 if test -z "$defaultval"; then
7412 if test x"$enablestring" = xdisable; then
7419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7421 # Check whether --enable-geometry was given.
7422 if test "${enable_geometry+set}" = set; then
7423 enableval=$enable_geometry;
7424 if test "$enableval" = yes; then
7425 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7427 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7432 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7437 eval "$wx_cv_use_geometry"
7439 if test x"$enablestring" = xdisable; then
7440 if test $wxUSE_GEOMETRY = no; then
7446 result=$wxUSE_GEOMETRY
7449 { echo "$as_me:$LINENO: result: $result" >&5
7450 echo "${ECHO_T}$result" >&6; }
7454 defaultval=$wxUSE_ALL_FEATURES
7455 if test -z "$defaultval"; then
7456 if test x"$enablestring" = xdisable; then
7463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7465 # Check whether --enable-log was given.
7466 if test "${enable_log+set}" = set; then
7467 enableval=$enable_log;
7468 if test "$enableval" = yes; then
7469 wx_cv_use_log='wxUSE_LOG=yes'
7471 wx_cv_use_log='wxUSE_LOG=no'
7476 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7481 eval "$wx_cv_use_log"
7483 if test x"$enablestring" = xdisable; then
7484 if test $wxUSE_LOG = no; then
7493 { echo "$as_me:$LINENO: result: $result" >&5
7494 echo "${ECHO_T}$result" >&6; }
7498 defaultval=$wxUSE_ALL_FEATURES
7499 if test -z "$defaultval"; then
7500 if test x"$enablestring" = xdisable; then
7507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7509 # Check whether --enable-longlong was given.
7510 if test "${enable_longlong+set}" = set; then
7511 enableval=$enable_longlong;
7512 if test "$enableval" = yes; then
7513 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7515 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7520 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7525 eval "$wx_cv_use_longlong"
7527 if test x"$enablestring" = xdisable; then
7528 if test $wxUSE_LONGLONG = no; then
7534 result=$wxUSE_LONGLONG
7537 { echo "$as_me:$LINENO: result: $result" >&5
7538 echo "${ECHO_T}$result" >&6; }
7542 defaultval=$wxUSE_ALL_FEATURES
7543 if test -z "$defaultval"; then
7544 if test x"$enablestring" = xdisable; then
7551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7552 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7553 # Check whether --enable-mimetype was given.
7554 if test "${enable_mimetype+set}" = set; then
7555 enableval=$enable_mimetype;
7556 if test "$enableval" = yes; then
7557 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7559 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7564 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7569 eval "$wx_cv_use_mimetype"
7571 if test x"$enablestring" = xdisable; then
7572 if test $wxUSE_MIMETYPE = no; then
7578 result=$wxUSE_MIMETYPE
7581 { echo "$as_me:$LINENO: result: $result" >&5
7582 echo "${ECHO_T}$result" >&6; }
7586 defaultval=$wxUSE_ALL_FEATURES
7587 if test -z "$defaultval"; then
7588 if test x"$enablestring" = xdisable; then
7595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7597 # Check whether --enable-printfposparam was given.
7598 if test "${enable_printfposparam+set}" = set; then
7599 enableval=$enable_printfposparam;
7600 if test "$enableval" = yes; then
7601 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7603 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7608 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7613 eval "$wx_cv_use_printfposparam"
7615 if test x"$enablestring" = xdisable; then
7616 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7622 result=$wxUSE_PRINTF_POS_PARAMS
7625 { echo "$as_me:$LINENO: result: $result" >&5
7626 echo "${ECHO_T}$result" >&6; }
7630 defaultval=$wxUSE_ALL_FEATURES
7631 if test -z "$defaultval"; then
7632 if test x"$enablestring" = xdisable; then
7639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7640 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7641 # Check whether --enable-snglinst was given.
7642 if test "${enable_snglinst+set}" = set; then
7643 enableval=$enable_snglinst;
7644 if test "$enableval" = yes; then
7645 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7647 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7652 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7657 eval "$wx_cv_use_snglinst"
7659 if test x"$enablestring" = xdisable; then
7660 if test $wxUSE_SNGLINST_CHECKER = no; then
7666 result=$wxUSE_SNGLINST_CHECKER
7669 { echo "$as_me:$LINENO: result: $result" >&5
7670 echo "${ECHO_T}$result" >&6; }
7674 defaultval=$wxUSE_ALL_FEATURES
7675 if test -z "$defaultval"; then
7676 if test x"$enablestring" = xdisable; then
7683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7685 # Check whether --enable-sound was given.
7686 if test "${enable_sound+set}" = set; then
7687 enableval=$enable_sound;
7688 if test "$enableval" = yes; then
7689 wx_cv_use_sound='wxUSE_SOUND=yes'
7691 wx_cv_use_sound='wxUSE_SOUND=no'
7696 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7701 eval "$wx_cv_use_sound"
7703 if test x"$enablestring" = xdisable; then
7704 if test $wxUSE_SOUND = no; then
7713 { echo "$as_me:$LINENO: result: $result" >&5
7714 echo "${ECHO_T}$result" >&6; }
7718 defaultval=$wxUSE_ALL_FEATURES
7719 if test -z "$defaultval"; then
7720 if test x"$enablestring" = xdisable; then
7727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7728 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7729 # Check whether --enable-stdpaths was given.
7730 if test "${enable_stdpaths+set}" = set; then
7731 enableval=$enable_stdpaths;
7732 if test "$enableval" = yes; then
7733 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7735 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7740 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7745 eval "$wx_cv_use_stdpaths"
7747 if test x"$enablestring" = xdisable; then
7748 if test $wxUSE_STDPATHS = no; then
7754 result=$wxUSE_STDPATHS
7757 { echo "$as_me:$LINENO: result: $result" >&5
7758 echo "${ECHO_T}$result" >&6; }
7762 defaultval=$wxUSE_ALL_FEATURES
7763 if test -z "$defaultval"; then
7764 if test x"$enablestring" = xdisable; then
7771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7773 # Check whether --enable-stopwatch was given.
7774 if test "${enable_stopwatch+set}" = set; then
7775 enableval=$enable_stopwatch;
7776 if test "$enableval" = yes; then
7777 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7779 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7784 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7789 eval "$wx_cv_use_stopwatch"
7791 if test x"$enablestring" = xdisable; then
7792 if test $wxUSE_STOPWATCH = no; then
7798 result=$wxUSE_STOPWATCH
7801 { echo "$as_me:$LINENO: result: $result" >&5
7802 echo "${ECHO_T}$result" >&6; }
7806 defaultval=$wxUSE_ALL_FEATURES
7807 if test -z "$defaultval"; then
7808 if test x"$enablestring" = xdisable; then
7815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7816 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7817 # Check whether --enable-streams was given.
7818 if test "${enable_streams+set}" = set; then
7819 enableval=$enable_streams;
7820 if test "$enableval" = yes; then
7821 wx_cv_use_streams='wxUSE_STREAMS=yes'
7823 wx_cv_use_streams='wxUSE_STREAMS=no'
7828 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7833 eval "$wx_cv_use_streams"
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_STREAMS = no; then
7842 result=$wxUSE_STREAMS
7845 { echo "$as_me:$LINENO: result: $result" >&5
7846 echo "${ECHO_T}$result" >&6; }
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7860 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7861 # Check whether --enable-sysoptions was given.
7862 if test "${enable_sysoptions+set}" = set; then
7863 enableval=$enable_sysoptions;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7867 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7872 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7877 eval "$wx_cv_use_sysoptions"
7879 if test x"$enablestring" = xdisable; then
7880 if test $wxUSE_SYSTEM_OPTIONS = no; then
7886 result=$wxUSE_SYSTEM_OPTIONS
7889 { echo "$as_me:$LINENO: result: $result" >&5
7890 echo "${ECHO_T}$result" >&6; }
7894 defaultval=$wxUSE_ALL_FEATURES
7895 if test -z "$defaultval"; then
7896 if test x"$enablestring" = xdisable; then
7903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7905 # Check whether --enable-tarstream was given.
7906 if test "${enable_tarstream+set}" = set; then
7907 enableval=$enable_tarstream;
7908 if test "$enableval" = yes; then
7909 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7911 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7916 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7921 eval "$wx_cv_use_tarstream"
7923 if test x"$enablestring" = xdisable; then
7924 if test $wxUSE_TARSTREAM = no; then
7930 result=$wxUSE_TARSTREAM
7933 { echo "$as_me:$LINENO: result: $result" >&5
7934 echo "${ECHO_T}$result" >&6; }
7938 defaultval=$wxUSE_ALL_FEATURES
7939 if test -z "$defaultval"; then
7940 if test x"$enablestring" = xdisable; then
7947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7949 # Check whether --enable-textbuf was given.
7950 if test "${enable_textbuf+set}" = set; then
7951 enableval=$enable_textbuf;
7952 if test "$enableval" = yes; then
7953 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7955 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7960 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7965 eval "$wx_cv_use_textbuf"
7967 if test x"$enablestring" = xdisable; then
7968 if test $wxUSE_TEXTBUFFER = no; then
7974 result=$wxUSE_TEXTBUFFER
7977 { echo "$as_me:$LINENO: result: $result" >&5
7978 echo "${ECHO_T}$result" >&6; }
7982 defaultval=$wxUSE_ALL_FEATURES
7983 if test -z "$defaultval"; then
7984 if test x"$enablestring" = xdisable; then
7991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7993 # Check whether --enable-textfile was given.
7994 if test "${enable_textfile+set}" = set; then
7995 enableval=$enable_textfile;
7996 if test "$enableval" = yes; then
7997 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7999 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8004 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8009 eval "$wx_cv_use_textfile"
8011 if test x"$enablestring" = xdisable; then
8012 if test $wxUSE_TEXTFILE = no; then
8018 result=$wxUSE_TEXTFILE
8021 { echo "$as_me:$LINENO: result: $result" >&5
8022 echo "${ECHO_T}$result" >&6; }
8026 defaultval=$wxUSE_ALL_FEATURES
8027 if test -z "$defaultval"; then
8028 if test x"$enablestring" = xdisable; then
8035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8037 # Check whether --enable-timer was given.
8038 if test "${enable_timer+set}" = set; then
8039 enableval=$enable_timer;
8040 if test "$enableval" = yes; then
8041 wx_cv_use_timer='wxUSE_TIMER=yes'
8043 wx_cv_use_timer='wxUSE_TIMER=no'
8048 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8053 eval "$wx_cv_use_timer"
8055 if test x"$enablestring" = xdisable; then
8056 if test $wxUSE_TIMER = no; then
8065 { echo "$as_me:$LINENO: result: $result" >&5
8066 echo "${ECHO_T}$result" >&6; }
8070 defaultval=$wxUSE_ALL_FEATURES
8071 if test -z "$defaultval"; then
8072 if test x"$enablestring" = xdisable; then
8079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8081 # Check whether --enable-variant was given.
8082 if test "${enable_variant+set}" = set; then
8083 enableval=$enable_variant;
8084 if test "$enableval" = yes; then
8085 wx_cv_use_variant='wxUSE_VARIANT=yes'
8087 wx_cv_use_variant='wxUSE_VARIANT=no'
8092 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8097 eval "$wx_cv_use_variant"
8099 if test x"$enablestring" = xdisable; then
8100 if test $wxUSE_VARIANT = no; then
8106 result=$wxUSE_VARIANT
8109 { echo "$as_me:$LINENO: result: $result" >&5
8110 echo "${ECHO_T}$result" >&6; }
8114 defaultval=$wxUSE_ALL_FEATURES
8115 if test -z "$defaultval"; then
8116 if test x"$enablestring" = xdisable; then
8123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8125 # Check whether --enable-zipstream was given.
8126 if test "${enable_zipstream+set}" = set; then
8127 enableval=$enable_zipstream;
8128 if test "$enableval" = yes; then
8129 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8131 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8136 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8141 eval "$wx_cv_use_zipstream"
8143 if test x"$enablestring" = xdisable; then
8144 if test $wxUSE_ZIPSTREAM = no; then
8150 result=$wxUSE_ZIPSTREAM
8153 { echo "$as_me:$LINENO: result: $result" >&5
8154 echo "${ECHO_T}$result" >&6; }
8159 defaultval=$wxUSE_ALL_FEATURES
8160 if test -z "$defaultval"; then
8161 if test x"$enablestring" = xdisable; then
8168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8170 # Check whether --enable-url was given.
8171 if test "${enable_url+set}" = set; then
8172 enableval=$enable_url;
8173 if test "$enableval" = yes; then
8174 wx_cv_use_url='wxUSE_URL=yes'
8176 wx_cv_use_url='wxUSE_URL=no'
8181 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8186 eval "$wx_cv_use_url"
8188 if test x"$enablestring" = xdisable; then
8189 if test $wxUSE_URL = no; then
8198 { echo "$as_me:$LINENO: result: $result" >&5
8199 echo "${ECHO_T}$result" >&6; }
8203 defaultval=$wxUSE_ALL_FEATURES
8204 if test -z "$defaultval"; then
8205 if test x"$enablestring" = xdisable; then
8212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8214 # Check whether --enable-protocol was given.
8215 if test "${enable_protocol+set}" = set; then
8216 enableval=$enable_protocol;
8217 if test "$enableval" = yes; then
8218 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8220 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8225 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8230 eval "$wx_cv_use_protocol"
8232 if test x"$enablestring" = xdisable; then
8233 if test $wxUSE_PROTOCOL = no; then
8239 result=$wxUSE_PROTOCOL
8242 { echo "$as_me:$LINENO: result: $result" >&5
8243 echo "${ECHO_T}$result" >&6; }
8247 defaultval=$wxUSE_ALL_FEATURES
8248 if test -z "$defaultval"; then
8249 if test x"$enablestring" = xdisable; then
8256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8258 # Check whether --enable-protocol_http was given.
8259 if test "${enable_protocol_http+set}" = set; then
8260 enableval=$enable_protocol_http;
8261 if test "$enableval" = yes; then
8262 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8264 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8269 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8274 eval "$wx_cv_use_protocol_http"
8276 if test x"$enablestring" = xdisable; then
8277 if test $wxUSE_PROTOCOL_HTTP = no; then
8283 result=$wxUSE_PROTOCOL_HTTP
8286 { echo "$as_me:$LINENO: result: $result" >&5
8287 echo "${ECHO_T}$result" >&6; }
8291 defaultval=$wxUSE_ALL_FEATURES
8292 if test -z "$defaultval"; then
8293 if test x"$enablestring" = xdisable; then
8300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8302 # Check whether --enable-protocol_ftp was given.
8303 if test "${enable_protocol_ftp+set}" = set; then
8304 enableval=$enable_protocol_ftp;
8305 if test "$enableval" = yes; then
8306 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8308 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8313 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8318 eval "$wx_cv_use_protocol_ftp"
8320 if test x"$enablestring" = xdisable; then
8321 if test $wxUSE_PROTOCOL_FTP = no; then
8327 result=$wxUSE_PROTOCOL_FTP
8330 { echo "$as_me:$LINENO: result: $result" >&5
8331 echo "${ECHO_T}$result" >&6; }
8335 defaultval=$wxUSE_ALL_FEATURES
8336 if test -z "$defaultval"; then
8337 if test x"$enablestring" = xdisable; then
8344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8345 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8346 # Check whether --enable-protocol_file was given.
8347 if test "${enable_protocol_file+set}" = set; then
8348 enableval=$enable_protocol_file;
8349 if test "$enableval" = yes; then
8350 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8352 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8357 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8362 eval "$wx_cv_use_protocol_file"
8364 if test x"$enablestring" = xdisable; then
8365 if test $wxUSE_PROTOCOL_FILE = no; then
8371 result=$wxUSE_PROTOCOL_FILE
8374 { echo "$as_me:$LINENO: result: $result" >&5
8375 echo "${ECHO_T}$result" >&6; }
8380 defaultval=$wxUSE_ALL_FEATURES
8381 if test -z "$defaultval"; then
8382 if test x"$enablestring" = xdisable; then
8389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8391 # Check whether --enable-threads was given.
8392 if test "${enable_threads+set}" = set; then
8393 enableval=$enable_threads;
8394 if test "$enableval" = yes; then
8395 wx_cv_use_threads='wxUSE_THREADS=yes'
8397 wx_cv_use_threads='wxUSE_THREADS=no'
8402 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8407 eval "$wx_cv_use_threads"
8409 if test x"$enablestring" = xdisable; then
8410 if test $wxUSE_THREADS = no; then
8416 result=$wxUSE_THREADS
8419 { echo "$as_me:$LINENO: result: $result" >&5
8420 echo "${ECHO_T}$result" >&6; }
8426 if test -z "$defaultval"; then
8427 if test x"$enablestring" = xdisable; then
8434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8435 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8436 # Check whether --enable-iniconf was given.
8437 if test "${enable_iniconf+set}" = set; then
8438 enableval=$enable_iniconf;
8439 if test "$enableval" = yes; then
8440 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8442 wx_cv_use_iniconf='wxUSE_INICONF=no'
8447 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8452 eval "$wx_cv_use_iniconf"
8454 if test x"$enablestring" = xdisable; then
8455 if test $wxUSE_INICONF = no; then
8461 result=$wxUSE_INICONF
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8469 defaultval=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x"$enablestring" = xdisable; then
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8480 # Check whether --enable-regkey was given.
8481 if test "${enable_regkey+set}" = set; then
8482 enableval=$enable_regkey;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8486 wx_cv_use_regkey='wxUSE_REGKEY=no'
8491 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8496 eval "$wx_cv_use_regkey"
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_REGKEY = no; then
8505 result=$wxUSE_REGKEY
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8512 if test "$wxUSE_GUI" = "yes"; then
8517 defaultval=$wxUSE_ALL_FEATURES
8518 if test -z "$defaultval"; then
8519 if test x"$enablestring" = xdisable; then
8526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8528 # Check whether --enable-docview was given.
8529 if test "${enable_docview+set}" = set; then
8530 enableval=$enable_docview;
8531 if test "$enableval" = yes; then
8532 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8534 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8539 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8544 eval "$wx_cv_use_docview"
8546 if test x"$enablestring" = xdisable; then
8547 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8553 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8556 { echo "$as_me:$LINENO: result: $result" >&5
8557 echo "${ECHO_T}$result" >&6; }
8561 defaultval=$wxUSE_ALL_FEATURES
8562 if test -z "$defaultval"; then
8563 if test x"$enablestring" = xdisable; then
8570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8571 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8572 # Check whether --enable-help was given.
8573 if test "${enable_help+set}" = set; then
8574 enableval=$enable_help;
8575 if test "$enableval" = yes; then
8576 wx_cv_use_help='wxUSE_HELP=yes'
8578 wx_cv_use_help='wxUSE_HELP=no'
8583 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8588 eval "$wx_cv_use_help"
8590 if test x"$enablestring" = xdisable; then
8591 if test $wxUSE_HELP = no; then
8600 { echo "$as_me:$LINENO: result: $result" >&5
8601 echo "${ECHO_T}$result" >&6; }
8605 defaultval=$wxUSE_ALL_FEATURES
8606 if test -z "$defaultval"; then
8607 if test x"$enablestring" = xdisable; then
8614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8616 # Check whether --enable-mshtmlhelp was given.
8617 if test "${enable_mshtmlhelp+set}" = set; then
8618 enableval=$enable_mshtmlhelp;
8619 if test "$enableval" = yes; then
8620 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8622 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8627 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8632 eval "$wx_cv_use_mshtmlhelp"
8634 if test x"$enablestring" = xdisable; then
8635 if test $wxUSE_MS_HTML_HELP = no; then
8641 result=$wxUSE_MS_HTML_HELP
8644 { echo "$as_me:$LINENO: result: $result" >&5
8645 echo "${ECHO_T}$result" >&6; }
8649 defaultval=$wxUSE_ALL_FEATURES
8650 if test -z "$defaultval"; then
8651 if test x"$enablestring" = xdisable; then
8658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8659 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8660 # Check whether --enable-html was given.
8661 if test "${enable_html+set}" = set; then
8662 enableval=$enable_html;
8663 if test "$enableval" = yes; then
8664 wx_cv_use_html='wxUSE_HTML=yes'
8666 wx_cv_use_html='wxUSE_HTML=no'
8671 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8676 eval "$wx_cv_use_html"
8678 if test x"$enablestring" = xdisable; then
8679 if test $wxUSE_HTML = no; then
8688 { echo "$as_me:$LINENO: result: $result" >&5
8689 echo "${ECHO_T}$result" >&6; }
8693 defaultval=$wxUSE_ALL_FEATURES
8694 if test -z "$defaultval"; then
8695 if test x"$enablestring" = xdisable; then
8702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8703 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8704 # Check whether --enable-htmlhelp was given.
8705 if test "${enable_htmlhelp+set}" = set; then
8706 enableval=$enable_htmlhelp;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8710 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8715 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8720 eval "$wx_cv_use_htmlhelp"
8722 if test x"$enablestring" = xdisable; then
8723 if test $wxUSE_WXHTML_HELP = no; then
8729 result=$wxUSE_WXHTML_HELP
8732 { echo "$as_me:$LINENO: result: $result" >&5
8733 echo "${ECHO_T}$result" >&6; }
8737 defaultval=$wxUSE_ALL_FEATURES
8738 if test -z "$defaultval"; then
8739 if test x"$enablestring" = xdisable; then
8746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8747 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8748 # Check whether --enable-xrc was given.
8749 if test "${enable_xrc+set}" = set; then
8750 enableval=$enable_xrc;
8751 if test "$enableval" = yes; then
8752 wx_cv_use_xrc='wxUSE_XRC=yes'
8754 wx_cv_use_xrc='wxUSE_XRC=no'
8759 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8764 eval "$wx_cv_use_xrc"
8766 if test x"$enablestring" = xdisable; then
8767 if test $wxUSE_XRC = no; then
8776 { echo "$as_me:$LINENO: result: $result" >&5
8777 echo "${ECHO_T}$result" >&6; }
8781 defaultval=$wxUSE_ALL_FEATURES
8782 if test -z "$defaultval"; then
8783 if test x"$enablestring" = xdisable; then
8790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8792 # Check whether --enable-aui was given.
8793 if test "${enable_aui+set}" = set; then
8794 enableval=$enable_aui;
8795 if test "$enableval" = yes; then
8796 wx_cv_use_aui='wxUSE_AUI=yes'
8798 wx_cv_use_aui='wxUSE_AUI=no'
8803 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8808 eval "$wx_cv_use_aui"
8810 if test x"$enablestring" = xdisable; then
8811 if test $wxUSE_AUI = no; then
8820 { echo "$as_me:$LINENO: result: $result" >&5
8821 echo "${ECHO_T}$result" >&6; }
8825 defaultval=$wxUSE_ALL_FEATURES
8826 if test -z "$defaultval"; then
8827 if test x"$enablestring" = xdisable; then
8834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8835 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8836 # Check whether --enable-propgrid was given.
8837 if test "${enable_propgrid+set}" = set; then
8838 enableval=$enable_propgrid;
8839 if test "$enableval" = yes; then
8840 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8842 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8847 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8852 eval "$wx_cv_use_propgrid"
8854 if test x"$enablestring" = xdisable; then
8855 if test $wxUSE_PROPGRID = no; then
8861 result=$wxUSE_PROPGRID
8864 { echo "$as_me:$LINENO: result: $result" >&5
8865 echo "${ECHO_T}$result" >&6; }
8869 defaultval=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x"$enablestring" = xdisable; then
8878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8880 # Check whether --enable-ribbon was given.
8881 if test "${enable_ribbon+set}" = set; then
8882 enableval=$enable_ribbon;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8886 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8891 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8896 eval "$wx_cv_use_ribbon"
8898 if test x"$enablestring" = xdisable; then
8899 if test $wxUSE_RIBBON = no; then
8905 result=$wxUSE_RIBBON
8908 { echo "$as_me:$LINENO: result: $result" >&5
8909 echo "${ECHO_T}$result" >&6; }
8913 defaultval=$wxUSE_ALL_FEATURES
8914 if test -z "$defaultval"; then
8915 if test x"$enablestring" = xdisable; then
8922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8924 # Check whether --enable-stc was given.
8925 if test "${enable_stc+set}" = set; then
8926 enableval=$enable_stc;
8927 if test "$enableval" = yes; then
8928 wx_cv_use_stc='wxUSE_STC=yes'
8930 wx_cv_use_stc='wxUSE_STC=no'
8935 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8940 eval "$wx_cv_use_stc"
8942 if test x"$enablestring" = xdisable; then
8943 if test $wxUSE_STC = no; then
8952 { echo "$as_me:$LINENO: result: $result" >&5
8953 echo "${ECHO_T}$result" >&6; }
8957 defaultval=$wxUSE_ALL_FEATURES
8958 if test -z "$defaultval"; then
8959 if test x"$enablestring" = xdisable; then
8966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8967 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8968 # Check whether --enable-constraints was given.
8969 if test "${enable_constraints+set}" = set; then
8970 enableval=$enable_constraints;
8971 if test "$enableval" = yes; then
8972 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8974 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8979 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8984 eval "$wx_cv_use_constraints"
8986 if test x"$enablestring" = xdisable; then
8987 if test $wxUSE_CONSTRAINTS = no; then
8993 result=$wxUSE_CONSTRAINTS
8996 { echo "$as_me:$LINENO: result: $result" >&5
8997 echo "${ECHO_T}$result" >&6; }
9001 defaultval=$wxUSE_ALL_FEATURES
9002 if test -z "$defaultval"; then
9003 if test x"$enablestring" = xdisable; then
9010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9011 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9012 # Check whether --enable-loggui was given.
9013 if test "${enable_loggui+set}" = set; then
9014 enableval=$enable_loggui;
9015 if test "$enableval" = yes; then
9016 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9018 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9023 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9028 eval "$wx_cv_use_loggui"
9030 if test x"$enablestring" = xdisable; then
9031 if test $wxUSE_LOGGUI = no; then
9037 result=$wxUSE_LOGGUI
9040 { echo "$as_me:$LINENO: result: $result" >&5
9041 echo "${ECHO_T}$result" >&6; }
9045 defaultval=$wxUSE_ALL_FEATURES
9046 if test -z "$defaultval"; then
9047 if test x"$enablestring" = xdisable; then
9054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9055 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9056 # Check whether --enable-logwin was given.
9057 if test "${enable_logwin+set}" = set; then
9058 enableval=$enable_logwin;
9059 if test "$enableval" = yes; then
9060 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9062 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9067 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9072 eval "$wx_cv_use_logwin"
9074 if test x"$enablestring" = xdisable; then
9075 if test $wxUSE_LOGWINDOW = no; then
9081 result=$wxUSE_LOGWINDOW
9084 { echo "$as_me:$LINENO: result: $result" >&5
9085 echo "${ECHO_T}$result" >&6; }
9089 defaultval=$wxUSE_ALL_FEATURES
9090 if test -z "$defaultval"; then
9091 if test x"$enablestring" = xdisable; then
9098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9100 # Check whether --enable-logdialog was given.
9101 if test "${enable_logdialog+set}" = set; then
9102 enableval=$enable_logdialog;
9103 if test "$enableval" = yes; then
9104 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9106 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9111 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9116 eval "$wx_cv_use_logdialog"
9118 if test x"$enablestring" = xdisable; then
9119 if test $wxUSE_LOGDIALOG = no; then
9125 result=$wxUSE_LOGDIALOG
9128 { echo "$as_me:$LINENO: result: $result" >&5
9129 echo "${ECHO_T}$result" >&6; }
9133 defaultval=$wxUSE_ALL_FEATURES
9134 if test -z "$defaultval"; then
9135 if test x"$enablestring" = xdisable; then
9142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9144 # Check whether --enable-mdi was given.
9145 if test "${enable_mdi+set}" = set; then
9146 enableval=$enable_mdi;
9147 if test "$enableval" = yes; then
9148 wx_cv_use_mdi='wxUSE_MDI=yes'
9150 wx_cv_use_mdi='wxUSE_MDI=no'
9155 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9160 eval "$wx_cv_use_mdi"
9162 if test x"$enablestring" = xdisable; then
9163 if test $wxUSE_MDI = no; then
9172 { echo "$as_me:$LINENO: result: $result" >&5
9173 echo "${ECHO_T}$result" >&6; }
9177 defaultval=$wxUSE_ALL_FEATURES
9178 if test -z "$defaultval"; then
9179 if test x"$enablestring" = xdisable; then
9186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9188 # Check whether --enable-mdidoc was given.
9189 if test "${enable_mdidoc+set}" = set; then
9190 enableval=$enable_mdidoc;
9191 if test "$enableval" = yes; then
9192 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9194 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9199 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9204 eval "$wx_cv_use_mdidoc"
9206 if test x"$enablestring" = xdisable; then
9207 if test $wxUSE_MDI_ARCHITECTURE = no; then
9213 result=$wxUSE_MDI_ARCHITECTURE
9216 { echo "$as_me:$LINENO: result: $result" >&5
9217 echo "${ECHO_T}$result" >&6; }
9221 defaultval=$wxUSE_ALL_FEATURES
9222 if test -z "$defaultval"; then
9223 if test x"$enablestring" = xdisable; then
9230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9232 # Check whether --enable-mediactrl was given.
9233 if test "${enable_mediactrl+set}" = set; then
9234 enableval=$enable_mediactrl;
9235 if test "$enableval" = yes; then
9236 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9238 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9243 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9248 eval "$wx_cv_use_mediactrl"
9250 if test x"$enablestring" = xdisable; then
9251 if test $wxUSE_MEDIACTRL = no; then
9257 result=$wxUSE_MEDIACTRL
9260 { echo "$as_me:$LINENO: result: $result" >&5
9261 echo "${ECHO_T}$result" >&6; }
9265 defaultval=$wxUSE_ALL_FEATURES
9266 if test -z "$defaultval"; then
9267 if test x"$enablestring" = xdisable; then
9274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9276 # Check whether --enable-gstreamer8 was given.
9277 if test "${enable_gstreamer8+set}" = set; then
9278 enableval=$enable_gstreamer8;
9279 if test "$enableval" = yes; then
9280 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9282 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9287 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9292 eval "$wx_cv_use_gstreamer8"
9294 if test x"$enablestring" = xdisable; then
9295 if test $wxUSE_GSTREAMER8 = no; then
9301 result=$wxUSE_GSTREAMER8
9304 { echo "$as_me:$LINENO: result: $result" >&5
9305 echo "${ECHO_T}$result" >&6; }
9309 defaultval=$wxUSE_ALL_FEATURES
9310 if test -z "$defaultval"; then
9311 if test x"$enablestring" = xdisable; then
9318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9319 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9320 # Check whether --enable-webkit was given.
9321 if test "${enable_webkit+set}" = set; then
9322 enableval=$enable_webkit;
9323 if test "$enableval" = yes; then
9324 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9326 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9331 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9336 eval "$wx_cv_use_webkit"
9338 if test x"$enablestring" = xdisable; then
9339 if test $wxUSE_WEBKIT = no; then
9345 result=$wxUSE_WEBKIT
9348 { echo "$as_me:$LINENO: result: $result" >&5
9349 echo "${ECHO_T}$result" >&6; }
9353 defaultval=$wxUSE_ALL_FEATURES
9354 if test -z "$defaultval"; then
9355 if test x"$enablestring" = xdisable; then
9362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9363 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9364 # Check whether --enable-richtext was given.
9365 if test "${enable_richtext+set}" = set; then
9366 enableval=$enable_richtext;
9367 if test "$enableval" = yes; then
9368 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9370 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9375 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9380 eval "$wx_cv_use_richtext"
9382 if test x"$enablestring" = xdisable; then
9383 if test $wxUSE_RICHTEXT = no; then
9389 result=$wxUSE_RICHTEXT
9392 { echo "$as_me:$LINENO: result: $result" >&5
9393 echo "${ECHO_T}$result" >&6; }
9397 defaultval=$wxUSE_ALL_FEATURES
9398 if test -z "$defaultval"; then
9399 if test x"$enablestring" = xdisable; then
9406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9407 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9408 # Check whether --enable-postscript was given.
9409 if test "${enable_postscript+set}" = set; then
9410 enableval=$enable_postscript;
9411 if test "$enableval" = yes; then
9412 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9414 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9419 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9424 eval "$wx_cv_use_postscript"
9426 if test x"$enablestring" = xdisable; then
9427 if test $wxUSE_POSTSCRIPT = no; then
9433 result=$wxUSE_POSTSCRIPT
9436 { echo "$as_me:$LINENO: result: $result" >&5
9437 echo "${ECHO_T}$result" >&6; }
9441 defaultval=$wxUSE_ALL_FEATURES
9442 if test -z "$defaultval"; then
9443 if test x"$enablestring" = xdisable; then
9450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9451 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9452 # Check whether --enable-printarch was given.
9453 if test "${enable_printarch+set}" = set; then
9454 enableval=$enable_printarch;
9455 if test "$enableval" = yes; then
9456 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9458 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9463 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9468 eval "$wx_cv_use_printarch"
9470 if test x"$enablestring" = xdisable; then
9471 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9477 result=$wxUSE_PRINTING_ARCHITECTURE
9480 { echo "$as_me:$LINENO: result: $result" >&5
9481 echo "${ECHO_T}$result" >&6; }
9485 defaultval=$wxUSE_ALL_FEATURES
9486 if test -z "$defaultval"; then
9487 if test x"$enablestring" = xdisable; then
9494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9495 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9496 # Check whether --enable-svg was given.
9497 if test "${enable_svg+set}" = set; then
9498 enableval=$enable_svg;
9499 if test "$enableval" = yes; then
9500 wx_cv_use_svg='wxUSE_SVG=yes'
9502 wx_cv_use_svg='wxUSE_SVG=no'
9507 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9512 eval "$wx_cv_use_svg"
9514 if test x"$enablestring" = xdisable; then
9515 if test $wxUSE_SVG = no; then
9524 { echo "$as_me:$LINENO: result: $result" >&5
9525 echo "${ECHO_T}$result" >&6; }
9528 if test "$wxUSE_MAC" != 1; then
9531 defaultval=$wxUSE_ALL_FEATURES
9532 if test -z "$defaultval"; then
9533 if test x"$enablestring" = xdisable; then
9540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9542 # Check whether --enable-graphics_ctx was given.
9543 if test "${enable_graphics_ctx+set}" = set; then
9544 enableval=$enable_graphics_ctx;
9545 if test "$enableval" = yes; then
9546 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9548 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9553 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9558 eval "$wx_cv_use_graphics_ctx"
9560 if test x"$enablestring" = xdisable; then
9561 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9567 result=$wxUSE_GRAPHICS_CONTEXT
9570 { echo "$as_me:$LINENO: result: $result" >&5
9571 echo "${ECHO_T}$result" >&6; }
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9589 # Check whether --enable-clipboard was given.
9590 if test "${enable_clipboard+set}" = set; then
9591 enableval=$enable_clipboard;
9592 if test "$enableval" = yes; then
9593 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9595 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9600 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9605 eval "$wx_cv_use_clipboard"
9607 if test x"$enablestring" = xdisable; then
9608 if test $wxUSE_CLIPBOARD = no; then
9614 result=$wxUSE_CLIPBOARD
9617 { echo "$as_me:$LINENO: result: $result" >&5
9618 echo "${ECHO_T}$result" >&6; }
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}-dnd" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9633 # Check whether --enable-dnd was given.
9634 if test "${enable_dnd+set}" = set; then
9635 enableval=$enable_dnd;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9639 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9644 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9649 eval "$wx_cv_use_dnd"
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_DRAG_AND_DROP = no; then
9658 result=$wxUSE_DRAG_AND_DROP
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9666 defaultval=$wxUSE_ALL_FEATURES
9667 if test -z "$defaultval"; then
9668 if test x"$enablestring" = xdisable; then
9675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9677 # Check whether --enable-metafile was given.
9678 if test "${enable_metafile+set}" = set; then
9679 enableval=$enable_metafile;
9680 if test "$enableval" = yes; then
9681 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9683 wx_cv_use_metafile='wxUSE_METAFILE=no'
9688 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9693 eval "$wx_cv_use_metafile"
9695 if test x"$enablestring" = xdisable; then
9696 if test $wxUSE_METAFILE = no; then
9702 result=$wxUSE_METAFILE
9705 { echo "$as_me:$LINENO: result: $result" >&5
9706 echo "${ECHO_T}$result" >&6; }
9710 DEFAULT_wxUSE_CONTROLS=none
9712 enablestring=disable
9714 if test -z "$defaultval"; then
9715 if test x"$enablestring" = xdisable; then
9722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9724 # Check whether --enable-controls was given.
9725 if test "${enable_controls+set}" = set; then
9726 enableval=$enable_controls;
9727 if test "$enableval" = yes; then
9728 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9730 wx_cv_use_controls='wxUSE_CONTROLS=no'
9735 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9740 eval "$wx_cv_use_controls"
9742 if test x"$enablestring" = xdisable; then
9743 if test $wxUSE_CONTROLS = no; then
9749 result=$wxUSE_CONTROLS
9752 { echo "$as_me:$LINENO: result: $result" >&5
9753 echo "${ECHO_T}$result" >&6; }
9756 if test "$wxUSE_CONTROLS" = "no"; then
9757 DEFAULT_wxUSE_ACCEL=no
9758 DEFAULT_wxUSE_ANIMATIONCTRL=no
9759 DEFAULT_wxUSE_BMPBUTTON=no
9760 DEFAULT_wxUSE_BUTTON=no
9761 DEFAULT_wxUSE_CALCTRL=no
9762 DEFAULT_wxUSE_CARET=no
9763 DEFAULT_wxUSE_CHECKBOX=no
9764 DEFAULT_wxUSE_CHECKLISTBOX=no
9765 DEFAULT_wxUSE_CHOICE=no
9766 DEFAULT_wxUSE_CHOICEBOOK=no
9767 DEFAULT_wxUSE_COLLPANE=no
9768 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9769 DEFAULT_wxUSE_COMBOBOX=no
9770 DEFAULT_wxUSE_COMBOBOX=no
9771 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9772 DEFAULT_wxUSE_DATAVIEWCTRL=no
9773 DEFAULT_wxUSE_DATEPICKCTRL=no
9774 DEFAULT_wxUSE_DETECT_SM=no
9775 DEFAULT_wxUSE_DIRPICKERCTRL=no
9776 DEFAULT_wxUSE_DISPLAY=no
9777 DEFAULT_wxUSE_FILECTRL=no
9778 DEFAULT_wxUSE_FILEPICKERCTRL=no
9779 DEFAULT_wxUSE_FONTPICKERCTRL=no
9780 DEFAULT_wxUSE_GAUGE=no
9781 DEFAULT_wxUSE_GRID=no
9782 DEFAULT_wxUSE_HEADERCTRL=no
9783 DEFAULT_wxUSE_HYPERLINKCTRL=no
9784 DEFAULT_wxUSE_IMAGLIST=no
9785 DEFAULT_wxUSE_LISTBOOK=no
9786 DEFAULT_wxUSE_LISTBOX=no
9787 DEFAULT_wxUSE_LISTCTRL=no
9788 DEFAULT_wxUSE_MARKUP=no
9789 DEFAULT_wxUSE_NOTEBOOK=no
9790 DEFAULT_wxUSE_POPUPWIN=no
9791 DEFAULT_wxUSE_RADIOBOX=no
9792 DEFAULT_wxUSE_RADIOBTN=no
9793 DEFAULT_wxUSE_RICHMSGDLG=no
9794 DEFAULT_wxUSE_REARRANGECTRL=no
9795 DEFAULT_wxUSE_SASH=no
9796 DEFAULT_wxUSE_SCROLLBAR=no
9797 DEFAULT_wxUSE_SEARCHCTRL=no
9798 DEFAULT_wxUSE_SLIDER=no
9799 DEFAULT_wxUSE_SPINBTN=no
9800 DEFAULT_wxUSE_SPINCTRL=no
9801 DEFAULT_wxUSE_SPLITTER=no
9802 DEFAULT_wxUSE_STATBMP=no
9803 DEFAULT_wxUSE_STATBOX=no
9804 DEFAULT_wxUSE_STATLINE=no
9805 DEFAULT_wxUSE_STATUSBAR=no
9806 DEFAULT_wxUSE_TIPWINDOW=no
9807 DEFAULT_wxUSE_TOGGLEBTN=no
9808 DEFAULT_wxUSE_TOOLBAR=no
9809 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9810 DEFAULT_wxUSE_TOOLBOOK=no
9811 DEFAULT_wxUSE_TOOLTIPS=no
9812 DEFAULT_wxUSE_TREEBOOK=no
9813 DEFAULT_wxUSE_TREECTRL=no
9818 defaultval=$wxUSE_ALL_FEATURES
9819 if test -z "$defaultval"; then
9820 if test x"$enablestring" = xdisable; then
9827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9828 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9829 # Check whether --enable-markup was given.
9830 if test "${enable_markup+set}" = set; then
9831 enableval=$enable_markup;
9832 if test "$enableval" = yes; then
9833 wx_cv_use_markup='wxUSE_MARKUP=yes'
9835 wx_cv_use_markup='wxUSE_MARKUP=no'
9840 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9845 eval "$wx_cv_use_markup"
9847 if test x"$enablestring" = xdisable; then
9848 if test $wxUSE_MARKUP = no; then
9854 result=$wxUSE_MARKUP
9857 { echo "$as_me:$LINENO: result: $result" >&5
9858 echo "${ECHO_T}$result" >&6; }
9863 defaultval=$wxUSE_ALL_FEATURES
9864 if test -z "$defaultval"; then
9865 if test x"$enablestring" = xdisable; then
9872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9874 # Check whether --enable-accel was given.
9875 if test "${enable_accel+set}" = set; then
9876 enableval=$enable_accel;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_accel='wxUSE_ACCEL=yes'
9880 wx_cv_use_accel='wxUSE_ACCEL=no'
9885 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9890 eval "$wx_cv_use_accel"
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_ACCEL = no; then
9902 { echo "$as_me:$LINENO: result: $result" >&5
9903 echo "${ECHO_T}$result" >&6; }
9907 defaultval=$wxUSE_ALL_FEATURES
9908 if test -z "$defaultval"; then
9909 if test x"$enablestring" = xdisable; then
9916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9918 # Check whether --enable-animatectrl was given.
9919 if test "${enable_animatectrl+set}" = set; then
9920 enableval=$enable_animatectrl;
9921 if test "$enableval" = yes; then
9922 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9924 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9929 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9934 eval "$wx_cv_use_animatectrl"
9936 if test x"$enablestring" = xdisable; then
9937 if test $wxUSE_ANIMATIONCTRL = no; then
9943 result=$wxUSE_ANIMATIONCTRL
9946 { echo "$as_me:$LINENO: result: $result" >&5
9947 echo "${ECHO_T}$result" >&6; }
9951 defaultval=$wxUSE_ALL_FEATURES
9952 if test -z "$defaultval"; then
9953 if test x"$enablestring" = xdisable; then
9960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
9962 # Check whether --enable-artstd was given.
9963 if test "${enable_artstd+set}" = set; then
9964 enableval=$enable_artstd;
9965 if test "$enableval" = yes; then
9966 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
9968 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
9973 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
9978 eval "$wx_cv_use_artstd"
9980 if test x"$enablestring" = xdisable; then
9981 if test $wxUSE_ARTPROVIDER_STD = no; then
9987 result=$wxUSE_ARTPROVIDER_STD
9990 { echo "$as_me:$LINENO: result: $result" >&5
9991 echo "${ECHO_T}$result" >&6; }
9995 defaultval=$wxUSE_ALL_FEATURES
9996 if test -z "$defaultval"; then
9997 if test x"$enablestring" = xdisable; then
10004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10005 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10006 # Check whether --enable-arttango was given.
10007 if test "${enable_arttango+set}" = set; then
10008 enableval=$enable_arttango;
10009 if test "$enableval" = yes; then
10010 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10012 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10017 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10022 eval "$wx_cv_use_arttango"
10024 if test x"$enablestring" = xdisable; then
10025 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10031 result=$wxUSE_ARTPROVIDER_TANGO
10034 { echo "$as_me:$LINENO: result: $result" >&5
10035 echo "${ECHO_T}$result" >&6; }
10039 defaultval=$wxUSE_ALL_FEATURES
10040 if test -z "$defaultval"; then
10041 if test x"$enablestring" = xdisable; then
10048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10049 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10050 # Check whether --enable-bmpbutton was given.
10051 if test "${enable_bmpbutton+set}" = set; then
10052 enableval=$enable_bmpbutton;
10053 if test "$enableval" = yes; then
10054 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10056 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10061 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10066 eval "$wx_cv_use_bmpbutton"
10068 if test x"$enablestring" = xdisable; then
10069 if test $wxUSE_BMPBUTTON = no; then
10075 result=$wxUSE_BMPBUTTON
10078 { echo "$as_me:$LINENO: result: $result" >&5
10079 echo "${ECHO_T}$result" >&6; }
10083 defaultval=$wxUSE_ALL_FEATURES
10084 if test -z "$defaultval"; then
10085 if test x"$enablestring" = xdisable; then
10092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10093 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10094 # Check whether --enable-bmpcombobox was given.
10095 if test "${enable_bmpcombobox+set}" = set; then
10096 enableval=$enable_bmpcombobox;
10097 if test "$enableval" = yes; then
10098 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10100 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10105 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10110 eval "$wx_cv_use_bmpcombobox"
10112 if test x"$enablestring" = xdisable; then
10113 if test $wxUSE_BITMAPCOMBOBOX = no; then
10119 result=$wxUSE_BITMAPCOMBOBOX
10122 { echo "$as_me:$LINENO: result: $result" >&5
10123 echo "${ECHO_T}$result" >&6; }
10127 defaultval=$wxUSE_ALL_FEATURES
10128 if test -z "$defaultval"; then
10129 if test x"$enablestring" = xdisable; then
10136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10138 # Check whether --enable-button was given.
10139 if test "${enable_button+set}" = set; then
10140 enableval=$enable_button;
10141 if test "$enableval" = yes; then
10142 wx_cv_use_button='wxUSE_BUTTON=yes'
10144 wx_cv_use_button='wxUSE_BUTTON=no'
10149 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10154 eval "$wx_cv_use_button"
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_BUTTON = no; then
10163 result=$wxUSE_BUTTON
10166 { echo "$as_me:$LINENO: result: $result" >&5
10167 echo "${ECHO_T}$result" >&6; }
10171 defaultval=$wxUSE_ALL_FEATURES
10172 if test -z "$defaultval"; then
10173 if test x"$enablestring" = xdisable; then
10180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10181 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10182 # Check whether --enable-calendar was given.
10183 if test "${enable_calendar+set}" = set; then
10184 enableval=$enable_calendar;
10185 if test "$enableval" = yes; then
10186 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10188 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10193 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10198 eval "$wx_cv_use_calendar"
10200 if test x"$enablestring" = xdisable; then
10201 if test $wxUSE_CALCTRL = no; then
10207 result=$wxUSE_CALCTRL
10210 { echo "$as_me:$LINENO: result: $result" >&5
10211 echo "${ECHO_T}$result" >&6; }
10215 defaultval=$wxUSE_ALL_FEATURES
10216 if test -z "$defaultval"; then
10217 if test x"$enablestring" = xdisable; then
10224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10225 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10226 # Check whether --enable-caret was given.
10227 if test "${enable_caret+set}" = set; then
10228 enableval=$enable_caret;
10229 if test "$enableval" = yes; then
10230 wx_cv_use_caret='wxUSE_CARET=yes'
10232 wx_cv_use_caret='wxUSE_CARET=no'
10237 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10242 eval "$wx_cv_use_caret"
10244 if test x"$enablestring" = xdisable; then
10245 if test $wxUSE_CARET = no; then
10251 result=$wxUSE_CARET
10254 { echo "$as_me:$LINENO: result: $result" >&5
10255 echo "${ECHO_T}$result" >&6; }
10259 defaultval=$wxUSE_ALL_FEATURES
10260 if test -z "$defaultval"; then
10261 if test x"$enablestring" = xdisable; then
10268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10269 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10270 # Check whether --enable-checkbox was given.
10271 if test "${enable_checkbox+set}" = set; then
10272 enableval=$enable_checkbox;
10273 if test "$enableval" = yes; then
10274 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10276 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10281 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10286 eval "$wx_cv_use_checkbox"
10288 if test x"$enablestring" = xdisable; then
10289 if test $wxUSE_CHECKBOX = no; then
10295 result=$wxUSE_CHECKBOX
10298 { echo "$as_me:$LINENO: result: $result" >&5
10299 echo "${ECHO_T}$result" >&6; }
10303 defaultval=$wxUSE_ALL_FEATURES
10304 if test -z "$defaultval"; then
10305 if test x"$enablestring" = xdisable; then
10312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10313 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10314 # Check whether --enable-checklst was given.
10315 if test "${enable_checklst+set}" = set; then
10316 enableval=$enable_checklst;
10317 if test "$enableval" = yes; then
10318 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10320 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10325 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10330 eval "$wx_cv_use_checklst"
10332 if test x"$enablestring" = xdisable; then
10333 if test $wxUSE_CHECKLST = no; then
10339 result=$wxUSE_CHECKLST
10342 { echo "$as_me:$LINENO: result: $result" >&5
10343 echo "${ECHO_T}$result" >&6; }
10347 defaultval=$wxUSE_ALL_FEATURES
10348 if test -z "$defaultval"; then
10349 if test x"$enablestring" = xdisable; then
10356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10358 # Check whether --enable-choice was given.
10359 if test "${enable_choice+set}" = set; then
10360 enableval=$enable_choice;
10361 if test "$enableval" = yes; then
10362 wx_cv_use_choice='wxUSE_CHOICE=yes'
10364 wx_cv_use_choice='wxUSE_CHOICE=no'
10369 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10374 eval "$wx_cv_use_choice"
10376 if test x"$enablestring" = xdisable; then
10377 if test $wxUSE_CHOICE = no; then
10383 result=$wxUSE_CHOICE
10386 { echo "$as_me:$LINENO: result: $result" >&5
10387 echo "${ECHO_T}$result" >&6; }
10391 defaultval=$wxUSE_ALL_FEATURES
10392 if test -z "$defaultval"; then
10393 if test x"$enablestring" = xdisable; then
10400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10402 # Check whether --enable-choicebook was given.
10403 if test "${enable_choicebook+set}" = set; then
10404 enableval=$enable_choicebook;
10405 if test "$enableval" = yes; then
10406 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10408 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10413 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10418 eval "$wx_cv_use_choicebook"
10420 if test x"$enablestring" = xdisable; then
10421 if test $wxUSE_CHOICEBOOK = no; then
10427 result=$wxUSE_CHOICEBOOK
10430 { echo "$as_me:$LINENO: result: $result" >&5
10431 echo "${ECHO_T}$result" >&6; }
10435 defaultval=$wxUSE_ALL_FEATURES
10436 if test -z "$defaultval"; then
10437 if test x"$enablestring" = xdisable; then
10444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10445 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10446 # Check whether --enable-collpane was given.
10447 if test "${enable_collpane+set}" = set; then
10448 enableval=$enable_collpane;
10449 if test "$enableval" = yes; then
10450 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10452 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10457 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10462 eval "$wx_cv_use_collpane"
10464 if test x"$enablestring" = xdisable; then
10465 if test $wxUSE_COLLPANE = no; then
10471 result=$wxUSE_COLLPANE
10474 { echo "$as_me:$LINENO: result: $result" >&5
10475 echo "${ECHO_T}$result" >&6; }
10479 defaultval=$wxUSE_ALL_FEATURES
10480 if test -z "$defaultval"; then
10481 if test x"$enablestring" = xdisable; then
10488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10489 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10490 # Check whether --enable-colourpicker was given.
10491 if test "${enable_colourpicker+set}" = set; then
10492 enableval=$enable_colourpicker;
10493 if test "$enableval" = yes; then
10494 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10496 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10501 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10506 eval "$wx_cv_use_colourpicker"
10508 if test x"$enablestring" = xdisable; then
10509 if test $wxUSE_COLOURPICKERCTRL = no; then
10515 result=$wxUSE_COLOURPICKERCTRL
10518 { echo "$as_me:$LINENO: result: $result" >&5
10519 echo "${ECHO_T}$result" >&6; }
10523 defaultval=$wxUSE_ALL_FEATURES
10524 if test -z "$defaultval"; then
10525 if test x"$enablestring" = xdisable; then
10532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10533 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10534 # Check whether --enable-combobox was given.
10535 if test "${enable_combobox+set}" = set; then
10536 enableval=$enable_combobox;
10537 if test "$enableval" = yes; then
10538 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10540 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10545 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10550 eval "$wx_cv_use_combobox"
10552 if test x"$enablestring" = xdisable; then
10553 if test $wxUSE_COMBOBOX = no; then
10559 result=$wxUSE_COMBOBOX
10562 { echo "$as_me:$LINENO: result: $result" >&5
10563 echo "${ECHO_T}$result" >&6; }
10567 defaultval=$wxUSE_ALL_FEATURES
10568 if test -z "$defaultval"; then
10569 if test x"$enablestring" = xdisable; then
10576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10577 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10578 # Check whether --enable-comboctrl was given.
10579 if test "${enable_comboctrl+set}" = set; then
10580 enableval=$enable_comboctrl;
10581 if test "$enableval" = yes; then
10582 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10584 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10589 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10594 eval "$wx_cv_use_comboctrl"
10596 if test x"$enablestring" = xdisable; then
10597 if test $wxUSE_COMBOCTRL = no; then
10603 result=$wxUSE_COMBOCTRL
10606 { echo "$as_me:$LINENO: result: $result" >&5
10607 echo "${ECHO_T}$result" >&6; }
10611 defaultval=$wxUSE_ALL_FEATURES
10612 if test -z "$defaultval"; then
10613 if test x"$enablestring" = xdisable; then
10620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10621 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10622 # Check whether --enable-commandlinkbutton was given.
10623 if test "${enable_commandlinkbutton+set}" = set; then
10624 enableval=$enable_commandlinkbutton;
10625 if test "$enableval" = yes; then
10626 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10628 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10633 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10638 eval "$wx_cv_use_commandlinkbutton"
10640 if test x"$enablestring" = xdisable; then
10641 if test $wxUSE_COMMANDLINKBUTTON = no; then
10647 result=$wxUSE_COMMANDLINKBUTTON
10650 { echo "$as_me:$LINENO: result: $result" >&5
10651 echo "${ECHO_T}$result" >&6; }
10655 defaultval=$wxUSE_ALL_FEATURES
10656 if test -z "$defaultval"; then
10657 if test x"$enablestring" = xdisable; then
10664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10665 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10666 # Check whether --enable-dataviewctrl was given.
10667 if test "${enable_dataviewctrl+set}" = set; then
10668 enableval=$enable_dataviewctrl;
10669 if test "$enableval" = yes; then
10670 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10672 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10677 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10682 eval "$wx_cv_use_dataviewctrl"
10684 if test x"$enablestring" = xdisable; then
10685 if test $wxUSE_DATAVIEWCTRL = no; then
10691 result=$wxUSE_DATAVIEWCTRL
10694 { echo "$as_me:$LINENO: result: $result" >&5
10695 echo "${ECHO_T}$result" >&6; }
10699 defaultval=$wxUSE_ALL_FEATURES
10700 if test -z "$defaultval"; then
10701 if test x"$enablestring" = xdisable; then
10708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10709 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10710 # Check whether --enable-datepick was given.
10711 if test "${enable_datepick+set}" = set; then
10712 enableval=$enable_datepick;
10713 if test "$enableval" = yes; then
10714 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10716 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10721 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10726 eval "$wx_cv_use_datepick"
10728 if test x"$enablestring" = xdisable; then
10729 if test $wxUSE_DATEPICKCTRL = no; then
10735 result=$wxUSE_DATEPICKCTRL
10738 { echo "$as_me:$LINENO: result: $result" >&5
10739 echo "${ECHO_T}$result" >&6; }
10743 defaultval=$wxUSE_ALL_FEATURES
10744 if test -z "$defaultval"; then
10745 if test x"$enablestring" = xdisable; then
10752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10753 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10754 # Check whether --enable-detect_sm was given.
10755 if test "${enable_detect_sm+set}" = set; then
10756 enableval=$enable_detect_sm;
10757 if test "$enableval" = yes; then
10758 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10760 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10765 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10770 eval "$wx_cv_use_detect_sm"
10772 if test x"$enablestring" = xdisable; then
10773 if test $wxUSE_DETECT_SM = no; then
10779 result=$wxUSE_DETECT_SM
10782 { echo "$as_me:$LINENO: result: $result" >&5
10783 echo "${ECHO_T}$result" >&6; }
10787 defaultval=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x"$enablestring" = xdisable; then
10796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10797 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10798 # Check whether --enable-dirpicker was given.
10799 if test "${enable_dirpicker+set}" = set; then
10800 enableval=$enable_dirpicker;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10804 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10809 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10814 eval "$wx_cv_use_dirpicker"
10816 if test x"$enablestring" = xdisable; then
10817 if test $wxUSE_DIRPICKERCTRL = no; then
10823 result=$wxUSE_DIRPICKERCTRL
10826 { echo "$as_me:$LINENO: result: $result" >&5
10827 echo "${ECHO_T}$result" >&6; }
10831 defaultval=$wxUSE_ALL_FEATURES
10832 if test -z "$defaultval"; then
10833 if test x"$enablestring" = xdisable; then
10840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10841 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10842 # Check whether --enable-display was given.
10843 if test "${enable_display+set}" = set; then
10844 enableval=$enable_display;
10845 if test "$enableval" = yes; then
10846 wx_cv_use_display='wxUSE_DISPLAY=yes'
10848 wx_cv_use_display='wxUSE_DISPLAY=no'
10853 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10858 eval "$wx_cv_use_display"
10860 if test x"$enablestring" = xdisable; then
10861 if test $wxUSE_DISPLAY = no; then
10867 result=$wxUSE_DISPLAY
10870 { echo "$as_me:$LINENO: result: $result" >&5
10871 echo "${ECHO_T}$result" >&6; }
10875 defaultval=$wxUSE_ALL_FEATURES
10876 if test -z "$defaultval"; then
10877 if test x"$enablestring" = xdisable; then
10884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10885 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10886 # Check whether --enable-editablebox was given.
10887 if test "${enable_editablebox+set}" = set; then
10888 enableval=$enable_editablebox;
10889 if test "$enableval" = yes; then
10890 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10892 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10897 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10902 eval "$wx_cv_use_editablebox"
10904 if test x"$enablestring" = xdisable; then
10905 if test $wxUSE_EDITABLELISTBOX = no; then
10911 result=$wxUSE_EDITABLELISTBOX
10914 { echo "$as_me:$LINENO: result: $result" >&5
10915 echo "${ECHO_T}$result" >&6; }
10919 defaultval=$wxUSE_ALL_FEATURES
10920 if test -z "$defaultval"; then
10921 if test x"$enablestring" = xdisable; then
10928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10929 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10930 # Check whether --enable-filectrl was given.
10931 if test "${enable_filectrl+set}" = set; then
10932 enableval=$enable_filectrl;
10933 if test "$enableval" = yes; then
10934 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10936 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10941 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10946 eval "$wx_cv_use_filectrl"
10948 if test x"$enablestring" = xdisable; then
10949 if test $wxUSE_FILECTRL = no; then
10955 result=$wxUSE_FILECTRL
10958 { echo "$as_me:$LINENO: result: $result" >&5
10959 echo "${ECHO_T}$result" >&6; }
10963 defaultval=$wxUSE_ALL_FEATURES
10964 if test -z "$defaultval"; then
10965 if test x"$enablestring" = xdisable; then
10972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10973 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10974 # Check whether --enable-filepicker was given.
10975 if test "${enable_filepicker+set}" = set; then
10976 enableval=$enable_filepicker;
10977 if test "$enableval" = yes; then
10978 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10980 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10985 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10990 eval "$wx_cv_use_filepicker"
10992 if test x"$enablestring" = xdisable; then
10993 if test $wxUSE_FILEPICKERCTRL = no; then
10999 result=$wxUSE_FILEPICKERCTRL
11002 { echo "$as_me:$LINENO: result: $result" >&5
11003 echo "${ECHO_T}$result" >&6; }
11007 defaultval=$wxUSE_ALL_FEATURES
11008 if test -z "$defaultval"; then
11009 if test x"$enablestring" = xdisable; then
11016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11017 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11018 # Check whether --enable-fontpicker was given.
11019 if test "${enable_fontpicker+set}" = set; then
11020 enableval=$enable_fontpicker;
11021 if test "$enableval" = yes; then
11022 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11024 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11029 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11034 eval "$wx_cv_use_fontpicker"
11036 if test x"$enablestring" = xdisable; then
11037 if test $wxUSE_FONTPICKERCTRL = no; then
11043 result=$wxUSE_FONTPICKERCTRL
11046 { echo "$as_me:$LINENO: result: $result" >&5
11047 echo "${ECHO_T}$result" >&6; }
11051 defaultval=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x"$enablestring" = xdisable; then
11060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11061 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11062 # Check whether --enable-gauge was given.
11063 if test "${enable_gauge+set}" = set; then
11064 enableval=$enable_gauge;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11068 wx_cv_use_gauge='wxUSE_GAUGE=no'
11073 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11078 eval "$wx_cv_use_gauge"
11080 if test x"$enablestring" = xdisable; then
11081 if test $wxUSE_GAUGE = no; then
11087 result=$wxUSE_GAUGE
11090 { echo "$as_me:$LINENO: result: $result" >&5
11091 echo "${ECHO_T}$result" >&6; }
11095 defaultval=$wxUSE_ALL_FEATURES
11096 if test -z "$defaultval"; then
11097 if test x"$enablestring" = xdisable; then
11104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11105 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11106 # Check whether --enable-grid was given.
11107 if test "${enable_grid+set}" = set; then
11108 enableval=$enable_grid;
11109 if test "$enableval" = yes; then
11110 wx_cv_use_grid='wxUSE_GRID=yes'
11112 wx_cv_use_grid='wxUSE_GRID=no'
11117 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11122 eval "$wx_cv_use_grid"
11124 if test x"$enablestring" = xdisable; then
11125 if test $wxUSE_GRID = no; then
11134 { echo "$as_me:$LINENO: result: $result" >&5
11135 echo "${ECHO_T}$result" >&6; }
11139 defaultval=$wxUSE_ALL_FEATURES
11140 if test -z "$defaultval"; then
11141 if test x"$enablestring" = xdisable; then
11148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11149 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11150 # Check whether --enable-headerctrl was given.
11151 if test "${enable_headerctrl+set}" = set; then
11152 enableval=$enable_headerctrl;
11153 if test "$enableval" = yes; then
11154 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11156 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11161 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11166 eval "$wx_cv_use_headerctrl"
11168 if test x"$enablestring" = xdisable; then
11169 if test $wxUSE_HEADERCTRL = no; then
11175 result=$wxUSE_HEADERCTRL
11178 { echo "$as_me:$LINENO: result: $result" >&5
11179 echo "${ECHO_T}$result" >&6; }
11183 defaultval=$wxUSE_ALL_FEATURES
11184 if test -z "$defaultval"; then
11185 if test x"$enablestring" = xdisable; then
11192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11193 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11194 # Check whether --enable-hyperlink was given.
11195 if test "${enable_hyperlink+set}" = set; then
11196 enableval=$enable_hyperlink;
11197 if test "$enableval" = yes; then
11198 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11200 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11205 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11210 eval "$wx_cv_use_hyperlink"
11212 if test x"$enablestring" = xdisable; then
11213 if test $wxUSE_HYPERLINKCTRL = no; then
11219 result=$wxUSE_HYPERLINKCTRL
11222 { echo "$as_me:$LINENO: result: $result" >&5
11223 echo "${ECHO_T}$result" >&6; }
11227 defaultval=$wxUSE_ALL_FEATURES
11228 if test -z "$defaultval"; then
11229 if test x"$enablestring" = xdisable; then
11236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11237 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11238 # Check whether --enable-imaglist was given.
11239 if test "${enable_imaglist+set}" = set; then
11240 enableval=$enable_imaglist;
11241 if test "$enableval" = yes; then
11242 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11244 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11249 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11254 eval "$wx_cv_use_imaglist"
11256 if test x"$enablestring" = xdisable; then
11257 if test $wxUSE_IMAGLIST = no; then
11263 result=$wxUSE_IMAGLIST
11266 { echo "$as_me:$LINENO: result: $result" >&5
11267 echo "${ECHO_T}$result" >&6; }
11271 defaultval=$wxUSE_ALL_FEATURES
11272 if test -z "$defaultval"; then
11273 if test x"$enablestring" = xdisable; then
11280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11281 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11282 # Check whether --enable-infobar was given.
11283 if test "${enable_infobar+set}" = set; then
11284 enableval=$enable_infobar;
11285 if test "$enableval" = yes; then
11286 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11288 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11293 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11298 eval "$wx_cv_use_infobar"
11300 if test x"$enablestring" = xdisable; then
11301 if test $wxUSE_INFOBAR = no; then
11307 result=$wxUSE_INFOBAR
11310 { echo "$as_me:$LINENO: result: $result" >&5
11311 echo "${ECHO_T}$result" >&6; }
11315 defaultval=$wxUSE_ALL_FEATURES
11316 if test -z "$defaultval"; then
11317 if test x"$enablestring" = xdisable; then
11324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11325 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11326 # Check whether --enable-listbook was given.
11327 if test "${enable_listbook+set}" = set; then
11328 enableval=$enable_listbook;
11329 if test "$enableval" = yes; then
11330 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11332 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11337 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11342 eval "$wx_cv_use_listbook"
11344 if test x"$enablestring" = xdisable; then
11345 if test $wxUSE_LISTBOOK = no; then
11351 result=$wxUSE_LISTBOOK
11354 { echo "$as_me:$LINENO: result: $result" >&5
11355 echo "${ECHO_T}$result" >&6; }
11359 defaultval=$wxUSE_ALL_FEATURES
11360 if test -z "$defaultval"; then
11361 if test x"$enablestring" = xdisable; then
11368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11369 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11370 # Check whether --enable-listbox was given.
11371 if test "${enable_listbox+set}" = set; then
11372 enableval=$enable_listbox;
11373 if test "$enableval" = yes; then
11374 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11376 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11381 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11386 eval "$wx_cv_use_listbox"
11388 if test x"$enablestring" = xdisable; then
11389 if test $wxUSE_LISTBOX = no; then
11395 result=$wxUSE_LISTBOX
11398 { echo "$as_me:$LINENO: result: $result" >&5
11399 echo "${ECHO_T}$result" >&6; }
11403 defaultval=$wxUSE_ALL_FEATURES
11404 if test -z "$defaultval"; then
11405 if test x"$enablestring" = xdisable; then
11412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11413 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11414 # Check whether --enable-listctrl was given.
11415 if test "${enable_listctrl+set}" = set; then
11416 enableval=$enable_listctrl;
11417 if test "$enableval" = yes; then
11418 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11420 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11425 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11430 eval "$wx_cv_use_listctrl"
11432 if test x"$enablestring" = xdisable; then
11433 if test $wxUSE_LISTCTRL = no; then
11439 result=$wxUSE_LISTCTRL
11442 { echo "$as_me:$LINENO: result: $result" >&5
11443 echo "${ECHO_T}$result" >&6; }
11447 defaultval=$wxUSE_ALL_FEATURES
11448 if test -z "$defaultval"; then
11449 if test x"$enablestring" = xdisable; then
11456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11457 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11458 # Check whether --enable-notebook was given.
11459 if test "${enable_notebook+set}" = set; then
11460 enableval=$enable_notebook;
11461 if test "$enableval" = yes; then
11462 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11464 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11469 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11474 eval "$wx_cv_use_notebook"
11476 if test x"$enablestring" = xdisable; then
11477 if test $wxUSE_NOTEBOOK = no; then
11483 result=$wxUSE_NOTEBOOK
11486 { echo "$as_me:$LINENO: result: $result" >&5
11487 echo "${ECHO_T}$result" >&6; }
11491 defaultval=$wxUSE_ALL_FEATURES
11492 if test -z "$defaultval"; then
11493 if test x"$enablestring" = xdisable; then
11500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11501 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11502 # Check whether --enable-notifmsg was given.
11503 if test "${enable_notifmsg+set}" = set; then
11504 enableval=$enable_notifmsg;
11505 if test "$enableval" = yes; then
11506 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11508 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11513 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11518 eval "$wx_cv_use_notifmsg"
11520 if test x"$enablestring" = xdisable; then
11521 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11527 result=$wxUSE_NOTIFICATION_MESSAGE
11530 { echo "$as_me:$LINENO: result: $result" >&5
11531 echo "${ECHO_T}$result" >&6; }
11535 defaultval=$wxUSE_ALL_FEATURES
11536 if test -z "$defaultval"; then
11537 if test x"$enablestring" = xdisable; then
11544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11545 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11546 # Check whether --enable-odcombobox was given.
11547 if test "${enable_odcombobox+set}" = set; then
11548 enableval=$enable_odcombobox;
11549 if test "$enableval" = yes; then
11550 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11552 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11557 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11562 eval "$wx_cv_use_odcombobox"
11564 if test x"$enablestring" = xdisable; then
11565 if test $wxUSE_ODCOMBOBOX = no; then
11571 result=$wxUSE_ODCOMBOBOX
11574 { echo "$as_me:$LINENO: result: $result" >&5
11575 echo "${ECHO_T}$result" >&6; }
11579 defaultval=$wxUSE_ALL_FEATURES
11580 if test -z "$defaultval"; then
11581 if test x"$enablestring" = xdisable; then
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11590 # Check whether --enable-popupwin was given.
11591 if test "${enable_popupwin+set}" = set; then
11592 enableval=$enable_popupwin;
11593 if test "$enableval" = yes; then
11594 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11596 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11601 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11606 eval "$wx_cv_use_popupwin"
11608 if test x"$enablestring" = xdisable; then
11609 if test $wxUSE_POPUPWIN = no; then
11615 result=$wxUSE_POPUPWIN
11618 { echo "$as_me:$LINENO: result: $result" >&5
11619 echo "${ECHO_T}$result" >&6; }
11623 defaultval=$wxUSE_ALL_FEATURES
11624 if test -z "$defaultval"; then
11625 if test x"$enablestring" = xdisable; then
11632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11633 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11634 # Check whether --enable-radiobox was given.
11635 if test "${enable_radiobox+set}" = set; then
11636 enableval=$enable_radiobox;
11637 if test "$enableval" = yes; then
11638 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11640 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11645 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11650 eval "$wx_cv_use_radiobox"
11652 if test x"$enablestring" = xdisable; then
11653 if test $wxUSE_RADIOBOX = no; then
11659 result=$wxUSE_RADIOBOX
11662 { echo "$as_me:$LINENO: result: $result" >&5
11663 echo "${ECHO_T}$result" >&6; }
11667 defaultval=$wxUSE_ALL_FEATURES
11668 if test -z "$defaultval"; then
11669 if test x"$enablestring" = xdisable; then
11676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11677 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11678 # Check whether --enable-radiobtn was given.
11679 if test "${enable_radiobtn+set}" = set; then
11680 enableval=$enable_radiobtn;
11681 if test "$enableval" = yes; then
11682 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11684 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11689 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11694 eval "$wx_cv_use_radiobtn"
11696 if test x"$enablestring" = xdisable; then
11697 if test $wxUSE_RADIOBTN = no; then
11703 result=$wxUSE_RADIOBTN
11706 { echo "$as_me:$LINENO: result: $result" >&5
11707 echo "${ECHO_T}$result" >&6; }
11711 defaultval=$wxUSE_ALL_FEATURES
11712 if test -z "$defaultval"; then
11713 if test x"$enablestring" = xdisable; then
11720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11721 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11722 # Check whether --enable-richmsgdlg was given.
11723 if test "${enable_richmsgdlg+set}" = set; then
11724 enableval=$enable_richmsgdlg;
11725 if test "$enableval" = yes; then
11726 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11728 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11733 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11738 eval "$wx_cv_use_richmsgdlg"
11740 if test x"$enablestring" = xdisable; then
11741 if test $wxUSE_RICHMSGDLG = no; then
11747 result=$wxUSE_RICHMSGDLG
11750 { echo "$as_me:$LINENO: result: $result" >&5
11751 echo "${ECHO_T}$result" >&6; }
11755 defaultval=$wxUSE_ALL_FEATURES
11756 if test -z "$defaultval"; then
11757 if test x"$enablestring" = xdisable; then
11764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11765 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11766 # Check whether --enable-rearrangectrl was given.
11767 if test "${enable_rearrangectrl+set}" = set; then
11768 enableval=$enable_rearrangectrl;
11769 if test "$enableval" = yes; then
11770 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11772 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11777 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11782 eval "$wx_cv_use_rearrangectrl"
11784 if test x"$enablestring" = xdisable; then
11785 if test $wxUSE_REARRANGECTRL = no; then
11791 result=$wxUSE_REARRANGECTRL
11794 { echo "$as_me:$LINENO: result: $result" >&5
11795 echo "${ECHO_T}$result" >&6; }
11799 defaultval=$wxUSE_ALL_FEATURES
11800 if test -z "$defaultval"; then
11801 if test x"$enablestring" = xdisable; then
11808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11809 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11810 # Check whether --enable-sash was given.
11811 if test "${enable_sash+set}" = set; then
11812 enableval=$enable_sash;
11813 if test "$enableval" = yes; then
11814 wx_cv_use_sash='wxUSE_SASH=yes'
11816 wx_cv_use_sash='wxUSE_SASH=no'
11821 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11826 eval "$wx_cv_use_sash"
11828 if test x"$enablestring" = xdisable; then
11829 if test $wxUSE_SASH = no; then
11838 { echo "$as_me:$LINENO: result: $result" >&5
11839 echo "${ECHO_T}$result" >&6; }
11843 defaultval=$wxUSE_ALL_FEATURES
11844 if test -z "$defaultval"; then
11845 if test x"$enablestring" = xdisable; then
11852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11853 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11854 # Check whether --enable-scrollbar was given.
11855 if test "${enable_scrollbar+set}" = set; then
11856 enableval=$enable_scrollbar;
11857 if test "$enableval" = yes; then
11858 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11860 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11865 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11870 eval "$wx_cv_use_scrollbar"
11872 if test x"$enablestring" = xdisable; then
11873 if test $wxUSE_SCROLLBAR = no; then
11879 result=$wxUSE_SCROLLBAR
11882 { echo "$as_me:$LINENO: result: $result" >&5
11883 echo "${ECHO_T}$result" >&6; }
11887 defaultval=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x"$enablestring" = xdisable; then
11896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11898 # Check whether --enable-searchctrl was given.
11899 if test "${enable_searchctrl+set}" = set; then
11900 enableval=$enable_searchctrl;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11904 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11909 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11914 eval "$wx_cv_use_searchctrl"
11916 if test x"$enablestring" = xdisable; then
11917 if test $wxUSE_SEARCHCTRL = no; then
11923 result=$wxUSE_SEARCHCTRL
11926 { echo "$as_me:$LINENO: result: $result" >&5
11927 echo "${ECHO_T}$result" >&6; }
11931 defaultval=$wxUSE_ALL_FEATURES
11932 if test -z "$defaultval"; then
11933 if test x"$enablestring" = xdisable; then
11940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11941 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11942 # Check whether --enable-slider was given.
11943 if test "${enable_slider+set}" = set; then
11944 enableval=$enable_slider;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_slider='wxUSE_SLIDER=yes'
11948 wx_cv_use_slider='wxUSE_SLIDER=no'
11953 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11958 eval "$wx_cv_use_slider"
11960 if test x"$enablestring" = xdisable; then
11961 if test $wxUSE_SLIDER = no; then
11967 result=$wxUSE_SLIDER
11970 { echo "$as_me:$LINENO: result: $result" >&5
11971 echo "${ECHO_T}$result" >&6; }
11975 defaultval=$wxUSE_ALL_FEATURES
11976 if test -z "$defaultval"; then
11977 if test x"$enablestring" = xdisable; then
11984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11985 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11986 # Check whether --enable-spinbtn was given.
11987 if test "${enable_spinbtn+set}" = set; then
11988 enableval=$enable_spinbtn;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11992 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11997 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12002 eval "$wx_cv_use_spinbtn"
12004 if test x"$enablestring" = xdisable; then
12005 if test $wxUSE_SPINBTN = no; then
12011 result=$wxUSE_SPINBTN
12014 { echo "$as_me:$LINENO: result: $result" >&5
12015 echo "${ECHO_T}$result" >&6; }
12019 defaultval=$wxUSE_ALL_FEATURES
12020 if test -z "$defaultval"; then
12021 if test x"$enablestring" = xdisable; then
12028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12029 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12030 # Check whether --enable-spinctrl was given.
12031 if test "${enable_spinctrl+set}" = set; then
12032 enableval=$enable_spinctrl;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12036 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12041 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12046 eval "$wx_cv_use_spinctrl"
12048 if test x"$enablestring" = xdisable; then
12049 if test $wxUSE_SPINCTRL = no; then
12055 result=$wxUSE_SPINCTRL
12058 { echo "$as_me:$LINENO: result: $result" >&5
12059 echo "${ECHO_T}$result" >&6; }
12063 defaultval=$wxUSE_ALL_FEATURES
12064 if test -z "$defaultval"; then
12065 if test x"$enablestring" = xdisable; then
12072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12073 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12074 # Check whether --enable-splitter was given.
12075 if test "${enable_splitter+set}" = set; then
12076 enableval=$enable_splitter;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12080 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12085 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12090 eval "$wx_cv_use_splitter"
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_SPLITTER = no; then
12099 result=$wxUSE_SPLITTER
12102 { echo "$as_me:$LINENO: result: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12107 defaultval=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x"$enablestring" = xdisable; then
12116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12117 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12118 # Check whether --enable-statbmp was given.
12119 if test "${enable_statbmp+set}" = set; then
12120 enableval=$enable_statbmp;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12124 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12129 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12134 eval "$wx_cv_use_statbmp"
12136 if test x"$enablestring" = xdisable; then
12137 if test $wxUSE_STATBMP = no; then
12143 result=$wxUSE_STATBMP
12146 { echo "$as_me:$LINENO: result: $result" >&5
12147 echo "${ECHO_T}$result" >&6; }
12151 defaultval=$wxUSE_ALL_FEATURES
12152 if test -z "$defaultval"; then
12153 if test x"$enablestring" = xdisable; then
12160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12161 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12162 # Check whether --enable-statbox was given.
12163 if test "${enable_statbox+set}" = set; then
12164 enableval=$enable_statbox;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12168 wx_cv_use_statbox='wxUSE_STATBOX=no'
12173 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12178 eval "$wx_cv_use_statbox"
12180 if test x"$enablestring" = xdisable; then
12181 if test $wxUSE_STATBOX = no; then
12187 result=$wxUSE_STATBOX
12190 { echo "$as_me:$LINENO: result: $result" >&5
12191 echo "${ECHO_T}$result" >&6; }
12195 defaultval=$wxUSE_ALL_FEATURES
12196 if test -z "$defaultval"; then
12197 if test x"$enablestring" = xdisable; then
12204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12205 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12206 # Check whether --enable-statline was given.
12207 if test "${enable_statline+set}" = set; then
12208 enableval=$enable_statline;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_statline='wxUSE_STATLINE=yes'
12212 wx_cv_use_statline='wxUSE_STATLINE=no'
12217 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12222 eval "$wx_cv_use_statline"
12224 if test x"$enablestring" = xdisable; then
12225 if test $wxUSE_STATLINE = no; then
12231 result=$wxUSE_STATLINE
12234 { echo "$as_me:$LINENO: result: $result" >&5
12235 echo "${ECHO_T}$result" >&6; }
12239 defaultval=$wxUSE_ALL_FEATURES
12240 if test -z "$defaultval"; then
12241 if test x"$enablestring" = xdisable; then
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12250 # Check whether --enable-stattext was given.
12251 if test "${enable_stattext+set}" = set; then
12252 enableval=$enable_stattext;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12256 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12261 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12266 eval "$wx_cv_use_stattext"
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_STATTEXT = no; then
12275 result=$wxUSE_STATTEXT
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12294 # Check whether --enable-statusbar was given.
12295 if test "${enable_statusbar+set}" = set; then
12296 enableval=$enable_statusbar;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12300 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12305 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12310 eval "$wx_cv_use_statusbar"
12312 if test x"$enablestring" = xdisable; then
12313 if test $wxUSE_STATUSBAR = no; then
12319 result=$wxUSE_STATUSBAR
12322 { echo "$as_me:$LINENO: result: $result" >&5
12323 echo "${ECHO_T}$result" >&6; }
12327 defaultval=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x"$enablestring" = xdisable; then
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12338 # Check whether --enable-taskbaricon was given.
12339 if test "${enable_taskbaricon+set}" = set; then
12340 enableval=$enable_taskbaricon;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12344 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12349 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12354 eval "$wx_cv_use_taskbaricon"
12356 if test x"$enablestring" = xdisable; then
12357 if test $wxUSE_TASKBARICON = no; then
12363 result=$wxUSE_TASKBARICON
12366 { echo "$as_me:$LINENO: result: $result" >&5
12367 echo "${ECHO_T}$result" >&6; }
12371 defaultval=$wxUSE_ALL_FEATURES
12372 if test -z "$defaultval"; then
12373 if test x"$enablestring" = xdisable; then
12380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12381 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12382 # Check whether --enable-tbarnative was given.
12383 if test "${enable_tbarnative+set}" = set; then
12384 enableval=$enable_tbarnative;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12388 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12393 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12398 eval "$wx_cv_use_tbarnative"
12400 if test x"$enablestring" = xdisable; then
12401 if test $wxUSE_TOOLBAR_NATIVE = no; then
12407 result=$wxUSE_TOOLBAR_NATIVE
12410 { echo "$as_me:$LINENO: result: $result" >&5
12411 echo "${ECHO_T}$result" >&6; }
12415 defaultval=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x"$enablestring" = xdisable; then
12424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12425 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12426 # Check whether --enable-textctrl was given.
12427 if test "${enable_textctrl+set}" = set; then
12428 enableval=$enable_textctrl;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12432 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12437 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12442 eval "$wx_cv_use_textctrl"
12444 if test x"$enablestring" = xdisable; then
12445 if test $wxUSE_TEXTCTRL = no; then
12451 result=$wxUSE_TEXTCTRL
12454 { echo "$as_me:$LINENO: result: $result" >&5
12455 echo "${ECHO_T}$result" >&6; }
12459 defaultval=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x"$enablestring" = xdisable; then
12468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12469 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12470 # Check whether --enable-tipwindow was given.
12471 if test "${enable_tipwindow+set}" = set; then
12472 enableval=$enable_tipwindow;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12476 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12481 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12486 eval "$wx_cv_use_tipwindow"
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_TIPWINDOW = no; then
12495 result=$wxUSE_TIPWINDOW
12498 { echo "$as_me:$LINENO: result: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12514 # Check whether --enable-togglebtn was given.
12515 if test "${enable_togglebtn+set}" = set; then
12516 enableval=$enable_togglebtn;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12520 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12525 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12530 eval "$wx_cv_use_togglebtn"
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_TOGGLEBTN = no; then
12539 result=$wxUSE_TOGGLEBTN
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12547 defaultval=$wxUSE_ALL_FEATURES
12548 if test -z "$defaultval"; then
12549 if test x"$enablestring" = xdisable; then
12556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12557 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12558 # Check whether --enable-toolbar was given.
12559 if test "${enable_toolbar+set}" = set; then
12560 enableval=$enable_toolbar;
12561 if test "$enableval" = yes; then
12562 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12564 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12569 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12574 eval "$wx_cv_use_toolbar"
12576 if test x"$enablestring" = xdisable; then
12577 if test $wxUSE_TOOLBAR = no; then
12583 result=$wxUSE_TOOLBAR
12586 { echo "$as_me:$LINENO: result: $result" >&5
12587 echo "${ECHO_T}$result" >&6; }
12591 defaultval=$wxUSE_ALL_FEATURES
12592 if test -z "$defaultval"; then
12593 if test x"$enablestring" = xdisable; then
12600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12601 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12602 # Check whether --enable-toolbook was given.
12603 if test "${enable_toolbook+set}" = set; then
12604 enableval=$enable_toolbook;
12605 if test "$enableval" = yes; then
12606 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12608 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12613 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12618 eval "$wx_cv_use_toolbook"
12620 if test x"$enablestring" = xdisable; then
12621 if test $wxUSE_TOOLBOOK = no; then
12627 result=$wxUSE_TOOLBOOK
12630 { echo "$as_me:$LINENO: result: $result" >&5
12631 echo "${ECHO_T}$result" >&6; }
12635 defaultval=$wxUSE_ALL_FEATURES
12636 if test -z "$defaultval"; then
12637 if test x"$enablestring" = xdisable; then
12644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12645 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12646 # Check whether --enable-treebook was given.
12647 if test "${enable_treebook+set}" = set; then
12648 enableval=$enable_treebook;
12649 if test "$enableval" = yes; then
12650 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12652 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12657 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12662 eval "$wx_cv_use_treebook"
12664 if test x"$enablestring" = xdisable; then
12665 if test $wxUSE_TREEBOOK = no; then
12671 result=$wxUSE_TREEBOOK
12674 { echo "$as_me:$LINENO: result: $result" >&5
12675 echo "${ECHO_T}$result" >&6; }
12679 defaultval=$wxUSE_ALL_FEATURES
12680 if test -z "$defaultval"; then
12681 if test x"$enablestring" = xdisable; then
12688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12689 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12690 # Check whether --enable-treectrl was given.
12691 if test "${enable_treectrl+set}" = set; then
12692 enableval=$enable_treectrl;
12693 if test "$enableval" = yes; then
12694 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12696 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12701 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12706 eval "$wx_cv_use_treectrl"
12708 if test x"$enablestring" = xdisable; then
12709 if test $wxUSE_TREECTRL = no; then
12715 result=$wxUSE_TREECTRL
12718 { echo "$as_me:$LINENO: result: $result" >&5
12719 echo "${ECHO_T}$result" >&6; }
12725 defaultval=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x"$enablestring" = xdisable; then
12734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12735 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12736 # Check whether --enable-commondlg was given.
12737 if test "${enable_commondlg+set}" = set; then
12738 enableval=$enable_commondlg;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12742 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12747 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12752 eval "$wx_cv_use_commondlg"
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_COMMONDLGS = no; then
12761 result=$wxUSE_COMMONDLGS
12764 { echo "$as_me:$LINENO: result: $result" >&5
12765 echo "${ECHO_T}$result" >&6; }
12769 defaultval=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x"$enablestring" = xdisable; then
12778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12779 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12780 # Check whether --enable-aboutdlg was given.
12781 if test "${enable_aboutdlg+set}" = set; then
12782 enableval=$enable_aboutdlg;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12786 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12791 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12796 eval "$wx_cv_use_aboutdlg"
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_ABOUTDLG = no; then
12805 result=$wxUSE_ABOUTDLG
12808 { echo "$as_me:$LINENO: result: $result" >&5
12809 echo "${ECHO_T}$result" >&6; }
12813 defaultval=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x"$enablestring" = xdisable; then
12822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12824 # Check whether --enable-choicedlg was given.
12825 if test "${enable_choicedlg+set}" = set; then
12826 enableval=$enable_choicedlg;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12830 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12835 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12840 eval "$wx_cv_use_choicedlg"
12842 if test x"$enablestring" = xdisable; then
12843 if test $wxUSE_CHOICEDLG = no; then
12849 result=$wxUSE_CHOICEDLG
12852 { echo "$as_me:$LINENO: result: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12857 defaultval=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x"$enablestring" = xdisable; then
12866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12868 # Check whether --enable-coldlg was given.
12869 if test "${enable_coldlg+set}" = set; then
12870 enableval=$enable_coldlg;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12874 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12879 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12884 eval "$wx_cv_use_coldlg"
12886 if test x"$enablestring" = xdisable; then
12887 if test $wxUSE_COLOURDLG = no; then
12893 result=$wxUSE_COLOURDLG
12896 { echo "$as_me:$LINENO: result: $result" >&5
12897 echo "${ECHO_T}$result" >&6; }
12901 defaultval=$wxUSE_ALL_FEATURES
12902 if test -z "$defaultval"; then
12903 if test x"$enablestring" = xdisable; then
12910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12911 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12912 # Check whether --enable-filedlg was given.
12913 if test "${enable_filedlg+set}" = set; then
12914 enableval=$enable_filedlg;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12918 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12923 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12928 eval "$wx_cv_use_filedlg"
12930 if test x"$enablestring" = xdisable; then
12931 if test $wxUSE_FILEDLG = no; then
12937 result=$wxUSE_FILEDLG
12940 { echo "$as_me:$LINENO: result: $result" >&5
12941 echo "${ECHO_T}$result" >&6; }
12945 defaultval=$wxUSE_ALL_FEATURES
12946 if test -z "$defaultval"; then
12947 if test x"$enablestring" = xdisable; then
12954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12955 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12956 # Check whether --enable-finddlg was given.
12957 if test "${enable_finddlg+set}" = set; then
12958 enableval=$enable_finddlg;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12962 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12967 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12972 eval "$wx_cv_use_finddlg"
12974 if test x"$enablestring" = xdisable; then
12975 if test $wxUSE_FINDREPLDLG = no; then
12981 result=$wxUSE_FINDREPLDLG
12984 { echo "$as_me:$LINENO: result: $result" >&5
12985 echo "${ECHO_T}$result" >&6; }
12989 defaultval=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x"$enablestring" = xdisable; then
12998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13000 # Check whether --enable-fontdlg was given.
13001 if test "${enable_fontdlg+set}" = set; then
13002 enableval=$enable_fontdlg;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13006 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13011 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13016 eval "$wx_cv_use_fontdlg"
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_FONTDLG = no; then
13025 result=$wxUSE_FONTDLG
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13033 defaultval=$wxUSE_ALL_FEATURES
13034 if test -z "$defaultval"; then
13035 if test x"$enablestring" = xdisable; then
13042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13043 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13044 # Check whether --enable-dirdlg was given.
13045 if test "${enable_dirdlg+set}" = set; then
13046 enableval=$enable_dirdlg;
13047 if test "$enableval" = yes; then
13048 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13050 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13055 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13060 eval "$wx_cv_use_dirdlg"
13062 if test x"$enablestring" = xdisable; then
13063 if test $wxUSE_DIRDLG = no; then
13069 result=$wxUSE_DIRDLG
13072 { echo "$as_me:$LINENO: result: $result" >&5
13073 echo "${ECHO_T}$result" >&6; }
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13087 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13088 # Check whether --enable-msgdlg was given.
13089 if test "${enable_msgdlg+set}" = set; then
13090 enableval=$enable_msgdlg;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13094 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13099 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13104 eval "$wx_cv_use_msgdlg"
13106 if test x"$enablestring" = xdisable; then
13107 if test $wxUSE_MSGDLG = no; then
13113 result=$wxUSE_MSGDLG
13116 { echo "$as_me:$LINENO: result: $result" >&5
13117 echo "${ECHO_T}$result" >&6; }
13121 defaultval=$wxUSE_ALL_FEATURES
13122 if test -z "$defaultval"; then
13123 if test x"$enablestring" = xdisable; then
13130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13131 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13132 # Check whether --enable-numberdlg was given.
13133 if test "${enable_numberdlg+set}" = set; then
13134 enableval=$enable_numberdlg;
13135 if test "$enableval" = yes; then
13136 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13138 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13143 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13148 eval "$wx_cv_use_numberdlg"
13150 if test x"$enablestring" = xdisable; then
13151 if test $wxUSE_NUMBERDLG = no; then
13157 result=$wxUSE_NUMBERDLG
13160 { echo "$as_me:$LINENO: result: $result" >&5
13161 echo "${ECHO_T}$result" >&6; }
13165 defaultval=$wxUSE_ALL_FEATURES
13166 if test -z "$defaultval"; then
13167 if test x"$enablestring" = xdisable; then
13174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13175 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13176 # Check whether --enable-splash was given.
13177 if test "${enable_splash+set}" = set; then
13178 enableval=$enable_splash;
13179 if test "$enableval" = yes; then
13180 wx_cv_use_splash='wxUSE_SPLASH=yes'
13182 wx_cv_use_splash='wxUSE_SPLASH=no'
13187 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13192 eval "$wx_cv_use_splash"
13194 if test x"$enablestring" = xdisable; then
13195 if test $wxUSE_SPLASH = no; then
13201 result=$wxUSE_SPLASH
13204 { echo "$as_me:$LINENO: result: $result" >&5
13205 echo "${ECHO_T}$result" >&6; }
13209 defaultval=$wxUSE_ALL_FEATURES
13210 if test -z "$defaultval"; then
13211 if test x"$enablestring" = xdisable; then
13218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13219 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13220 # Check whether --enable-textdlg was given.
13221 if test "${enable_textdlg+set}" = set; then
13222 enableval=$enable_textdlg;
13223 if test "$enableval" = yes; then
13224 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13226 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13231 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13236 eval "$wx_cv_use_textdlg"
13238 if test x"$enablestring" = xdisable; then
13239 if test $wxUSE_TEXTDLG = no; then
13245 result=$wxUSE_TEXTDLG
13248 { echo "$as_me:$LINENO: result: $result" >&5
13249 echo "${ECHO_T}$result" >&6; }
13253 defaultval=$wxUSE_ALL_FEATURES
13254 if test -z "$defaultval"; then
13255 if test x"$enablestring" = xdisable; then
13262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13263 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13264 # Check whether --enable-tipdlg was given.
13265 if test "${enable_tipdlg+set}" = set; then
13266 enableval=$enable_tipdlg;
13267 if test "$enableval" = yes; then
13268 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13270 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13275 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13280 eval "$wx_cv_use_tipdlg"
13282 if test x"$enablestring" = xdisable; then
13283 if test $wxUSE_STARTUP_TIPS = no; then
13289 result=$wxUSE_STARTUP_TIPS
13292 { echo "$as_me:$LINENO: result: $result" >&5
13293 echo "${ECHO_T}$result" >&6; }
13297 defaultval=$wxUSE_ALL_FEATURES
13298 if test -z "$defaultval"; then
13299 if test x"$enablestring" = xdisable; then
13306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13307 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13308 # Check whether --enable-progressdlg was given.
13309 if test "${enable_progressdlg+set}" = set; then
13310 enableval=$enable_progressdlg;
13311 if test "$enableval" = yes; then
13312 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13314 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13319 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13324 eval "$wx_cv_use_progressdlg"
13326 if test x"$enablestring" = xdisable; then
13327 if test $wxUSE_PROGRESSDLG = no; then
13333 result=$wxUSE_PROGRESSDLG
13336 { echo "$as_me:$LINENO: result: $result" >&5
13337 echo "${ECHO_T}$result" >&6; }
13341 defaultval=$wxUSE_ALL_FEATURES
13342 if test -z "$defaultval"; then
13343 if test x"$enablestring" = xdisable; then
13350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13351 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13352 # Check whether --enable-wizarddlg was given.
13353 if test "${enable_wizarddlg+set}" = set; then
13354 enableval=$enable_wizarddlg;
13355 if test "$enableval" = yes; then
13356 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13358 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13363 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13368 eval "$wx_cv_use_wizarddlg"
13370 if test x"$enablestring" = xdisable; then
13371 if test $wxUSE_WIZARDDLG = no; then
13377 result=$wxUSE_WIZARDDLG
13380 { echo "$as_me:$LINENO: result: $result" >&5
13381 echo "${ECHO_T}$result" >&6; }
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13398 # Check whether --enable-menus was given.
13399 if test "${enable_menus+set}" = set; then
13400 enableval=$enable_menus;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_menus='wxUSE_MENUS=yes'
13404 wx_cv_use_menus='wxUSE_MENUS=no'
13409 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13414 eval "$wx_cv_use_menus"
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_MENUS = no; then
13423 result=$wxUSE_MENUS
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13431 defaultval=$wxUSE_ALL_FEATURES
13432 if test -z "$defaultval"; then
13433 if test x"$enablestring" = xdisable; then
13440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13441 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13442 # Check whether --enable-miniframe was given.
13443 if test "${enable_miniframe+set}" = set; then
13444 enableval=$enable_miniframe;
13445 if test "$enableval" = yes; then
13446 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13448 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13453 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13458 eval "$wx_cv_use_miniframe"
13460 if test x"$enablestring" = xdisable; then
13461 if test $wxUSE_MINIFRAME = no; then
13467 result=$wxUSE_MINIFRAME
13470 { echo "$as_me:$LINENO: result: $result" >&5
13471 echo "${ECHO_T}$result" >&6; }
13475 defaultval=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x"$enablestring" = xdisable; then
13484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13485 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13486 # Check whether --enable-tooltips was given.
13487 if test "${enable_tooltips+set}" = set; then
13488 enableval=$enable_tooltips;
13489 if test "$enableval" = yes; then
13490 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13492 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13497 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13502 eval "$wx_cv_use_tooltips"
13504 if test x"$enablestring" = xdisable; then
13505 if test $wxUSE_TOOLTIPS = no; then
13511 result=$wxUSE_TOOLTIPS
13514 { echo "$as_me:$LINENO: result: $result" >&5
13515 echo "${ECHO_T}$result" >&6; }
13519 defaultval=$wxUSE_ALL_FEATURES
13520 if test -z "$defaultval"; then
13521 if test x"$enablestring" = xdisable; then
13528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13529 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13530 # Check whether --enable-splines was given.
13531 if test "${enable_splines+set}" = set; then
13532 enableval=$enable_splines;
13533 if test "$enableval" = yes; then
13534 wx_cv_use_splines='wxUSE_SPLINES=yes'
13536 wx_cv_use_splines='wxUSE_SPLINES=no'
13541 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13546 eval "$wx_cv_use_splines"
13548 if test x"$enablestring" = xdisable; then
13549 if test $wxUSE_SPLINES = no; then
13555 result=$wxUSE_SPLINES
13558 { echo "$as_me:$LINENO: result: $result" >&5
13559 echo "${ECHO_T}$result" >&6; }
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13573 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13574 # Check whether --enable-mousewheel was given.
13575 if test "${enable_mousewheel+set}" = set; then
13576 enableval=$enable_mousewheel;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13580 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13585 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13590 eval "$wx_cv_use_mousewheel"
13592 if test x"$enablestring" = xdisable; then
13593 if test $wxUSE_MOUSEWHEEL = no; then
13599 result=$wxUSE_MOUSEWHEEL
13602 { echo "$as_me:$LINENO: result: $result" >&5
13603 echo "${ECHO_T}$result" >&6; }
13607 defaultval=$wxUSE_ALL_FEATURES
13608 if test -z "$defaultval"; then
13609 if test x"$enablestring" = xdisable; then
13616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13617 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13618 # Check whether --enable-validators was given.
13619 if test "${enable_validators+set}" = set; then
13620 enableval=$enable_validators;
13621 if test "$enableval" = yes; then
13622 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13624 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13629 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13634 eval "$wx_cv_use_validators"
13636 if test x"$enablestring" = xdisable; then
13637 if test $wxUSE_VALIDATORS = no; then
13643 result=$wxUSE_VALIDATORS
13646 { echo "$as_me:$LINENO: result: $result" >&5
13647 echo "${ECHO_T}$result" >&6; }
13651 defaultval=$wxUSE_ALL_FEATURES
13652 if test -z "$defaultval"; then
13653 if test x"$enablestring" = xdisable; then
13660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13661 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13662 # Check whether --enable-busyinfo was given.
13663 if test "${enable_busyinfo+set}" = set; then
13664 enableval=$enable_busyinfo;
13665 if test "$enableval" = yes; then
13666 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13668 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13673 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13678 eval "$wx_cv_use_busyinfo"
13680 if test x"$enablestring" = xdisable; then
13681 if test $wxUSE_BUSYINFO = no; then
13687 result=$wxUSE_BUSYINFO
13690 { echo "$as_me:$LINENO: result: $result" >&5
13691 echo "${ECHO_T}$result" >&6; }
13695 defaultval=$wxUSE_ALL_FEATURES
13696 if test -z "$defaultval"; then
13697 if test x"$enablestring" = xdisable; then
13704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13705 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13706 # Check whether --enable-joystick was given.
13707 if test "${enable_joystick+set}" = set; then
13708 enableval=$enable_joystick;
13709 if test "$enableval" = yes; then
13710 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13712 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13717 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13722 eval "$wx_cv_use_joystick"
13724 if test x"$enablestring" = xdisable; then
13725 if test $wxUSE_JOYSTICK = no; then
13731 result=$wxUSE_JOYSTICK
13734 { echo "$as_me:$LINENO: result: $result" >&5
13735 echo "${ECHO_T}$result" >&6; }
13739 defaultval=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x"$enablestring" = xdisable; then
13748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13749 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13750 # Check whether --enable-metafile was given.
13751 if test "${enable_metafile+set}" = set; then
13752 enableval=$enable_metafile;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13756 wx_cv_use_metafile='wxUSE_METAFILE=no'
13761 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13766 eval "$wx_cv_use_metafile"
13768 if test x"$enablestring" = xdisable; then
13769 if test $wxUSE_METAFILE = no; then
13775 result=$wxUSE_METAFILE
13778 { echo "$as_me:$LINENO: result: $result" >&5
13779 echo "${ECHO_T}$result" >&6; }
13783 defaultval=$wxUSE_ALL_FEATURES
13784 if test -z "$defaultval"; then
13785 if test x"$enablestring" = xdisable; then
13792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13793 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13794 # Check whether --enable-dragimage was given.
13795 if test "${enable_dragimage+set}" = set; then
13796 enableval=$enable_dragimage;
13797 if test "$enableval" = yes; then
13798 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13800 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13805 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13810 eval "$wx_cv_use_dragimage"
13812 if test x"$enablestring" = xdisable; then
13813 if test $wxUSE_DRAGIMAGE = no; then
13819 result=$wxUSE_DRAGIMAGE
13822 { echo "$as_me:$LINENO: result: $result" >&5
13823 echo "${ECHO_T}$result" >&6; }
13827 defaultval=$wxUSE_ALL_FEATURES
13828 if test -z "$defaultval"; then
13829 if test x"$enablestring" = xdisable; then
13836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13837 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13838 # Check whether --enable-accessibility was given.
13839 if test "${enable_accessibility+set}" = set; then
13840 enableval=$enable_accessibility;
13841 if test "$enableval" = yes; then
13842 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13844 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13849 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13854 eval "$wx_cv_use_accessibility"
13856 if test x"$enablestring" = xdisable; then
13857 if test $wxUSE_ACCESSIBILITY = no; then
13863 result=$wxUSE_ACCESSIBILITY
13866 { echo "$as_me:$LINENO: result: $result" >&5
13867 echo "${ECHO_T}$result" >&6; }
13871 defaultval=$wxUSE_ALL_FEATURES
13872 if test -z "$defaultval"; then
13873 if test x"$enablestring" = xdisable; then
13880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13881 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13882 # Check whether --enable-uiactionsim was given.
13883 if test "${enable_uiactionsim+set}" = set; then
13884 enableval=$enable_uiactionsim;
13885 if test "$enableval" = yes; then
13886 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13888 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13893 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13898 eval "$wx_cv_use_uiactionsim"
13900 if test x"$enablestring" = xdisable; then
13901 if test $wxUSE_UIACTIONSIMULATOR = no; then
13907 result=$wxUSE_UIACTIONSIMULATOR
13910 { echo "$as_me:$LINENO: result: $result" >&5
13911 echo "${ECHO_T}$result" >&6; }
13917 defaultval=$wxUSE_ALL_FEATURES
13918 if test -z "$defaultval"; then
13919 if test x"$enablestring" = xdisable; then
13926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13927 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13928 # Check whether --enable-palette was given.
13929 if test "${enable_palette+set}" = set; then
13930 enableval=$enable_palette;
13931 if test "$enableval" = yes; then
13932 wx_cv_use_palette='wxUSE_PALETTE=yes'
13934 wx_cv_use_palette='wxUSE_PALETTE=no'
13939 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13944 eval "$wx_cv_use_palette"
13946 if test x"$enablestring" = xdisable; then
13947 if test $wxUSE_PALETTE = no; then
13953 result=$wxUSE_PALETTE
13956 { echo "$as_me:$LINENO: result: $result" >&5
13957 echo "${ECHO_T}$result" >&6; }
13961 defaultval=$wxUSE_ALL_FEATURES
13962 if test -z "$defaultval"; then
13963 if test x"$enablestring" = xdisable; then
13970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13971 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13972 # Check whether --enable-image was given.
13973 if test "${enable_image+set}" = set; then
13974 enableval=$enable_image;
13975 if test "$enableval" = yes; then
13976 wx_cv_use_image='wxUSE_IMAGE=yes'
13978 wx_cv_use_image='wxUSE_IMAGE=no'
13983 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13988 eval "$wx_cv_use_image"
13990 if test x"$enablestring" = xdisable; then
13991 if test $wxUSE_IMAGE = no; then
13997 result=$wxUSE_IMAGE
14000 { echo "$as_me:$LINENO: result: $result" >&5
14001 echo "${ECHO_T}$result" >&6; }
14005 defaultval=$wxUSE_ALL_FEATURES
14006 if test -z "$defaultval"; then
14007 if test x"$enablestring" = xdisable; then
14014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14015 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14016 # Check whether --enable-gif was given.
14017 if test "${enable_gif+set}" = set; then
14018 enableval=$enable_gif;
14019 if test "$enableval" = yes; then
14020 wx_cv_use_gif='wxUSE_GIF=yes'
14022 wx_cv_use_gif='wxUSE_GIF=no'
14027 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14032 eval "$wx_cv_use_gif"
14034 if test x"$enablestring" = xdisable; then
14035 if test $wxUSE_GIF = no; then
14044 { echo "$as_me:$LINENO: result: $result" >&5
14045 echo "${ECHO_T}$result" >&6; }
14049 defaultval=$wxUSE_ALL_FEATURES
14050 if test -z "$defaultval"; then
14051 if test x"$enablestring" = xdisable; then
14058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14059 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14060 # Check whether --enable-pcx was given.
14061 if test "${enable_pcx+set}" = set; then
14062 enableval=$enable_pcx;
14063 if test "$enableval" = yes; then
14064 wx_cv_use_pcx='wxUSE_PCX=yes'
14066 wx_cv_use_pcx='wxUSE_PCX=no'
14071 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14076 eval "$wx_cv_use_pcx"
14078 if test x"$enablestring" = xdisable; then
14079 if test $wxUSE_PCX = no; then
14088 { echo "$as_me:$LINENO: result: $result" >&5
14089 echo "${ECHO_T}$result" >&6; }
14093 defaultval=$wxUSE_ALL_FEATURES
14094 if test -z "$defaultval"; then
14095 if test x"$enablestring" = xdisable; then
14102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14103 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14104 # Check whether --enable-tga was given.
14105 if test "${enable_tga+set}" = set; then
14106 enableval=$enable_tga;
14107 if test "$enableval" = yes; then
14108 wx_cv_use_tga='wxUSE_TGA=yes'
14110 wx_cv_use_tga='wxUSE_TGA=no'
14115 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14120 eval "$wx_cv_use_tga"
14122 if test x"$enablestring" = xdisable; then
14123 if test $wxUSE_TGA = no; then
14132 { echo "$as_me:$LINENO: result: $result" >&5
14133 echo "${ECHO_T}$result" >&6; }
14137 defaultval=$wxUSE_ALL_FEATURES
14138 if test -z "$defaultval"; then
14139 if test x"$enablestring" = xdisable; then
14146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14147 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14148 # Check whether --enable-iff was given.
14149 if test "${enable_iff+set}" = set; then
14150 enableval=$enable_iff;
14151 if test "$enableval" = yes; then
14152 wx_cv_use_iff='wxUSE_IFF=yes'
14154 wx_cv_use_iff='wxUSE_IFF=no'
14159 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14164 eval "$wx_cv_use_iff"
14166 if test x"$enablestring" = xdisable; then
14167 if test $wxUSE_IFF = no; then
14176 { echo "$as_me:$LINENO: result: $result" >&5
14177 echo "${ECHO_T}$result" >&6; }
14181 defaultval=$wxUSE_ALL_FEATURES
14182 if test -z "$defaultval"; then
14183 if test x"$enablestring" = xdisable; then
14190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14191 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14192 # Check whether --enable-pnm was given.
14193 if test "${enable_pnm+set}" = set; then
14194 enableval=$enable_pnm;
14195 if test "$enableval" = yes; then
14196 wx_cv_use_pnm='wxUSE_PNM=yes'
14198 wx_cv_use_pnm='wxUSE_PNM=no'
14203 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14208 eval "$wx_cv_use_pnm"
14210 if test x"$enablestring" = xdisable; then
14211 if test $wxUSE_PNM = no; then
14220 { echo "$as_me:$LINENO: result: $result" >&5
14221 echo "${ECHO_T}$result" >&6; }
14225 defaultval=$wxUSE_ALL_FEATURES
14226 if test -z "$defaultval"; then
14227 if test x"$enablestring" = xdisable; then
14234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14235 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14236 # Check whether --enable-xpm was given.
14237 if test "${enable_xpm+set}" = set; then
14238 enableval=$enable_xpm;
14239 if test "$enableval" = yes; then
14240 wx_cv_use_xpm='wxUSE_XPM=yes'
14242 wx_cv_use_xpm='wxUSE_XPM=no'
14247 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14252 eval "$wx_cv_use_xpm"
14254 if test x"$enablestring" = xdisable; then
14255 if test $wxUSE_XPM = no; then
14264 { echo "$as_me:$LINENO: result: $result" >&5
14265 echo "${ECHO_T}$result" >&6; }
14269 defaultval=$wxUSE_ALL_FEATURES
14270 if test -z "$defaultval"; then
14271 if test x"$enablestring" = xdisable; then
14278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14279 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14280 # Check whether --enable-ico_cur was given.
14281 if test "${enable_ico_cur+set}" = set; then
14282 enableval=$enable_ico_cur;
14283 if test "$enableval" = yes; then
14284 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14286 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14291 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14296 eval "$wx_cv_use_ico_cur"
14298 if test x"$enablestring" = xdisable; then
14299 if test $wxUSE_ICO_CUR = no; then
14305 result=$wxUSE_ICO_CUR
14308 { echo "$as_me:$LINENO: result: $result" >&5
14309 echo "${ECHO_T}$result" >&6; }
14315 defaultval=$wxUSE_ALL_FEATURES
14316 if test -z "$defaultval"; then
14317 if test x"$enablestring" = xdisable; then
14324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14325 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14326 # Check whether --enable-dccache was given.
14327 if test "${enable_dccache+set}" = set; then
14328 enableval=$enable_dccache;
14329 if test "$enableval" = yes; then
14330 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14332 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14337 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14342 eval "$wx_cv_use_dccache"
14344 if test x"$enablestring" = xdisable; then
14345 if test $wxUSE_DC_CACHEING = no; then
14351 result=$wxUSE_DC_CACHEING
14354 { echo "$as_me:$LINENO: result: $result" >&5
14355 echo "${ECHO_T}$result" >&6; }
14359 defaultval=$wxUSE_ALL_FEATURES
14360 if test -z "$defaultval"; then
14361 if test x"$enablestring" = xdisable; then
14368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14369 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14370 # Check whether --enable-ps-in-msw was given.
14371 if test "${enable_ps_in_msw+set}" = set; then
14372 enableval=$enable_ps_in_msw;
14373 if test "$enableval" = yes; then
14374 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14376 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14381 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14386 eval "$wx_cv_use_ps_in_msw"
14388 if test x"$enablestring" = xdisable; then
14389 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14395 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14398 { echo "$as_me:$LINENO: result: $result" >&5
14399 echo "${ECHO_T}$result" >&6; }
14403 defaultval=$wxUSE_ALL_FEATURES
14404 if test -z "$defaultval"; then
14405 if test x"$enablestring" = xdisable; then
14412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14413 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14414 # Check whether --enable-ownerdrawn was given.
14415 if test "${enable_ownerdrawn+set}" = set; then
14416 enableval=$enable_ownerdrawn;
14417 if test "$enableval" = yes; then
14418 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14420 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14425 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14430 eval "$wx_cv_use_ownerdrawn"
14432 if test x"$enablestring" = xdisable; then
14433 if test $wxUSE_OWNER_DRAWN = no; then
14439 result=$wxUSE_OWNER_DRAWN
14442 { echo "$as_me:$LINENO: result: $result" >&5
14443 echo "${ECHO_T}$result" >&6; }
14447 defaultval=$wxUSE_ALL_FEATURES
14448 if test -z "$defaultval"; then
14449 if test x"$enablestring" = xdisable; then
14456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14457 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14458 # Check whether --enable-uxtheme was given.
14459 if test "${enable_uxtheme+set}" = set; then
14460 enableval=$enable_uxtheme;
14461 if test "$enableval" = yes; then
14462 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14464 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14469 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14474 eval "$wx_cv_use_uxtheme"
14476 if test x"$enablestring" = xdisable; then
14477 if test $wxUSE_UXTHEME = no; then
14483 result=$wxUSE_UXTHEME
14486 { echo "$as_me:$LINENO: result: $result" >&5
14487 echo "${ECHO_T}$result" >&6; }
14491 defaultval=$wxUSE_ALL_FEATURES
14492 if test -z "$defaultval"; then
14493 if test x"$enablestring" = xdisable; then
14500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14501 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14502 # Check whether --enable-wxdib was given.
14503 if test "${enable_wxdib+set}" = set; then
14504 enableval=$enable_wxdib;
14505 if test "$enableval" = yes; then
14506 wx_cv_use_wxdib='wxUSE_DIB=yes'
14508 wx_cv_use_wxdib='wxUSE_DIB=no'
14513 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14518 eval "$wx_cv_use_wxdib"
14520 if test x"$enablestring" = xdisable; then
14521 if test $wxUSE_DIB = no; then
14530 { echo "$as_me:$LINENO: result: $result" >&5
14531 echo "${ECHO_T}$result" >&6; }
14534 if test "$wxUSE_MSW" != 1; then
14535 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14540 defaultval=$wxUSE_ALL_FEATURES
14541 if test -z "$defaultval"; then
14542 if test x"$enablestring" = xdisable; then
14549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14550 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14551 # Check whether --enable-autoidman was given.
14552 if test "${enable_autoidman+set}" = set; then
14553 enableval=$enable_autoidman;
14554 if test "$enableval" = yes; then
14555 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14557 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14562 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14567 eval "$wx_cv_use_autoidman"
14569 if test x"$enablestring" = xdisable; then
14570 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14576 result=$wxUSE_AUTOID_MANAGEMENT
14579 { echo "$as_me:$LINENO: result: $result" >&5
14580 echo "${ECHO_T}$result" >&6; }
14586 cat >confcache <<\_ACEOF
14587 # This file is a shell script that caches the results of configure
14588 # tests run on this system so they can be shared between configure
14589 # scripts and configure runs, see configure's option --config-cache.
14590 # It is not useful on other systems. If it contains results you don't
14591 # want to keep, you may remove or edit it.
14593 # config.status only pays attention to the cache file if you give it
14594 # the --recheck option to rerun configure.
14596 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14597 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14598 # following values.
14602 # The following way of writing the cache mishandles newlines in values,
14603 # but we know of no workaround that is simple, portable, and efficient.
14604 # So, we kill variables containing newlines.
14605 # Ultrix sh set writes to stderr and can't be redirected directly,
14606 # and sets the high bit in the cache file unless we assign to the vars.
14608 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14609 eval ac_val=\$$ac_var
14613 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14614 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14617 _ | IFS | as_nl) ;; #(
14618 *) $as_unset $ac_var ;;
14624 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14625 *${as_nl}ac_space=\ *)
14626 # `set' does not quote correctly, so add quotes (double-quote
14627 # substitution turns \\\\ into \\, and sed turns \\ into \).
14630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14633 # `set' quotes correctly as required by POSIX, so do not add quotes.
14634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14645 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14647 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14648 if test -w "$cache_file"; then
14649 test "x$cache_file" != "x/dev/null" &&
14650 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14651 echo "$as_me: updating cache $cache_file" >&6;}
14652 cat confcache >$cache_file
14654 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14655 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14662 ac_cpp='$CPP $CPPFLAGS'
14663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14666 if test -n "$ac_tool_prefix"; then
14667 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14668 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14671 if test "${ac_cv_prog_CC+set}" = set; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14674 if test -n "$CC"; then
14675 ac_cv_prog_CC="$CC" # Let the user override the test.
14677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14678 for as_dir in $PATH
14681 test -z "$as_dir" && as_dir=.
14682 for ac_exec_ext in '' $ac_executable_extensions; do
14683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14684 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14695 if test -n "$CC"; then
14696 { echo "$as_me:$LINENO: result: $CC" >&5
14697 echo "${ECHO_T}$CC" >&6; }
14699 { echo "$as_me:$LINENO: result: no" >&5
14700 echo "${ECHO_T}no" >&6; }
14705 if test -z "$ac_cv_prog_CC"; then
14707 # Extract the first word of "gcc", so it can be a program name with args.
14708 set dummy gcc; ac_word=$2
14709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14711 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 if test -n "$ac_ct_CC"; then
14715 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14718 for as_dir in $PATH
14721 test -z "$as_dir" && as_dir=.
14722 for ac_exec_ext in '' $ac_executable_extensions; do
14723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14724 ac_cv_prog_ac_ct_CC="gcc"
14725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14734 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14735 if test -n "$ac_ct_CC"; then
14736 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14737 echo "${ECHO_T}$ac_ct_CC" >&6; }
14739 { echo "$as_me:$LINENO: result: no" >&5
14740 echo "${ECHO_T}no" >&6; }
14743 if test "x$ac_ct_CC" = x; then
14746 case $cross_compiling:$ac_tool_warned in
14748 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14749 whose name does not start with the host triplet. If you think this
14750 configuration is useful to you, please write to autoconf@gnu.org." >&5
14751 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14752 whose name does not start with the host triplet. If you think this
14753 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14754 ac_tool_warned=yes ;;
14759 CC="$ac_cv_prog_CC"
14762 if test -z "$CC"; then
14763 if test -n "$ac_tool_prefix"; then
14764 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14765 set dummy ${ac_tool_prefix}cc; ac_word=$2
14766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14768 if test "${ac_cv_prog_CC+set}" = set; then
14769 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 if test -n "$CC"; then
14772 ac_cv_prog_CC="$CC" # Let the user override the test.
14774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14775 for as_dir in $PATH
14778 test -z "$as_dir" && as_dir=.
14779 for ac_exec_ext in '' $ac_executable_extensions; do
14780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14781 ac_cv_prog_CC="${ac_tool_prefix}cc"
14782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14792 if test -n "$CC"; then
14793 { echo "$as_me:$LINENO: result: $CC" >&5
14794 echo "${ECHO_T}$CC" >&6; }
14796 { echo "$as_me:$LINENO: result: no" >&5
14797 echo "${ECHO_T}no" >&6; }
14803 if test -z "$CC"; then
14804 # Extract the first word of "cc", so it can be a program name with args.
14805 set dummy cc; ac_word=$2
14806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14808 if test "${ac_cv_prog_CC+set}" = set; then
14809 echo $ECHO_N "(cached) $ECHO_C" >&6
14811 if test -n "$CC"; then
14812 ac_cv_prog_CC="$CC" # Let the user override the test.
14814 ac_prog_rejected=no
14815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14816 for as_dir in $PATH
14819 test -z "$as_dir" && as_dir=.
14820 for ac_exec_ext in '' $ac_executable_extensions; do
14821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14822 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14823 ac_prog_rejected=yes
14827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14834 if test $ac_prog_rejected = yes; then
14835 # We found a bogon in the path, so make sure we never use it.
14836 set dummy $ac_cv_prog_CC
14838 if test $# != 0; then
14839 # We chose a different compiler from the bogus one.
14840 # However, it has the same basename, so the bogon will be chosen
14841 # first if we set CC to just the basename; use the full file name.
14843 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14849 if test -n "$CC"; then
14850 { echo "$as_me:$LINENO: result: $CC" >&5
14851 echo "${ECHO_T}$CC" >&6; }
14853 { echo "$as_me:$LINENO: result: no" >&5
14854 echo "${ECHO_T}no" >&6; }
14859 if test -z "$CC"; then
14860 if test -n "$ac_tool_prefix"; then
14861 for ac_prog in cl.exe
14863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14867 if test "${ac_cv_prog_CC+set}" = set; then
14868 echo $ECHO_N "(cached) $ECHO_C" >&6
14870 if test -n "$CC"; then
14871 ac_cv_prog_CC="$CC" # Let the user override the test.
14873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14874 for as_dir in $PATH
14877 test -z "$as_dir" && as_dir=.
14878 for ac_exec_ext in '' $ac_executable_extensions; do
14879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14880 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14891 if test -n "$CC"; then
14892 { echo "$as_me:$LINENO: result: $CC" >&5
14893 echo "${ECHO_T}$CC" >&6; }
14895 { echo "$as_me:$LINENO: result: no" >&5
14896 echo "${ECHO_T}no" >&6; }
14900 test -n "$CC" && break
14903 if test -z "$CC"; then
14905 for ac_prog in cl.exe
14907 # Extract the first word of "$ac_prog", so it can be a program name with args.
14908 set dummy $ac_prog; ac_word=$2
14909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14911 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14912 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 if test -n "$ac_ct_CC"; then
14915 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14918 for as_dir in $PATH
14921 test -z "$as_dir" && as_dir=.
14922 for ac_exec_ext in '' $ac_executable_extensions; do
14923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14924 ac_cv_prog_ac_ct_CC="$ac_prog"
14925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14935 if test -n "$ac_ct_CC"; then
14936 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14937 echo "${ECHO_T}$ac_ct_CC" >&6; }
14939 { echo "$as_me:$LINENO: result: no" >&5
14940 echo "${ECHO_T}no" >&6; }
14944 test -n "$ac_ct_CC" && break
14947 if test "x$ac_ct_CC" = x; then
14950 case $cross_compiling:$ac_tool_warned in
14952 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14953 whose name does not start with the host triplet. If you think this
14954 configuration is useful to you, please write to autoconf@gnu.org." >&5
14955 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14956 whose name does not start with the host triplet. If you think this
14957 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14958 ac_tool_warned=yes ;;
14967 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14968 See \`config.log' for more details." >&5
14969 echo "$as_me: error: no acceptable C compiler found in \$PATH
14970 See \`config.log' for more details." >&2;}
14971 { (exit 1); exit 1; }; }
14973 # Provide some information about the compiler.
14974 echo "$as_me:$LINENO: checking for C compiler version" >&5
14975 ac_compiler=`set X $ac_compile; echo $2`
14976 { (ac_try="$ac_compiler --version >&5"
14977 case "(($ac_try" in
14978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14979 *) ac_try_echo=$ac_try;;
14981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14982 (eval "$ac_compiler --version >&5") 2>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }
14986 { (ac_try="$ac_compiler -v >&5"
14987 case "(($ac_try" in
14988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14989 *) ac_try_echo=$ac_try;;
14991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14992 (eval "$ac_compiler -v >&5") 2>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }
14996 { (ac_try="$ac_compiler -V >&5"
14997 case "(($ac_try" in
14998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14999 *) ac_try_echo=$ac_try;;
15001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15002 (eval "$ac_compiler -V >&5") 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }
15007 cat >conftest.$ac_ext <<_ACEOF
15010 cat confdefs.h >>conftest.$ac_ext
15011 cat >>conftest.$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15022 ac_clean_files_save=$ac_clean_files
15023 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15024 # Try to create an executable without -o first, disregard a.out.
15025 # It will help us diagnose broken compilers, and finding out an intuition
15027 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15028 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15029 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15031 # List of possible output files, starting from the most likely.
15032 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15033 # only as a last resort. b.out is created by i960 compilers.
15034 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15036 # The IRIX 6 linker writes into existing files which may not be
15037 # executable, retaining their permissions. Remove them first so a
15038 # subsequent execution test works.
15040 for ac_file in $ac_files
15043 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15044 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15049 if { (ac_try="$ac_link_default"
15050 case "(($ac_try" in
15051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15052 *) ac_try_echo=$ac_try;;
15054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15055 (eval "$ac_link_default") 2>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; then
15059 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15060 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15061 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15062 # so that the user can short-circuit this test for compilers unknown to
15064 for ac_file in $ac_files ''
15066 test -f "$ac_file" || continue
15068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15071 # We found the default executable, but exeext='' is most
15075 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15077 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15079 # We set ac_cv_exeext here because the later test for it is not
15080 # safe: cross compilers may not add the suffix if given an `-o'
15081 # argument, so we may need to know it at that point already.
15082 # Even if this section looks crufty: it has the advantage of
15083 # actually working.
15089 test "$ac_cv_exeext" = no && ac_cv_exeext=
15095 { echo "$as_me:$LINENO: result: $ac_file" >&5
15096 echo "${ECHO_T}$ac_file" >&6; }
15097 if test -z "$ac_file"; then
15098 echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.$ac_ext >&5
15101 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15102 See \`config.log' for more details." >&5
15103 echo "$as_me: error: C compiler cannot create executables
15104 See \`config.log' for more details." >&2;}
15105 { (exit 77); exit 77; }; }
15108 ac_exeext=$ac_cv_exeext
15110 # Check that the compiler produces executables we can run. If not, either
15111 # the compiler is broken, or we cross compile.
15112 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15113 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15114 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15115 # If not cross compiling, check that we can run a simple program.
15116 if test "$cross_compiling" != yes; then
15117 if { ac_try='./$ac_file'
15118 { (case "(($ac_try" in
15119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15120 *) ac_try_echo=$ac_try;;
15122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15123 (eval "$ac_try") 2>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); }; }; then
15129 if test "$cross_compiling" = maybe; then
15130 cross_compiling=yes
15132 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15133 If you meant to cross compile, use \`--host'.
15134 See \`config.log' for more details." >&5
15135 echo "$as_me: error: cannot run C compiled programs.
15136 If you meant to cross compile, use \`--host'.
15137 See \`config.log' for more details." >&2;}
15138 { (exit 1); exit 1; }; }
15142 { echo "$as_me:$LINENO: result: yes" >&5
15143 echo "${ECHO_T}yes" >&6; }
15145 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15146 ac_clean_files=$ac_clean_files_save
15147 # Check that the compiler produces executables we can run. If not, either
15148 # the compiler is broken, or we cross compile.
15149 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15150 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15151 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15152 echo "${ECHO_T}$cross_compiling" >&6; }
15154 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15155 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15156 if { (ac_try="$ac_link"
15157 case "(($ac_try" in
15158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15159 *) ac_try_echo=$ac_try;;
15161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15162 (eval "$ac_link") 2>&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); }; then
15166 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15167 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15168 # work properly (i.e., refer to `conftest.exe'), while it won't with
15170 for ac_file in conftest.exe conftest conftest.*; do
15171 test -f "$ac_file" || continue
15173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15174 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15180 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15181 See \`config.log' for more details." >&5
15182 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15183 See \`config.log' for more details." >&2;}
15184 { (exit 1); exit 1; }; }
15187 rm -f conftest$ac_cv_exeext
15188 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15189 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15191 rm -f conftest.$ac_ext
15192 EXEEXT=$ac_cv_exeext
15194 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15195 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15196 if test "${ac_cv_objext+set}" = set; then
15197 echo $ECHO_N "(cached) $ECHO_C" >&6
15199 cat >conftest.$ac_ext <<_ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15214 rm -f conftest.o conftest.obj
15215 if { (ac_try="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; then
15225 for ac_file in conftest.o conftest.obj conftest.*; do
15226 test -f "$ac_file" || continue;
15228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15229 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15237 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15238 See \`config.log' for more details." >&5
15239 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15240 See \`config.log' for more details." >&2;}
15241 { (exit 1); exit 1; }; }
15244 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15246 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15247 echo "${ECHO_T}$ac_cv_objext" >&6; }
15248 OBJEXT=$ac_cv_objext
15250 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15251 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15252 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 cat >conftest.$ac_ext <<_ACEOF
15258 cat confdefs.h >>conftest.$ac_ext
15259 cat >>conftest.$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
15273 rm -f conftest.$ac_objext
15274 if { (ac_try="$ac_compile"
15275 case "(($ac_try" in
15276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277 *) ac_try_echo=$ac_try;;
15279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15280 (eval "$ac_compile") 2>conftest.er1
15282 grep -v '^ *+' conftest.er1 >conftest.err
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } && {
15287 test -z "$ac_c_werror_flag" ||
15288 test ! -s conftest.err
15289 } && test -s conftest.$ac_objext; then
15290 ac_compiler_gnu=yes
15292 echo "$as_me: failed program was:" >&5
15293 sed 's/^/| /' conftest.$ac_ext >&5
15298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15299 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15302 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15303 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15304 GCC=`test $ac_compiler_gnu = yes && echo yes`
15305 ac_test_CFLAGS=${CFLAGS+set}
15306 ac_save_CFLAGS=$CFLAGS
15307 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15308 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15309 if test "${ac_cv_prog_cc_g+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 ac_save_c_werror_flag=$ac_c_werror_flag
15313 ac_c_werror_flag=yes
15316 cat >conftest.$ac_ext <<_ACEOF
15319 cat confdefs.h >>conftest.$ac_ext
15320 cat >>conftest.$ac_ext <<_ACEOF
15321 /* end confdefs.h. */
15331 rm -f conftest.$ac_objext
15332 if { (ac_try="$ac_compile"
15333 case "(($ac_try" in
15334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15335 *) ac_try_echo=$ac_try;;
15337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15338 (eval "$ac_compile") 2>conftest.er1
15340 grep -v '^ *+' conftest.er1 >conftest.err
15342 cat conftest.err >&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } && {
15345 test -z "$ac_c_werror_flag" ||
15346 test ! -s conftest.err
15347 } && test -s conftest.$ac_objext; then
15348 ac_cv_prog_cc_g=yes
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15354 cat >conftest.$ac_ext <<_ACEOF
15357 cat confdefs.h >>conftest.$ac_ext
15358 cat >>conftest.$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15369 rm -f conftest.$ac_objext
15370 if { (ac_try="$ac_compile"
15371 case "(($ac_try" in
15372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15373 *) ac_try_echo=$ac_try;;
15375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15376 (eval "$ac_compile") 2>conftest.er1
15378 grep -v '^ *+' conftest.er1 >conftest.err
15380 cat conftest.err >&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); } && {
15383 test -z "$ac_c_werror_flag" ||
15384 test ! -s conftest.err
15385 } && test -s conftest.$ac_objext; then
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15391 ac_c_werror_flag=$ac_save_c_werror_flag
15393 cat >conftest.$ac_ext <<_ACEOF
15396 cat confdefs.h >>conftest.$ac_ext
15397 cat >>conftest.$ac_ext <<_ACEOF
15398 /* end confdefs.h. */
15408 rm -f conftest.$ac_objext
15409 if { (ac_try="$ac_compile"
15410 case "(($ac_try" in
15411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15412 *) ac_try_echo=$ac_try;;
15414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15415 (eval "$ac_compile") 2>conftest.er1
15417 grep -v '^ *+' conftest.er1 >conftest.err
15419 cat conftest.err >&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } && {
15422 test -z "$ac_c_werror_flag" ||
15423 test ! -s conftest.err
15424 } && test -s conftest.$ac_objext; then
15425 ac_cv_prog_cc_g=yes
15427 echo "$as_me: failed program was:" >&5
15428 sed 's/^/| /' conftest.$ac_ext >&5
15433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15440 ac_c_werror_flag=$ac_save_c_werror_flag
15442 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15443 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15444 if test "$ac_test_CFLAGS" = set; then
15445 CFLAGS=$ac_save_CFLAGS
15446 elif test $ac_cv_prog_cc_g = yes; then
15447 if test "$GCC" = yes; then
15453 if test "$GCC" = yes; then
15459 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15460 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15461 if test "${ac_cv_prog_cc_c89+set}" = set; then
15462 echo $ECHO_N "(cached) $ECHO_C" >&6
15464 ac_cv_prog_cc_c89=no
15466 cat >conftest.$ac_ext <<_ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 #include <stdarg.h>
15474 #include <sys/types.h>
15475 #include <sys/stat.h>
15476 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15477 struct buf { int x; };
15478 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15479 static char *e (p, i)
15485 static char *f (char * (*g) (char **, int), char **p, ...)
15490 s = g (p, va_arg (v,int));
15495 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15496 function prototypes and stuff, but not '\xHH' hex character constants.
15497 These don't provoke an error unfortunately, instead are silently treated
15498 as 'x'. The following induces an error, until -std is added to get
15499 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15500 array size at least. It's necessary to write '\x00'==0 to get something
15501 that's true only with -std. */
15502 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15504 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15505 inside strings and character constants. */
15507 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15509 int test (int i, double x);
15510 struct s1 {int (*f) (int a);};
15511 struct s2 {int (*f) (double a);};
15512 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15518 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15523 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15524 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15526 CC="$ac_save_CC $ac_arg"
15527 rm -f conftest.$ac_objext
15528 if { (ac_try="$ac_compile"
15529 case "(($ac_try" in
15530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15531 *) ac_try_echo=$ac_try;;
15533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15534 (eval "$ac_compile") 2>conftest.er1
15536 grep -v '^ *+' conftest.er1 >conftest.err
15538 cat conftest.err >&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); } && {
15541 test -z "$ac_c_werror_flag" ||
15542 test ! -s conftest.err
15543 } && test -s conftest.$ac_objext; then
15544 ac_cv_prog_cc_c89=$ac_arg
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15552 rm -f core conftest.err conftest.$ac_objext
15553 test "x$ac_cv_prog_cc_c89" != "xno" && break
15555 rm -f conftest.$ac_ext
15560 case "x$ac_cv_prog_cc_c89" in
15562 { echo "$as_me:$LINENO: result: none needed" >&5
15563 echo "${ECHO_T}none needed" >&6; } ;;
15565 { echo "$as_me:$LINENO: result: unsupported" >&5
15566 echo "${ECHO_T}unsupported" >&6; } ;;
15568 CC="$CC $ac_cv_prog_cc_c89"
15569 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15570 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15575 ac_cpp='$CPP $CPPFLAGS'
15576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15588 ac_cpp='$CPP $CPPFLAGS'
15589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15593 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15594 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15595 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15596 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 cat >conftest.$ac_ext <<_ACEOF
15601 cat confdefs.h >>conftest.$ac_ext
15602 cat >>conftest.$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15609 #ifndef __INTEL_COMPILER
15617 rm -f conftest.$ac_objext
15618 if { (ac_try="$ac_compile"
15619 case "(($ac_try" in
15620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15621 *) ac_try_echo=$ac_try;;
15623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15624 (eval "$ac_compile") 2>conftest.er1
15626 grep -v '^ *+' conftest.er1 >conftest.err
15628 cat conftest.err >&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); } && {
15631 test -z "$ac_c_werror_flag" ||
15632 test ! -s conftest.err
15633 } && test -s conftest.$ac_objext; then
15634 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15636 echo "$as_me: failed program was:" >&5
15637 sed 's/^/| /' conftest.$ac_ext >&5
15639 bakefile_cv_c_compiler___INTEL_COMPILER=no
15643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15647 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15648 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15649 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15655 ac_cpp='$CPP $CPPFLAGS'
15656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15663 if test "$INTELCC" = "yes"; then
15667 ac_cpp='$CPP $CPPFLAGS'
15668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15672 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15673 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15674 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15675 echo $ECHO_N "(cached) $ECHO_C" >&6
15677 cat >conftest.$ac_ext <<_ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15688 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15696 rm -f conftest.$ac_objext
15697 if { (ac_try="$ac_compile"
15698 case "(($ac_try" in
15699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15700 *) ac_try_echo=$ac_try;;
15702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15703 (eval "$ac_compile") 2>conftest.er1
15705 grep -v '^ *+' conftest.er1 >conftest.err
15707 cat conftest.err >&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); } && {
15710 test -z "$ac_c_werror_flag" ||
15711 test ! -s conftest.err
15712 } && test -s conftest.$ac_objext; then
15713 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15715 echo "$as_me: failed program was:" >&5
15716 sed 's/^/| /' conftest.$ac_ext >&5
15718 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15726 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15727 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15728 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15734 ac_cpp='$CPP $CPPFLAGS'
15735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15749 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15750 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15751 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15752 echo $ECHO_N "(cached) $ECHO_C" >&6
15754 cat >conftest.$ac_ext <<_ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15765 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15773 rm -f conftest.$ac_objext
15774 if { (ac_try="$ac_compile"
15775 case "(($ac_try" in
15776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15777 *) ac_try_echo=$ac_try;;
15779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15780 (eval "$ac_compile") 2>conftest.er1
15782 grep -v '^ *+' conftest.er1 >conftest.err
15784 cat conftest.err >&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); } && {
15787 test -z "$ac_c_werror_flag" ||
15788 test ! -s conftest.err
15789 } && test -s conftest.$ac_objext; then
15790 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15792 echo "$as_me: failed program was:" >&5
15793 sed 's/^/| /' conftest.$ac_ext >&5
15795 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15803 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15804 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15805 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15811 ac_cpp='$CPP $CPPFLAGS'
15812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15820 if test "x$GCC" != "xyes"; then
15821 if test "xCC" = "xC"; then
15822 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15823 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15824 if test "${bakefile_cv_c_exto+set}" = set; then
15825 echo $ECHO_N "(cached) $ECHO_C" >&6
15827 cat >conftest.$ac_ext <<_ACEOF
15830 cat confdefs.h >>conftest.$ac_ext
15831 cat >>conftest.$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15842 rm -f conftest.$ac_objext conftest.$ac_ext.o
15843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15844 (eval $ac_compile) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; then
15848 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15850 conftest.$ac_ext.o)
15851 bakefile_cv_c_exto="-ext o"
15858 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15859 See \`config.log' for more details." >&5
15860 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15861 See \`config.log' for more details." >&2;}
15862 { (exit 1); exit 1; }; }
15866 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15869 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15870 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15871 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15872 if test "c" = "c"; then
15873 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15875 if test "c" = "cxx"; then
15876 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15880 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15881 unset ac_cv_prog_cc_g
15882 ac_test_CFLAGS=${CFLAGS+set}
15883 ac_save_CFLAGS=$CFLAGS
15884 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15885 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15886 if test "${ac_cv_prog_cc_g+set}" = set; then
15887 echo $ECHO_N "(cached) $ECHO_C" >&6
15889 ac_save_c_werror_flag=$ac_c_werror_flag
15890 ac_c_werror_flag=yes
15893 cat >conftest.$ac_ext <<_ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15908 rm -f conftest.$ac_objext
15909 if { (ac_try="$ac_compile"
15910 case "(($ac_try" in
15911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15912 *) ac_try_echo=$ac_try;;
15914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15915 (eval "$ac_compile") 2>conftest.er1
15917 grep -v '^ *+' conftest.er1 >conftest.err
15919 cat conftest.err >&5
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); } && {
15922 test -z "$ac_c_werror_flag" ||
15923 test ! -s conftest.err
15924 } && test -s conftest.$ac_objext; then
15925 ac_cv_prog_cc_g=yes
15927 echo "$as_me: failed program was:" >&5
15928 sed 's/^/| /' conftest.$ac_ext >&5
15931 cat >conftest.$ac_ext <<_ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15946 rm -f conftest.$ac_objext
15947 if { (ac_try="$ac_compile"
15948 case "(($ac_try" in
15949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 *) ac_try_echo=$ac_try;;
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_compile") 2>conftest.er1
15955 grep -v '^ *+' conftest.er1 >conftest.err
15957 cat conftest.err >&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } && {
15960 test -z "$ac_c_werror_flag" ||
15961 test ! -s conftest.err
15962 } && test -s conftest.$ac_objext; then
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15968 ac_c_werror_flag=$ac_save_c_werror_flag
15970 cat >conftest.$ac_ext <<_ACEOF
15973 cat confdefs.h >>conftest.$ac_ext
15974 cat >>conftest.$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15985 rm -f conftest.$ac_objext
15986 if { (ac_try="$ac_compile"
15987 case "(($ac_try" in
15988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15989 *) ac_try_echo=$ac_try;;
15991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15992 (eval "$ac_compile") 2>conftest.er1
15994 grep -v '^ *+' conftest.er1 >conftest.err
15996 cat conftest.err >&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } && {
15999 test -z "$ac_c_werror_flag" ||
16000 test ! -s conftest.err
16001 } && test -s conftest.$ac_objext; then
16002 ac_cv_prog_cc_g=yes
16004 echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.$ac_ext >&5
16010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16017 ac_c_werror_flag=$ac_save_c_werror_flag
16019 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16020 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16021 if test "$ac_test_CFLAGS" = set; then
16022 CFLAGS=$ac_save_CFLAGS
16023 elif test $ac_cv_prog_cc_g = yes; then
16024 if test "$GCC" = yes; then
16030 if test "$GCC" = yes; then
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16049 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16050 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16051 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16054 cat >conftest.$ac_ext <<_ACEOF
16057 cat confdefs.h >>conftest.$ac_ext
16058 cat >>conftest.$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16073 rm -f conftest.$ac_objext
16074 if { (ac_try="$ac_compile"
16075 case "(($ac_try" in
16076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16077 *) ac_try_echo=$ac_try;;
16079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16080 (eval "$ac_compile") 2>conftest.er1
16082 grep -v '^ *+' conftest.er1 >conftest.err
16084 cat conftest.err >&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } && {
16087 test -z "$ac_c_werror_flag" ||
16088 test ! -s conftest.err
16089 } && test -s conftest.$ac_objext; then
16090 bakefile_cv_c_compiler___xlC__=yes
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.$ac_ext >&5
16095 bakefile_cv_c_compiler___xlC__=no
16099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16103 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16104 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16105 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16111 ac_cpp='$CPP $CPPFLAGS'
16112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16124 ac_cpp='$CPP $CPPFLAGS'
16125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16129 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16130 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16131 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 cat >conftest.$ac_ext <<_ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16153 rm -f conftest.$ac_objext
16154 if { (ac_try="$ac_compile"
16155 case "(($ac_try" in
16156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16157 *) ac_try_echo=$ac_try;;
16159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16160 (eval "$ac_compile") 2>conftest.er1
16162 grep -v '^ *+' conftest.er1 >conftest.err
16164 cat conftest.err >&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } && {
16167 test -z "$ac_c_werror_flag" ||
16168 test ! -s conftest.err
16169 } && test -s conftest.$ac_objext; then
16170 bakefile_cv_c_compiler___MWERKS__=yes
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.$ac_ext >&5
16175 bakefile_cv_c_compiler___MWERKS__=no
16179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16183 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16184 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16185 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16191 ac_cpp='$CPP $CPPFLAGS'
16192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16198 if test "$MWCC" != "yes"; 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
16207 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16208 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16209 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16210 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 cat >conftest.$ac_ext <<_ACEOF
16215 cat confdefs.h >>conftest.$ac_ext
16216 cat >>conftest.$ac_ext <<_ACEOF
16217 /* end confdefs.h. */
16231 rm -f conftest.$ac_objext
16232 if { (ac_try="$ac_compile"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_compile") 2>conftest.er1
16240 grep -v '^ *+' conftest.er1 >conftest.err
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && {
16245 test -z "$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 } && test -s conftest.$ac_objext; then
16248 bakefile_cv_c_compiler___xlC__=yes
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16253 bakefile_cv_c_compiler___xlC__=no
16257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16261 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16262 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16263 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16283 ac_cpp='$CPP $CPPFLAGS'
16284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16288 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16289 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16290 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 cat >conftest.$ac_ext <<_ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16304 #ifndef _SGI_COMPILER_VERSION
16312 rm -f conftest.$ac_objext
16313 if { (ac_try="$ac_compile"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compile") 2>conftest.er1
16321 grep -v '^ *+' conftest.er1 >conftest.err
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_c_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest.$ac_objext; then
16329 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16334 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16342 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16343 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16344 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16350 ac_cpp='$CPP $CPPFLAGS'
16351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16360 if test "$INTELCC" != "yes"; then
16364 ac_cpp='$CPP $CPPFLAGS'
16365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16369 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16370 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16371 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16372 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 cat >conftest.$ac_ext <<_ACEOF
16377 cat confdefs.h >>conftest.$ac_ext
16378 cat >>conftest.$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16393 rm -f conftest.$ac_objext
16394 if { (ac_try="$ac_compile"
16395 case "(($ac_try" in
16396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16397 *) ac_try_echo=$ac_try;;
16399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16400 (eval "$ac_compile") 2>conftest.er1
16402 grep -v '^ *+' conftest.er1 >conftest.err
16404 cat conftest.err >&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); } && {
16407 test -z "$ac_c_werror_flag" ||
16408 test ! -s conftest.err
16409 } && test -s conftest.$ac_objext; then
16410 bakefile_cv_c_compiler___SUNPRO_C=yes
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.$ac_ext >&5
16415 bakefile_cv_c_compiler___SUNPRO_C=no
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16423 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16424 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16425 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16431 ac_cpp='$CPP $CPPFLAGS'
16432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16445 ac_cpp='$CPP $CPPFLAGS'
16446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16450 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16451 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16452 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16453 echo $ECHO_N "(cached) $ECHO_C" >&6
16455 cat >conftest.$ac_ext <<_ACEOF
16458 cat confdefs.h >>conftest.$ac_ext
16459 cat >>conftest.$ac_ext <<_ACEOF
16460 /* end confdefs.h. */
16474 rm -f conftest.$ac_objext
16475 if { (ac_try="$ac_compile"
16476 case "(($ac_try" in
16477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16478 *) ac_try_echo=$ac_try;;
16480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16481 (eval "$ac_compile") 2>conftest.er1
16483 grep -v '^ *+' conftest.er1 >conftest.err
16485 cat conftest.err >&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } && {
16488 test -z "$ac_c_werror_flag" ||
16489 test ! -s conftest.err
16490 } && test -s conftest.$ac_objext; then
16491 bakefile_cv_c_compiler___HP_cc=yes
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.$ac_ext >&5
16496 bakefile_cv_c_compiler___HP_cc=no
16500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16504 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16505 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16506 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16512 ac_cpp='$CPP $CPPFLAGS'
16513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16525 ac_cpp='$CPP $CPPFLAGS'
16526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16531 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16532 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 cat >conftest.$ac_ext <<_ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16554 rm -f conftest.$ac_objext
16555 if { (ac_try="$ac_compile"
16556 case "(($ac_try" in
16557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_compile") 2>conftest.er1
16563 grep -v '^ *+' conftest.er1 >conftest.err
16565 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } && {
16568 test -z "$ac_c_werror_flag" ||
16569 test ! -s conftest.err
16570 } && test -s conftest.$ac_objext; then
16571 bakefile_cv_c_compiler___DECC=yes
16573 echo "$as_me: failed program was:" >&5
16574 sed 's/^/| /' conftest.$ac_ext >&5
16576 bakefile_cv_c_compiler___DECC=no
16580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16584 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16585 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16586 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16592 ac_cpp='$CPP $CPPFLAGS'
16593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16605 ac_cpp='$CPP $CPPFLAGS'
16606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16610 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16611 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16612 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 cat >conftest.$ac_ext <<_ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16634 rm -f conftest.$ac_objext
16635 if { (ac_try="$ac_compile"
16636 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16638 *) ac_try_echo=$ac_try;;
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16641 (eval "$ac_compile") 2>conftest.er1
16643 grep -v '^ *+' conftest.er1 >conftest.err
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && {
16648 test -z "$ac_c_werror_flag" ||
16649 test ! -s conftest.err
16650 } && test -s conftest.$ac_objext; then
16651 bakefile_cv_c_compiler___SUNPRO_C=yes
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16656 bakefile_cv_c_compiler___SUNPRO_C=no
16660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16665 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16666 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16672 ac_cpp='$CPP $CPPFLAGS'
16673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16686 ac_cpp='$CPP $CPPFLAGS'
16687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16690 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16691 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16692 # On Suns, sometimes $CPP names a directory.
16693 if test -n "$CPP" && test -d "$CPP"; then
16696 if test -z "$CPP"; then
16697 if test "${ac_cv_prog_CPP+set}" = set; then
16698 echo $ECHO_N "(cached) $ECHO_C" >&6
16700 # Double quotes because CPP needs to be expanded
16701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16703 ac_preproc_ok=false
16704 for ac_c_preproc_warn_flag in '' yes
16706 # Use a header file that comes with gcc, so configuring glibc
16707 # with a fresh cross-compiler works.
16708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16709 # <limits.h> exists even on freestanding compilers.
16710 # On the NeXT, cc -E runs the code through the compiler's parser,
16711 # not just through cpp. "Syntax error" is here to catch this case.
16712 cat >conftest.$ac_ext <<_ACEOF
16715 cat confdefs.h >>conftest.$ac_ext
16716 cat >>conftest.$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16719 # include <limits.h>
16721 # include <assert.h>
16725 if { (ac_try="$ac_cpp conftest.$ac_ext"
16726 case "(($ac_try" in
16727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16728 *) ac_try_echo=$ac_try;;
16730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16733 grep -v '^ *+' conftest.er1 >conftest.err
16735 cat conftest.err >&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } >/dev/null && {
16738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16739 test ! -s conftest.err
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16746 # Broken: fails on valid input.
16750 rm -f conftest.err conftest.$ac_ext
16752 # OK, works on sane cases. Now check whether nonexistent headers
16753 # can be detected and how.
16754 cat >conftest.$ac_ext <<_ACEOF
16757 cat confdefs.h >>conftest.$ac_ext
16758 cat >>conftest.$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16760 #include <ac_nonexistent.h>
16762 if { (ac_try="$ac_cpp conftest.$ac_ext"
16763 case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16770 grep -v '^ *+' conftest.er1 >conftest.err
16772 cat conftest.err >&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } >/dev/null && {
16775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16776 test ! -s conftest.err
16778 # Broken: success on invalid input.
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.$ac_ext >&5
16784 # Passes both tests.
16789 rm -f conftest.err conftest.$ac_ext
16792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16793 rm -f conftest.err conftest.$ac_ext
16794 if $ac_preproc_ok; then
16799 ac_cv_prog_CPP=$CPP
16802 CPP=$ac_cv_prog_CPP
16804 ac_cv_prog_CPP=$CPP
16806 { echo "$as_me:$LINENO: result: $CPP" >&5
16807 echo "${ECHO_T}$CPP" >&6; }
16808 ac_preproc_ok=false
16809 for ac_c_preproc_warn_flag in '' yes
16811 # Use a header file that comes with gcc, so configuring glibc
16812 # with a fresh cross-compiler works.
16813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16814 # <limits.h> exists even on freestanding compilers.
16815 # On the NeXT, cc -E runs the code through the compiler's parser,
16816 # not just through cpp. "Syntax error" is here to catch this case.
16817 cat >conftest.$ac_ext <<_ACEOF
16820 cat confdefs.h >>conftest.$ac_ext
16821 cat >>conftest.$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16824 # include <limits.h>
16826 # include <assert.h>
16830 if { (ac_try="$ac_cpp conftest.$ac_ext"
16831 case "(($ac_try" in
16832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16833 *) ac_try_echo=$ac_try;;
16835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16838 grep -v '^ *+' conftest.er1 >conftest.err
16840 cat conftest.err >&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } >/dev/null && {
16843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16844 test ! -s conftest.err
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16851 # Broken: fails on valid input.
16855 rm -f conftest.err conftest.$ac_ext
16857 # OK, works on sane cases. Now check whether nonexistent headers
16858 # can be detected and how.
16859 cat >conftest.$ac_ext <<_ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 #include <ac_nonexistent.h>
16867 if { (ac_try="$ac_cpp conftest.$ac_ext"
16868 case "(($ac_try" in
16869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16870 *) ac_try_echo=$ac_try;;
16872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16875 grep -v '^ *+' conftest.er1 >conftest.err
16877 cat conftest.err >&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } >/dev/null && {
16880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16881 test ! -s conftest.err
16883 # Broken: success on invalid input.
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.$ac_ext >&5
16889 # Passes both tests.
16894 rm -f conftest.err conftest.$ac_ext
16897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16898 rm -f conftest.err conftest.$ac_ext
16899 if $ac_preproc_ok; then
16902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16903 See \`config.log' for more details." >&5
16904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16905 See \`config.log' for more details." >&2;}
16906 { (exit 1); exit 1; }; }
16910 ac_cpp='$CPP $CPPFLAGS'
16911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16918 if test "${ac_cv_path_GREP+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 # Extract the first word of "grep ggrep" to use in msg output
16922 if test -z "$GREP"; then
16923 set dummy grep ggrep; ac_prog_name=$2
16924 if test "${ac_cv_path_GREP+set}" = set; then
16925 echo $ECHO_N "(cached) $ECHO_C" >&6
16927 ac_path_GREP_found=false
16928 # Loop through the user's path and test for each of PROGNAME-LIST
16929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16933 test -z "$as_dir" && as_dir=.
16934 for ac_prog in grep ggrep; do
16935 for ac_exec_ext in '' $ac_executable_extensions; do
16936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16938 # Check for GNU ac_path_GREP and select it if it is found.
16939 # Check for GNU $ac_path_GREP
16940 case `"$ac_path_GREP" --version 2>&1` in
16942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16948 cat "conftest.in" "conftest.in" >"conftest.tmp"
16949 mv "conftest.tmp" "conftest.in"
16950 cp "conftest.in" "conftest.nl"
16951 echo 'GREP' >> "conftest.nl"
16952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16954 ac_count=`expr $ac_count + 1`
16955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16956 # Best one so far, save it but keep looking for a better one
16957 ac_cv_path_GREP="$ac_path_GREP"
16958 ac_path_GREP_max=$ac_count
16960 # 10*(2^10) chars as input seems more than enough
16961 test $ac_count -gt 10 && break
16963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16967 $ac_path_GREP_found && break 3
16977 GREP="$ac_cv_path_GREP"
16978 if test -z "$GREP"; then
16979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16981 { (exit 1); exit 1; }; }
16985 ac_cv_path_GREP=$GREP
16990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16992 GREP="$ac_cv_path_GREP"
16995 { echo "$as_me:$LINENO: checking for egrep" >&5
16996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16997 if test "${ac_cv_path_EGREP+set}" = set; then
16998 echo $ECHO_N "(cached) $ECHO_C" >&6
17000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17001 then ac_cv_path_EGREP="$GREP -E"
17003 # Extract the first word of "egrep" to use in msg output
17004 if test -z "$EGREP"; then
17005 set dummy egrep; ac_prog_name=$2
17006 if test "${ac_cv_path_EGREP+set}" = set; then
17007 echo $ECHO_N "(cached) $ECHO_C" >&6
17009 ac_path_EGREP_found=false
17010 # Loop through the user's path and test for each of PROGNAME-LIST
17011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17012 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17015 test -z "$as_dir" && as_dir=.
17016 for ac_prog in egrep; do
17017 for ac_exec_ext in '' $ac_executable_extensions; do
17018 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17020 # Check for GNU ac_path_EGREP and select it if it is found.
17021 # Check for GNU $ac_path_EGREP
17022 case `"$ac_path_EGREP" --version 2>&1` in
17024 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17030 cat "conftest.in" "conftest.in" >"conftest.tmp"
17031 mv "conftest.tmp" "conftest.in"
17032 cp "conftest.in" "conftest.nl"
17033 echo 'EGREP' >> "conftest.nl"
17034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17035 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17036 ac_count=`expr $ac_count + 1`
17037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17038 # Best one so far, save it but keep looking for a better one
17039 ac_cv_path_EGREP="$ac_path_EGREP"
17040 ac_path_EGREP_max=$ac_count
17042 # 10*(2^10) chars as input seems more than enough
17043 test $ac_count -gt 10 && break
17045 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17049 $ac_path_EGREP_found && break 3
17059 EGREP="$ac_cv_path_EGREP"
17060 if test -z "$EGREP"; then
17061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17063 { (exit 1); exit 1; }; }
17067 ac_cv_path_EGREP=$EGREP
17073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17075 EGREP="$ac_cv_path_EGREP"
17078 if test $ac_cv_c_compiler_gnu = yes; then
17079 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17080 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17081 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 ac_pattern="Autoconf.*'x'"
17085 cat >conftest.$ac_ext <<_ACEOF
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17095 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17096 ac_cv_prog_gcc_traditional=yes
17098 ac_cv_prog_gcc_traditional=no
17103 if test $ac_cv_prog_gcc_traditional = no; then
17104 cat >conftest.$ac_ext <<_ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 #include <termio.h>
17113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17114 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17115 ac_cv_prog_gcc_traditional=yes
17121 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17122 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17123 if test $ac_cv_prog_gcc_traditional = yes; then
17124 CC="$CC -traditional"
17129 CXXFLAGS=${CXXFLAGS:=}
17131 ac_cpp='$CXXCPP $CPPFLAGS'
17132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17135 if test -z "$CXX"; then
17136 if test -n "$CCC"; then
17139 if test -n "$ac_tool_prefix"; then
17140 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17146 if test "${ac_cv_prog_CXX+set}" = set; then
17147 echo $ECHO_N "(cached) $ECHO_C" >&6
17149 if test -n "$CXX"; then
17150 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17153 for as_dir in $PATH
17156 test -z "$as_dir" && as_dir=.
17157 for ac_exec_ext in '' $ac_executable_extensions; do
17158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17159 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17169 CXX=$ac_cv_prog_CXX
17170 if test -n "$CXX"; then
17171 { echo "$as_me:$LINENO: result: $CXX" >&5
17172 echo "${ECHO_T}$CXX" >&6; }
17174 { echo "$as_me:$LINENO: result: no" >&5
17175 echo "${ECHO_T}no" >&6; }
17179 test -n "$CXX" && break
17182 if test -z "$CXX"; then
17184 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17186 # Extract the first word of "$ac_prog", so it can be a program name with args.
17187 set dummy $ac_prog; ac_word=$2
17188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17190 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17191 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 if test -n "$ac_ct_CXX"; then
17194 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17197 for as_dir in $PATH
17200 test -z "$as_dir" && as_dir=.
17201 for ac_exec_ext in '' $ac_executable_extensions; do
17202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17203 ac_cv_prog_ac_ct_CXX="$ac_prog"
17204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17213 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17214 if test -n "$ac_ct_CXX"; then
17215 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17216 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17218 { echo "$as_me:$LINENO: result: no" >&5
17219 echo "${ECHO_T}no" >&6; }
17223 test -n "$ac_ct_CXX" && break
17226 if test "x$ac_ct_CXX" = x; then
17229 case $cross_compiling:$ac_tool_warned in
17231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17232 whose name does not start with the host triplet. If you think this
17233 configuration is useful to you, please write to autoconf@gnu.org." >&5
17234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17235 whose name does not start with the host triplet. If you think this
17236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17237 ac_tool_warned=yes ;;
17245 # Provide some information about the compiler.
17246 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17247 ac_compiler=`set X $ac_compile; echo $2`
17248 { (ac_try="$ac_compiler --version >&5"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compiler --version >&5") 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }
17258 { (ac_try="$ac_compiler -v >&5"
17259 case "(($ac_try" in
17260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17261 *) ac_try_echo=$ac_try;;
17263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17264 (eval "$ac_compiler -v >&5") 2>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }
17268 { (ac_try="$ac_compiler -V >&5"
17269 case "(($ac_try" in
17270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17271 *) ac_try_echo=$ac_try;;
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_compiler -V >&5") 2>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); }
17279 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17280 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17281 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 cat >conftest.$ac_ext <<_ACEOF
17287 cat confdefs.h >>conftest.$ac_ext
17288 cat >>conftest.$ac_ext <<_ACEOF
17289 /* end confdefs.h. */
17302 rm -f conftest.$ac_objext
17303 if { (ac_try="$ac_compile"
17304 case "(($ac_try" in
17305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17306 *) ac_try_echo=$ac_try;;
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17309 (eval "$ac_compile") 2>conftest.er1
17311 grep -v '^ *+' conftest.er1 >conftest.err
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } && {
17316 test -z "$ac_cxx_werror_flag" ||
17317 test ! -s conftest.err
17318 } && test -s conftest.$ac_objext; then
17319 ac_compiler_gnu=yes
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.$ac_ext >&5
17327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17328 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17331 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17332 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17333 GXX=`test $ac_compiler_gnu = yes && echo yes`
17334 ac_test_CXXFLAGS=${CXXFLAGS+set}
17335 ac_save_CXXFLAGS=$CXXFLAGS
17336 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17337 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17338 if test "${ac_cv_prog_cxx_g+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17341 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17342 ac_cxx_werror_flag=yes
17343 ac_cv_prog_cxx_g=no
17345 cat >conftest.$ac_ext <<_ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17360 rm -f conftest.$ac_objext
17361 if { (ac_try="$ac_compile"
17362 case "(($ac_try" in
17363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17364 *) ac_try_echo=$ac_try;;
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_compile") 2>conftest.er1
17369 grep -v '^ *+' conftest.er1 >conftest.err
17371 cat conftest.err >&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } && {
17374 test -z "$ac_cxx_werror_flag" ||
17375 test ! -s conftest.err
17376 } && test -s conftest.$ac_objext; then
17377 ac_cv_prog_cxx_g=yes
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.$ac_ext >&5
17383 cat >conftest.$ac_ext <<_ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17398 rm -f conftest.$ac_objext
17399 if { (ac_try="$ac_compile"
17400 case "(($ac_try" in
17401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17402 *) ac_try_echo=$ac_try;;
17404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17405 (eval "$ac_compile") 2>conftest.er1
17407 grep -v '^ *+' conftest.er1 >conftest.err
17409 cat conftest.err >&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } && {
17412 test -z "$ac_cxx_werror_flag" ||
17413 test ! -s conftest.err
17414 } && test -s conftest.$ac_objext; then
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.$ac_ext >&5
17420 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17422 cat >conftest.$ac_ext <<_ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17437 rm -f conftest.$ac_objext
17438 if { (ac_try="$ac_compile"
17439 case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_compile") 2>conftest.er1
17446 grep -v '^ *+' conftest.er1 >conftest.err
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_cxx_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest.$ac_objext; then
17454 ac_cv_prog_cxx_g=yes
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17471 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17472 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17473 if test "$ac_test_CXXFLAGS" = set; then
17474 CXXFLAGS=$ac_save_CXXFLAGS
17475 elif test $ac_cv_prog_cxx_g = yes; then
17476 if test "$GXX" = yes; then
17482 if test "$GXX" = yes; then
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17502 ac_cpp='$CXXCPP $CPPFLAGS'
17503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17507 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17508 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17509 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17510 echo $ECHO_N "(cached) $ECHO_C" >&6
17512 cat >conftest.$ac_ext <<_ACEOF
17515 cat confdefs.h >>conftest.$ac_ext
17516 cat >>conftest.$ac_ext <<_ACEOF
17517 /* end confdefs.h. */
17523 #ifndef __INTEL_COMPILER
17531 rm -f conftest.$ac_objext
17532 if { (ac_try="$ac_compile"
17533 case "(($ac_try" in
17534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17535 *) ac_try_echo=$ac_try;;
17537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17538 (eval "$ac_compile") 2>conftest.er1
17540 grep -v '^ *+' conftest.er1 >conftest.err
17542 cat conftest.err >&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); } && {
17545 test -z "$ac_cxx_werror_flag" ||
17546 test ! -s conftest.err
17547 } && test -s conftest.$ac_objext; then
17548 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.$ac_ext >&5
17553 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17561 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17562 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17563 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17569 ac_cpp='$CPP $CPPFLAGS'
17570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17577 if test "$INTELCXX" = "yes"; then
17581 ac_cpp='$CXXCPP $CPPFLAGS'
17582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17586 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17587 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17588 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 cat >conftest.$ac_ext <<_ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17602 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17610 rm -f conftest.$ac_objext
17611 if { (ac_try="$ac_compile"
17612 case "(($ac_try" in
17613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17614 *) ac_try_echo=$ac_try;;
17616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17617 (eval "$ac_compile") 2>conftest.er1
17619 grep -v '^ *+' conftest.er1 >conftest.err
17621 cat conftest.err >&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } && {
17624 test -z "$ac_cxx_werror_flag" ||
17625 test ! -s conftest.err
17626 } && test -s conftest.$ac_objext; then
17627 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.$ac_ext >&5
17632 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17640 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17641 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17642 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17648 ac_cpp='$CPP $CPPFLAGS'
17649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17658 ac_cpp='$CXXCPP $CPPFLAGS'
17659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17663 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17664 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17665 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17666 echo $ECHO_N "(cached) $ECHO_C" >&6
17668 cat >conftest.$ac_ext <<_ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17679 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17687 rm -f conftest.$ac_objext
17688 if { (ac_try="$ac_compile"
17689 case "(($ac_try" in
17690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17691 *) ac_try_echo=$ac_try;;
17693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17694 (eval "$ac_compile") 2>conftest.er1
17696 grep -v '^ *+' conftest.er1 >conftest.err
17698 cat conftest.err >&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } && {
17701 test -z "$ac_cxx_werror_flag" ||
17702 test ! -s conftest.err
17703 } && test -s conftest.$ac_objext; then
17704 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17706 echo "$as_me: failed program was:" >&5
17707 sed 's/^/| /' conftest.$ac_ext >&5
17709 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17717 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17718 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17719 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17725 ac_cpp='$CPP $CPPFLAGS'
17726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17734 if test "x$GCXX" != "xyes"; then
17735 if test "xCXX" = "xC"; then
17736 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17737 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17738 if test "${bakefile_cv_c_exto+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17741 cat >conftest.$ac_ext <<_ACEOF
17744 cat confdefs.h >>conftest.$ac_ext
17745 cat >>conftest.$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17756 rm -f conftest.$ac_objext conftest.$ac_ext.o
17757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758 (eval $ac_compile) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; then
17762 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17764 conftest.$ac_ext.o)
17765 bakefile_cv_c_exto="-ext o"
17772 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17773 See \`config.log' for more details." >&5
17774 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17775 See \`config.log' for more details." >&2;}
17776 { (exit 1); exit 1; }; }
17780 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17783 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17784 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17785 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17786 if test "c" = "c"; then
17787 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17789 if test "c" = "cxx"; then
17790 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17794 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17795 unset ac_cv_prog_cc_g
17796 ac_test_CFLAGS=${CFLAGS+set}
17797 ac_save_CFLAGS=$CFLAGS
17798 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17799 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17800 if test "${ac_cv_prog_cc_g+set}" = set; then
17801 echo $ECHO_N "(cached) $ECHO_C" >&6
17803 ac_save_c_werror_flag=$ac_c_werror_flag
17804 ac_c_werror_flag=yes
17807 cat >conftest.$ac_ext <<_ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17822 rm -f conftest.$ac_objext
17823 if { (ac_try="$ac_compile"
17824 case "(($ac_try" in
17825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17826 *) ac_try_echo=$ac_try;;
17828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17829 (eval "$ac_compile") 2>conftest.er1
17831 grep -v '^ *+' conftest.er1 >conftest.err
17833 cat conftest.err >&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } && {
17836 test -z "$ac_c_werror_flag" ||
17837 test ! -s conftest.err
17838 } && test -s conftest.$ac_objext; then
17839 ac_cv_prog_cc_g=yes
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17845 cat >conftest.$ac_ext <<_ACEOF
17848 cat confdefs.h >>conftest.$ac_ext
17849 cat >>conftest.$ac_ext <<_ACEOF
17850 /* end confdefs.h. */
17860 rm -f conftest.$ac_objext
17861 if { (ac_try="$ac_compile"
17862 case "(($ac_try" in
17863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17864 *) ac_try_echo=$ac_try;;
17866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17867 (eval "$ac_compile") 2>conftest.er1
17869 grep -v '^ *+' conftest.er1 >conftest.err
17871 cat conftest.err >&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } && {
17874 test -z "$ac_c_werror_flag" ||
17875 test ! -s conftest.err
17876 } && test -s conftest.$ac_objext; then
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.$ac_ext >&5
17882 ac_c_werror_flag=$ac_save_c_werror_flag
17884 cat >conftest.$ac_ext <<_ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17899 rm -f conftest.$ac_objext
17900 if { (ac_try="$ac_compile"
17901 case "(($ac_try" in
17902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17903 *) ac_try_echo=$ac_try;;
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906 (eval "$ac_compile") 2>conftest.er1
17908 grep -v '^ *+' conftest.er1 >conftest.err
17910 cat conftest.err >&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } && {
17913 test -z "$ac_c_werror_flag" ||
17914 test ! -s conftest.err
17915 } && test -s conftest.$ac_objext; then
17916 ac_cv_prog_cc_g=yes
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931 ac_c_werror_flag=$ac_save_c_werror_flag
17933 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17934 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17935 if test "$ac_test_CFLAGS" = set; then
17936 CFLAGS=$ac_save_CFLAGS
17937 elif test $ac_cv_prog_cc_g = yes; then
17938 if test "$GCC" = yes; then
17944 if test "$GCC" = yes; then
17958 ac_cpp='$CXXCPP $CPPFLAGS'
17959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17963 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17964 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17965 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 cat >conftest.$ac_ext <<_ACEOF
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17987 rm -f conftest.$ac_objext
17988 if { (ac_try="$ac_compile"
17989 case "(($ac_try" in
17990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17991 *) ac_try_echo=$ac_try;;
17993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17994 (eval "$ac_compile") 2>conftest.er1
17996 grep -v '^ *+' conftest.er1 >conftest.err
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } && {
18001 test -z "$ac_cxx_werror_flag" ||
18002 test ! -s conftest.err
18003 } && test -s conftest.$ac_objext; then
18004 bakefile_cv_cxx_compiler___xlC__=yes
18006 echo "$as_me: failed program was:" >&5
18007 sed 's/^/| /' conftest.$ac_ext >&5
18009 bakefile_cv_cxx_compiler___xlC__=no
18013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18017 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18018 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18019 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18025 ac_cpp='$CPP $CPPFLAGS'
18026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18038 ac_cpp='$CXXCPP $CPPFLAGS'
18039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18043 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18044 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18045 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 cat >conftest.$ac_ext <<_ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18067 rm -f conftest.$ac_objext
18068 if { (ac_try="$ac_compile"
18069 case "(($ac_try" in
18070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18071 *) ac_try_echo=$ac_try;;
18073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18074 (eval "$ac_compile") 2>conftest.er1
18076 grep -v '^ *+' conftest.er1 >conftest.err
18078 cat conftest.err >&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } && {
18081 test -z "$ac_cxx_werror_flag" ||
18082 test ! -s conftest.err
18083 } && test -s conftest.$ac_objext; then
18084 bakefile_cv_cxx_compiler___MWERKS__=yes
18086 echo "$as_me: failed program was:" >&5
18087 sed 's/^/| /' conftest.$ac_ext >&5
18089 bakefile_cv_cxx_compiler___MWERKS__=no
18093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18097 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18098 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18099 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18105 ac_cpp='$CPP $CPPFLAGS'
18106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18112 if test "$MWCXX" != "yes"; then
18116 ac_cpp='$CXXCPP $CPPFLAGS'
18117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18121 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18122 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18123 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18126 cat >conftest.$ac_ext <<_ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18145 rm -f conftest.$ac_objext
18146 if { (ac_try="$ac_compile"
18147 case "(($ac_try" in
18148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18149 *) ac_try_echo=$ac_try;;
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_compile") 2>conftest.er1
18154 grep -v '^ *+' conftest.er1 >conftest.err
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && {
18159 test -z "$ac_cxx_werror_flag" ||
18160 test ! -s conftest.err
18161 } && test -s conftest.$ac_objext; then
18162 bakefile_cv_cxx_compiler___xlC__=yes
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18167 bakefile_cv_cxx_compiler___xlC__=no
18171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18175 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18176 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18177 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18183 ac_cpp='$CPP $CPPFLAGS'
18184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18197 ac_cpp='$CXXCPP $CPPFLAGS'
18198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18202 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18203 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18204 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18207 cat >conftest.$ac_ext <<_ACEOF
18210 cat confdefs.h >>conftest.$ac_ext
18211 cat >>conftest.$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18218 #ifndef _SGI_COMPILER_VERSION
18226 rm -f conftest.$ac_objext
18227 if { (ac_try="$ac_compile"
18228 case "(($ac_try" in
18229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18230 *) ac_try_echo=$ac_try;;
18232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18233 (eval "$ac_compile") 2>conftest.er1
18235 grep -v '^ *+' conftest.er1 >conftest.err
18237 cat conftest.err >&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } && {
18240 test -z "$ac_cxx_werror_flag" ||
18241 test ! -s conftest.err
18242 } && test -s conftest.$ac_objext; then
18243 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18248 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18257 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18258 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18264 ac_cpp='$CPP $CPPFLAGS'
18265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18274 if test "$INTELCXX" != "yes"; then
18278 ac_cpp='$CXXCPP $CPPFLAGS'
18279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18283 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18284 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18285 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18288 cat >conftest.$ac_ext <<_ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18299 #ifndef __SUNPRO_CC
18307 rm -f conftest.$ac_objext
18308 if { (ac_try="$ac_compile"
18309 case "(($ac_try" in
18310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18311 *) ac_try_echo=$ac_try;;
18313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18314 (eval "$ac_compile") 2>conftest.er1
18316 grep -v '^ *+' conftest.er1 >conftest.err
18318 cat conftest.err >&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } && {
18321 test -z "$ac_cxx_werror_flag" ||
18322 test ! -s conftest.err
18323 } && test -s conftest.$ac_objext; then
18324 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18326 echo "$as_me: failed program was:" >&5
18327 sed 's/^/| /' conftest.$ac_ext >&5
18329 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18337 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18338 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18339 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18345 ac_cpp='$CPP $CPPFLAGS'
18346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18359 ac_cpp='$CXXCPP $CPPFLAGS'
18360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18364 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18365 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18366 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18367 echo $ECHO_N "(cached) $ECHO_C" >&6
18369 cat >conftest.$ac_ext <<_ACEOF
18372 cat confdefs.h >>conftest.$ac_ext
18373 cat >>conftest.$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18388 rm -f conftest.$ac_objext
18389 if { (ac_try="$ac_compile"
18390 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_compile") 2>conftest.er1
18397 grep -v '^ *+' conftest.er1 >conftest.err
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_cxx_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest.$ac_objext; then
18405 bakefile_cv_cxx_compiler___HP_aCC=yes
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18410 bakefile_cv_cxx_compiler___HP_aCC=no
18414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18418 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18419 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18420 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18426 ac_cpp='$CPP $CPPFLAGS'
18427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18439 ac_cpp='$CXXCPP $CPPFLAGS'
18440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18444 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18445 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18446 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18449 cat >conftest.$ac_ext <<_ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18468 rm -f conftest.$ac_objext
18469 if { (ac_try="$ac_compile"
18470 case "(($ac_try" in
18471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18472 *) ac_try_echo=$ac_try;;
18474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 (eval "$ac_compile") 2>conftest.er1
18477 grep -v '^ *+' conftest.er1 >conftest.err
18479 cat conftest.err >&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } && {
18482 test -z "$ac_cxx_werror_flag" ||
18483 test ! -s conftest.err
18484 } && test -s conftest.$ac_objext; then
18485 bakefile_cv_cxx_compiler___DECCXX=yes
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.$ac_ext >&5
18490 bakefile_cv_cxx_compiler___DECCXX=no
18494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18499 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18500 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18506 ac_cpp='$CPP $CPPFLAGS'
18507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18519 ac_cpp='$CXXCPP $CPPFLAGS'
18520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18524 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18525 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18526 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18527 echo $ECHO_N "(cached) $ECHO_C" >&6
18529 cat >conftest.$ac_ext <<_ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18540 #ifndef __SUNPRO_CC
18548 rm -f conftest.$ac_objext
18549 if { (ac_try="$ac_compile"
18550 case "(($ac_try" in
18551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18552 *) ac_try_echo=$ac_try;;
18554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18555 (eval "$ac_compile") 2>conftest.er1
18557 grep -v '^ *+' conftest.er1 >conftest.err
18559 cat conftest.err >&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } && {
18562 test -z "$ac_cxx_werror_flag" ||
18563 test ! -s conftest.err
18564 } && test -s conftest.$ac_objext; then
18565 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18567 echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.$ac_ext >&5
18570 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18578 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18579 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18580 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18586 ac_cpp='$CPP $CPPFLAGS'
18587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18599 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18600 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18601 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18602 { (exit 1); exit 1; }; }
18605 if test "x$SUNCXX" != xyes; then
18606 if test -n "$ac_tool_prefix"; then
18607 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18608 set dummy ${ac_tool_prefix}ar; ac_word=$2
18609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18611 if test "${ac_cv_prog_AR+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18614 if test -n "$AR"; then
18615 ac_cv_prog_AR="$AR" # Let the user override the test.
18617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18618 for as_dir in $PATH
18621 test -z "$as_dir" && as_dir=.
18622 for ac_exec_ext in '' $ac_executable_extensions; do
18623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18624 ac_cv_prog_AR="${ac_tool_prefix}ar"
18625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18635 if test -n "$AR"; then
18636 { echo "$as_me:$LINENO: result: $AR" >&5
18637 echo "${ECHO_T}$AR" >&6; }
18639 { echo "$as_me:$LINENO: result: no" >&5
18640 echo "${ECHO_T}no" >&6; }
18645 if test -z "$ac_cv_prog_AR"; then
18647 # Extract the first word of "ar", so it can be a program name with args.
18648 set dummy ar; ac_word=$2
18649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18651 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18652 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 if test -n "$ac_ct_AR"; then
18655 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18658 for as_dir in $PATH
18661 test -z "$as_dir" && as_dir=.
18662 for ac_exec_ext in '' $ac_executable_extensions; do
18663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18664 ac_cv_prog_ac_ct_AR="ar"
18665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18674 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18675 if test -n "$ac_ct_AR"; then
18676 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18677 echo "${ECHO_T}$ac_ct_AR" >&6; }
18679 { echo "$as_me:$LINENO: result: no" >&5
18680 echo "${ECHO_T}no" >&6; }
18683 if test "x$ac_ct_AR" = x; then
18686 case $cross_compiling:$ac_tool_warned in
18688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18689 whose name does not start with the host triplet. If you think this
18690 configuration is useful to you, please write to autoconf@gnu.org." >&5
18691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18692 whose name does not start with the host triplet. If you think this
18693 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18694 ac_tool_warned=yes ;;
18699 AR="$ac_cv_prog_AR"
18702 if test "x$AR" = "x" ; then
18703 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18704 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18705 { (exit 1); exit 1; }; }
18710 if test "$wxUSE_MAC" = 1; then
18712 retest_macosx_linking=no
18715 if test "x$wxUSE_MAC_ARCH" != xno; then
18716 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18719 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18720 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18721 # Implicitly turn on the new --with-macosx-sdk using the default
18722 # SDK which provides the behaviour this option has always had.
18723 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18724 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18725 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18726 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18727 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18728 wxUSE_MACOSX_SDK=yes
18731 # Complain to user if he specified an argument to --enable-universal_binary
18732 # and also 1) specified --with-macosx-sdk using the default (yes) or
18733 # 2) specified --with-macosx-sdk using a path or 3) specified
18734 # --without-macosx-sdk (no).
18735 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18736 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18737 See \`config.log' for more details." >&5
18738 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18739 See \`config.log' for more details." >&2;}
18740 { (exit 1); exit 1; }; }
18742 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18743 # special-case the empty string because the below test simply
18744 # converts "no" to the empty string anyway.
18745 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18746 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18747 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18750 OSX_ARCH_OPTS="-arch ppc -arch i386"
18751 if test "$wxUSE_OSX_COCOA" = 1; then
18752 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18754 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18755 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18756 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18757 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18759 retest_macosx_linking=yes
18761 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18762 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18766 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18767 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18768 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18769 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18770 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18772 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18774 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18775 # TODO: Search for most recent SDK and use it.
18776 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18780 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18781 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18782 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18783 if ! test -d "$wxUSE_MACOSX_SDK"; then
18784 { { echo "$as_me:$LINENO: error: not found
18785 See \`config.log' for more details." >&5
18786 echo "$as_me: error: not found
18787 See \`config.log' for more details." >&2;}
18788 { (exit 1); exit 1; }; }
18790 { echo "$as_me:$LINENO: result: exists" >&5
18791 echo "${ECHO_T}exists" >&6; }
18793 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18794 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18795 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18796 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18797 retest_macosx_linking=yes
18800 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18801 wxUSE_MACOSX_VERSION_MIN=
18802 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18803 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18804 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18805 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18807 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/'`
18809 # If that failed, try again with the new key
18810 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18812 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/'`
18816 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18817 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18818 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18819 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18821 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18822 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18823 wxUSE_MACOSX_VERSION_MIN=
18826 wxUSE_MACOSX_VERSION_MIN=
18828 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18829 for ac_prog in sw_vers
18831 # Extract the first word of "$ac_prog", so it can be a program name with args.
18832 set dummy $ac_prog; ac_word=$2
18833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18835 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 if test -n "$OSX_SW_VERS"; then
18839 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18842 for as_dir in $PATH
18845 test -z "$as_dir" && as_dir=.
18846 for ac_exec_ext in '' $ac_executable_extensions; do
18847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18848 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18858 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18859 if test -n "$OSX_SW_VERS"; then
18860 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18861 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18863 { echo "$as_me:$LINENO: result: no" >&5
18864 echo "${ECHO_T}no" >&6; }
18868 test -n "$OSX_SW_VERS" && break
18871 if test "$OSX_SW_VERS" != ""; then
18872 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18874 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18875 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18879 case "$OSX_VERSION" in
18881 wxUSE_MACOSX_VERSION_MIN=10.4
18885 if test "$wxUSE_OSX_CARBON" = 1; then
18886 # otherwise configure stops on leopard for universal_binary
18887 wxUSE_MACOSX_VERSION_MIN=10.4
18889 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18890 wxUSE_MACOSX_VERSION_MIN=10.5
18897 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18901 if test "$wxUSE_OSX_CARBON" = 1; then
18905 if test "x$NEEDS_GCC40" == "xyes"; then
18906 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18907 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18908 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18909 if test "x$CC" = "xgcc"; then
18910 CCVERSION=`$CC --version | grep 4.[2-9].`
18911 if test "x$CCVERSION" != "x"; then
18912 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18913 CC="/usr/bin/gcc-4.0"
18917 if test "x$CXX" = "xg++"; then
18918 CCVERSION=`$CXX --version | grep 4.[2-9].`
18919 if test "x$CCVERSION" != "x"; then
18920 CXX="/usr/bin/g++-4.0"
18925 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18926 if test "$wxUSE_OSX_IPHONE" = 1; then
18927 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18929 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18931 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18932 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18933 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18934 retest_macosx_linking=yes
18937 if test "x$retest_macosx_linking" = "xyes"; then
18939 ac_cpp='$CPP $CPPFLAGS'
18940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18944 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18945 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18946 cat >conftest.$ac_ext <<_ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18961 rm -f conftest.$ac_objext conftest$ac_exeext
18962 if { (ac_try="$ac_link"
18963 case "(($ac_try" in
18964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18965 *) ac_try_echo=$ac_try;;
18967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18968 (eval "$ac_link") 2>conftest.er1
18970 grep -v '^ *+' conftest.er1 >conftest.err
18972 cat conftest.err >&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); } && {
18975 test -z "$ac_c_werror_flag" ||
18976 test ! -s conftest.err
18977 } && test -s conftest$ac_exeext &&
18978 $as_test_x conftest$ac_exeext; then
18979 { echo "$as_me:$LINENO: result: yes" >&5
18980 echo "${ECHO_T}yes" >&6; }
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.$ac_ext >&5
18985 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18986 See \`config.log' for more details." >&5
18987 echo "$as_me: error: no. Try a different SDK
18988 See \`config.log' for more details." >&2;}
18989 { (exit 1); exit 1; }; }; exit 1
18992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18993 conftest$ac_exeext conftest.$ac_ext
18995 ac_cpp='$CPP $CPPFLAGS'
18996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19002 ac_cpp='$CXXCPP $CPPFLAGS'
19003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19007 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19008 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19009 cat >conftest.$ac_ext <<_ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19024 rm -f conftest.$ac_objext conftest$ac_exeext
19025 if { (ac_try="$ac_link"
19026 case "(($ac_try" in
19027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19028 *) ac_try_echo=$ac_try;;
19030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19031 (eval "$ac_link") 2>conftest.er1
19033 grep -v '^ *+' conftest.er1 >conftest.err
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } && {
19038 test -z "$ac_cxx_werror_flag" ||
19039 test ! -s conftest.err
19040 } && test -s conftest$ac_exeext &&
19041 $as_test_x conftest$ac_exeext; then
19042 { echo "$as_me:$LINENO: result: yes" >&5
19043 echo "${ECHO_T}yes" >&6; }
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.$ac_ext >&5
19048 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19049 See \`config.log' for more details." >&5
19050 echo "$as_me: error: no. Try a different SDK
19051 See \`config.log' for more details." >&2;}
19052 { (exit 1); exit 1; }; }; exit 1
19055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19056 conftest$ac_exeext conftest.$ac_ext
19058 ac_cpp='$CPP $CPPFLAGS'
19059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19069 INSTALL_PROGRAM="cp -fp"
19070 INSTALL_DATA="cp -fp"
19077 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19078 CXXFLAGS="-qunique $CXXFLAGS"
19082 powerpc-*-darwin* )
19083 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19084 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19085 cat >conftest.$ac_ext <<_ACEOF
19088 cat confdefs.h >>conftest.$ac_ext
19089 cat >>conftest.$ac_ext <<_ACEOF
19090 /* end confdefs.h. */
19095 #ifndef __POWERPC__
19096 choke me for lack of PowerPC
19103 rm -f conftest.$ac_objext
19104 if { (ac_try="$ac_compile"
19105 case "(($ac_try" in
19106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19107 *) ac_try_echo=$ac_try;;
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_compile") 2>conftest.er1
19112 grep -v '^ *+' conftest.er1 >conftest.err
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } && {
19117 test -z "$ac_c_werror_flag" ||
19118 test ! -s conftest.err
19119 } && test -s conftest.$ac_objext; then
19120 { echo "$as_me:$LINENO: result: yes" >&5
19121 echo "${ECHO_T}yes" >&6; }
19123 echo "$as_me: failed program was:" >&5
19124 sed 's/^/| /' conftest.$ac_ext >&5
19126 { echo "$as_me:$LINENO: result: no" >&5
19127 echo "${ECHO_T}no" >&6; }
19128 cat >>confdefs.h <<\_ACEOF
19129 #define __POWERPC__ 1
19135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19142 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19143 cat >conftest.$ac_ext <<_ACEOF
19146 cat confdefs.h >>conftest.$ac_ext
19147 cat >>conftest.$ac_ext <<_ACEOF
19148 /* end confdefs.h. */
19149 #include <CoreFoundation/CFBase.h>
19159 rm -f conftest.$ac_objext
19160 if { (ac_try="$ac_compile"
19161 case "(($ac_try" in
19162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19163 *) ac_try_echo=$ac_try;;
19165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19166 (eval "$ac_compile") 2>conftest.er1
19168 grep -v '^ *+' conftest.er1 >conftest.err
19170 cat conftest.err >&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } && {
19173 test -z "$ac_c_werror_flag" ||
19174 test ! -s conftest.err
19175 } && test -s conftest.$ac_objext; then
19176 { echo "$as_me:$LINENO: result: yes" >&5
19177 echo "${ECHO_T}yes" >&6; }
19179 echo "$as_me: failed program was:" >&5
19180 sed 's/^/| /' conftest.$ac_ext >&5
19182 { echo "$as_me:$LINENO: result: no" >&5
19183 echo "${ECHO_T}no" >&6; }
19184 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19185 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19186 cat >conftest.$ac_ext <<_ACEOF
19189 cat confdefs.h >>conftest.$ac_ext
19190 cat >>conftest.$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19192 #define __CF_USE_FRAMEWORK_INCLUDES__
19193 #include <CoreFoundation/CFBase.h>
19203 rm -f conftest.$ac_objext
19204 if { (ac_try="$ac_compile"
19205 case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_compile") 2>conftest.er1
19212 grep -v '^ *+' conftest.er1 >conftest.err
19214 cat conftest.err >&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } && {
19217 test -z "$ac_c_werror_flag" ||
19218 test ! -s conftest.err
19219 } && test -s conftest.$ac_objext; then
19220 { echo "$as_me:$LINENO: result: yes" >&5
19221 echo "${ECHO_T}yes" >&6; }
19222 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19227 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19228 See \`config.log' for more details." >&5
19229 echo "$as_me: error: no. CoreFoundation not available.
19230 See \`config.log' for more details." >&2;}
19231 { (exit 1); exit 1; }; }
19235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19245 doesnt_want_win32=0
19248 if test "$wxUSE_MSW" = 1 ; then
19251 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19252 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19253 if test "${wx_cv_nocygwin+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19257 cat >conftest.$ac_ext <<_ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19276 rm -f conftest.$ac_objext
19277 if { (ac_try="$ac_compile"
19278 case "(($ac_try" in
19279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_compile") 2>conftest.er1
19285 grep -v '^ *+' conftest.er1 >conftest.err
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } && {
19290 test -z "$ac_c_werror_flag" ||
19291 test ! -s conftest.err
19292 } && test -s conftest.$ac_objext; then
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19306 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19307 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19309 if test "$wx_cv_nocygwin" = "yes"; then
19312 doesnt_want_win32=1
19315 if test "$wants_win32" = 1 ; then
19316 BAKEFILE_FORCE_PLATFORM=win32
19324 if test "$wxUSE_WINE" = "yes"; then
19326 LDFLAGS_GUI="-mwindows"
19329 if test "$wants_win32" = 1 ; then
19332 cat >>confdefs.h <<\_ACEOF
19333 #define __WIN32__ 1
19336 cat >>confdefs.h <<\_ACEOF
19337 #define __WIN95__ 1
19340 cat >>confdefs.h <<\_ACEOF
19341 #define __WINDOWS__ 1
19344 cat >>confdefs.h <<\_ACEOF
19345 #define __GNUWIN32__ 1
19348 cat >>confdefs.h <<\_ACEOF
19353 if test "$doesnt_want_win32" = 1 ; then
19358 if test "$USE_UNIX" = 1 ; then
19360 cat >>confdefs.h <<\_ACEOF
19367 *-pc-os2_emx | *-pc-os2-emx )
19368 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19369 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19370 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19371 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 ac_check_lib_save_LIBS=$LIBS
19375 LIBS="-lcExt $LIBS"
19376 cat >conftest.$ac_ext <<_ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19383 /* Override any GCC internal prototype to avoid an error.
19384 Use char because int might match the return type of a GCC
19385 builtin and then its argument prototype would still apply. */
19398 rm -f conftest.$ac_objext conftest$ac_exeext
19399 if { (ac_try="$ac_link"
19400 case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_link") 2>conftest.er1
19407 grep -v '^ *+' conftest.er1 >conftest.err
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_c_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest$ac_exeext &&
19415 $as_test_x conftest$ac_exeext; then
19416 ac_cv_lib_cExt_drand48=yes
19418 echo "$as_me: failed program was:" >&5
19419 sed 's/^/| /' conftest.$ac_ext >&5
19421 ac_cv_lib_cExt_drand48=no
19424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19425 conftest$ac_exeext conftest.$ac_ext
19426 LIBS=$ac_check_lib_save_LIBS
19428 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19429 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19430 if test $ac_cv_lib_cExt_drand48 = yes; then
19431 LIBS="$LIBS -lcExt"
19435 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19437 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19438 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19439 if test "${wx_cv_gccversion+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19443 if test "$cross_compiling" = yes; then
19444 wx_cv_gccversion="EMX2"
19447 cat >conftest.$ac_ext <<_ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19458 FILE *f=fopen("conftestval", "w");
19463 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19465 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19475 rm -f conftest$ac_exeext
19476 if { (ac_try="$ac_link"
19477 case "(($ac_try" in
19478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19479 *) ac_try_echo=$ac_try;;
19481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19482 (eval "$ac_link") 2>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19486 { (case "(($ac_try" in
19487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_try") 2>&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); }; }; then
19495 wx_cv_gccversion=`cat conftestval`
19497 echo "$as_me: program exited with status $ac_status" >&5
19498 echo "$as_me: failed program was:" >&5
19499 sed 's/^/| /' conftest.$ac_ext >&5
19501 ( exit $ac_status )
19502 wx_cv_gccversion="EMX2"
19504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19510 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19511 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19512 if test "$wx_cv_gccversion" = "EMX2"; then
19513 LIBS="$LIBS -lstdcpp"
19514 LDFLAGS="$LDFLAGS -Zsysv-signals"
19516 if test "$wx_cv_gccversion" = "EMX3"; then
19517 LIBS="$LIBS -lstdcxx -lgcc"
19518 LDFLAGS="$LDFLAGS -Zsysv-signals"
19520 LIBS="$LIBS -lstdc++"
19523 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19524 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19525 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19532 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19533 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19534 if test "${ac_cv_string_strcasecmp+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19538 cat >conftest.$ac_ext <<_ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19545 #include <string.h>
19551 strcasecmp("foo", "bar");
19557 rm -f conftest.$ac_objext conftest$ac_exeext
19558 if { (ac_try="$ac_link"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_link") 2>conftest.er1
19566 grep -v '^ *+' conftest.er1 >conftest.err
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest$ac_exeext &&
19574 $as_test_x conftest$ac_exeext; then
19575 ac_cv_string_strcasecmp=yes
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19580 ac_cv_string_strcasecmp=no
19584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19585 conftest$ac_exeext conftest.$ac_ext
19588 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19589 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19591 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19592 cat >>confdefs.h <<\_ACEOF
19593 #define HAVE_STRCASECMP_IN_STRING_H 1
19597 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19598 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19599 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 cat >conftest.$ac_ext <<_ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19610 #include <strings.h>
19616 strcasecmp("foo", "bar");
19622 rm -f conftest.$ac_objext conftest$ac_exeext
19623 if { (ac_try="$ac_link"
19624 case "(($ac_try" in
19625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19626 *) ac_try_echo=$ac_try;;
19628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19629 (eval "$ac_link") 2>conftest.er1
19631 grep -v '^ *+' conftest.er1 >conftest.err
19633 cat conftest.err >&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); } && {
19636 test -z "$ac_c_werror_flag" ||
19637 test ! -s conftest.err
19638 } && test -s conftest$ac_exeext &&
19639 $as_test_x conftest$ac_exeext; then
19640 ac_cv_strings_strcasecmp=yes
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19645 ac_cv_strings_strcasecmp=no
19649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19650 conftest$ac_exeext conftest.$ac_ext
19653 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19654 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19656 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19657 cat >>confdefs.h <<\_ACEOF
19658 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19662 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19663 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19664 { (exit 1); exit 1; }; }
19672 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19673 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19674 if test "${ac_cv_header_stdc+set}" = set; then
19675 echo $ECHO_N "(cached) $ECHO_C" >&6
19677 cat >conftest.$ac_ext <<_ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 #include <stdlib.h>
19684 #include <stdarg.h>
19685 #include <string.h>
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
19698 case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
19705 grep -v '^ *+' conftest.er1 >conftest.err
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.$ac_objext; then
19713 ac_cv_header_stdc=yes
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19718 ac_cv_header_stdc=no
19721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19723 if test $ac_cv_header_stdc = yes; then
19724 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19725 cat >conftest.$ac_ext <<_ACEOF
19728 cat confdefs.h >>conftest.$ac_ext
19729 cat >>conftest.$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 #include <string.h>
19734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19735 $EGREP "memchr" >/dev/null 2>&1; then
19738 ac_cv_header_stdc=no
19744 if test $ac_cv_header_stdc = yes; then
19745 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19746 cat >conftest.$ac_ext <<_ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19752 #include <stdlib.h>
19755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19756 $EGREP "free" >/dev/null 2>&1; then
19759 ac_cv_header_stdc=no
19765 if test $ac_cv_header_stdc = yes; then
19766 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19767 if test "$cross_compiling" = yes; then
19770 cat >conftest.$ac_ext <<_ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19777 #include <stdlib.h>
19778 #if ((' ' & 0x0FF) == 0x020)
19779 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19780 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19782 # define ISLOWER(c) \
19783 (('a' <= (c) && (c) <= 'i') \
19784 || ('j' <= (c) && (c) <= 'r') \
19785 || ('s' <= (c) && (c) <= 'z'))
19786 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19789 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19794 for (i = 0; i < 256; i++)
19795 if (XOR (islower (i), ISLOWER (i))
19796 || toupper (i) != TOUPPER (i))
19801 rm -f conftest$ac_exeext
19802 if { (ac_try="$ac_link"
19803 case "(($ac_try" in
19804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19805 *) ac_try_echo=$ac_try;;
19807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19808 (eval "$ac_link") 2>&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19812 { (case "(($ac_try" in
19813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19814 *) ac_try_echo=$ac_try;;
19816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19817 (eval "$ac_try") 2>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19823 echo "$as_me: program exited with status $ac_status" >&5
19824 echo "$as_me: failed program was:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19827 ( exit $ac_status )
19828 ac_cv_header_stdc=no
19830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19836 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19837 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19838 if test $ac_cv_header_stdc = yes; then
19840 cat >>confdefs.h <<\_ACEOF
19841 #define STDC_HEADERS 1
19846 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19856 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19857 inttypes.h stdint.h unistd.h
19859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19860 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19863 echo $ECHO_N "(cached) $ECHO_C" >&6
19865 cat >conftest.$ac_ext <<_ACEOF
19868 cat confdefs.h >>conftest.$ac_ext
19869 cat >>conftest.$ac_ext <<_ACEOF
19870 /* end confdefs.h. */
19871 $ac_includes_default
19873 #include <$ac_header>
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19884 grep -v '^ *+' conftest.er1 >conftest.err
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19892 eval "$as_ac_Header=yes"
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 eval "$as_ac_Header=no"
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 ac_res=`eval echo '${'$as_ac_Header'}'`
19903 { echo "$as_me:$LINENO: result: $ac_res" >&5
19904 echo "${ECHO_T}$ac_res" >&6; }
19905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19906 cat >>confdefs.h <<_ACEOF
19907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19917 for ac_header in langinfo.h wchar.h
19919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 cat >conftest.$ac_ext <<_ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 $ac_includes_default
19933 #include <$ac_header>
19935 rm -f conftest.$ac_objext
19936 if { (ac_try="$ac_compile"
19937 case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_compile") 2>conftest.er1
19944 grep -v '^ *+' conftest.er1 >conftest.err
19946 cat conftest.err >&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } && {
19949 test -z "$ac_c_werror_flag" ||
19950 test ! -s conftest.err
19951 } && test -s conftest.$ac_objext; then
19952 eval "$as_ac_Header=yes"
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19957 eval "$as_ac_Header=no"
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19962 ac_res=`eval echo '${'$as_ac_Header'}'`
19963 { echo "$as_me:$LINENO: result: $ac_res" >&5
19964 echo "${ECHO_T}$ac_res" >&6; }
19965 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19966 cat >>confdefs.h <<_ACEOF
19967 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19975 if test "$ac_cv_header_wchar_h" != "yes"; then
19977 for ac_header in wcstr.h
19979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19980 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 cat >conftest.$ac_ext <<_ACEOF
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19991 $ac_includes_default
19993 #include <$ac_header>
19995 rm -f conftest.$ac_objext
19996 if { (ac_try="$ac_compile"
19997 case "(($ac_try" in
19998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19999 *) ac_try_echo=$ac_try;;
20001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20002 (eval "$ac_compile") 2>conftest.er1
20004 grep -v '^ *+' conftest.er1 >conftest.err
20006 cat conftest.err >&5
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); } && {
20009 test -z "$ac_c_werror_flag" ||
20010 test ! -s conftest.err
20011 } && test -s conftest.$ac_objext; then
20012 eval "$as_ac_Header=yes"
20014 echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.$ac_ext >&5
20017 eval "$as_ac_Header=no"
20020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 ac_res=`eval echo '${'$as_ac_Header'}'`
20023 { echo "$as_me:$LINENO: result: $ac_res" >&5
20024 echo "${ECHO_T}$ac_res" >&6; }
20025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20026 cat >>confdefs.h <<_ACEOF
20027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20037 *-pc-os2_emx | *-pc-os2-emx )
20038 if test $ac_cv_header_langinfo_h = "yes" \
20039 -a \( "$wx_cv_gccversion" = "EMX2" \
20040 -o "$wx_cv_gccversion" = "EMX3" \
20041 -o "$wx_cv_gccversion" = "Innotek5" \); then
20042 LIBS="$LIBS -lintl"
20047 if test "$USE_UNIX" = 1 ; then
20049 for ac_header in sys/select.h
20051 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20052 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 cat >conftest.$ac_ext <<_ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 $ac_includes_default
20065 #include <$ac_header>
20067 rm -f conftest.$ac_objext
20068 if { (ac_try="$ac_compile"
20069 case "(($ac_try" in
20070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20071 *) ac_try_echo=$ac_try;;
20073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20074 (eval "$ac_compile") 2>conftest.er1
20076 grep -v '^ *+' conftest.er1 >conftest.err
20078 cat conftest.err >&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); } && {
20081 test -z "$ac_c_werror_flag" ||
20082 test ! -s conftest.err
20083 } && test -s conftest.$ac_objext; then
20084 eval "$as_ac_Header=yes"
20086 echo "$as_me: failed program was:" >&5
20087 sed 's/^/| /' conftest.$ac_ext >&5
20089 eval "$as_ac_Header=no"
20092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20094 ac_res=`eval echo '${'$as_ac_Header'}'`
20095 { echo "$as_me:$LINENO: result: $ac_res" >&5
20096 echo "${ECHO_T}$ac_res" >&6; }
20097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20098 cat >>confdefs.h <<_ACEOF
20099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20109 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20110 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20111 if test "${ac_cv_c_const+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 cat >conftest.$ac_ext <<_ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20124 /* FIXME: Include the comments suggested by Paul. */
20125 #ifndef __cplusplus
20126 /* Ultrix mips cc rejects this. */
20127 typedef int charset[2];
20129 /* SunOS 4.1.1 cc rejects this. */
20130 char const *const *pcpcc;
20132 /* NEC SVR4.0.2 mips cc rejects this. */
20133 struct point {int x, y;};
20134 static struct point const zero = {0,0};
20135 /* AIX XL C 1.02.0.0 rejects this.
20136 It does not let you subtract one const X* pointer from another in
20137 an arm of an if-expression whose if-part is not a constant
20139 const char *g = "string";
20140 pcpcc = &g + (g ? g-g : 0);
20141 /* HPUX 7.0 cc rejects these. */
20143 ppc = (char**) pcpcc;
20144 pcpcc = (char const *const *) ppc;
20145 { /* SCO 3.2v4 cc rejects this. */
20147 char const *s = 0 ? (char *) 0 : (char const *) 0;
20152 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20153 int x[] = {25, 17};
20154 const int *foo = &x[0];
20157 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20158 typedef const int *iptr;
20162 { /* AIX XL C 1.02.0.0 rejects this saying
20163 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20164 struct s { int j; const int *ap[3]; };
20165 struct s *b; b->j = 5;
20167 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20168 const int foo = 10;
20169 if (!foo) return 0;
20171 return !cs[0] && !zero.x;
20178 rm -f conftest.$ac_objext
20179 if { (ac_try="$ac_compile"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_compile") 2>conftest.er1
20187 grep -v '^ *+' conftest.er1 >conftest.err
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } && {
20192 test -z "$ac_c_werror_flag" ||
20193 test ! -s conftest.err
20194 } && test -s conftest.$ac_objext; then
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.$ac_ext >&5
20203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20205 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20206 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20207 if test $ac_cv_c_const = no; then
20209 cat >>confdefs.h <<\_ACEOF
20215 { echo "$as_me:$LINENO: checking for inline" >&5
20216 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20217 if test "${ac_cv_c_inline+set}" = set; then
20218 echo $ECHO_N "(cached) $ECHO_C" >&6
20221 for ac_kw in inline __inline__ __inline; do
20222 cat >conftest.$ac_ext <<_ACEOF
20225 cat confdefs.h >>conftest.$ac_ext
20226 cat >>conftest.$ac_ext <<_ACEOF
20227 /* end confdefs.h. */
20228 #ifndef __cplusplus
20230 static $ac_kw foo_t static_foo () {return 0; }
20231 $ac_kw foo_t foo () {return 0; }
20235 rm -f conftest.$ac_objext
20236 if { (ac_try="$ac_compile"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_compile") 2>conftest.er1
20244 grep -v '^ *+' conftest.er1 >conftest.err
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } && {
20249 test -z "$ac_c_werror_flag" ||
20250 test ! -s conftest.err
20251 } && test -s conftest.$ac_objext; then
20252 ac_cv_c_inline=$ac_kw
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 test "$ac_cv_c_inline" != no && break
20265 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20266 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20269 case $ac_cv_c_inline in
20272 case $ac_cv_c_inline in
20274 *) ac_val=$ac_cv_c_inline;;
20276 cat >>confdefs.h <<_ACEOF
20277 #ifndef __cplusplus
20278 #define inline $ac_val
20285 { echo "$as_me:$LINENO: checking for short" >&5
20286 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20287 if test "${ac_cv_type_short+set}" = set; then
20288 echo $ECHO_N "(cached) $ECHO_C" >&6
20290 cat >conftest.$ac_ext <<_ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 $ac_includes_default
20297 typedef short ac__type_new_;
20301 if ((ac__type_new_ *) 0)
20303 if (sizeof (ac__type_new_))
20309 rm -f conftest.$ac_objext
20310 if { (ac_try="$ac_compile"
20311 case "(($ac_try" in
20312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20313 *) ac_try_echo=$ac_try;;
20315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20316 (eval "$ac_compile") 2>conftest.er1
20318 grep -v '^ *+' conftest.er1 >conftest.err
20320 cat conftest.err >&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } && {
20323 test -z "$ac_c_werror_flag" ||
20324 test ! -s conftest.err
20325 } && test -s conftest.$ac_objext; then
20326 ac_cv_type_short=yes
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.$ac_ext >&5
20331 ac_cv_type_short=no
20334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20336 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20337 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20339 # The cast to long int works around a bug in the HP C Compiler
20340 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20341 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20342 # This bug is HP SR number 8606223364.
20343 { echo "$as_me:$LINENO: checking size of short" >&5
20344 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20345 if test "${ac_cv_sizeof_short+set}" = set; then
20346 echo $ECHO_N "(cached) $ECHO_C" >&6
20348 if test "$cross_compiling" = yes; then
20349 # Depending upon the size, compute the lo and hi bounds.
20350 cat >conftest.$ac_ext <<_ACEOF
20353 cat confdefs.h >>conftest.$ac_ext
20354 cat >>conftest.$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20356 $ac_includes_default
20357 typedef short ac__type_sizeof_;
20361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20377 grep -v '^ *+' conftest.er1 >conftest.err
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20387 cat >conftest.$ac_ext <<_ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20394 typedef short ac__type_sizeof_;
20398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20405 rm -f conftest.$ac_objext
20406 if { (ac_try="$ac_compile"
20407 case "(($ac_try" in
20408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20409 *) ac_try_echo=$ac_try;;
20411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20412 (eval "$ac_compile") 2>conftest.er1
20414 grep -v '^ *+' conftest.er1 >conftest.err
20416 cat conftest.err >&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); } && {
20419 test -z "$ac_c_werror_flag" ||
20420 test ! -s conftest.err
20421 } && test -s conftest.$ac_objext; then
20422 ac_hi=$ac_mid; break
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.$ac_ext >&5
20427 ac_lo=`expr $ac_mid + 1`
20428 if test $ac_lo -le $ac_mid; then
20432 ac_mid=`expr 2 '*' $ac_mid + 1`
20435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20438 echo "$as_me: failed program was:" >&5
20439 sed 's/^/| /' conftest.$ac_ext >&5
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_lo=$ac_mid; break
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.$ac_ext >&5
20518 ac_hi=`expr '(' $ac_mid ')' - 1`
20519 if test $ac_mid -le $ac_hi; then
20523 ac_mid=`expr 2 '*' $ac_mid`
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
20535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20539 # Binary search between lo and hi bounds.
20540 while test "x$ac_lo" != "x$ac_hi"; do
20541 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20542 cat >conftest.$ac_ext <<_ACEOF
20545 cat confdefs.h >>conftest.$ac_ext
20546 cat >>conftest.$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548 $ac_includes_default
20549 typedef short ac__type_sizeof_;
20553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20560 rm -f conftest.$ac_objext
20561 if { (ac_try="$ac_compile"
20562 case "(($ac_try" in
20563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_compile") 2>conftest.er1
20569 grep -v '^ *+' conftest.er1 >conftest.err
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } && {
20574 test -z "$ac_c_werror_flag" ||
20575 test ! -s conftest.err
20576 } && test -s conftest.$ac_objext; then
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.$ac_ext >&5
20582 ac_lo=`expr '(' $ac_mid ')' + 1`
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20588 ?*) ac_cv_sizeof_short=$ac_lo;;
20589 '') if test "$ac_cv_type_short" = yes; then
20590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20591 See \`config.log' for more details." >&5
20592 echo "$as_me: error: cannot compute sizeof (short)
20593 See \`config.log' for more details." >&2;}
20594 { (exit 77); exit 77; }; }
20596 ac_cv_sizeof_short=0
20600 cat >conftest.$ac_ext <<_ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 $ac_includes_default
20607 typedef short ac__type_sizeof_;
20608 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20609 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20611 #include <stdlib.h>
20616 FILE *f = fopen ("conftest.val", "w");
20619 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20621 long int i = longval ();
20622 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20624 fprintf (f, "%ld\n", i);
20628 unsigned long int i = ulongval ();
20629 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20631 fprintf (f, "%lu\n", i);
20633 return ferror (f) || fclose (f) != 0;
20639 rm -f conftest$ac_exeext
20640 if { (ac_try="$ac_link"
20641 case "(($ac_try" in
20642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20643 *) ac_try_echo=$ac_try;;
20645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20646 (eval "$ac_link") 2>&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20650 { (case "(($ac_try" in
20651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20652 *) ac_try_echo=$ac_try;;
20654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20655 (eval "$ac_try") 2>&5
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); }; }; then
20659 ac_cv_sizeof_short=`cat conftest.val`
20661 echo "$as_me: program exited with status $ac_status" >&5
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20665 ( exit $ac_status )
20666 if test "$ac_cv_type_short" = yes; then
20667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20668 See \`config.log' for more details." >&5
20669 echo "$as_me: error: cannot compute sizeof (short)
20670 See \`config.log' for more details." >&2;}
20671 { (exit 77); exit 77; }; }
20673 ac_cv_sizeof_short=0
20676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20680 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20681 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20685 cat >>confdefs.h <<_ACEOF
20686 #define SIZEOF_SHORT $ac_cv_sizeof_short
20690 { echo "$as_me:$LINENO: checking for void *" >&5
20691 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20692 if test "${ac_cv_type_void_p+set}" = set; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20695 cat >conftest.$ac_ext <<_ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 $ac_includes_default
20702 typedef void * ac__type_new_;
20706 if ((ac__type_new_ *) 0)
20708 if (sizeof (ac__type_new_))
20714 rm -f conftest.$ac_objext
20715 if { (ac_try="$ac_compile"
20716 case "(($ac_try" in
20717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20718 *) ac_try_echo=$ac_try;;
20720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20721 (eval "$ac_compile") 2>conftest.er1
20723 grep -v '^ *+' conftest.er1 >conftest.err
20725 cat conftest.err >&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); } && {
20728 test -z "$ac_c_werror_flag" ||
20729 test ! -s conftest.err
20730 } && test -s conftest.$ac_objext; then
20731 ac_cv_type_void_p=yes
20733 echo "$as_me: failed program was:" >&5
20734 sed 's/^/| /' conftest.$ac_ext >&5
20736 ac_cv_type_void_p=no
20739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20741 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20742 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20744 # The cast to long int works around a bug in the HP C Compiler
20745 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20746 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20747 # This bug is HP SR number 8606223364.
20748 { echo "$as_me:$LINENO: checking size of void *" >&5
20749 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20750 if test "${ac_cv_sizeof_void_p+set}" = set; then
20751 echo $ECHO_N "(cached) $ECHO_C" >&6
20753 if test "$cross_compiling" = yes; then
20754 # Depending upon the size, compute the lo and hi bounds.
20755 cat >conftest.$ac_ext <<_ACEOF
20758 cat confdefs.h >>conftest.$ac_ext
20759 cat >>conftest.$ac_ext <<_ACEOF
20760 /* end confdefs.h. */
20761 $ac_includes_default
20762 typedef void * ac__type_sizeof_;
20766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20773 rm -f conftest.$ac_objext
20774 if { (ac_try="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20782 grep -v '^ *+' conftest.er1 >conftest.err
20784 cat conftest.err >&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } && {
20787 test -z "$ac_c_werror_flag" ||
20788 test ! -s conftest.err
20789 } && test -s conftest.$ac_objext; then
20792 cat >conftest.$ac_ext <<_ACEOF
20795 cat confdefs.h >>conftest.$ac_ext
20796 cat >>conftest.$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20798 $ac_includes_default
20799 typedef void * ac__type_sizeof_;
20803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20810 rm -f conftest.$ac_objext
20811 if { (ac_try="$ac_compile"
20812 case "(($ac_try" in
20813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20814 *) ac_try_echo=$ac_try;;
20816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20817 (eval "$ac_compile") 2>conftest.er1
20819 grep -v '^ *+' conftest.er1 >conftest.err
20821 cat conftest.err >&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } && {
20824 test -z "$ac_c_werror_flag" ||
20825 test ! -s conftest.err
20826 } && test -s conftest.$ac_objext; then
20827 ac_hi=$ac_mid; break
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.$ac_ext >&5
20832 ac_lo=`expr $ac_mid + 1`
20833 if test $ac_lo -le $ac_mid; then
20837 ac_mid=`expr 2 '*' $ac_mid + 1`
20840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.$ac_ext >&5
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_lo=$ac_mid; break
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.$ac_ext >&5
20923 ac_hi=`expr '(' $ac_mid ')' - 1`
20924 if test $ac_mid -le $ac_hi; then
20928 ac_mid=`expr 2 '*' $ac_mid`
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
20940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20944 # Binary search between lo and hi bounds.
20945 while test "x$ac_lo" != "x$ac_hi"; do
20946 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20947 cat >conftest.$ac_ext <<_ACEOF
20950 cat confdefs.h >>conftest.$ac_ext
20951 cat >>conftest.$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20953 $ac_includes_default
20954 typedef void * ac__type_sizeof_;
20958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20965 rm -f conftest.$ac_objext
20966 if { (ac_try="$ac_compile"
20967 case "(($ac_try" in
20968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20969 *) ac_try_echo=$ac_try;;
20971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_compile") 2>conftest.er1
20974 grep -v '^ *+' conftest.er1 >conftest.err
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest.$ac_objext; then
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20987 ac_lo=`expr '(' $ac_mid ')' + 1`
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20993 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20994 '') if test "$ac_cv_type_void_p" = yes; then
20995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20996 See \`config.log' for more details." >&5
20997 echo "$as_me: error: cannot compute sizeof (void *)
20998 See \`config.log' for more details." >&2;}
20999 { (exit 77); exit 77; }; }
21001 ac_cv_sizeof_void_p=0
21005 cat >conftest.$ac_ext <<_ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21012 typedef void * ac__type_sizeof_;
21013 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21014 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21016 #include <stdlib.h>
21021 FILE *f = fopen ("conftest.val", "w");
21024 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21026 long int i = longval ();
21027 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21029 fprintf (f, "%ld\n", i);
21033 unsigned long int i = ulongval ();
21034 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21036 fprintf (f, "%lu\n", i);
21038 return ferror (f) || fclose (f) != 0;
21044 rm -f conftest$ac_exeext
21045 if { (ac_try="$ac_link"
21046 case "(($ac_try" in
21047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21048 *) ac_try_echo=$ac_try;;
21050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21051 (eval "$ac_link") 2>&5
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21055 { (case "(($ac_try" in
21056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21057 *) ac_try_echo=$ac_try;;
21059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21060 (eval "$ac_try") 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; }; then
21064 ac_cv_sizeof_void_p=`cat conftest.val`
21066 echo "$as_me: program exited with status $ac_status" >&5
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21070 ( exit $ac_status )
21071 if test "$ac_cv_type_void_p" = yes; then
21072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21073 See \`config.log' for more details." >&5
21074 echo "$as_me: error: cannot compute sizeof (void *)
21075 See \`config.log' for more details." >&2;}
21076 { (exit 77); exit 77; }; }
21078 ac_cv_sizeof_void_p=0
21081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21085 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21086 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21090 cat >>confdefs.h <<_ACEOF
21091 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21095 { echo "$as_me:$LINENO: checking for int" >&5
21096 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21097 if test "${ac_cv_type_int+set}" = set; then
21098 echo $ECHO_N "(cached) $ECHO_C" >&6
21100 cat >conftest.$ac_ext <<_ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef int ac__type_new_;
21111 if ((ac__type_new_ *) 0)
21113 if (sizeof (ac__type_new_))
21119 rm -f conftest.$ac_objext
21120 if { (ac_try="$ac_compile"
21121 case "(($ac_try" in
21122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21123 *) ac_try_echo=$ac_try;;
21125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21126 (eval "$ac_compile") 2>conftest.er1
21128 grep -v '^ *+' conftest.er1 >conftest.err
21130 cat conftest.err >&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } && {
21133 test -z "$ac_c_werror_flag" ||
21134 test ! -s conftest.err
21135 } && test -s conftest.$ac_objext; then
21138 echo "$as_me: failed program was:" >&5
21139 sed 's/^/| /' conftest.$ac_ext >&5
21144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21146 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21147 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21149 # The cast to long int works around a bug in the HP C Compiler
21150 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21151 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21152 # This bug is HP SR number 8606223364.
21153 { echo "$as_me:$LINENO: checking size of int" >&5
21154 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21155 if test "${ac_cv_sizeof_int+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 if test "$cross_compiling" = yes; then
21159 # Depending upon the size, compute the lo and hi bounds.
21160 cat >conftest.$ac_ext <<_ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 $ac_includes_default
21167 typedef int ac__type_sizeof_;
21171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21178 rm -f conftest.$ac_objext
21179 if { (ac_try="$ac_compile"
21180 case "(($ac_try" in
21181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;;
21184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21185 (eval "$ac_compile") 2>conftest.er1
21187 grep -v '^ *+' conftest.er1 >conftest.err
21189 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } && {
21192 test -z "$ac_c_werror_flag" ||
21193 test ! -s conftest.err
21194 } && test -s conftest.$ac_objext; then
21197 cat >conftest.$ac_ext <<_ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 $ac_includes_default
21204 typedef int ac__type_sizeof_;
21208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21215 rm -f conftest.$ac_objext
21216 if { (ac_try="$ac_compile"
21217 case "(($ac_try" in
21218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21219 *) ac_try_echo=$ac_try;;
21221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21222 (eval "$ac_compile") 2>conftest.er1
21224 grep -v '^ *+' conftest.er1 >conftest.err
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } && {
21229 test -z "$ac_c_werror_flag" ||
21230 test ! -s conftest.err
21231 } && test -s conftest.$ac_objext; then
21232 ac_hi=$ac_mid; break
21234 echo "$as_me: failed program was:" >&5
21235 sed 's/^/| /' conftest.$ac_ext >&5
21237 ac_lo=`expr $ac_mid + 1`
21238 if test $ac_lo -le $ac_mid; then
21242 ac_mid=`expr 2 '*' $ac_mid + 1`
21245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.$ac_ext >&5
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_lo=$ac_mid; break
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21328 ac_hi=`expr '(' $ac_mid ')' - 1`
21329 if test $ac_mid -le $ac_hi; then
21333 ac_mid=`expr 2 '*' $ac_mid`
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
21345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21349 # Binary search between lo and hi bounds.
21350 while test "x$ac_lo" != "x$ac_hi"; do
21351 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21352 cat >conftest.$ac_ext <<_ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21358 $ac_includes_default
21359 typedef int ac__type_sizeof_;
21363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21370 rm -f conftest.$ac_objext
21371 if { (ac_try="$ac_compile"
21372 case "(($ac_try" in
21373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21374 *) ac_try_echo=$ac_try;;
21376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21377 (eval "$ac_compile") 2>conftest.er1
21379 grep -v '^ *+' conftest.er1 >conftest.err
21381 cat conftest.err >&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); } && {
21384 test -z "$ac_c_werror_flag" ||
21385 test ! -s conftest.err
21386 } && test -s conftest.$ac_objext; then
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21392 ac_lo=`expr '(' $ac_mid ')' + 1`
21395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 ?*) ac_cv_sizeof_int=$ac_lo;;
21399 '') if test "$ac_cv_type_int" = yes; then
21400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21401 See \`config.log' for more details." >&5
21402 echo "$as_me: error: cannot compute sizeof (int)
21403 See \`config.log' for more details." >&2;}
21404 { (exit 77); exit 77; }; }
21410 cat >conftest.$ac_ext <<_ACEOF
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 typedef int ac__type_sizeof_;
21418 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21419 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21421 #include <stdlib.h>
21426 FILE *f = fopen ("conftest.val", "w");
21429 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21431 long int i = longval ();
21432 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21434 fprintf (f, "%ld\n", i);
21438 unsigned long int i = ulongval ();
21439 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21441 fprintf (f, "%lu\n", i);
21443 return ferror (f) || fclose (f) != 0;
21449 rm -f conftest$ac_exeext
21450 if { (ac_try="$ac_link"
21451 case "(($ac_try" in
21452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21453 *) ac_try_echo=$ac_try;;
21455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21456 (eval "$ac_link") 2>&5
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21460 { (case "(($ac_try" in
21461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21462 *) ac_try_echo=$ac_try;;
21464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21465 (eval "$ac_try") 2>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; }; then
21469 ac_cv_sizeof_int=`cat conftest.val`
21471 echo "$as_me: program exited with status $ac_status" >&5
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21475 ( exit $ac_status )
21476 if test "$ac_cv_type_int" = yes; then
21477 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21478 See \`config.log' for more details." >&5
21479 echo "$as_me: error: cannot compute sizeof (int)
21480 See \`config.log' for more details." >&2;}
21481 { (exit 77); exit 77; }; }
21486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21490 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21491 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21495 cat >>confdefs.h <<_ACEOF
21496 #define SIZEOF_INT $ac_cv_sizeof_int
21500 { echo "$as_me:$LINENO: checking for long" >&5
21501 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21502 if test "${ac_cv_type_long+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 cat >conftest.$ac_ext <<_ACEOF
21508 cat confdefs.h >>conftest.$ac_ext
21509 cat >>conftest.$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21511 $ac_includes_default
21512 typedef long ac__type_new_;
21516 if ((ac__type_new_ *) 0)
21518 if (sizeof (ac__type_new_))
21524 rm -f conftest.$ac_objext
21525 if { (ac_try="$ac_compile"
21526 case "(($ac_try" in
21527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;;
21530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_compile") 2>conftest.er1
21533 grep -v '^ *+' conftest.er1 >conftest.err
21535 cat conftest.err >&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); } && {
21538 test -z "$ac_c_werror_flag" ||
21539 test ! -s conftest.err
21540 } && test -s conftest.$ac_objext; then
21541 ac_cv_type_long=yes
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5
21549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21551 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21552 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21554 # The cast to long int works around a bug in the HP C Compiler
21555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21557 # This bug is HP SR number 8606223364.
21558 { echo "$as_me:$LINENO: checking size of long" >&5
21559 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21560 if test "${ac_cv_sizeof_long+set}" = set; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21563 if test "$cross_compiling" = yes; then
21564 # Depending upon the size, compute the lo and hi bounds.
21565 cat >conftest.$ac_ext <<_ACEOF
21568 cat confdefs.h >>conftest.$ac_ext
21569 cat >>conftest.$ac_ext <<_ACEOF
21570 /* end confdefs.h. */
21571 $ac_includes_default
21572 typedef long ac__type_sizeof_;
21576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21583 rm -f conftest.$ac_objext
21584 if { (ac_try="$ac_compile"
21585 case "(($ac_try" in
21586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21587 *) ac_try_echo=$ac_try;;
21589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21590 (eval "$ac_compile") 2>conftest.er1
21592 grep -v '^ *+' conftest.er1 >conftest.err
21594 cat conftest.err >&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } && {
21597 test -z "$ac_c_werror_flag" ||
21598 test ! -s conftest.err
21599 } && test -s conftest.$ac_objext; then
21602 cat >conftest.$ac_ext <<_ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21608 $ac_includes_default
21609 typedef long ac__type_sizeof_;
21613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21620 rm -f conftest.$ac_objext
21621 if { (ac_try="$ac_compile"
21622 case "(($ac_try" in
21623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21624 *) ac_try_echo=$ac_try;;
21626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21627 (eval "$ac_compile") 2>conftest.er1
21629 grep -v '^ *+' conftest.er1 >conftest.err
21631 cat conftest.err >&5
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); } && {
21634 test -z "$ac_c_werror_flag" ||
21635 test ! -s conftest.err
21636 } && test -s conftest.$ac_objext; then
21637 ac_hi=$ac_mid; break
21639 echo "$as_me: failed program was:" >&5
21640 sed 's/^/| /' conftest.$ac_ext >&5
21642 ac_lo=`expr $ac_mid + 1`
21643 if test $ac_lo -le $ac_mid; then
21647 ac_mid=`expr 2 '*' $ac_mid + 1`
21650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
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_lo=$ac_mid; break
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.$ac_ext >&5
21733 ac_hi=`expr '(' $ac_mid ')' - 1`
21734 if test $ac_mid -le $ac_hi; then
21738 ac_mid=`expr 2 '*' $ac_mid`
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
21750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 # Binary search between lo and hi bounds.
21755 while test "x$ac_lo" != "x$ac_hi"; do
21756 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21757 cat >conftest.$ac_ext <<_ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 typedef long ac__type_sizeof_;
21768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21775 rm -f conftest.$ac_objext
21776 if { (ac_try="$ac_compile"
21777 case "(($ac_try" in
21778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21779 *) ac_try_echo=$ac_try;;
21781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21782 (eval "$ac_compile") 2>conftest.er1
21784 grep -v '^ *+' conftest.er1 >conftest.err
21786 cat conftest.err >&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); } && {
21789 test -z "$ac_c_werror_flag" ||
21790 test ! -s conftest.err
21791 } && test -s conftest.$ac_objext; then
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.$ac_ext >&5
21797 ac_lo=`expr '(' $ac_mid ')' + 1`
21800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803 ?*) ac_cv_sizeof_long=$ac_lo;;
21804 '') if test "$ac_cv_type_long" = yes; then
21805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21806 See \`config.log' for more details." >&5
21807 echo "$as_me: error: cannot compute sizeof (long)
21808 See \`config.log' for more details." >&2;}
21809 { (exit 77); exit 77; }; }
21811 ac_cv_sizeof_long=0
21815 cat >conftest.$ac_ext <<_ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 $ac_includes_default
21822 typedef long ac__type_sizeof_;
21823 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21824 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21826 #include <stdlib.h>
21831 FILE *f = fopen ("conftest.val", "w");
21834 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21836 long int i = longval ();
21837 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21839 fprintf (f, "%ld\n", i);
21843 unsigned long int i = ulongval ();
21844 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21846 fprintf (f, "%lu\n", i);
21848 return ferror (f) || fclose (f) != 0;
21854 rm -f conftest$ac_exeext
21855 if { (ac_try="$ac_link"
21856 case "(($ac_try" in
21857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21858 *) ac_try_echo=$ac_try;;
21860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_link") 2>&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21865 { (case "(($ac_try" in
21866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21867 *) ac_try_echo=$ac_try;;
21869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21870 (eval "$ac_try") 2>&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; }; then
21874 ac_cv_sizeof_long=`cat conftest.val`
21876 echo "$as_me: program exited with status $ac_status" >&5
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21880 ( exit $ac_status )
21881 if test "$ac_cv_type_long" = yes; then
21882 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21883 See \`config.log' for more details." >&5
21884 echo "$as_me: error: cannot compute sizeof (long)
21885 See \`config.log' for more details." >&2;}
21886 { (exit 77); exit 77; }; }
21888 ac_cv_sizeof_long=0
21891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21895 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21896 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21900 cat >>confdefs.h <<_ACEOF
21901 #define SIZEOF_LONG $ac_cv_sizeof_long
21905 { echo "$as_me:$LINENO: checking for size_t" >&5
21906 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21907 if test "${ac_cv_type_size_t+set}" = set; then
21908 echo $ECHO_N "(cached) $ECHO_C" >&6
21910 cat >conftest.$ac_ext <<_ACEOF
21913 cat confdefs.h >>conftest.$ac_ext
21914 cat >>conftest.$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916 $ac_includes_default
21917 typedef size_t ac__type_new_;
21921 if ((ac__type_new_ *) 0)
21923 if (sizeof (ac__type_new_))
21929 rm -f conftest.$ac_objext
21930 if { (ac_try="$ac_compile"
21931 case "(($ac_try" in
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21933 *) ac_try_echo=$ac_try;;
21935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21936 (eval "$ac_compile") 2>conftest.er1
21938 grep -v '^ *+' conftest.er1 >conftest.err
21940 cat conftest.err >&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); } && {
21943 test -z "$ac_c_werror_flag" ||
21944 test ! -s conftest.err
21945 } && test -s conftest.$ac_objext; then
21946 ac_cv_type_size_t=yes
21948 echo "$as_me: failed program was:" >&5
21949 sed 's/^/| /' conftest.$ac_ext >&5
21951 ac_cv_type_size_t=no
21954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21956 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21957 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21959 # The cast to long int works around a bug in the HP C Compiler
21960 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21961 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21962 # This bug is HP SR number 8606223364.
21963 { echo "$as_me:$LINENO: checking size of size_t" >&5
21964 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21965 if test "${ac_cv_sizeof_size_t+set}" = set; then
21966 echo $ECHO_N "(cached) $ECHO_C" >&6
21968 if test "$cross_compiling" = yes; then
21969 # Depending upon the size, compute the lo and hi bounds.
21970 cat >conftest.$ac_ext <<_ACEOF
21973 cat confdefs.h >>conftest.$ac_ext
21974 cat >>conftest.$ac_ext <<_ACEOF
21975 /* end confdefs.h. */
21976 $ac_includes_default
21977 typedef size_t ac__type_sizeof_;
21981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21988 rm -f conftest.$ac_objext
21989 if { (ac_try="$ac_compile"
21990 case "(($ac_try" in
21991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21992 *) ac_try_echo=$ac_try;;
21994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21995 (eval "$ac_compile") 2>conftest.er1
21997 grep -v '^ *+' conftest.er1 >conftest.err
21999 cat conftest.err >&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } && {
22002 test -z "$ac_c_werror_flag" ||
22003 test ! -s conftest.err
22004 } && test -s conftest.$ac_objext; then
22007 cat >conftest.$ac_ext <<_ACEOF
22010 cat confdefs.h >>conftest.$ac_ext
22011 cat >>conftest.$ac_ext <<_ACEOF
22012 /* end confdefs.h. */
22013 $ac_includes_default
22014 typedef size_t ac__type_sizeof_;
22018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22025 rm -f conftest.$ac_objext
22026 if { (ac_try="$ac_compile"
22027 case "(($ac_try" in
22028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22029 *) ac_try_echo=$ac_try;;
22031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22032 (eval "$ac_compile") 2>conftest.er1
22034 grep -v '^ *+' conftest.er1 >conftest.err
22036 cat conftest.err >&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } && {
22039 test -z "$ac_c_werror_flag" ||
22040 test ! -s conftest.err
22041 } && test -s conftest.$ac_objext; then
22042 ac_hi=$ac_mid; break
22044 echo "$as_me: failed program was:" >&5
22045 sed 's/^/| /' conftest.$ac_ext >&5
22047 ac_lo=`expr $ac_mid + 1`
22048 if test $ac_lo -le $ac_mid; then
22052 ac_mid=`expr 2 '*' $ac_mid + 1`
22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.$ac_ext >&5
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_lo=$ac_mid; break
22135 echo "$as_me: failed program was:" >&5
22136 sed 's/^/| /' conftest.$ac_ext >&5
22138 ac_hi=`expr '(' $ac_mid ')' - 1`
22139 if test $ac_mid -le $ac_hi; then
22143 ac_mid=`expr 2 '*' $ac_mid`
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
22155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22159 # Binary search between lo and hi bounds.
22160 while test "x$ac_lo" != "x$ac_hi"; do
22161 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22162 cat >conftest.$ac_ext <<_ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 $ac_includes_default
22169 typedef size_t ac__type_sizeof_;
22173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22180 rm -f conftest.$ac_objext
22181 if { (ac_try="$ac_compile"
22182 case "(($ac_try" in
22183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22184 *) ac_try_echo=$ac_try;;
22186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22187 (eval "$ac_compile") 2>conftest.er1
22189 grep -v '^ *+' conftest.er1 >conftest.err
22191 cat conftest.err >&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } && {
22194 test -z "$ac_c_werror_flag" ||
22195 test ! -s conftest.err
22196 } && test -s conftest.$ac_objext; then
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22202 ac_lo=`expr '(' $ac_mid ')' + 1`
22205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22208 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22209 '') if test "$ac_cv_type_size_t" = yes; then
22210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22211 See \`config.log' for more details." >&5
22212 echo "$as_me: error: cannot compute sizeof (size_t)
22213 See \`config.log' for more details." >&2;}
22214 { (exit 77); exit 77; }; }
22216 ac_cv_sizeof_size_t=0
22220 cat >conftest.$ac_ext <<_ACEOF
22223 cat confdefs.h >>conftest.$ac_ext
22224 cat >>conftest.$ac_ext <<_ACEOF
22225 /* end confdefs.h. */
22226 $ac_includes_default
22227 typedef size_t ac__type_sizeof_;
22228 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22229 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22231 #include <stdlib.h>
22236 FILE *f = fopen ("conftest.val", "w");
22239 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22241 long int i = longval ();
22242 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22244 fprintf (f, "%ld\n", i);
22248 unsigned long int i = ulongval ();
22249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22251 fprintf (f, "%lu\n", i);
22253 return ferror (f) || fclose (f) != 0;
22259 rm -f conftest$ac_exeext
22260 if { (ac_try="$ac_link"
22261 case "(($ac_try" in
22262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22263 *) ac_try_echo=$ac_try;;
22265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22266 (eval "$ac_link") 2>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22270 { (case "(($ac_try" in
22271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22272 *) ac_try_echo=$ac_try;;
22274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22275 (eval "$ac_try") 2>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 ac_cv_sizeof_size_t=`cat conftest.val`
22281 echo "$as_me: program exited with status $ac_status" >&5
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.$ac_ext >&5
22285 ( exit $ac_status )
22286 if test "$ac_cv_type_size_t" = yes; then
22287 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22288 See \`config.log' for more details." >&5
22289 echo "$as_me: error: cannot compute sizeof (size_t)
22290 See \`config.log' for more details." >&2;}
22291 { (exit 77); exit 77; }; }
22293 ac_cv_sizeof_size_t=0
22296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22300 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22301 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22305 cat >>confdefs.h <<_ACEOF
22306 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22313 { echo "$as_me:$LINENO: checking for long long" >&5
22314 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22315 if test "${ac_cv_type_long_long+set}" = set; then
22316 echo $ECHO_N "(cached) $ECHO_C" >&6
22318 cat >conftest.$ac_ext <<_ACEOF
22321 cat confdefs.h >>conftest.$ac_ext
22322 cat >>conftest.$ac_ext <<_ACEOF
22323 /* end confdefs.h. */
22324 $ac_includes_default
22325 typedef long long ac__type_new_;
22329 if ((ac__type_new_ *) 0)
22331 if (sizeof (ac__type_new_))
22337 rm -f conftest.$ac_objext
22338 if { (ac_try="$ac_compile"
22339 case "(($ac_try" in
22340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22341 *) ac_try_echo=$ac_try;;
22343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22344 (eval "$ac_compile") 2>conftest.er1
22346 grep -v '^ *+' conftest.er1 >conftest.err
22348 cat conftest.err >&5
22349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350 (exit $ac_status); } && {
22351 test -z "$ac_c_werror_flag" ||
22352 test ! -s conftest.err
22353 } && test -s conftest.$ac_objext; then
22354 ac_cv_type_long_long=yes
22356 echo "$as_me: failed program was:" >&5
22357 sed 's/^/| /' conftest.$ac_ext >&5
22359 ac_cv_type_long_long=no
22362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22364 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22365 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22367 # The cast to long int works around a bug in the HP C Compiler
22368 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22369 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22370 # This bug is HP SR number 8606223364.
22371 { echo "$as_me:$LINENO: checking size of long long" >&5
22372 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22373 if test "${ac_cv_sizeof_long_long+set}" = set; then
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 if test "$cross_compiling" = yes; then
22377 # Depending upon the size, compute the lo and hi bounds.
22378 cat >conftest.$ac_ext <<_ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 $ac_includes_default
22385 typedef long long ac__type_sizeof_;
22389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22396 rm -f conftest.$ac_objext
22397 if { (ac_try="$ac_compile"
22398 case "(($ac_try" in
22399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22400 *) ac_try_echo=$ac_try;;
22402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22403 (eval "$ac_compile") 2>conftest.er1
22405 grep -v '^ *+' conftest.er1 >conftest.err
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } && {
22410 test -z "$ac_c_werror_flag" ||
22411 test ! -s conftest.err
22412 } && test -s conftest.$ac_objext; then
22415 cat >conftest.$ac_ext <<_ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 typedef long long ac__type_sizeof_;
22426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22433 rm -f conftest.$ac_objext
22434 if { (ac_try="$ac_compile"
22435 case "(($ac_try" in
22436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22437 *) ac_try_echo=$ac_try;;
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_compile") 2>conftest.er1
22442 grep -v '^ *+' conftest.er1 >conftest.err
22444 cat conftest.err >&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest.$ac_objext; then
22450 ac_hi=$ac_mid; break
22452 echo "$as_me: failed program was:" >&5
22453 sed 's/^/| /' conftest.$ac_ext >&5
22455 ac_lo=`expr $ac_mid + 1`
22456 if test $ac_lo -le $ac_mid; then
22460 ac_mid=`expr 2 '*' $ac_mid + 1`
22463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
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_lo=$ac_mid; break
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22546 ac_hi=`expr '(' $ac_mid ')' - 1`
22547 if test $ac_mid -le $ac_hi; then
22551 ac_mid=`expr 2 '*' $ac_mid`
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
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22567 # Binary search between lo and hi bounds.
22568 while test "x$ac_lo" != "x$ac_hi"; do
22569 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22570 cat >conftest.$ac_ext <<_ACEOF
22573 cat confdefs.h >>conftest.$ac_ext
22574 cat >>conftest.$ac_ext <<_ACEOF
22575 /* end confdefs.h. */
22576 $ac_includes_default
22577 typedef long long ac__type_sizeof_;
22581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22588 rm -f conftest.$ac_objext
22589 if { (ac_try="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22597 grep -v '^ *+' conftest.er1 >conftest.err
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } && {
22602 test -z "$ac_c_werror_flag" ||
22603 test ! -s conftest.err
22604 } && test -s conftest.$ac_objext; then
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.$ac_ext >&5
22610 ac_lo=`expr '(' $ac_mid ')' + 1`
22613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22616 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22617 '') if test "$ac_cv_type_long_long" = yes; then
22618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22619 See \`config.log' for more details." >&5
22620 echo "$as_me: error: cannot compute sizeof (long long)
22621 See \`config.log' for more details." >&2;}
22622 { (exit 77); exit 77; }; }
22624 ac_cv_sizeof_long_long=0
22628 cat >conftest.$ac_ext <<_ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 $ac_includes_default
22635 typedef long long ac__type_sizeof_;
22636 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22637 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22639 #include <stdlib.h>
22644 FILE *f = fopen ("conftest.val", "w");
22647 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22649 long int i = longval ();
22650 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22652 fprintf (f, "%ld\n", i);
22656 unsigned long int i = ulongval ();
22657 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22659 fprintf (f, "%lu\n", i);
22661 return ferror (f) || fclose (f) != 0;
22667 rm -f conftest$ac_exeext
22668 if { (ac_try="$ac_link"
22669 case "(($ac_try" in
22670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22671 *) ac_try_echo=$ac_try;;
22673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22674 (eval "$ac_link") 2>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22678 { (case "(($ac_try" in
22679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22680 *) ac_try_echo=$ac_try;;
22682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22683 (eval "$ac_try") 2>&5
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); }; }; then
22687 ac_cv_sizeof_long_long=`cat conftest.val`
22689 echo "$as_me: program exited with status $ac_status" >&5
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22693 ( exit $ac_status )
22694 if test "$ac_cv_type_long_long" = yes; then
22695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22696 See \`config.log' for more details." >&5
22697 echo "$as_me: error: cannot compute sizeof (long long)
22698 See \`config.log' for more details." >&2;}
22699 { (exit 77); exit 77; }; }
22701 ac_cv_sizeof_long_long=0
22704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22708 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22709 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22713 cat >>confdefs.h <<_ACEOF
22714 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22720 { echo "$as_me:$LINENO: checking for long long" >&5
22721 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22722 if test "${ac_cv_type_long_long+set}" = set; then
22723 echo $ECHO_N "(cached) $ECHO_C" >&6
22725 cat >conftest.$ac_ext <<_ACEOF
22728 cat confdefs.h >>conftest.$ac_ext
22729 cat >>conftest.$ac_ext <<_ACEOF
22730 /* end confdefs.h. */
22731 $ac_includes_default
22732 typedef long long ac__type_new_;
22736 if ((ac__type_new_ *) 0)
22738 if (sizeof (ac__type_new_))
22744 rm -f conftest.$ac_objext
22745 if { (ac_try="$ac_compile"
22746 case "(($ac_try" in
22747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22748 *) ac_try_echo=$ac_try;;
22750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22751 (eval "$ac_compile") 2>conftest.er1
22753 grep -v '^ *+' conftest.er1 >conftest.err
22755 cat conftest.err >&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } && {
22758 test -z "$ac_c_werror_flag" ||
22759 test ! -s conftest.err
22760 } && test -s conftest.$ac_objext; then
22761 ac_cv_type_long_long=yes
22763 echo "$as_me: failed program was:" >&5
22764 sed 's/^/| /' conftest.$ac_ext >&5
22766 ac_cv_type_long_long=no
22769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22771 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22772 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22774 # The cast to long int works around a bug in the HP C Compiler
22775 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22776 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22777 # This bug is HP SR number 8606223364.
22778 { echo "$as_me:$LINENO: checking size of long long" >&5
22779 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22780 if test "${ac_cv_sizeof_long_long+set}" = set; then
22781 echo $ECHO_N "(cached) $ECHO_C" >&6
22783 if test "$cross_compiling" = yes; then
22784 # Depending upon the size, compute the lo and hi bounds.
22785 cat >conftest.$ac_ext <<_ACEOF
22788 cat confdefs.h >>conftest.$ac_ext
22789 cat >>conftest.$ac_ext <<_ACEOF
22790 /* end confdefs.h. */
22791 $ac_includes_default
22792 typedef long long ac__type_sizeof_;
22796 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22803 rm -f conftest.$ac_objext
22804 if { (ac_try="$ac_compile"
22805 case "(($ac_try" in
22806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22807 *) ac_try_echo=$ac_try;;
22809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22810 (eval "$ac_compile") 2>conftest.er1
22812 grep -v '^ *+' conftest.er1 >conftest.err
22814 cat conftest.err >&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } && {
22817 test -z "$ac_c_werror_flag" ||
22818 test ! -s conftest.err
22819 } && test -s conftest.$ac_objext; then
22822 cat >conftest.$ac_ext <<_ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 $ac_includes_default
22829 typedef long long ac__type_sizeof_;
22833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22840 rm -f conftest.$ac_objext
22841 if { (ac_try="$ac_compile"
22842 case "(($ac_try" in
22843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22844 *) ac_try_echo=$ac_try;;
22846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_compile") 2>conftest.er1
22849 grep -v '^ *+' conftest.er1 >conftest.err
22851 cat conftest.err >&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } && {
22854 test -z "$ac_c_werror_flag" ||
22855 test ! -s conftest.err
22856 } && test -s conftest.$ac_objext; then
22857 ac_hi=$ac_mid; break
22859 echo "$as_me: failed program was:" >&5
22860 sed 's/^/| /' conftest.$ac_ext >&5
22862 ac_lo=`expr $ac_mid + 1`
22863 if test $ac_lo -le $ac_mid; then
22867 ac_mid=`expr 2 '*' $ac_mid + 1`
22870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.$ac_ext >&5
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_lo=$ac_mid; break
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.$ac_ext >&5
22953 ac_hi=`expr '(' $ac_mid ')' - 1`
22954 if test $ac_mid -le $ac_hi; then
22958 ac_mid=`expr 2 '*' $ac_mid`
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
22970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22974 # Binary search between lo and hi bounds.
22975 while test "x$ac_lo" != "x$ac_hi"; do
22976 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22977 cat >conftest.$ac_ext <<_ACEOF
22980 cat confdefs.h >>conftest.$ac_ext
22981 cat >>conftest.$ac_ext <<_ACEOF
22982 /* end confdefs.h. */
22983 $ac_includes_default
22984 typedef long long ac__type_sizeof_;
22988 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22995 rm -f conftest.$ac_objext
22996 if { (ac_try="$ac_compile"
22997 case "(($ac_try" in
22998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_compile") 2>conftest.er1
23004 grep -v '^ *+' conftest.er1 >conftest.err
23006 cat conftest.err >&5
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); } && {
23009 test -z "$ac_c_werror_flag" ||
23010 test ! -s conftest.err
23011 } && test -s conftest.$ac_objext; then
23014 echo "$as_me: failed program was:" >&5
23015 sed 's/^/| /' conftest.$ac_ext >&5
23017 ac_lo=`expr '(' $ac_mid ')' + 1`
23020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23023 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23024 '') if test "$ac_cv_type_long_long" = yes; then
23025 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23026 See \`config.log' for more details." >&5
23027 echo "$as_me: error: cannot compute sizeof (long long)
23028 See \`config.log' for more details." >&2;}
23029 { (exit 77); exit 77; }; }
23031 ac_cv_sizeof_long_long=0
23035 cat >conftest.$ac_ext <<_ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 $ac_includes_default
23042 typedef long long ac__type_sizeof_;
23043 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23044 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23046 #include <stdlib.h>
23051 FILE *f = fopen ("conftest.val", "w");
23054 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23056 long int i = longval ();
23057 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23059 fprintf (f, "%ld\n", i);
23063 unsigned long int i = ulongval ();
23064 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23066 fprintf (f, "%lu\n", i);
23068 return ferror (f) || fclose (f) != 0;
23074 rm -f conftest$ac_exeext
23075 if { (ac_try="$ac_link"
23076 case "(($ac_try" in
23077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23078 *) ac_try_echo=$ac_try;;
23080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23081 (eval "$ac_link") 2>&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23085 { (case "(($ac_try" in
23086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23087 *) ac_try_echo=$ac_try;;
23089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23090 (eval "$ac_try") 2>&5
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); }; }; then
23094 ac_cv_sizeof_long_long=`cat conftest.val`
23096 echo "$as_me: program exited with status $ac_status" >&5
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.$ac_ext >&5
23100 ( exit $ac_status )
23101 if test "$ac_cv_type_long_long" = yes; then
23102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23103 See \`config.log' for more details." >&5
23104 echo "$as_me: error: cannot compute sizeof (long long)
23105 See \`config.log' for more details." >&2;}
23106 { (exit 77); exit 77; }; }
23108 ac_cv_sizeof_long_long=0
23111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23115 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23116 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23120 cat >>confdefs.h <<_ACEOF
23121 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23125 if test "$ac_cv_sizeof_long_long" != 0; then
23126 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23130 { echo "$as_me:$LINENO: checking for long long" >&5
23131 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23132 if test "${ac_cv_type_long_long+set}" = set; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23135 cat >conftest.$ac_ext <<_ACEOF
23138 cat confdefs.h >>conftest.$ac_ext
23139 cat >>conftest.$ac_ext <<_ACEOF
23140 /* end confdefs.h. */
23141 $ac_includes_default
23142 typedef long long ac__type_new_;
23146 if ((ac__type_new_ *) 0)
23148 if (sizeof (ac__type_new_))
23154 rm -f conftest.$ac_objext
23155 if { (ac_try="$ac_compile"
23156 case "(($ac_try" in
23157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23158 *) ac_try_echo=$ac_try;;
23160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23161 (eval "$ac_compile") 2>conftest.er1
23163 grep -v '^ *+' conftest.er1 >conftest.err
23165 cat conftest.err >&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } && {
23168 test -z "$ac_c_werror_flag" ||
23169 test ! -s conftest.err
23170 } && test -s conftest.$ac_objext; then
23171 ac_cv_type_long_long=yes
23173 echo "$as_me: failed program was:" >&5
23174 sed 's/^/| /' conftest.$ac_ext >&5
23176 ac_cv_type_long_long=no
23179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23181 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23182 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23184 # The cast to long int works around a bug in the HP C Compiler
23185 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23186 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23187 # This bug is HP SR number 8606223364.
23188 { echo "$as_me:$LINENO: checking size of long long" >&5
23189 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23190 if test "${ac_cv_sizeof_long_long+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23193 if test "$cross_compiling" = yes; then
23194 # Depending upon the size, compute the lo and hi bounds.
23195 cat >conftest.$ac_ext <<_ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 $ac_includes_default
23202 typedef long long ac__type_sizeof_;
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23213 rm -f conftest.$ac_objext
23214 if { (ac_try="$ac_compile"
23215 case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_compile") 2>conftest.er1
23222 grep -v '^ *+' conftest.er1 >conftest.err
23224 cat conftest.err >&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.$ac_objext; then
23232 cat >conftest.$ac_ext <<_ACEOF
23235 cat confdefs.h >>conftest.$ac_ext
23236 cat >>conftest.$ac_ext <<_ACEOF
23237 /* end confdefs.h. */
23238 $ac_includes_default
23239 typedef long long ac__type_sizeof_;
23243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23250 rm -f conftest.$ac_objext
23251 if { (ac_try="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23259 grep -v '^ *+' conftest.er1 >conftest.err
23261 cat conftest.err >&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } && {
23264 test -z "$ac_c_werror_flag" ||
23265 test ! -s conftest.err
23266 } && test -s conftest.$ac_objext; then
23267 ac_hi=$ac_mid; break
23269 echo "$as_me: failed program was:" >&5
23270 sed 's/^/| /' conftest.$ac_ext >&5
23272 ac_lo=`expr $ac_mid + 1`
23273 if test $ac_lo -le $ac_mid; then
23277 ac_mid=`expr 2 '*' $ac_mid + 1`
23280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23283 echo "$as_me: failed program was:" >&5
23284 sed 's/^/| /' conftest.$ac_ext >&5
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_lo=$ac_mid; break
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23363 ac_hi=`expr '(' $ac_mid ')' - 1`
23364 if test $ac_mid -le $ac_hi; then
23368 ac_mid=`expr 2 '*' $ac_mid`
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
23380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23384 # Binary search between lo and hi bounds.
23385 while test "x$ac_lo" != "x$ac_hi"; do
23386 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23387 cat >conftest.$ac_ext <<_ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 $ac_includes_default
23394 typedef long long ac__type_sizeof_;
23398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23405 rm -f conftest.$ac_objext
23406 if { (ac_try="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23414 grep -v '^ *+' conftest.er1 >conftest.err
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } && {
23419 test -z "$ac_c_werror_flag" ||
23420 test ! -s conftest.err
23421 } && test -s conftest.$ac_objext; then
23424 echo "$as_me: failed program was:" >&5
23425 sed 's/^/| /' conftest.$ac_ext >&5
23427 ac_lo=`expr '(' $ac_mid ')' + 1`
23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23433 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23434 '') if test "$ac_cv_type_long_long" = yes; then
23435 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23436 See \`config.log' for more details." >&5
23437 echo "$as_me: error: cannot compute sizeof (long long)
23438 See \`config.log' for more details." >&2;}
23439 { (exit 77); exit 77; }; }
23441 ac_cv_sizeof_long_long=0
23445 cat >conftest.$ac_ext <<_ACEOF
23448 cat confdefs.h >>conftest.$ac_ext
23449 cat >>conftest.$ac_ext <<_ACEOF
23450 /* end confdefs.h. */
23451 $ac_includes_default
23452 typedef long long ac__type_sizeof_;
23453 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23454 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23456 #include <stdlib.h>
23461 FILE *f = fopen ("conftest.val", "w");
23464 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23466 long int i = longval ();
23467 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23469 fprintf (f, "%ld\n", i);
23473 unsigned long int i = ulongval ();
23474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23476 fprintf (f, "%lu\n", i);
23478 return ferror (f) || fclose (f) != 0;
23484 rm -f conftest$ac_exeext
23485 if { (ac_try="$ac_link"
23486 case "(($ac_try" in
23487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23488 *) ac_try_echo=$ac_try;;
23490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23491 (eval "$ac_link") 2>&5
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23495 { (case "(($ac_try" in
23496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23497 *) ac_try_echo=$ac_try;;
23499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23500 (eval "$ac_try") 2>&5
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; }; then
23504 ac_cv_sizeof_long_long=`cat conftest.val`
23506 echo "$as_me: program exited with status $ac_status" >&5
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23510 ( exit $ac_status )
23511 if test "$ac_cv_type_long_long" = yes; then
23512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23513 See \`config.log' for more details." >&5
23514 echo "$as_me: error: cannot compute sizeof (long long)
23515 See \`config.log' for more details." >&2;}
23516 { (exit 77); exit 77; }; }
23518 ac_cv_sizeof_long_long=0
23521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23525 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23526 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23530 cat >>confdefs.h <<_ACEOF
23531 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23537 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23538 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23539 if test "${ac_cv_type_wchar_t+set}" = set; then
23540 echo $ECHO_N "(cached) $ECHO_C" >&6
23542 cat >conftest.$ac_ext <<_ACEOF
23545 cat confdefs.h >>conftest.$ac_ext
23546 cat >>conftest.$ac_ext <<_ACEOF
23547 /* end confdefs.h. */
23549 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23550 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23551 # error "fake wchar_t"
23553 #ifdef HAVE_WCHAR_H
23555 # include <stddef.h>
23557 # include <wchar.h>
23559 #ifdef HAVE_STDLIB_H
23560 # include <stdlib.h>
23566 typedef wchar_t ac__type_new_;
23570 if ((ac__type_new_ *) 0)
23572 if (sizeof (ac__type_new_))
23578 rm -f conftest.$ac_objext
23579 if { (ac_try="$ac_compile"
23580 case "(($ac_try" in
23581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23582 *) ac_try_echo=$ac_try;;
23584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23585 (eval "$ac_compile") 2>conftest.er1
23587 grep -v '^ *+' conftest.er1 >conftest.err
23589 cat conftest.err >&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); } && {
23592 test -z "$ac_c_werror_flag" ||
23593 test ! -s conftest.err
23594 } && test -s conftest.$ac_objext; then
23595 ac_cv_type_wchar_t=yes
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.$ac_ext >&5
23600 ac_cv_type_wchar_t=no
23603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23606 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23608 # The cast to long int works around a bug in the HP C Compiler
23609 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23610 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23611 # This bug is HP SR number 8606223364.
23612 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23613 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23614 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23615 echo $ECHO_N "(cached) $ECHO_C" >&6
23617 if test "$cross_compiling" = yes; then
23618 # Depending upon the size, compute the lo and hi bounds.
23619 cat >conftest.$ac_ext <<_ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23626 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23627 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23628 # error "fake wchar_t"
23630 #ifdef HAVE_WCHAR_H
23632 # include <stddef.h>
23634 # include <wchar.h>
23636 #ifdef HAVE_STDLIB_H
23637 # include <stdlib.h>
23643 typedef wchar_t ac__type_sizeof_;
23647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23654 rm -f conftest.$ac_objext
23655 if { (ac_try="$ac_compile"
23656 case "(($ac_try" in
23657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23658 *) ac_try_echo=$ac_try;;
23660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23661 (eval "$ac_compile") 2>conftest.er1
23663 grep -v '^ *+' conftest.er1 >conftest.err
23665 cat conftest.err >&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } && {
23668 test -z "$ac_c_werror_flag" ||
23669 test ! -s conftest.err
23670 } && test -s conftest.$ac_objext; then
23673 cat >conftest.$ac_ext <<_ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23680 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23681 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23682 # error "fake wchar_t"
23684 #ifdef HAVE_WCHAR_H
23686 # include <stddef.h>
23688 # include <wchar.h>
23690 #ifdef HAVE_STDLIB_H
23691 # include <stdlib.h>
23697 typedef wchar_t ac__type_sizeof_;
23701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23708 rm -f conftest.$ac_objext
23709 if { (ac_try="$ac_compile"
23710 case "(($ac_try" in
23711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23712 *) ac_try_echo=$ac_try;;
23714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23715 (eval "$ac_compile") 2>conftest.er1
23717 grep -v '^ *+' conftest.er1 >conftest.err
23719 cat conftest.err >&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } && {
23722 test -z "$ac_c_werror_flag" ||
23723 test ! -s conftest.err
23724 } && test -s conftest.$ac_objext; then
23725 ac_hi=$ac_mid; break
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23730 ac_lo=`expr $ac_mid + 1`
23731 if test $ac_lo -le $ac_mid; then
23735 ac_mid=`expr 2 '*' $ac_mid + 1`
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23741 echo "$as_me: failed program was:" >&5
23742 sed 's/^/| /' conftest.$ac_ext >&5
23744 cat >conftest.$ac_ext <<_ACEOF
23747 cat confdefs.h >>conftest.$ac_ext
23748 cat >>conftest.$ac_ext <<_ACEOF
23749 /* end confdefs.h. */
23751 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23752 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23753 # error "fake wchar_t"
23755 #ifdef HAVE_WCHAR_H
23757 # include <stddef.h>
23759 # include <wchar.h>
23761 #ifdef HAVE_STDLIB_H
23762 # include <stdlib.h>
23768 typedef wchar_t ac__type_sizeof_;
23772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23779 rm -f conftest.$ac_objext
23780 if { (ac_try="$ac_compile"
23781 case "(($ac_try" in
23782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23783 *) ac_try_echo=$ac_try;;
23785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23786 (eval "$ac_compile") 2>conftest.er1
23788 grep -v '^ *+' conftest.er1 >conftest.err
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } && {
23793 test -z "$ac_c_werror_flag" ||
23794 test ! -s conftest.err
23795 } && test -s conftest.$ac_objext; then
23798 cat >conftest.$ac_ext <<_ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23805 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23806 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23807 # error "fake wchar_t"
23809 #ifdef HAVE_WCHAR_H
23811 # include <stddef.h>
23813 # include <wchar.h>
23815 #ifdef HAVE_STDLIB_H
23816 # include <stdlib.h>
23822 typedef wchar_t ac__type_sizeof_;
23826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23833 rm -f conftest.$ac_objext
23834 if { (ac_try="$ac_compile"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23837 *) ac_try_echo=$ac_try;;
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_compile") 2>conftest.er1
23842 grep -v '^ *+' conftest.er1 >conftest.err
23844 cat conftest.err >&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); } && {
23847 test -z "$ac_c_werror_flag" ||
23848 test ! -s conftest.err
23849 } && test -s conftest.$ac_objext; then
23850 ac_lo=$ac_mid; break
23852 echo "$as_me: failed program was:" >&5
23853 sed 's/^/| /' conftest.$ac_ext >&5
23855 ac_hi=`expr '(' $ac_mid ')' - 1`
23856 if test $ac_mid -le $ac_hi; then
23860 ac_mid=`expr 2 '*' $ac_mid`
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23866 echo "$as_me: failed program was:" >&5
23867 sed 's/^/| /' conftest.$ac_ext >&5
23872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23876 # Binary search between lo and hi bounds.
23877 while test "x$ac_lo" != "x$ac_hi"; do
23878 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23879 cat >conftest.$ac_ext <<_ACEOF
23882 cat confdefs.h >>conftest.$ac_ext
23883 cat >>conftest.$ac_ext <<_ACEOF
23884 /* end confdefs.h. */
23886 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23887 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23888 # error "fake wchar_t"
23890 #ifdef HAVE_WCHAR_H
23892 # include <stddef.h>
23894 # include <wchar.h>
23896 #ifdef HAVE_STDLIB_H
23897 # include <stdlib.h>
23903 typedef wchar_t ac__type_sizeof_;
23907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23914 rm -f conftest.$ac_objext
23915 if { (ac_try="$ac_compile"
23916 case "(($ac_try" in
23917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23918 *) ac_try_echo=$ac_try;;
23920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23921 (eval "$ac_compile") 2>conftest.er1
23923 grep -v '^ *+' conftest.er1 >conftest.err
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } && {
23928 test -z "$ac_c_werror_flag" ||
23929 test ! -s conftest.err
23930 } && test -s conftest.$ac_objext; then
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23936 ac_lo=`expr '(' $ac_mid ')' + 1`
23939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23942 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23943 '') if test "$ac_cv_type_wchar_t" = yes; then
23944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23945 See \`config.log' for more details." >&5
23946 echo "$as_me: error: cannot compute sizeof (wchar_t)
23947 See \`config.log' for more details." >&2;}
23948 { (exit 77); exit 77; }; }
23950 ac_cv_sizeof_wchar_t=0
23954 cat >conftest.$ac_ext <<_ACEOF
23957 cat confdefs.h >>conftest.$ac_ext
23958 cat >>conftest.$ac_ext <<_ACEOF
23959 /* end confdefs.h. */
23961 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23962 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23963 # error "fake wchar_t"
23965 #ifdef HAVE_WCHAR_H
23967 # include <stddef.h>
23969 # include <wchar.h>
23971 #ifdef HAVE_STDLIB_H
23972 # include <stdlib.h>
23978 typedef wchar_t ac__type_sizeof_;
23979 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23980 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23982 #include <stdlib.h>
23987 FILE *f = fopen ("conftest.val", "w");
23990 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23992 long int i = longval ();
23993 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23995 fprintf (f, "%ld\n", i);
23999 unsigned long int i = ulongval ();
24000 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24002 fprintf (f, "%lu\n", i);
24004 return ferror (f) || fclose (f) != 0;
24010 rm -f conftest$ac_exeext
24011 if { (ac_try="$ac_link"
24012 case "(($ac_try" in
24013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24014 *) ac_try_echo=$ac_try;;
24016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24017 (eval "$ac_link") 2>&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24021 { (case "(($ac_try" in
24022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24023 *) ac_try_echo=$ac_try;;
24025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24026 (eval "$ac_try") 2>&5
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); }; }; then
24030 ac_cv_sizeof_wchar_t=`cat conftest.val`
24032 echo "$as_me: program exited with status $ac_status" >&5
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.$ac_ext >&5
24036 ( exit $ac_status )
24037 if test "$ac_cv_type_wchar_t" = yes; then
24038 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24039 See \`config.log' for more details." >&5
24040 echo "$as_me: error: cannot compute sizeof (wchar_t)
24041 See \`config.log' for more details." >&2;}
24042 { (exit 77); exit 77; }; }
24044 ac_cv_sizeof_wchar_t=0
24047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24051 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24052 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24056 cat >>confdefs.h <<_ACEOF
24057 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24061 if test "$ac_cv_sizeof_wchar_t" = 0; then
24062 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24063 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24064 { (exit 1); exit 1; }; }
24066 cat >>confdefs.h <<\_ACEOF
24067 #define wxUSE_WCHAR_T 1
24071 { echo "$as_me:$LINENO: checking for va_copy" >&5
24072 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24073 if test "${wx_cv_func_va_copy+set}" = set; then
24074 echo $ECHO_N "(cached) $ECHO_C" >&6
24078 ac_cpp='$CXXCPP $CPPFLAGS'
24079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24083 cat >conftest.$ac_ext <<_ACEOF
24085 #include <stdarg.h>
24086 void foo(char *f, ...)
24100 rm -f conftest.$ac_objext conftest$ac_exeext
24101 if { (ac_try="$ac_link"
24102 case "(($ac_try" in
24103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24104 *) ac_try_echo=$ac_try;;
24106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24107 (eval "$ac_link") 2>conftest.er1
24109 grep -v '^ *+' conftest.er1 >conftest.err
24111 cat conftest.err >&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } && {
24114 test -z "$ac_cxx_werror_flag" ||
24115 test ! -s conftest.err
24116 } && test -s conftest$ac_exeext &&
24117 $as_test_x conftest$ac_exeext; then
24118 wx_cv_func_va_copy=yes
24120 echo "$as_me: failed program was:" >&5
24121 sed 's/^/| /' conftest.$ac_ext >&5
24123 wx_cv_func_va_copy=no
24127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24128 conftest$ac_exeext conftest.$ac_ext
24130 ac_cpp='$CPP $CPPFLAGS'
24131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24138 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24139 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24141 if test $wx_cv_func_va_copy = "yes"; then
24142 cat >>confdefs.h <<\_ACEOF
24143 #define HAVE_VA_COPY 1
24147 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24148 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24149 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24150 echo $ECHO_N "(cached) $ECHO_C" >&6
24153 if test "$cross_compiling" = yes; then
24154 wx_cv_type_va_list_lvalue=yes
24157 cat >conftest.$ac_ext <<_ACEOF
24159 #include <stdarg.h>
24160 int foo(char *f, ...)
24165 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24173 return foo("hi", 17);
24176 rm -f conftest$ac_exeext
24177 if { (ac_try="$ac_link"
24178 case "(($ac_try" in
24179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24180 *) ac_try_echo=$ac_try;;
24182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24183 (eval "$ac_link") 2>&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24187 { (case "(($ac_try" in
24188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24189 *) ac_try_echo=$ac_try;;
24191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24192 (eval "$ac_try") 2>&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 wx_cv_type_va_list_lvalue=yes
24198 echo "$as_me: program exited with status $ac_status" >&5
24199 echo "$as_me: failed program was:" >&5
24200 sed 's/^/| /' conftest.$ac_ext >&5
24202 ( exit $ac_status )
24203 wx_cv_type_va_list_lvalue=no
24205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24212 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24213 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24215 if test $wx_cv_type_va_list_lvalue != "yes"; then
24216 cat >>confdefs.h <<\_ACEOF
24217 #define VA_LIST_IS_ARRAY 1
24223 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24225 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24226 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24227 if test "${wx_cv_have_variadic_macros+set}" = set; then
24228 echo $ECHO_N "(cached) $ECHO_C" >&6
24232 ac_cpp='$CXXCPP $CPPFLAGS'
24233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24237 cat >conftest.$ac_ext <<_ACEOF
24240 cat confdefs.h >>conftest.$ac_ext
24241 cat >>conftest.$ac_ext <<_ACEOF
24242 /* end confdefs.h. */
24245 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24251 test("%s %d %p", "test", 1, 0);
24258 rm -f conftest.$ac_objext
24259 if { (ac_try="$ac_compile"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24265 (eval "$ac_compile") 2>conftest.er1
24267 grep -v '^ *+' conftest.er1 >conftest.err
24269 cat conftest.err >&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } && {
24272 test -z "$ac_cxx_werror_flag" ||
24273 test ! -s conftest.err
24274 } && test -s conftest.$ac_objext; then
24275 wx_cv_have_variadic_macros=yes
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24280 wx_cv_have_variadic_macros=no
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286 ac_cpp='$CPP $CPPFLAGS'
24287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24294 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24295 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24297 if test $wx_cv_have_variadic_macros = "yes"; then
24298 cat >>confdefs.h <<\_ACEOF
24299 #define HAVE_VARIADIC_MACROS 1
24306 LARGEFILE_CPPFLAGS=
24307 # Check whether --enable-largefile was given.
24308 if test "${enable_largefile+set}" = set; then
24309 enableval=$enable_largefile;
24312 if test "$enable_largefile" != no; then
24315 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24316 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24317 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24318 echo $ECHO_N "(cached) $ECHO_C" >&6
24321 cat >conftest.$ac_ext <<_ACEOF
24324 cat confdefs.h >>conftest.$ac_ext
24325 cat >>conftest.$ac_ext <<_ACEOF
24326 /* end confdefs.h. */
24327 #define _FILE_OFFSET_BITS 64
24328 #include <sys/types.h>
24333 unsigned int field: sizeof(off_t) == 8;
24340 rm -f conftest.$ac_objext
24341 if { (ac_try="$ac_compile"
24342 case "(($ac_try" in
24343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24344 *) ac_try_echo=$ac_try;;
24346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24347 (eval "$ac_compile") 2>conftest.er1
24349 grep -v '^ *+' conftest.er1 >conftest.err
24351 cat conftest.err >&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } && {
24354 test -z "$ac_c_werror_flag" ||
24355 test ! -s conftest.err
24356 } && test -s conftest.$ac_objext; then
24357 ac_cv_sys_file_offset_bits=64
24359 echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.$ac_ext >&5
24362 ac_cv_sys_file_offset_bits=no
24365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24369 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24370 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24372 if test "$ac_cv_sys_file_offset_bits" != no; then
24374 cat >>confdefs.h <<_ACEOF
24375 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24380 if test "x$wx_largefile" != "xyes"; then
24382 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24383 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24384 if test "${ac_cv_sys_large_files+set}" = set; then
24385 echo $ECHO_N "(cached) $ECHO_C" >&6
24388 cat >conftest.$ac_ext <<_ACEOF
24391 cat confdefs.h >>conftest.$ac_ext
24392 cat >>conftest.$ac_ext <<_ACEOF
24393 /* end confdefs.h. */
24394 #define _LARGE_FILES 1
24395 #include <sys/types.h>
24400 unsigned int field: sizeof(off_t) == 8;
24407 rm -f conftest.$ac_objext
24408 if { (ac_try="$ac_compile"
24409 case "(($ac_try" in
24410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24411 *) ac_try_echo=$ac_try;;
24413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24414 (eval "$ac_compile") 2>conftest.er1
24416 grep -v '^ *+' conftest.er1 >conftest.err
24418 cat conftest.err >&5
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); } && {
24421 test -z "$ac_c_werror_flag" ||
24422 test ! -s conftest.err
24423 } && test -s conftest.$ac_objext; then
24424 ac_cv_sys_large_files=1
24426 echo "$as_me: failed program was:" >&5
24427 sed 's/^/| /' conftest.$ac_ext >&5
24429 ac_cv_sys_large_files=no
24432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24436 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24437 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24439 if test "$ac_cv_sys_large_files" != no; then
24441 cat >>confdefs.h <<_ACEOF
24442 #define _LARGE_FILES $ac_cv_sys_large_files
24449 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24450 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24451 if test "x$wx_largefile" = "xyes"; then
24452 cat >>confdefs.h <<\_ACEOF
24453 #define HAVE_LARGEFILE_SUPPORT 1
24457 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24458 echo "${ECHO_T}$wx_largefile" >&6; }
24461 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24462 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24463 elif test "$ac_cv_sys_large_files" = 1; then
24464 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24467 if test -n "$LARGEFILE_CPPFLAGS"; then
24468 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24470 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24471 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24472 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24473 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24474 echo $ECHO_N "(cached) $ECHO_C" >&6
24478 ac_cpp='$CXXCPP $CPPFLAGS'
24479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24483 cat >conftest.$ac_ext <<_ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24494 #ifndef __STDC_EXT__
24502 rm -f conftest.$ac_objext
24503 if { (ac_try="$ac_compile"
24504 case "(($ac_try" in
24505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24506 *) ac_try_echo=$ac_try;;
24508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24509 (eval "$ac_compile") 2>conftest.er1
24511 grep -v '^ *+' conftest.er1 >conftest.err
24513 cat conftest.err >&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); } && {
24516 test -z "$ac_cxx_werror_flag" ||
24517 test ! -s conftest.err
24518 } && test -s conftest.$ac_objext; then
24519 wx_cv_STDC_EXT_required=no
24521 echo "$as_me: failed program was:" >&5
24522 sed 's/^/| /' conftest.$ac_ext >&5
24524 wx_cv_STDC_EXT_required=yes
24528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 ac_cpp='$CPP $CPPFLAGS'
24531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24538 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24539 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24540 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24541 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24547 ac_cpp='$CXXCPP $CPPFLAGS'
24548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24552 old_CPPFLAGS="$CPPFLAGS"
24553 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24554 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24555 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24556 if test "${ac_cv_sys_largefile_source+set}" = set; then
24557 echo $ECHO_N "(cached) $ECHO_C" >&6
24560 cat >conftest.$ac_ext <<_ACEOF
24563 cat confdefs.h >>conftest.$ac_ext
24564 cat >>conftest.$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24566 #include <sys/types.h> /* for off_t */
24571 int (*fp) (FILE *, off_t, int) = fseeko;
24572 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24577 rm -f conftest.$ac_objext conftest$ac_exeext
24578 if { (ac_try="$ac_link"
24579 case "(($ac_try" in
24580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24581 *) ac_try_echo=$ac_try;;
24583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24584 (eval "$ac_link") 2>conftest.er1
24586 grep -v '^ *+' conftest.er1 >conftest.err
24588 cat conftest.err >&5
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); } && {
24591 test -z "$ac_cxx_werror_flag" ||
24592 test ! -s conftest.err
24593 } && test -s conftest$ac_exeext &&
24594 $as_test_x conftest$ac_exeext; then
24595 ac_cv_sys_largefile_source=no; break
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24604 conftest$ac_exeext conftest.$ac_ext
24605 cat >conftest.$ac_ext <<_ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24611 #define _LARGEFILE_SOURCE 1
24612 #include <sys/types.h> /* for off_t */
24617 int (*fp) (FILE *, off_t, int) = fseeko;
24618 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24623 rm -f conftest.$ac_objext conftest$ac_exeext
24624 if { (ac_try="$ac_link"
24625 case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_link") 2>conftest.er1
24632 grep -v '^ *+' conftest.er1 >conftest.err
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && {
24637 test -z "$ac_cxx_werror_flag" ||
24638 test ! -s conftest.err
24639 } && test -s conftest$ac_exeext &&
24640 $as_test_x conftest$ac_exeext; then
24641 ac_cv_sys_largefile_source=1; break
24643 echo "$as_me: failed program was:" >&5
24644 sed 's/^/| /' conftest.$ac_ext >&5
24649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24650 conftest$ac_exeext conftest.$ac_ext
24651 ac_cv_sys_largefile_source=unknown
24655 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24656 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24657 case $ac_cv_sys_largefile_source in #(
24660 cat >>confdefs.h <<_ACEOF
24661 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24667 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24668 # in glibc 2.1.3, but that breaks too many other things.
24669 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24670 if test $ac_cv_sys_largefile_source != unknown; then
24672 cat >>confdefs.h <<\_ACEOF
24673 #define HAVE_FSEEKO 1
24678 CPPFLAGS="$old_CPPFLAGS"
24680 ac_cpp='$CPP $CPPFLAGS'
24681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24685 if test "$ac_cv_sys_largefile_source" != no; then
24686 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24689 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24690 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24691 if test "${ac_cv_c_bigendian+set}" = set; then
24692 echo $ECHO_N "(cached) $ECHO_C" >&6
24694 ac_cv_c_bigendian=unknown
24695 # See if sys/param.h defines the BYTE_ORDER macro.
24696 cat >conftest.$ac_ext <<_ACEOF
24699 cat confdefs.h >>conftest.$ac_ext
24700 cat >>conftest.$ac_ext <<_ACEOF
24701 /* end confdefs.h. */
24702 #include <sys/types.h>
24703 #include <sys/param.h>
24708 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24709 bogus endian macros
24715 rm -f conftest.$ac_objext
24716 if { (ac_try="$ac_compile"
24717 case "(($ac_try" in
24718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24719 *) ac_try_echo=$ac_try;;
24721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24722 (eval "$ac_compile") 2>conftest.er1
24724 grep -v '^ *+' conftest.er1 >conftest.err
24726 cat conftest.err >&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); } && {
24729 test -z "$ac_c_werror_flag" ||
24730 test ! -s conftest.err
24731 } && test -s conftest.$ac_objext; then
24732 # It does; now see whether it defined to BIG_ENDIAN or not.
24733 cat >conftest.$ac_ext <<_ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24739 #include <sys/types.h>
24740 #include <sys/param.h>
24745 #if BYTE_ORDER != BIG_ENDIAN
24752 rm -f conftest.$ac_objext
24753 if { (ac_try="$ac_compile"
24754 case "(($ac_try" in
24755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24756 *) ac_try_echo=$ac_try;;
24758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24759 (eval "$ac_compile") 2>conftest.er1
24761 grep -v '^ *+' conftest.er1 >conftest.err
24763 cat conftest.err >&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } && {
24766 test -z "$ac_c_werror_flag" ||
24767 test ! -s conftest.err
24768 } && test -s conftest.$ac_objext; then
24769 ac_cv_c_bigendian=yes
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.$ac_ext >&5
24774 ac_cv_c_bigendian=no
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.$ac_ext >&5
24785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24786 if test $ac_cv_c_bigendian = unknown; then
24787 if test "$cross_compiling" = yes; then
24788 ac_cv_c_bigendian=unknown
24790 cat >conftest.$ac_ext <<_ACEOF
24793 cat confdefs.h >>conftest.$ac_ext
24794 cat >>conftest.$ac_ext <<_ACEOF
24795 /* end confdefs.h. */
24797 /* Are we little or big endian? From Harbison&Steele. */
24801 char c[sizeof (long)];
24804 exit (u.c[sizeof (long) - 1] == 1);
24807 rm -f conftest$ac_exeext
24808 if { (ac_try="$ac_link"
24809 case "(($ac_try" in
24810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24811 *) ac_try_echo=$ac_try;;
24813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24814 (eval "$ac_link") 2>&5
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24818 { (case "(($ac_try" in
24819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24820 *) ac_try_echo=$ac_try;;
24822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24823 (eval "$ac_try") 2>&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); }; }; then
24827 ac_cv_c_bigendian=no
24829 echo "$as_me: program exited with status $ac_status" >&5
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.$ac_ext >&5
24833 ( exit $ac_status )
24834 ac_cv_c_bigendian=yes
24836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24842 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24843 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24844 if test $ac_cv_c_bigendian = unknown; then
24845 { 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
24846 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;}
24848 if test $ac_cv_c_bigendian = yes; then
24849 cat >>confdefs.h <<\_ACEOF
24850 #define WORDS_BIGENDIAN 1
24859 ac_cpp='$CXXCPP $CPPFLAGS'
24860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24866 for ac_header in iostream
24868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 cat >conftest.$ac_ext <<_ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24882 #include <$ac_header>
24884 rm -f conftest.$ac_objext
24885 if { (ac_try="$ac_compile"
24886 case "(($ac_try" in
24887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24888 *) ac_try_echo=$ac_try;;
24890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24891 (eval "$ac_compile") 2>conftest.er1
24893 grep -v '^ *+' conftest.er1 >conftest.err
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } && {
24898 test -z "$ac_cxx_werror_flag" ||
24899 test ! -s conftest.err
24900 } && test -s conftest.$ac_objext; then
24901 eval "$as_ac_Header=yes"
24903 echo "$as_me: failed program was:" >&5
24904 sed 's/^/| /' conftest.$ac_ext >&5
24906 eval "$as_ac_Header=no"
24909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24911 ac_res=`eval echo '${'$as_ac_Header'}'`
24912 { echo "$as_me:$LINENO: result: $ac_res" >&5
24913 echo "${ECHO_T}$ac_res" >&6; }
24914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24915 cat >>confdefs.h <<_ACEOF
24916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24924 if test "$ac_cv_header_iostream" = "yes" ; then
24927 cat >>confdefs.h <<\_ACEOF
24928 #define wxUSE_IOSTREAMH 1
24934 ac_cpp='$CPP $CPPFLAGS'
24935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24942 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24943 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24944 if test "${wx_cv_explicit+set}" = set; then
24945 echo $ECHO_N "(cached) $ECHO_C" >&6
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
24956 cat >conftest.$ac_ext <<_ACEOF
24959 cat confdefs.h >>conftest.$ac_ext
24960 cat >>conftest.$ac_ext <<_ACEOF
24961 /* end confdefs.h. */
24963 class Foo { public: explicit Foo(int) {} };
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
24993 cat >conftest.$ac_ext <<_ACEOF
24996 cat confdefs.h >>conftest.$ac_ext
24997 cat >>conftest.$ac_ext <<_ACEOF
24998 /* end confdefs.h. */
25000 class Foo { public: explicit Foo(int) {} };
25001 static void TakeFoo(const Foo& foo) { }
25014 rm -f conftest.$ac_objext
25015 if { (ac_try="$ac_compile"
25016 case "(($ac_try" in
25017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25018 *) ac_try_echo=$ac_try;;
25020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25021 (eval "$ac_compile") 2>conftest.er1
25023 grep -v '^ *+' conftest.er1 >conftest.err
25025 cat conftest.err >&5
25026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25027 (exit $ac_status); } && {
25028 test -z "$ac_cxx_werror_flag" ||
25029 test ! -s conftest.err
25030 } && test -s conftest.$ac_objext; then
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.$ac_ext >&5
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25043 echo "$as_me: failed program was:" >&5
25044 sed 's/^/| /' conftest.$ac_ext >&5
25050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25053 ac_cpp='$CPP $CPPFLAGS'
25054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25060 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25061 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25063 if test "$wx_cv_explicit" = "yes"; then
25064 cat >>confdefs.h <<\_ACEOF
25065 #define HAVE_EXPLICIT 1
25071 if test "x$SUNCXX" = xyes; then
25072 CXXFLAGS="-features=tmplife $CXXFLAGS"
25075 if test "x$SUNCC" = xyes; then
25076 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25079 if test "x$SGICC" = "xyes"; then
25080 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25081 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25082 if test "${wx_cv_prog_sgicc744+set}" = set; then
25083 echo $ECHO_N "(cached) $ECHO_C" >&6
25086 cat >conftest.$ac_ext <<_ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25097 #if _SGI_COMPILER_VERSION >= 744
25098 chock me: mipsPro is 7.4.4 or later
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_c_werror_flag" ||
25120 test ! -s conftest.err
25121 } && test -s conftest.$ac_objext; then
25122 wx_cv_prog_sgicc744=no
25124 echo "$as_me: failed program was:" >&5
25125 sed 's/^/| /' conftest.$ac_ext >&5
25127 wx_cv_prog_sgicc744=yes
25131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25135 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25136 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25138 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25139 CFLAGS="-woff 3970 $CFLAGS"
25142 if test "x$SGICXX" = "xyes"; then
25143 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25144 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25145 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25146 echo $ECHO_N "(cached) $ECHO_C" >&6
25150 ac_cpp='$CXXCPP $CPPFLAGS'
25151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25155 cat >conftest.$ac_ext <<_ACEOF
25158 cat confdefs.h >>conftest.$ac_ext
25159 cat >>conftest.$ac_ext <<_ACEOF
25160 /* end confdefs.h. */
25166 #if _SGI_COMPILER_VERSION >= 744
25167 chock me: mipsPro is 7.4.4 or later
25174 rm -f conftest.$ac_objext
25175 if { (ac_try="$ac_compile"
25176 case "(($ac_try" in
25177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25178 *) ac_try_echo=$ac_try;;
25180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25181 (eval "$ac_compile") 2>conftest.er1
25183 grep -v '^ *+' conftest.er1 >conftest.err
25185 cat conftest.err >&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && {
25188 test -z "$ac_cxx_werror_flag" ||
25189 test ! -s conftest.err
25190 } && test -s conftest.$ac_objext; then
25191 wx_cv_prog_sgicxx744=no
25193 echo "$as_me: failed program was:" >&5
25194 sed 's/^/| /' conftest.$ac_ext >&5
25196 wx_cv_prog_sgicxx744=yes
25200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25202 ac_cpp='$CPP $CPPFLAGS'
25203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25210 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25211 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25213 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25214 CXXFLAGS="-woff 3970 $CXXFLAGS"
25218 if test "x$HPCC" = "xyes"; then
25219 CFLAGS="+W 2011,2450 $CFLAGS"
25221 if test "x$HPCXX" = "xyes"; then
25222 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25225 if test "x$COMPAQCXX" = "xyes"; then
25226 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25230 ac_cpp='$CXXCPP $CPPFLAGS'
25231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25236 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25237 if test "$wxUSE_UNICODE" = "yes"; then
25238 std_string="std::wstring"
25239 char_type="wchar_t"
25241 std_string="std::string"
25245 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25246 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25247 if test "${wx_cv_class_stdstring+set}" = set; then
25248 echo $ECHO_N "(cached) $ECHO_C" >&6
25251 cat >conftest.$ac_ext <<_ACEOF
25254 cat confdefs.h >>conftest.$ac_ext
25255 cat >>conftest.$ac_ext <<_ACEOF
25256 /* end confdefs.h. */
25266 rm -f conftest.$ac_objext
25267 if { (ac_try="$ac_compile"
25268 case "(($ac_try" in
25269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25270 *) ac_try_echo=$ac_try;;
25272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25273 (eval "$ac_compile") 2>conftest.er1
25275 grep -v '^ *+' conftest.er1 >conftest.err
25277 cat conftest.err >&5
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); } && {
25280 test -z "$ac_cxx_werror_flag" ||
25281 test ! -s conftest.err
25282 } && test -s conftest.$ac_objext; then
25283 wx_cv_class_stdstring=yes
25285 echo "$as_me: failed program was:" >&5
25286 sed 's/^/| /' conftest.$ac_ext >&5
25288 wx_cv_class_stdstring=no
25292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25296 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25297 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25299 if test "$wx_cv_class_stdstring" = yes; then
25300 if test "$wxUSE_UNICODE" = "yes"; then
25301 cat >>confdefs.h <<\_ACEOF
25302 #define HAVE_STD_WSTRING 1
25307 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25308 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25309 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25310 echo $ECHO_N "(cached) $ECHO_C" >&6
25313 cat >conftest.$ac_ext <<_ACEOF
25316 cat confdefs.h >>conftest.$ac_ext
25317 cat >>conftest.$ac_ext <<_ACEOF
25318 /* end confdefs.h. */
25320 #ifdef HAVE_WCHAR_H
25322 # include <stddef.h>
25324 # include <wchar.h>
25326 #ifdef HAVE_STDLIB_H
25327 # include <stdlib.h>
25335 std::basic_string<$char_type> foo;
25336 const $char_type* dummy = foo.c_str();
25341 rm -f conftest.$ac_objext
25342 if { (ac_try="$ac_compile"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_compile") 2>conftest.er1
25350 grep -v '^ *+' conftest.er1 >conftest.err
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_cxx_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest.$ac_objext; then
25358 wx_cv_class_stdbasicstring=yes
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.$ac_ext >&5
25363 wx_cv_class_stdbasicstring=no
25367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25371 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25372 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25374 if test "$wx_cv_class_stdbasicstring" != yes; then
25375 if test "$wxUSE_STL" = "yes"; then
25376 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25377 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25378 { (exit 1); exit 1; }; }
25379 elif test "$wxUSE_STD_STRING" = "yes"; then
25380 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25381 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25382 { (exit 1); exit 1; }; }
25384 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25385 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25386 wxUSE_STD_STRING=no
25392 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25393 { echo "$as_me:$LINENO: checking for std::istream" >&5
25394 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25395 if test "${ac_cv_type_std__istream+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25398 cat >conftest.$ac_ext <<_ACEOF
25401 cat confdefs.h >>conftest.$ac_ext
25402 cat >>conftest.$ac_ext <<_ACEOF
25403 /* end confdefs.h. */
25404 #include <iostream>
25406 typedef std::istream ac__type_new_;
25410 if ((ac__type_new_ *) 0)
25412 if (sizeof (ac__type_new_))
25418 rm -f conftest.$ac_objext
25419 if { (ac_try="$ac_compile"
25420 case "(($ac_try" in
25421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25422 *) ac_try_echo=$ac_try;;
25424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25425 (eval "$ac_compile") 2>conftest.er1
25427 grep -v '^ *+' conftest.er1 >conftest.err
25429 cat conftest.err >&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } && {
25432 test -z "$ac_cxx_werror_flag" ||
25433 test ! -s conftest.err
25434 } && test -s conftest.$ac_objext; then
25435 ac_cv_type_std__istream=yes
25437 echo "$as_me: failed program was:" >&5
25438 sed 's/^/| /' conftest.$ac_ext >&5
25440 ac_cv_type_std__istream=no
25443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25445 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25446 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25447 if test $ac_cv_type_std__istream = yes; then
25449 cat >>confdefs.h <<_ACEOF
25450 #define HAVE_STD__ISTREAM 1
25455 wxUSE_STD_IOSTREAM=no
25457 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25458 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25459 if test "${ac_cv_type_std__ostream+set}" = set; then
25460 echo $ECHO_N "(cached) $ECHO_C" >&6
25462 cat >conftest.$ac_ext <<_ACEOF
25465 cat confdefs.h >>conftest.$ac_ext
25466 cat >>conftest.$ac_ext <<_ACEOF
25467 /* end confdefs.h. */
25468 #include <iostream>
25470 typedef std::ostream ac__type_new_;
25474 if ((ac__type_new_ *) 0)
25476 if (sizeof (ac__type_new_))
25482 rm -f conftest.$ac_objext
25483 if { (ac_try="$ac_compile"
25484 case "(($ac_try" in
25485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25486 *) ac_try_echo=$ac_try;;
25488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25489 (eval "$ac_compile") 2>conftest.er1
25491 grep -v '^ *+' conftest.er1 >conftest.err
25493 cat conftest.err >&5
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); } && {
25496 test -z "$ac_cxx_werror_flag" ||
25497 test ! -s conftest.err
25498 } && test -s conftest.$ac_objext; then
25499 ac_cv_type_std__ostream=yes
25501 echo "$as_me: failed program was:" >&5
25502 sed 's/^/| /' conftest.$ac_ext >&5
25504 ac_cv_type_std__ostream=no
25507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25509 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25510 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25511 if test $ac_cv_type_std__ostream = yes; then
25513 cat >>confdefs.h <<_ACEOF
25514 #define HAVE_STD__OSTREAM 1
25519 wxUSE_STD_IOSTREAM=no
25523 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25524 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25525 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25526 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25527 { (exit 1); exit 1; }; }
25529 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25530 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25535 if test "$wxUSE_STL" = "yes"; then
25536 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25537 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25538 if test "${wx_cv_lib_stl+set}" = set; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 cat >conftest.$ac_ext <<_ACEOF
25544 cat confdefs.h >>conftest.$ac_ext
25545 cat >>conftest.$ac_ext <<_ACEOF
25546 /* end confdefs.h. */
25548 #include <functional>
25549 #include <algorithm>
25555 std::vector<int> moo;
25556 std::list<int> foo;
25557 std::vector<int>::iterator it =
25558 std::find_if(moo.begin(), moo.end(),
25559 std::bind2nd(std::less<int>(), 3));
25564 rm -f conftest.$ac_objext
25565 if { (ac_try="$ac_compile"
25566 case "(($ac_try" in
25567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25568 *) ac_try_echo=$ac_try;;
25570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25571 (eval "$ac_compile") 2>conftest.er1
25573 grep -v '^ *+' conftest.er1 >conftest.err
25575 cat conftest.err >&5
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); } && {
25578 test -z "$ac_cxx_werror_flag" ||
25579 test ! -s conftest.err
25580 } && test -s conftest.$ac_objext; then
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.$ac_ext >&5
25590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25593 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25594 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25596 if test "$wx_cv_lib_stl" != yes; then
25597 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25598 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25599 { (exit 1); exit 1; }; }
25602 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25603 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25604 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25605 echo $ECHO_N "(cached) $ECHO_C" >&6
25607 cat >conftest.$ac_ext <<_ACEOF
25610 cat confdefs.h >>conftest.$ac_ext
25611 cat >>conftest.$ac_ext <<_ACEOF
25612 /* end confdefs.h. */
25617 std::string foo, bar;
25619 foo.compare(1, 1, bar);
25620 foo.compare(1, 1, bar, 1, 1);
25622 foo.compare(1, 1, "");
25623 foo.compare(1, 1, "", 2);
25628 rm -f conftest.$ac_objext
25629 if { (ac_try="$ac_compile"
25630 case "(($ac_try" in
25631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25632 *) ac_try_echo=$ac_try;;
25634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25635 (eval "$ac_compile") 2>conftest.er1
25637 grep -v '^ *+' conftest.er1 >conftest.err
25639 cat conftest.err >&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } && {
25642 test -z "$ac_cxx_werror_flag" ||
25643 test ! -s conftest.err
25644 } && test -s conftest.$ac_objext; then
25645 wx_cv_func_stdstring_compare=yes
25647 echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.$ac_ext >&5
25650 wx_cv_func_stdstring_compare=no
25654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25657 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25658 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25660 if test "$wx_cv_func_stdstring_compare" = yes; then
25661 cat >>confdefs.h <<\_ACEOF
25662 #define HAVE_STD_STRING_COMPARE 1
25667 if test "$wx_cv_class_gnuhashmapset" = yes; then
25668 cat >>confdefs.h <<\_ACEOF
25669 #define HAVE_EXT_HASH_MAP 1
25672 cat >>confdefs.h <<\_ACEOF
25673 #define HAVE_GNU_CXX_HASH_MAP 1
25678 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25679 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25680 if test "${ac_cv_header_unordered_map+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 cat >conftest.$ac_ext <<_ACEOF
25686 cat confdefs.h >>conftest.$ac_ext
25687 cat >>conftest.$ac_ext <<_ACEOF
25688 /* end confdefs.h. */
25692 #include <unordered_map>
25694 rm -f conftest.$ac_objext
25695 if { (ac_try="$ac_compile"
25696 case "(($ac_try" in
25697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25698 *) ac_try_echo=$ac_try;;
25700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25701 (eval "$ac_compile") 2>conftest.er1
25703 grep -v '^ *+' conftest.er1 >conftest.err
25705 cat conftest.err >&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } && {
25708 test -z "$ac_cxx_werror_flag" ||
25709 test ! -s conftest.err
25710 } && test -s conftest.$ac_objext; then
25711 ac_cv_header_unordered_map=yes
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.$ac_ext >&5
25716 ac_cv_header_unordered_map=no
25719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25721 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25722 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25723 if test $ac_cv_header_unordered_map = yes; then
25724 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25725 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25726 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25729 cat >conftest.$ac_ext <<_ACEOF
25732 cat confdefs.h >>conftest.$ac_ext
25733 cat >>conftest.$ac_ext <<_ACEOF
25734 /* end confdefs.h. */
25735 #include <unordered_map>
25736 #include <unordered_set>
25740 std::unordered_map<double*, char*> test1;
25741 std::unordered_set<char*> test2;
25746 rm -f conftest.$ac_objext
25747 if { (ac_try="$ac_compile"
25748 case "(($ac_try" in
25749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25750 *) ac_try_echo=$ac_try;;
25752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25753 (eval "$ac_compile") 2>conftest.er1
25755 grep -v '^ *+' conftest.er1 >conftest.err
25757 cat conftest.err >&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); } && {
25760 test -z "$ac_cxx_werror_flag" ||
25761 test ! -s conftest.err
25762 } && test -s conftest.$ac_objext; then
25763 wx_cv_class_stdunorderedmapset=yes
25765 echo "$as_me: failed program was:" >&5
25766 sed 's/^/| /' conftest.$ac_ext >&5
25768 wx_cv_class_stdunorderedmapset=no
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25775 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25776 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25781 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25782 cat >>confdefs.h <<\_ACEOF
25783 #define HAVE_STD_UNORDERED_MAP 1
25786 cat >>confdefs.h <<\_ACEOF
25787 #define HAVE_STD_UNORDERED_SET 1
25791 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25792 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25793 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 cat >conftest.$ac_ext <<_ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25805 #include <tr1/unordered_map>
25807 rm -f conftest.$ac_objext
25808 if { (ac_try="$ac_compile"
25809 case "(($ac_try" in
25810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25811 *) ac_try_echo=$ac_try;;
25813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25814 (eval "$ac_compile") 2>conftest.er1
25816 grep -v '^ *+' conftest.er1 >conftest.err
25818 cat conftest.err >&5
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); } && {
25821 test -z "$ac_cxx_werror_flag" ||
25822 test ! -s conftest.err
25823 } && test -s conftest.$ac_objext; then
25824 ac_cv_header_tr1_unordered_map=yes
25826 echo "$as_me: failed program was:" >&5
25827 sed 's/^/| /' conftest.$ac_ext >&5
25829 ac_cv_header_tr1_unordered_map=no
25832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25835 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25836 if test $ac_cv_header_tr1_unordered_map = yes; then
25837 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25838 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25839 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25840 echo $ECHO_N "(cached) $ECHO_C" >&6
25842 cat >conftest.$ac_ext <<_ACEOF
25845 cat confdefs.h >>conftest.$ac_ext
25846 cat >>conftest.$ac_ext <<_ACEOF
25847 /* end confdefs.h. */
25848 #include <tr1/unordered_map>
25849 #include <tr1/unordered_set>
25853 std::tr1::unordered_map<double*, char*> test1;
25854 std::tr1::unordered_set<char*> test2;
25855 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25856 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25862 rm -f conftest.$ac_objext
25863 if { (ac_try="$ac_compile"
25864 case "(($ac_try" in
25865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25866 *) ac_try_echo=$ac_try;;
25868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25869 (eval "$ac_compile") 2>conftest.er1
25871 grep -v '^ *+' conftest.er1 >conftest.err
25873 cat conftest.err >&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } && {
25876 test -z "$ac_cxx_werror_flag" ||
25877 test ! -s conftest.err
25878 } && test -s conftest.$ac_objext; then
25879 wx_cv_class_tr1unorderedmapset=yes
25881 echo "$as_me: failed program was:" >&5
25882 sed 's/^/| /' conftest.$ac_ext >&5
25884 wx_cv_class_tr1unorderedmapset=no
25887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25891 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25892 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25897 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25898 cat >>confdefs.h <<\_ACEOF
25899 #define HAVE_TR1_UNORDERED_MAP 1
25902 cat >>confdefs.h <<\_ACEOF
25903 #define HAVE_TR1_UNORDERED_SET 1
25907 { echo "$as_me:$LINENO: checking for hash_map" >&5
25908 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25909 if test "${ac_cv_header_hash_map+set}" = set; then
25910 echo $ECHO_N "(cached) $ECHO_C" >&6
25912 cat >conftest.$ac_ext <<_ACEOF
25915 cat confdefs.h >>conftest.$ac_ext
25916 cat >>conftest.$ac_ext <<_ACEOF
25917 /* end confdefs.h. */
25921 #include <hash_map>
25923 rm -f conftest.$ac_objext
25924 if { (ac_try="$ac_compile"
25925 case "(($ac_try" in
25926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25927 *) ac_try_echo=$ac_try;;
25929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25930 (eval "$ac_compile") 2>conftest.er1
25932 grep -v '^ *+' conftest.er1 >conftest.err
25934 cat conftest.err >&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); } && {
25937 test -z "$ac_cxx_werror_flag" ||
25938 test ! -s conftest.err
25939 } && test -s conftest.$ac_objext; then
25940 ac_cv_header_hash_map=yes
25942 echo "$as_me: failed program was:" >&5
25943 sed 's/^/| /' conftest.$ac_ext >&5
25945 ac_cv_header_hash_map=no
25948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25950 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25951 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25952 if test $ac_cv_header_hash_map = yes; then
25953 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25954 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25955 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25956 echo $ECHO_N "(cached) $ECHO_C" >&6
25958 cat >conftest.$ac_ext <<_ACEOF
25961 cat confdefs.h >>conftest.$ac_ext
25962 cat >>conftest.$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25964 #include <hash_map>
25965 #include <hash_set>
25969 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25970 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25975 rm -f conftest.$ac_objext
25976 if { (ac_try="$ac_compile"
25977 case "(($ac_try" in
25978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25979 *) ac_try_echo=$ac_try;;
25981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25982 (eval "$ac_compile") 2>conftest.er1
25984 grep -v '^ *+' conftest.er1 >conftest.err
25986 cat conftest.err >&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } && {
25989 test -z "$ac_cxx_werror_flag" ||
25990 test ! -s conftest.err
25991 } && test -s conftest.$ac_objext; then
25992 wx_cv_class_stdhashmapset=yes
25994 echo "$as_me: failed program was:" >&5
25995 sed 's/^/| /' conftest.$ac_ext >&5
25997 wx_cv_class_stdhashmapset=no
26000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26004 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26005 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26010 if test "$wx_cv_class_stdhashmapset" = yes; then
26011 cat >>confdefs.h <<\_ACEOF
26012 #define HAVE_HASH_MAP 1
26015 cat >>confdefs.h <<\_ACEOF
26016 #define HAVE_STD_HASH_MAP 1
26021 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26022 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26023 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26024 echo $ECHO_N "(cached) $ECHO_C" >&6
26026 cat >conftest.$ac_ext <<_ACEOF
26029 cat confdefs.h >>conftest.$ac_ext
26030 cat >>conftest.$ac_ext <<_ACEOF
26031 /* end confdefs.h. */
26035 #include <ext/hash_map>
26037 rm -f conftest.$ac_objext
26038 if { (ac_try="$ac_compile"
26039 case "(($ac_try" in
26040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26041 *) ac_try_echo=$ac_try;;
26043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26044 (eval "$ac_compile") 2>conftest.er1
26046 grep -v '^ *+' conftest.er1 >conftest.err
26048 cat conftest.err >&5
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); } && {
26051 test -z "$ac_cxx_werror_flag" ||
26052 test ! -s conftest.err
26053 } && test -s conftest.$ac_objext; then
26054 ac_cv_header_ext_hash_map=yes
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26059 ac_cv_header_ext_hash_map=no
26062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26064 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26065 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26066 if test $ac_cv_header_ext_hash_map = yes; then
26067 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26068 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26069 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26070 echo $ECHO_N "(cached) $ECHO_C" >&6
26072 cat >conftest.$ac_ext <<_ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26078 #include <ext/hash_map>
26079 #include <ext/hash_set>
26083 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26084 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26089 rm -f conftest.$ac_objext
26090 if { (ac_try="$ac_compile"
26091 case "(($ac_try" in
26092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26093 *) ac_try_echo=$ac_try;;
26095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26096 (eval "$ac_compile") 2>conftest.er1
26098 grep -v '^ *+' conftest.er1 >conftest.err
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && {
26103 test -z "$ac_cxx_werror_flag" ||
26104 test ! -s conftest.err
26105 } && test -s conftest.$ac_objext; then
26106 wx_cv_class_gnuhashmapset=yes
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.$ac_ext >&5
26111 wx_cv_class_gnuhashmapset=no
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26118 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26119 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26129 ac_cpp='$CXXCPP $CPPFLAGS'
26130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26133 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26134 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26135 if test -z "$CXXCPP"; then
26136 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26137 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 # Double quotes because CXXCPP needs to be expanded
26140 for CXXCPP in "$CXX -E" "/lib/cpp"
26142 ac_preproc_ok=false
26143 for ac_cxx_preproc_warn_flag in '' yes
26145 # Use a header file that comes with gcc, so configuring glibc
26146 # with a fresh cross-compiler works.
26147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26148 # <limits.h> exists even on freestanding compilers.
26149 # On the NeXT, cc -E runs the code through the compiler's parser,
26150 # not just through cpp. "Syntax error" is here to catch this case.
26151 cat >conftest.$ac_ext <<_ACEOF
26154 cat confdefs.h >>conftest.$ac_ext
26155 cat >>conftest.$ac_ext <<_ACEOF
26156 /* end confdefs.h. */
26158 # include <limits.h>
26160 # include <assert.h>
26164 if { (ac_try="$ac_cpp conftest.$ac_ext"
26165 case "(($ac_try" in
26166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26167 *) ac_try_echo=$ac_try;;
26169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26172 grep -v '^ *+' conftest.er1 >conftest.err
26174 cat conftest.err >&5
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); } >/dev/null && {
26177 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26178 test ! -s conftest.err
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26185 # Broken: fails on valid input.
26189 rm -f conftest.err conftest.$ac_ext
26191 # OK, works on sane cases. Now check whether nonexistent headers
26192 # can be detected and how.
26193 cat >conftest.$ac_ext <<_ACEOF
26196 cat confdefs.h >>conftest.$ac_ext
26197 cat >>conftest.$ac_ext <<_ACEOF
26198 /* end confdefs.h. */
26199 #include <ac_nonexistent.h>
26201 if { (ac_try="$ac_cpp conftest.$ac_ext"
26202 case "(($ac_try" in
26203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26204 *) ac_try_echo=$ac_try;;
26206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26209 grep -v '^ *+' conftest.er1 >conftest.err
26211 cat conftest.err >&5
26212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213 (exit $ac_status); } >/dev/null && {
26214 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26215 test ! -s conftest.err
26217 # Broken: success on invalid input.
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26223 # Passes both tests.
26228 rm -f conftest.err conftest.$ac_ext
26231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26232 rm -f conftest.err conftest.$ac_ext
26233 if $ac_preproc_ok; then
26238 ac_cv_prog_CXXCPP=$CXXCPP
26241 CXXCPP=$ac_cv_prog_CXXCPP
26243 ac_cv_prog_CXXCPP=$CXXCPP
26245 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26246 echo "${ECHO_T}$CXXCPP" >&6; }
26247 ac_preproc_ok=false
26248 for ac_cxx_preproc_warn_flag in '' yes
26250 # Use a header file that comes with gcc, so configuring glibc
26251 # with a fresh cross-compiler works.
26252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26253 # <limits.h> exists even on freestanding compilers.
26254 # On the NeXT, cc -E runs the code through the compiler's parser,
26255 # not just through cpp. "Syntax error" is here to catch this case.
26256 cat >conftest.$ac_ext <<_ACEOF
26259 cat confdefs.h >>conftest.$ac_ext
26260 cat >>conftest.$ac_ext <<_ACEOF
26261 /* end confdefs.h. */
26263 # include <limits.h>
26265 # include <assert.h>
26269 if { (ac_try="$ac_cpp conftest.$ac_ext"
26270 case "(($ac_try" in
26271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26272 *) ac_try_echo=$ac_try;;
26274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26277 grep -v '^ *+' conftest.er1 >conftest.err
26279 cat conftest.err >&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } >/dev/null && {
26282 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26283 test ! -s conftest.err
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26290 # Broken: fails on valid input.
26294 rm -f conftest.err conftest.$ac_ext
26296 # OK, works on sane cases. Now check whether nonexistent headers
26297 # can be detected and how.
26298 cat >conftest.$ac_ext <<_ACEOF
26301 cat confdefs.h >>conftest.$ac_ext
26302 cat >>conftest.$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304 #include <ac_nonexistent.h>
26306 if { (ac_try="$ac_cpp conftest.$ac_ext"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26309 *) ac_try_echo=$ac_try;;
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26314 grep -v '^ *+' conftest.er1 >conftest.err
26316 cat conftest.err >&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } >/dev/null && {
26319 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26320 test ! -s conftest.err
26322 # Broken: success on invalid input.
26325 echo "$as_me: failed program was:" >&5
26326 sed 's/^/| /' conftest.$ac_ext >&5
26328 # Passes both tests.
26333 rm -f conftest.err conftest.$ac_ext
26336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26337 rm -f conftest.err conftest.$ac_ext
26338 if $ac_preproc_ok; then
26341 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26342 See \`config.log' for more details." >&5
26343 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26344 See \`config.log' for more details." >&2;}
26345 { (exit 1); exit 1; }; }
26349 ac_cpp='$CXXCPP $CPPFLAGS'
26350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26357 for ac_header in type_traits tr1/type_traits
26359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26364 echo $ECHO_N "(cached) $ECHO_C" >&6
26366 ac_res=`eval echo '${'$as_ac_Header'}'`
26367 { echo "$as_me:$LINENO: result: $ac_res" >&5
26368 echo "${ECHO_T}$ac_res" >&6; }
26370 # Is the header compilable?
26371 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26373 cat >conftest.$ac_ext <<_ACEOF
26376 cat confdefs.h >>conftest.$ac_ext
26377 cat >>conftest.$ac_ext <<_ACEOF
26378 /* end confdefs.h. */
26379 $ac_includes_default
26380 #include <$ac_header>
26382 rm -f conftest.$ac_objext
26383 if { (ac_try="$ac_compile"
26384 case "(($ac_try" in
26385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26386 *) ac_try_echo=$ac_try;;
26388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26389 (eval "$ac_compile") 2>conftest.er1
26391 grep -v '^ *+' conftest.er1 >conftest.err
26393 cat conftest.err >&5
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); } && {
26396 test -z "$ac_cxx_werror_flag" ||
26397 test ! -s conftest.err
26398 } && test -s conftest.$ac_objext; then
26399 ac_header_compiler=yes
26401 echo "$as_me: failed program was:" >&5
26402 sed 's/^/| /' conftest.$ac_ext >&5
26404 ac_header_compiler=no
26407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26408 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26409 echo "${ECHO_T}$ac_header_compiler" >&6; }
26411 # Is the header present?
26412 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26414 cat >conftest.$ac_ext <<_ACEOF
26417 cat confdefs.h >>conftest.$ac_ext
26418 cat >>conftest.$ac_ext <<_ACEOF
26419 /* end confdefs.h. */
26420 #include <$ac_header>
26422 if { (ac_try="$ac_cpp conftest.$ac_ext"
26423 case "(($ac_try" in
26424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26425 *) ac_try_echo=$ac_try;;
26427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26430 grep -v '^ *+' conftest.er1 >conftest.err
26432 cat conftest.err >&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } >/dev/null && {
26435 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26436 test ! -s conftest.err
26438 ac_header_preproc=yes
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.$ac_ext >&5
26443 ac_header_preproc=no
26446 rm -f conftest.err conftest.$ac_ext
26447 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26448 echo "${ECHO_T}$ac_header_preproc" >&6; }
26450 # So? What about this header?
26451 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26453 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26457 ac_header_preproc=yes
26460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26464 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26466 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26467 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26470 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26473 ## ----------------------------------------- ##
26474 ## Report this to wx-dev@lists.wxwidgets.org ##
26475 ## ----------------------------------------- ##
26477 ) | sed "s/^/$as_me: WARNING: /" >&2
26480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26482 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26483 echo $ECHO_N "(cached) $ECHO_C" >&6
26485 eval "$as_ac_Header=\$ac_header_preproc"
26487 ac_res=`eval echo '${'$as_ac_Header'}'`
26488 { echo "$as_me:$LINENO: result: $ac_res" >&5
26489 echo "${ECHO_T}$ac_res" >&6; }
26492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26493 cat >>confdefs.h <<_ACEOF
26494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26504 if test -n "$GCC"; then
26505 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26506 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26507 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26511 cat >conftest.$ac_ext <<_ACEOF
26514 cat confdefs.h >>conftest.$ac_ext
26515 cat >>conftest.$ac_ext <<_ACEOF
26516 /* end confdefs.h. */
26522 unsigned int value=0;
26523 /* wxAtomicInc doesn't use return value here */
26524 __sync_fetch_and_add(&value, 2);
26525 __sync_sub_and_fetch(&value, 1);
26526 /* but wxAtomicDec does, so mimic that: */
26527 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26533 rm -f conftest.$ac_objext conftest$ac_exeext
26534 if { (ac_try="$ac_link"
26535 case "(($ac_try" in
26536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26537 *) ac_try_echo=$ac_try;;
26539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26540 (eval "$ac_link") 2>conftest.er1
26542 grep -v '^ *+' conftest.er1 >conftest.err
26544 cat conftest.err >&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); } && {
26547 test -z "$ac_cxx_werror_flag" ||
26548 test ! -s conftest.err
26549 } && test -s conftest$ac_exeext &&
26550 $as_test_x conftest$ac_exeext; then
26551 wx_cv_cc_gcc_atomic_builtins=yes
26553 echo "$as_me: failed program was:" >&5
26554 sed 's/^/| /' conftest.$ac_ext >&5
26556 wx_cv_cc_gcc_atomic_builtins=no
26559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26560 conftest$ac_exeext conftest.$ac_ext
26564 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26565 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26566 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26567 cat >>confdefs.h <<\_ACEOF
26568 #define HAVE_GCC_ATOMIC_BUILTINS 1
26576 ac_cpp='$CPP $CPPFLAGS'
26577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26584 /usr/local/include \
26585 /usr/local/X11/include \
26586 /usr/local/include/X11 \
26587 /usr/local/X11R7/include \
26588 /usr/local/X11R6/include \
26589 /usr/local/include/X11R7 \
26590 /usr/local/include/X11R6 \
26592 /usr/Motif-2.1/include \
26593 /usr/Motif-1.2/include \
26594 /usr/include/Motif1.2 \
26597 /usr/openwin/include \
26601 /usr/X11R7/include \
26602 /usr/X11R6/include \
26603 /usr/X11R6.4/include \
26605 /usr/include/X11R7 \
26606 /usr/include/X11R6 \
26611 /usr/XFree86/include/X11 \
26614 /usr/local/X1R5/include \
26615 /usr/local/include/X11R5 \
26616 /usr/X11R5/include \
26617 /usr/include/X11R5 \
26619 /usr/local/X11R4/include \
26620 /usr/local/include/X11R4 \
26621 /usr/X11R4/include \
26622 /usr/include/X11R4 \
26624 /usr/openwin/share/include"
26626 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26627 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26631 if test "${wx_cv_std_libpath+set}" = set; then
26632 echo $ECHO_N "(cached) $ECHO_C" >&6
26635 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26636 for e in a so sl dylib dll.a; do
26638 if test -f $libc; then
26641 cat >conftest.$ac_ext <<_ACEOF
26642 int main() { return 0; }
26644 rm -f conftest.$ac_objext conftest$ac_exeext
26645 if { (ac_try="$ac_link"
26646 case "(($ac_try" in
26647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26648 *) ac_try_echo=$ac_try;;
26650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26651 (eval "$ac_link") 2>conftest.er1
26653 grep -v '^ *+' conftest.er1 >conftest.err
26655 cat conftest.err >&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } && {
26658 test -z "$ac_c_werror_flag" ||
26659 test ! -s conftest.err
26660 } && test -s conftest$ac_exeext &&
26661 $as_test_x conftest$ac_exeext; then
26662 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26664 echo "$as_me: failed program was:" >&5
26665 sed 's/^/| /' conftest.$ac_ext >&5
26670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26671 conftest$ac_exeext conftest.$ac_ext
26673 if test "x$wx_cv_std_libpath" != "x"; then
26679 if test "x$wx_cv_std_libpath" = "x"; then
26680 wx_cv_std_libpath="lib"
26689 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26690 wx_cv_std_libpath="lib/64"
26692 wx_cv_std_libpath="lib"
26697 if test "$ac_cv_sizeof_void_p" = 8 -a \
26698 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26699 wx_cv_std_libpath="lib64"
26701 wx_cv_std_libpath="lib"
26706 wx_cv_std_libpath="lib";
26710 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26711 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26713 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26715 if test "$build" != "$host" -a "$GCC" = yes; then
26716 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26717 cross_root=`dirname $cross_root`
26718 cross_root=`dirname $cross_root`
26720 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26721 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26722 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26724 if test -z "$PKG_CONFIG_PATH"; then
26725 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26726 export PKG_CONFIG_PATH
26729 if test -z "$x_includes" -o "$x_includes" = NONE; then
26732 for ac_dir in $SEARCH_INCLUDE /usr/include
26734 if test -f "$ac_dir/X11/Intrinsic.h"; then
26735 ac_find_includes=$ac_dir
26740 x_includes=$ac_find_includes
26742 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26745 for ac_dir in $SEARCH_LIB
26747 for ac_extension in a so sl dylib dll.a; do
26748 if test -f "$ac_dir/libXt.$ac_extension"; then
26749 ac_find_libraries=$ac_dir
26755 x_libraries=$ac_find_libraries
26761 cat >confcache <<\_ACEOF
26762 # This file is a shell script that caches the results of configure
26763 # tests run on this system so they can be shared between configure
26764 # scripts and configure runs, see configure's option --config-cache.
26765 # It is not useful on other systems. If it contains results you don't
26766 # want to keep, you may remove or edit it.
26768 # config.status only pays attention to the cache file if you give it
26769 # the --recheck option to rerun configure.
26771 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26772 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26773 # following values.
26777 # The following way of writing the cache mishandles newlines in values,
26778 # but we know of no workaround that is simple, portable, and efficient.
26779 # So, we kill variables containing newlines.
26780 # Ultrix sh set writes to stderr and can't be redirected directly,
26781 # and sets the high bit in the cache file unless we assign to the vars.
26783 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26784 eval ac_val=\$$ac_var
26788 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26789 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26792 _ | IFS | as_nl) ;; #(
26793 *) $as_unset $ac_var ;;
26799 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26800 *${as_nl}ac_space=\ *)
26801 # `set' does not quote correctly, so add quotes (double-quote
26802 # substitution turns \\\\ into \\, and sed turns \\ into \).
26805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26808 # `set' quotes correctly as required by POSIX, so do not add quotes.
26809 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26820 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26822 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26823 if test -w "$cache_file"; then
26824 test "x$cache_file" != "x/dev/null" &&
26825 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26826 echo "$as_me: updating cache $cache_file" >&6;}
26827 cat confcache >$cache_file
26829 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26830 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26835 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26836 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26837 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26838 if test "${wx_cv_lib_glibc21+set}" = set; then
26839 echo $ECHO_N "(cached) $ECHO_C" >&6
26842 cat >conftest.$ac_ext <<_ACEOF
26845 cat confdefs.h >>conftest.$ac_ext
26846 cat >>conftest.$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26848 #include <features.h>
26853 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26861 rm -f conftest.$ac_objext
26862 if { (ac_try="$ac_compile"
26863 case "(($ac_try" in
26864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26865 *) ac_try_echo=$ac_try;;
26867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26868 (eval "$ac_compile") 2>conftest.er1
26870 grep -v '^ *+' conftest.er1 >conftest.err
26872 cat conftest.err >&5
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); } && {
26875 test -z "$ac_c_werror_flag" ||
26876 test ! -s conftest.err
26877 } && test -s conftest.$ac_objext; then
26879 wx_cv_lib_glibc21=yes
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.$ac_ext >&5
26886 wx_cv_lib_glibc21=no
26891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26894 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26895 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26896 if test "$wx_cv_lib_glibc21" = "yes"; then
26897 cat >>confdefs.h <<\_ACEOF
26898 #define wxHAVE_GLIBC2 1
26904 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26905 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26906 cat >>confdefs.h <<\_ACEOF
26907 #define _GNU_SOURCE 1
26918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26921 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26922 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 cat >conftest.$ac_ext <<_ACEOF
26927 cat confdefs.h >>conftest.$ac_ext
26928 cat >>conftest.$ac_ext <<_ACEOF
26929 /* end confdefs.h. */
26930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26932 #define $ac_func innocuous_$ac_func
26934 /* System header to define __stub macros and hopefully few prototypes,
26935 which can conflict with char $ac_func (); below.
26936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26937 <limits.h> exists even on freestanding compilers. */
26940 # include <limits.h>
26942 # include <assert.h>
26947 /* Override any GCC internal prototype to avoid an error.
26948 Use char because int might match the return type of a GCC
26949 builtin and then its argument prototype would still apply. */
26954 /* The GNU C library defines this for functions which it implements
26955 to always fail with ENOSYS. Some functions are actually named
26956 something starting with __ and the normal name is an alias. */
26957 #if defined __stub_$ac_func || defined __stub___$ac_func
26964 return $ac_func ();
26969 rm -f conftest.$ac_objext conftest$ac_exeext
26970 if { (ac_try="$ac_link"
26971 case "(($ac_try" in
26972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26973 *) ac_try_echo=$ac_try;;
26975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26976 (eval "$ac_link") 2>conftest.er1
26978 grep -v '^ *+' conftest.er1 >conftest.err
26980 cat conftest.err >&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); } && {
26983 test -z "$ac_c_werror_flag" ||
26984 test ! -s conftest.err
26985 } && test -s conftest$ac_exeext &&
26986 $as_test_x conftest$ac_exeext; then
26987 eval "$as_ac_var=yes"
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26992 eval "$as_ac_var=no"
26995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26996 conftest$ac_exeext conftest.$ac_ext
26998 ac_res=`eval echo '${'$as_ac_var'}'`
26999 { echo "$as_me:$LINENO: result: $ac_res" >&5
27000 echo "${ECHO_T}$ac_res" >&6; }
27001 if test `eval echo '${'$as_ac_var'}'` = yes; then
27002 cat >>confdefs.h <<_ACEOF
27003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27010 for ac_func in floor
27012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27013 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27015 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27016 echo $ECHO_N "(cached) $ECHO_C" >&6
27018 cat >conftest.$ac_ext <<_ACEOF
27021 cat confdefs.h >>conftest.$ac_ext
27022 cat >>conftest.$ac_ext <<_ACEOF
27023 /* end confdefs.h. */
27024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27026 #define $ac_func innocuous_$ac_func
27028 /* System header to define __stub macros and hopefully few prototypes,
27029 which can conflict with char $ac_func (); below.
27030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27031 <limits.h> exists even on freestanding compilers. */
27034 # include <limits.h>
27036 # include <assert.h>
27041 /* Override any GCC internal prototype to avoid an error.
27042 Use char because int might match the return type of a GCC
27043 builtin and then its argument prototype would still apply. */
27048 /* The GNU C library defines this for functions which it implements
27049 to always fail with ENOSYS. Some functions are actually named
27050 something starting with __ and the normal name is an alias. */
27051 #if defined __stub_$ac_func || defined __stub___$ac_func
27058 return $ac_func ();
27063 rm -f conftest.$ac_objext conftest$ac_exeext
27064 if { (ac_try="$ac_link"
27065 case "(($ac_try" in
27066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27067 *) ac_try_echo=$ac_try;;
27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070 (eval "$ac_link") 2>conftest.er1
27072 grep -v '^ *+' conftest.er1 >conftest.err
27074 cat conftest.err >&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } && {
27077 test -z "$ac_c_werror_flag" ||
27078 test ! -s conftest.err
27079 } && test -s conftest$ac_exeext &&
27080 $as_test_x conftest$ac_exeext; then
27081 eval "$as_ac_var=yes"
27083 echo "$as_me: failed program was:" >&5
27084 sed 's/^/| /' conftest.$ac_ext >&5
27086 eval "$as_ac_var=no"
27089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27090 conftest$ac_exeext conftest.$ac_ext
27092 ac_res=`eval echo '${'$as_ac_var'}'`
27093 { echo "$as_me:$LINENO: result: $ac_res" >&5
27094 echo "${ECHO_T}$ac_res" >&6; }
27095 if test `eval echo '${'$as_ac_var'}'` = yes; then
27096 cat >>confdefs.h <<_ACEOF
27097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27103 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27104 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27105 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27106 { echo "$as_me:$LINENO: result: yes" >&5
27107 echo "${ECHO_T}yes" >&6; }
27109 { echo "$as_me:$LINENO: result: no" >&5
27110 echo "${ECHO_T}no" >&6; }
27112 # use different functions to avoid configure caching
27118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27122 echo $ECHO_N "(cached) $ECHO_C" >&6
27124 cat >conftest.$ac_ext <<_ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27132 #define $ac_func innocuous_$ac_func
27134 /* System header to define __stub macros and hopefully few prototypes,
27135 which can conflict with char $ac_func (); below.
27136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27137 <limits.h> exists even on freestanding compilers. */
27140 # include <limits.h>
27142 # include <assert.h>
27147 /* Override any GCC internal prototype to avoid an error.
27148 Use char because int might match the return type of a GCC
27149 builtin and then its argument prototype would still apply. */
27154 /* The GNU C library defines this for functions which it implements
27155 to always fail with ENOSYS. Some functions are actually named
27156 something starting with __ and the normal name is an alias. */
27157 #if defined __stub_$ac_func || defined __stub___$ac_func
27164 return $ac_func ();
27169 rm -f conftest.$ac_objext conftest$ac_exeext
27170 if { (ac_try="$ac_link"
27171 case "(($ac_try" in
27172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_link") 2>conftest.er1
27178 grep -v '^ *+' conftest.er1 >conftest.err
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } && {
27183 test -z "$ac_c_werror_flag" ||
27184 test ! -s conftest.err
27185 } && test -s conftest$ac_exeext &&
27186 $as_test_x conftest$ac_exeext; then
27187 eval "$as_ac_var=yes"
27189 echo "$as_me: failed program was:" >&5
27190 sed 's/^/| /' conftest.$ac_ext >&5
27192 eval "$as_ac_var=no"
27195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27196 conftest$ac_exeext conftest.$ac_ext
27198 ac_res=`eval echo '${'$as_ac_var'}'`
27199 { echo "$as_me:$LINENO: result: $ac_res" >&5
27200 echo "${ECHO_T}$ac_res" >&6; }
27201 if test `eval echo '${'$as_ac_var'}'` = yes; then
27202 cat >>confdefs.h <<_ACEOF
27203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27210 for ac_func in ceil
27212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27215 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27216 echo $ECHO_N "(cached) $ECHO_C" >&6
27218 cat >conftest.$ac_ext <<_ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27226 #define $ac_func innocuous_$ac_func
27228 /* System header to define __stub macros and hopefully few prototypes,
27229 which can conflict with char $ac_func (); below.
27230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27231 <limits.h> exists even on freestanding compilers. */
27234 # include <limits.h>
27236 # include <assert.h>
27241 /* Override any GCC internal prototype to avoid an error.
27242 Use char because int might match the return type of a GCC
27243 builtin and then its argument prototype would still apply. */
27248 /* The GNU C library defines this for functions which it implements
27249 to always fail with ENOSYS. Some functions are actually named
27250 something starting with __ and the normal name is an alias. */
27251 #if defined __stub_$ac_func || defined __stub___$ac_func
27258 return $ac_func ();
27263 rm -f conftest.$ac_objext conftest$ac_exeext
27264 if { (ac_try="$ac_link"
27265 case "(($ac_try" in
27266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27267 *) ac_try_echo=$ac_try;;
27269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27270 (eval "$ac_link") 2>conftest.er1
27272 grep -v '^ *+' conftest.er1 >conftest.err
27274 cat conftest.err >&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); } && {
27277 test -z "$ac_c_werror_flag" ||
27278 test ! -s conftest.err
27279 } && test -s conftest$ac_exeext &&
27280 $as_test_x conftest$ac_exeext; then
27281 eval "$as_ac_var=yes"
27283 echo "$as_me: failed program was:" >&5
27284 sed 's/^/| /' conftest.$ac_ext >&5
27286 eval "$as_ac_var=no"
27289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27290 conftest$ac_exeext conftest.$ac_ext
27292 ac_res=`eval echo '${'$as_ac_var'}'`
27293 { echo "$as_me:$LINENO: result: $ac_res" >&5
27294 echo "${ECHO_T}$ac_res" >&6; }
27295 if test `eval echo '${'$as_ac_var'}'` = yes; then
27296 cat >>confdefs.h <<_ACEOF
27297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27303 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27304 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27305 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27306 { echo "$as_me:$LINENO: result: yes" >&5
27307 echo "${ECHO_T}yes" >&6; }
27309 { echo "$as_me:$LINENO: result: no" >&5
27310 echo "${ECHO_T}no" >&6; }
27311 # not sure we should warn the user, crash, etc.
27316 ac_cpp='$CXXCPP $CPPFLAGS'
27317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27321 if test "wxUSE_UNICODE" = "yes"; then
27323 for wx_func in wcstoull
27325 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27326 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27327 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27331 cat >conftest.$ac_ext <<_ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27340 $ac_includes_default
27356 rm -f conftest.$ac_objext conftest$ac_exeext
27357 if { (ac_try="$ac_link"
27358 case "(($ac_try" in
27359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27360 *) ac_try_echo=$ac_try;;
27362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27363 (eval "$ac_link") 2>conftest.er1
27365 grep -v '^ *+' conftest.er1 >conftest.err
27367 cat conftest.err >&5
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); } && {
27370 test -z "$ac_cxx_werror_flag" ||
27371 test ! -s conftest.err
27372 } && test -s conftest$ac_exeext &&
27373 $as_test_x conftest$ac_exeext; then
27374 eval wx_cv_func_$wx_func=yes
27376 echo "$as_me: failed program was:" >&5
27377 sed 's/^/| /' conftest.$ac_ext >&5
27379 eval wx_cv_func_$wx_func=no
27382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27383 conftest$ac_exeext conftest.$ac_ext
27386 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27387 { echo "$as_me:$LINENO: result: $ac_res" >&5
27388 echo "${ECHO_T}$ac_res" >&6; }
27390 if eval test \$wx_cv_func_$wx_func = yes
27392 cat >>confdefs.h <<_ACEOF
27393 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27405 for wx_func in strtoull
27407 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27408 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27409 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27410 echo $ECHO_N "(cached) $ECHO_C" >&6
27413 cat >conftest.$ac_ext <<_ACEOF
27417 cat confdefs.h >>conftest.$ac_ext
27418 cat >>conftest.$ac_ext <<_ACEOF
27419 /* end confdefs.h. */
27422 $ac_includes_default
27438 rm -f conftest.$ac_objext conftest$ac_exeext
27439 if { (ac_try="$ac_link"
27440 case "(($ac_try" in
27441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27442 *) ac_try_echo=$ac_try;;
27444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27445 (eval "$ac_link") 2>conftest.er1
27447 grep -v '^ *+' conftest.er1 >conftest.err
27449 cat conftest.err >&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } && {
27452 test -z "$ac_cxx_werror_flag" ||
27453 test ! -s conftest.err
27454 } && test -s conftest$ac_exeext &&
27455 $as_test_x conftest$ac_exeext; then
27456 eval wx_cv_func_$wx_func=yes
27458 echo "$as_me: failed program was:" >&5
27459 sed 's/^/| /' conftest.$ac_ext >&5
27461 eval wx_cv_func_$wx_func=no
27464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27465 conftest$ac_exeext conftest.$ac_ext
27468 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27469 { echo "$as_me:$LINENO: result: $ac_res" >&5
27470 echo "${ECHO_T}$ac_res" >&6; }
27472 if eval test \$wx_cv_func_$wx_func = yes
27474 cat >>confdefs.h <<_ACEOF
27475 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27487 ac_cpp='$CPP $CPPFLAGS'
27488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27495 if test "$wxUSE_REGEX" != "no"; then
27496 cat >>confdefs.h <<\_ACEOF
27497 #define wxUSE_REGEX 1
27501 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27502 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27503 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27504 wxUSE_REGEX=builtin
27507 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27508 { echo "$as_me:$LINENO: checking for regex.h" >&5
27509 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27510 if test "${ac_cv_header_regex_h+set}" = set; then
27511 echo $ECHO_N "(cached) $ECHO_C" >&6
27513 cat >conftest.$ac_ext <<_ACEOF
27516 cat confdefs.h >>conftest.$ac_ext
27517 cat >>conftest.$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27523 rm -f conftest.$ac_objext
27524 if { (ac_try="$ac_compile"
27525 case "(($ac_try" in
27526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27527 *) ac_try_echo=$ac_try;;
27529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27530 (eval "$ac_compile") 2>conftest.er1
27532 grep -v '^ *+' conftest.er1 >conftest.err
27534 cat conftest.err >&5
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); } && {
27537 test -z "$ac_c_werror_flag" ||
27538 test ! -s conftest.err
27539 } && test -s conftest.$ac_objext; then
27540 ac_cv_header_regex_h=yes
27542 echo "$as_me: failed program was:" >&5
27543 sed 's/^/| /' conftest.$ac_ext >&5
27545 ac_cv_header_regex_h=no
27548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27550 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27551 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27552 if test $ac_cv_header_regex_h = yes; then
27555 for ac_func in regcomp re_search
27557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27558 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27560 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27561 echo $ECHO_N "(cached) $ECHO_C" >&6
27563 cat >conftest.$ac_ext <<_ACEOF
27566 cat confdefs.h >>conftest.$ac_ext
27567 cat >>conftest.$ac_ext <<_ACEOF
27568 /* end confdefs.h. */
27569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27571 #define $ac_func innocuous_$ac_func
27573 /* System header to define __stub macros and hopefully few prototypes,
27574 which can conflict with char $ac_func (); below.
27575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27576 <limits.h> exists even on freestanding compilers. */
27579 # include <limits.h>
27581 # include <assert.h>
27586 /* Override any GCC internal prototype to avoid an error.
27587 Use char because int might match the return type of a GCC
27588 builtin and then its argument prototype would still apply. */
27593 /* The GNU C library defines this for functions which it implements
27594 to always fail with ENOSYS. Some functions are actually named
27595 something starting with __ and the normal name is an alias. */
27596 #if defined __stub_$ac_func || defined __stub___$ac_func
27603 return $ac_func ();
27608 rm -f conftest.$ac_objext conftest$ac_exeext
27609 if { (ac_try="$ac_link"
27610 case "(($ac_try" in
27611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27612 *) ac_try_echo=$ac_try;;
27614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27615 (eval "$ac_link") 2>conftest.er1
27617 grep -v '^ *+' conftest.er1 >conftest.err
27619 cat conftest.err >&5
27620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621 (exit $ac_status); } && {
27622 test -z "$ac_c_werror_flag" ||
27623 test ! -s conftest.err
27624 } && test -s conftest$ac_exeext &&
27625 $as_test_x conftest$ac_exeext; then
27626 eval "$as_ac_var=yes"
27628 echo "$as_me: failed program was:" >&5
27629 sed 's/^/| /' conftest.$ac_ext >&5
27631 eval "$as_ac_var=no"
27634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27635 conftest$ac_exeext conftest.$ac_ext
27637 ac_res=`eval echo '${'$as_ac_var'}'`
27638 { echo "$as_me:$LINENO: result: $ac_res" >&5
27639 echo "${ECHO_T}$ac_res" >&6; }
27640 if test `eval echo '${'$as_ac_var'}'` = yes; then
27641 cat >>confdefs.h <<_ACEOF
27642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27652 if test "x$ac_cv_func_regcomp" != "xyes"; then
27653 if test "$wxUSE_REGEX" = "sys" ; then
27654 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27655 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27656 { (exit 1); exit 1; }; }
27658 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27659 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27660 wxUSE_REGEX=builtin
27664 cat >>confdefs.h <<\_ACEOF
27665 #define WX_NO_REGEX_ADVANCED 1
27674 if test "$wxUSE_ZLIB" != "no" ; then
27675 cat >>confdefs.h <<\_ACEOF
27676 #define wxUSE_ZLIB 1
27680 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27681 if test "$USE_DARWIN" = 1; then
27682 system_zlib_h_ok="yes"
27684 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27685 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27686 if test "${ac_cv_header_zlib_h+set}" = set; then
27687 echo $ECHO_N "(cached) $ECHO_C" >&6
27689 if test "$cross_compiling" = yes; then
27690 unset ac_cv_header_zlib_h
27693 cat >conftest.$ac_ext <<_ACEOF
27696 cat confdefs.h >>conftest.$ac_ext
27697 cat >>conftest.$ac_ext <<_ACEOF
27698 /* end confdefs.h. */
27705 FILE *f=fopen("conftestval", "w");
27708 ZLIB_VERSION[0] == '1' &&
27709 (ZLIB_VERSION[2] > '1' ||
27710 (ZLIB_VERSION[2] == '1' &&
27711 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27716 rm -f conftest$ac_exeext
27717 if { (ac_try="$ac_link"
27718 case "(($ac_try" in
27719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27720 *) ac_try_echo=$ac_try;;
27722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27723 (eval "$ac_link") 2>&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27727 { (case "(($ac_try" in
27728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27729 *) ac_try_echo=$ac_try;;
27731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27732 (eval "$ac_try") 2>&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); }; }; then
27736 ac_cv_header_zlib_h=`cat conftestval`
27738 echo "$as_me: program exited with status $ac_status" >&5
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27742 ( exit $ac_status )
27743 ac_cv_header_zlib_h=no
27745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27751 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27752 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27753 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27754 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27755 if test "${ac_cv_header_zlib_h+set}" = set; then
27756 echo $ECHO_N "(cached) $ECHO_C" >&6
27758 cat >conftest.$ac_ext <<_ACEOF
27761 cat confdefs.h >>conftest.$ac_ext
27762 cat >>conftest.$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27768 rm -f conftest.$ac_objext
27769 if { (ac_try="$ac_compile"
27770 case "(($ac_try" in
27771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27772 *) ac_try_echo=$ac_try;;
27774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27775 (eval "$ac_compile") 2>conftest.er1
27777 grep -v '^ *+' conftest.er1 >conftest.err
27779 cat conftest.err >&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); } && {
27782 test -z "$ac_c_werror_flag" ||
27783 test ! -s conftest.err
27784 } && test -s conftest.$ac_objext; then
27785 ac_cv_header_zlib_h=yes
27787 echo "$as_me: failed program was:" >&5
27788 sed 's/^/| /' conftest.$ac_ext >&5
27790 ac_cv_header_zlib_h=no
27793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27795 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27796 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27800 system_zlib_h_ok=$ac_cv_header_zlib_h
27803 if test "$system_zlib_h_ok" = "yes"; then
27804 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27805 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27806 if test "${ac_cv_lib_z_deflate+set}" = set; then
27807 echo $ECHO_N "(cached) $ECHO_C" >&6
27809 ac_check_lib_save_LIBS=$LIBS
27811 cat >conftest.$ac_ext <<_ACEOF
27814 cat confdefs.h >>conftest.$ac_ext
27815 cat >>conftest.$ac_ext <<_ACEOF
27816 /* end confdefs.h. */
27818 /* Override any GCC internal prototype to avoid an error.
27819 Use char because int might match the return type of a GCC
27820 builtin and then its argument prototype would still apply. */
27833 rm -f conftest.$ac_objext conftest$ac_exeext
27834 if { (ac_try="$ac_link"
27835 case "(($ac_try" in
27836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27837 *) ac_try_echo=$ac_try;;
27839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27840 (eval "$ac_link") 2>conftest.er1
27842 grep -v '^ *+' conftest.er1 >conftest.err
27844 cat conftest.err >&5
27845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); } && {
27847 test -z "$ac_c_werror_flag" ||
27848 test ! -s conftest.err
27849 } && test -s conftest$ac_exeext &&
27850 $as_test_x conftest$ac_exeext; then
27851 ac_cv_lib_z_deflate=yes
27853 echo "$as_me: failed program was:" >&5
27854 sed 's/^/| /' conftest.$ac_ext >&5
27856 ac_cv_lib_z_deflate=no
27859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27860 conftest$ac_exeext conftest.$ac_ext
27861 LIBS=$ac_check_lib_save_LIBS
27863 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27864 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27865 if test $ac_cv_lib_z_deflate = yes; then
27871 if test "x$ZLIB_LINK" = "x" ; then
27872 if test "$wxUSE_ZLIB" = "sys" ; then
27873 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27874 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27875 { (exit 1); exit 1; }; }
27877 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27878 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27889 if test "$wxUSE_LIBPNG" != "no" ; then
27890 cat >>confdefs.h <<\_ACEOF
27891 #define wxUSE_LIBPNG 1
27895 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27896 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27897 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27901 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27902 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27903 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27904 wxUSE_LIBPNG=builtin
27907 if test "$wxUSE_MGL" != 1 ; then
27908 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27909 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27910 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27911 if test "${ac_cv_header_png_h+set}" = set; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27914 if test "$cross_compiling" = yes; then
27915 unset ac_cv_header_png_h
27918 cat >conftest.$ac_ext <<_ACEOF
27921 cat confdefs.h >>conftest.$ac_ext
27922 cat >>conftest.$ac_ext <<_ACEOF
27923 /* end confdefs.h. */
27930 FILE *f=fopen("conftestval", "w");
27933 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27938 rm -f conftest$ac_exeext
27939 if { (ac_try="$ac_link"
27940 case "(($ac_try" in
27941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27942 *) ac_try_echo=$ac_try;;
27944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27945 (eval "$ac_link") 2>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27949 { (case "(($ac_try" in
27950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27951 *) ac_try_echo=$ac_try;;
27953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27954 (eval "$ac_try") 2>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; }; then
27958 ac_cv_header_png_h=`cat conftestval`
27960 echo "$as_me: program exited with status $ac_status" >&5
27961 echo "$as_me: failed program was:" >&5
27962 sed 's/^/| /' conftest.$ac_ext >&5
27964 ( exit $ac_status )
27965 ac_cv_header_png_h=no
27967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27973 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27974 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27975 { echo "$as_me:$LINENO: checking for png.h" >&5
27976 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27977 if test "${ac_cv_header_png_h+set}" = set; then
27978 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 cat >conftest.$ac_ext <<_ACEOF
27983 cat confdefs.h >>conftest.$ac_ext
27984 cat >>conftest.$ac_ext <<_ACEOF
27985 /* end confdefs.h. */
27990 rm -f conftest.$ac_objext
27991 if { (ac_try="$ac_compile"
27992 case "(($ac_try" in
27993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27994 *) ac_try_echo=$ac_try;;
27996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27997 (eval "$ac_compile") 2>conftest.er1
27999 grep -v '^ *+' conftest.er1 >conftest.err
28001 cat conftest.err >&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } && {
28004 test -z "$ac_c_werror_flag" ||
28005 test ! -s conftest.err
28006 } && test -s conftest.$ac_objext; then
28007 ac_cv_header_png_h=yes
28009 echo "$as_me: failed program was:" >&5
28010 sed 's/^/| /' conftest.$ac_ext >&5
28012 ac_cv_header_png_h=no
28015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28017 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28018 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28022 if test "$ac_cv_header_png_h" = "yes"; then
28023 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28024 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28025 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28026 echo $ECHO_N "(cached) $ECHO_C" >&6
28028 ac_check_lib_save_LIBS=$LIBS
28029 LIBS="-lpng -lz -lm $LIBS"
28030 cat >conftest.$ac_ext <<_ACEOF
28033 cat confdefs.h >>conftest.$ac_ext
28034 cat >>conftest.$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28037 /* Override any GCC internal prototype to avoid an error.
28038 Use char because int might match the return type of a GCC
28039 builtin and then its argument prototype would still apply. */
28043 char png_sig_cmp ();
28047 return png_sig_cmp ();
28052 rm -f conftest.$ac_objext conftest$ac_exeext
28053 if { (ac_try="$ac_link"
28054 case "(($ac_try" in
28055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28056 *) ac_try_echo=$ac_try;;
28058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28059 (eval "$ac_link") 2>conftest.er1
28061 grep -v '^ *+' conftest.er1 >conftest.err
28063 cat conftest.err >&5
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); } && {
28066 test -z "$ac_c_werror_flag" ||
28067 test ! -s conftest.err
28068 } && test -s conftest$ac_exeext &&
28069 $as_test_x conftest$ac_exeext; then
28070 ac_cv_lib_png_png_sig_cmp=yes
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.$ac_ext >&5
28075 ac_cv_lib_png_png_sig_cmp=no
28078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28079 conftest$ac_exeext conftest.$ac_ext
28080 LIBS=$ac_check_lib_save_LIBS
28082 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28083 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28084 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28085 PNG_LINK=" -lpng -lz"
28090 if test "x$PNG_LINK" = "x" ; then
28091 if test "$wxUSE_LIBPNG" = "sys" ; then
28092 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28093 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28094 { (exit 1); exit 1; }; }
28096 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28097 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28098 wxUSE_LIBPNG=builtin
28109 if test "$wxUSE_LIBJPEG" != "no" ; then
28110 cat >>confdefs.h <<\_ACEOF
28111 #define wxUSE_LIBJPEG 1
28115 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28116 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28117 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28121 if test "$wxUSE_MGL" != 1 ; then
28122 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28123 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28124 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28125 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28126 echo $ECHO_N "(cached) $ECHO_C" >&6
28128 cat >conftest.$ac_ext <<_ACEOF
28131 cat confdefs.h >>conftest.$ac_ext
28132 cat >>conftest.$ac_ext <<_ACEOF
28133 /* end confdefs.h. */
28135 #undef HAVE_STDLIB_H
28137 #include <jpeglib.h>
28148 rm -f conftest.$ac_objext
28149 if { (ac_try="$ac_compile"
28150 case "(($ac_try" in
28151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28152 *) ac_try_echo=$ac_try;;
28154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28155 (eval "$ac_compile") 2>conftest.er1
28157 grep -v '^ *+' conftest.er1 >conftest.err
28159 cat conftest.err >&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } && {
28162 test -z "$ac_c_werror_flag" ||
28163 test ! -s conftest.err
28164 } && test -s conftest.$ac_objext; then
28165 ac_cv_header_jpeglib_h=yes
28167 echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28170 ac_cv_header_jpeglib_h=no
28174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28178 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28179 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28181 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28182 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28183 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28184 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28185 echo $ECHO_N "(cached) $ECHO_C" >&6
28187 ac_check_lib_save_LIBS=$LIBS
28188 LIBS="-ljpeg $LIBS"
28189 cat >conftest.$ac_ext <<_ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28196 /* Override any GCC internal prototype to avoid an error.
28197 Use char because int might match the return type of a GCC
28198 builtin and then its argument prototype would still apply. */
28202 char jpeg_read_header ();
28206 return jpeg_read_header ();
28211 rm -f conftest.$ac_objext conftest$ac_exeext
28212 if { (ac_try="$ac_link"
28213 case "(($ac_try" in
28214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28215 *) ac_try_echo=$ac_try;;
28217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28218 (eval "$ac_link") 2>conftest.er1
28220 grep -v '^ *+' conftest.er1 >conftest.err
28222 cat conftest.err >&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); } && {
28225 test -z "$ac_c_werror_flag" ||
28226 test ! -s conftest.err
28227 } && test -s conftest$ac_exeext &&
28228 $as_test_x conftest$ac_exeext; then
28229 ac_cv_lib_jpeg_jpeg_read_header=yes
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28234 ac_cv_lib_jpeg_jpeg_read_header=no
28237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28238 conftest$ac_exeext conftest.$ac_ext
28239 LIBS=$ac_check_lib_save_LIBS
28241 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28242 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28243 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28244 JPEG_LINK=" -ljpeg"
28249 if test "x$JPEG_LINK" = "x" ; then
28250 if test "$wxUSE_LIBJPEG" = "sys" ; then
28251 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28252 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28253 { (exit 1); exit 1; }; }
28255 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28256 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28257 wxUSE_LIBJPEG=builtin
28262 if test "$wxUSE_MSW" = 1; then
28263 { echo "$as_me:$LINENO: checking for boolean" >&5
28264 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28265 if test "${ac_cv_type_boolean+set}" = set; then
28266 echo $ECHO_N "(cached) $ECHO_C" >&6
28268 cat >conftest.$ac_ext <<_ACEOF
28271 cat confdefs.h >>conftest.$ac_ext
28272 cat >>conftest.$ac_ext <<_ACEOF
28273 /* end confdefs.h. */
28274 #include <windows.h>
28276 typedef boolean ac__type_new_;
28280 if ((ac__type_new_ *) 0)
28282 if (sizeof (ac__type_new_))
28288 rm -f conftest.$ac_objext
28289 if { (ac_try="$ac_compile"
28290 case "(($ac_try" in
28291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28292 *) ac_try_echo=$ac_try;;
28294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28295 (eval "$ac_compile") 2>conftest.er1
28297 grep -v '^ *+' conftest.er1 >conftest.err
28299 cat conftest.err >&5
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); } && {
28302 test -z "$ac_c_werror_flag" ||
28303 test ! -s conftest.err
28304 } && test -s conftest.$ac_objext; then
28305 ac_cv_type_boolean=yes
28307 echo "$as_me: failed program was:" >&5
28308 sed 's/^/| /' conftest.$ac_ext >&5
28310 ac_cv_type_boolean=no
28313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28315 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28316 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28317 if test $ac_cv_type_boolean = yes; then
28319 cat >>confdefs.h <<_ACEOF
28320 #define HAVE_BOOLEAN 1
28324 { echo "$as_me:$LINENO: checking for boolean" >&5
28325 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28326 if test "${ac_cv_type_boolean+set}" = set; then
28327 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 cat >conftest.$ac_ext <<_ACEOF
28332 cat confdefs.h >>conftest.$ac_ext
28333 cat >>conftest.$ac_ext <<_ACEOF
28334 /* end confdefs.h. */
28336 #undef HAVE_BOOLEAN
28338 #include <jpeglib.h>
28341 typedef boolean ac__type_new_;
28345 if ((ac__type_new_ *) 0)
28347 if (sizeof (ac__type_new_))
28353 rm -f conftest.$ac_objext
28354 if { (ac_try="$ac_compile"
28355 case "(($ac_try" in
28356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28357 *) ac_try_echo=$ac_try;;
28359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28360 (eval "$ac_compile") 2>conftest.er1
28362 grep -v '^ *+' conftest.er1 >conftest.err
28364 cat conftest.err >&5
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); } && {
28367 test -z "$ac_c_werror_flag" ||
28368 test ! -s conftest.err
28369 } && test -s conftest.$ac_objext; then
28370 ac_cv_type_boolean=yes
28372 echo "$as_me: failed program was:" >&5
28373 sed 's/^/| /' conftest.$ac_ext >&5
28375 ac_cv_type_boolean=no
28378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28380 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28381 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28383 # The cast to long int works around a bug in the HP C Compiler
28384 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28385 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28386 # This bug is HP SR number 8606223364.
28387 { echo "$as_me:$LINENO: checking size of boolean" >&5
28388 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28389 if test "${ac_cv_sizeof_boolean+set}" = set; then
28390 echo $ECHO_N "(cached) $ECHO_C" >&6
28392 if test "$cross_compiling" = yes; then
28393 # Depending upon the size, compute the lo and hi bounds.
28394 cat >conftest.$ac_ext <<_ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28401 #undef HAVE_BOOLEAN
28403 #include <jpeglib.h>
28406 typedef boolean ac__type_sizeof_;
28410 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28417 rm -f conftest.$ac_objext
28418 if { (ac_try="$ac_compile"
28419 case "(($ac_try" in
28420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28421 *) ac_try_echo=$ac_try;;
28423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28424 (eval "$ac_compile") 2>conftest.er1
28426 grep -v '^ *+' conftest.er1 >conftest.err
28428 cat conftest.err >&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } && {
28431 test -z "$ac_c_werror_flag" ||
28432 test ! -s conftest.err
28433 } && test -s conftest.$ac_objext; then
28436 cat >conftest.$ac_ext <<_ACEOF
28439 cat confdefs.h >>conftest.$ac_ext
28440 cat >>conftest.$ac_ext <<_ACEOF
28441 /* end confdefs.h. */
28443 #undef HAVE_BOOLEAN
28445 #include <jpeglib.h>
28448 typedef boolean ac__type_sizeof_;
28452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28459 rm -f conftest.$ac_objext
28460 if { (ac_try="$ac_compile"
28461 case "(($ac_try" in
28462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28463 *) ac_try_echo=$ac_try;;
28465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28466 (eval "$ac_compile") 2>conftest.er1
28468 grep -v '^ *+' conftest.er1 >conftest.err
28470 cat conftest.err >&5
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); } && {
28473 test -z "$ac_c_werror_flag" ||
28474 test ! -s conftest.err
28475 } && test -s conftest.$ac_objext; then
28476 ac_hi=$ac_mid; break
28478 echo "$as_me: failed program was:" >&5
28479 sed 's/^/| /' conftest.$ac_ext >&5
28481 ac_lo=`expr $ac_mid + 1`
28482 if test $ac_lo -le $ac_mid; then
28486 ac_mid=`expr 2 '*' $ac_mid + 1`
28489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28492 echo "$as_me: failed program was:" >&5
28493 sed 's/^/| /' conftest.$ac_ext >&5
28495 cat >conftest.$ac_ext <<_ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h. */
28502 #undef HAVE_BOOLEAN
28504 #include <jpeglib.h>
28507 typedef boolean ac__type_sizeof_;
28511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28518 rm -f conftest.$ac_objext
28519 if { (ac_try="$ac_compile"
28520 case "(($ac_try" in
28521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28522 *) ac_try_echo=$ac_try;;
28524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28525 (eval "$ac_compile") 2>conftest.er1
28527 grep -v '^ *+' conftest.er1 >conftest.err
28529 cat conftest.err >&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } && {
28532 test -z "$ac_c_werror_flag" ||
28533 test ! -s conftest.err
28534 } && test -s conftest.$ac_objext; then
28537 cat >conftest.$ac_ext <<_ACEOF
28540 cat confdefs.h >>conftest.$ac_ext
28541 cat >>conftest.$ac_ext <<_ACEOF
28542 /* end confdefs.h. */
28544 #undef HAVE_BOOLEAN
28546 #include <jpeglib.h>
28549 typedef boolean ac__type_sizeof_;
28553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28560 rm -f conftest.$ac_objext
28561 if { (ac_try="$ac_compile"
28562 case "(($ac_try" in
28563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28564 *) ac_try_echo=$ac_try;;
28566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28567 (eval "$ac_compile") 2>conftest.er1
28569 grep -v '^ *+' conftest.er1 >conftest.err
28571 cat conftest.err >&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); } && {
28574 test -z "$ac_c_werror_flag" ||
28575 test ! -s conftest.err
28576 } && test -s conftest.$ac_objext; then
28577 ac_lo=$ac_mid; break
28579 echo "$as_me: failed program was:" >&5
28580 sed 's/^/| /' conftest.$ac_ext >&5
28582 ac_hi=`expr '(' $ac_mid ')' - 1`
28583 if test $ac_mid -le $ac_hi; then
28587 ac_mid=`expr 2 '*' $ac_mid`
28590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28593 echo "$as_me: failed program was:" >&5
28594 sed 's/^/| /' conftest.$ac_ext >&5
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28603 # Binary search between lo and hi bounds.
28604 while test "x$ac_lo" != "x$ac_hi"; do
28605 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28606 cat >conftest.$ac_ext <<_ACEOF
28609 cat confdefs.h >>conftest.$ac_ext
28610 cat >>conftest.$ac_ext <<_ACEOF
28611 /* end confdefs.h. */
28613 #undef HAVE_BOOLEAN
28615 #include <jpeglib.h>
28618 typedef boolean ac__type_sizeof_;
28622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28629 rm -f conftest.$ac_objext
28630 if { (ac_try="$ac_compile"
28631 case "(($ac_try" in
28632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28633 *) ac_try_echo=$ac_try;;
28635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28636 (eval "$ac_compile") 2>conftest.er1
28638 grep -v '^ *+' conftest.er1 >conftest.err
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } && {
28643 test -z "$ac_c_werror_flag" ||
28644 test ! -s conftest.err
28645 } && test -s conftest.$ac_objext; then
28648 echo "$as_me: failed program was:" >&5
28649 sed 's/^/| /' conftest.$ac_ext >&5
28651 ac_lo=`expr '(' $ac_mid ')' + 1`
28654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28657 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28658 '') if test "$ac_cv_type_boolean" = yes; then
28659 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28660 See \`config.log' for more details." >&5
28661 echo "$as_me: error: cannot compute sizeof (boolean)
28662 See \`config.log' for more details." >&2;}
28663 { (exit 77); exit 77; }; }
28665 ac_cv_sizeof_boolean=0
28669 cat >conftest.$ac_ext <<_ACEOF
28672 cat confdefs.h >>conftest.$ac_ext
28673 cat >>conftest.$ac_ext <<_ACEOF
28674 /* end confdefs.h. */
28676 #undef HAVE_BOOLEAN
28678 #include <jpeglib.h>
28681 typedef boolean ac__type_sizeof_;
28682 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28683 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28685 #include <stdlib.h>
28690 FILE *f = fopen ("conftest.val", "w");
28693 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28695 long int i = longval ();
28696 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28698 fprintf (f, "%ld\n", i);
28702 unsigned long int i = ulongval ();
28703 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28705 fprintf (f, "%lu\n", i);
28707 return ferror (f) || fclose (f) != 0;
28713 rm -f conftest$ac_exeext
28714 if { (ac_try="$ac_link"
28715 case "(($ac_try" in
28716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28717 *) ac_try_echo=$ac_try;;
28719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28720 (eval "$ac_link") 2>&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28724 { (case "(($ac_try" in
28725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28726 *) ac_try_echo=$ac_try;;
28728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28729 (eval "$ac_try") 2>&5
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); }; }; then
28733 ac_cv_sizeof_boolean=`cat conftest.val`
28735 echo "$as_me: program exited with status $ac_status" >&5
28736 echo "$as_me: failed program was:" >&5
28737 sed 's/^/| /' conftest.$ac_ext >&5
28739 ( exit $ac_status )
28740 if test "$ac_cv_type_boolean" = yes; then
28741 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28742 See \`config.log' for more details." >&5
28743 echo "$as_me: error: cannot compute sizeof (boolean)
28744 See \`config.log' for more details." >&2;}
28745 { (exit 77); exit 77; }; }
28747 ac_cv_sizeof_boolean=0
28750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28754 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28755 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28759 cat >>confdefs.h <<_ACEOF
28760 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28764 cat >>confdefs.h <<_ACEOF
28765 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28779 TIFF_PREREQ_LINKS=-lm
28780 if test "$wxUSE_LIBTIFF" != "no" ; then
28781 cat >>confdefs.h <<\_ACEOF
28782 #define wxUSE_LIBTIFF 1
28786 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28787 if test "$wxUSE_LIBJPEG" = "sys"; then
28788 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28790 if test "$wxUSE_ZLIB" = "sys"; then
28791 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28793 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28794 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28795 if test "${ac_cv_header_tiffio_h+set}" = set; then
28796 echo $ECHO_N "(cached) $ECHO_C" >&6
28798 cat >conftest.$ac_ext <<_ACEOF
28801 cat confdefs.h >>conftest.$ac_ext
28802 cat >>conftest.$ac_ext <<_ACEOF
28803 /* end confdefs.h. */
28807 #include <tiffio.h>
28809 rm -f conftest.$ac_objext
28810 if { (ac_try="$ac_compile"
28811 case "(($ac_try" in
28812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28813 *) ac_try_echo=$ac_try;;
28815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28816 (eval "$ac_compile") 2>conftest.er1
28818 grep -v '^ *+' conftest.er1 >conftest.err
28820 cat conftest.err >&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } && {
28823 test -z "$ac_c_werror_flag" ||
28824 test ! -s conftest.err
28825 } && test -s conftest.$ac_objext; then
28826 ac_cv_header_tiffio_h=yes
28828 echo "$as_me: failed program was:" >&5
28829 sed 's/^/| /' conftest.$ac_ext >&5
28831 ac_cv_header_tiffio_h=no
28834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28836 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28837 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28838 if test $ac_cv_header_tiffio_h = yes; then
28840 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28841 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28842 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28843 echo $ECHO_N "(cached) $ECHO_C" >&6
28845 ac_check_lib_save_LIBS=$LIBS
28846 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28847 cat >conftest.$ac_ext <<_ACEOF
28850 cat confdefs.h >>conftest.$ac_ext
28851 cat >>conftest.$ac_ext <<_ACEOF
28852 /* end confdefs.h. */
28854 /* Override any GCC internal prototype to avoid an error.
28855 Use char because int might match the return type of a GCC
28856 builtin and then its argument prototype would still apply. */
28864 return TIFFError ();
28869 rm -f conftest.$ac_objext conftest$ac_exeext
28870 if { (ac_try="$ac_link"
28871 case "(($ac_try" in
28872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28873 *) ac_try_echo=$ac_try;;
28875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28876 (eval "$ac_link") 2>conftest.er1
28878 grep -v '^ *+' conftest.er1 >conftest.err
28880 cat conftest.err >&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); } && {
28883 test -z "$ac_c_werror_flag" ||
28884 test ! -s conftest.err
28885 } && test -s conftest$ac_exeext &&
28886 $as_test_x conftest$ac_exeext; then
28887 ac_cv_lib_tiff_TIFFError=yes
28889 echo "$as_me: failed program was:" >&5
28890 sed 's/^/| /' conftest.$ac_ext >&5
28892 ac_cv_lib_tiff_TIFFError=no
28895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28896 conftest$ac_exeext conftest.$ac_ext
28897 LIBS=$ac_check_lib_save_LIBS
28899 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28900 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28901 if test $ac_cv_lib_tiff_TIFFError = yes; then
28902 TIFF_LINK=" -ltiff"
28910 if test "x$TIFF_LINK" = "x" ; then
28911 if test "$wxUSE_LIBTIFF" = "sys" ; then
28912 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28913 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28914 { (exit 1); exit 1; }; }
28916 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28917 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28918 wxUSE_LIBTIFF=builtin
28924 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28925 if test "$wxUSE_LIBJPEG" = "no"; then
28926 ac_configure_args="$ac_configure_args --disable-jpeg"
28928 subdirs="$subdirs src/tiff"
28934 if test "$wxUSE_EXPAT" != "no"; then
28936 cat >>confdefs.h <<\_ACEOF
28937 #define wxUSE_EXPAT 1
28940 cat >>confdefs.h <<\_ACEOF
28941 #define wxUSE_XML 1
28945 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28946 { echo "$as_me:$LINENO: checking for expat.h" >&5
28947 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28948 if test "${ac_cv_header_expat_h+set}" = set; then
28949 echo $ECHO_N "(cached) $ECHO_C" >&6
28951 cat >conftest.$ac_ext <<_ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28961 rm -f conftest.$ac_objext
28962 if { (ac_try="$ac_compile"
28963 case "(($ac_try" in
28964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28965 *) ac_try_echo=$ac_try;;
28967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28968 (eval "$ac_compile") 2>conftest.er1
28970 grep -v '^ *+' conftest.er1 >conftest.err
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } && {
28975 test -z "$ac_c_werror_flag" ||
28976 test ! -s conftest.err
28977 } && test -s conftest.$ac_objext; then
28978 ac_cv_header_expat_h=yes
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.$ac_ext >&5
28983 ac_cv_header_expat_h=no
28986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28988 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28989 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28990 if test $ac_cv_header_expat_h = yes; then
28995 if test "x$found_expat_h" = "x1"; then
28996 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28997 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28998 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28999 echo $ECHO_N "(cached) $ECHO_C" >&6
29003 ac_cpp='$CXXCPP $CPPFLAGS'
29004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29008 cat >conftest.$ac_ext <<_ACEOF
29011 cat confdefs.h >>conftest.$ac_ext
29012 cat >>conftest.$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29023 rm -f conftest.$ac_objext
29024 if { (ac_try="$ac_compile"
29025 case "(($ac_try" in
29026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29027 *) ac_try_echo=$ac_try;;
29029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29030 (eval "$ac_compile") 2>conftest.er1
29032 grep -v '^ *+' conftest.er1 >conftest.err
29034 cat conftest.err >&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); } && {
29037 test -z "$ac_cxx_werror_flag" ||
29038 test ! -s conftest.err
29039 } && test -s conftest.$ac_objext; then
29040 wx_cv_expat_is_not_broken=yes
29042 echo "$as_me: failed program was:" >&5
29043 sed 's/^/| /' conftest.$ac_ext >&5
29045 wx_cv_expat_is_not_broken=no
29049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29051 ac_cpp='$CPP $CPPFLAGS'
29052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29059 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29060 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29061 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29062 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29063 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29064 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29065 echo $ECHO_N "(cached) $ECHO_C" >&6
29067 ac_check_lib_save_LIBS=$LIBS
29068 LIBS="-lexpat $LIBS"
29069 cat >conftest.$ac_ext <<_ACEOF
29072 cat confdefs.h >>conftest.$ac_ext
29073 cat >>conftest.$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29076 /* Override any GCC internal prototype to avoid an error.
29077 Use char because int might match the return type of a GCC
29078 builtin and then its argument prototype would still apply. */
29082 char XML_ParserCreate ();
29086 return XML_ParserCreate ();
29091 rm -f conftest.$ac_objext conftest$ac_exeext
29092 if { (ac_try="$ac_link"
29093 case "(($ac_try" in
29094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29095 *) ac_try_echo=$ac_try;;
29097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29098 (eval "$ac_link") 2>conftest.er1
29100 grep -v '^ *+' conftest.er1 >conftest.err
29102 cat conftest.err >&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); } && {
29105 test -z "$ac_c_werror_flag" ||
29106 test ! -s conftest.err
29107 } && test -s conftest$ac_exeext &&
29108 $as_test_x conftest$ac_exeext; then
29109 ac_cv_lib_expat_XML_ParserCreate=yes
29111 echo "$as_me: failed program was:" >&5
29112 sed 's/^/| /' conftest.$ac_ext >&5
29114 ac_cv_lib_expat_XML_ParserCreate=no
29117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29118 conftest$ac_exeext conftest.$ac_ext
29119 LIBS=$ac_check_lib_save_LIBS
29121 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29122 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29123 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29124 EXPAT_LINK=" -lexpat"
29129 if test "x$EXPAT_LINK" = "x" ; then
29130 if test "$wxUSE_EXPAT" = "sys" ; then
29131 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29132 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29133 { (exit 1); exit 1; }; }
29135 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29136 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29137 wxUSE_EXPAT=builtin
29143 if test "$wxUSE_EXPAT" = "builtin" ; then
29144 subdirs="$subdirs src/expat"
29151 if test "$wxUSE_LIBMSPACK" != "no"; then
29152 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29153 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29154 if test "${ac_cv_header_mspack_h+set}" = set; then
29155 echo $ECHO_N "(cached) $ECHO_C" >&6
29157 cat >conftest.$ac_ext <<_ACEOF
29160 cat confdefs.h >>conftest.$ac_ext
29161 cat >>conftest.$ac_ext <<_ACEOF
29162 /* end confdefs.h. */
29165 #include <mspack.h>
29167 rm -f conftest.$ac_objext
29168 if { (ac_try="$ac_compile"
29169 case "(($ac_try" in
29170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29171 *) ac_try_echo=$ac_try;;
29173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_compile") 2>conftest.er1
29176 grep -v '^ *+' conftest.er1 >conftest.err
29178 cat conftest.err >&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } && {
29181 test -z "$ac_c_werror_flag" ||
29182 test ! -s conftest.err
29183 } && test -s conftest.$ac_objext; then
29184 ac_cv_header_mspack_h=yes
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29189 ac_cv_header_mspack_h=no
29192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29194 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29195 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29196 if test $ac_cv_header_mspack_h = yes; then
29201 if test "x$found_mspack_h" = "x1"; then
29202 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29203 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29204 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29207 ac_check_lib_save_LIBS=$LIBS
29208 LIBS="-lmspack $LIBS"
29209 cat >conftest.$ac_ext <<_ACEOF
29212 cat confdefs.h >>conftest.$ac_ext
29213 cat >>conftest.$ac_ext <<_ACEOF
29214 /* end confdefs.h. */
29216 /* Override any GCC internal prototype to avoid an error.
29217 Use char because int might match the return type of a GCC
29218 builtin and then its argument prototype would still apply. */
29222 char mspack_create_chm_decompressor ();
29226 return mspack_create_chm_decompressor ();
29231 rm -f conftest.$ac_objext conftest$ac_exeext
29232 if { (ac_try="$ac_link"
29233 case "(($ac_try" in
29234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29235 *) ac_try_echo=$ac_try;;
29237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29238 (eval "$ac_link") 2>conftest.er1
29240 grep -v '^ *+' conftest.er1 >conftest.err
29242 cat conftest.err >&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); } && {
29245 test -z "$ac_c_werror_flag" ||
29246 test ! -s conftest.err
29247 } && test -s conftest$ac_exeext &&
29248 $as_test_x conftest$ac_exeext; then
29249 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29251 echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29254 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29258 conftest$ac_exeext conftest.$ac_ext
29259 LIBS=$ac_check_lib_save_LIBS
29261 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29262 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29263 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29264 MSPACK_LINK=" -lmspack"
29268 if test "x$MSPACK_LINK" = "x" ; then
29273 if test "$wxUSE_LIBMSPACK" != "no"; then
29274 cat >>confdefs.h <<\_ACEOF
29275 #define wxUSE_LIBMSPACK 1
29289 if test "$USE_WIN32" = 1 ; then
29291 for ac_header in w32api.h
29293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29294 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29297 echo $ECHO_N "(cached) $ECHO_C" >&6
29299 cat >conftest.$ac_ext <<_ACEOF
29302 cat confdefs.h >>conftest.$ac_ext
29303 cat >>conftest.$ac_ext <<_ACEOF
29304 /* end confdefs.h. */
29307 #include <$ac_header>
29309 rm -f conftest.$ac_objext
29310 if { (ac_try="$ac_compile"
29311 case "(($ac_try" in
29312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29313 *) ac_try_echo=$ac_try;;
29315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29316 (eval "$ac_compile") 2>conftest.er1
29318 grep -v '^ *+' conftest.er1 >conftest.err
29320 cat conftest.err >&5
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); } && {
29323 test -z "$ac_c_werror_flag" ||
29324 test ! -s conftest.err
29325 } && test -s conftest.$ac_objext; then
29326 eval "$as_ac_Header=yes"
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.$ac_ext >&5
29331 eval "$as_ac_Header=no"
29334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29336 ac_res=`eval echo '${'$as_ac_Header'}'`
29337 { echo "$as_me:$LINENO: result: $ac_res" >&5
29338 echo "${ECHO_T}$ac_res" >&6; }
29339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29340 cat >>confdefs.h <<_ACEOF
29341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29348 { echo "$as_me:$LINENO: checking for windows.h" >&5
29349 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29350 if test "${ac_cv_header_windows_h+set}" = set; then
29351 echo $ECHO_N "(cached) $ECHO_C" >&6
29353 cat >conftest.$ac_ext <<_ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29361 #include <windows.h>
29363 rm -f conftest.$ac_objext
29364 if { (ac_try="$ac_compile"
29365 case "(($ac_try" in
29366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29367 *) ac_try_echo=$ac_try;;
29369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29370 (eval "$ac_compile") 2>conftest.er1
29372 grep -v '^ *+' conftest.er1 >conftest.err
29374 cat conftest.err >&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); } && {
29377 test -z "$ac_c_werror_flag" ||
29378 test ! -s conftest.err
29379 } && test -s conftest.$ac_objext; then
29380 ac_cv_header_windows_h=yes
29382 echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.$ac_ext >&5
29385 ac_cv_header_windows_h=no
29388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29391 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29392 if test $ac_cv_header_windows_h = yes; then
29396 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29397 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29398 { (exit 1); exit 1; }; }
29404 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29406 x86_64-*-mingw32* )
29407 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29410 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29411 LIBS="$LIBS -loleacc"
29416 LIBS="$LIBS -lkernel32 -luser32"
29419 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29420 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29422 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29424 WIN32INSTALL=win32install
29426 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29427 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29428 if test "${ac_cv_header_pbt_h+set}" = set; then
29429 echo $ECHO_N "(cached) $ECHO_C" >&6
29431 cat >conftest.$ac_ext <<_ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29441 rm -f conftest.$ac_objext
29442 if { (ac_try="$ac_compile"
29443 case "(($ac_try" in
29444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29445 *) ac_try_echo=$ac_try;;
29447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29448 (eval "$ac_compile") 2>conftest.er1
29450 grep -v '^ *+' conftest.er1 >conftest.err
29452 cat conftest.err >&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } && {
29455 test -z "$ac_c_werror_flag" ||
29456 test ! -s conftest.err
29457 } && test -s conftest.$ac_objext; then
29458 ac_cv_header_pbt_h=yes
29460 echo "$as_me: failed program was:" >&5
29461 sed 's/^/| /' conftest.$ac_ext >&5
29463 ac_cv_header_pbt_h=no
29466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29468 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29469 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29470 if test $ac_cv_header_pbt_h = yes; then
29473 cat >>confdefs.h <<\_ACEOF
29474 #define NEED_PBT_H 1
29482 if test "$wxUSE_GUI" = "yes"; then
29492 if test "$wxUSE_OLD_COCOA" = 1 ; then
29493 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29494 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29495 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29496 wxUSE_PRINTING_ARCHITECTURE=no
29498 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29499 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29500 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29501 wxUSE_DRAG_AND_DROP=no
29503 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29504 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29505 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29510 if test "$wxUSE_MSW" = 1 ; then
29516 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29520 if test "$wxUSE_GTK" = 1; then
29521 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29522 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29524 gtk_version_cached=1
29525 if test "${wx_cv_lib_gtk+set}" = set; then
29526 echo $ECHO_N "(cached) $ECHO_C" >&6
29529 gtk_version_cached=0
29530 { echo "$as_me:$LINENO: result: " >&5
29531 echo "${ECHO_T}" >&6; }
29534 if test "$wxUSE_THREADS" = "yes"; then
29535 GTK_MODULES=gthread
29539 if test "x$wxGTK_VERSION" != "x1"
29543 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29548 # Check whether --enable-gtktest was given.
29549 if test "${enable_gtktest+set}" = set; then
29550 enableval=$enable_gtktest;
29556 pkg_config_args=gtk+-2.0
29557 for module in . $GTK_MODULES
29561 pkg_config_args="$pkg_config_args gthread-2.0"
29568 # Extract the first word of "pkg-config", so it can be a program name with args.
29569 set dummy pkg-config; ac_word=$2
29570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29573 echo $ECHO_N "(cached) $ECHO_C" >&6
29575 case $PKG_CONFIG in
29577 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29581 for as_dir in $PATH
29584 test -z "$as_dir" && as_dir=.
29585 for ac_exec_ext in '' $ac_executable_extensions; do
29586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29587 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29595 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29599 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29600 if test -n "$PKG_CONFIG"; then
29601 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29602 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29604 { echo "$as_me:$LINENO: result: no" >&5
29605 echo "${ECHO_T}no" >&6; }
29610 if test x$PKG_CONFIG != xno ; then
29611 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29614 echo "*** pkg-config too old; version 0.7 or better required."
29622 min_gtk_version=2.4.0
29623 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29624 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29626 if test x$PKG_CONFIG != xno ; then
29627 ## don't try to run the test against uninstalled libtool libs
29628 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29629 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29633 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29640 if test x"$no_gtk" = x ; then
29641 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29642 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29643 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29645 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29646 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29647 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29649 if test "x$enable_gtktest" = "xyes" ; then
29650 ac_save_CFLAGS="$CFLAGS"
29651 ac_save_LIBS="$LIBS"
29652 CFLAGS="$CFLAGS $GTK_CFLAGS"
29653 LIBS="$GTK_LIBS $LIBS"
29655 if test "$cross_compiling" = yes; then
29656 echo $ac_n "cross compiling; assumed OK... $ac_c"
29658 cat >conftest.$ac_ext <<_ACEOF
29661 cat confdefs.h >>conftest.$ac_ext
29662 cat >>conftest.$ac_ext <<_ACEOF
29663 /* end confdefs.h. */
29665 #include <gtk/gtk.h>
29667 #include <stdlib.h>
29672 int major, minor, micro;
29675 system ("touch conf.gtktest");
29677 /* HP/UX 9 (%@#!) writes to sscanf strings */
29678 tmp_version = g_strdup("$min_gtk_version");
29679 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29680 printf("%s, bad version string\n", "$min_gtk_version");
29684 if ((gtk_major_version != $gtk_config_major_version) ||
29685 (gtk_minor_version != $gtk_config_minor_version) ||
29686 (gtk_micro_version != $gtk_config_micro_version))
29688 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29689 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29690 gtk_major_version, gtk_minor_version, gtk_micro_version);
29691 printf ("*** was found! If pkg-config was correct, then it is best\n");
29692 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29693 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29694 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29695 printf("*** required on your system.\n");
29696 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29697 printf("*** to point to the correct configuration files\n");
29699 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29700 (gtk_minor_version != GTK_MINOR_VERSION) ||
29701 (gtk_micro_version != GTK_MICRO_VERSION))
29703 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29704 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29705 printf("*** library (version %d.%d.%d)\n",
29706 gtk_major_version, gtk_minor_version, gtk_micro_version);
29710 if ((gtk_major_version > major) ||
29711 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29712 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29718 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29719 gtk_major_version, gtk_minor_version, gtk_micro_version);
29720 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29721 major, minor, micro);
29722 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29724 printf("*** If you have already installed a sufficiently new version, this error\n");
29725 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29726 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29727 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29728 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29729 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29730 printf("*** so that the correct libraries are found at run-time))\n");
29737 rm -f conftest$ac_exeext
29738 if { (ac_try="$ac_link"
29739 case "(($ac_try" in
29740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29741 *) ac_try_echo=$ac_try;;
29743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29744 (eval "$ac_link") 2>&5
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29748 { (case "(($ac_try" in
29749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29750 *) ac_try_echo=$ac_try;;
29752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29753 (eval "$ac_try") 2>&5
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); }; }; then
29759 echo "$as_me: program exited with status $ac_status" >&5
29760 echo "$as_me: failed program was:" >&5
29761 sed 's/^/| /' conftest.$ac_ext >&5
29763 ( exit $ac_status )
29766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29770 CFLAGS="$ac_save_CFLAGS"
29771 LIBS="$ac_save_LIBS"
29774 if test "x$no_gtk" = x ; then
29775 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29776 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29779 { echo "$as_me:$LINENO: result: no" >&5
29780 echo "${ECHO_T}no" >&6; }
29781 if test "$PKG_CONFIG" = "no" ; then
29782 echo "*** A new enough version of pkg-config was not found."
29783 echo "*** See http://pkgconfig.sourceforge.net"
29785 if test -f conf.gtktest ; then
29788 echo "*** Could not run GTK+ test program, checking why..."
29789 ac_save_CFLAGS="$CFLAGS"
29790 ac_save_LIBS="$LIBS"
29791 CFLAGS="$CFLAGS $GTK_CFLAGS"
29792 LIBS="$LIBS $GTK_LIBS"
29793 cat >conftest.$ac_ext <<_ACEOF
29796 cat confdefs.h >>conftest.$ac_ext
29797 cat >>conftest.$ac_ext <<_ACEOF
29798 /* end confdefs.h. */
29800 #include <gtk/gtk.h>
29806 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29811 rm -f conftest.$ac_objext conftest$ac_exeext
29812 if { (ac_try="$ac_link"
29813 case "(($ac_try" in
29814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29815 *) ac_try_echo=$ac_try;;
29817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29818 (eval "$ac_link") 2>conftest.er1
29820 grep -v '^ *+' conftest.er1 >conftest.err
29822 cat conftest.err >&5
29823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29824 (exit $ac_status); } && {
29825 test -z "$ac_c_werror_flag" ||
29826 test ! -s conftest.err
29827 } && test -s conftest$ac_exeext &&
29828 $as_test_x conftest$ac_exeext; then
29829 echo "*** The test program compiled, but did not run. This usually means"
29830 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29831 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29832 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29833 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29834 echo "*** is required on your system"
29836 echo "*** If you have an old version installed, it is best to remove it, although"
29837 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29839 echo "$as_me: failed program was:" >&5
29840 sed 's/^/| /' conftest.$ac_ext >&5
29842 echo "*** The test program failed to compile or link. See the file config.log for the"
29843 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29847 conftest$ac_exeext conftest.$ac_ext
29848 CFLAGS="$ac_save_CFLAGS"
29849 LIBS="$ac_save_LIBS"
29863 if test "$wxUSE_SHARED" != "yes"; then
29864 GTK_LIBS="$GTK_LIBS -lX11"
29869 if test -z "$wx_cv_lib_gtk"; then
29870 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29872 # Check whether --with-gtk-prefix was given.
29873 if test "${with_gtk_prefix+set}" = set; then
29874 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29876 gtk_config_prefix=""
29880 # Check whether --with-gtk-exec-prefix was given.
29881 if test "${with_gtk_exec_prefix+set}" = set; then
29882 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29884 gtk_config_exec_prefix=""
29887 # Check whether --enable-gtktest was given.
29888 if test "${enable_gtktest+set}" = set; then
29889 enableval=$enable_gtktest;
29895 for module in . $GTK_MODULES
29899 gtk_config_args="$gtk_config_args gthread"
29904 if test x$gtk_config_exec_prefix != x ; then
29905 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29906 if test x${GTK_CONFIG+set} != xset ; then
29907 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29910 if test x$gtk_config_prefix != x ; then
29911 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29912 if test x${GTK_CONFIG+set} != xset ; then
29913 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29917 # Extract the first word of "gtk-config", so it can be a program name with args.
29918 set dummy gtk-config; ac_word=$2
29919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29921 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29922 echo $ECHO_N "(cached) $ECHO_C" >&6
29924 case $GTK_CONFIG in
29926 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29930 for as_dir in $PATH
29933 test -z "$as_dir" && as_dir=.
29934 for ac_exec_ext in '' $ac_executable_extensions; do
29935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29936 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29944 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29948 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29949 if test -n "$GTK_CONFIG"; then
29950 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29951 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29953 { echo "$as_me:$LINENO: result: no" >&5
29954 echo "${ECHO_T}no" >&6; }
29958 min_gtk_version=1.2.7
29959 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29960 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29962 if test "$GTK_CONFIG" = "no" ; then
29965 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29966 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29967 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29969 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29971 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29973 if test "x$enable_gtktest" = "xyes" ; then
29974 ac_save_CFLAGS="$CFLAGS"
29975 ac_save_LIBS="$LIBS"
29976 CFLAGS="$CFLAGS $GTK_CFLAGS"
29977 LIBS="$GTK_LIBS $LIBS"
29979 if test "$cross_compiling" = yes; then
29980 echo $ac_n "cross compiling; assumed OK... $ac_c"
29982 cat >conftest.$ac_ext <<_ACEOF
29985 cat confdefs.h >>conftest.$ac_ext
29986 cat >>conftest.$ac_ext <<_ACEOF
29987 /* end confdefs.h. */
29989 #include <gtk/gtk.h>
29991 #include <stdlib.h>
29996 int major, minor, micro;
29999 system ("touch conf.gtktest");
30001 /* HP/UX 9 (%@#!) writes to sscanf strings */
30002 tmp_version = g_strdup("$min_gtk_version");
30003 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30004 printf("%s, bad version string\n", "$min_gtk_version");
30008 if ((gtk_major_version != $gtk_config_major_version) ||
30009 (gtk_minor_version != $gtk_config_minor_version) ||
30010 (gtk_micro_version != $gtk_config_micro_version))
30012 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30013 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30014 gtk_major_version, gtk_minor_version, gtk_micro_version);
30015 printf ("*** was found! If gtk-config was correct, then it is best\n");
30016 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30017 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30018 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30019 printf("*** required on your system.\n");
30020 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30021 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30022 printf("*** before re-running configure\n");
30024 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30025 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30026 (gtk_minor_version != GTK_MINOR_VERSION) ||
30027 (gtk_micro_version != GTK_MICRO_VERSION))
30029 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30030 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30031 printf("*** library (version %d.%d.%d)\n",
30032 gtk_major_version, gtk_minor_version, gtk_micro_version);
30034 #endif /* defined (GTK_MAJOR_VERSION) ... */
30037 if ((gtk_major_version > major) ||
30038 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30039 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30045 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30046 gtk_major_version, gtk_minor_version, gtk_micro_version);
30047 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30048 major, minor, micro);
30049 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30051 printf("*** If you have already installed a sufficiently new version, this error\n");
30052 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30053 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30054 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30055 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30056 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30057 printf("*** so that the correct libraries are found at run-time))\n");
30064 rm -f conftest$ac_exeext
30065 if { (ac_try="$ac_link"
30066 case "(($ac_try" in
30067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30068 *) ac_try_echo=$ac_try;;
30070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30071 (eval "$ac_link") 2>&5
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30075 { (case "(($ac_try" in
30076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30077 *) ac_try_echo=$ac_try;;
30079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30080 (eval "$ac_try") 2>&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; }; then
30086 echo "$as_me: program exited with status $ac_status" >&5
30087 echo "$as_me: failed program was:" >&5
30088 sed 's/^/| /' conftest.$ac_ext >&5
30090 ( exit $ac_status )
30093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30097 CFLAGS="$ac_save_CFLAGS"
30098 LIBS="$ac_save_LIBS"
30101 if test "x$no_gtk" = x ; then
30102 { echo "$as_me:$LINENO: result: yes" >&5
30103 echo "${ECHO_T}yes" >&6; }
30104 wx_cv_lib_gtk=1.2.7
30106 { echo "$as_me:$LINENO: result: no" >&5
30107 echo "${ECHO_T}no" >&6; }
30108 if test "$GTK_CONFIG" = "no" ; then
30109 echo "*** The gtk-config script installed by GTK could not be found"
30110 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30111 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30112 echo "*** full path to gtk-config."
30114 if test -f conf.gtktest ; then
30117 echo "*** Could not run GTK test program, checking why..."
30118 CFLAGS="$CFLAGS $GTK_CFLAGS"
30119 LIBS="$LIBS $GTK_LIBS"
30120 cat >conftest.$ac_ext <<_ACEOF
30123 cat confdefs.h >>conftest.$ac_ext
30124 cat >>conftest.$ac_ext <<_ACEOF
30125 /* end confdefs.h. */
30127 #include <gtk/gtk.h>
30133 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30138 rm -f conftest.$ac_objext conftest$ac_exeext
30139 if { (ac_try="$ac_link"
30140 case "(($ac_try" in
30141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30142 *) ac_try_echo=$ac_try;;
30144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30145 (eval "$ac_link") 2>conftest.er1
30147 grep -v '^ *+' conftest.er1 >conftest.err
30149 cat conftest.err >&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); } && {
30152 test -z "$ac_c_werror_flag" ||
30153 test ! -s conftest.err
30154 } && test -s conftest$ac_exeext &&
30155 $as_test_x conftest$ac_exeext; then
30156 echo "*** The test program compiled, but did not run. This usually means"
30157 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30158 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30159 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30160 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30161 echo "*** is required on your system"
30163 echo "*** If you have an old version installed, it is best to remove it, although"
30164 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30166 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30167 echo "*** came with the system with the command"
30169 echo "*** rpm --erase --nodeps gtk gtk-devel"
30171 echo "$as_me: failed program was:" >&5
30172 sed 's/^/| /' conftest.$ac_ext >&5
30174 echo "*** The test program failed to compile or link. See the file config.log for the"
30175 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30176 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30177 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30181 conftest$ac_exeext conftest.$ac_ext
30182 CFLAGS="$ac_save_CFLAGS"
30183 LIBS="$ac_save_LIBS"
30195 if test -z "$wx_cv_lib_gtk"; then
30197 # Check whether --with-gtk-prefix was given.
30198 if test "${with_gtk_prefix+set}" = set; then
30199 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30201 gtk_config_prefix=""
30205 # Check whether --with-gtk-exec-prefix was given.
30206 if test "${with_gtk_exec_prefix+set}" = set; then
30207 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30209 gtk_config_exec_prefix=""
30212 # Check whether --enable-gtktest was given.
30213 if test "${enable_gtktest+set}" = set; then
30214 enableval=$enable_gtktest;
30220 for module in . $GTK_MODULES
30224 gtk_config_args="$gtk_config_args gthread"
30229 if test x$gtk_config_exec_prefix != x ; then
30230 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30231 if test x${GTK_CONFIG+set} != xset ; then
30232 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30235 if test x$gtk_config_prefix != x ; then
30236 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30237 if test x${GTK_CONFIG+set} != xset ; then
30238 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30242 # Extract the first word of "gtk-config", so it can be a program name with args.
30243 set dummy gtk-config; ac_word=$2
30244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30246 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30247 echo $ECHO_N "(cached) $ECHO_C" >&6
30249 case $GTK_CONFIG in
30251 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30255 for as_dir in $PATH
30258 test -z "$as_dir" && as_dir=.
30259 for ac_exec_ext in '' $ac_executable_extensions; do
30260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30261 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30269 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30273 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30274 if test -n "$GTK_CONFIG"; then
30275 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30276 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30278 { echo "$as_me:$LINENO: result: no" >&5
30279 echo "${ECHO_T}no" >&6; }
30283 min_gtk_version=1.2.3
30284 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30285 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30287 if test "$GTK_CONFIG" = "no" ; then
30290 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30291 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30292 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30294 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30296 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30297 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30298 if test "x$enable_gtktest" = "xyes" ; then
30299 ac_save_CFLAGS="$CFLAGS"
30300 ac_save_LIBS="$LIBS"
30301 CFLAGS="$CFLAGS $GTK_CFLAGS"
30302 LIBS="$GTK_LIBS $LIBS"
30304 if test "$cross_compiling" = yes; then
30305 echo $ac_n "cross compiling; assumed OK... $ac_c"
30307 cat >conftest.$ac_ext <<_ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30314 #include <gtk/gtk.h>
30316 #include <stdlib.h>
30321 int major, minor, micro;
30324 system ("touch conf.gtktest");
30326 /* HP/UX 9 (%@#!) writes to sscanf strings */
30327 tmp_version = g_strdup("$min_gtk_version");
30328 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30329 printf("%s, bad version string\n", "$min_gtk_version");
30333 if ((gtk_major_version != $gtk_config_major_version) ||
30334 (gtk_minor_version != $gtk_config_minor_version) ||
30335 (gtk_micro_version != $gtk_config_micro_version))
30337 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30338 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30339 gtk_major_version, gtk_minor_version, gtk_micro_version);
30340 printf ("*** was found! If gtk-config was correct, then it is best\n");
30341 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30342 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30343 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30344 printf("*** required on your system.\n");
30345 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30346 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30347 printf("*** before re-running configure\n");
30349 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30350 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30351 (gtk_minor_version != GTK_MINOR_VERSION) ||
30352 (gtk_micro_version != GTK_MICRO_VERSION))
30354 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30355 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30356 printf("*** library (version %d.%d.%d)\n",
30357 gtk_major_version, gtk_minor_version, gtk_micro_version);
30359 #endif /* defined (GTK_MAJOR_VERSION) ... */
30362 if ((gtk_major_version > major) ||
30363 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30364 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30370 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30371 gtk_major_version, gtk_minor_version, gtk_micro_version);
30372 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30373 major, minor, micro);
30374 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30376 printf("*** If you have already installed a sufficiently new version, this error\n");
30377 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30378 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30379 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30380 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30381 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30382 printf("*** so that the correct libraries are found at run-time))\n");
30389 rm -f conftest$ac_exeext
30390 if { (ac_try="$ac_link"
30391 case "(($ac_try" in
30392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30393 *) ac_try_echo=$ac_try;;
30395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30396 (eval "$ac_link") 2>&5
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30400 { (case "(($ac_try" in
30401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30402 *) ac_try_echo=$ac_try;;
30404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30405 (eval "$ac_try") 2>&5
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); }; }; then
30411 echo "$as_me: program exited with status $ac_status" >&5
30412 echo "$as_me: failed program was:" >&5
30413 sed 's/^/| /' conftest.$ac_ext >&5
30415 ( exit $ac_status )
30418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30422 CFLAGS="$ac_save_CFLAGS"
30423 LIBS="$ac_save_LIBS"
30426 if test "x$no_gtk" = x ; then
30427 { echo "$as_me:$LINENO: result: yes" >&5
30428 echo "${ECHO_T}yes" >&6; }
30429 wx_cv_lib_gtk=1.2.3
30431 { echo "$as_me:$LINENO: result: no" >&5
30432 echo "${ECHO_T}no" >&6; }
30433 if test "$GTK_CONFIG" = "no" ; then
30434 echo "*** The gtk-config script installed by GTK could not be found"
30435 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30436 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30437 echo "*** full path to gtk-config."
30439 if test -f conf.gtktest ; then
30442 echo "*** Could not run GTK test program, checking why..."
30443 CFLAGS="$CFLAGS $GTK_CFLAGS"
30444 LIBS="$LIBS $GTK_LIBS"
30445 cat >conftest.$ac_ext <<_ACEOF
30448 cat confdefs.h >>conftest.$ac_ext
30449 cat >>conftest.$ac_ext <<_ACEOF
30450 /* end confdefs.h. */
30452 #include <gtk/gtk.h>
30458 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30463 rm -f conftest.$ac_objext conftest$ac_exeext
30464 if { (ac_try="$ac_link"
30465 case "(($ac_try" in
30466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30467 *) ac_try_echo=$ac_try;;
30469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30470 (eval "$ac_link") 2>conftest.er1
30472 grep -v '^ *+' conftest.er1 >conftest.err
30474 cat conftest.err >&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); } && {
30477 test -z "$ac_c_werror_flag" ||
30478 test ! -s conftest.err
30479 } && test -s conftest$ac_exeext &&
30480 $as_test_x conftest$ac_exeext; then
30481 echo "*** The test program compiled, but did not run. This usually means"
30482 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30483 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30484 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30485 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30486 echo "*** is required on your system"
30488 echo "*** If you have an old version installed, it is best to remove it, although"
30489 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30491 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30492 echo "*** came with the system with the command"
30494 echo "*** rpm --erase --nodeps gtk gtk-devel"
30496 echo "$as_me: failed program was:" >&5
30497 sed 's/^/| /' conftest.$ac_ext >&5
30499 echo "*** The test program failed to compile or link. See the file config.log for the"
30500 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30501 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30502 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30506 conftest$ac_exeext conftest.$ac_ext
30507 CFLAGS="$ac_save_CFLAGS"
30508 LIBS="$ac_save_LIBS"
30523 if test -z "$wx_cv_lib_gtk"; then
30526 wx_cv_cflags_gtk=$GTK_CFLAGS
30527 wx_cv_libs_gtk=$GTK_LIBS
30534 if test "$gtk_version_cached" = 1; then
30535 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30536 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30539 case "$wx_cv_lib_gtk" in
30548 *) { { echo "$as_me:$LINENO: error:
30549 The development files for GTK+ were not found. For GTK+ 2, please
30550 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30551 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30552 and that the version is 1.2.3 or above. Also check that the
30553 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30554 --libs' are in the LD_LIBRARY_PATH or equivalent.
30556 echo "$as_me: error:
30557 The development files for GTK+ were not found. For GTK+ 2, please
30558 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30559 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30560 and that the version is 1.2.3 or above. Also check that the
30561 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30562 --libs' are in the LD_LIBRARY_PATH or equivalent.
30564 { (exit 1); exit 1; }; }
30568 if test "$WXGTK2" = 1; then
30569 save_CFLAGS="$CFLAGS"
30571 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30572 LIBS="$LIBS $wx_cv_libs_gtk"
30574 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30575 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30576 cat >conftest.$ac_ext <<_ACEOF
30579 cat confdefs.h >>conftest.$ac_ext
30580 cat >>conftest.$ac_ext <<_ACEOF
30581 /* end confdefs.h. */
30583 #include <gtk/gtk.h>
30589 #if !GTK_CHECK_VERSION(2,18,0)
30597 rm -f conftest.$ac_objext
30598 if { (ac_try="$ac_compile"
30599 case "(($ac_try" in
30600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30601 *) ac_try_echo=$ac_try;;
30603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30604 (eval "$ac_compile") 2>conftest.er1
30606 grep -v '^ *+' conftest.er1 >conftest.err
30608 cat conftest.err >&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); } && {
30611 test -z "$ac_c_werror_flag" ||
30612 test ! -s conftest.err
30613 } && test -s conftest.$ac_objext; then
30615 cat >>confdefs.h <<\_ACEOF
30616 #define __WXGTK218__ 1
30619 cat >>confdefs.h <<\_ACEOF
30620 #define __WXGTK210__ 1
30623 cat >>confdefs.h <<\_ACEOF
30624 #define __WXGTK26__ 1
30627 { echo "$as_me:$LINENO: result: yes" >&5
30628 echo "${ECHO_T}yes" >&6; }
30632 echo "$as_me: failed program was:" >&5
30633 sed 's/^/| /' conftest.$ac_ext >&5
30636 { echo "$as_me:$LINENO: result: no" >&5
30637 echo "${ECHO_T}no" >&6; }
30642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30644 if test "$ac_wxgtk218" = 0; then
30645 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30646 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30647 cat >conftest.$ac_ext <<_ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30654 #include <gtk/gtk.h>
30660 #if !GTK_CHECK_VERSION(2,10,0)
30668 rm -f conftest.$ac_objext
30669 if { (ac_try="$ac_compile"
30670 case "(($ac_try" in
30671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30672 *) ac_try_echo=$ac_try;;
30674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30675 (eval "$ac_compile") 2>conftest.er1
30677 grep -v '^ *+' conftest.er1 >conftest.err
30679 cat conftest.err >&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); } && {
30682 test -z "$ac_c_werror_flag" ||
30683 test ! -s conftest.err
30684 } && test -s conftest.$ac_objext; then
30686 cat >>confdefs.h <<\_ACEOF
30687 #define __WXGTK210__ 1
30690 cat >>confdefs.h <<\_ACEOF
30691 #define __WXGTK26__ 1
30694 { echo "$as_me:$LINENO: result: yes" >&5
30695 echo "${ECHO_T}yes" >&6; }
30699 echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.$ac_ext >&5
30703 { echo "$as_me:$LINENO: result: no" >&5
30704 echo "${ECHO_T}no" >&6; }
30709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30711 if test "$ac_wxgtk210" = 0; then
30712 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30713 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30714 cat >conftest.$ac_ext <<_ACEOF
30717 cat confdefs.h >>conftest.$ac_ext
30718 cat >>conftest.$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30721 #include <gtk/gtk.h>
30727 #if !GTK_CHECK_VERSION(2,6,0)
30735 rm -f conftest.$ac_objext
30736 if { (ac_try="$ac_compile"
30737 case "(($ac_try" in
30738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30739 *) ac_try_echo=$ac_try;;
30741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30742 (eval "$ac_compile") 2>conftest.er1
30744 grep -v '^ *+' conftest.er1 >conftest.err
30746 cat conftest.err >&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); } && {
30749 test -z "$ac_c_werror_flag" ||
30750 test ! -s conftest.err
30751 } && test -s conftest.$ac_objext; then
30753 cat >>confdefs.h <<\_ACEOF
30754 #define __WXGTK26__ 1
30757 { echo "$as_me:$LINENO: result: yes" >&5
30758 echo "${ECHO_T}yes" >&6; }
30762 echo "$as_me: failed program was:" >&5
30763 sed 's/^/| /' conftest.$ac_ext >&5
30766 { echo "$as_me:$LINENO: result: no" >&5
30767 echo "${ECHO_T}no" >&6; }
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30776 CFLAGS="$save_CFLAGS"
30779 if test "$wxUSE_UNICODE" = "yes"; then
30780 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30781 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30785 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30786 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30787 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30788 echo $ECHO_N "(cached) $ECHO_C" >&6
30790 ac_check_lib_save_LIBS=$LIBS
30792 cat >conftest.$ac_ext <<_ACEOF
30795 cat confdefs.h >>conftest.$ac_ext
30796 cat >>conftest.$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30799 /* Override any GCC internal prototype to avoid an error.
30800 Use char because int might match the return type of a GCC
30801 builtin and then its argument prototype would still apply. */
30805 char gdk_im_open ();
30809 return gdk_im_open ();
30814 rm -f conftest.$ac_objext conftest$ac_exeext
30815 if { (ac_try="$ac_link"
30816 case "(($ac_try" in
30817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30818 *) ac_try_echo=$ac_try;;
30820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30821 (eval "$ac_link") 2>conftest.er1
30823 grep -v '^ *+' conftest.er1 >conftest.err
30825 cat conftest.err >&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); } && {
30828 test -z "$ac_c_werror_flag" ||
30829 test ! -s conftest.err
30830 } && test -s conftest$ac_exeext &&
30831 $as_test_x conftest$ac_exeext; then
30832 ac_cv_lib_gdk_gdk_im_open=yes
30834 echo "$as_me: failed program was:" >&5
30835 sed 's/^/| /' conftest.$ac_ext >&5
30837 ac_cv_lib_gdk_gdk_im_open=no
30840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30841 conftest$ac_exeext conftest.$ac_ext
30842 LIBS=$ac_check_lib_save_LIBS
30844 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30845 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30846 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30847 cat >>confdefs.h <<\_ACEOF
30854 if test "$USE_DARWIN" != 1; then
30856 for ac_func in poll
30858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30859 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30861 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30862 echo $ECHO_N "(cached) $ECHO_C" >&6
30864 cat >conftest.$ac_ext <<_ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h. */
30870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30872 #define $ac_func innocuous_$ac_func
30874 /* System header to define __stub macros and hopefully few prototypes,
30875 which can conflict with char $ac_func (); below.
30876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30877 <limits.h> exists even on freestanding compilers. */
30880 # include <limits.h>
30882 # include <assert.h>
30887 /* Override any GCC internal prototype to avoid an error.
30888 Use char because int might match the return type of a GCC
30889 builtin and then its argument prototype would still apply. */
30894 /* The GNU C library defines this for functions which it implements
30895 to always fail with ENOSYS. Some functions are actually named
30896 something starting with __ and the normal name is an alias. */
30897 #if defined __stub_$ac_func || defined __stub___$ac_func
30904 return $ac_func ();
30909 rm -f conftest.$ac_objext conftest$ac_exeext
30910 if { (ac_try="$ac_link"
30911 case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30913 *) ac_try_echo=$ac_try;;
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_link") 2>conftest.er1
30918 grep -v '^ *+' conftest.er1 >conftest.err
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } && {
30923 test -z "$ac_c_werror_flag" ||
30924 test ! -s conftest.err
30925 } && test -s conftest$ac_exeext &&
30926 $as_test_x conftest$ac_exeext; then
30927 eval "$as_ac_var=yes"
30929 echo "$as_me: failed program was:" >&5
30930 sed 's/^/| /' conftest.$ac_ext >&5
30932 eval "$as_ac_var=no"
30935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30936 conftest$ac_exeext conftest.$ac_ext
30938 ac_res=`eval echo '${'$as_ac_var'}'`
30939 { echo "$as_me:$LINENO: result: $ac_res" >&5
30940 echo "${ECHO_T}$ac_res" >&6; }
30941 if test `eval echo '${'$as_ac_var'}'` = yes; then
30942 cat >>confdefs.h <<_ACEOF
30943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30952 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30953 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30955 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30957 AFMINSTALL=afminstall
30961 if test "$wxUSE_GPE" = "yes"; then
30962 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30963 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30966 for ac_dir in $SEARCH_LIB
30968 for ac_extension in a so sl dylib dll.a; do
30969 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30970 ac_find_libraries=$ac_dir
30976 if test "$ac_find_libraries" != "" ; then
30978 if test "$ac_find_libraries" = "default location"; then
30981 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30983 if test $result = 0; then
30986 ac_path_to_link=" -L$ac_find_libraries"
30990 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30992 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30993 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30995 { echo "$as_me:$LINENO: result: not found" >&5
30996 echo "${ECHO_T}not found" >&6; }
31002 if test "$wxUSE_MGL" = 1; then
31003 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31004 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31005 if test "x$MGL_ROOT" = x ; then
31006 { echo "$as_me:$LINENO: result: not found" >&5
31007 echo "${ECHO_T}not found" >&6; }
31008 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31009 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31010 { (exit 1); exit 1; }; }
31012 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31013 echo "${ECHO_T}$MGL_ROOT" >&6; }
31016 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31017 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31020 if test "x$wxUSE_SHARED" = xyes ; then
31021 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31023 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31027 mgl_os_candidates="dos32/dj2"
31030 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31031 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31032 { (exit 1); exit 1; }; }
31038 for mgl_os_i in $mgl_os_candidates ; do
31039 if test "x$mgl_os" = x ; then
31040 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31041 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31042 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31047 if test "x$mgl_lib_type" = x ; then
31048 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31049 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31050 mgl_lib_type=release
31057 if test "x$mgl_os" = x ; then
31058 { echo "$as_me:$LINENO: result: not found" >&5
31059 echo "${ECHO_T}not found" >&6; }
31060 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31061 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31062 { (exit 1); exit 1; }; }
31064 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31065 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31067 wxUSE_UNIVERSAL="yes"
31069 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31070 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31072 AFMINSTALL=afminstall
31077 if test "$wxUSE_DFB" = 1; then
31080 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31081 if test -n "$ac_tool_prefix"; then
31082 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31083 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31086 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31087 echo $ECHO_N "(cached) $ECHO_C" >&6
31089 case $PKG_CONFIG in
31091 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31095 for as_dir in $PATH
31098 test -z "$as_dir" && as_dir=.
31099 for ac_exec_ext in '' $ac_executable_extensions; do
31100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31101 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31112 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31113 if test -n "$PKG_CONFIG"; then
31114 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31115 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31117 { echo "$as_me:$LINENO: result: no" >&5
31118 echo "${ECHO_T}no" >&6; }
31123 if test -z "$ac_cv_path_PKG_CONFIG"; then
31124 ac_pt_PKG_CONFIG=$PKG_CONFIG
31125 # Extract the first word of "pkg-config", so it can be a program name with args.
31126 set dummy pkg-config; ac_word=$2
31127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31129 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31130 echo $ECHO_N "(cached) $ECHO_C" >&6
31132 case $ac_pt_PKG_CONFIG in
31134 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31138 for as_dir in $PATH
31141 test -z "$as_dir" && as_dir=.
31142 for ac_exec_ext in '' $ac_executable_extensions; do
31143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31144 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31155 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31156 if test -n "$ac_pt_PKG_CONFIG"; then
31157 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31158 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31160 { echo "$as_me:$LINENO: result: no" >&5
31161 echo "${ECHO_T}no" >&6; }
31164 if test "x$ac_pt_PKG_CONFIG" = x; then
31167 case $cross_compiling:$ac_tool_warned in
31169 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31170 whose name does not start with the host triplet. If you think this
31171 configuration is useful to you, please write to autoconf@gnu.org." >&5
31172 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31173 whose name does not start with the host triplet. If you think this
31174 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31175 ac_tool_warned=yes ;;
31177 PKG_CONFIG=$ac_pt_PKG_CONFIG
31180 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31184 if test -n "$PKG_CONFIG"; then
31185 _pkg_min_version=0.9.0
31186 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31187 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31188 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31189 { echo "$as_me:$LINENO: result: yes" >&5
31190 echo "${ECHO_T}yes" >&6; }
31192 { echo "$as_me:$LINENO: result: no" >&5
31193 echo "${ECHO_T}no" >&6; }
31201 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31202 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31204 if test -n "$PKG_CONFIG"; then
31205 if test -n "$DIRECTFB_CFLAGS"; then
31206 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31208 if test -n "$PKG_CONFIG" && \
31209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31210 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); }; then
31214 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31222 if test -n "$PKG_CONFIG"; then
31223 if test -n "$DIRECTFB_LIBS"; then
31224 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31226 if test -n "$PKG_CONFIG" && \
31227 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31228 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; then
31232 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31243 if test $pkg_failed = yes; then
31245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31246 _pkg_short_errors_supported=yes
31248 _pkg_short_errors_supported=no
31250 if test $_pkg_short_errors_supported = yes; then
31251 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31253 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31255 # Put the nasty error message in config.log where it belongs
31256 echo "$DIRECTFB_PKG_ERRORS" >&5
31259 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31260 echo "$as_me: error: DirectFB not found." >&2;}
31261 { (exit 1); exit 1; }; }
31264 elif test $pkg_failed = untried; then
31266 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31267 echo "$as_me: error: DirectFB not found." >&2;}
31268 { (exit 1); exit 1; }; }
31272 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31273 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31274 { echo "$as_me:$LINENO: result: yes" >&5
31275 echo "${ECHO_T}yes" >&6; }
31277 wxUSE_UNIVERSAL="yes"
31278 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31279 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31286 if test "$wxUSE_MICROWIN" = 1; then
31287 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31288 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31289 if test "x$MICROWINDOWS" = x ; then
31290 { echo "$as_me:$LINENO: result: not found" >&5
31291 echo "${ECHO_T}not found" >&6; }
31292 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31293 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31294 { (exit 1); exit 1; }; }
31296 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31297 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31300 if test -f $MICROWINDOWS/lib/libmwin.a; then
31301 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31302 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31304 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31305 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31306 { (exit 1); exit 1; }; }
31309 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31310 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31312 wxUSE_UNIVERSAL="yes"
31314 AFMINSTALL=afminstall
31316 GUIDIST=MICROWIN_DIST
31318 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31321 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31322 { echo "$as_me:$LINENO: checking for X" >&5
31323 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31326 # Check whether --with-x was given.
31327 if test "${with_x+set}" = set; then
31331 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31332 if test "x$with_x" = xno; then
31333 # The user explicitly disabled X.
31336 case $x_includes,$x_libraries in #(
31337 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31338 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31339 { (exit 1); exit 1; }; };; #(
31340 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31341 echo $ECHO_N "(cached) $ECHO_C" >&6
31343 # One or both of the vars are not set, and there is no cached value.
31344 ac_x_includes=no ac_x_libraries=no
31345 rm -f -r conftest.dir
31346 if mkdir conftest.dir; then
31348 cat >Imakefile <<'_ACEOF'
31350 @echo incroot='${INCROOT}'
31352 @echo usrlibdir='${USRLIBDIR}'
31354 @echo libdir='${LIBDIR}'
31356 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31357 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31358 for ac_var in incroot usrlibdir libdir; do
31359 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31361 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31362 for ac_extension in a so sl; do
31363 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31364 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31365 ac_im_usrlibdir=$ac_im_libdir; break
31368 # Screen out bogus values from the imake configuration. They are
31369 # bogus both because they are the default anyway, and because
31370 # using them would break gcc on systems where it needs fixed includes.
31371 case $ac_im_incroot in
31372 /usr/include) ac_x_includes= ;;
31373 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31375 case $ac_im_usrlibdir in
31376 /usr/lib | /lib) ;;
31377 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31381 rm -f -r conftest.dir
31384 # Standard set of common directories for X headers.
31385 # Check X11 before X11Rn because it is often a symlink to the current release.
31397 /usr/local/X11/include
31398 /usr/local/X11R6/include
31399 /usr/local/X11R5/include
31400 /usr/local/X11R4/include
31402 /usr/local/include/X11
31403 /usr/local/include/X11R6
31404 /usr/local/include/X11R5
31405 /usr/local/include/X11R4
31409 /usr/XFree86/include/X11
31413 /usr/unsupported/include
31414 /usr/athena/include
31415 /usr/local/x11r5/include
31416 /usr/lpp/Xamples/include
31418 /usr/openwin/include
31419 /usr/openwin/share/include'
31421 if test "$ac_x_includes" = no; then
31422 # Guess where to find include files, by looking for Xlib.h.
31423 # First, try using that file with no special directory specified.
31424 cat >conftest.$ac_ext <<_ACEOF
31427 cat confdefs.h >>conftest.$ac_ext
31428 cat >>conftest.$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430 #include <X11/Xlib.h>
31432 if { (ac_try="$ac_cpp conftest.$ac_ext"
31433 case "(($ac_try" in
31434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31435 *) ac_try_echo=$ac_try;;
31437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31440 grep -v '^ *+' conftest.er1 >conftest.err
31442 cat conftest.err >&5
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); } >/dev/null && {
31445 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31446 test ! -s conftest.err
31448 # We can compile using X headers with no special include directory.
31451 echo "$as_me: failed program was:" >&5
31452 sed 's/^/| /' conftest.$ac_ext >&5
31454 for ac_dir in $ac_x_header_dirs; do
31455 if test -r "$ac_dir/X11/Xlib.h"; then
31456 ac_x_includes=$ac_dir
31462 rm -f conftest.err conftest.$ac_ext
31463 fi # $ac_x_includes = no
31465 if test "$ac_x_libraries" = no; then
31466 # Check for the libraries.
31467 # See if we find them without any special options.
31468 # Don't add to $LIBS permanently.
31471 cat >conftest.$ac_ext <<_ACEOF
31474 cat confdefs.h >>conftest.$ac_ext
31475 cat >>conftest.$ac_ext <<_ACEOF
31476 /* end confdefs.h. */
31477 #include <X11/Xlib.h>
31486 rm -f conftest.$ac_objext conftest$ac_exeext
31487 if { (ac_try="$ac_link"
31488 case "(($ac_try" in
31489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31490 *) ac_try_echo=$ac_try;;
31492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31493 (eval "$ac_link") 2>conftest.er1
31495 grep -v '^ *+' conftest.er1 >conftest.err
31497 cat conftest.err >&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); } && {
31500 test -z "$ac_c_werror_flag" ||
31501 test ! -s conftest.err
31502 } && test -s conftest$ac_exeext &&
31503 $as_test_x conftest$ac_exeext; then
31505 # We can link X programs with no special library path.
31508 echo "$as_me: failed program was:" >&5
31509 sed 's/^/| /' conftest.$ac_ext >&5
31512 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31514 # Don't even attempt the hair of trying to link an X program!
31515 for ac_extension in a so sl; do
31516 if test -r "$ac_dir/libX11.$ac_extension"; then
31517 ac_x_libraries=$ac_dir
31524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31525 conftest$ac_exeext conftest.$ac_ext
31526 fi # $ac_x_libraries = no
31528 case $ac_x_includes,$ac_x_libraries in #(
31529 no,* | *,no | *\'*)
31530 # Didn't find X, or a directory has "'" in its name.
31531 ac_cv_have_x="have_x=no";; #(
31533 # Record where we found X for the cache.
31534 ac_cv_have_x="have_x=yes\
31535 ac_x_includes='$ac_x_includes'\
31536 ac_x_libraries='$ac_x_libraries'"
31542 eval "$ac_cv_have_x"
31545 if test "$have_x" != yes; then
31546 { echo "$as_me:$LINENO: result: $have_x" >&5
31547 echo "${ECHO_T}$have_x" >&6; }
31550 # If each of the values was on the command line, it overrides each guess.
31551 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31552 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31553 # Update the cache value to reflect the command line values.
31554 ac_cv_have_x="have_x=yes\
31555 ac_x_includes='$x_includes'\
31556 ac_x_libraries='$x_libraries'"
31557 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31558 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31561 if test "$no_x" = yes; then
31562 # Not all programs may use this symbol, but it does not hurt to define it.
31564 cat >>confdefs.h <<\_ACEOF
31565 #define X_DISPLAY_MISSING 1
31568 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31570 if test -n "$x_includes"; then
31571 X_CFLAGS="$X_CFLAGS -I$x_includes"
31574 # It would also be nice to do this for all -L options, not just this one.
31575 if test -n "$x_libraries"; then
31576 X_LIBS="$X_LIBS -L$x_libraries"
31577 # For Solaris; some versions of Sun CC require a space after -R and
31578 # others require no space. Words are not sufficient . . . .
31579 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31580 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31581 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31582 ac_xsave_c_werror_flag=$ac_c_werror_flag
31583 ac_c_werror_flag=yes
31584 cat >conftest.$ac_ext <<_ACEOF
31587 cat confdefs.h >>conftest.$ac_ext
31588 cat >>conftest.$ac_ext <<_ACEOF
31589 /* end confdefs.h. */
31599 rm -f conftest.$ac_objext conftest$ac_exeext
31600 if { (ac_try="$ac_link"
31601 case "(($ac_try" in
31602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31603 *) ac_try_echo=$ac_try;;
31605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31606 (eval "$ac_link") 2>conftest.er1
31608 grep -v '^ *+' conftest.er1 >conftest.err
31610 cat conftest.err >&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); } && {
31613 test -z "$ac_c_werror_flag" ||
31614 test ! -s conftest.err
31615 } && test -s conftest$ac_exeext &&
31616 $as_test_x conftest$ac_exeext; then
31617 { echo "$as_me:$LINENO: result: no" >&5
31618 echo "${ECHO_T}no" >&6; }
31619 X_LIBS="$X_LIBS -R$x_libraries"
31621 echo "$as_me: failed program was:" >&5
31622 sed 's/^/| /' conftest.$ac_ext >&5
31624 LIBS="$ac_xsave_LIBS -R $x_libraries"
31625 cat >conftest.$ac_ext <<_ACEOF
31628 cat confdefs.h >>conftest.$ac_ext
31629 cat >>conftest.$ac_ext <<_ACEOF
31630 /* end confdefs.h. */
31640 rm -f conftest.$ac_objext conftest$ac_exeext
31641 if { (ac_try="$ac_link"
31642 case "(($ac_try" in
31643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31644 *) ac_try_echo=$ac_try;;
31646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31647 (eval "$ac_link") 2>conftest.er1
31649 grep -v '^ *+' conftest.er1 >conftest.err
31651 cat conftest.err >&5
31652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31653 (exit $ac_status); } && {
31654 test -z "$ac_c_werror_flag" ||
31655 test ! -s conftest.err
31656 } && test -s conftest$ac_exeext &&
31657 $as_test_x conftest$ac_exeext; then
31658 { echo "$as_me:$LINENO: result: yes" >&5
31659 echo "${ECHO_T}yes" >&6; }
31660 X_LIBS="$X_LIBS -R $x_libraries"
31662 echo "$as_me: failed program was:" >&5
31663 sed 's/^/| /' conftest.$ac_ext >&5
31665 { echo "$as_me:$LINENO: result: neither works" >&5
31666 echo "${ECHO_T}neither works" >&6; }
31669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31670 conftest$ac_exeext conftest.$ac_ext
31673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31674 conftest$ac_exeext conftest.$ac_ext
31675 ac_c_werror_flag=$ac_xsave_c_werror_flag
31676 LIBS=$ac_xsave_LIBS
31679 # Check for system-dependent libraries X programs must link with.
31680 # Do this before checking for the system-independent R6 libraries
31681 # (-lICE), since we may need -lsocket or whatever for X linking.
31683 if test "$ISC" = yes; then
31684 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31686 # Martyn Johnson says this is needed for Ultrix, if the X
31687 # libraries were built with DECnet support. And Karl Berry says
31688 # the Alpha needs dnet_stub (dnet does not exist).
31689 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31690 cat >conftest.$ac_ext <<_ACEOF
31693 cat confdefs.h >>conftest.$ac_ext
31694 cat >>conftest.$ac_ext <<_ACEOF
31695 /* end confdefs.h. */
31697 /* Override any GCC internal prototype to avoid an error.
31698 Use char because int might match the return type of a GCC
31699 builtin and then its argument prototype would still apply. */
31703 char XOpenDisplay ();
31707 return XOpenDisplay ();
31712 rm -f conftest.$ac_objext conftest$ac_exeext
31713 if { (ac_try="$ac_link"
31714 case "(($ac_try" in
31715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31716 *) ac_try_echo=$ac_try;;
31718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31719 (eval "$ac_link") 2>conftest.er1
31721 grep -v '^ *+' conftest.er1 >conftest.err
31723 cat conftest.err >&5
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); } && {
31726 test -z "$ac_c_werror_flag" ||
31727 test ! -s conftest.err
31728 } && test -s conftest$ac_exeext &&
31729 $as_test_x conftest$ac_exeext; then
31732 echo "$as_me: failed program was:" >&5
31733 sed 's/^/| /' conftest.$ac_ext >&5
31735 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31736 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31737 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31738 echo $ECHO_N "(cached) $ECHO_C" >&6
31740 ac_check_lib_save_LIBS=$LIBS
31741 LIBS="-ldnet $LIBS"
31742 cat >conftest.$ac_ext <<_ACEOF
31745 cat confdefs.h >>conftest.$ac_ext
31746 cat >>conftest.$ac_ext <<_ACEOF
31747 /* end confdefs.h. */
31749 /* Override any GCC internal prototype to avoid an error.
31750 Use char because int might match the return type of a GCC
31751 builtin and then its argument prototype would still apply. */
31759 return dnet_ntoa ();
31764 rm -f conftest.$ac_objext conftest$ac_exeext
31765 if { (ac_try="$ac_link"
31766 case "(($ac_try" in
31767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31768 *) ac_try_echo=$ac_try;;
31770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31771 (eval "$ac_link") 2>conftest.er1
31773 grep -v '^ *+' conftest.er1 >conftest.err
31775 cat conftest.err >&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } && {
31778 test -z "$ac_c_werror_flag" ||
31779 test ! -s conftest.err
31780 } && test -s conftest$ac_exeext &&
31781 $as_test_x conftest$ac_exeext; then
31782 ac_cv_lib_dnet_dnet_ntoa=yes
31784 echo "$as_me: failed program was:" >&5
31785 sed 's/^/| /' conftest.$ac_ext >&5
31787 ac_cv_lib_dnet_dnet_ntoa=no
31790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31791 conftest$ac_exeext conftest.$ac_ext
31792 LIBS=$ac_check_lib_save_LIBS
31794 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31795 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31796 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31797 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31800 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31801 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31802 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31803 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31804 echo $ECHO_N "(cached) $ECHO_C" >&6
31806 ac_check_lib_save_LIBS=$LIBS
31807 LIBS="-ldnet_stub $LIBS"
31808 cat >conftest.$ac_ext <<_ACEOF
31811 cat confdefs.h >>conftest.$ac_ext
31812 cat >>conftest.$ac_ext <<_ACEOF
31813 /* end confdefs.h. */
31815 /* Override any GCC internal prototype to avoid an error.
31816 Use char because int might match the return type of a GCC
31817 builtin and then its argument prototype would still apply. */
31825 return dnet_ntoa ();
31830 rm -f conftest.$ac_objext conftest$ac_exeext
31831 if { (ac_try="$ac_link"
31832 case "(($ac_try" in
31833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31834 *) ac_try_echo=$ac_try;;
31836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31837 (eval "$ac_link") 2>conftest.er1
31839 grep -v '^ *+' conftest.er1 >conftest.err
31841 cat conftest.err >&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } && {
31844 test -z "$ac_c_werror_flag" ||
31845 test ! -s conftest.err
31846 } && test -s conftest$ac_exeext &&
31847 $as_test_x conftest$ac_exeext; then
31848 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31850 echo "$as_me: failed program was:" >&5
31851 sed 's/^/| /' conftest.$ac_ext >&5
31853 ac_cv_lib_dnet_stub_dnet_ntoa=no
31856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31857 conftest$ac_exeext conftest.$ac_ext
31858 LIBS=$ac_check_lib_save_LIBS
31860 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31861 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31862 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31863 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31870 conftest$ac_exeext conftest.$ac_ext
31871 LIBS="$ac_xsave_LIBS"
31873 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31874 # to get the SysV transport functions.
31875 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31877 # The nsl library prevents programs from opening the X display
31878 # on Irix 5.2, according to T.E. Dickey.
31879 # The functions gethostbyname, getservbyname, and inet_addr are
31880 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31881 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31882 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31883 if test "${ac_cv_func_gethostbyname+set}" = set; then
31884 echo $ECHO_N "(cached) $ECHO_C" >&6
31886 cat >conftest.$ac_ext <<_ACEOF
31889 cat confdefs.h >>conftest.$ac_ext
31890 cat >>conftest.$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31892 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31894 #define gethostbyname innocuous_gethostbyname
31896 /* System header to define __stub macros and hopefully few prototypes,
31897 which can conflict with char gethostbyname (); below.
31898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31899 <limits.h> exists even on freestanding compilers. */
31902 # include <limits.h>
31904 # include <assert.h>
31907 #undef gethostbyname
31909 /* Override any GCC internal prototype to avoid an error.
31910 Use char because int might match the return type of a GCC
31911 builtin and then its argument prototype would still apply. */
31915 char gethostbyname ();
31916 /* The GNU C library defines this for functions which it implements
31917 to always fail with ENOSYS. Some functions are actually named
31918 something starting with __ and the normal name is an alias. */
31919 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31926 return gethostbyname ();
31931 rm -f conftest.$ac_objext conftest$ac_exeext
31932 if { (ac_try="$ac_link"
31933 case "(($ac_try" in
31934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31935 *) ac_try_echo=$ac_try;;
31937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31938 (eval "$ac_link") 2>conftest.er1
31940 grep -v '^ *+' conftest.er1 >conftest.err
31942 cat conftest.err >&5
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); } && {
31945 test -z "$ac_c_werror_flag" ||
31946 test ! -s conftest.err
31947 } && test -s conftest$ac_exeext &&
31948 $as_test_x conftest$ac_exeext; then
31949 ac_cv_func_gethostbyname=yes
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31954 ac_cv_func_gethostbyname=no
31957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31958 conftest$ac_exeext conftest.$ac_ext
31960 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31961 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31963 if test $ac_cv_func_gethostbyname = no; then
31964 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31965 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31966 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31967 echo $ECHO_N "(cached) $ECHO_C" >&6
31969 ac_check_lib_save_LIBS=$LIBS
31971 cat >conftest.$ac_ext <<_ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31978 /* Override any GCC internal prototype to avoid an error.
31979 Use char because int might match the return type of a GCC
31980 builtin and then its argument prototype would still apply. */
31984 char gethostbyname ();
31988 return gethostbyname ();
31993 rm -f conftest.$ac_objext conftest$ac_exeext
31994 if { (ac_try="$ac_link"
31995 case "(($ac_try" in
31996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31997 *) ac_try_echo=$ac_try;;
31999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32000 (eval "$ac_link") 2>conftest.er1
32002 grep -v '^ *+' conftest.er1 >conftest.err
32004 cat conftest.err >&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); } && {
32007 test -z "$ac_c_werror_flag" ||
32008 test ! -s conftest.err
32009 } && test -s conftest$ac_exeext &&
32010 $as_test_x conftest$ac_exeext; then
32011 ac_cv_lib_nsl_gethostbyname=yes
32013 echo "$as_me: failed program was:" >&5
32014 sed 's/^/| /' conftest.$ac_ext >&5
32016 ac_cv_lib_nsl_gethostbyname=no
32019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32020 conftest$ac_exeext conftest.$ac_ext
32021 LIBS=$ac_check_lib_save_LIBS
32023 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32024 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32025 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32026 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32029 if test $ac_cv_lib_nsl_gethostbyname = no; then
32030 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32031 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32032 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32033 echo $ECHO_N "(cached) $ECHO_C" >&6
32035 ac_check_lib_save_LIBS=$LIBS
32037 cat >conftest.$ac_ext <<_ACEOF
32040 cat confdefs.h >>conftest.$ac_ext
32041 cat >>conftest.$ac_ext <<_ACEOF
32042 /* end confdefs.h. */
32044 /* Override any GCC internal prototype to avoid an error.
32045 Use char because int might match the return type of a GCC
32046 builtin and then its argument prototype would still apply. */
32050 char gethostbyname ();
32054 return gethostbyname ();
32059 rm -f conftest.$ac_objext conftest$ac_exeext
32060 if { (ac_try="$ac_link"
32061 case "(($ac_try" in
32062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32063 *) ac_try_echo=$ac_try;;
32065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32066 (eval "$ac_link") 2>conftest.er1
32068 grep -v '^ *+' conftest.er1 >conftest.err
32070 cat conftest.err >&5
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); } && {
32073 test -z "$ac_c_werror_flag" ||
32074 test ! -s conftest.err
32075 } && test -s conftest$ac_exeext &&
32076 $as_test_x conftest$ac_exeext; then
32077 ac_cv_lib_bsd_gethostbyname=yes
32079 echo "$as_me: failed program was:" >&5
32080 sed 's/^/| /' conftest.$ac_ext >&5
32082 ac_cv_lib_bsd_gethostbyname=no
32085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32086 conftest$ac_exeext conftest.$ac_ext
32087 LIBS=$ac_check_lib_save_LIBS
32089 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32090 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32091 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32092 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32098 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32099 # socket/setsockopt and other routines are undefined under SCO ODT
32100 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32101 # on later versions), says Simon Leinen: it contains gethostby*
32102 # variants that don't use the name server (or something). -lsocket
32103 # must be given before -lnsl if both are needed. We assume that
32104 # if connect needs -lnsl, so does gethostbyname.
32105 { echo "$as_me:$LINENO: checking for connect" >&5
32106 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32107 if test "${ac_cv_func_connect+set}" = set; then
32108 echo $ECHO_N "(cached) $ECHO_C" >&6
32110 cat >conftest.$ac_ext <<_ACEOF
32113 cat confdefs.h >>conftest.$ac_ext
32114 cat >>conftest.$ac_ext <<_ACEOF
32115 /* end confdefs.h. */
32116 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32118 #define connect innocuous_connect
32120 /* System header to define __stub macros and hopefully few prototypes,
32121 which can conflict with char connect (); below.
32122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32123 <limits.h> exists even on freestanding compilers. */
32126 # include <limits.h>
32128 # include <assert.h>
32133 /* Override any GCC internal prototype to avoid an error.
32134 Use char because int might match the return type of a GCC
32135 builtin and then its argument prototype would still apply. */
32140 /* The GNU C library defines this for functions which it implements
32141 to always fail with ENOSYS. Some functions are actually named
32142 something starting with __ and the normal name is an alias. */
32143 #if defined __stub_connect || defined __stub___connect
32155 rm -f conftest.$ac_objext conftest$ac_exeext
32156 if { (ac_try="$ac_link"
32157 case "(($ac_try" in
32158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32159 *) ac_try_echo=$ac_try;;
32161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32162 (eval "$ac_link") 2>conftest.er1
32164 grep -v '^ *+' conftest.er1 >conftest.err
32166 cat conftest.err >&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); } && {
32169 test -z "$ac_c_werror_flag" ||
32170 test ! -s conftest.err
32171 } && test -s conftest$ac_exeext &&
32172 $as_test_x conftest$ac_exeext; then
32173 ac_cv_func_connect=yes
32175 echo "$as_me: failed program was:" >&5
32176 sed 's/^/| /' conftest.$ac_ext >&5
32178 ac_cv_func_connect=no
32181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32182 conftest$ac_exeext conftest.$ac_ext
32184 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32185 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32187 if test $ac_cv_func_connect = no; then
32188 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32189 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32190 if test "${ac_cv_lib_socket_connect+set}" = set; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32193 ac_check_lib_save_LIBS=$LIBS
32194 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32195 cat >conftest.$ac_ext <<_ACEOF
32198 cat confdefs.h >>conftest.$ac_ext
32199 cat >>conftest.$ac_ext <<_ACEOF
32200 /* end confdefs.h. */
32202 /* Override any GCC internal prototype to avoid an error.
32203 Use char because int might match the return type of a GCC
32204 builtin and then its argument prototype would still apply. */
32217 rm -f conftest.$ac_objext conftest$ac_exeext
32218 if { (ac_try="$ac_link"
32219 case "(($ac_try" in
32220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32221 *) ac_try_echo=$ac_try;;
32223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32224 (eval "$ac_link") 2>conftest.er1
32226 grep -v '^ *+' conftest.er1 >conftest.err
32228 cat conftest.err >&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); } && {
32231 test -z "$ac_c_werror_flag" ||
32232 test ! -s conftest.err
32233 } && test -s conftest$ac_exeext &&
32234 $as_test_x conftest$ac_exeext; then
32235 ac_cv_lib_socket_connect=yes
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.$ac_ext >&5
32240 ac_cv_lib_socket_connect=no
32243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32244 conftest$ac_exeext conftest.$ac_ext
32245 LIBS=$ac_check_lib_save_LIBS
32247 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32248 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32249 if test $ac_cv_lib_socket_connect = yes; then
32250 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32255 # Guillermo Gomez says -lposix is necessary on A/UX.
32256 { echo "$as_me:$LINENO: checking for remove" >&5
32257 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32258 if test "${ac_cv_func_remove+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32261 cat >conftest.$ac_ext <<_ACEOF
32264 cat confdefs.h >>conftest.$ac_ext
32265 cat >>conftest.$ac_ext <<_ACEOF
32266 /* end confdefs.h. */
32267 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32269 #define remove innocuous_remove
32271 /* System header to define __stub macros and hopefully few prototypes,
32272 which can conflict with char remove (); below.
32273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32274 <limits.h> exists even on freestanding compilers. */
32277 # include <limits.h>
32279 # include <assert.h>
32284 /* Override any GCC internal prototype to avoid an error.
32285 Use char because int might match the return type of a GCC
32286 builtin and then its argument prototype would still apply. */
32291 /* The GNU C library defines this for functions which it implements
32292 to always fail with ENOSYS. Some functions are actually named
32293 something starting with __ and the normal name is an alias. */
32294 #if defined __stub_remove || defined __stub___remove
32306 rm -f conftest.$ac_objext conftest$ac_exeext
32307 if { (ac_try="$ac_link"
32308 case "(($ac_try" in
32309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32310 *) ac_try_echo=$ac_try;;
32312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32313 (eval "$ac_link") 2>conftest.er1
32315 grep -v '^ *+' conftest.er1 >conftest.err
32317 cat conftest.err >&5
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); } && {
32320 test -z "$ac_c_werror_flag" ||
32321 test ! -s conftest.err
32322 } && test -s conftest$ac_exeext &&
32323 $as_test_x conftest$ac_exeext; then
32324 ac_cv_func_remove=yes
32326 echo "$as_me: failed program was:" >&5
32327 sed 's/^/| /' conftest.$ac_ext >&5
32329 ac_cv_func_remove=no
32332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32333 conftest$ac_exeext conftest.$ac_ext
32335 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32336 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32338 if test $ac_cv_func_remove = no; then
32339 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32340 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32341 if test "${ac_cv_lib_posix_remove+set}" = set; then
32342 echo $ECHO_N "(cached) $ECHO_C" >&6
32344 ac_check_lib_save_LIBS=$LIBS
32345 LIBS="-lposix $LIBS"
32346 cat >conftest.$ac_ext <<_ACEOF
32349 cat confdefs.h >>conftest.$ac_ext
32350 cat >>conftest.$ac_ext <<_ACEOF
32351 /* end confdefs.h. */
32353 /* Override any GCC internal prototype to avoid an error.
32354 Use char because int might match the return type of a GCC
32355 builtin and then its argument prototype would still apply. */
32368 rm -f conftest.$ac_objext conftest$ac_exeext
32369 if { (ac_try="$ac_link"
32370 case "(($ac_try" in
32371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32372 *) ac_try_echo=$ac_try;;
32374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32375 (eval "$ac_link") 2>conftest.er1
32377 grep -v '^ *+' conftest.er1 >conftest.err
32379 cat conftest.err >&5
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); } && {
32382 test -z "$ac_c_werror_flag" ||
32383 test ! -s conftest.err
32384 } && test -s conftest$ac_exeext &&
32385 $as_test_x conftest$ac_exeext; then
32386 ac_cv_lib_posix_remove=yes
32388 echo "$as_me: failed program was:" >&5
32389 sed 's/^/| /' conftest.$ac_ext >&5
32391 ac_cv_lib_posix_remove=no
32394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32395 conftest$ac_exeext conftest.$ac_ext
32396 LIBS=$ac_check_lib_save_LIBS
32398 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32399 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32400 if test $ac_cv_lib_posix_remove = yes; then
32401 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32406 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32407 { echo "$as_me:$LINENO: checking for shmat" >&5
32408 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32409 if test "${ac_cv_func_shmat+set}" = set; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32412 cat >conftest.$ac_ext <<_ACEOF
32415 cat confdefs.h >>conftest.$ac_ext
32416 cat >>conftest.$ac_ext <<_ACEOF
32417 /* end confdefs.h. */
32418 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32420 #define shmat innocuous_shmat
32422 /* System header to define __stub macros and hopefully few prototypes,
32423 which can conflict with char shmat (); below.
32424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32425 <limits.h> exists even on freestanding compilers. */
32428 # include <limits.h>
32430 # include <assert.h>
32435 /* Override any GCC internal prototype to avoid an error.
32436 Use char because int might match the return type of a GCC
32437 builtin and then its argument prototype would still apply. */
32442 /* The GNU C library defines this for functions which it implements
32443 to always fail with ENOSYS. Some functions are actually named
32444 something starting with __ and the normal name is an alias. */
32445 #if defined __stub_shmat || defined __stub___shmat
32457 rm -f conftest.$ac_objext conftest$ac_exeext
32458 if { (ac_try="$ac_link"
32459 case "(($ac_try" in
32460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32461 *) ac_try_echo=$ac_try;;
32463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32464 (eval "$ac_link") 2>conftest.er1
32466 grep -v '^ *+' conftest.er1 >conftest.err
32468 cat conftest.err >&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } && {
32471 test -z "$ac_c_werror_flag" ||
32472 test ! -s conftest.err
32473 } && test -s conftest$ac_exeext &&
32474 $as_test_x conftest$ac_exeext; then
32475 ac_cv_func_shmat=yes
32477 echo "$as_me: failed program was:" >&5
32478 sed 's/^/| /' conftest.$ac_ext >&5
32480 ac_cv_func_shmat=no
32483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32484 conftest$ac_exeext conftest.$ac_ext
32486 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32487 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32489 if test $ac_cv_func_shmat = no; then
32490 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32491 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32492 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32493 echo $ECHO_N "(cached) $ECHO_C" >&6
32495 ac_check_lib_save_LIBS=$LIBS
32497 cat >conftest.$ac_ext <<_ACEOF
32500 cat confdefs.h >>conftest.$ac_ext
32501 cat >>conftest.$ac_ext <<_ACEOF
32502 /* end confdefs.h. */
32504 /* Override any GCC internal prototype to avoid an error.
32505 Use char because int might match the return type of a GCC
32506 builtin and then its argument prototype would still apply. */
32519 rm -f conftest.$ac_objext conftest$ac_exeext
32520 if { (ac_try="$ac_link"
32521 case "(($ac_try" in
32522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32523 *) ac_try_echo=$ac_try;;
32525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32526 (eval "$ac_link") 2>conftest.er1
32528 grep -v '^ *+' conftest.er1 >conftest.err
32530 cat conftest.err >&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } && {
32533 test -z "$ac_c_werror_flag" ||
32534 test ! -s conftest.err
32535 } && test -s conftest$ac_exeext &&
32536 $as_test_x conftest$ac_exeext; then
32537 ac_cv_lib_ipc_shmat=yes
32539 echo "$as_me: failed program was:" >&5
32540 sed 's/^/| /' conftest.$ac_ext >&5
32542 ac_cv_lib_ipc_shmat=no
32545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32546 conftest$ac_exeext conftest.$ac_ext
32547 LIBS=$ac_check_lib_save_LIBS
32549 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32550 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32551 if test $ac_cv_lib_ipc_shmat = yes; then
32552 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32558 # Check for libraries that X11R6 Xt/Xaw programs need.
32559 ac_save_LDFLAGS=$LDFLAGS
32560 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32561 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32562 # check for ICE first), but we must link in the order -lSM -lICE or
32563 # we get undefined symbols. So assume we have SM if we have ICE.
32564 # These have to be linked with before -lX11, unlike the other
32565 # libraries we check for below, so use a different variable.
32566 # John Interrante, Karl Berry
32567 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32568 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32569 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32570 echo $ECHO_N "(cached) $ECHO_C" >&6
32572 ac_check_lib_save_LIBS=$LIBS
32573 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32574 cat >conftest.$ac_ext <<_ACEOF
32577 cat confdefs.h >>conftest.$ac_ext
32578 cat >>conftest.$ac_ext <<_ACEOF
32579 /* end confdefs.h. */
32581 /* Override any GCC internal prototype to avoid an error.
32582 Use char because int might match the return type of a GCC
32583 builtin and then its argument prototype would still apply. */
32587 char IceConnectionNumber ();
32591 return IceConnectionNumber ();
32596 rm -f conftest.$ac_objext conftest$ac_exeext
32597 if { (ac_try="$ac_link"
32598 case "(($ac_try" in
32599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32600 *) ac_try_echo=$ac_try;;
32602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32603 (eval "$ac_link") 2>conftest.er1
32605 grep -v '^ *+' conftest.er1 >conftest.err
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } && {
32610 test -z "$ac_c_werror_flag" ||
32611 test ! -s conftest.err
32612 } && test -s conftest$ac_exeext &&
32613 $as_test_x conftest$ac_exeext; then
32614 ac_cv_lib_ICE_IceConnectionNumber=yes
32616 echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.$ac_ext >&5
32619 ac_cv_lib_ICE_IceConnectionNumber=no
32622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32623 conftest$ac_exeext conftest.$ac_ext
32624 LIBS=$ac_check_lib_save_LIBS
32626 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32627 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32628 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32629 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32632 LDFLAGS=$ac_save_LDFLAGS
32637 if test "$no_x" = "yes"; then
32638 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32639 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32640 { (exit 1); exit 1; }; }
32643 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32644 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32645 AFMINSTALL=afminstall
32646 COMPILED_X_PROGRAM=0
32650 if test "$wxUSE_X11" = 1; then
32651 if test "$wxUSE_NANOX" = "yes"; then
32652 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32653 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32654 if test "x$MICROWIN" = x ; then
32655 { echo "$as_me:$LINENO: result: not found" >&5
32656 echo "${ECHO_T}not found" >&6; }
32657 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32658 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32659 { (exit 1); exit 1; }; }
32661 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32662 echo "${ECHO_T}$MICROWIN" >&6; }
32663 cat >>confdefs.h <<\_ACEOF
32664 #define wxUSE_NANOX 1
32670 if test "$wxUSE_UNICODE" = "yes"; then
32673 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32674 if test -n "$ac_tool_prefix"; then
32675 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32676 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32679 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32680 echo $ECHO_N "(cached) $ECHO_C" >&6
32682 case $PKG_CONFIG in
32684 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32688 for as_dir in $PATH
32691 test -z "$as_dir" && as_dir=.
32692 for ac_exec_ext in '' $ac_executable_extensions; do
32693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32694 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32705 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32706 if test -n "$PKG_CONFIG"; then
32707 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32708 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32710 { echo "$as_me:$LINENO: result: no" >&5
32711 echo "${ECHO_T}no" >&6; }
32716 if test -z "$ac_cv_path_PKG_CONFIG"; then
32717 ac_pt_PKG_CONFIG=$PKG_CONFIG
32718 # Extract the first word of "pkg-config", so it can be a program name with args.
32719 set dummy pkg-config; ac_word=$2
32720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32722 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32723 echo $ECHO_N "(cached) $ECHO_C" >&6
32725 case $ac_pt_PKG_CONFIG in
32727 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32731 for as_dir in $PATH
32734 test -z "$as_dir" && as_dir=.
32735 for ac_exec_ext in '' $ac_executable_extensions; do
32736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32737 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32748 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32749 if test -n "$ac_pt_PKG_CONFIG"; then
32750 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32751 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32753 { echo "$as_me:$LINENO: result: no" >&5
32754 echo "${ECHO_T}no" >&6; }
32757 if test "x$ac_pt_PKG_CONFIG" = x; then
32760 case $cross_compiling:$ac_tool_warned in
32762 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32763 whose name does not start with the host triplet. If you think this
32764 configuration is useful to you, please write to autoconf@gnu.org." >&5
32765 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32766 whose name does not start with the host triplet. If you think this
32767 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32768 ac_tool_warned=yes ;;
32770 PKG_CONFIG=$ac_pt_PKG_CONFIG
32773 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32777 if test -n "$PKG_CONFIG"; then
32778 _pkg_min_version=0.9.0
32779 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32780 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32781 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32782 { echo "$as_me:$LINENO: result: yes" >&5
32783 echo "${ECHO_T}yes" >&6; }
32785 { echo "$as_me:$LINENO: result: no" >&5
32786 echo "${ECHO_T}no" >&6; }
32794 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32795 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32797 if test -n "$PKG_CONFIG"; then
32798 if test -n "$PANGOX_CFLAGS"; then
32799 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32801 if test -n "$PKG_CONFIG" && \
32802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32803 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); }; then
32807 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32815 if test -n "$PKG_CONFIG"; then
32816 if test -n "$PANGOX_LIBS"; then
32817 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32819 if test -n "$PKG_CONFIG" && \
32820 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32821 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); }; then
32825 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32836 if test $pkg_failed = yes; then
32838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32839 _pkg_short_errors_supported=yes
32841 _pkg_short_errors_supported=no
32843 if test $_pkg_short_errors_supported = yes; then
32844 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32846 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32848 # Put the nasty error message in config.log where it belongs
32849 echo "$PANGOX_PKG_ERRORS" >&5
32852 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32853 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32854 { (exit 1); exit 1; }; }
32857 elif test $pkg_failed = untried; then
32859 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32860 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32861 { (exit 1); exit 1; }; }
32865 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32866 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32867 { echo "$as_me:$LINENO: result: yes" >&5
32868 echo "${ECHO_T}yes" >&6; }
32870 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32871 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32877 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32878 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32880 if test -n "$PKG_CONFIG"; then
32881 if test -n "$PANGOFT2_CFLAGS"; then
32882 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32884 if test -n "$PKG_CONFIG" && \
32885 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32886 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32889 (exit $ac_status); }; then
32890 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32898 if test -n "$PKG_CONFIG"; then
32899 if test -n "$PANGOFT2_LIBS"; then
32900 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32902 if test -n "$PKG_CONFIG" && \
32903 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32904 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; then
32908 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32919 if test $pkg_failed = yes; then
32921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32922 _pkg_short_errors_supported=yes
32924 _pkg_short_errors_supported=no
32926 if test $_pkg_short_errors_supported = yes; then
32927 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32929 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32931 # Put the nasty error message in config.log where it belongs
32932 echo "$PANGOFT2_PKG_ERRORS" >&5
32935 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32936 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32937 wxUSE_PRINTING_ARCHITECTURE="no"
32940 elif test $pkg_failed = untried; then
32942 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32943 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32944 wxUSE_PRINTING_ARCHITECTURE="no"
32948 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32949 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32950 { echo "$as_me:$LINENO: result: yes" >&5
32951 echo "${ECHO_T}yes" >&6; }
32953 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32954 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32955 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32960 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32961 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32963 if test -n "$PKG_CONFIG"; then
32964 if test -n "$PANGOXFT_CFLAGS"; then
32965 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32967 if test -n "$PKG_CONFIG" && \
32968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32969 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); }; then
32973 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32981 if test -n "$PKG_CONFIG"; then
32982 if test -n "$PANGOXFT_LIBS"; then
32983 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32985 if test -n "$PKG_CONFIG" && \
32986 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32987 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; then
32991 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33002 if test $pkg_failed = yes; then
33004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33005 _pkg_short_errors_supported=yes
33007 _pkg_short_errors_supported=no
33009 if test $_pkg_short_errors_supported = yes; then
33010 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33012 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33014 # Put the nasty error message in config.log where it belongs
33015 echo "$PANGOXFT_PKG_ERRORS" >&5
33018 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33019 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33022 elif test $pkg_failed = untried; then
33024 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33025 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33029 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33030 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33031 { echo "$as_me:$LINENO: result: yes" >&5
33032 echo "${ECHO_T}yes" >&6; }
33034 cat >>confdefs.h <<\_ACEOF
33035 #define HAVE_PANGO_XFT 1
33038 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33039 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33040 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33044 LIBS="$LIBS $PANGOX_LIBS"
33046 for ac_func in pango_font_family_is_monospace
33048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33049 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33051 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33052 echo $ECHO_N "(cached) $ECHO_C" >&6
33054 cat >conftest.$ac_ext <<_ACEOF
33057 cat confdefs.h >>conftest.$ac_ext
33058 cat >>conftest.$ac_ext <<_ACEOF
33059 /* end confdefs.h. */
33060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33062 #define $ac_func innocuous_$ac_func
33064 /* System header to define __stub macros and hopefully few prototypes,
33065 which can conflict with char $ac_func (); below.
33066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33067 <limits.h> exists even on freestanding compilers. */
33070 # include <limits.h>
33072 # include <assert.h>
33077 /* Override any GCC internal prototype to avoid an error.
33078 Use char because int might match the return type of a GCC
33079 builtin and then its argument prototype would still apply. */
33084 /* The GNU C library defines this for functions which it implements
33085 to always fail with ENOSYS. Some functions are actually named
33086 something starting with __ and the normal name is an alias. */
33087 #if defined __stub_$ac_func || defined __stub___$ac_func
33094 return $ac_func ();
33099 rm -f conftest.$ac_objext conftest$ac_exeext
33100 if { (ac_try="$ac_link"
33101 case "(($ac_try" in
33102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33103 *) ac_try_echo=$ac_try;;
33105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33106 (eval "$ac_link") 2>conftest.er1
33108 grep -v '^ *+' conftest.er1 >conftest.err
33110 cat conftest.err >&5
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); } && {
33113 test -z "$ac_c_werror_flag" ||
33114 test ! -s conftest.err
33115 } && test -s conftest$ac_exeext &&
33116 $as_test_x conftest$ac_exeext; then
33117 eval "$as_ac_var=yes"
33119 echo "$as_me: failed program was:" >&5
33120 sed 's/^/| /' conftest.$ac_ext >&5
33122 eval "$as_ac_var=no"
33125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33126 conftest$ac_exeext conftest.$ac_ext
33128 ac_res=`eval echo '${'$as_ac_var'}'`
33129 { echo "$as_me:$LINENO: result: $ac_res" >&5
33130 echo "${ECHO_T}$ac_res" >&6; }
33131 if test `eval echo '${'$as_ac_var'}'` = yes; then
33132 cat >>confdefs.h <<_ACEOF
33133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33142 wxUSE_UNIVERSAL="yes"
33144 if test "$wxUSE_NANOX" = "yes"; then
33145 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33146 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"
33147 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33149 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33156 if test "$wxUSE_MOTIF" = 1; then
33157 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33158 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33161 for ac_dir in $SEARCH_INCLUDE /usr/include
33163 if test -f "$ac_dir/Xm/Xm.h"; then
33164 ac_find_includes=$ac_dir
33169 if test "$ac_find_includes" != "" ; then
33170 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33171 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33173 if test "x$ac_find_includes" = "x/usr/include"; then
33174 ac_path_to_include=""
33176 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33178 if test $result = 0; then
33179 ac_path_to_include=""
33181 ac_path_to_include=" -I$ac_find_includes"
33185 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33187 save_CFLAGS=$CFLAGS
33188 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33190 cat >conftest.$ac_ext <<_ACEOF
33193 cat confdefs.h >>conftest.$ac_ext
33194 cat >>conftest.$ac_ext <<_ACEOF
33195 /* end confdefs.h. */
33204 version = xmUseVersion;
33210 rm -f conftest.$ac_objext
33211 if { (ac_try="$ac_compile"
33212 case "(($ac_try" in
33213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33214 *) ac_try_echo=$ac_try;;
33216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33217 (eval "$ac_compile") 2>conftest.er1
33219 grep -v '^ *+' conftest.er1 >conftest.err
33221 cat conftest.err >&5
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); } && {
33224 test -z "$ac_c_werror_flag" ||
33225 test ! -s conftest.err
33226 } && test -s conftest.$ac_objext; then
33228 { echo "$as_me:$LINENO: result: found in default search path" >&5
33229 echo "${ECHO_T}found in default search path" >&6; }
33230 COMPILED_X_PROGRAM=1
33233 echo "$as_me: failed program was:" >&5
33234 sed 's/^/| /' conftest.$ac_ext >&5
33237 { echo "$as_me:$LINENO: result: no" >&5
33238 echo "${ECHO_T}no" >&6; }
33239 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33240 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33241 { (exit 1); exit 1; }; }
33246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33248 CFLAGS=$save_CFLAGS
33252 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33253 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33256 for ac_dir in $SEARCH_LIB
33258 for ac_extension in a so sl dylib dll.a; do
33259 if test -f "$ac_dir/libXm.$ac_extension"; then
33260 ac_find_libraries=$ac_dir
33267 if test "x$ac_find_libraries" != "x" ; then
33268 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33269 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33272 if test "$ac_find_libraries" = "default location"; then
33275 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33277 if test $result = 0; then
33280 ac_path_to_link=" -L$ac_find_libraries"
33284 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33286 save_CFLAGS=$CFLAGS
33287 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33289 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33291 cat >conftest.$ac_ext <<_ACEOF
33294 cat confdefs.h >>conftest.$ac_ext
33295 cat >>conftest.$ac_ext <<_ACEOF
33296 /* end confdefs.h. */
33305 version = xmUseVersion;
33311 rm -f conftest.$ac_objext conftest$ac_exeext
33312 if { (ac_try="$ac_link"
33313 case "(($ac_try" in
33314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33315 *) ac_try_echo=$ac_try;;
33317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33318 (eval "$ac_link") 2>conftest.er1
33320 grep -v '^ *+' conftest.er1 >conftest.err
33322 cat conftest.err >&5
33323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324 (exit $ac_status); } && {
33325 test -z "$ac_c_werror_flag" ||
33326 test ! -s conftest.err
33327 } && test -s conftest$ac_exeext &&
33328 $as_test_x conftest$ac_exeext; then
33330 { echo "$as_me:$LINENO: result: found in default search path" >&5
33331 echo "${ECHO_T}found in default search path" >&6; }
33332 COMPILED_X_PROGRAM=1
33335 echo "$as_me: failed program was:" >&5
33336 sed 's/^/| /' conftest.$ac_ext >&5
33339 { echo "$as_me:$LINENO: result: no" >&5
33340 echo "${ECHO_T}no" >&6; }
33341 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33342 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33343 { (exit 1); exit 1; }; }
33348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33349 conftest$ac_exeext conftest.$ac_ext
33351 CFLAGS=$save_CFLAGS
33355 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33356 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33360 for libp in "" " -lXp"; do
33361 if test "$libs_found" = 0; then
33362 for libsm_ice in "" " -lSM -lICE"; do
33363 if test "$libs_found" = 0; then
33365 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33366 save_CFLAGS=$CFLAGS
33367 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33369 cat >conftest.$ac_ext <<_ACEOF
33372 cat confdefs.h >>conftest.$ac_ext
33373 cat >>conftest.$ac_ext <<_ACEOF
33374 /* end confdefs.h. */
33377 #include <Xm/List.h>
33383 XmString string = NULL;
33386 XmListAddItem(w, string, position);
33392 rm -f conftest.$ac_objext conftest$ac_exeext
33393 if { (ac_try="$ac_link"
33394 case "(($ac_try" in
33395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33396 *) ac_try_echo=$ac_try;;
33398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33399 (eval "$ac_link") 2>conftest.er1
33401 grep -v '^ *+' conftest.er1 >conftest.err
33403 cat conftest.err >&5
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); } && {
33406 test -z "$ac_c_werror_flag" ||
33407 test ! -s conftest.err
33408 } && test -s conftest$ac_exeext &&
33409 $as_test_x conftest$ac_exeext; then
33412 libsm_ice_link="$libsm_ice"
33413 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33414 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33418 echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.$ac_ext >&5
33425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33426 conftest$ac_exeext conftest.$ac_ext
33429 CFLAGS=$save_CFLAGS
33435 if test "$libs_found" = 0; then
33436 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33437 echo "${ECHO_T}can't find the right libraries" >&6; }
33438 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33439 echo "$as_me: error: can't link a simple motif program" >&2;}
33440 { (exit 1); exit 1; }; }
33443 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33444 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33445 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33446 echo $ECHO_N "(cached) $ECHO_C" >&6
33448 ac_check_lib_save_LIBS=$LIBS
33450 cat >conftest.$ac_ext <<_ACEOF
33453 cat confdefs.h >>conftest.$ac_ext
33454 cat >>conftest.$ac_ext <<_ACEOF
33455 /* end confdefs.h. */
33457 /* Override any GCC internal prototype to avoid an error.
33458 Use char because int might match the return type of a GCC
33459 builtin and then its argument prototype would still apply. */
33463 char SgCreateList ();
33467 return SgCreateList ();
33472 rm -f conftest.$ac_objext conftest$ac_exeext
33473 if { (ac_try="$ac_link"
33474 case "(($ac_try" in
33475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33476 *) ac_try_echo=$ac_try;;
33478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33479 (eval "$ac_link") 2>conftest.er1
33481 grep -v '^ *+' conftest.er1 >conftest.err
33483 cat conftest.err >&5
33484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33485 (exit $ac_status); } && {
33486 test -z "$ac_c_werror_flag" ||
33487 test ! -s conftest.err
33488 } && test -s conftest$ac_exeext &&
33489 $as_test_x conftest$ac_exeext; then
33490 ac_cv_lib_Sgm_SgCreateList=yes
33492 echo "$as_me: failed program was:" >&5
33493 sed 's/^/| /' conftest.$ac_ext >&5
33495 ac_cv_lib_Sgm_SgCreateList=no
33498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33499 conftest$ac_exeext conftest.$ac_ext
33500 LIBS=$ac_check_lib_save_LIBS
33502 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33503 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33504 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33505 libsgm_link=" -lSgm"
33509 save_CFLAGS=$CFLAGS
33510 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33512 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33513 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33514 if test "${wx_cv_lib_motif2+set}" = set; then
33515 echo $ECHO_N "(cached) $ECHO_C" >&6
33517 cat >conftest.$ac_ext <<_ACEOF
33520 cat confdefs.h >>conftest.$ac_ext
33521 cat >>conftest.$ac_ext <<_ACEOF
33522 /* end confdefs.h. */
33530 #if XmVersion < 2000
33538 rm -f conftest.$ac_objext
33539 if { (ac_try="$ac_compile"
33540 case "(($ac_try" in
33541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33542 *) ac_try_echo=$ac_try;;
33544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33545 (eval "$ac_compile") 2>conftest.er1
33547 grep -v '^ *+' conftest.er1 >conftest.err
33549 cat conftest.err >&5
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); } && {
33552 test -z "$ac_c_werror_flag" ||
33553 test ! -s conftest.err
33554 } && test -s conftest.$ac_objext; then
33555 wx_cv_lib_motif2="yes"
33557 echo "$as_me: failed program was:" >&5
33558 sed 's/^/| /' conftest.$ac_ext >&5
33560 wx_cv_lib_motif2="no"
33563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33565 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33566 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33567 if test "$wx_cv_lib_motif2" = "yes"; then
33568 cat >>confdefs.h <<\_ACEOF
33569 #define __WXMOTIF20__ 1
33573 cat >>confdefs.h <<\_ACEOF
33574 #define __WXMOTIF20__ 0
33579 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33580 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33581 if test "${wx_cv_lib_lesstif+set}" = set; then
33582 echo $ECHO_N "(cached) $ECHO_C" >&6
33584 cat >conftest.$ac_ext <<_ACEOF
33587 cat confdefs.h >>conftest.$ac_ext
33588 cat >>conftest.$ac_ext <<_ACEOF
33589 /* end confdefs.h. */
33597 #if !defined(LesstifVersion) || LesstifVersion <= 0
33605 rm -f conftest.$ac_objext
33606 if { (ac_try="$ac_compile"
33607 case "(($ac_try" in
33608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33609 *) ac_try_echo=$ac_try;;
33611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33612 (eval "$ac_compile") 2>conftest.er1
33614 grep -v '^ *+' conftest.er1 >conftest.err
33616 cat conftest.err >&5
33617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618 (exit $ac_status); } && {
33619 test -z "$ac_c_werror_flag" ||
33620 test ! -s conftest.err
33621 } && test -s conftest.$ac_objext; then
33622 wx_cv_lib_lesstif="yes"
33624 echo "$as_me: failed program was:" >&5
33625 sed 's/^/| /' conftest.$ac_ext >&5
33627 wx_cv_lib_lesstif="no"
33630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33633 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33634 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33635 if test "$wx_cv_lib_lesstif" = "yes"; then
33636 cat >>confdefs.h <<\_ACEOF
33637 #define __WXLESSTIF__ 1
33641 cat >>confdefs.h <<\_ACEOF
33642 #define __WXLESSTIF__ 0
33647 CFLAGS=$save_CFLAGS
33649 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33654 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33655 if test "$wxUSE_LIBXPM" = "sys"; then
33656 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33657 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33660 for ac_dir in $SEARCH_LIB
33662 for ac_extension in a so sl dylib dll.a; do
33663 if test -f "$ac_dir/libXpm.$ac_extension"; then
33664 ac_find_libraries=$ac_dir
33670 if test "$ac_find_libraries" != "" ; then
33672 if test "$ac_find_libraries" = "default location"; then
33675 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33677 if test $result = 0; then
33680 ac_path_to_link=" -L$ac_find_libraries"
33684 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33685 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33686 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33688 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33689 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33690 if test "${wx_cv_x11_xpm_h+set}" = set; then
33691 echo $ECHO_N "(cached) $ECHO_C" >&6
33694 save_CFLAGS=$CFLAGS
33695 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33697 cat >conftest.$ac_ext <<_ACEOF
33700 cat confdefs.h >>conftest.$ac_ext
33701 cat >>conftest.$ac_ext <<_ACEOF
33702 /* end confdefs.h. */
33704 #include <X11/xpm.h>
33711 version = XpmLibraryVersion();
33717 rm -f conftest.$ac_objext
33718 if { (ac_try="$ac_compile"
33719 case "(($ac_try" in
33720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33721 *) ac_try_echo=$ac_try;;
33723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33724 (eval "$ac_compile") 2>conftest.er1
33726 grep -v '^ *+' conftest.er1 >conftest.err
33728 cat conftest.err >&5
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); } && {
33731 test -z "$ac_c_werror_flag" ||
33732 test ! -s conftest.err
33733 } && test -s conftest.$ac_objext; then
33734 wx_cv_x11_xpm_h=yes
33736 echo "$as_me: failed program was:" >&5
33737 sed 's/^/| /' conftest.$ac_ext >&5
33743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33745 CFLAGS=$save_CFLAGS
33749 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33750 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33752 if test $wx_cv_x11_xpm_h = "yes"; then
33753 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33754 cat >>confdefs.h <<\_ACEOF
33755 #define wxHAVE_LIB_XPM 1
33759 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33760 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33766 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33767 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33768 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33769 echo $ECHO_N "(cached) $ECHO_C" >&6
33771 ac_check_lib_save_LIBS=$LIBS
33772 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33773 cat >conftest.$ac_ext <<_ACEOF
33776 cat confdefs.h >>conftest.$ac_ext
33777 cat >>conftest.$ac_ext <<_ACEOF
33778 /* end confdefs.h. */
33780 /* Override any GCC internal prototype to avoid an error.
33781 Use char because int might match the return type of a GCC
33782 builtin and then its argument prototype would still apply. */
33786 char XShapeQueryExtension ();
33790 return XShapeQueryExtension ();
33795 rm -f conftest.$ac_objext conftest$ac_exeext
33796 if { (ac_try="$ac_link"
33797 case "(($ac_try" in
33798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33799 *) ac_try_echo=$ac_try;;
33801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33802 (eval "$ac_link") 2>conftest.er1
33804 grep -v '^ *+' conftest.er1 >conftest.err
33806 cat conftest.err >&5
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); } && {
33809 test -z "$ac_c_werror_flag" ||
33810 test ! -s conftest.err
33811 } && test -s conftest$ac_exeext &&
33812 $as_test_x conftest$ac_exeext; then
33813 ac_cv_lib_Xext_XShapeQueryExtension=yes
33815 echo "$as_me: failed program was:" >&5
33816 sed 's/^/| /' conftest.$ac_ext >&5
33818 ac_cv_lib_Xext_XShapeQueryExtension=no
33821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33822 conftest$ac_exeext conftest.$ac_ext
33823 LIBS=$ac_check_lib_save_LIBS
33825 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33826 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33827 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33829 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33835 if test "$wxHAVE_XEXT_LIB" = 1; then
33836 save_CFLAGS="$CFLAGS"
33837 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33839 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33840 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33841 cat >conftest.$ac_ext <<_ACEOF
33844 cat confdefs.h >>conftest.$ac_ext
33845 cat >>conftest.$ac_ext <<_ACEOF
33846 /* end confdefs.h. */
33848 #include <X11/Xlib.h>
33849 #include <X11/extensions/shape.h>
33855 int dummy1, dummy2;
33856 XShapeQueryExtension((Display*)NULL,
33857 (int*)NULL, (int*)NULL);
33863 rm -f conftest.$ac_objext
33864 if { (ac_try="$ac_compile"
33865 case "(($ac_try" in
33866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33867 *) ac_try_echo=$ac_try;;
33869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33870 (eval "$ac_compile") 2>conftest.er1
33872 grep -v '^ *+' conftest.er1 >conftest.err
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } && {
33877 test -z "$ac_c_werror_flag" ||
33878 test ! -s conftest.err
33879 } && test -s conftest.$ac_objext; then
33881 cat >>confdefs.h <<\_ACEOF
33882 #define HAVE_XSHAPE 1
33885 { echo "$as_me:$LINENO: result: found" >&5
33886 echo "${ECHO_T}found" >&6; }
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.$ac_ext >&5
33893 { echo "$as_me:$LINENO: result: not found" >&5
33894 echo "${ECHO_T}not found" >&6; }
33898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33899 CFLAGS="$save_CFLAGS"
33904 if test "$wxUSE_OSX_CARBON" = 1; then
33905 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33906 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33907 if test "$GCC" = yes; then
33908 { echo "$as_me:$LINENO: result: gcc" >&5
33909 echo "${ECHO_T}gcc" >&6; }
33910 CPPFLAGS_PASCAL="-fpascal-strings"
33911 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33912 { echo "$as_me:$LINENO: result: xlc" >&5
33913 echo "${ECHO_T}xlc" >&6; }
33914 CPPFLAGS_PASCAL="-qmacpstr"
33916 { echo "$as_me:$LINENO: result: none" >&5
33917 echo "${ECHO_T}none" >&6; }
33920 if test "x$wxUSE_UNIX" = "xyes"; then
33921 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33923 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33927 GUIDIST=OSX_CARBON_DIST
33928 WXBASEPORT="_carbon"
33930 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33933 if test "$wxUSE_OSX_COCOA" = 1; then
33935 GUIDIST=OSX_COCOA_DIST
33937 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33940 if test "$wxUSE_OSX_IPHONE" = 1; then
33944 if test "$wxUSE_OLD_COCOA" = 1; then
33949 if test "$wxUSE_PM" = 1; then
33952 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33953 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33954 if test "${wx_cv_spbcdata+set}" = set; then
33955 echo $ECHO_N "(cached) $ECHO_C" >&6
33958 cat >conftest.$ac_ext <<_ACEOF
33961 cat confdefs.h >>conftest.$ac_ext
33962 cat >>conftest.$ac_ext <<_ACEOF
33963 /* end confdefs.h. */
33978 rm -f conftest.$ac_objext
33979 if { (ac_try="$ac_compile"
33980 case "(($ac_try" in
33981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33982 *) ac_try_echo=$ac_try;;
33984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33985 (eval "$ac_compile") 2>conftest.er1
33987 grep -v '^ *+' conftest.er1 >conftest.err
33989 cat conftest.err >&5
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); } && {
33992 test -z "$ac_c_werror_flag" ||
33993 test ! -s conftest.err
33994 } && test -s conftest.$ac_objext; then
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
34004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34008 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34009 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34011 if test $wx_cv_spbcdata = "yes"; then
34012 cat >>confdefs.h <<\_ACEOF
34013 #define HAVE_SPBCDATA 1
34019 if test "$TOOLKIT" = "PM" ; then
34022 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34025 if test "$wxUSE_UNIVERSAL" = "yes"; then
34026 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34030 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34031 DISTDIR="wx\$(TOOLKIT)"
34037 if test "$USE_WIN32" = 1 ; then
34041 GUIDIST="BASE_DIST"
34047 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34048 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34049 wxUSE_UNICODE_UTF8=yes
34050 elif test "$USE_OS2" = 1 ; then
34051 wxUSE_UNICODE_UTF8=yes
34053 wxUSE_UNICODE_UTF8=no
34058 if test "$wxUSE_GUI" = "yes"; then
34059 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34061 for ac_header in X11/Xlib.h
34063 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34064 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34066 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 cat >conftest.$ac_ext <<_ACEOF
34072 cat confdefs.h >>conftest.$ac_ext
34073 cat >>conftest.$ac_ext <<_ACEOF
34074 /* end confdefs.h. */
34077 #include <$ac_header>
34079 rm -f conftest.$ac_objext
34080 if { (ac_try="$ac_compile"
34081 case "(($ac_try" in
34082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34083 *) ac_try_echo=$ac_try;;
34085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34086 (eval "$ac_compile") 2>conftest.er1
34088 grep -v '^ *+' conftest.er1 >conftest.err
34090 cat conftest.err >&5
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); } && {
34093 test -z "$ac_c_werror_flag" ||
34094 test ! -s conftest.err
34095 } && test -s conftest.$ac_objext; then
34096 eval "$as_ac_Header=yes"
34098 echo "$as_me: failed program was:" >&5
34099 sed 's/^/| /' conftest.$ac_ext >&5
34101 eval "$as_ac_Header=no"
34104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34106 ac_res=`eval echo '${'$as_ac_Header'}'`
34107 { echo "$as_me:$LINENO: result: $ac_res" >&5
34108 echo "${ECHO_T}$ac_res" >&6; }
34109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34110 cat >>confdefs.h <<_ACEOF
34111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34119 for ac_header in X11/XKBlib.h
34121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34125 echo $ECHO_N "(cached) $ECHO_C" >&6
34127 cat >conftest.$ac_ext <<_ACEOF
34130 cat confdefs.h >>conftest.$ac_ext
34131 cat >>conftest.$ac_ext <<_ACEOF
34132 /* end confdefs.h. */
34134 #if HAVE_X11_XLIB_H
34135 #include <X11/Xlib.h>
34139 #include <$ac_header>
34141 rm -f conftest.$ac_objext
34142 if { (ac_try="$ac_compile"
34143 case "(($ac_try" in
34144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34145 *) ac_try_echo=$ac_try;;
34147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34148 (eval "$ac_compile") 2>conftest.er1
34150 grep -v '^ *+' conftest.er1 >conftest.err
34152 cat conftest.err >&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); } && {
34155 test -z "$ac_c_werror_flag" ||
34156 test ! -s conftest.err
34157 } && test -s conftest.$ac_objext; then
34158 eval "$as_ac_Header=yes"
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34163 eval "$as_ac_Header=no"
34166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34168 ac_res=`eval echo '${'$as_ac_Header'}'`
34169 { echo "$as_me:$LINENO: result: $ac_res" >&5
34170 echo "${ECHO_T}$ac_res" >&6; }
34171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34172 cat >>confdefs.h <<_ACEOF
34173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34186 if test "$wxUSE_DISPLAY" = "yes"; then
34187 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34188 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34189 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34192 for ac_dir in $SEARCH_LIB
34194 for ac_extension in a so sl dylib dll.a; do
34195 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34196 ac_find_libraries=$ac_dir
34202 if test "$ac_find_libraries" != "" ; then
34204 if test "$ac_find_libraries" = "default location"; then
34207 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34209 if test $result = 0; then
34212 ac_path_to_link=" -L$ac_find_libraries"
34216 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34217 LDFLAGS="$LDFLAGS $ac_path_to_link"
34220 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34221 { echo "$as_me:$LINENO: result: yes" >&5
34222 echo "${ECHO_T}yes" >&6; }
34224 { echo "$as_me:$LINENO: result: no" >&5
34225 echo "${ECHO_T}no" >&6; }
34226 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34227 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34230 elif test "$wxUSE_MSW" = 1; then
34231 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34232 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34233 if test "${ac_cv_header_ddraw_h+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34236 cat >conftest.$ac_ext <<_ACEOF
34239 cat confdefs.h >>conftest.$ac_ext
34240 cat >>conftest.$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34242 #include <windows.h>
34246 rm -f conftest.$ac_objext
34247 if { (ac_try="$ac_compile"
34248 case "(($ac_try" in
34249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34250 *) ac_try_echo=$ac_try;;
34252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34253 (eval "$ac_compile") 2>conftest.er1
34255 grep -v '^ *+' conftest.er1 >conftest.err
34257 cat conftest.err >&5
34258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259 (exit $ac_status); } && {
34260 test -z "$ac_c_werror_flag" ||
34261 test ! -s conftest.err
34262 } && test -s conftest.$ac_objext; then
34263 ac_cv_header_ddraw_h=yes
34265 echo "$as_me: failed program was:" >&5
34266 sed 's/^/| /' conftest.$ac_ext >&5
34268 ac_cv_header_ddraw_h=no
34271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34273 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34274 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34280 if test "$wxUSE_DISPLAY" = "yes"; then
34281 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34282 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34283 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34286 for ac_dir in $SEARCH_LIB
34288 for ac_extension in a so sl dylib dll.a; do
34289 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34290 ac_find_libraries=$ac_dir
34296 if test "$ac_find_libraries" != "" ; then
34297 { echo "$as_me:$LINENO: result: yes" >&5
34298 echo "${ECHO_T}yes" >&6; }
34300 for ac_header in X11/extensions/xf86vmode.h
34302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34303 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34306 echo $ECHO_N "(cached) $ECHO_C" >&6
34308 cat >conftest.$ac_ext <<_ACEOF
34311 cat confdefs.h >>conftest.$ac_ext
34312 cat >>conftest.$ac_ext <<_ACEOF
34313 /* end confdefs.h. */
34315 #if HAVE_X11_XLIB_H
34316 #include <X11/Xlib.h>
34320 #include <$ac_header>
34322 rm -f conftest.$ac_objext
34323 if { (ac_try="$ac_compile"
34324 case "(($ac_try" in
34325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34326 *) ac_try_echo=$ac_try;;
34328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34329 (eval "$ac_compile") 2>conftest.er1
34331 grep -v '^ *+' conftest.er1 >conftest.err
34333 cat conftest.err >&5
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); } && {
34336 test -z "$ac_c_werror_flag" ||
34337 test ! -s conftest.err
34338 } && test -s conftest.$ac_objext; then
34339 eval "$as_ac_Header=yes"
34341 echo "$as_me: failed program was:" >&5
34342 sed 's/^/| /' conftest.$ac_ext >&5
34344 eval "$as_ac_Header=no"
34347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34349 ac_res=`eval echo '${'$as_ac_Header'}'`
34350 { echo "$as_me:$LINENO: result: $ac_res" >&5
34351 echo "${ECHO_T}$ac_res" >&6; }
34352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34353 cat >>confdefs.h <<_ACEOF
34354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34364 { echo "$as_me:$LINENO: result: no" >&5
34365 echo "${ECHO_T}no" >&6; }
34370 if test "$wxUSE_DETECT_SM" = "yes"; then
34371 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34372 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34373 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34376 for ac_dir in $SEARCH_LIB
34378 for ac_extension in a so sl dylib dll.a; do
34379 if test -f "$ac_dir/libSM.$ac_extension"; then
34380 ac_find_libraries=$ac_dir
34386 if test "$ac_find_libraries" != "" ; then
34388 if test "$ac_find_libraries" = "default location"; then
34391 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34393 if test $result = 0; then
34396 ac_path_to_link=" -L$ac_find_libraries"
34400 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34401 LDFLAGS="$LDFLAGS $ac_path_to_link"
34403 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34404 { echo "$as_me:$LINENO: result: yes" >&5
34405 echo "${ECHO_T}yes" >&6; }
34407 { echo "$as_me:$LINENO: result: no" >&5
34408 echo "${ECHO_T}no" >&6; }
34409 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34410 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34411 wxUSE_DETECT_SM="no"
34414 wxUSE_DETECT_SM="no"
34421 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34424 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34425 OPENGL_LIBS="-framework OpenGL -framework AGL"
34426 elif test "$wxUSE_MSW" = 1; then
34427 OPENGL_LIBS="-lopengl32 -lglu32"
34428 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34430 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34431 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34434 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34436 if test -f "$ac_dir/GL/gl.h"; then
34437 ac_find_includes=$ac_dir
34442 if test "$ac_find_includes" != "" ; then
34443 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34444 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34446 if test "x$ac_find_includes" = "x/usr/include"; then
34447 ac_path_to_include=""
34449 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34451 if test $result = 0; then
34452 ac_path_to_include=""
34454 ac_path_to_include=" -I$ac_find_includes"
34458 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34460 { echo "$as_me:$LINENO: result: not found" >&5
34461 echo "${ECHO_T}not found" >&6; }
34464 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34465 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34466 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34467 echo $ECHO_N "(cached) $ECHO_C" >&6
34469 cat >conftest.$ac_ext <<_ACEOF
34472 cat confdefs.h >>conftest.$ac_ext
34473 cat >>conftest.$ac_ext <<_ACEOF
34474 /* end confdefs.h. */
34479 rm -f conftest.$ac_objext
34480 if { (ac_try="$ac_compile"
34481 case "(($ac_try" in
34482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34483 *) ac_try_echo=$ac_try;;
34485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34486 (eval "$ac_compile") 2>conftest.er1
34488 grep -v '^ *+' conftest.er1 >conftest.err
34490 cat conftest.err >&5
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); } && {
34493 test -z "$ac_c_werror_flag" ||
34494 test ! -s conftest.err
34495 } && test -s conftest.$ac_objext; then
34496 ac_cv_header_GL_gl_h=yes
34498 echo "$as_me: failed program was:" >&5
34499 sed 's/^/| /' conftest.$ac_ext >&5
34501 ac_cv_header_GL_gl_h=no
34504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34506 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34507 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34508 if test $ac_cv_header_GL_gl_h = yes; then
34510 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34511 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34512 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34513 echo $ECHO_N "(cached) $ECHO_C" >&6
34515 cat >conftest.$ac_ext <<_ACEOF
34518 cat confdefs.h >>conftest.$ac_ext
34519 cat >>conftest.$ac_ext <<_ACEOF
34520 /* end confdefs.h. */
34523 #include <GL/glu.h>
34525 rm -f conftest.$ac_objext
34526 if { (ac_try="$ac_compile"
34527 case "(($ac_try" in
34528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34529 *) ac_try_echo=$ac_try;;
34531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34532 (eval "$ac_compile") 2>conftest.er1
34534 grep -v '^ *+' conftest.er1 >conftest.err
34536 cat conftest.err >&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); } && {
34539 test -z "$ac_c_werror_flag" ||
34540 test ! -s conftest.err
34541 } && test -s conftest.$ac_objext; then
34542 ac_cv_header_GL_glu_h=yes
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.$ac_ext >&5
34547 ac_cv_header_GL_glu_h=no
34550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34552 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34553 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34554 if test $ac_cv_header_GL_glu_h = yes; then
34558 { echo "$as_me:$LINENO: checking for -lGL" >&5
34559 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34562 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34564 for ac_extension in a so sl dylib dll.a; do
34565 if test -f "$ac_dir/libGL.$ac_extension"; then
34566 ac_find_libraries=$ac_dir
34572 if test "$ac_find_libraries" != "" ; then
34573 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34574 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34577 if test "$ac_find_libraries" = "default location"; then
34580 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34582 if test $result = 0; then
34585 ac_path_to_link=" -L$ac_find_libraries"
34589 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34590 LDFLAGS_GL="$ac_path_to_link"
34593 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34594 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34597 for ac_dir in $SEARCH_LIB
34599 for ac_extension in a so sl dylib dll.a; do
34600 if test -f "$ac_dir/libGLU.$ac_extension"; then
34601 ac_find_libraries=$ac_dir
34607 if test "$ac_find_libraries" != "" ; then
34609 if test "$ac_find_libraries" = "default location"; then
34612 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34614 if test $result = 0; then
34617 ac_path_to_link=" -L$ac_find_libraries"
34621 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34622 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34623 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34627 OPENGL_LIBS="-lGL -lGLU"
34628 { echo "$as_me:$LINENO: result: yes" >&5
34629 echo "${ECHO_T}yes" >&6; }
34631 { echo "$as_me:$LINENO: result: no" >&5
34632 echo "${ECHO_T}no" >&6; }
34635 { echo "$as_me:$LINENO: result: no" >&5
34636 echo "${ECHO_T}no" >&6; }
34639 if test "$found_gl" != 1; then
34640 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34641 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34644 for ac_dir in $SEARCH_LIB
34646 for ac_extension in a so sl dylib dll.a; do
34647 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34648 ac_find_libraries=$ac_dir
34654 if test "$ac_find_libraries" != "" ; then
34656 if test "$ac_find_libraries" = "default location"; then
34659 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34661 if test $result = 0; then
34664 ac_path_to_link=" -L$ac_find_libraries"
34668 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34669 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34670 { echo "$as_me:$LINENO: result: yes" >&5
34671 echo "${ECHO_T}yes" >&6; }
34673 { echo "$as_me:$LINENO: result: no" >&5
34674 echo "${ECHO_T}no" >&6; }
34686 if test "x$OPENGL_LIBS" = "x"; then
34687 if test "$wxUSE_OPENGL" = "yes"; then
34688 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34689 echo "$as_me: error: OpenGL libraries not available" >&2;}
34690 { (exit 1); exit 1; }; }
34692 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34693 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34699 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34700 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34704 if test "$wxUSE_OPENGL" = "auto"; then
34708 if test "$wxUSE_OPENGL" = "yes"; then
34710 cat >>confdefs.h <<\_ACEOF
34711 #define wxUSE_OPENGL 1
34714 cat >>confdefs.h <<\_ACEOF
34715 #define wxUSE_GLCANVAS 1
34718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34723 if test -n "$TOOLKIT" ; then
34724 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34729 if test "$wxUSE_SHARED" = "yes"; then
34733 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34734 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34739 if test "$wxUSE_SHARED" = "yes"; then
34743 *-*-cygwin* | *-*-mingw* )
34744 wx_cv_version_script=no
34748 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34749 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34750 if test "${wx_cv_version_script+set}" = set; then
34751 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 echo "VER_1 { *; };" >conftest.sym
34755 echo "int main() { return 0; }" >conftest.cpp
34758 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34759 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34761 (eval $ac_try) 2>&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); }; } ; then
34765 if test -s conftest.stderr ; then
34766 wx_cv_version_script=no
34768 wx_cv_version_script=yes
34771 wx_cv_version_script=no
34774 if test $wx_cv_version_script = yes
34776 echo "struct B { virtual ~B() { } }; \
34777 struct D : public B { }; \
34778 void F() { D d; }" > conftest.cpp
34781 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34782 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34784 (eval $ac_try) 2>&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); }; } &&
34789 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34790 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; }
34798 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34799 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34801 (eval $ac_try) 2>&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); }; }
34806 wx_cv_version_script=yes
34808 wx_cv_version_script=no
34813 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34814 rm -f conftest1.output conftest2.output conftest3.output
34817 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34818 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34820 if test $wx_cv_version_script = yes ; then
34821 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34827 if test "$wxUSE_VISIBILITY" != "no"; then
34830 if test -n "$GCC"; then
34831 CFLAGS_VISIBILITY="-fvisibility=hidden"
34832 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34833 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34834 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34835 if test "${wx_cv_cc_visibility+set}" = set; then
34836 echo $ECHO_N "(cached) $ECHO_C" >&6
34839 wx_save_CXXFLAGS="$CXXFLAGS"
34840 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34842 ac_cpp='$CXXCPP $CPPFLAGS'
34843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34847 cat >conftest.$ac_ext <<_ACEOF
34850 cat confdefs.h >>conftest.$ac_ext
34851 cat >>conftest.$ac_ext <<_ACEOF
34852 /* end confdefs.h. */
34854 /* we need gcc >= 4.0, older versions with visibility support
34855 didn't have class visibility: */
34856 #if defined(__GNUC__) && __GNUC__ < 4
34857 error this gcc is too old;
34860 /* visibility only makes sense for ELF shared libs: */
34861 #if !defined(__ELF__) && !defined(__APPLE__)
34862 error this platform has no visibility;
34865 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34866 extern __attribute__((__visibility__("default"))) int exportedvar;
34867 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34868 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34869 class __attribute__((__visibility__("default"))) Foo {
34881 rm -f conftest.$ac_objext
34882 if { (ac_try="$ac_compile"
34883 case "(($ac_try" in
34884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34885 *) ac_try_echo=$ac_try;;
34887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34888 (eval "$ac_compile") 2>conftest.er1
34890 grep -v '^ *+' conftest.er1 >conftest.err
34892 cat conftest.err >&5
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); } && {
34895 test -z "$ac_cxx_werror_flag" ||
34896 test ! -s conftest.err
34897 } && test -s conftest.$ac_objext; then
34898 wx_cv_cc_visibility=yes
34900 echo "$as_me: failed program was:" >&5
34901 sed 's/^/| /' conftest.$ac_ext >&5
34903 wx_cv_cc_visibility=no
34906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34908 ac_cpp='$CPP $CPPFLAGS'
34909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34913 CXXFLAGS="$wx_save_CXXFLAGS"
34916 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34917 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34918 if test $wx_cv_cc_visibility = yes; then
34919 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34920 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34921 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34922 echo $ECHO_N "(cached) $ECHO_C" >&6
34925 wx_save_CXXFLAGS="$CXXFLAGS"
34926 wx_save_LDFLAGS="$LDFLAGS"
34927 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34928 LDFLAGS="$LDFLAGS -shared -fPIC"
34930 ac_cpp='$CXXCPP $CPPFLAGS'
34931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34935 cat >conftest.$ac_ext <<_ACEOF
34938 cat confdefs.h >>conftest.$ac_ext
34939 cat >>conftest.$ac_ext <<_ACEOF
34940 /* end confdefs.h. */
34948 std::string s("hello");
34955 rm -f conftest.$ac_objext conftest$ac_exeext
34956 if { (ac_try="$ac_link"
34957 case "(($ac_try" in
34958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34959 *) ac_try_echo=$ac_try;;
34961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34962 (eval "$ac_link") 2>conftest.er1
34964 grep -v '^ *+' conftest.er1 >conftest.err
34966 cat conftest.err >&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); } && {
34969 test -z "$ac_cxx_werror_flag" ||
34970 test ! -s conftest.err
34971 } && test -s conftest$ac_exeext &&
34972 $as_test_x conftest$ac_exeext; then
34973 wx_cv_cc_broken_libstdcxx_visibility=no
34975 echo "$as_me: failed program was:" >&5
34976 sed 's/^/| /' conftest.$ac_ext >&5
34978 wx_cv_cc_broken_libstdcxx_visibility=yes
34981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34982 conftest$ac_exeext conftest.$ac_ext
34984 ac_cpp='$CPP $CPPFLAGS'
34985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34989 CXXFLAGS="$wx_save_CXXFLAGS"
34990 LDFLAGS="$wx_save_LDFLAGS"
34993 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34994 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34996 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34997 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34998 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34999 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35000 echo $ECHO_N "(cached) $ECHO_C" >&6
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35009 cat >conftest.$ac_ext <<_ACEOF
35012 cat confdefs.h >>conftest.$ac_ext
35013 cat >>conftest.$ac_ext <<_ACEOF
35014 /* end confdefs.h. */
35016 #pragma GCC visibility push(default)
35018 #pragma GCC visibility pop
35024 std::string s("hello");
35031 rm -f conftest.$ac_objext conftest$ac_exeext
35032 if { (ac_try="$ac_link"
35033 case "(($ac_try" in
35034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35035 *) ac_try_echo=$ac_try;;
35037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35038 (eval "$ac_link") 2>conftest.er1
35040 grep -v '^ *+' conftest.er1 >conftest.err
35042 cat conftest.err >&5
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); } && {
35045 test -z "$ac_cxx_werror_flag" ||
35046 test ! -s conftest.err
35047 } && test -s conftest$ac_exeext &&
35048 $as_test_x conftest$ac_exeext; then
35049 wx_cv_cc_visibility_workaround=no
35051 echo "$as_me: failed program was:" >&5
35052 sed 's/^/| /' conftest.$ac_ext >&5
35054 wx_cv_cc_visibility_workaround=yes
35057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35058 conftest$ac_exeext conftest.$ac_ext
35060 ac_cpp='$CPP $CPPFLAGS'
35061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35068 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35069 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35071 if test $wx_cv_cc_visibility_workaround = no; then
35072 wx_cv_cc_visibility=no
35077 if test $wx_cv_cc_visibility = yes; then
35078 cat >>confdefs.h <<\_ACEOF
35079 #define HAVE_VISIBILITY 1
35082 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35083 cat >>confdefs.h <<\_ACEOF
35084 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35089 CFLAGS_VISIBILITY=""
35090 CXXFLAGS_VISIBILITY=""
35098 if test "x$SUNCXX" = xyes; then
35099 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35100 WXCONFIG_RPATH="-R\$libdir"
35103 *-*-linux* | *-*-gnu* )
35104 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35105 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35110 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35112 saveLdflags="$LDFLAGS"
35113 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35114 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35115 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35116 cat >conftest.$ac_ext <<_ACEOF
35119 cat confdefs.h >>conftest.$ac_ext
35120 cat >>conftest.$ac_ext <<_ACEOF
35121 /* end confdefs.h. */
35131 rm -f conftest.$ac_objext conftest$ac_exeext
35132 if { (ac_try="$ac_link"
35133 case "(($ac_try" in
35134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35135 *) ac_try_echo=$ac_try;;
35137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35138 (eval "$ac_link") 2>conftest.er1
35140 grep -v '^ *+' conftest.er1 >conftest.err
35142 cat conftest.err >&5
35143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144 (exit $ac_status); } && {
35145 test -z "$ac_c_werror_flag" ||
35146 test ! -s conftest.err
35147 } && test -s conftest$ac_exeext &&
35148 $as_test_x conftest$ac_exeext; then
35150 { echo "$as_me:$LINENO: result: yes" >&5
35151 echo "${ECHO_T}yes" >&6; }
35152 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35153 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35156 echo "$as_me: failed program was:" >&5
35157 sed 's/^/| /' conftest.$ac_ext >&5
35160 { echo "$as_me:$LINENO: result: no" >&5
35161 echo "${ECHO_T}no" >&6; }
35162 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35163 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35164 LDFLAGS="$saveLdflags -Wl,-R,/"
35165 cat >conftest.$ac_ext <<_ACEOF
35168 cat confdefs.h >>conftest.$ac_ext
35169 cat >>conftest.$ac_ext <<_ACEOF
35170 /* end confdefs.h. */
35180 rm -f conftest.$ac_objext conftest$ac_exeext
35181 if { (ac_try="$ac_link"
35182 case "(($ac_try" in
35183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35184 *) ac_try_echo=$ac_try;;
35186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35187 (eval "$ac_link") 2>conftest.er1
35189 grep -v '^ *+' conftest.er1 >conftest.err
35191 cat conftest.err >&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } && {
35194 test -z "$ac_c_werror_flag" ||
35195 test ! -s conftest.err
35196 } && test -s conftest$ac_exeext &&
35197 $as_test_x conftest$ac_exeext; then
35199 { echo "$as_me:$LINENO: result: yes" >&5
35200 echo "${ECHO_T}yes" >&6; }
35201 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35202 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35205 echo "$as_me: failed program was:" >&5
35206 sed 's/^/| /' conftest.$ac_ext >&5
35209 { echo "$as_me:$LINENO: result: no" >&5
35210 echo "${ECHO_T}no" >&6; }
35214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35215 conftest$ac_exeext conftest.$ac_ext
35219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35220 conftest$ac_exeext conftest.$ac_ext
35221 LDFLAGS="$saveLdflags"
35225 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35226 if test "$install_name_tool" -a -x "$install_name_tool"; then
35227 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35228 cat <<EOF >change-install-names
35230 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35231 for i in \${libnames} ; do
35232 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35233 for dep in \${libnames} ; do
35234 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35238 chmod +x change-install-names
35239 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35242 HEADER_PAD_OPTION="-headerpad_max_install_names"
35245 *-*-cygwin* | *-*-mingw32* )
35249 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35250 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35256 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35258 if test $wxUSE_RPATH = "no"; then
35259 SAMPLES_RPATH_FLAG=''
35260 DYLIB_PATH_POSTLINK=''
35268 config_linkage_component="-static"
35275 lib_unicode_suffix=
35277 if test "$wxUSE_UNICODE" = "yes"; then
35278 lib_unicode_suffix=u
35279 WX_CHARTYPE="unicode"
35283 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35284 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35287 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35291 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35293 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35295 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35298 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35299 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35301 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35303 if test "${TOOLKIT_DIR}" = "os2"; then
35304 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35306 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35311 if test "$wxUSE_OLD_COCOA" = 1; then
35314 ac_cpp='$CPP $CPPFLAGS'
35315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35321 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35322 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35323 cat >conftest.$ac_ext <<_ACEOF
35326 cat confdefs.h >>conftest.$ac_ext
35327 cat >>conftest.$ac_ext <<_ACEOF
35328 /* end confdefs.h. */
35329 #include <AppKit/NSEvent.h>
35330 #include <CoreFoundation/CoreFoundation.h>
35340 rm -f conftest.$ac_objext
35341 if { (ac_try="$ac_compile"
35342 case "(($ac_try" in
35343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35344 *) ac_try_echo=$ac_try;;
35346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35347 (eval "$ac_compile") 2>conftest.er1
35349 grep -v '^ *+' conftest.er1 >conftest.err
35351 cat conftest.err >&5
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); } && {
35354 test -z "$ac_c_werror_flag" ||
35355 test ! -s conftest.err
35356 } && test -s conftest.$ac_objext; then
35357 { echo "$as_me:$LINENO: result: no" >&5
35358 echo "${ECHO_T}no" >&6; }
35360 echo "$as_me: failed program was:" >&5
35361 sed 's/^/| /' conftest.$ac_ext >&5
35363 { echo "$as_me:$LINENO: result: yes" >&5
35364 echo "${ECHO_T}yes" >&6; }
35365 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35366 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35367 cat >conftest.$ac_ext <<_ACEOF
35370 cat confdefs.h >>conftest.$ac_ext
35371 cat >>conftest.$ac_ext <<_ACEOF
35372 /* end confdefs.h. */
35373 #define __Point__ 1
35374 #include <AppKit/NSEvent.h>
35375 #include <CoreFoundation/CoreFoundation.h>
35385 rm -f conftest.$ac_objext
35386 if { (ac_try="$ac_compile"
35387 case "(($ac_try" in
35388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35389 *) ac_try_echo=$ac_try;;
35391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35392 (eval "$ac_compile") 2>conftest.er1
35394 grep -v '^ *+' conftest.er1 >conftest.err
35396 cat conftest.err >&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); } && {
35399 test -z "$ac_c_werror_flag" ||
35400 test ! -s conftest.err
35401 } && test -s conftest.$ac_objext; then
35402 { echo "$as_me:$LINENO: result: yes" >&5
35403 echo "${ECHO_T}yes" >&6; }
35404 cat >>confdefs.h <<\_ACEOF
35405 #define __Point__ 1
35410 echo "$as_me: failed program was:" >&5
35411 sed 's/^/| /' conftest.$ac_ext >&5
35413 { { echo "$as_me:$LINENO: error: no
35414 See \`config.log' for more details." >&5
35415 echo "$as_me: error: no
35416 See \`config.log' for more details." >&2;}
35417 { (exit 1); exit 1; }; }
35421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35427 ac_cpp='$CPP $CPPFLAGS'
35428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35435 { echo "$as_me:$LINENO: checking for mode_t" >&5
35436 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35437 if test "${ac_cv_type_mode_t+set}" = set; then
35438 echo $ECHO_N "(cached) $ECHO_C" >&6
35440 cat >conftest.$ac_ext <<_ACEOF
35443 cat confdefs.h >>conftest.$ac_ext
35444 cat >>conftest.$ac_ext <<_ACEOF
35445 /* end confdefs.h. */
35446 $ac_includes_default
35447 typedef mode_t ac__type_new_;
35451 if ((ac__type_new_ *) 0)
35453 if (sizeof (ac__type_new_))
35459 rm -f conftest.$ac_objext
35460 if { (ac_try="$ac_compile"
35461 case "(($ac_try" in
35462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35463 *) ac_try_echo=$ac_try;;
35465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35466 (eval "$ac_compile") 2>conftest.er1
35468 grep -v '^ *+' conftest.er1 >conftest.err
35470 cat conftest.err >&5
35471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472 (exit $ac_status); } && {
35473 test -z "$ac_c_werror_flag" ||
35474 test ! -s conftest.err
35475 } && test -s conftest.$ac_objext; then
35476 ac_cv_type_mode_t=yes
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.$ac_ext >&5
35481 ac_cv_type_mode_t=no
35484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35486 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35487 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35488 if test $ac_cv_type_mode_t = yes; then
35492 cat >>confdefs.h <<_ACEOF
35498 { echo "$as_me:$LINENO: checking for off_t" >&5
35499 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35500 if test "${ac_cv_type_off_t+set}" = set; then
35501 echo $ECHO_N "(cached) $ECHO_C" >&6
35503 cat >conftest.$ac_ext <<_ACEOF
35506 cat confdefs.h >>conftest.$ac_ext
35507 cat >>conftest.$ac_ext <<_ACEOF
35508 /* end confdefs.h. */
35509 $ac_includes_default
35510 typedef off_t ac__type_new_;
35514 if ((ac__type_new_ *) 0)
35516 if (sizeof (ac__type_new_))
35522 rm -f conftest.$ac_objext
35523 if { (ac_try="$ac_compile"
35524 case "(($ac_try" in
35525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35526 *) ac_try_echo=$ac_try;;
35528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35529 (eval "$ac_compile") 2>conftest.er1
35531 grep -v '^ *+' conftest.er1 >conftest.err
35533 cat conftest.err >&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); } && {
35536 test -z "$ac_c_werror_flag" ||
35537 test ! -s conftest.err
35538 } && test -s conftest.$ac_objext; then
35539 ac_cv_type_off_t=yes
35541 echo "$as_me: failed program was:" >&5
35542 sed 's/^/| /' conftest.$ac_ext >&5
35544 ac_cv_type_off_t=no
35547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35549 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35550 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35551 if test $ac_cv_type_off_t = yes; then
35555 cat >>confdefs.h <<_ACEOF
35556 #define off_t long int
35561 { echo "$as_me:$LINENO: checking for pid_t" >&5
35562 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35563 if test "${ac_cv_type_pid_t+set}" = set; then
35564 echo $ECHO_N "(cached) $ECHO_C" >&6
35566 cat >conftest.$ac_ext <<_ACEOF
35569 cat confdefs.h >>conftest.$ac_ext
35570 cat >>conftest.$ac_ext <<_ACEOF
35571 /* end confdefs.h. */
35572 $ac_includes_default
35573 typedef pid_t ac__type_new_;
35577 if ((ac__type_new_ *) 0)
35579 if (sizeof (ac__type_new_))
35585 rm -f conftest.$ac_objext
35586 if { (ac_try="$ac_compile"
35587 case "(($ac_try" in
35588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35589 *) ac_try_echo=$ac_try;;
35591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35592 (eval "$ac_compile") 2>conftest.er1
35594 grep -v '^ *+' conftest.er1 >conftest.err
35596 cat conftest.err >&5
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); } && {
35599 test -z "$ac_c_werror_flag" ||
35600 test ! -s conftest.err
35601 } && test -s conftest.$ac_objext; then
35602 ac_cv_type_pid_t=yes
35604 echo "$as_me: failed program was:" >&5
35605 sed 's/^/| /' conftest.$ac_ext >&5
35607 ac_cv_type_pid_t=no
35610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35612 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35613 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35614 if test $ac_cv_type_pid_t = yes; then
35618 cat >>confdefs.h <<_ACEOF
35624 { echo "$as_me:$LINENO: checking for size_t" >&5
35625 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35626 if test "${ac_cv_type_size_t+set}" = set; then
35627 echo $ECHO_N "(cached) $ECHO_C" >&6
35629 cat >conftest.$ac_ext <<_ACEOF
35632 cat confdefs.h >>conftest.$ac_ext
35633 cat >>conftest.$ac_ext <<_ACEOF
35634 /* end confdefs.h. */
35635 $ac_includes_default
35636 typedef size_t ac__type_new_;
35640 if ((ac__type_new_ *) 0)
35642 if (sizeof (ac__type_new_))
35648 rm -f conftest.$ac_objext
35649 if { (ac_try="$ac_compile"
35650 case "(($ac_try" in
35651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35652 *) ac_try_echo=$ac_try;;
35654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35655 (eval "$ac_compile") 2>conftest.er1
35657 grep -v '^ *+' conftest.er1 >conftest.err
35659 cat conftest.err >&5
35660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661 (exit $ac_status); } && {
35662 test -z "$ac_c_werror_flag" ||
35663 test ! -s conftest.err
35664 } && test -s conftest.$ac_objext; then
35665 ac_cv_type_size_t=yes
35667 echo "$as_me: failed program was:" >&5
35668 sed 's/^/| /' conftest.$ac_ext >&5
35670 ac_cv_type_size_t=no
35673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35675 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35676 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35677 if test $ac_cv_type_size_t = yes; then
35681 cat >>confdefs.h <<_ACEOF
35682 #define size_t unsigned int
35688 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35689 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35690 if test "${ac_cv_type_ssize_t+set}" = set; then
35691 echo $ECHO_N "(cached) $ECHO_C" >&6
35693 cat >conftest.$ac_ext <<_ACEOF
35696 cat confdefs.h >>conftest.$ac_ext
35697 cat >>conftest.$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35699 $ac_includes_default
35700 typedef ssize_t ac__type_new_;
35704 if ((ac__type_new_ *) 0)
35706 if (sizeof (ac__type_new_))
35712 rm -f conftest.$ac_objext
35713 if { (ac_try="$ac_compile"
35714 case "(($ac_try" in
35715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35716 *) ac_try_echo=$ac_try;;
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_compile") 2>conftest.er1
35721 grep -v '^ *+' conftest.er1 >conftest.err
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } && {
35726 test -z "$ac_c_werror_flag" ||
35727 test ! -s conftest.err
35728 } && test -s conftest.$ac_objext; then
35729 ac_cv_type_ssize_t=yes
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.$ac_ext >&5
35734 ac_cv_type_ssize_t=no
35737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35739 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35740 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35741 if test $ac_cv_type_ssize_t = yes; then
35743 cat >>confdefs.h <<_ACEOF
35744 #define HAVE_SSIZE_T 1
35752 ac_cpp='$CXXCPP $CPPFLAGS'
35753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35756 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35757 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35758 if test "${wx_cv_size_t_is_uint+set}" = set; then
35759 echo $ECHO_N "(cached) $ECHO_C" >&6
35762 cat >conftest.$ac_ext <<_ACEOF
35765 cat confdefs.h >>conftest.$ac_ext
35766 cat >>conftest.$ac_ext <<_ACEOF
35767 /* end confdefs.h. */
35768 #include <stddef.h>
35775 struct Foo { void foo(size_t); void foo(unsigned int); };
35783 rm -f conftest.$ac_objext
35784 if { (ac_try="$ac_compile"
35785 case "(($ac_try" in
35786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35787 *) ac_try_echo=$ac_try;;
35789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35790 (eval "$ac_compile") 2>conftest.er1
35792 grep -v '^ *+' conftest.er1 >conftest.err
35794 cat conftest.err >&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); } && {
35797 test -z "$ac_cxx_werror_flag" ||
35798 test ! -s conftest.err
35799 } && test -s conftest.$ac_objext; then
35800 wx_cv_size_t_is_uint=no
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.$ac_ext >&5
35805 wx_cv_size_t_is_uint=yes
35809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35813 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35814 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35816 if test "$wx_cv_size_t_is_uint" = "yes"; then
35817 cat >>confdefs.h <<\_ACEOF
35818 #define wxSIZE_T_IS_UINT 1
35822 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35823 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35824 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35825 echo $ECHO_N "(cached) $ECHO_C" >&6
35827 cat >conftest.$ac_ext <<_ACEOF
35830 cat confdefs.h >>conftest.$ac_ext
35831 cat >>conftest.$ac_ext <<_ACEOF
35832 /* end confdefs.h. */
35833 #include <stddef.h>
35840 struct Foo { void foo(size_t); void foo(unsigned long); };
35848 rm -f conftest.$ac_objext
35849 if { (ac_try="$ac_compile"
35850 case "(($ac_try" in
35851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35852 *) ac_try_echo=$ac_try;;
35854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35855 (eval "$ac_compile") 2>conftest.er1
35857 grep -v '^ *+' conftest.er1 >conftest.err
35859 cat conftest.err >&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); } && {
35862 test -z "$ac_cxx_werror_flag" ||
35863 test ! -s conftest.err
35864 } && test -s conftest.$ac_objext; then
35865 wx_cv_size_t_is_ulong=no
35867 echo "$as_me: failed program was:" >&5
35868 sed 's/^/| /' conftest.$ac_ext >&5
35870 wx_cv_size_t_is_ulong=yes
35874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35877 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35878 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35880 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35881 cat >>confdefs.h <<\_ACEOF
35882 #define wxSIZE_T_IS_ULONG 1
35888 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35889 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35890 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35891 echo $ECHO_N "(cached) $ECHO_C" >&6
35893 cat >conftest.$ac_ext <<_ACEOF
35896 cat confdefs.h >>conftest.$ac_ext
35897 cat >>conftest.$ac_ext <<_ACEOF
35898 /* end confdefs.h. */
35906 struct Foo { void foo(wchar_t);
35907 void foo(unsigned short);
35908 void foo(unsigned int);
35909 void foo(unsigned long); };
35917 rm -f conftest.$ac_objext
35918 if { (ac_try="$ac_compile"
35919 case "(($ac_try" in
35920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35921 *) ac_try_echo=$ac_try;;
35923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35924 (eval "$ac_compile") 2>conftest.er1
35926 grep -v '^ *+' conftest.er1 >conftest.err
35928 cat conftest.err >&5
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); } && {
35931 test -z "$ac_cxx_werror_flag" ||
35932 test ! -s conftest.err
35933 } && test -s conftest.$ac_objext; then
35934 wx_cv_wchar_t_is_separate_type=yes
35936 echo "$as_me: failed program was:" >&5
35937 sed 's/^/| /' conftest.$ac_ext >&5
35939 wx_cv_wchar_t_is_separate_type=no
35943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35946 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35947 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35949 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35950 cat >>confdefs.h <<\_ACEOF
35951 #define wxWCHAR_T_IS_REAL_TYPE 1
35955 cat >>confdefs.h <<\_ACEOF
35956 #define wxWCHAR_T_IS_REAL_TYPE 0
35962 ac_cpp='$CPP $CPPFLAGS'
35963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35968 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35969 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35970 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35971 echo $ECHO_N "(cached) $ECHO_C" >&6
35974 cat >conftest.$ac_ext <<_ACEOF
35977 cat confdefs.h >>conftest.$ac_ext
35978 cat >>conftest.$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35993 rm -f conftest.$ac_objext
35994 if { (ac_try="$ac_compile"
35995 case "(($ac_try" in
35996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35997 *) ac_try_echo=$ac_try;;
35999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36000 (eval "$ac_compile") 2>conftest.er1
36002 grep -v '^ *+' conftest.er1 >conftest.err
36004 cat conftest.err >&5
36005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 (exit $ac_status); } && {
36007 test -z "$ac_c_werror_flag" ||
36008 test ! -s conftest.err
36009 } && test -s conftest.$ac_objext; then
36011 wx_cv_struct_pw_gecos=yes
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.$ac_ext >&5
36018 wx_cv_struct_pw_gecos=no
36023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36027 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36028 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36030 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36031 cat >>confdefs.h <<\_ACEOF
36032 #define HAVE_PW_GECOS 1
36041 for ac_func in wcslen
36043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36044 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36046 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36049 cat >conftest.$ac_ext <<_ACEOF
36052 cat confdefs.h >>conftest.$ac_ext
36053 cat >>conftest.$ac_ext <<_ACEOF
36054 /* end confdefs.h. */
36055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36057 #define $ac_func innocuous_$ac_func
36059 /* System header to define __stub macros and hopefully few prototypes,
36060 which can conflict with char $ac_func (); below.
36061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36062 <limits.h> exists even on freestanding compilers. */
36065 # include <limits.h>
36067 # include <assert.h>
36072 /* Override any GCC internal prototype to avoid an error.
36073 Use char because int might match the return type of a GCC
36074 builtin and then its argument prototype would still apply. */
36079 /* The GNU C library defines this for functions which it implements
36080 to always fail with ENOSYS. Some functions are actually named
36081 something starting with __ and the normal name is an alias. */
36082 #if defined __stub_$ac_func || defined __stub___$ac_func
36089 return $ac_func ();
36094 rm -f conftest.$ac_objext conftest$ac_exeext
36095 if { (ac_try="$ac_link"
36096 case "(($ac_try" in
36097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36098 *) ac_try_echo=$ac_try;;
36100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36101 (eval "$ac_link") 2>conftest.er1
36103 grep -v '^ *+' conftest.er1 >conftest.err
36105 cat conftest.err >&5
36106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36107 (exit $ac_status); } && {
36108 test -z "$ac_c_werror_flag" ||
36109 test ! -s conftest.err
36110 } && test -s conftest$ac_exeext &&
36111 $as_test_x conftest$ac_exeext; then
36112 eval "$as_ac_var=yes"
36114 echo "$as_me: failed program was:" >&5
36115 sed 's/^/| /' conftest.$ac_ext >&5
36117 eval "$as_ac_var=no"
36120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36121 conftest$ac_exeext conftest.$ac_ext
36123 ac_res=`eval echo '${'$as_ac_var'}'`
36124 { echo "$as_me:$LINENO: result: $ac_res" >&5
36125 echo "${ECHO_T}$ac_res" >&6; }
36126 if test `eval echo '${'$as_ac_var'}'` = yes; then
36127 cat >>confdefs.h <<_ACEOF
36128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36135 if test "$WCSLEN_FOUND" = 0; then
36136 if test "$TOOLKIT" = "MSW"; then
36137 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36138 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36139 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36140 echo $ECHO_N "(cached) $ECHO_C" >&6
36142 ac_check_lib_save_LIBS=$LIBS
36143 LIBS="-lmsvcrt $LIBS"
36144 cat >conftest.$ac_ext <<_ACEOF
36147 cat confdefs.h >>conftest.$ac_ext
36148 cat >>conftest.$ac_ext <<_ACEOF
36149 /* end confdefs.h. */
36151 /* Override any GCC internal prototype to avoid an error.
36152 Use char because int might match the return type of a GCC
36153 builtin and then its argument prototype would still apply. */
36166 rm -f conftest.$ac_objext conftest$ac_exeext
36167 if { (ac_try="$ac_link"
36168 case "(($ac_try" in
36169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36170 *) ac_try_echo=$ac_try;;
36172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36173 (eval "$ac_link") 2>conftest.er1
36175 grep -v '^ *+' conftest.er1 >conftest.err
36177 cat conftest.err >&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); } && {
36180 test -z "$ac_c_werror_flag" ||
36181 test ! -s conftest.err
36182 } && test -s conftest$ac_exeext &&
36183 $as_test_x conftest$ac_exeext; then
36184 ac_cv_lib_msvcrt_wcslen=yes
36186 echo "$as_me: failed program was:" >&5
36187 sed 's/^/| /' conftest.$ac_ext >&5
36189 ac_cv_lib_msvcrt_wcslen=no
36192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36193 conftest$ac_exeext conftest.$ac_ext
36194 LIBS=$ac_check_lib_save_LIBS
36196 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36197 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36198 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36203 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36204 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36205 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36206 echo $ECHO_N "(cached) $ECHO_C" >&6
36208 ac_check_lib_save_LIBS=$LIBS
36210 cat >conftest.$ac_ext <<_ACEOF
36213 cat confdefs.h >>conftest.$ac_ext
36214 cat >>conftest.$ac_ext <<_ACEOF
36215 /* end confdefs.h. */
36217 /* Override any GCC internal prototype to avoid an error.
36218 Use char because int might match the return type of a GCC
36219 builtin and then its argument prototype would still apply. */
36232 rm -f conftest.$ac_objext conftest$ac_exeext
36233 if { (ac_try="$ac_link"
36234 case "(($ac_try" in
36235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36236 *) ac_try_echo=$ac_try;;
36238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36239 (eval "$ac_link") 2>conftest.er1
36241 grep -v '^ *+' conftest.er1 >conftest.err
36243 cat conftest.err >&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); } && {
36246 test -z "$ac_c_werror_flag" ||
36247 test ! -s conftest.err
36248 } && test -s conftest$ac_exeext &&
36249 $as_test_x conftest$ac_exeext; then
36250 ac_cv_lib_w_wcslen=yes
36252 echo "$as_me: failed program was:" >&5
36253 sed 's/^/| /' conftest.$ac_ext >&5
36255 ac_cv_lib_w_wcslen=no
36258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36259 conftest$ac_exeext conftest.$ac_ext
36260 LIBS=$ac_check_lib_save_LIBS
36262 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36263 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36264 if test $ac_cv_lib_w_wcslen = yes; then
36274 if test "$WCSLEN_FOUND" = 1; then
36275 cat >>confdefs.h <<\_ACEOF
36276 #define HAVE_WCSLEN 1
36287 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36290 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36292 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36295 cat >conftest.$ac_ext <<_ACEOF
36298 cat confdefs.h >>conftest.$ac_ext
36299 cat >>conftest.$ac_ext <<_ACEOF
36300 /* end confdefs.h. */
36301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36303 #define $ac_func innocuous_$ac_func
36305 /* System header to define __stub macros and hopefully few prototypes,
36306 which can conflict with char $ac_func (); below.
36307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36308 <limits.h> exists even on freestanding compilers. */
36311 # include <limits.h>
36313 # include <assert.h>
36318 /* Override any GCC internal prototype to avoid an error.
36319 Use char because int might match the return type of a GCC
36320 builtin and then its argument prototype would still apply. */
36325 /* The GNU C library defines this for functions which it implements
36326 to always fail with ENOSYS. Some functions are actually named
36327 something starting with __ and the normal name is an alias. */
36328 #if defined __stub_$ac_func || defined __stub___$ac_func
36335 return $ac_func ();
36340 rm -f conftest.$ac_objext conftest$ac_exeext
36341 if { (ac_try="$ac_link"
36342 case "(($ac_try" in
36343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36344 *) ac_try_echo=$ac_try;;
36346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36347 (eval "$ac_link") 2>conftest.er1
36349 grep -v '^ *+' conftest.er1 >conftest.err
36351 cat conftest.err >&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); } && {
36354 test -z "$ac_c_werror_flag" ||
36355 test ! -s conftest.err
36356 } && test -s conftest$ac_exeext &&
36357 $as_test_x conftest$ac_exeext; then
36358 eval "$as_ac_var=yes"
36360 echo "$as_me: failed program was:" >&5
36361 sed 's/^/| /' conftest.$ac_ext >&5
36363 eval "$as_ac_var=no"
36366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36367 conftest$ac_exeext conftest.$ac_ext
36369 ac_res=`eval echo '${'$as_ac_var'}'`
36370 { echo "$as_me:$LINENO: result: $ac_res" >&5
36371 echo "${ECHO_T}$ac_res" >&6; }
36372 if test `eval echo '${'$as_ac_var'}'` = yes; then
36373 cat >>confdefs.h <<_ACEOF
36374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36381 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36382 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36385 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36386 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36387 if test "${ac_cv_type_mbstate_t+set}" = set; then
36388 echo $ECHO_N "(cached) $ECHO_C" >&6
36390 cat >conftest.$ac_ext <<_ACEOF
36393 cat confdefs.h >>conftest.$ac_ext
36394 cat >>conftest.$ac_ext <<_ACEOF
36395 /* end confdefs.h. */
36398 typedef mbstate_t ac__type_new_;
36402 if ((ac__type_new_ *) 0)
36404 if (sizeof (ac__type_new_))
36410 rm -f conftest.$ac_objext
36411 if { (ac_try="$ac_compile"
36412 case "(($ac_try" in
36413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36414 *) ac_try_echo=$ac_try;;
36416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36417 (eval "$ac_compile") 2>conftest.er1
36419 grep -v '^ *+' conftest.er1 >conftest.err
36421 cat conftest.err >&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } && {
36424 test -z "$ac_c_werror_flag" ||
36425 test ! -s conftest.err
36426 } && test -s conftest.$ac_objext; then
36427 ac_cv_type_mbstate_t=yes
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.$ac_ext >&5
36432 ac_cv_type_mbstate_t=no
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36437 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36438 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36439 if test $ac_cv_type_mbstate_t = yes; then
36441 cat >>confdefs.h <<_ACEOF
36442 #define HAVE_MBSTATE_T 1
36446 for ac_func in wcsrtombs
36448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36449 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36451 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36452 echo $ECHO_N "(cached) $ECHO_C" >&6
36454 cat >conftest.$ac_ext <<_ACEOF
36457 cat confdefs.h >>conftest.$ac_ext
36458 cat >>conftest.$ac_ext <<_ACEOF
36459 /* end confdefs.h. */
36460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36462 #define $ac_func innocuous_$ac_func
36464 /* System header to define __stub macros and hopefully few prototypes,
36465 which can conflict with char $ac_func (); below.
36466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36467 <limits.h> exists even on freestanding compilers. */
36470 # include <limits.h>
36472 # include <assert.h>
36477 /* Override any GCC internal prototype to avoid an error.
36478 Use char because int might match the return type of a GCC
36479 builtin and then its argument prototype would still apply. */
36484 /* The GNU C library defines this for functions which it implements
36485 to always fail with ENOSYS. Some functions are actually named
36486 something starting with __ and the normal name is an alias. */
36487 #if defined __stub_$ac_func || defined __stub___$ac_func
36494 return $ac_func ();
36499 rm -f conftest.$ac_objext conftest$ac_exeext
36500 if { (ac_try="$ac_link"
36501 case "(($ac_try" in
36502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36503 *) ac_try_echo=$ac_try;;
36505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36506 (eval "$ac_link") 2>conftest.er1
36508 grep -v '^ *+' conftest.er1 >conftest.err
36510 cat conftest.err >&5
36511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512 (exit $ac_status); } && {
36513 test -z "$ac_c_werror_flag" ||
36514 test ! -s conftest.err
36515 } && test -s conftest$ac_exeext &&
36516 $as_test_x conftest$ac_exeext; then
36517 eval "$as_ac_var=yes"
36519 echo "$as_me: failed program was:" >&5
36520 sed 's/^/| /' conftest.$ac_ext >&5
36522 eval "$as_ac_var=no"
36525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36526 conftest$ac_exeext conftest.$ac_ext
36528 ac_res=`eval echo '${'$as_ac_var'}'`
36529 { echo "$as_me:$LINENO: result: $ac_res" >&5
36530 echo "${ECHO_T}$ac_res" >&6; }
36531 if test `eval echo '${'$as_ac_var'}'` = yes; then
36532 cat >>confdefs.h <<_ACEOF
36533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36545 for ac_func in snprintf vsnprintf vsscanf
36547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36548 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36550 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36551 echo $ECHO_N "(cached) $ECHO_C" >&6
36553 cat >conftest.$ac_ext <<_ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36561 #define $ac_func innocuous_$ac_func
36563 /* System header to define __stub macros and hopefully few prototypes,
36564 which can conflict with char $ac_func (); below.
36565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36566 <limits.h> exists even on freestanding compilers. */
36569 # include <limits.h>
36571 # include <assert.h>
36576 /* Override any GCC internal prototype to avoid an error.
36577 Use char because int might match the return type of a GCC
36578 builtin and then its argument prototype would still apply. */
36583 /* The GNU C library defines this for functions which it implements
36584 to always fail with ENOSYS. Some functions are actually named
36585 something starting with __ and the normal name is an alias. */
36586 #if defined __stub_$ac_func || defined __stub___$ac_func
36593 return $ac_func ();
36598 rm -f conftest.$ac_objext conftest$ac_exeext
36599 if { (ac_try="$ac_link"
36600 case "(($ac_try" in
36601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36602 *) ac_try_echo=$ac_try;;
36604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36605 (eval "$ac_link") 2>conftest.er1
36607 grep -v '^ *+' conftest.er1 >conftest.err
36609 cat conftest.err >&5
36610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36611 (exit $ac_status); } && {
36612 test -z "$ac_c_werror_flag" ||
36613 test ! -s conftest.err
36614 } && test -s conftest$ac_exeext &&
36615 $as_test_x conftest$ac_exeext; then
36616 eval "$as_ac_var=yes"
36618 echo "$as_me: failed program was:" >&5
36619 sed 's/^/| /' conftest.$ac_ext >&5
36621 eval "$as_ac_var=no"
36624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36625 conftest$ac_exeext conftest.$ac_ext
36627 ac_res=`eval echo '${'$as_ac_var'}'`
36628 { echo "$as_me:$LINENO: result: $ac_res" >&5
36629 echo "${ECHO_T}$ac_res" >&6; }
36630 if test `eval echo '${'$as_ac_var'}'` = yes; then
36631 cat >>confdefs.h <<_ACEOF
36632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36640 ac_cpp='$CXXCPP $CPPFLAGS'
36641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36645 if test "$ac_cv_func_vsnprintf" = "yes"; then
36646 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36647 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36648 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36652 cat >conftest.$ac_ext <<_ACEOF
36655 cat confdefs.h >>conftest.$ac_ext
36656 cat >>conftest.$ac_ext <<_ACEOF
36657 /* end confdefs.h. */
36660 #include <stdarg.h>
36662 #if __MSL__ >= 0x6000
36664 using namespace std;
36674 vsnprintf(buf, 10u, "%s", ap);
36680 rm -f conftest.$ac_objext
36681 if { (ac_try="$ac_compile"
36682 case "(($ac_try" in
36683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36684 *) ac_try_echo=$ac_try;;
36686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36687 (eval "$ac_compile") 2>conftest.er1
36689 grep -v '^ *+' conftest.er1 >conftest.err
36691 cat conftest.err >&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); } && {
36694 test -z "$ac_cxx_werror_flag" ||
36695 test ! -s conftest.err
36696 } && test -s conftest.$ac_objext; then
36697 wx_cv_func_vsnprintf_decl=yes
36699 echo "$as_me: failed program was:" >&5
36700 sed 's/^/| /' conftest.$ac_ext >&5
36702 wx_cv_func_vsnprintf_decl=no
36706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36710 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36711 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36713 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36714 cat >>confdefs.h <<\_ACEOF
36715 #define HAVE_VSNPRINTF_DECL 1
36719 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36720 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36721 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36722 echo $ECHO_N "(cached) $ECHO_C" >&6
36725 cat >conftest.$ac_ext <<_ACEOF
36728 cat confdefs.h >>conftest.$ac_ext
36729 cat >>conftest.$ac_ext <<_ACEOF
36730 /* end confdefs.h. */
36733 #include <stdarg.h>
36735 #if __MSL__ >= 0x6000
36737 using namespace std;
36747 const char *fmt = "%s";
36748 vsnprintf(buf, 10u, fmt, ap);
36754 rm -f conftest.$ac_objext
36755 if { (ac_try="$ac_compile"
36756 case "(($ac_try" in
36757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36758 *) ac_try_echo=$ac_try;;
36760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36761 (eval "$ac_compile") 2>conftest.er1
36763 grep -v '^ *+' conftest.er1 >conftest.err
36765 cat conftest.err >&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); } && {
36768 test -z "$ac_cxx_werror_flag" ||
36769 test ! -s conftest.err
36770 } && test -s conftest.$ac_objext; then
36771 wx_cv_func_broken_vsnprintf_decl=no
36773 echo "$as_me: failed program was:" >&5
36774 sed 's/^/| /' conftest.$ac_ext >&5
36776 wx_cv_func_broken_vsnprintf_decl=yes
36780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36784 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36785 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36787 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36788 cat >>confdefs.h <<\_ACEOF
36789 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36796 if test "$ac_cv_func_snprintf" = "yes"; then
36797 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36798 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36799 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36800 echo $ECHO_N "(cached) $ECHO_C" >&6
36803 cat >conftest.$ac_ext <<_ACEOF
36806 cat confdefs.h >>conftest.$ac_ext
36807 cat >>conftest.$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36811 #include <stdarg.h>
36813 #if __MSL__ >= 0x6000
36815 using namespace std;
36824 snprintf(buf, 10u, "%s", "wx");
36830 rm -f conftest.$ac_objext
36831 if { (ac_try="$ac_compile"
36832 case "(($ac_try" in
36833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36834 *) ac_try_echo=$ac_try;;
36836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36837 (eval "$ac_compile") 2>conftest.er1
36839 grep -v '^ *+' conftest.er1 >conftest.err
36841 cat conftest.err >&5
36842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843 (exit $ac_status); } && {
36844 test -z "$ac_cxx_werror_flag" ||
36845 test ! -s conftest.err
36846 } && test -s conftest.$ac_objext; then
36847 wx_cv_func_snprintf_decl=yes
36849 echo "$as_me: failed program was:" >&5
36850 sed 's/^/| /' conftest.$ac_ext >&5
36852 wx_cv_func_snprintf_decl=no
36856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36860 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36861 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36863 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36864 cat >>confdefs.h <<\_ACEOF
36865 #define HAVE_SNPRINTF_DECL 1
36870 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36872 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36873 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36874 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36875 echo $ECHO_N "(cached) $ECHO_C" >&6
36878 if test "$cross_compiling" = yes; then
36880 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36881 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36882 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36883 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36884 wx_cv_func_snprintf_pos_params=no
36888 cat >conftest.$ac_ext <<_ACEOF
36891 cat confdefs.h >>conftest.$ac_ext
36892 cat >>conftest.$ac_ext <<_ACEOF
36893 /* end confdefs.h. */
36900 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36901 if (strcmp ("2 3 1", buffer) == 0)
36907 rm -f conftest$ac_exeext
36908 if { (ac_try="$ac_link"
36909 case "(($ac_try" in
36910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36911 *) ac_try_echo=$ac_try;;
36913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36914 (eval "$ac_link") 2>&5
36916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36918 { (case "(($ac_try" in
36919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36920 *) ac_try_echo=$ac_try;;
36922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36923 (eval "$ac_try") 2>&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; }; then
36927 wx_cv_func_snprintf_pos_params=no
36929 echo "$as_me: program exited with status $ac_status" >&5
36930 echo "$as_me: failed program was:" >&5
36931 sed 's/^/| /' conftest.$ac_ext >&5
36933 ( exit $ac_status )
36934 wx_cv_func_snprintf_pos_params=yes
36936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36943 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36944 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36946 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36947 cat >>confdefs.h <<\_ACEOF
36948 #define HAVE_UNIX98_PRINTF 1
36955 if test "$ac_cv_func_vsscanf" = "yes"; then
36956 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36957 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36958 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36962 cat >conftest.$ac_ext <<_ACEOF
36965 cat confdefs.h >>conftest.$ac_ext
36966 cat >>conftest.$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36970 #include <stdarg.h>
36972 #if __MSL__ >= 0x6000
36974 using namespace std;
36984 vsscanf(buf, "%s", args);
36990 rm -f conftest.$ac_objext
36991 if { (ac_try="$ac_compile"
36992 case "(($ac_try" in
36993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36994 *) ac_try_echo=$ac_try;;
36996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36997 (eval "$ac_compile") 2>conftest.er1
36999 grep -v '^ *+' conftest.er1 >conftest.err
37001 cat conftest.err >&5
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); } && {
37004 test -z "$ac_cxx_werror_flag" ||
37005 test ! -s conftest.err
37006 } && test -s conftest.$ac_objext; then
37007 wx_cv_func_vsscanf_decl=yes
37009 echo "$as_me: failed program was:" >&5
37010 sed 's/^/| /' conftest.$ac_ext >&5
37012 wx_cv_func_vsscanf_decl=no
37016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37020 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37021 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37023 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37024 cat >>confdefs.h <<\_ACEOF
37025 #define HAVE_VSSCANF_DECL 1
37031 ac_cpp='$CPP $CPPFLAGS'
37032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37037 if test "$wxUSE_UNICODE" = yes; then
37039 wchar_headers="#include <stdio.h>
37040 #include <wchar.h>"
37044 for ac_header in widec.h
37046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37047 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37050 echo $ECHO_N "(cached) $ECHO_C" >&6
37052 cat >conftest.$ac_ext <<_ACEOF
37055 cat confdefs.h >>conftest.$ac_ext
37056 cat >>conftest.$ac_ext <<_ACEOF
37057 /* end confdefs.h. */
37058 $ac_includes_default
37060 #include <$ac_header>
37062 rm -f conftest.$ac_objext
37063 if { (ac_try="$ac_compile"
37064 case "(($ac_try" in
37065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37066 *) ac_try_echo=$ac_try;;
37068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37069 (eval "$ac_compile") 2>conftest.er1
37071 grep -v '^ *+' conftest.er1 >conftest.err
37073 cat conftest.err >&5
37074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075 (exit $ac_status); } && {
37076 test -z "$ac_c_werror_flag" ||
37077 test ! -s conftest.err
37078 } && test -s conftest.$ac_objext; then
37079 eval "$as_ac_Header=yes"
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.$ac_ext >&5
37084 eval "$as_ac_Header=no"
37087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37089 ac_res=`eval echo '${'$as_ac_Header'}'`
37090 { echo "$as_me:$LINENO: result: $ac_res" >&5
37091 echo "${ECHO_T}$ac_res" >&6; }
37092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37093 cat >>confdefs.h <<_ACEOF
37094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37101 if test "$ac_cv_header_widec_h" = "yes"; then
37102 wchar_headers="$wchar_headers
37103 #include <widec.h>"
37108 for wx_func in putws fputws wprintf vswprintf vswscanf
37110 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37111 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37112 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37116 cat >conftest.$ac_ext <<_ACEOF
37120 cat confdefs.h >>conftest.$ac_ext
37121 cat >>conftest.$ac_ext <<_ACEOF
37122 /* end confdefs.h. */
37125 $ac_includes_default
37141 rm -f conftest.$ac_objext conftest$ac_exeext
37142 if { (ac_try="$ac_link"
37143 case "(($ac_try" in
37144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37145 *) ac_try_echo=$ac_try;;
37147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37148 (eval "$ac_link") 2>conftest.er1
37150 grep -v '^ *+' conftest.er1 >conftest.err
37152 cat conftest.err >&5
37153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154 (exit $ac_status); } && {
37155 test -z "$ac_c_werror_flag" ||
37156 test ! -s conftest.err
37157 } && test -s conftest$ac_exeext &&
37158 $as_test_x conftest$ac_exeext; then
37159 eval wx_cv_func_$wx_func=yes
37161 echo "$as_me: failed program was:" >&5
37162 sed 's/^/| /' conftest.$ac_ext >&5
37164 eval wx_cv_func_$wx_func=no
37167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37168 conftest$ac_exeext conftest.$ac_ext
37171 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37172 { echo "$as_me:$LINENO: result: $ac_res" >&5
37173 echo "${ECHO_T}$ac_res" >&6; }
37175 if eval test \$wx_cv_func_$wx_func = yes
37177 cat >>confdefs.h <<_ACEOF
37178 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37189 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37190 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37191 cat >conftest.$ac_ext <<_ACEOF
37194 cat confdefs.h >>conftest.$ac_ext
37195 cat >>conftest.$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37206 rm -f conftest.$ac_objext
37207 if { (ac_try="$ac_compile"
37208 case "(($ac_try" in
37209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37210 *) ac_try_echo=$ac_try;;
37212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37213 (eval "$ac_compile") 2>conftest.er1
37215 grep -v '^ *+' conftest.er1 >conftest.err
37217 cat conftest.err >&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); } && {
37220 test -z "$ac_c_werror_flag" ||
37221 test ! -s conftest.err
37222 } && test -s conftest.$ac_objext; then
37223 { echo "$as_me:$LINENO: result: yes" >&5
37224 echo "${ECHO_T}yes" >&6; }
37225 cat >>confdefs.h <<\_ACEOF
37226 #define HAVE__VSNWPRINTF 1
37230 echo "$as_me: failed program was:" >&5
37231 sed 's/^/| /' conftest.$ac_ext >&5
37233 { echo "$as_me:$LINENO: result: no" >&5
37234 echo "${ECHO_T}no" >&6; }
37237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37240 if test "$wxUSE_FILE" = "yes"; then
37242 for wx_func in fsync
37244 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37245 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37246 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37247 echo $ECHO_N "(cached) $ECHO_C" >&6
37250 cat >conftest.$ac_ext <<_ACEOF
37254 cat confdefs.h >>conftest.$ac_ext
37255 cat >>conftest.$ac_ext <<_ACEOF
37256 /* end confdefs.h. */
37259 $ac_includes_default
37275 rm -f conftest.$ac_objext conftest$ac_exeext
37276 if { (ac_try="$ac_link"
37277 case "(($ac_try" in
37278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37279 *) ac_try_echo=$ac_try;;
37281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37282 (eval "$ac_link") 2>conftest.er1
37284 grep -v '^ *+' conftest.er1 >conftest.err
37286 cat conftest.err >&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); } && {
37289 test -z "$ac_c_werror_flag" ||
37290 test ! -s conftest.err
37291 } && test -s conftest$ac_exeext &&
37292 $as_test_x conftest$ac_exeext; then
37293 eval wx_cv_func_$wx_func=yes
37295 echo "$as_me: failed program was:" >&5
37296 sed 's/^/| /' conftest.$ac_ext >&5
37298 eval wx_cv_func_$wx_func=no
37301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37302 conftest$ac_exeext conftest.$ac_ext
37305 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37306 { echo "$as_me:$LINENO: result: $ac_res" >&5
37307 echo "${ECHO_T}$ac_res" >&6; }
37309 if eval test \$wx_cv_func_$wx_func = yes
37311 cat >>confdefs.h <<_ACEOF
37312 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37325 ac_cpp='$CXXCPP $CPPFLAGS'
37326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37331 for wx_func in round
37333 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37335 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 cat >conftest.$ac_ext <<_ACEOF
37343 cat confdefs.h >>conftest.$ac_ext
37344 cat >>conftest.$ac_ext <<_ACEOF
37345 /* end confdefs.h. */
37348 $ac_includes_default
37364 rm -f conftest.$ac_objext conftest$ac_exeext
37365 if { (ac_try="$ac_link"
37366 case "(($ac_try" in
37367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37368 *) ac_try_echo=$ac_try;;
37370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37371 (eval "$ac_link") 2>conftest.er1
37373 grep -v '^ *+' conftest.er1 >conftest.err
37375 cat conftest.err >&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); } && {
37378 test -z "$ac_cxx_werror_flag" ||
37379 test ! -s conftest.err
37380 } && test -s conftest$ac_exeext &&
37381 $as_test_x conftest$ac_exeext; then
37382 eval wx_cv_func_$wx_func=yes
37384 echo "$as_me: failed program was:" >&5
37385 sed 's/^/| /' conftest.$ac_ext >&5
37387 eval wx_cv_func_$wx_func=no
37390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37391 conftest$ac_exeext conftest.$ac_ext
37394 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37395 { echo "$as_me:$LINENO: result: $ac_res" >&5
37396 echo "${ECHO_T}$ac_res" >&6; }
37398 if eval test \$wx_cv_func_$wx_func = yes
37400 cat >>confdefs.h <<_ACEOF
37401 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37412 ac_cpp='$CPP $CPPFLAGS'
37413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37418 if test "$TOOLKIT" != "MSW"; then
37420 if test "$wxUSE_LIBICONV" != "no" ; then
37424 # Check whether --with-libiconv-prefix was given.
37425 if test "${with_libiconv_prefix+set}" = set; then
37426 withval=$with_libiconv_prefix;
37427 for dir in `echo "$withval" | tr : ' '`; do
37428 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37429 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37435 { echo "$as_me:$LINENO: checking for iconv" >&5
37436 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37437 if test "${am_cv_func_iconv+set}" = set; then
37438 echo $ECHO_N "(cached) $ECHO_C" >&6
37441 am_cv_func_iconv="no, consider installing GNU libiconv"
37443 cat >conftest.$ac_ext <<_ACEOF
37446 cat confdefs.h >>conftest.$ac_ext
37447 cat >>conftest.$ac_ext <<_ACEOF
37448 /* end confdefs.h. */
37449 #include <stdlib.h>
37454 iconv_t cd = iconv_open("","");
37455 iconv(cd,NULL,NULL,NULL,NULL);
37461 rm -f conftest.$ac_objext conftest$ac_exeext
37462 if { (ac_try="$ac_link"
37463 case "(($ac_try" in
37464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37465 *) ac_try_echo=$ac_try;;
37467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37468 (eval "$ac_link") 2>conftest.er1
37470 grep -v '^ *+' conftest.er1 >conftest.err
37472 cat conftest.err >&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); } && {
37475 test -z "$ac_c_werror_flag" ||
37476 test ! -s conftest.err
37477 } && test -s conftest$ac_exeext &&
37478 $as_test_x conftest$ac_exeext; then
37479 am_cv_func_iconv=yes
37481 echo "$as_me: failed program was:" >&5
37482 sed 's/^/| /' conftest.$ac_ext >&5
37487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37488 conftest$ac_exeext conftest.$ac_ext
37489 if test "$am_cv_func_iconv" != yes; then
37490 am_save_LIBS="$LIBS"
37491 LIBS="$LIBS -liconv"
37492 cat >conftest.$ac_ext <<_ACEOF
37495 cat confdefs.h >>conftest.$ac_ext
37496 cat >>conftest.$ac_ext <<_ACEOF
37497 /* end confdefs.h. */
37498 #include <stdlib.h>
37503 iconv_t cd = iconv_open("","");
37504 iconv(cd,NULL,NULL,NULL,NULL);
37510 rm -f conftest.$ac_objext conftest$ac_exeext
37511 if { (ac_try="$ac_link"
37512 case "(($ac_try" in
37513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37514 *) ac_try_echo=$ac_try;;
37516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37517 (eval "$ac_link") 2>conftest.er1
37519 grep -v '^ *+' conftest.er1 >conftest.err
37521 cat conftest.err >&5
37522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37523 (exit $ac_status); } && {
37524 test -z "$ac_c_werror_flag" ||
37525 test ! -s conftest.err
37526 } && test -s conftest$ac_exeext &&
37527 $as_test_x conftest$ac_exeext; then
37528 am_cv_lib_iconv=yes
37529 am_cv_func_iconv=yes
37531 echo "$as_me: failed program was:" >&5
37532 sed 's/^/| /' conftest.$ac_ext >&5
37537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37538 conftest$ac_exeext conftest.$ac_ext
37539 LIBS="$am_save_LIBS"
37543 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37544 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37545 if test "$am_cv_func_iconv" = yes; then
37547 cat >>confdefs.h <<\_ACEOF
37548 #define HAVE_ICONV 1
37551 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37552 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37553 if test "${wx_cv_func_iconv_const+set}" = set; then
37554 echo $ECHO_N "(cached) $ECHO_C" >&6
37556 cat >conftest.$ac_ext <<_ACEOF
37559 cat confdefs.h >>conftest.$ac_ext
37560 cat >>conftest.$ac_ext <<_ACEOF
37561 /* end confdefs.h. */
37563 #include <stdlib.h>
37569 #if defined(__STDC__) || defined(__cplusplus)
37570 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37583 rm -f conftest.$ac_objext
37584 if { (ac_try="$ac_compile"
37585 case "(($ac_try" in
37586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37587 *) ac_try_echo=$ac_try;;
37589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37590 (eval "$ac_compile") 2>conftest.er1
37592 grep -v '^ *+' conftest.er1 >conftest.err
37594 cat conftest.err >&5
37595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37596 (exit $ac_status); } && {
37597 test -z "$ac_c_werror_flag" ||
37598 test ! -s conftest.err
37599 } && test -s conftest.$ac_objext; then
37600 wx_cv_func_iconv_const="no"
37602 echo "$as_me: failed program was:" >&5
37603 sed 's/^/| /' conftest.$ac_ext >&5
37605 wx_cv_func_iconv_const="yes"
37609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37612 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37613 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37616 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37617 iconv_const="const"
37621 cat >>confdefs.h <<_ACEOF
37622 #define ICONV_CONST $iconv_const
37627 if test "$am_cv_lib_iconv" = yes; then
37632 LIBS="$LIBICONV $LIBS"
37635 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37637 for ac_func in sigaction
37639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37640 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37642 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37643 echo $ECHO_N "(cached) $ECHO_C" >&6
37645 cat >conftest.$ac_ext <<_ACEOF
37648 cat confdefs.h >>conftest.$ac_ext
37649 cat >>conftest.$ac_ext <<_ACEOF
37650 /* end confdefs.h. */
37651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37653 #define $ac_func innocuous_$ac_func
37655 /* System header to define __stub macros and hopefully few prototypes,
37656 which can conflict with char $ac_func (); below.
37657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37658 <limits.h> exists even on freestanding compilers. */
37661 # include <limits.h>
37663 # include <assert.h>
37668 /* Override any GCC internal prototype to avoid an error.
37669 Use char because int might match the return type of a GCC
37670 builtin and then its argument prototype would still apply. */
37675 /* The GNU C library defines this for functions which it implements
37676 to always fail with ENOSYS. Some functions are actually named
37677 something starting with __ and the normal name is an alias. */
37678 #if defined __stub_$ac_func || defined __stub___$ac_func
37685 return $ac_func ();
37690 rm -f conftest.$ac_objext conftest$ac_exeext
37691 if { (ac_try="$ac_link"
37692 case "(($ac_try" in
37693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37694 *) ac_try_echo=$ac_try;;
37696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37697 (eval "$ac_link") 2>conftest.er1
37699 grep -v '^ *+' conftest.er1 >conftest.err
37701 cat conftest.err >&5
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); } && {
37704 test -z "$ac_c_werror_flag" ||
37705 test ! -s conftest.err
37706 } && test -s conftest$ac_exeext &&
37707 $as_test_x conftest$ac_exeext; then
37708 eval "$as_ac_var=yes"
37710 echo "$as_me: failed program was:" >&5
37711 sed 's/^/| /' conftest.$ac_ext >&5
37713 eval "$as_ac_var=no"
37716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37717 conftest$ac_exeext conftest.$ac_ext
37719 ac_res=`eval echo '${'$as_ac_var'}'`
37720 { echo "$as_me:$LINENO: result: $ac_res" >&5
37721 echo "${ECHO_T}$ac_res" >&6; }
37722 if test `eval echo '${'$as_ac_var'}'` = yes; then
37723 cat >>confdefs.h <<_ACEOF
37724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37731 if test "$ac_cv_func_sigaction" = "no"; then
37732 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37733 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37734 wxUSE_ON_FATAL_EXCEPTION=no
37737 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37738 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37739 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37740 if test "${wx_cv_type_sa_handler+set}" = set; then
37741 echo $ECHO_N "(cached) $ECHO_C" >&6
37745 ac_cpp='$CXXCPP $CPPFLAGS'
37746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37750 cat >conftest.$ac_ext <<_ACEOF
37753 cat confdefs.h >>conftest.$ac_ext
37754 cat >>conftest.$ac_ext <<_ACEOF
37755 /* end confdefs.h. */
37756 #include <signal.h>
37761 extern void testSigHandler(int);
37763 struct sigaction sa;
37764 sa.sa_handler = testSigHandler;
37770 rm -f conftest.$ac_objext
37771 if { (ac_try="$ac_compile"
37772 case "(($ac_try" in
37773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37774 *) ac_try_echo=$ac_try;;
37776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37777 (eval "$ac_compile") 2>conftest.er1
37779 grep -v '^ *+' conftest.er1 >conftest.err
37781 cat conftest.err >&5
37782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783 (exit $ac_status); } && {
37784 test -z "$ac_cxx_werror_flag" ||
37785 test ! -s conftest.err
37786 } && test -s conftest.$ac_objext; then
37788 wx_cv_type_sa_handler=int
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.$ac_ext >&5
37795 wx_cv_type_sa_handler=void
37799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37801 ac_cpp='$CPP $CPPFLAGS'
37802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37808 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37809 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37811 cat >>confdefs.h <<_ACEOF
37812 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37818 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37819 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37820 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37821 if test "${wx_cv_func_backtrace+set}" = set; then
37822 echo $ECHO_N "(cached) $ECHO_C" >&6
37826 ac_cpp='$CXXCPP $CPPFLAGS'
37827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37831 cat >conftest.$ac_ext <<_ACEOF
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37837 #include <execinfo.h>
37845 backtrace(trace, 1);
37846 messages = backtrace_symbols(trace, 1);
37852 rm -f conftest.$ac_objext
37853 if { (ac_try="$ac_compile"
37854 case "(($ac_try" in
37855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37856 *) ac_try_echo=$ac_try;;
37858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37859 (eval "$ac_compile") 2>conftest.er1
37861 grep -v '^ *+' conftest.er1 >conftest.err
37863 cat conftest.err >&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } && {
37866 test -z "$ac_cxx_werror_flag" ||
37867 test ! -s conftest.err
37868 } && test -s conftest.$ac_objext; then
37869 wx_cv_func_backtrace=yes
37871 echo "$as_me: failed program was:" >&5
37872 sed 's/^/| /' conftest.$ac_ext >&5
37874 wx_cv_func_backtrace=no
37878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37880 ac_cpp='$CPP $CPPFLAGS'
37881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37888 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37889 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37892 if test "$wx_cv_func_backtrace" = "no"; then
37893 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37894 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37895 wxUSE_STACKWALKER=no
37897 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37898 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37899 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37904 ac_cpp='$CXXCPP $CPPFLAGS'
37905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37909 cat >conftest.$ac_ext <<_ACEOF
37912 cat confdefs.h >>conftest.$ac_ext
37913 cat >>conftest.$ac_ext <<_ACEOF
37914 /* end confdefs.h. */
37915 #include <cxxabi.h>
37921 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37927 rm -f conftest.$ac_objext conftest$ac_exeext
37928 if { (ac_try="$ac_link"
37929 case "(($ac_try" in
37930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37931 *) ac_try_echo=$ac_try;;
37933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37934 (eval "$ac_link") 2>conftest.er1
37936 grep -v '^ *+' conftest.er1 >conftest.err
37938 cat conftest.err >&5
37939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37940 (exit $ac_status); } && {
37941 test -z "$ac_cxx_werror_flag" ||
37942 test ! -s conftest.err
37943 } && test -s conftest$ac_exeext &&
37944 $as_test_x conftest$ac_exeext; then
37945 wx_cv_func_cxa_demangle=yes
37947 echo "$as_me: failed program was:" >&5
37948 sed 's/^/| /' conftest.$ac_ext >&5
37950 wx_cv_func_cxa_demangle=no
37954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37955 conftest$ac_exeext conftest.$ac_ext
37957 ac_cpp='$CPP $CPPFLAGS'
37958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37965 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37966 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37968 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37969 cat >>confdefs.h <<\_ACEOF
37970 #define HAVE_CXA_DEMANGLE 1
37977 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37978 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37979 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37980 wxUSE_STACKWALKER=no
37986 for ac_func in mkstemp mktemp
37988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37992 echo $ECHO_N "(cached) $ECHO_C" >&6
37994 cat >conftest.$ac_ext <<_ACEOF
37997 cat confdefs.h >>conftest.$ac_ext
37998 cat >>conftest.$ac_ext <<_ACEOF
37999 /* end confdefs.h. */
38000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38002 #define $ac_func innocuous_$ac_func
38004 /* System header to define __stub macros and hopefully few prototypes,
38005 which can conflict with char $ac_func (); below.
38006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38007 <limits.h> exists even on freestanding compilers. */
38010 # include <limits.h>
38012 # include <assert.h>
38017 /* Override any GCC internal prototype to avoid an error.
38018 Use char because int might match the return type of a GCC
38019 builtin and then its argument prototype would still apply. */
38024 /* The GNU C library defines this for functions which it implements
38025 to always fail with ENOSYS. Some functions are actually named
38026 something starting with __ and the normal name is an alias. */
38027 #if defined __stub_$ac_func || defined __stub___$ac_func
38034 return $ac_func ();
38039 rm -f conftest.$ac_objext conftest$ac_exeext
38040 if { (ac_try="$ac_link"
38041 case "(($ac_try" in
38042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38043 *) ac_try_echo=$ac_try;;
38045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38046 (eval "$ac_link") 2>conftest.er1
38048 grep -v '^ *+' conftest.er1 >conftest.err
38050 cat conftest.err >&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } && {
38053 test -z "$ac_c_werror_flag" ||
38054 test ! -s conftest.err
38055 } && test -s conftest$ac_exeext &&
38056 $as_test_x conftest$ac_exeext; then
38057 eval "$as_ac_var=yes"
38059 echo "$as_me: failed program was:" >&5
38060 sed 's/^/| /' conftest.$ac_ext >&5
38062 eval "$as_ac_var=no"
38065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38066 conftest$ac_exeext conftest.$ac_ext
38068 ac_res=`eval echo '${'$as_ac_var'}'`
38069 { echo "$as_me:$LINENO: result: $ac_res" >&5
38070 echo "${ECHO_T}$ac_res" >&6; }
38071 if test `eval echo '${'$as_ac_var'}'` = yes; then
38072 cat >>confdefs.h <<_ACEOF
38073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38080 { echo "$as_me:$LINENO: checking for statfs" >&5
38081 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38082 if test "${wx_cv_func_statfs+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. */
38092 #if defined(__BSD__)
38093 #include <sys/param.h>
38094 #include <sys/mount.h>
38096 #include <sys/vfs.h>
38114 rm -f conftest.$ac_objext
38115 if { (ac_try="$ac_compile"
38116 case "(($ac_try" in
38117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38118 *) ac_try_echo=$ac_try;;
38120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38121 (eval "$ac_compile") 2>conftest.er1
38123 grep -v '^ *+' conftest.er1 >conftest.err
38125 cat conftest.err >&5
38126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 (exit $ac_status); } && {
38128 test -z "$ac_c_werror_flag" ||
38129 test ! -s conftest.err
38130 } && test -s conftest.$ac_objext; then
38131 wx_cv_func_statfs=yes
38133 echo "$as_me: failed program was:" >&5
38134 sed 's/^/| /' conftest.$ac_ext >&5
38136 wx_cv_func_statfs=no
38140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38143 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38144 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38146 if test "$wx_cv_func_statfs" = "yes"; then
38147 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38148 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38149 if test "${wx_cv_func_statfs_decl+set}" = set; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38153 ac_cpp='$CXXCPP $CPPFLAGS'
38154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38158 cat >conftest.$ac_ext <<_ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38165 #if defined(__BSD__)
38166 #include <sys/param.h>
38167 #include <sys/mount.h>
38169 #include <sys/vfs.h>
38183 rm -f conftest.$ac_objext
38184 if { (ac_try="$ac_compile"
38185 case "(($ac_try" in
38186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38187 *) ac_try_echo=$ac_try;;
38189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38190 (eval "$ac_compile") 2>conftest.er1
38192 grep -v '^ *+' conftest.er1 >conftest.err
38194 cat conftest.err >&5
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); } && {
38197 test -z "$ac_cxx_werror_flag" ||
38198 test ! -s conftest.err
38199 } && test -s conftest.$ac_objext; then
38200 wx_cv_func_statfs_decl=yes
38202 echo "$as_me: failed program was:" >&5
38203 sed 's/^/| /' conftest.$ac_ext >&5
38205 wx_cv_func_statfs_decl=no
38209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38211 ac_cpp='$CPP $CPPFLAGS'
38212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38218 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38219 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38221 if test "$wx_cv_func_statfs_decl" = "yes"; then
38222 cat >>confdefs.h <<\_ACEOF
38223 #define HAVE_STATFS_DECL 1
38228 wx_cv_type_statvfs_t="struct statfs"
38229 cat >>confdefs.h <<\_ACEOF
38230 #define HAVE_STATFS 1
38234 { echo "$as_me:$LINENO: checking for statvfs" >&5
38235 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38236 if test "${wx_cv_func_statvfs+set}" = set; then
38237 echo $ECHO_N "(cached) $ECHO_C" >&6
38239 cat >conftest.$ac_ext <<_ACEOF
38242 cat confdefs.h >>conftest.$ac_ext
38243 cat >>conftest.$ac_ext <<_ACEOF
38244 /* end confdefs.h. */
38246 #include <stddef.h>
38247 #include <sys/statvfs.h>
38253 statvfs("/", NULL);
38259 rm -f conftest.$ac_objext
38260 if { (ac_try="$ac_compile"
38261 case "(($ac_try" in
38262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38263 *) ac_try_echo=$ac_try;;
38265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38266 (eval "$ac_compile") 2>conftest.er1
38268 grep -v '^ *+' conftest.er1 >conftest.err
38270 cat conftest.err >&5
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); } && {
38273 test -z "$ac_c_werror_flag" ||
38274 test ! -s conftest.err
38275 } && test -s conftest.$ac_objext; then
38276 wx_cv_func_statvfs=yes
38278 echo "$as_me: failed program was:" >&5
38279 sed 's/^/| /' conftest.$ac_ext >&5
38281 wx_cv_func_statvfs=no
38285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38288 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38289 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38291 if test "$wx_cv_func_statvfs" = "yes"; then
38292 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38293 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38294 if test "${wx_cv_type_statvfs_t+set}" = set; then
38295 echo $ECHO_N "(cached) $ECHO_C" >&6
38298 ac_cpp='$CXXCPP $CPPFLAGS'
38299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38303 cat >conftest.$ac_ext <<_ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38310 #include <sys/statvfs.h>
38327 rm -f conftest.$ac_objext
38328 if { (ac_try="$ac_compile"
38329 case "(($ac_try" in
38330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38331 *) ac_try_echo=$ac_try;;
38333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38334 (eval "$ac_compile") 2>conftest.er1
38336 grep -v '^ *+' conftest.er1 >conftest.err
38338 cat conftest.err >&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); } && {
38341 test -z "$ac_cxx_werror_flag" ||
38342 test ! -s conftest.err
38343 } && test -s conftest.$ac_objext; then
38344 wx_cv_type_statvfs_t=statvfs_t
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38350 cat >conftest.$ac_ext <<_ACEOF
38353 cat confdefs.h >>conftest.$ac_ext
38354 cat >>conftest.$ac_ext <<_ACEOF
38355 /* end confdefs.h. */
38357 #include <sys/statvfs.h>
38374 rm -f conftest.$ac_objext
38375 if { (ac_try="$ac_compile"
38376 case "(($ac_try" in
38377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38378 *) ac_try_echo=$ac_try;;
38380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38381 (eval "$ac_compile") 2>conftest.er1
38383 grep -v '^ *+' conftest.er1 >conftest.err
38385 cat conftest.err >&5
38386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38387 (exit $ac_status); } && {
38388 test -z "$ac_cxx_werror_flag" ||
38389 test ! -s conftest.err
38390 } && test -s conftest.$ac_objext; then
38391 wx_cv_type_statvfs_t="struct statvfs"
38393 echo "$as_me: failed program was:" >&5
38394 sed 's/^/| /' conftest.$ac_ext >&5
38396 wx_cv_type_statvfs_t="unknown"
38400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38407 ac_cpp='$CPP $CPPFLAGS'
38408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38414 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38415 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38417 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38418 cat >>confdefs.h <<\_ACEOF
38419 #define HAVE_STATVFS 1
38424 wx_cv_type_statvfs_t="unknown"
38428 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38429 cat >>confdefs.h <<_ACEOF
38430 #define WX_STATFS_T $wx_cv_type_statvfs_t
38434 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38435 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38438 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38441 for ac_func in fcntl flock
38443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38444 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38449 cat >conftest.$ac_ext <<_ACEOF
38452 cat confdefs.h >>conftest.$ac_ext
38453 cat >>conftest.$ac_ext <<_ACEOF
38454 /* end confdefs.h. */
38455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38457 #define $ac_func innocuous_$ac_func
38459 /* System header to define __stub macros and hopefully few prototypes,
38460 which can conflict with char $ac_func (); below.
38461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38462 <limits.h> exists even on freestanding compilers. */
38465 # include <limits.h>
38467 # include <assert.h>
38472 /* Override any GCC internal prototype to avoid an error.
38473 Use char because int might match the return type of a GCC
38474 builtin and then its argument prototype would still apply. */
38479 /* The GNU C library defines this for functions which it implements
38480 to always fail with ENOSYS. Some functions are actually named
38481 something starting with __ and the normal name is an alias. */
38482 #if defined __stub_$ac_func || defined __stub___$ac_func
38489 return $ac_func ();
38494 rm -f conftest.$ac_objext conftest$ac_exeext
38495 if { (ac_try="$ac_link"
38496 case "(($ac_try" in
38497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38498 *) ac_try_echo=$ac_try;;
38500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38501 (eval "$ac_link") 2>conftest.er1
38503 grep -v '^ *+' conftest.er1 >conftest.err
38505 cat conftest.err >&5
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); } && {
38508 test -z "$ac_c_werror_flag" ||
38509 test ! -s conftest.err
38510 } && test -s conftest$ac_exeext &&
38511 $as_test_x conftest$ac_exeext; then
38512 eval "$as_ac_var=yes"
38514 echo "$as_me: failed program was:" >&5
38515 sed 's/^/| /' conftest.$ac_ext >&5
38517 eval "$as_ac_var=no"
38520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38521 conftest$ac_exeext conftest.$ac_ext
38523 ac_res=`eval echo '${'$as_ac_var'}'`
38524 { echo "$as_me:$LINENO: result: $ac_res" >&5
38525 echo "${ECHO_T}$ac_res" >&6; }
38526 if test `eval echo '${'$as_ac_var'}'` = yes; then
38527 cat >>confdefs.h <<_ACEOF
38528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38535 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38536 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38537 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38538 wxUSE_SNGLINST_CHECKER=no
38544 for ac_func in setenv putenv
38546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38547 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38550 echo $ECHO_N "(cached) $ECHO_C" >&6
38552 cat >conftest.$ac_ext <<_ACEOF
38555 cat confdefs.h >>conftest.$ac_ext
38556 cat >>conftest.$ac_ext <<_ACEOF
38557 /* end confdefs.h. */
38558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38560 #define $ac_func innocuous_$ac_func
38562 /* System header to define __stub macros and hopefully few prototypes,
38563 which can conflict with char $ac_func (); below.
38564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38565 <limits.h> exists even on freestanding compilers. */
38568 # include <limits.h>
38570 # include <assert.h>
38575 /* Override any GCC internal prototype to avoid an error.
38576 Use char because int might match the return type of a GCC
38577 builtin and then its argument prototype would still apply. */
38582 /* The GNU C library defines this for functions which it implements
38583 to always fail with ENOSYS. Some functions are actually named
38584 something starting with __ and the normal name is an alias. */
38585 #if defined __stub_$ac_func || defined __stub___$ac_func
38592 return $ac_func ();
38597 rm -f conftest.$ac_objext conftest$ac_exeext
38598 if { (ac_try="$ac_link"
38599 case "(($ac_try" in
38600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38601 *) ac_try_echo=$ac_try;;
38603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38604 (eval "$ac_link") 2>conftest.er1
38606 grep -v '^ *+' conftest.er1 >conftest.err
38608 cat conftest.err >&5
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); } && {
38611 test -z "$ac_c_werror_flag" ||
38612 test ! -s conftest.err
38613 } && test -s conftest$ac_exeext &&
38614 $as_test_x conftest$ac_exeext; then
38615 eval "$as_ac_var=yes"
38617 echo "$as_me: failed program was:" >&5
38618 sed 's/^/| /' conftest.$ac_ext >&5
38620 eval "$as_ac_var=no"
38623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38624 conftest$ac_exeext conftest.$ac_ext
38626 ac_res=`eval echo '${'$as_ac_var'}'`
38627 { echo "$as_me:$LINENO: result: $ac_res" >&5
38628 echo "${ECHO_T}$ac_res" >&6; }
38629 if test `eval echo '${'$as_ac_var'}'` = yes; then
38630 cat >>confdefs.h <<_ACEOF
38631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38637 if test "$ac_cv_func_setenv" = "yes"; then
38639 for ac_func in unsetenv
38641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38645 echo $ECHO_N "(cached) $ECHO_C" >&6
38647 cat >conftest.$ac_ext <<_ACEOF
38650 cat confdefs.h >>conftest.$ac_ext
38651 cat >>conftest.$ac_ext <<_ACEOF
38652 /* end confdefs.h. */
38653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38655 #define $ac_func innocuous_$ac_func
38657 /* System header to define __stub macros and hopefully few prototypes,
38658 which can conflict with char $ac_func (); below.
38659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38660 <limits.h> exists even on freestanding compilers. */
38663 # include <limits.h>
38665 # include <assert.h>
38670 /* Override any GCC internal prototype to avoid an error.
38671 Use char because int might match the return type of a GCC
38672 builtin and then its argument prototype would still apply. */
38677 /* The GNU C library defines this for functions which it implements
38678 to always fail with ENOSYS. Some functions are actually named
38679 something starting with __ and the normal name is an alias. */
38680 #if defined __stub_$ac_func || defined __stub___$ac_func
38687 return $ac_func ();
38692 rm -f conftest.$ac_objext conftest$ac_exeext
38693 if { (ac_try="$ac_link"
38694 case "(($ac_try" in
38695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38696 *) ac_try_echo=$ac_try;;
38698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38699 (eval "$ac_link") 2>conftest.er1
38701 grep -v '^ *+' conftest.er1 >conftest.err
38703 cat conftest.err >&5
38704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38705 (exit $ac_status); } && {
38706 test -z "$ac_c_werror_flag" ||
38707 test ! -s conftest.err
38708 } && test -s conftest$ac_exeext &&
38709 $as_test_x conftest$ac_exeext; then
38710 eval "$as_ac_var=yes"
38712 echo "$as_me: failed program was:" >&5
38713 sed 's/^/| /' conftest.$ac_ext >&5
38715 eval "$as_ac_var=no"
38718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38719 conftest$ac_exeext conftest.$ac_ext
38721 ac_res=`eval echo '${'$as_ac_var'}'`
38722 { echo "$as_me:$LINENO: result: $ac_res" >&5
38723 echo "${ECHO_T}$ac_res" >&6; }
38724 if test `eval echo '${'$as_ac_var'}'` = yes; then
38725 cat >>confdefs.h <<_ACEOF
38726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38734 HAVE_SOME_SLEEP_FUNC=0
38735 if test "$USE_BEOS" = 1; then
38736 cat >>confdefs.h <<\_ACEOF
38737 #define HAVE_SLEEP 1
38740 HAVE_SOME_SLEEP_FUNC=1
38743 if test "$USE_DARWIN" = 1; then
38744 cat >>confdefs.h <<\_ACEOF
38745 #define HAVE_USLEEP 1
38748 HAVE_SOME_SLEEP_FUNC=1
38751 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38754 for ac_func in nanosleep
38756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38757 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38759 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38760 echo $ECHO_N "(cached) $ECHO_C" >&6
38762 cat >conftest.$ac_ext <<_ACEOF
38765 cat confdefs.h >>conftest.$ac_ext
38766 cat >>conftest.$ac_ext <<_ACEOF
38767 /* end confdefs.h. */
38768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38770 #define $ac_func innocuous_$ac_func
38772 /* System header to define __stub macros and hopefully few prototypes,
38773 which can conflict with char $ac_func (); below.
38774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38775 <limits.h> exists even on freestanding compilers. */
38778 # include <limits.h>
38780 # include <assert.h>
38785 /* Override any GCC internal prototype to avoid an error.
38786 Use char because int might match the return type of a GCC
38787 builtin and then its argument prototype would still apply. */
38792 /* The GNU C library defines this for functions which it implements
38793 to always fail with ENOSYS. Some functions are actually named
38794 something starting with __ and the normal name is an alias. */
38795 #if defined __stub_$ac_func || defined __stub___$ac_func
38802 return $ac_func ();
38807 rm -f conftest.$ac_objext conftest$ac_exeext
38808 if { (ac_try="$ac_link"
38809 case "(($ac_try" in
38810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38811 *) ac_try_echo=$ac_try;;
38813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38814 (eval "$ac_link") 2>conftest.er1
38816 grep -v '^ *+' conftest.er1 >conftest.err
38818 cat conftest.err >&5
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); } && {
38821 test -z "$ac_c_werror_flag" ||
38822 test ! -s conftest.err
38823 } && test -s conftest$ac_exeext &&
38824 $as_test_x conftest$ac_exeext; then
38825 eval "$as_ac_var=yes"
38827 echo "$as_me: failed program was:" >&5
38828 sed 's/^/| /' conftest.$ac_ext >&5
38830 eval "$as_ac_var=no"
38833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38834 conftest$ac_exeext conftest.$ac_ext
38836 ac_res=`eval echo '${'$as_ac_var'}'`
38837 { echo "$as_me:$LINENO: result: $ac_res" >&5
38838 echo "${ECHO_T}$ac_res" >&6; }
38839 if test `eval echo '${'$as_ac_var'}'` = yes; then
38840 cat >>confdefs.h <<_ACEOF
38841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38843 cat >>confdefs.h <<\_ACEOF
38844 #define HAVE_NANOSLEEP 1
38849 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38850 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38851 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38852 echo $ECHO_N "(cached) $ECHO_C" >&6
38854 ac_check_lib_save_LIBS=$LIBS
38855 LIBS="-lposix4 $LIBS"
38856 cat >conftest.$ac_ext <<_ACEOF
38859 cat confdefs.h >>conftest.$ac_ext
38860 cat >>conftest.$ac_ext <<_ACEOF
38861 /* end confdefs.h. */
38863 /* Override any GCC internal prototype to avoid an error.
38864 Use char because int might match the return type of a GCC
38865 builtin and then its argument prototype would still apply. */
38873 return nanosleep ();
38878 rm -f conftest.$ac_objext conftest$ac_exeext
38879 if { (ac_try="$ac_link"
38880 case "(($ac_try" in
38881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38882 *) ac_try_echo=$ac_try;;
38884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38885 (eval "$ac_link") 2>conftest.er1
38887 grep -v '^ *+' conftest.er1 >conftest.err
38889 cat conftest.err >&5
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); } && {
38892 test -z "$ac_c_werror_flag" ||
38893 test ! -s conftest.err
38894 } && test -s conftest$ac_exeext &&
38895 $as_test_x conftest$ac_exeext; then
38896 ac_cv_lib_posix4_nanosleep=yes
38898 echo "$as_me: failed program was:" >&5
38899 sed 's/^/| /' conftest.$ac_ext >&5
38901 ac_cv_lib_posix4_nanosleep=no
38904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38905 conftest$ac_exeext conftest.$ac_ext
38906 LIBS=$ac_check_lib_save_LIBS
38908 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38909 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38910 if test $ac_cv_lib_posix4_nanosleep = yes; then
38912 cat >>confdefs.h <<\_ACEOF
38913 #define HAVE_NANOSLEEP 1
38916 POSIX4_LINK=" -lposix4"
38921 for wx_func in usleep
38923 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38924 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38925 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38926 echo $ECHO_N "(cached) $ECHO_C" >&6
38929 cat >conftest.$ac_ext <<_ACEOF
38933 cat confdefs.h >>conftest.$ac_ext
38934 cat >>conftest.$ac_ext <<_ACEOF
38935 /* end confdefs.h. */
38938 $ac_includes_default
38954 rm -f conftest.$ac_objext conftest$ac_exeext
38955 if { (ac_try="$ac_link"
38956 case "(($ac_try" in
38957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38958 *) ac_try_echo=$ac_try;;
38960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38961 (eval "$ac_link") 2>conftest.er1
38963 grep -v '^ *+' conftest.er1 >conftest.err
38965 cat conftest.err >&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); } && {
38968 test -z "$ac_c_werror_flag" ||
38969 test ! -s conftest.err
38970 } && test -s conftest$ac_exeext &&
38971 $as_test_x conftest$ac_exeext; then
38972 eval wx_cv_func_$wx_func=yes
38974 echo "$as_me: failed program was:" >&5
38975 sed 's/^/| /' conftest.$ac_ext >&5
38977 eval wx_cv_func_$wx_func=no
38980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38981 conftest$ac_exeext conftest.$ac_ext
38984 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38985 { echo "$as_me:$LINENO: result: $ac_res" >&5
38986 echo "${ECHO_T}$ac_res" >&6; }
38988 if eval test \$wx_cv_func_$wx_func = yes
38990 cat >>confdefs.h <<_ACEOF
38991 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38997 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38998 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39015 for wx_func in uname
39017 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39018 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39019 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39020 echo $ECHO_N "(cached) $ECHO_C" >&6
39023 cat >conftest.$ac_ext <<_ACEOF
39027 cat confdefs.h >>conftest.$ac_ext
39028 cat >>conftest.$ac_ext <<_ACEOF
39029 /* end confdefs.h. */
39031 #include <sys/utsname.h>
39032 $ac_includes_default
39048 rm -f conftest.$ac_objext conftest$ac_exeext
39049 if { (ac_try="$ac_link"
39050 case "(($ac_try" in
39051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39052 *) ac_try_echo=$ac_try;;
39054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39055 (eval "$ac_link") 2>conftest.er1
39057 grep -v '^ *+' conftest.er1 >conftest.err
39059 cat conftest.err >&5
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); } && {
39062 test -z "$ac_c_werror_flag" ||
39063 test ! -s conftest.err
39064 } && test -s conftest$ac_exeext &&
39065 $as_test_x conftest$ac_exeext; then
39066 eval wx_cv_func_$wx_func=yes
39068 echo "$as_me: failed program was:" >&5
39069 sed 's/^/| /' conftest.$ac_ext >&5
39071 eval wx_cv_func_$wx_func=no
39074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39075 conftest$ac_exeext conftest.$ac_ext
39078 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39079 { echo "$as_me:$LINENO: result: $ac_res" >&5
39080 echo "${ECHO_T}$ac_res" >&6; }
39082 if eval test \$wx_cv_func_$wx_func = yes
39084 cat >>confdefs.h <<_ACEOF
39085 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39095 if test "$wx_cv_func_uname" != yes; then
39097 for wx_func in gethostname
39099 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39100 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39101 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39102 echo $ECHO_N "(cached) $ECHO_C" >&6
39105 cat >conftest.$ac_ext <<_ACEOF
39109 cat confdefs.h >>conftest.$ac_ext
39110 cat >>conftest.$ac_ext <<_ACEOF
39111 /* end confdefs.h. */
39114 $ac_includes_default
39130 rm -f conftest.$ac_objext conftest$ac_exeext
39131 if { (ac_try="$ac_link"
39132 case "(($ac_try" in
39133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39134 *) ac_try_echo=$ac_try;;
39136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39137 (eval "$ac_link") 2>conftest.er1
39139 grep -v '^ *+' conftest.er1 >conftest.err
39141 cat conftest.err >&5
39142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39143 (exit $ac_status); } && {
39144 test -z "$ac_c_werror_flag" ||
39145 test ! -s conftest.err
39146 } && test -s conftest$ac_exeext &&
39147 $as_test_x conftest$ac_exeext; then
39148 eval wx_cv_func_$wx_func=yes
39150 echo "$as_me: failed program was:" >&5
39151 sed 's/^/| /' conftest.$ac_ext >&5
39153 eval wx_cv_func_$wx_func=no
39156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39157 conftest$ac_exeext conftest.$ac_ext
39160 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39161 { echo "$as_me:$LINENO: result: $ac_res" >&5
39162 echo "${ECHO_T}$ac_res" >&6; }
39164 if eval test \$wx_cv_func_$wx_func = yes
39166 cat >>confdefs.h <<_ACEOF
39167 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39180 for wx_func in strtok_r
39182 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39183 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39184 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39185 echo $ECHO_N "(cached) $ECHO_C" >&6
39188 cat >conftest.$ac_ext <<_ACEOF
39192 cat confdefs.h >>conftest.$ac_ext
39193 cat >>conftest.$ac_ext <<_ACEOF
39194 /* end confdefs.h. */
39197 $ac_includes_default
39213 rm -f conftest.$ac_objext conftest$ac_exeext
39214 if { (ac_try="$ac_link"
39215 case "(($ac_try" in
39216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39217 *) ac_try_echo=$ac_try;;
39219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39220 (eval "$ac_link") 2>conftest.er1
39222 grep -v '^ *+' conftest.er1 >conftest.err
39224 cat conftest.err >&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); } && {
39227 test -z "$ac_c_werror_flag" ||
39228 test ! -s conftest.err
39229 } && test -s conftest$ac_exeext &&
39230 $as_test_x conftest$ac_exeext; then
39231 eval wx_cv_func_$wx_func=yes
39233 echo "$as_me: failed program was:" >&5
39234 sed 's/^/| /' conftest.$ac_ext >&5
39236 eval wx_cv_func_$wx_func=no
39239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39240 conftest$ac_exeext conftest.$ac_ext
39243 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39244 { echo "$as_me:$LINENO: result: $ac_res" >&5
39245 echo "${ECHO_T}$ac_res" >&6; }
39247 if eval test \$wx_cv_func_$wx_func = yes
39249 cat >>confdefs.h <<_ACEOF
39250 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39263 for ac_func in inet_addr
39265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39266 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39271 cat >conftest.$ac_ext <<_ACEOF
39274 cat confdefs.h >>conftest.$ac_ext
39275 cat >>conftest.$ac_ext <<_ACEOF
39276 /* end confdefs.h. */
39277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39279 #define $ac_func innocuous_$ac_func
39281 /* System header to define __stub macros and hopefully few prototypes,
39282 which can conflict with char $ac_func (); below.
39283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39284 <limits.h> exists even on freestanding compilers. */
39287 # include <limits.h>
39289 # include <assert.h>
39294 /* Override any GCC internal prototype to avoid an error.
39295 Use char because int might match the return type of a GCC
39296 builtin and then its argument prototype would still apply. */
39301 /* The GNU C library defines this for functions which it implements
39302 to always fail with ENOSYS. Some functions are actually named
39303 something starting with __ and the normal name is an alias. */
39304 #if defined __stub_$ac_func || defined __stub___$ac_func
39311 return $ac_func ();
39316 rm -f conftest.$ac_objext conftest$ac_exeext
39317 if { (ac_try="$ac_link"
39318 case "(($ac_try" in
39319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39320 *) ac_try_echo=$ac_try;;
39322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39323 (eval "$ac_link") 2>conftest.er1
39325 grep -v '^ *+' conftest.er1 >conftest.err
39327 cat conftest.err >&5
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); } && {
39330 test -z "$ac_c_werror_flag" ||
39331 test ! -s conftest.err
39332 } && test -s conftest$ac_exeext &&
39333 $as_test_x conftest$ac_exeext; then
39334 eval "$as_ac_var=yes"
39336 echo "$as_me: failed program was:" >&5
39337 sed 's/^/| /' conftest.$ac_ext >&5
39339 eval "$as_ac_var=no"
39342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39343 conftest$ac_exeext conftest.$ac_ext
39345 ac_res=`eval echo '${'$as_ac_var'}'`
39346 { echo "$as_me:$LINENO: result: $ac_res" >&5
39347 echo "${ECHO_T}$ac_res" >&6; }
39348 if test `eval echo '${'$as_ac_var'}'` = yes; then
39349 cat >>confdefs.h <<_ACEOF
39350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39352 cat >>confdefs.h <<\_ACEOF
39353 #define HAVE_INET_ADDR 1
39358 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39359 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39360 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39361 echo $ECHO_N "(cached) $ECHO_C" >&6
39363 ac_check_lib_save_LIBS=$LIBS
39365 cat >conftest.$ac_ext <<_ACEOF
39368 cat confdefs.h >>conftest.$ac_ext
39369 cat >>conftest.$ac_ext <<_ACEOF
39370 /* end confdefs.h. */
39372 /* Override any GCC internal prototype to avoid an error.
39373 Use char because int might match the return type of a GCC
39374 builtin and then its argument prototype would still apply. */
39382 return inet_addr ();
39387 rm -f conftest.$ac_objext conftest$ac_exeext
39388 if { (ac_try="$ac_link"
39389 case "(($ac_try" in
39390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39391 *) ac_try_echo=$ac_try;;
39393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39394 (eval "$ac_link") 2>conftest.er1
39396 grep -v '^ *+' conftest.er1 >conftest.err
39398 cat conftest.err >&5
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); } && {
39401 test -z "$ac_c_werror_flag" ||
39402 test ! -s conftest.err
39403 } && test -s conftest$ac_exeext &&
39404 $as_test_x conftest$ac_exeext; then
39405 ac_cv_lib_nsl_inet_addr=yes
39407 echo "$as_me: failed program was:" >&5
39408 sed 's/^/| /' conftest.$ac_ext >&5
39410 ac_cv_lib_nsl_inet_addr=no
39413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39414 conftest$ac_exeext conftest.$ac_ext
39415 LIBS=$ac_check_lib_save_LIBS
39417 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39418 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39419 if test $ac_cv_lib_nsl_inet_addr = yes; then
39423 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39424 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39425 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39426 echo $ECHO_N "(cached) $ECHO_C" >&6
39428 ac_check_lib_save_LIBS=$LIBS
39429 LIBS="-lresolv $LIBS"
39430 cat >conftest.$ac_ext <<_ACEOF
39433 cat confdefs.h >>conftest.$ac_ext
39434 cat >>conftest.$ac_ext <<_ACEOF
39435 /* end confdefs.h. */
39437 /* Override any GCC internal prototype to avoid an error.
39438 Use char because int might match the return type of a GCC
39439 builtin and then its argument prototype would still apply. */
39447 return inet_addr ();
39452 rm -f conftest.$ac_objext conftest$ac_exeext
39453 if { (ac_try="$ac_link"
39454 case "(($ac_try" in
39455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39456 *) ac_try_echo=$ac_try;;
39458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39459 (eval "$ac_link") 2>conftest.er1
39461 grep -v '^ *+' conftest.er1 >conftest.err
39463 cat conftest.err >&5
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); } && {
39466 test -z "$ac_c_werror_flag" ||
39467 test ! -s conftest.err
39468 } && test -s conftest$ac_exeext &&
39469 $as_test_x conftest$ac_exeext; then
39470 ac_cv_lib_resolv_inet_addr=yes
39472 echo "$as_me: failed program was:" >&5
39473 sed 's/^/| /' conftest.$ac_ext >&5
39475 ac_cv_lib_resolv_inet_addr=no
39478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39479 conftest$ac_exeext conftest.$ac_ext
39480 LIBS=$ac_check_lib_save_LIBS
39482 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39483 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39484 if test $ac_cv_lib_resolv_inet_addr = yes; then
39488 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39489 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39490 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39491 echo $ECHO_N "(cached) $ECHO_C" >&6
39493 ac_check_lib_save_LIBS=$LIBS
39494 LIBS="-lsocket $LIBS"
39495 cat >conftest.$ac_ext <<_ACEOF
39498 cat confdefs.h >>conftest.$ac_ext
39499 cat >>conftest.$ac_ext <<_ACEOF
39500 /* end confdefs.h. */
39502 /* Override any GCC internal prototype to avoid an error.
39503 Use char because int might match the return type of a GCC
39504 builtin and then its argument prototype would still apply. */
39512 return inet_addr ();
39517 rm -f conftest.$ac_objext conftest$ac_exeext
39518 if { (ac_try="$ac_link"
39519 case "(($ac_try" in
39520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39521 *) ac_try_echo=$ac_try;;
39523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39524 (eval "$ac_link") 2>conftest.er1
39526 grep -v '^ *+' conftest.er1 >conftest.err
39528 cat conftest.err >&5
39529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530 (exit $ac_status); } && {
39531 test -z "$ac_c_werror_flag" ||
39532 test ! -s conftest.err
39533 } && test -s conftest$ac_exeext &&
39534 $as_test_x conftest$ac_exeext; then
39535 ac_cv_lib_socket_inet_addr=yes
39537 echo "$as_me: failed program was:" >&5
39538 sed 's/^/| /' conftest.$ac_ext >&5
39540 ac_cv_lib_socket_inet_addr=no
39543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39544 conftest$ac_exeext conftest.$ac_ext
39545 LIBS=$ac_check_lib_save_LIBS
39547 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39548 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39549 if test $ac_cv_lib_socket_inet_addr = yes; then
39569 for ac_func in inet_aton
39571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39572 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39574 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39575 echo $ECHO_N "(cached) $ECHO_C" >&6
39577 cat >conftest.$ac_ext <<_ACEOF
39580 cat confdefs.h >>conftest.$ac_ext
39581 cat >>conftest.$ac_ext <<_ACEOF
39582 /* end confdefs.h. */
39583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39585 #define $ac_func innocuous_$ac_func
39587 /* System header to define __stub macros and hopefully few prototypes,
39588 which can conflict with char $ac_func (); below.
39589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39590 <limits.h> exists even on freestanding compilers. */
39593 # include <limits.h>
39595 # include <assert.h>
39600 /* Override any GCC internal prototype to avoid an error.
39601 Use char because int might match the return type of a GCC
39602 builtin and then its argument prototype would still apply. */
39607 /* The GNU C library defines this for functions which it implements
39608 to always fail with ENOSYS. Some functions are actually named
39609 something starting with __ and the normal name is an alias. */
39610 #if defined __stub_$ac_func || defined __stub___$ac_func
39617 return $ac_func ();
39622 rm -f conftest.$ac_objext conftest$ac_exeext
39623 if { (ac_try="$ac_link"
39624 case "(($ac_try" in
39625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39626 *) ac_try_echo=$ac_try;;
39628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39629 (eval "$ac_link") 2>conftest.er1
39631 grep -v '^ *+' conftest.er1 >conftest.err
39633 cat conftest.err >&5
39634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39635 (exit $ac_status); } && {
39636 test -z "$ac_c_werror_flag" ||
39637 test ! -s conftest.err
39638 } && test -s conftest$ac_exeext &&
39639 $as_test_x conftest$ac_exeext; then
39640 eval "$as_ac_var=yes"
39642 echo "$as_me: failed program was:" >&5
39643 sed 's/^/| /' conftest.$ac_ext >&5
39645 eval "$as_ac_var=no"
39648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39649 conftest$ac_exeext conftest.$ac_ext
39651 ac_res=`eval echo '${'$as_ac_var'}'`
39652 { echo "$as_me:$LINENO: result: $ac_res" >&5
39653 echo "${ECHO_T}$ac_res" >&6; }
39654 if test `eval echo '${'$as_ac_var'}'` = yes; then
39655 cat >>confdefs.h <<_ACEOF
39656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39658 cat >>confdefs.h <<\_ACEOF
39659 #define HAVE_INET_ATON 1
39664 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39665 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39666 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39667 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39668 echo $ECHO_N "(cached) $ECHO_C" >&6
39670 ac_check_lib_save_LIBS=$LIBS
39671 LIBS="-l$INET_LINK $LIBS"
39672 cat >conftest.$ac_ext <<_ACEOF
39675 cat confdefs.h >>conftest.$ac_ext
39676 cat >>conftest.$ac_ext <<_ACEOF
39677 /* end confdefs.h. */
39679 /* Override any GCC internal prototype to avoid an error.
39680 Use char because int might match the return type of a GCC
39681 builtin and then its argument prototype would still apply. */
39689 return inet_aton ();
39694 rm -f conftest.$ac_objext conftest$ac_exeext
39695 if { (ac_try="$ac_link"
39696 case "(($ac_try" in
39697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39698 *) ac_try_echo=$ac_try;;
39700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39701 (eval "$ac_link") 2>conftest.er1
39703 grep -v '^ *+' conftest.er1 >conftest.err
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } && {
39708 test -z "$ac_c_werror_flag" ||
39709 test ! -s conftest.err
39710 } && test -s conftest$ac_exeext &&
39711 $as_test_x conftest$ac_exeext; then
39712 eval "$as_ac_Lib=yes"
39714 echo "$as_me: failed program was:" >&5
39715 sed 's/^/| /' conftest.$ac_ext >&5
39717 eval "$as_ac_Lib=no"
39720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39721 conftest$ac_exeext conftest.$ac_ext
39722 LIBS=$ac_check_lib_save_LIBS
39724 ac_res=`eval echo '${'$as_ac_Lib'}'`
39725 { echo "$as_me:$LINENO: result: $ac_res" >&5
39726 echo "${ECHO_T}$ac_res" >&6; }
39727 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39728 cat >>confdefs.h <<\_ACEOF
39729 #define HAVE_INET_ATON 1
39739 if test "x$INET_LINK" != "x"; then
39740 cat >>confdefs.h <<\_ACEOF
39741 #define HAVE_INET_ADDR 1
39744 INET_LINK=" -l$INET_LINK"
39748 for wx_func in fdopen
39750 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39751 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39752 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39753 echo $ECHO_N "(cached) $ECHO_C" >&6
39756 cat >conftest.$ac_ext <<_ACEOF
39760 cat confdefs.h >>conftest.$ac_ext
39761 cat >>conftest.$ac_ext <<_ACEOF
39762 /* end confdefs.h. */
39765 $ac_includes_default
39781 rm -f conftest.$ac_objext conftest$ac_exeext
39782 if { (ac_try="$ac_link"
39783 case "(($ac_try" in
39784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39785 *) ac_try_echo=$ac_try;;
39787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39788 (eval "$ac_link") 2>conftest.er1
39790 grep -v '^ *+' conftest.er1 >conftest.err
39792 cat conftest.err >&5
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); } && {
39795 test -z "$ac_c_werror_flag" ||
39796 test ! -s conftest.err
39797 } && test -s conftest$ac_exeext &&
39798 $as_test_x conftest$ac_exeext; then
39799 eval wx_cv_func_$wx_func=yes
39801 echo "$as_me: failed program was:" >&5
39802 sed 's/^/| /' conftest.$ac_ext >&5
39804 eval wx_cv_func_$wx_func=no
39807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39808 conftest$ac_exeext conftest.$ac_ext
39811 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39812 { echo "$as_me:$LINENO: result: $ac_res" >&5
39813 echo "${ECHO_T}$ac_res" >&6; }
39815 if eval test \$wx_cv_func_$wx_func = yes
39817 cat >>confdefs.h <<_ACEOF
39818 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39829 if test "$wxUSE_TARSTREAM" = "yes"; then
39831 for wx_func in sysconf
39833 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39834 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39835 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39836 echo $ECHO_N "(cached) $ECHO_C" >&6
39839 cat >conftest.$ac_ext <<_ACEOF
39843 cat confdefs.h >>conftest.$ac_ext
39844 cat >>conftest.$ac_ext <<_ACEOF
39845 /* end confdefs.h. */
39848 $ac_includes_default
39864 rm -f conftest.$ac_objext conftest$ac_exeext
39865 if { (ac_try="$ac_link"
39866 case "(($ac_try" in
39867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39868 *) ac_try_echo=$ac_try;;
39870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39871 (eval "$ac_link") 2>conftest.er1
39873 grep -v '^ *+' conftest.er1 >conftest.err
39875 cat conftest.err >&5
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); } && {
39878 test -z "$ac_c_werror_flag" ||
39879 test ! -s conftest.err
39880 } && test -s conftest$ac_exeext &&
39881 $as_test_x conftest$ac_exeext; then
39882 eval wx_cv_func_$wx_func=yes
39884 echo "$as_me: failed program was:" >&5
39885 sed 's/^/| /' conftest.$ac_ext >&5
39887 eval wx_cv_func_$wx_func=no
39890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39891 conftest$ac_exeext conftest.$ac_ext
39894 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39895 { echo "$as_me:$LINENO: result: $ac_res" >&5
39896 echo "${ECHO_T}$ac_res" >&6; }
39898 if eval test \$wx_cv_func_$wx_func = yes
39900 cat >>confdefs.h <<_ACEOF
39901 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39913 for wx_func in getpwuid_r
39915 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39916 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39917 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39918 echo $ECHO_N "(cached) $ECHO_C" >&6
39921 cat >conftest.$ac_ext <<_ACEOF
39925 cat confdefs.h >>conftest.$ac_ext
39926 cat >>conftest.$ac_ext <<_ACEOF
39927 /* end confdefs.h. */
39933 $ac_includes_default
39943 struct passwd pw, *ppw;
39945 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39953 rm -f conftest.$ac_objext conftest$ac_exeext
39954 if { (ac_try="$ac_link"
39955 case "(($ac_try" in
39956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39957 *) ac_try_echo=$ac_try;;
39959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39960 (eval "$ac_link") 2>conftest.er1
39962 grep -v '^ *+' conftest.er1 >conftest.err
39964 cat conftest.err >&5
39965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39966 (exit $ac_status); } && {
39967 test -z "$ac_c_werror_flag" ||
39968 test ! -s conftest.err
39969 } && test -s conftest$ac_exeext &&
39970 $as_test_x conftest$ac_exeext; then
39971 eval wx_cv_func_$wx_func=yes
39973 echo "$as_me: failed program was:" >&5
39974 sed 's/^/| /' conftest.$ac_ext >&5
39976 eval wx_cv_func_$wx_func=no
39979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39980 conftest$ac_exeext conftest.$ac_ext
39983 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39984 { echo "$as_me:$LINENO: result: $ac_res" >&5
39985 echo "${ECHO_T}$ac_res" >&6; }
39987 if eval test \$wx_cv_func_$wx_func = yes
39989 cat >>confdefs.h <<_ACEOF
39990 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40002 for wx_func in getgrgid_r
40004 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40005 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40006 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40007 echo $ECHO_N "(cached) $ECHO_C" >&6
40010 cat >conftest.$ac_ext <<_ACEOF
40014 cat confdefs.h >>conftest.$ac_ext
40015 cat >>conftest.$ac_ext <<_ACEOF
40016 /* end confdefs.h. */
40022 $ac_includes_default
40032 struct group grp, *pgrp;
40034 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40042 rm -f conftest.$ac_objext conftest$ac_exeext
40043 if { (ac_try="$ac_link"
40044 case "(($ac_try" in
40045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40046 *) ac_try_echo=$ac_try;;
40048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40049 (eval "$ac_link") 2>conftest.er1
40051 grep -v '^ *+' conftest.er1 >conftest.err
40053 cat conftest.err >&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } && {
40056 test -z "$ac_c_werror_flag" ||
40057 test ! -s conftest.err
40058 } && test -s conftest$ac_exeext &&
40059 $as_test_x conftest$ac_exeext; then
40060 eval wx_cv_func_$wx_func=yes
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.$ac_ext >&5
40065 eval wx_cv_func_$wx_func=no
40068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40069 conftest$ac_exeext conftest.$ac_ext
40072 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40073 { echo "$as_me:$LINENO: result: $ac_res" >&5
40074 echo "${ECHO_T}$ac_res" >&6; }
40076 if eval test \$wx_cv_func_$wx_func = yes
40078 cat >>confdefs.h <<_ACEOF
40079 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40095 cat >confcache <<\_ACEOF
40096 # This file is a shell script that caches the results of configure
40097 # tests run on this system so they can be shared between configure
40098 # scripts and configure runs, see configure's option --config-cache.
40099 # It is not useful on other systems. If it contains results you don't
40100 # want to keep, you may remove or edit it.
40102 # config.status only pays attention to the cache file if you give it
40103 # the --recheck option to rerun configure.
40105 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40106 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40107 # following values.
40111 # The following way of writing the cache mishandles newlines in values,
40112 # but we know of no workaround that is simple, portable, and efficient.
40113 # So, we kill variables containing newlines.
40114 # Ultrix sh set writes to stderr and can't be redirected directly,
40115 # and sets the high bit in the cache file unless we assign to the vars.
40117 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40118 eval ac_val=\$$ac_var
40122 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40123 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40126 _ | IFS | as_nl) ;; #(
40127 *) $as_unset $ac_var ;;
40133 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40134 *${as_nl}ac_space=\ *)
40135 # `set' does not quote correctly, so add quotes (double-quote
40136 # substitution turns \\\\ into \\, and sed turns \\ into \).
40139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40142 # `set' quotes correctly as required by POSIX, so do not add quotes.
40143 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40152 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40154 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40156 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40157 if test -w "$cache_file"; then
40158 test "x$cache_file" != "x/dev/null" &&
40159 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40160 echo "$as_me: updating cache $cache_file" >&6;}
40161 cat confcache >$cache_file
40163 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40164 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40170 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40176 if test "$wxUSE_THREADS" = "yes" ; then
40177 if test "$USE_BEOS" = 1; then
40178 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40179 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40184 if test "$wxUSE_THREADS" = "yes" ; then
40187 THREAD_OPTS="-pthread"
40188 if test "x$SUNCXX" = xyes; then
40189 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40193 *-*-solaris2* | *-*-sunos4* )
40194 if test "x$GCC" = "xyes"; then
40195 THREAD_OPTS="-pthreads $THREAD_OPTS"
40199 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40201 *-*-darwin* | *-*-cygwin* )
40205 THREAD_OPTS="pthreads"
40208 if test "x$GCC" = "xyes"; then
40209 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40217 if test "x$GCC" = "xyes"; then
40227 if test "x$GCC" != "xyes"; then
40228 THREAD_OPTS="-Ethread"
40235 THREAD_OPTS="none pthread"
40239 THREAD_OPTS="$THREAD_OPTS pthread none"
40244 for flag in $THREAD_OPTS; do
40247 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40248 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40252 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40253 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40254 THREADS_CFLAGS="$flag"
40258 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40259 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40260 THREADS_LINK="-l$flag"
40265 save_CFLAGS="$CFLAGS"
40266 LIBS="$THREADS_LINK $LIBS"
40267 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40269 cat >conftest.$ac_ext <<_ACEOF
40272 cat confdefs.h >>conftest.$ac_ext
40273 cat >>conftest.$ac_ext <<_ACEOF
40274 /* end confdefs.h. */
40275 #include <pthread.h>
40279 pthread_create(0,0,0,0);
40284 rm -f conftest.$ac_objext conftest$ac_exeext
40285 if { (ac_try="$ac_link"
40286 case "(($ac_try" in
40287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40288 *) ac_try_echo=$ac_try;;
40290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40291 (eval "$ac_link") 2>conftest.er1
40293 grep -v '^ *+' conftest.er1 >conftest.err
40295 cat conftest.err >&5
40296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40297 (exit $ac_status); } && {
40298 test -z "$ac_c_werror_flag" ||
40299 test ! -s conftest.err
40300 } && test -s conftest$ac_exeext &&
40301 $as_test_x conftest$ac_exeext; then
40304 echo "$as_me: failed program was:" >&5
40305 sed 's/^/| /' conftest.$ac_ext >&5
40310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40311 conftest$ac_exeext conftest.$ac_ext
40314 CFLAGS="$save_CFLAGS"
40316 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40317 echo "${ECHO_T}$THREADS_OK" >&6; }
40318 if test "x$THREADS_OK" = "xyes"; then
40326 if test "x$THREADS_OK" != "xyes"; then
40328 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40329 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40331 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40332 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40333 LIBS="$THREADS_LINK $LIBS"
40335 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40336 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40340 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40341 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40342 flag="-D_THREAD_SAFE"
40345 flag="-D_THREAD_SAFE"
40348 flag="-D_REENTRANT"
40349 if test "x$GCC" != "xyes"; then
40350 flag="$flag -D_RWSTD_MULTI_THREAD"
40353 *solaris* | alpha*-osf*)
40354 flag="-D_REENTRANT"
40357 { echo "$as_me:$LINENO: result: ${flag}" >&5
40358 echo "${ECHO_T}${flag}" >&6; }
40359 if test "x$flag" != xno; then
40360 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40363 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40367 if test "$wxUSE_THREADS" = "yes" ; then
40369 for ac_func in thr_setconcurrency
40371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40375 echo $ECHO_N "(cached) $ECHO_C" >&6
40377 cat >conftest.$ac_ext <<_ACEOF
40380 cat confdefs.h >>conftest.$ac_ext
40381 cat >>conftest.$ac_ext <<_ACEOF
40382 /* end confdefs.h. */
40383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40385 #define $ac_func innocuous_$ac_func
40387 /* System header to define __stub macros and hopefully few prototypes,
40388 which can conflict with char $ac_func (); below.
40389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40390 <limits.h> exists even on freestanding compilers. */
40393 # include <limits.h>
40395 # include <assert.h>
40400 /* Override any GCC internal prototype to avoid an error.
40401 Use char because int might match the return type of a GCC
40402 builtin and then its argument prototype would still apply. */
40407 /* The GNU C library defines this for functions which it implements
40408 to always fail with ENOSYS. Some functions are actually named
40409 something starting with __ and the normal name is an alias. */
40410 #if defined __stub_$ac_func || defined __stub___$ac_func
40417 return $ac_func ();
40422 rm -f conftest.$ac_objext conftest$ac_exeext
40423 if { (ac_try="$ac_link"
40424 case "(($ac_try" in
40425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40426 *) ac_try_echo=$ac_try;;
40428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40429 (eval "$ac_link") 2>conftest.er1
40431 grep -v '^ *+' conftest.er1 >conftest.err
40433 cat conftest.err >&5
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); } && {
40436 test -z "$ac_c_werror_flag" ||
40437 test ! -s conftest.err
40438 } && test -s conftest$ac_exeext &&
40439 $as_test_x conftest$ac_exeext; then
40440 eval "$as_ac_var=yes"
40442 echo "$as_me: failed program was:" >&5
40443 sed 's/^/| /' conftest.$ac_ext >&5
40445 eval "$as_ac_var=no"
40448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40449 conftest$ac_exeext conftest.$ac_ext
40451 ac_res=`eval echo '${'$as_ac_var'}'`
40452 { echo "$as_me:$LINENO: result: $ac_res" >&5
40453 echo "${ECHO_T}$ac_res" >&6; }
40454 if test `eval echo '${'$as_ac_var'}'` = yes; then
40455 cat >>confdefs.h <<_ACEOF
40456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40463 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40464 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40465 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40466 echo $ECHO_N "(cached) $ECHO_C" >&6
40470 ac_cpp='$CXXCPP $CPPFLAGS'
40471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40475 cat >conftest.$ac_ext <<_ACEOF
40478 cat confdefs.h >>conftest.$ac_ext
40479 cat >>conftest.$ac_ext <<_ACEOF
40480 /* end confdefs.h. */
40481 #include <pthread.h>
40482 void ThreadCleanupFunc(void *p);
40489 pthread_cleanup_push(ThreadCleanupFunc, p);
40490 pthread_cleanup_pop(0);
40496 rm -f conftest.$ac_objext
40497 if { (ac_try="$ac_compile"
40498 case "(($ac_try" in
40499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40500 *) ac_try_echo=$ac_try;;
40502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40503 (eval "$ac_compile") 2>conftest.er1
40505 grep -v '^ *+' conftest.er1 >conftest.err
40507 cat conftest.err >&5
40508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40509 (exit $ac_status); } && {
40510 test -z "$ac_cxx_werror_flag" ||
40511 test ! -s conftest.err
40512 } && test -s conftest.$ac_objext; then
40514 wx_cv_func_pthread_cleanup=yes
40517 echo "$as_me: failed program was:" >&5
40518 sed 's/^/| /' conftest.$ac_ext >&5
40521 wx_cv_func_pthread_cleanup=no
40526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40528 ac_cpp='$CPP $CPPFLAGS'
40529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40535 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40536 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40537 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40538 cat >>confdefs.h <<\_ACEOF
40539 #define wxHAVE_PTHREAD_CLEANUP 1
40545 for ac_header in sched.h
40547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40551 echo $ECHO_N "(cached) $ECHO_C" >&6
40553 cat >conftest.$ac_ext <<_ACEOF
40556 cat confdefs.h >>conftest.$ac_ext
40557 cat >>conftest.$ac_ext <<_ACEOF
40558 /* end confdefs.h. */
40559 $ac_includes_default
40561 #include <$ac_header>
40563 rm -f conftest.$ac_objext
40564 if { (ac_try="$ac_compile"
40565 case "(($ac_try" in
40566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40567 *) ac_try_echo=$ac_try;;
40569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40570 (eval "$ac_compile") 2>conftest.er1
40572 grep -v '^ *+' conftest.er1 >conftest.err
40574 cat conftest.err >&5
40575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40576 (exit $ac_status); } && {
40577 test -z "$ac_c_werror_flag" ||
40578 test ! -s conftest.err
40579 } && test -s conftest.$ac_objext; then
40580 eval "$as_ac_Header=yes"
40582 echo "$as_me: failed program was:" >&5
40583 sed 's/^/| /' conftest.$ac_ext >&5
40585 eval "$as_ac_Header=no"
40588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40590 ac_res=`eval echo '${'$as_ac_Header'}'`
40591 { echo "$as_me:$LINENO: result: $ac_res" >&5
40592 echo "${ECHO_T}$ac_res" >&6; }
40593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40594 cat >>confdefs.h <<_ACEOF
40595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40602 if test "$ac_cv_header_sched_h" = "yes"; then
40603 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40604 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40605 if test "${ac_cv_func_sched_yield+set}" = set; then
40606 echo $ECHO_N "(cached) $ECHO_C" >&6
40608 cat >conftest.$ac_ext <<_ACEOF
40611 cat confdefs.h >>conftest.$ac_ext
40612 cat >>conftest.$ac_ext <<_ACEOF
40613 /* end confdefs.h. */
40614 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40616 #define sched_yield innocuous_sched_yield
40618 /* System header to define __stub macros and hopefully few prototypes,
40619 which can conflict with char sched_yield (); below.
40620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40621 <limits.h> exists even on freestanding compilers. */
40624 # include <limits.h>
40626 # include <assert.h>
40631 /* Override any GCC internal prototype to avoid an error.
40632 Use char because int might match the return type of a GCC
40633 builtin and then its argument prototype would still apply. */
40637 char sched_yield ();
40638 /* The GNU C library defines this for functions which it implements
40639 to always fail with ENOSYS. Some functions are actually named
40640 something starting with __ and the normal name is an alias. */
40641 #if defined __stub_sched_yield || defined __stub___sched_yield
40648 return sched_yield ();
40653 rm -f conftest.$ac_objext conftest$ac_exeext
40654 if { (ac_try="$ac_link"
40655 case "(($ac_try" in
40656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40657 *) ac_try_echo=$ac_try;;
40659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40660 (eval "$ac_link") 2>conftest.er1
40662 grep -v '^ *+' conftest.er1 >conftest.err
40664 cat conftest.err >&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } && {
40667 test -z "$ac_c_werror_flag" ||
40668 test ! -s conftest.err
40669 } && test -s conftest$ac_exeext &&
40670 $as_test_x conftest$ac_exeext; then
40671 ac_cv_func_sched_yield=yes
40673 echo "$as_me: failed program was:" >&5
40674 sed 's/^/| /' conftest.$ac_ext >&5
40676 ac_cv_func_sched_yield=no
40679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40680 conftest$ac_exeext conftest.$ac_ext
40682 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40683 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40684 if test $ac_cv_func_sched_yield = yes; then
40685 cat >>confdefs.h <<\_ACEOF
40686 #define HAVE_SCHED_YIELD 1
40691 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40692 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40693 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40694 echo $ECHO_N "(cached) $ECHO_C" >&6
40696 ac_check_lib_save_LIBS=$LIBS
40697 LIBS="-lposix4 $LIBS"
40698 cat >conftest.$ac_ext <<_ACEOF
40701 cat confdefs.h >>conftest.$ac_ext
40702 cat >>conftest.$ac_ext <<_ACEOF
40703 /* end confdefs.h. */
40705 /* Override any GCC internal prototype to avoid an error.
40706 Use char because int might match the return type of a GCC
40707 builtin and then its argument prototype would still apply. */
40711 char sched_yield ();
40715 return sched_yield ();
40720 rm -f conftest.$ac_objext conftest$ac_exeext
40721 if { (ac_try="$ac_link"
40722 case "(($ac_try" in
40723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40724 *) ac_try_echo=$ac_try;;
40726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40727 (eval "$ac_link") 2>conftest.er1
40729 grep -v '^ *+' conftest.er1 >conftest.err
40731 cat conftest.err >&5
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); } && {
40734 test -z "$ac_c_werror_flag" ||
40735 test ! -s conftest.err
40736 } && test -s conftest$ac_exeext &&
40737 $as_test_x conftest$ac_exeext; then
40738 ac_cv_lib_posix4_sched_yield=yes
40740 echo "$as_me: failed program was:" >&5
40741 sed 's/^/| /' conftest.$ac_ext >&5
40743 ac_cv_lib_posix4_sched_yield=no
40746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40747 conftest$ac_exeext conftest.$ac_ext
40748 LIBS=$ac_check_lib_save_LIBS
40750 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40751 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40752 if test $ac_cv_lib_posix4_sched_yield = yes; then
40753 cat >>confdefs.h <<\_ACEOF
40754 #define HAVE_SCHED_YIELD 1
40756 POSIX4_LINK=" -lposix4"
40758 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40759 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40770 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40771 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40772 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40775 cat >conftest.$ac_ext <<_ACEOF
40778 cat confdefs.h >>conftest.$ac_ext
40779 cat >>conftest.$ac_ext <<_ACEOF
40780 /* end confdefs.h. */
40781 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40783 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40785 /* System header to define __stub macros and hopefully few prototypes,
40786 which can conflict with char pthread_attr_getschedpolicy (); below.
40787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40788 <limits.h> exists even on freestanding compilers. */
40791 # include <limits.h>
40793 # include <assert.h>
40796 #undef pthread_attr_getschedpolicy
40798 /* Override any GCC internal prototype to avoid an error.
40799 Use char because int might match the return type of a GCC
40800 builtin and then its argument prototype would still apply. */
40804 char pthread_attr_getschedpolicy ();
40805 /* The GNU C library defines this for functions which it implements
40806 to always fail with ENOSYS. Some functions are actually named
40807 something starting with __ and the normal name is an alias. */
40808 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40815 return pthread_attr_getschedpolicy ();
40820 rm -f conftest.$ac_objext conftest$ac_exeext
40821 if { (ac_try="$ac_link"
40822 case "(($ac_try" in
40823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40824 *) ac_try_echo=$ac_try;;
40826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40827 (eval "$ac_link") 2>conftest.er1
40829 grep -v '^ *+' conftest.er1 >conftest.err
40831 cat conftest.err >&5
40832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40833 (exit $ac_status); } && {
40834 test -z "$ac_c_werror_flag" ||
40835 test ! -s conftest.err
40836 } && test -s conftest$ac_exeext &&
40837 $as_test_x conftest$ac_exeext; then
40838 ac_cv_func_pthread_attr_getschedpolicy=yes
40840 echo "$as_me: failed program was:" >&5
40841 sed 's/^/| /' conftest.$ac_ext >&5
40843 ac_cv_func_pthread_attr_getschedpolicy=no
40846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40847 conftest$ac_exeext conftest.$ac_ext
40849 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40850 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40851 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40852 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40853 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40854 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40855 echo $ECHO_N "(cached) $ECHO_C" >&6
40857 cat >conftest.$ac_ext <<_ACEOF
40860 cat confdefs.h >>conftest.$ac_ext
40861 cat >>conftest.$ac_ext <<_ACEOF
40862 /* end confdefs.h. */
40863 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40865 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40867 /* System header to define __stub macros and hopefully few prototypes,
40868 which can conflict with char pthread_attr_setschedparam (); below.
40869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40870 <limits.h> exists even on freestanding compilers. */
40873 # include <limits.h>
40875 # include <assert.h>
40878 #undef pthread_attr_setschedparam
40880 /* Override any GCC internal prototype to avoid an error.
40881 Use char because int might match the return type of a GCC
40882 builtin and then its argument prototype would still apply. */
40886 char pthread_attr_setschedparam ();
40887 /* The GNU C library defines this for functions which it implements
40888 to always fail with ENOSYS. Some functions are actually named
40889 something starting with __ and the normal name is an alias. */
40890 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40897 return pthread_attr_setschedparam ();
40902 rm -f conftest.$ac_objext conftest$ac_exeext
40903 if { (ac_try="$ac_link"
40904 case "(($ac_try" in
40905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40906 *) ac_try_echo=$ac_try;;
40908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40909 (eval "$ac_link") 2>conftest.er1
40911 grep -v '^ *+' conftest.er1 >conftest.err
40913 cat conftest.err >&5
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); } && {
40916 test -z "$ac_c_werror_flag" ||
40917 test ! -s conftest.err
40918 } && test -s conftest$ac_exeext &&
40919 $as_test_x conftest$ac_exeext; then
40920 ac_cv_func_pthread_attr_setschedparam=yes
40922 echo "$as_me: failed program was:" >&5
40923 sed 's/^/| /' conftest.$ac_ext >&5
40925 ac_cv_func_pthread_attr_setschedparam=no
40928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40929 conftest$ac_exeext conftest.$ac_ext
40931 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40932 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40933 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40934 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40935 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40936 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40937 echo $ECHO_N "(cached) $ECHO_C" >&6
40939 cat >conftest.$ac_ext <<_ACEOF
40942 cat confdefs.h >>conftest.$ac_ext
40943 cat >>conftest.$ac_ext <<_ACEOF
40944 /* end confdefs.h. */
40945 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40947 #define sched_get_priority_max innocuous_sched_get_priority_max
40949 /* System header to define __stub macros and hopefully few prototypes,
40950 which can conflict with char sched_get_priority_max (); below.
40951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40952 <limits.h> exists even on freestanding compilers. */
40955 # include <limits.h>
40957 # include <assert.h>
40960 #undef sched_get_priority_max
40962 /* Override any GCC internal prototype to avoid an error.
40963 Use char because int might match the return type of a GCC
40964 builtin and then its argument prototype would still apply. */
40968 char sched_get_priority_max ();
40969 /* The GNU C library defines this for functions which it implements
40970 to always fail with ENOSYS. Some functions are actually named
40971 something starting with __ and the normal name is an alias. */
40972 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40979 return sched_get_priority_max ();
40984 rm -f conftest.$ac_objext conftest$ac_exeext
40985 if { (ac_try="$ac_link"
40986 case "(($ac_try" in
40987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40988 *) ac_try_echo=$ac_try;;
40990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40991 (eval "$ac_link") 2>conftest.er1
40993 grep -v '^ *+' conftest.er1 >conftest.err
40995 cat conftest.err >&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); } && {
40998 test -z "$ac_c_werror_flag" ||
40999 test ! -s conftest.err
41000 } && test -s conftest$ac_exeext &&
41001 $as_test_x conftest$ac_exeext; then
41002 ac_cv_func_sched_get_priority_max=yes
41004 echo "$as_me: failed program was:" >&5
41005 sed 's/^/| /' conftest.$ac_ext >&5
41007 ac_cv_func_sched_get_priority_max=no
41010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41011 conftest$ac_exeext conftest.$ac_ext
41013 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41014 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41015 if test $ac_cv_func_sched_get_priority_max = yes; then
41018 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41019 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41020 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41021 echo $ECHO_N "(cached) $ECHO_C" >&6
41023 ac_check_lib_save_LIBS=$LIBS
41024 LIBS="-lposix4 $LIBS"
41025 cat >conftest.$ac_ext <<_ACEOF
41028 cat confdefs.h >>conftest.$ac_ext
41029 cat >>conftest.$ac_ext <<_ACEOF
41030 /* end confdefs.h. */
41032 /* Override any GCC internal prototype to avoid an error.
41033 Use char because int might match the return type of a GCC
41034 builtin and then its argument prototype would still apply. */
41038 char sched_get_priority_max ();
41042 return sched_get_priority_max ();
41047 rm -f conftest.$ac_objext conftest$ac_exeext
41048 if { (ac_try="$ac_link"
41049 case "(($ac_try" in
41050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41051 *) ac_try_echo=$ac_try;;
41053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41054 (eval "$ac_link") 2>conftest.er1
41056 grep -v '^ *+' conftest.er1 >conftest.err
41058 cat conftest.err >&5
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); } && {
41061 test -z "$ac_c_werror_flag" ||
41062 test ! -s conftest.err
41063 } && test -s conftest$ac_exeext &&
41064 $as_test_x conftest$ac_exeext; then
41065 ac_cv_lib_posix4_sched_get_priority_max=yes
41067 echo "$as_me: failed program was:" >&5
41068 sed 's/^/| /' conftest.$ac_ext >&5
41070 ac_cv_lib_posix4_sched_get_priority_max=no
41073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41074 conftest$ac_exeext conftest.$ac_ext
41075 LIBS=$ac_check_lib_save_LIBS
41077 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41078 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41079 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41082 POSIX4_LINK=" -lposix4"
41096 if test "$HAVE_PRIOR_FUNCS" = 1; then
41097 cat >>confdefs.h <<\_ACEOF
41098 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41102 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41103 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41106 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41107 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41108 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41109 echo $ECHO_N "(cached) $ECHO_C" >&6
41111 cat >conftest.$ac_ext <<_ACEOF
41114 cat confdefs.h >>conftest.$ac_ext
41115 cat >>conftest.$ac_ext <<_ACEOF
41116 /* end confdefs.h. */
41117 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41119 #define pthread_cancel innocuous_pthread_cancel
41121 /* System header to define __stub macros and hopefully few prototypes,
41122 which can conflict with char pthread_cancel (); below.
41123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41124 <limits.h> exists even on freestanding compilers. */
41127 # include <limits.h>
41129 # include <assert.h>
41132 #undef pthread_cancel
41134 /* Override any GCC internal prototype to avoid an error.
41135 Use char because int might match the return type of a GCC
41136 builtin and then its argument prototype would still apply. */
41140 char pthread_cancel ();
41141 /* The GNU C library defines this for functions which it implements
41142 to always fail with ENOSYS. Some functions are actually named
41143 something starting with __ and the normal name is an alias. */
41144 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41151 return pthread_cancel ();
41156 rm -f conftest.$ac_objext conftest$ac_exeext
41157 if { (ac_try="$ac_link"
41158 case "(($ac_try" in
41159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41160 *) ac_try_echo=$ac_try;;
41162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41163 (eval "$ac_link") 2>conftest.er1
41165 grep -v '^ *+' conftest.er1 >conftest.err
41167 cat conftest.err >&5
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); } && {
41170 test -z "$ac_c_werror_flag" ||
41171 test ! -s conftest.err
41172 } && test -s conftest$ac_exeext &&
41173 $as_test_x conftest$ac_exeext; then
41174 ac_cv_func_pthread_cancel=yes
41176 echo "$as_me: failed program was:" >&5
41177 sed 's/^/| /' conftest.$ac_ext >&5
41179 ac_cv_func_pthread_cancel=no
41182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41183 conftest$ac_exeext conftest.$ac_ext
41185 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41186 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41187 if test $ac_cv_func_pthread_cancel = yes; then
41188 cat >>confdefs.h <<\_ACEOF
41189 #define HAVE_PTHREAD_CANCEL 1
41193 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41194 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41198 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41199 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41200 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41201 echo $ECHO_N "(cached) $ECHO_C" >&6
41203 cat >conftest.$ac_ext <<_ACEOF
41206 cat confdefs.h >>conftest.$ac_ext
41207 cat >>conftest.$ac_ext <<_ACEOF
41208 /* end confdefs.h. */
41209 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41211 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41213 /* System header to define __stub macros and hopefully few prototypes,
41214 which can conflict with char pthread_mutex_timedlock (); below.
41215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41216 <limits.h> exists even on freestanding compilers. */
41219 # include <limits.h>
41221 # include <assert.h>
41224 #undef pthread_mutex_timedlock
41226 /* Override any GCC internal prototype to avoid an error.
41227 Use char because int might match the return type of a GCC
41228 builtin and then its argument prototype would still apply. */
41232 char pthread_mutex_timedlock ();
41233 /* The GNU C library defines this for functions which it implements
41234 to always fail with ENOSYS. Some functions are actually named
41235 something starting with __ and the normal name is an alias. */
41236 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41243 return pthread_mutex_timedlock ();
41248 rm -f conftest.$ac_objext conftest$ac_exeext
41249 if { (ac_try="$ac_link"
41250 case "(($ac_try" in
41251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41252 *) ac_try_echo=$ac_try;;
41254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41255 (eval "$ac_link") 2>conftest.er1
41257 grep -v '^ *+' conftest.er1 >conftest.err
41259 cat conftest.err >&5
41260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261 (exit $ac_status); } && {
41262 test -z "$ac_c_werror_flag" ||
41263 test ! -s conftest.err
41264 } && test -s conftest$ac_exeext &&
41265 $as_test_x conftest$ac_exeext; then
41266 ac_cv_func_pthread_mutex_timedlock=yes
41268 echo "$as_me: failed program was:" >&5
41269 sed 's/^/| /' conftest.$ac_ext >&5
41271 ac_cv_func_pthread_mutex_timedlock=no
41274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41275 conftest$ac_exeext conftest.$ac_ext
41277 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41278 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41279 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41280 cat >>confdefs.h <<\_ACEOF
41281 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41285 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41286 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41290 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41291 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41292 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41293 echo $ECHO_N "(cached) $ECHO_C" >&6
41295 cat >conftest.$ac_ext <<_ACEOF
41298 cat confdefs.h >>conftest.$ac_ext
41299 cat >>conftest.$ac_ext <<_ACEOF
41300 /* end confdefs.h. */
41301 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41303 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41305 /* System header to define __stub macros and hopefully few prototypes,
41306 which can conflict with char pthread_attr_setstacksize (); below.
41307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41308 <limits.h> exists even on freestanding compilers. */
41311 # include <limits.h>
41313 # include <assert.h>
41316 #undef pthread_attr_setstacksize
41318 /* Override any GCC internal prototype to avoid an error.
41319 Use char because int might match the return type of a GCC
41320 builtin and then its argument prototype would still apply. */
41324 char pthread_attr_setstacksize ();
41325 /* The GNU C library defines this for functions which it implements
41326 to always fail with ENOSYS. Some functions are actually named
41327 something starting with __ and the normal name is an alias. */
41328 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41335 return pthread_attr_setstacksize ();
41340 rm -f conftest.$ac_objext conftest$ac_exeext
41341 if { (ac_try="$ac_link"
41342 case "(($ac_try" in
41343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41344 *) ac_try_echo=$ac_try;;
41346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41347 (eval "$ac_link") 2>conftest.er1
41349 grep -v '^ *+' conftest.er1 >conftest.err
41351 cat conftest.err >&5
41352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41353 (exit $ac_status); } && {
41354 test -z "$ac_c_werror_flag" ||
41355 test ! -s conftest.err
41356 } && test -s conftest$ac_exeext &&
41357 $as_test_x conftest$ac_exeext; then
41358 ac_cv_func_pthread_attr_setstacksize=yes
41360 echo "$as_me: failed program was:" >&5
41361 sed 's/^/| /' conftest.$ac_ext >&5
41363 ac_cv_func_pthread_attr_setstacksize=no
41366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41367 conftest$ac_exeext conftest.$ac_ext
41369 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41370 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41371 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41372 cat >>confdefs.h <<\_ACEOF
41373 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41380 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41381 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41382 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41383 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 #include <pthread.h>
41397 pthread_mutexattr_t attr;
41398 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41404 rm -f conftest.$ac_objext
41405 if { (ac_try="$ac_compile"
41406 case "(($ac_try" in
41407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41408 *) ac_try_echo=$ac_try;;
41410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41411 (eval "$ac_compile") 2>conftest.er1
41413 grep -v '^ *+' conftest.er1 >conftest.err
41415 cat conftest.err >&5
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); } && {
41418 test -z "$ac_c_werror_flag" ||
41419 test ! -s conftest.err
41420 } && test -s conftest.$ac_objext; then
41421 wx_cv_type_pthread_mutexattr_t=yes
41423 echo "$as_me: failed program was:" >&5
41424 sed 's/^/| /' conftest.$ac_ext >&5
41426 wx_cv_type_pthread_mutexattr_t=no
41430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41433 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41434 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41436 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41437 cat >>confdefs.h <<\_ACEOF
41438 #define HAVE_PTHREAD_MUTEXATTR_T 1
41442 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41443 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41444 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41445 echo $ECHO_N "(cached) $ECHO_C" >&6
41448 cat >conftest.$ac_ext <<_ACEOF
41451 cat confdefs.h >>conftest.$ac_ext
41452 cat >>conftest.$ac_ext <<_ACEOF
41453 /* end confdefs.h. */
41454 #include <pthread.h>
41459 pthread_mutexattr_t attr;
41460 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41466 rm -f conftest.$ac_objext
41467 if { (ac_try="$ac_compile"
41468 case "(($ac_try" in
41469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41470 *) ac_try_echo=$ac_try;;
41472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41473 (eval "$ac_compile") 2>conftest.er1
41475 grep -v '^ *+' conftest.er1 >conftest.err
41477 cat conftest.err >&5
41478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); } && {
41480 test -z "$ac_c_werror_flag" ||
41481 test ! -s conftest.err
41482 } && test -s conftest.$ac_objext; then
41483 wx_cv_func_pthread_mutexattr_settype_decl=yes
41485 echo "$as_me: failed program was:" >&5
41486 sed 's/^/| /' conftest.$ac_ext >&5
41488 wx_cv_func_pthread_mutexattr_settype_decl=no
41492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41495 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41496 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41497 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41498 cat >>confdefs.h <<\_ACEOF
41499 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41504 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41505 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41506 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41507 echo $ECHO_N "(cached) $ECHO_C" >&6
41510 cat >conftest.$ac_ext <<_ACEOF
41513 cat confdefs.h >>conftest.$ac_ext
41514 cat >>conftest.$ac_ext <<_ACEOF
41515 /* end confdefs.h. */
41516 #include <pthread.h>
41521 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41527 rm -f conftest.$ac_objext
41528 if { (ac_try="$ac_compile"
41529 case "(($ac_try" in
41530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41531 *) ac_try_echo=$ac_try;;
41533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41534 (eval "$ac_compile") 2>conftest.er1
41536 grep -v '^ *+' conftest.er1 >conftest.err
41538 cat conftest.err >&5
41539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41540 (exit $ac_status); } && {
41541 test -z "$ac_c_werror_flag" ||
41542 test ! -s conftest.err
41543 } && test -s conftest.$ac_objext; then
41545 wx_cv_type_pthread_rec_mutex_init=yes
41548 echo "$as_me: failed program was:" >&5
41549 sed 's/^/| /' conftest.$ac_ext >&5
41552 wx_cv_type_pthread_rec_mutex_init=no
41557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41560 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41561 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41562 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41563 cat >>confdefs.h <<\_ACEOF
41564 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41568 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41569 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41573 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41574 if test "$USE_NETBSD" = 1; then
41575 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41576 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41577 wxUSE_COMPILER_TLS=no
41579 wxUSE_COMPILER_TLS=yes
41583 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41584 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41585 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41586 if test "${wx_cv_cc___thread+set}" = set; then
41587 echo $ECHO_N "(cached) $ECHO_C" >&6
41590 cat >conftest.$ac_ext <<_ACEOF
41593 cat confdefs.h >>conftest.$ac_ext
41594 cat >>conftest.$ac_ext <<_ACEOF
41595 /* end confdefs.h. */
41596 #include <pthread.h>
41601 static __thread int n = 0;
41602 static __thread int *p = 0;
41608 rm -f conftest.$ac_objext
41609 if { (ac_try="$ac_compile"
41610 case "(($ac_try" in
41611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41612 *) ac_try_echo=$ac_try;;
41614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41615 (eval "$ac_compile") 2>conftest.er1
41617 grep -v '^ *+' conftest.er1 >conftest.err
41619 cat conftest.err >&5
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); } && {
41622 test -z "$ac_c_werror_flag" ||
41623 test ! -s conftest.err
41624 } && test -s conftest.$ac_objext; then
41625 wx_cv_cc___thread=yes
41627 echo "$as_me: failed program was:" >&5
41628 sed 's/^/| /' conftest.$ac_ext >&5
41630 wx_cv_cc___thread=no
41634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41638 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41639 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41641 if test "$wx_cv_cc___thread" = "yes"; then
41647 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41648 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41650 if test "x$GCC" = "xyes" ; then
41652 if test -z "" ; then
41654 ax_gcc_option_test="int main()
41661 ax_gcc_option_test=""
41666 # Dump the test program to file
41667 cat <<EOF > conftest.c
41668 $ax_gcc_option_test
41671 # Dump back the file to the log, useful for debugging purposes
41672 { ac_try='cat conftest.c 1>&5'
41673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41674 (eval $ac_try) 2>&5
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); }; }
41679 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41681 (eval $ac_try) 2>&5
41683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684 (exit $ac_status); }; } ; then
41686 { echo "$as_me:$LINENO: result: yes" >&5
41687 echo "${ECHO_T}yes" >&6; }
41689 ax_gcc_version_option=yes
41694 { echo "$as_me:$LINENO: result: no" >&5
41695 echo "${ECHO_T}no" >&6; }
41697 ax_gcc_version_option=no
41705 { echo "$as_me:$LINENO: result: no gcc available" >&5
41706 echo "${ECHO_T}no gcc available" >&6; }
41711 if test "x$GXX" = "xyes"; then
41713 if test "x$ax_gxx_version_option" != "no"; then
41715 { echo "$as_me:$LINENO: checking gxx version" >&5
41716 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41717 if test "${ax_cv_gxx_version+set}" = set; then
41718 echo $ECHO_N "(cached) $ECHO_C" >&6
41721 ax_cv_gxx_version="`$CXX -dumpversion`"
41722 if test "x$ax_cv_gxx_version" = "x"; then
41724 ax_cv_gxx_version=""
41730 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41731 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41732 GXX_VERSION=$ax_cv_gxx_version
41741 if test -n "$ax_cv_gxx_version"; then
41742 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41743 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41744 case "$ax_cv_gxx_version" in
41746 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41747 echo "${ECHO_T}no, it's broken" >&6; }
41748 wx_cv_cc___thread=no
41751 { echo "$as_me:$LINENO: result: yes, it works" >&5
41752 echo "${ECHO_T}yes, it works" >&6; }
41758 if test "$wx_cv_cc___thread" = "yes"; then
41759 cat >>confdefs.h <<\_ACEOF
41760 #define HAVE___THREAD_KEYWORD 1
41768 if test "$wxUSE_THREADS" = "yes" ; then
41770 x86_64-*-mingw32* )
41773 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41774 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41775 if test "${wx_cv_cflags_mthread+set}" = set; then
41776 echo $ECHO_N "(cached) $ECHO_C" >&6
41779 CFLAGS_OLD="$CFLAGS"
41780 CFLAGS="-mthreads $CFLAGS"
41781 cat >conftest.$ac_ext <<_ACEOF
41784 cat confdefs.h >>conftest.$ac_ext
41785 cat >>conftest.$ac_ext <<_ACEOF
41786 /* end confdefs.h. */
41796 rm -f conftest.$ac_objext
41797 if { (ac_try="$ac_compile"
41798 case "(($ac_try" in
41799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41800 *) ac_try_echo=$ac_try;;
41802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41803 (eval "$ac_compile") 2>conftest.er1
41805 grep -v '^ *+' conftest.er1 >conftest.err
41807 cat conftest.err >&5
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); } && {
41810 test -z "$ac_c_werror_flag" ||
41811 test ! -s conftest.err
41812 } && test -s conftest.$ac_objext; then
41813 wx_cv_cflags_mthread=yes
41815 echo "$as_me: failed program was:" >&5
41816 sed 's/^/| /' conftest.$ac_ext >&5
41818 wx_cv_cflags_mthread=no
41822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41826 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41827 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41829 if test "$wx_cv_cflags_mthread" = "yes"; then
41830 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41831 LDFLAGS="$LDFLAGS -mthreads"
41833 CFLAGS="$CFLAGS_OLD"
41837 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41838 LDFLAGS="$LDFLAGS -Zmt"
41844 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41845 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41846 if test "${ac_cv_func_localtime_r+set}" = set; then
41847 echo $ECHO_N "(cached) $ECHO_C" >&6
41849 cat >conftest.$ac_ext <<_ACEOF
41852 cat confdefs.h >>conftest.$ac_ext
41853 cat >>conftest.$ac_ext <<_ACEOF
41854 /* end confdefs.h. */
41855 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41857 #define localtime_r innocuous_localtime_r
41859 /* System header to define __stub macros and hopefully few prototypes,
41860 which can conflict with char localtime_r (); below.
41861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41862 <limits.h> exists even on freestanding compilers. */
41865 # include <limits.h>
41867 # include <assert.h>
41872 /* Override any GCC internal prototype to avoid an error.
41873 Use char because int might match the return type of a GCC
41874 builtin and then its argument prototype would still apply. */
41878 char localtime_r ();
41879 /* The GNU C library defines this for functions which it implements
41880 to always fail with ENOSYS. Some functions are actually named
41881 something starting with __ and the normal name is an alias. */
41882 #if defined __stub_localtime_r || defined __stub___localtime_r
41889 return localtime_r ();
41894 rm -f conftest.$ac_objext conftest$ac_exeext
41895 if { (ac_try="$ac_link"
41896 case "(($ac_try" in
41897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41898 *) ac_try_echo=$ac_try;;
41900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41901 (eval "$ac_link") 2>conftest.er1
41903 grep -v '^ *+' conftest.er1 >conftest.err
41905 cat conftest.err >&5
41906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41907 (exit $ac_status); } && {
41908 test -z "$ac_c_werror_flag" ||
41909 test ! -s conftest.err
41910 } && test -s conftest$ac_exeext &&
41911 $as_test_x conftest$ac_exeext; then
41912 ac_cv_func_localtime_r=yes
41914 echo "$as_me: failed program was:" >&5
41915 sed 's/^/| /' conftest.$ac_ext >&5
41917 ac_cv_func_localtime_r=no
41920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41921 conftest$ac_exeext conftest.$ac_ext
41923 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41924 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41925 if test $ac_cv_func_localtime_r = yes; then
41926 cat >>confdefs.h <<\_ACEOF
41927 #define HAVE_LOCALTIME_R 1
41932 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41933 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41934 if test "${ac_cv_func_gmtime_r+set}" = set; then
41935 echo $ECHO_N "(cached) $ECHO_C" >&6
41937 cat >conftest.$ac_ext <<_ACEOF
41940 cat confdefs.h >>conftest.$ac_ext
41941 cat >>conftest.$ac_ext <<_ACEOF
41942 /* end confdefs.h. */
41943 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41945 #define gmtime_r innocuous_gmtime_r
41947 /* System header to define __stub macros and hopefully few prototypes,
41948 which can conflict with char gmtime_r (); below.
41949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41950 <limits.h> exists even on freestanding compilers. */
41953 # include <limits.h>
41955 # include <assert.h>
41960 /* Override any GCC internal prototype to avoid an error.
41961 Use char because int might match the return type of a GCC
41962 builtin and then its argument prototype would still apply. */
41967 /* The GNU C library defines this for functions which it implements
41968 to always fail with ENOSYS. Some functions are actually named
41969 something starting with __ and the normal name is an alias. */
41970 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41977 return gmtime_r ();
41982 rm -f conftest.$ac_objext conftest$ac_exeext
41983 if { (ac_try="$ac_link"
41984 case "(($ac_try" in
41985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41986 *) ac_try_echo=$ac_try;;
41988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41989 (eval "$ac_link") 2>conftest.er1
41991 grep -v '^ *+' conftest.er1 >conftest.err
41993 cat conftest.err >&5
41994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995 (exit $ac_status); } && {
41996 test -z "$ac_c_werror_flag" ||
41997 test ! -s conftest.err
41998 } && test -s conftest$ac_exeext &&
41999 $as_test_x conftest$ac_exeext; then
42000 ac_cv_func_gmtime_r=yes
42002 echo "$as_me: failed program was:" >&5
42003 sed 's/^/| /' conftest.$ac_ext >&5
42005 ac_cv_func_gmtime_r=no
42008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42009 conftest$ac_exeext conftest.$ac_ext
42011 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42012 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42013 if test $ac_cv_func_gmtime_r = yes; then
42014 cat >>confdefs.h <<\_ACEOF
42015 #define HAVE_GMTIME_R 1
42024 ac_cpp='$CPP $CPPFLAGS'
42025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42029 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42030 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42032 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42033 echo $ECHO_N "(cached) $ECHO_C" >&6
42037 ################################################################
42039 ac_cv_func_which_gethostbyname_r=unknown
42042 # ONE ARGUMENT (sanity check)
42045 # This should fail, as there is no variant of gethostbyname_r() that takes
42046 # a single argument. If it actually compiles, then we can assume that
42047 # netdb.h is not declaring the function, and the compiler is thereby
42048 # assuming an implicit prototype. In which case, we're out of luck.
42050 cat >conftest.$ac_ext <<_ACEOF
42053 cat confdefs.h >>conftest.$ac_ext
42054 cat >>conftest.$ac_ext <<_ACEOF
42055 /* end confdefs.h. */
42061 char *name = "www.gnu.org";
42062 (void)gethostbyname_r(name) /* ; */
42068 rm -f conftest.$ac_objext
42069 if { (ac_try="$ac_compile"
42070 case "(($ac_try" in
42071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42072 *) ac_try_echo=$ac_try;;
42074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42075 (eval "$ac_compile") 2>conftest.er1
42077 grep -v '^ *+' conftest.er1 >conftest.err
42079 cat conftest.err >&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); } && {
42082 test -z "$ac_c_werror_flag" ||
42083 test ! -s conftest.err
42084 } && test -s conftest.$ac_objext; then
42085 ac_cv_func_which_gethostbyname_r=no
42087 echo "$as_me: failed program was:" >&5
42088 sed 's/^/| /' conftest.$ac_ext >&5
42093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42100 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42102 cat >conftest.$ac_ext <<_ACEOF
42105 cat confdefs.h >>conftest.$ac_ext
42106 cat >>conftest.$ac_ext <<_ACEOF
42107 /* end confdefs.h. */
42113 char *name = "www.gnu.org";
42114 struct hostent ret, *retp;
42118 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42124 rm -f conftest.$ac_objext
42125 if { (ac_try="$ac_compile"
42126 case "(($ac_try" in
42127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42128 *) ac_try_echo=$ac_try;;
42130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42131 (eval "$ac_compile") 2>conftest.er1
42133 grep -v '^ *+' conftest.er1 >conftest.err
42135 cat conftest.err >&5
42136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137 (exit $ac_status); } && {
42138 test -z "$ac_c_werror_flag" ||
42139 test ! -s conftest.err
42140 } && test -s conftest.$ac_objext; then
42141 ac_cv_func_which_gethostbyname_r=six
42143 echo "$as_me: failed program was:" >&5
42144 sed 's/^/| /' conftest.$ac_ext >&5
42149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42158 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42160 cat >conftest.$ac_ext <<_ACEOF
42163 cat confdefs.h >>conftest.$ac_ext
42164 cat >>conftest.$ac_ext <<_ACEOF
42165 /* end confdefs.h. */
42171 char *name = "www.gnu.org";
42172 struct hostent ret;
42176 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42182 rm -f conftest.$ac_objext
42183 if { (ac_try="$ac_compile"
42184 case "(($ac_try" in
42185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42186 *) ac_try_echo=$ac_try;;
42188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42189 (eval "$ac_compile") 2>conftest.er1
42191 grep -v '^ *+' conftest.er1 >conftest.err
42193 cat conftest.err >&5
42194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42195 (exit $ac_status); } && {
42196 test -z "$ac_c_werror_flag" ||
42197 test ! -s conftest.err
42198 } && test -s conftest.$ac_objext; then
42199 ac_cv_func_which_gethostbyname_r=five
42201 echo "$as_me: failed program was:" >&5
42202 sed 's/^/| /' conftest.$ac_ext >&5
42207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42213 # (e.g. AIX, HP-UX, Tru64)
42216 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42218 cat >conftest.$ac_ext <<_ACEOF
42221 cat confdefs.h >>conftest.$ac_ext
42222 cat >>conftest.$ac_ext <<_ACEOF
42223 /* end confdefs.h. */
42229 char *name = "www.gnu.org";
42230 struct hostent ret;
42231 struct hostent_data data;
42232 (void)gethostbyname_r(name, &ret, &data) /* ; */
42238 rm -f conftest.$ac_objext
42239 if { (ac_try="$ac_compile"
42240 case "(($ac_try" in
42241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42242 *) ac_try_echo=$ac_try;;
42244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42245 (eval "$ac_compile") 2>conftest.er1
42247 grep -v '^ *+' conftest.er1 >conftest.err
42249 cat conftest.err >&5
42250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42251 (exit $ac_status); } && {
42252 test -z "$ac_c_werror_flag" ||
42253 test ! -s conftest.err
42254 } && test -s conftest.$ac_objext; then
42255 ac_cv_func_which_gethostbyname_r=three
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.$ac_ext >&5
42263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42267 ################################################################
42272 case "$ac_cv_func_which_gethostbyname_r" in
42274 { echo "$as_me:$LINENO: result: three" >&5
42275 echo "${ECHO_T}three" >&6; }
42276 cat >>confdefs.h <<\_ACEOF
42277 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42283 { echo "$as_me:$LINENO: result: five" >&5
42284 echo "${ECHO_T}five" >&6; }
42285 cat >>confdefs.h <<\_ACEOF
42286 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42292 { echo "$as_me:$LINENO: result: six" >&5
42293 echo "${ECHO_T}six" >&6; }
42294 cat >>confdefs.h <<\_ACEOF
42295 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42301 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42302 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42306 { echo "$as_me:$LINENO: result: can't tell" >&5
42307 echo "${ECHO_T}can't tell" >&6; }
42311 { { echo "$as_me:$LINENO: error: internal error" >&5
42312 echo "$as_me: error: internal error" >&2;}
42313 { (exit 1); exit 1; }; }
42318 ac_cpp='$CPP $CPPFLAGS'
42319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42325 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42326 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42327 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42328 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42329 if test "${ac_cv_func_gethostbyname+set}" = set; then
42330 echo $ECHO_N "(cached) $ECHO_C" >&6
42332 cat >conftest.$ac_ext <<_ACEOF
42335 cat confdefs.h >>conftest.$ac_ext
42336 cat >>conftest.$ac_ext <<_ACEOF
42337 /* end confdefs.h. */
42338 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42340 #define gethostbyname innocuous_gethostbyname
42342 /* System header to define __stub macros and hopefully few prototypes,
42343 which can conflict with char gethostbyname (); below.
42344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42345 <limits.h> exists even on freestanding compilers. */
42348 # include <limits.h>
42350 # include <assert.h>
42353 #undef gethostbyname
42355 /* Override any GCC internal prototype to avoid an error.
42356 Use char because int might match the return type of a GCC
42357 builtin and then its argument prototype would still apply. */
42361 char gethostbyname ();
42362 /* The GNU C library defines this for functions which it implements
42363 to always fail with ENOSYS. Some functions are actually named
42364 something starting with __ and the normal name is an alias. */
42365 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42372 return gethostbyname ();
42377 rm -f conftest.$ac_objext conftest$ac_exeext
42378 if { (ac_try="$ac_link"
42379 case "(($ac_try" in
42380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42381 *) ac_try_echo=$ac_try;;
42383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42384 (eval "$ac_link") 2>conftest.er1
42386 grep -v '^ *+' conftest.er1 >conftest.err
42388 cat conftest.err >&5
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); } && {
42391 test -z "$ac_c_werror_flag" ||
42392 test ! -s conftest.err
42393 } && test -s conftest$ac_exeext &&
42394 $as_test_x conftest$ac_exeext; then
42395 ac_cv_func_gethostbyname=yes
42397 echo "$as_me: failed program was:" >&5
42398 sed 's/^/| /' conftest.$ac_ext >&5
42400 ac_cv_func_gethostbyname=no
42403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42404 conftest$ac_exeext conftest.$ac_ext
42406 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42407 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42408 if test $ac_cv_func_gethostbyname = yes; then
42409 cat >>confdefs.h <<\_ACEOF
42410 #define HAVE_GETHOSTBYNAME 1
42417 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42418 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42419 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42420 echo $ECHO_N "(cached) $ECHO_C" >&6
42424 ac_cpp='$CXXCPP $CPPFLAGS'
42425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42430 cat >conftest.$ac_ext <<_ACEOF
42433 cat confdefs.h >>conftest.$ac_ext
42434 cat >>conftest.$ac_ext <<_ACEOF
42435 /* end confdefs.h. */
42443 struct servent *se, *res;
42446 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42452 rm -f conftest.$ac_objext
42453 if { (ac_try="$ac_compile"
42454 case "(($ac_try" in
42455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42456 *) ac_try_echo=$ac_try;;
42458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42459 (eval "$ac_compile") 2>conftest.er1
42461 grep -v '^ *+' conftest.er1 >conftest.err
42463 cat conftest.err >&5
42464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42465 (exit $ac_status); } && {
42466 test -z "$ac_cxx_werror_flag" ||
42467 test ! -s conftest.err
42468 } && test -s conftest.$ac_objext; then
42469 ac_cv_func_which_getservbyname_r=six
42471 echo "$as_me: failed program was:" >&5
42472 sed 's/^/| /' conftest.$ac_ext >&5
42475 cat >conftest.$ac_ext <<_ACEOF
42478 cat confdefs.h >>conftest.$ac_ext
42479 cat >>conftest.$ac_ext <<_ACEOF
42480 /* end confdefs.h. */
42488 struct servent *se;
42491 (void) getservbyname_r(name, proto, se, buffer, buflen)
42497 rm -f conftest.$ac_objext
42498 if { (ac_try="$ac_compile"
42499 case "(($ac_try" in
42500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42501 *) ac_try_echo=$ac_try;;
42503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42504 (eval "$ac_compile") 2>conftest.er1
42506 grep -v '^ *+' conftest.er1 >conftest.err
42508 cat conftest.err >&5
42509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42510 (exit $ac_status); } && {
42511 test -z "$ac_cxx_werror_flag" ||
42512 test ! -s conftest.err
42513 } && test -s conftest.$ac_objext; then
42514 ac_cv_func_which_getservbyname_r=five
42516 echo "$as_me: failed program was:" >&5
42517 sed 's/^/| /' conftest.$ac_ext >&5
42520 cat >conftest.$ac_ext <<_ACEOF
42523 cat confdefs.h >>conftest.$ac_ext
42524 cat >>conftest.$ac_ext <<_ACEOF
42525 /* end confdefs.h. */
42533 struct servent *se;
42534 struct servent_data data;
42535 (void) getservbyname_r(name, proto, se, &data);
42541 rm -f conftest.$ac_objext
42542 if { (ac_try="$ac_compile"
42543 case "(($ac_try" in
42544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42545 *) ac_try_echo=$ac_try;;
42547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42548 (eval "$ac_compile") 2>conftest.er1
42550 grep -v '^ *+' conftest.er1 >conftest.err
42552 cat conftest.err >&5
42553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42554 (exit $ac_status); } && {
42555 test -z "$ac_cxx_werror_flag" ||
42556 test ! -s conftest.err
42557 } && test -s conftest.$ac_objext; then
42558 ac_cv_func_which_getservbyname_r=four
42560 echo "$as_me: failed program was:" >&5
42561 sed 's/^/| /' conftest.$ac_ext >&5
42563 ac_cv_func_which_getservbyname_r=no
42567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42579 ac_cpp='$CPP $CPPFLAGS'
42580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42587 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42588 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42590 if test $ac_cv_func_which_getservbyname_r = six; then
42591 cat >>confdefs.h <<\_ACEOF
42592 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42595 elif test $ac_cv_func_which_getservbyname_r = five; then
42596 cat >>confdefs.h <<\_ACEOF
42597 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42600 elif test $ac_cv_func_which_getservbyname_r = four; then
42601 cat >>confdefs.h <<\_ACEOF
42602 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42608 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42609 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42611 for ac_func in getservbyname
42613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42616 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42617 echo $ECHO_N "(cached) $ECHO_C" >&6
42619 cat >conftest.$ac_ext <<_ACEOF
42622 cat confdefs.h >>conftest.$ac_ext
42623 cat >>conftest.$ac_ext <<_ACEOF
42624 /* end confdefs.h. */
42625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42627 #define $ac_func innocuous_$ac_func
42629 /* System header to define __stub macros and hopefully few prototypes,
42630 which can conflict with char $ac_func (); below.
42631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42632 <limits.h> exists even on freestanding compilers. */
42635 # include <limits.h>
42637 # include <assert.h>
42642 /* Override any GCC internal prototype to avoid an error.
42643 Use char because int might match the return type of a GCC
42644 builtin and then its argument prototype would still apply. */
42649 /* The GNU C library defines this for functions which it implements
42650 to always fail with ENOSYS. Some functions are actually named
42651 something starting with __ and the normal name is an alias. */
42652 #if defined __stub_$ac_func || defined __stub___$ac_func
42659 return $ac_func ();
42664 rm -f conftest.$ac_objext conftest$ac_exeext
42665 if { (ac_try="$ac_link"
42666 case "(($ac_try" in
42667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42668 *) ac_try_echo=$ac_try;;
42670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42671 (eval "$ac_link") 2>conftest.er1
42673 grep -v '^ *+' conftest.er1 >conftest.err
42675 cat conftest.err >&5
42676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42677 (exit $ac_status); } && {
42678 test -z "$ac_c_werror_flag" ||
42679 test ! -s conftest.err
42680 } && test -s conftest$ac_exeext &&
42681 $as_test_x conftest$ac_exeext; then
42682 eval "$as_ac_var=yes"
42684 echo "$as_me: failed program was:" >&5
42685 sed 's/^/| /' conftest.$ac_ext >&5
42687 eval "$as_ac_var=no"
42690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42691 conftest$ac_exeext conftest.$ac_ext
42693 ac_res=`eval echo '${'$as_ac_var'}'`
42694 { echo "$as_me:$LINENO: result: $ac_res" >&5
42695 echo "${ECHO_T}$ac_res" >&6; }
42696 if test `eval echo '${'$as_ac_var'}'` = yes; then
42697 cat >>confdefs.h <<_ACEOF
42698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42700 cat >>confdefs.h <<\_ACEOF
42701 #define HAVE_GETSERVBYNAME 1
42709 if test "$wxUSE_THREADS" = "yes"; then
42710 cat >>confdefs.h <<\_ACEOF
42711 #define wxUSE_THREADS 1
42715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42717 if test "$wx_cv_func_strtok_r" = "yes"; then
42718 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42719 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42720 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42721 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42722 { echo "$as_me:$LINENO: result: yes" >&5
42723 echo "${ECHO_T}yes" >&6; }
42725 { echo "$as_me:$LINENO: result: no" >&5
42726 echo "${ECHO_T}no" >&6; }
42731 if test "$WXGTK2" = 1 ; then
42732 cat >>confdefs.h <<_ACEOF
42733 #define __WXGTK20__ $WXGTK2
42739 if test "$WXGTK12" = 1 ; then
42740 cat >>confdefs.h <<_ACEOF
42741 #define __WXGTK12__ $WXGTK12
42746 if test "$WXGTK127" = 1 ; then
42747 cat >>confdefs.h <<_ACEOF
42748 #define __WXGTK127__ $WXGTK127
42753 if test "$WXGPE" = 1 ; then
42754 cat >>confdefs.h <<_ACEOF
42755 #define __WXGPE__ $WXGPE
42761 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42762 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42763 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42764 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42768 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42769 wxUSE_DEBUG_INFO=yes
42770 if test "$GCC" = yes; then
42771 DEBUG_CFLAGS="-ggdb"
42775 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42776 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42778 if test "$wxUSE_GTK" = 1 ; then
42779 if test "x$wxGTK_VERSION" = "x1" ; then
42780 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42785 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42786 cat >>confdefs.h <<\_ACEOF
42787 #define wxUSE_MEMORY_TRACING 1
42790 cat >>confdefs.h <<\_ACEOF
42791 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42794 cat >>confdefs.h <<\_ACEOF
42795 #define wxUSE_DEBUG_NEW_ALWAYS 1
42798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42801 if test "$wxUSE_DMALLOC" = "yes" ; then
42802 DMALLOC_LIBS="-ldmallocthcxx"
42806 if test "$wxUSE_PROFILE" = "yes" ; then
42807 PROFILE_FLAGS=" -pg"
42810 if test "$GCC" = "yes" ; then
42811 if test "$wxUSE_NO_RTTI" = "yes" ; then
42812 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42814 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42815 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42817 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42818 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42823 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42826 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42832 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42833 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42834 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42836 if test "$wxUSE_OPTIMISE" = "no" ; then
42837 if test "$GCC" = yes ; then
42838 OPTIMISE_CFLAGS="-O0"
42841 if test "$GCC" = yes ; then
42843 *-pc-os2_emx | *-pc-os2-emx )
42844 OPTIMISE_CFLAGS="-O2"
42847 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42851 OPTIMISE_CFLAGS="-O"
42857 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42858 cat >>confdefs.h <<\_ACEOF
42859 #define WXWIN_COMPATIBILITY_2_6 1
42863 WXWIN_COMPATIBILITY_2_8="yes"
42866 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42867 cat >>confdefs.h <<\_ACEOF
42868 #define WXWIN_COMPATIBILITY_2_8 1
42874 if test "$wxUSE_GUI" = "yes"; then
42875 cat >>confdefs.h <<\_ACEOF
42876 #define wxUSE_GUI 1
42883 if test "$wxUSE_UNIX" = "yes"; then
42884 cat >>confdefs.h <<\_ACEOF
42885 #define wxUSE_UNIX 1
42891 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42895 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42896 if test "$USE_DOS" = 1; then
42900 for ac_func in dlopen
42902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42903 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42905 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42906 echo $ECHO_N "(cached) $ECHO_C" >&6
42908 cat >conftest.$ac_ext <<_ACEOF
42911 cat confdefs.h >>conftest.$ac_ext
42912 cat >>conftest.$ac_ext <<_ACEOF
42913 /* end confdefs.h. */
42914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42916 #define $ac_func innocuous_$ac_func
42918 /* System header to define __stub macros and hopefully few prototypes,
42919 which can conflict with char $ac_func (); below.
42920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42921 <limits.h> exists even on freestanding compilers. */
42924 # include <limits.h>
42926 # include <assert.h>
42931 /* Override any GCC internal prototype to avoid an error.
42932 Use char because int might match the return type of a GCC
42933 builtin and then its argument prototype would still apply. */
42938 /* The GNU C library defines this for functions which it implements
42939 to always fail with ENOSYS. Some functions are actually named
42940 something starting with __ and the normal name is an alias. */
42941 #if defined __stub_$ac_func || defined __stub___$ac_func
42948 return $ac_func ();
42953 rm -f conftest.$ac_objext conftest$ac_exeext
42954 if { (ac_try="$ac_link"
42955 case "(($ac_try" in
42956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42957 *) ac_try_echo=$ac_try;;
42959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42960 (eval "$ac_link") 2>conftest.er1
42962 grep -v '^ *+' conftest.er1 >conftest.err
42964 cat conftest.err >&5
42965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42966 (exit $ac_status); } && {
42967 test -z "$ac_c_werror_flag" ||
42968 test ! -s conftest.err
42969 } && test -s conftest$ac_exeext &&
42970 $as_test_x conftest$ac_exeext; then
42971 eval "$as_ac_var=yes"
42973 echo "$as_me: failed program was:" >&5
42974 sed 's/^/| /' conftest.$ac_ext >&5
42976 eval "$as_ac_var=no"
42979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42980 conftest$ac_exeext conftest.$ac_ext
42982 ac_res=`eval echo '${'$as_ac_var'}'`
42983 { echo "$as_me:$LINENO: result: $ac_res" >&5
42984 echo "${ECHO_T}$ac_res" >&6; }
42985 if test `eval echo '${'$as_ac_var'}'` = yes; then
42986 cat >>confdefs.h <<_ACEOF
42987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42990 cat >>confdefs.h <<\_ACEOF
42991 #define HAVE_DLOPEN 1
42998 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42999 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43000 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43001 echo $ECHO_N "(cached) $ECHO_C" >&6
43003 ac_check_lib_save_LIBS=$LIBS
43005 cat >conftest.$ac_ext <<_ACEOF
43008 cat confdefs.h >>conftest.$ac_ext
43009 cat >>conftest.$ac_ext <<_ACEOF
43010 /* end confdefs.h. */
43012 /* Override any GCC internal prototype to avoid an error.
43013 Use char because int might match the return type of a GCC
43014 builtin and then its argument prototype would still apply. */
43027 rm -f conftest.$ac_objext conftest$ac_exeext
43028 if { (ac_try="$ac_link"
43029 case "(($ac_try" in
43030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43031 *) ac_try_echo=$ac_try;;
43033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43034 (eval "$ac_link") 2>conftest.er1
43036 grep -v '^ *+' conftest.er1 >conftest.err
43038 cat conftest.err >&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } && {
43041 test -z "$ac_c_werror_flag" ||
43042 test ! -s conftest.err
43043 } && test -s conftest$ac_exeext &&
43044 $as_test_x conftest$ac_exeext; then
43045 ac_cv_lib_dl_dlopen=yes
43047 echo "$as_me: failed program was:" >&5
43048 sed 's/^/| /' conftest.$ac_ext >&5
43050 ac_cv_lib_dl_dlopen=no
43053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43054 conftest$ac_exeext conftest.$ac_ext
43055 LIBS=$ac_check_lib_save_LIBS
43057 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43058 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43059 if test $ac_cv_lib_dl_dlopen = yes; then
43061 cat >>confdefs.h <<\_ACEOF
43062 #define HAVE_DLOPEN 1
43066 DL_LINK=" -ldl$DL_LINK"
43071 for ac_func in shl_load
43073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43077 echo $ECHO_N "(cached) $ECHO_C" >&6
43079 cat >conftest.$ac_ext <<_ACEOF
43082 cat confdefs.h >>conftest.$ac_ext
43083 cat >>conftest.$ac_ext <<_ACEOF
43084 /* end confdefs.h. */
43085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43087 #define $ac_func innocuous_$ac_func
43089 /* System header to define __stub macros and hopefully few prototypes,
43090 which can conflict with char $ac_func (); below.
43091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43092 <limits.h> exists even on freestanding compilers. */
43095 # include <limits.h>
43097 # include <assert.h>
43102 /* Override any GCC internal prototype to avoid an error.
43103 Use char because int might match the return type of a GCC
43104 builtin and then its argument prototype would still apply. */
43109 /* The GNU C library defines this for functions which it implements
43110 to always fail with ENOSYS. Some functions are actually named
43111 something starting with __ and the normal name is an alias. */
43112 #if defined __stub_$ac_func || defined __stub___$ac_func
43119 return $ac_func ();
43124 rm -f conftest.$ac_objext conftest$ac_exeext
43125 if { (ac_try="$ac_link"
43126 case "(($ac_try" in
43127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43128 *) ac_try_echo=$ac_try;;
43130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43131 (eval "$ac_link") 2>conftest.er1
43133 grep -v '^ *+' conftest.er1 >conftest.err
43135 cat conftest.err >&5
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); } && {
43138 test -z "$ac_c_werror_flag" ||
43139 test ! -s conftest.err
43140 } && test -s conftest$ac_exeext &&
43141 $as_test_x conftest$ac_exeext; then
43142 eval "$as_ac_var=yes"
43144 echo "$as_me: failed program was:" >&5
43145 sed 's/^/| /' conftest.$ac_ext >&5
43147 eval "$as_ac_var=no"
43150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43151 conftest$ac_exeext conftest.$ac_ext
43153 ac_res=`eval echo '${'$as_ac_var'}'`
43154 { echo "$as_me:$LINENO: result: $ac_res" >&5
43155 echo "${ECHO_T}$ac_res" >&6; }
43156 if test `eval echo '${'$as_ac_var'}'` = yes; then
43157 cat >>confdefs.h <<_ACEOF
43158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43161 cat >>confdefs.h <<\_ACEOF
43162 #define HAVE_SHL_LOAD 1
43169 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43170 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43171 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43172 echo $ECHO_N "(cached) $ECHO_C" >&6
43174 ac_check_lib_save_LIBS=$LIBS
43175 LIBS="-lshl_load $LIBS"
43176 cat >conftest.$ac_ext <<_ACEOF
43179 cat confdefs.h >>conftest.$ac_ext
43180 cat >>conftest.$ac_ext <<_ACEOF
43181 /* end confdefs.h. */
43183 /* Override any GCC internal prototype to avoid an error.
43184 Use char because int might match the return type of a GCC
43185 builtin and then its argument prototype would still apply. */
43198 rm -f conftest.$ac_objext conftest$ac_exeext
43199 if { (ac_try="$ac_link"
43200 case "(($ac_try" in
43201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43202 *) ac_try_echo=$ac_try;;
43204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43205 (eval "$ac_link") 2>conftest.er1
43207 grep -v '^ *+' conftest.er1 >conftest.err
43209 cat conftest.err >&5
43210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43211 (exit $ac_status); } && {
43212 test -z "$ac_c_werror_flag" ||
43213 test ! -s conftest.err
43214 } && test -s conftest$ac_exeext &&
43215 $as_test_x conftest$ac_exeext; then
43216 ac_cv_lib_shl_load_dld=yes
43218 echo "$as_me: failed program was:" >&5
43219 sed 's/^/| /' conftest.$ac_ext >&5
43221 ac_cv_lib_shl_load_dld=no
43224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43225 conftest$ac_exeext conftest.$ac_ext
43226 LIBS=$ac_check_lib_save_LIBS
43228 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43229 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43230 if test $ac_cv_lib_shl_load_dld = yes; then
43233 DL_LINK=" -ldld$DL_LINK"
43249 if test "$HAVE_DL_FUNCS" = 1; then
43251 for ac_func in dlerror
43253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43257 echo $ECHO_N "(cached) $ECHO_C" >&6
43259 cat >conftest.$ac_ext <<_ACEOF
43262 cat confdefs.h >>conftest.$ac_ext
43263 cat >>conftest.$ac_ext <<_ACEOF
43264 /* end confdefs.h. */
43265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43267 #define $ac_func innocuous_$ac_func
43269 /* System header to define __stub macros and hopefully few prototypes,
43270 which can conflict with char $ac_func (); below.
43271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43272 <limits.h> exists even on freestanding compilers. */
43275 # include <limits.h>
43277 # include <assert.h>
43282 /* Override any GCC internal prototype to avoid an error.
43283 Use char because int might match the return type of a GCC
43284 builtin and then its argument prototype would still apply. */
43289 /* The GNU C library defines this for functions which it implements
43290 to always fail with ENOSYS. Some functions are actually named
43291 something starting with __ and the normal name is an alias. */
43292 #if defined __stub_$ac_func || defined __stub___$ac_func
43299 return $ac_func ();
43304 rm -f conftest.$ac_objext conftest$ac_exeext
43305 if { (ac_try="$ac_link"
43306 case "(($ac_try" in
43307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43308 *) ac_try_echo=$ac_try;;
43310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43311 (eval "$ac_link") 2>conftest.er1
43313 grep -v '^ *+' conftest.er1 >conftest.err
43315 cat conftest.err >&5
43316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43317 (exit $ac_status); } && {
43318 test -z "$ac_c_werror_flag" ||
43319 test ! -s conftest.err
43320 } && test -s conftest$ac_exeext &&
43321 $as_test_x conftest$ac_exeext; then
43322 eval "$as_ac_var=yes"
43324 echo "$as_me: failed program was:" >&5
43325 sed 's/^/| /' conftest.$ac_ext >&5
43327 eval "$as_ac_var=no"
43330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43331 conftest$ac_exeext conftest.$ac_ext
43333 ac_res=`eval echo '${'$as_ac_var'}'`
43334 { echo "$as_me:$LINENO: result: $ac_res" >&5
43335 echo "${ECHO_T}$ac_res" >&6; }
43336 if test `eval echo '${'$as_ac_var'}'` = yes; then
43337 cat >>confdefs.h <<_ACEOF
43338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43340 cat >>confdefs.h <<\_ACEOF
43341 #define HAVE_DLERROR 1
43346 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43347 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43348 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43349 echo $ECHO_N "(cached) $ECHO_C" >&6
43351 ac_check_lib_save_LIBS=$LIBS
43353 cat >conftest.$ac_ext <<_ACEOF
43356 cat confdefs.h >>conftest.$ac_ext
43357 cat >>conftest.$ac_ext <<_ACEOF
43358 /* end confdefs.h. */
43360 /* Override any GCC internal prototype to avoid an error.
43361 Use char because int might match the return type of a GCC
43362 builtin and then its argument prototype would still apply. */
43375 rm -f conftest.$ac_objext conftest$ac_exeext
43376 if { (ac_try="$ac_link"
43377 case "(($ac_try" in
43378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43379 *) ac_try_echo=$ac_try;;
43381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43382 (eval "$ac_link") 2>conftest.er1
43384 grep -v '^ *+' conftest.er1 >conftest.err
43386 cat conftest.err >&5
43387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388 (exit $ac_status); } && {
43389 test -z "$ac_c_werror_flag" ||
43390 test ! -s conftest.err
43391 } && test -s conftest$ac_exeext &&
43392 $as_test_x conftest$ac_exeext; then
43393 ac_cv_lib_dl_dlerror=yes
43395 echo "$as_me: failed program was:" >&5
43396 sed 's/^/| /' conftest.$ac_ext >&5
43398 ac_cv_lib_dl_dlerror=no
43401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43402 conftest$ac_exeext conftest.$ac_ext
43403 LIBS=$ac_check_lib_save_LIBS
43405 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43406 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43407 if test $ac_cv_lib_dl_dlerror = yes; then
43408 cat >>confdefs.h <<\_ACEOF
43409 #define HAVE_DLERROR 1
43422 if test "$USE_DARWIN" = 1; then
43426 if test "$HAVE_DL_FUNCS" = 0; then
43427 if test "$HAVE_SHL_FUNCS" = 0; then
43428 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43429 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43430 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43431 wxUSE_DYNAMIC_LOADER=no
43432 wxUSE_DYNLIB_CLASS=no
43434 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43435 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43442 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43443 cat >>confdefs.h <<\_ACEOF
43444 #define wxUSE_DYNAMIC_LOADER 1
43448 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxUSE_DYNLIB_CLASS 1
43457 if test "$wxUSE_PLUGINS" = "yes" ; then
43458 if test "$wxUSE_SHARED" = "no" ; then
43459 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43460 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43463 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43464 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43465 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43468 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43469 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43470 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43473 if test "$wxUSE_PLUGINS" = "yes" ; then
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_PLUGINS 1
43482 if test "$wxUSE_FSWATCHER" = "yes"; then
43483 if test "$wxUSE_MSW" != "1"; then
43484 if test "$wxUSE_UNIX" = "yes"; then
43486 for ac_header in sys/inotify.h
43488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43492 echo $ECHO_N "(cached) $ECHO_C" >&6
43494 cat >conftest.$ac_ext <<_ACEOF
43497 cat confdefs.h >>conftest.$ac_ext
43498 cat >>conftest.$ac_ext <<_ACEOF
43499 /* end confdefs.h. */
43500 $ac_includes_default
43502 #include <$ac_header>
43504 rm -f conftest.$ac_objext
43505 if { (ac_try="$ac_compile"
43506 case "(($ac_try" in
43507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43508 *) ac_try_echo=$ac_try;;
43510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43511 (eval "$ac_compile") 2>conftest.er1
43513 grep -v '^ *+' conftest.er1 >conftest.err
43515 cat conftest.err >&5
43516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43517 (exit $ac_status); } && {
43518 test -z "$ac_c_werror_flag" ||
43519 test ! -s conftest.err
43520 } && test -s conftest.$ac_objext; then
43521 eval "$as_ac_Header=yes"
43523 echo "$as_me: failed program was:" >&5
43524 sed 's/^/| /' conftest.$ac_ext >&5
43526 eval "$as_ac_Header=no"
43529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43531 ac_res=`eval echo '${'$as_ac_Header'}'`
43532 { echo "$as_me:$LINENO: result: $ac_res" >&5
43533 echo "${ECHO_T}$ac_res" >&6; }
43534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43535 cat >>confdefs.h <<_ACEOF
43536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43543 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43544 cat >>confdefs.h <<\_ACEOF
43545 #define wxHAS_INOTIFY 1
43550 for ac_header in sys/event.h
43552 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43553 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43555 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43556 echo $ECHO_N "(cached) $ECHO_C" >&6
43558 cat >conftest.$ac_ext <<_ACEOF
43561 cat confdefs.h >>conftest.$ac_ext
43562 cat >>conftest.$ac_ext <<_ACEOF
43563 /* end confdefs.h. */
43564 $ac_includes_default
43566 #include <$ac_header>
43568 rm -f conftest.$ac_objext
43569 if { (ac_try="$ac_compile"
43570 case "(($ac_try" in
43571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43572 *) ac_try_echo=$ac_try;;
43574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43575 (eval "$ac_compile") 2>conftest.er1
43577 grep -v '^ *+' conftest.er1 >conftest.err
43579 cat conftest.err >&5
43580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43581 (exit $ac_status); } && {
43582 test -z "$ac_c_werror_flag" ||
43583 test ! -s conftest.err
43584 } && test -s conftest.$ac_objext; then
43585 eval "$as_ac_Header=yes"
43587 echo "$as_me: failed program was:" >&5
43588 sed 's/^/| /' conftest.$ac_ext >&5
43590 eval "$as_ac_Header=no"
43593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43595 ac_res=`eval echo '${'$as_ac_Header'}'`
43596 { echo "$as_me:$LINENO: result: $ac_res" >&5
43597 echo "${ECHO_T}$ac_res" >&6; }
43598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43599 cat >>confdefs.h <<_ACEOF
43600 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43607 if test "$ac_cv_header_sys_event_h" = "yes"; then
43608 cat >>confdefs.h <<\_ACEOF
43609 #define wxHAS_KQUEUE 1
43621 if test "$wxUSE_FSWATCHER" = "yes"; then
43622 cat >>confdefs.h <<\_ACEOF
43623 #define wxUSE_FSWATCHER 1
43626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43628 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43629 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43634 if test "$wxUSE_STL" = "yes"; then
43635 cat >>confdefs.h <<\_ACEOF
43636 #define wxUSE_STL 1
43641 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43642 cat >>confdefs.h <<\_ACEOF
43643 #define wxUSE_EXTENDED_RTTI 1
43648 if test "$wxUSE_ANY" = "yes"; then
43649 cat >>confdefs.h <<\_ACEOF
43650 #define wxUSE_ANY 1
43655 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43656 cat >>confdefs.h <<\_ACEOF
43657 #define wxUSE_APPLE_IEEE 1
43662 if test "$wxUSE_TIMER" = "yes"; then
43663 cat >>confdefs.h <<\_ACEOF
43664 #define wxUSE_TIMER 1
43669 if test "$USE_UNIX" = 1 ; then
43670 if test "$wxUSE_MGL" != 1; then
43671 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43672 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43673 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43674 echo $ECHO_N "(cached) $ECHO_C" >&6
43677 cat >conftest.$ac_ext <<_ACEOF
43680 cat confdefs.h >>conftest.$ac_ext
43681 cat >>conftest.$ac_ext <<_ACEOF
43682 /* end confdefs.h. */
43684 #include <sys/ioctl.h>
43685 #include <sys/soundcard.h>
43691 ioctl(0, SNDCTL_DSP_SPEED, 0);
43697 rm -f conftest.$ac_objext conftest$ac_exeext
43698 if { (ac_try="$ac_link"
43699 case "(($ac_try" in
43700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43701 *) ac_try_echo=$ac_try;;
43703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43704 (eval "$ac_link") 2>conftest.er1
43706 grep -v '^ *+' conftest.er1 >conftest.err
43708 cat conftest.err >&5
43709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43710 (exit $ac_status); } && {
43711 test -z "$ac_c_werror_flag" ||
43712 test ! -s conftest.err
43713 } && test -s conftest$ac_exeext &&
43714 $as_test_x conftest$ac_exeext; then
43715 ac_cv_header_sys_soundcard=yes
43717 echo "$as_me: failed program was:" >&5
43718 sed 's/^/| /' conftest.$ac_ext >&5
43722 LIBS="$saveLibs -lossaudio"
43723 cat >conftest.$ac_ext <<_ACEOF
43726 cat confdefs.h >>conftest.$ac_ext
43727 cat >>conftest.$ac_ext <<_ACEOF
43728 /* end confdefs.h. */
43730 #include <sys/ioctl.h>
43731 #include <sys/soundcard.h>
43737 ioctl(0, SNDCTL_DSP_SPEED, 0);
43743 rm -f conftest.$ac_objext conftest$ac_exeext
43744 if { (ac_try="$ac_link"
43745 case "(($ac_try" in
43746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43747 *) ac_try_echo=$ac_try;;
43749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43750 (eval "$ac_link") 2>conftest.er1
43752 grep -v '^ *+' conftest.er1 >conftest.err
43754 cat conftest.err >&5
43755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43756 (exit $ac_status); } && {
43757 test -z "$ac_c_werror_flag" ||
43758 test ! -s conftest.err
43759 } && test -s conftest$ac_exeext &&
43760 $as_test_x conftest$ac_exeext; then
43761 ac_cv_header_sys_soundcard=yes
43763 echo "$as_me: failed program was:" >&5
43764 sed 's/^/| /' conftest.$ac_ext >&5
43768 ac_cv_header_sys_soundcard=no
43773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43774 conftest$ac_exeext conftest.$ac_ext
43779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43780 conftest$ac_exeext conftest.$ac_ext
43783 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43784 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43787 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43788 cat >>confdefs.h <<\_ACEOF
43789 #define HAVE_SYS_SOUNDCARD_H 1
43796 if test "$wxUSE_SOUND" = "yes"; then
43797 if test "$USE_UNIX" = 1 ; then
43798 if test "$wxUSE_LIBSDL" != "no"; then
43800 # Check whether --with-sdl-prefix was given.
43801 if test "${with_sdl_prefix+set}" = set; then
43802 withval=$with_sdl_prefix; sdl_prefix="$withval"
43808 # Check whether --with-sdl-exec-prefix was given.
43809 if test "${with_sdl_exec_prefix+set}" = set; then
43810 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43815 # Check whether --enable-sdltest was given.
43816 if test "${enable_sdltest+set}" = set; then
43817 enableval=$enable_sdltest;
43823 if test x$sdl_exec_prefix != x ; then
43824 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43825 if test x${SDL_CONFIG+set} != xset ; then
43826 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43829 if test x$sdl_prefix != x ; then
43830 sdl_args="$sdl_args --prefix=$sdl_prefix"
43831 if test x${SDL_CONFIG+set} != xset ; then
43832 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43836 if test "x$prefix" != xNONE; then
43837 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43839 # Extract the first word of "sdl-config", so it can be a program name with args.
43840 set dummy sdl-config; ac_word=$2
43841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43843 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43844 echo $ECHO_N "(cached) $ECHO_C" >&6
43846 case $SDL_CONFIG in
43848 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43852 for as_dir in $PATH
43855 test -z "$as_dir" && as_dir=.
43856 for ac_exec_ext in '' $ac_executable_extensions; do
43857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43858 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43866 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43870 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43871 if test -n "$SDL_CONFIG"; then
43872 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43873 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43875 { echo "$as_me:$LINENO: result: no" >&5
43876 echo "${ECHO_T}no" >&6; }
43880 min_sdl_version=1.2.0
43881 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43882 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43884 if test "$SDL_CONFIG" = "no" ; then
43887 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43888 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43890 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43891 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43892 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43893 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43894 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43895 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43896 if test "x$enable_sdltest" = "xyes" ; then
43897 ac_save_CFLAGS="$CFLAGS"
43898 ac_save_CXXFLAGS="$CXXFLAGS"
43899 ac_save_LIBS="$LIBS"
43900 CFLAGS="$CFLAGS $SDL_CFLAGS"
43901 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43902 LIBS="$LIBS $SDL_LIBS"
43904 if test "$cross_compiling" = yes; then
43905 echo $ac_n "cross compiling; assumed OK... $ac_c"
43907 cat >conftest.$ac_ext <<_ACEOF
43910 cat confdefs.h >>conftest.$ac_ext
43911 cat >>conftest.$ac_ext <<_ACEOF
43912 /* end confdefs.h. */
43915 #include <stdlib.h>
43916 #include <string.h>
43920 my_strdup (char *str)
43926 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43927 strcpy (new_str, str);
43935 int main (int argc, char *argv[])
43937 int major, minor, micro;
43940 /* This hangs on some systems (?)
43941 system ("touch conf.sdltest");
43943 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43945 /* HP/UX 9 (%@#!) writes to sscanf strings */
43946 tmp_version = my_strdup("$min_sdl_version");
43947 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43948 printf("%s, bad version string\n", "$min_sdl_version");
43952 if (($sdl_major_version > major) ||
43953 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43954 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43960 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43961 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43962 printf("*** best to upgrade to the required version.\n");
43963 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43964 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43965 printf("*** config.cache before re-running configure\n");
43972 rm -f conftest$ac_exeext
43973 if { (ac_try="$ac_link"
43974 case "(($ac_try" in
43975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43976 *) ac_try_echo=$ac_try;;
43978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43979 (eval "$ac_link") 2>&5
43981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43983 { (case "(($ac_try" in
43984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43985 *) ac_try_echo=$ac_try;;
43987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43988 (eval "$ac_try") 2>&5
43990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43991 (exit $ac_status); }; }; then
43994 echo "$as_me: program exited with status $ac_status" >&5
43995 echo "$as_me: failed program was:" >&5
43996 sed 's/^/| /' conftest.$ac_ext >&5
43998 ( exit $ac_status )
44001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44005 CFLAGS="$ac_save_CFLAGS"
44006 CXXFLAGS="$ac_save_CXXFLAGS"
44007 LIBS="$ac_save_LIBS"
44010 if test "x$no_sdl" = x ; then
44011 { echo "$as_me:$LINENO: result: yes" >&5
44012 echo "${ECHO_T}yes" >&6; }
44014 EXTRALIBS_SDL="$SDL_LIBS"
44015 CFLAGS="$SDL_CFLAGS $CFLAGS"
44016 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44017 cat >>confdefs.h <<\_ACEOF
44018 #define wxUSE_LIBSDL 1
44023 { echo "$as_me:$LINENO: result: no" >&5
44024 echo "${ECHO_T}no" >&6; }
44025 if test "$SDL_CONFIG" = "no" ; then
44026 echo "*** The sdl-config script installed by SDL could not be found"
44027 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44028 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44029 echo "*** full path to sdl-config."
44031 if test -f conf.sdltest ; then
44034 echo "*** Could not run SDL test program, checking why..."
44035 CFLAGS="$CFLAGS $SDL_CFLAGS"
44036 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44037 LIBS="$LIBS $SDL_LIBS"
44038 cat >conftest.$ac_ext <<_ACEOF
44041 cat confdefs.h >>conftest.$ac_ext
44042 cat >>conftest.$ac_ext <<_ACEOF
44043 /* end confdefs.h. */
44048 int main(int argc, char *argv[])
44051 #define main K_and_R_C_main
44061 rm -f conftest.$ac_objext conftest$ac_exeext
44062 if { (ac_try="$ac_link"
44063 case "(($ac_try" in
44064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44065 *) ac_try_echo=$ac_try;;
44067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44068 (eval "$ac_link") 2>conftest.er1
44070 grep -v '^ *+' conftest.er1 >conftest.err
44072 cat conftest.err >&5
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); } && {
44075 test -z "$ac_c_werror_flag" ||
44076 test ! -s conftest.err
44077 } && test -s conftest$ac_exeext &&
44078 $as_test_x conftest$ac_exeext; then
44079 echo "*** The test program compiled, but did not run. This usually means"
44080 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44081 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44082 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44083 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44084 echo "*** is required on your system"
44086 echo "*** If you have an old version installed, it is best to remove it, although"
44087 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44089 echo "$as_me: failed program was:" >&5
44090 sed 's/^/| /' conftest.$ac_ext >&5
44092 echo "*** The test program failed to compile or link. See the file config.log for the"
44093 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44094 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44095 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44099 conftest$ac_exeext conftest.$ac_ext
44100 CFLAGS="$ac_save_CFLAGS"
44101 CXXFLAGS="$ac_save_CXXFLAGS"
44102 LIBS="$ac_save_LIBS"
44113 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44118 if test "$wxUSE_MGL" = 1; then
44119 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44120 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44126 if test "$wxUSE_SOUND" = "yes"; then
44127 cat >>confdefs.h <<\_ACEOF
44128 #define wxUSE_SOUND 1
44131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44134 if test "$WXGTK2" = 1; then
44137 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44138 if test -n "$ac_tool_prefix"; then
44139 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44140 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44143 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44144 echo $ECHO_N "(cached) $ECHO_C" >&6
44146 case $PKG_CONFIG in
44148 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44152 for as_dir in $PATH
44155 test -z "$as_dir" && as_dir=.
44156 for ac_exec_ext in '' $ac_executable_extensions; do
44157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44158 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44169 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44170 if test -n "$PKG_CONFIG"; then
44171 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44172 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44174 { echo "$as_me:$LINENO: result: no" >&5
44175 echo "${ECHO_T}no" >&6; }
44180 if test -z "$ac_cv_path_PKG_CONFIG"; then
44181 ac_pt_PKG_CONFIG=$PKG_CONFIG
44182 # Extract the first word of "pkg-config", so it can be a program name with args.
44183 set dummy pkg-config; ac_word=$2
44184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44186 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44187 echo $ECHO_N "(cached) $ECHO_C" >&6
44189 case $ac_pt_PKG_CONFIG in
44191 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44195 for as_dir in $PATH
44198 test -z "$as_dir" && as_dir=.
44199 for ac_exec_ext in '' $ac_executable_extensions; do
44200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44201 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44212 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44213 if test -n "$ac_pt_PKG_CONFIG"; then
44214 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44215 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44217 { echo "$as_me:$LINENO: result: no" >&5
44218 echo "${ECHO_T}no" >&6; }
44221 if test "x$ac_pt_PKG_CONFIG" = x; then
44224 case $cross_compiling:$ac_tool_warned in
44226 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44227 whose name does not start with the host triplet. If you think this
44228 configuration is useful to you, please write to autoconf@gnu.org." >&5
44229 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44230 whose name does not start with the host triplet. If you think this
44231 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44232 ac_tool_warned=yes ;;
44234 PKG_CONFIG=$ac_pt_PKG_CONFIG
44237 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44241 if test -n "$PKG_CONFIG"; then
44242 _pkg_min_version=0.9.0
44243 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44244 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44245 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44246 { echo "$as_me:$LINENO: result: yes" >&5
44247 echo "${ECHO_T}yes" >&6; }
44249 { echo "$as_me:$LINENO: result: no" >&5
44250 echo "${ECHO_T}no" >&6; }
44256 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44258 if test "$wxUSE_GTKPRINT" = "yes" ; then
44262 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44263 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44265 if test -n "$PKG_CONFIG"; then
44266 if test -n "$GTKPRINT_CFLAGS"; then
44267 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44269 if test -n "$PKG_CONFIG" && \
44270 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44271 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274 (exit $ac_status); }; then
44275 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44283 if test -n "$PKG_CONFIG"; then
44284 if test -n "$GTKPRINT_LIBS"; then
44285 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44287 if test -n "$PKG_CONFIG" && \
44288 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44289 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44292 (exit $ac_status); }; then
44293 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44304 if test $pkg_failed = yes; then
44306 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44307 _pkg_short_errors_supported=yes
44309 _pkg_short_errors_supported=no
44311 if test $_pkg_short_errors_supported = yes; then
44312 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44314 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44316 # Put the nasty error message in config.log where it belongs
44317 echo "$GTKPRINT_PKG_ERRORS" >&5
44320 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44321 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44322 wxUSE_GTKPRINT="no"
44325 elif test $pkg_failed = untried; then
44327 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44328 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44329 wxUSE_GTKPRINT="no"
44333 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44334 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44335 { echo "$as_me:$LINENO: result: yes" >&5
44336 echo "${ECHO_T}yes" >&6; }
44338 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44339 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44340 cat >>confdefs.h <<\_ACEOF
44341 #define wxUSE_GTKPRINT 1
44348 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44352 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44353 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44355 if test -n "$PKG_CONFIG"; then
44356 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44357 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44359 if test -n "$PKG_CONFIG" && \
44360 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44361 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); }; then
44365 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44373 if test -n "$PKG_CONFIG"; then
44374 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44375 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44377 if test -n "$PKG_CONFIG" && \
44378 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44379 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; then
44383 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44394 if test $pkg_failed = yes; then
44396 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44397 _pkg_short_errors_supported=yes
44399 _pkg_short_errors_supported=no
44401 if test $_pkg_short_errors_supported = yes; then
44402 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44404 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44406 # Put the nasty error message in config.log where it belongs
44407 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44410 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44411 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44412 wxUSE_LIBGNOMEPRINT="no"
44415 elif test $pkg_failed = untried; then
44417 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44418 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44419 wxUSE_LIBGNOMEPRINT="no"
44423 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44424 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44425 { echo "$as_me:$LINENO: result: yes" >&5
44426 echo "${ECHO_T}yes" >&6; }
44428 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44429 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44430 cat >>confdefs.h <<\_ACEOF
44431 #define wxUSE_LIBGNOMEPRINT 1
44439 if test "$wxUSE_MIMETYPE" = "yes" ; then
44440 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44444 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44445 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44447 if test -n "$PKG_CONFIG"; then
44448 if test -n "$GNOMEVFS_CFLAGS"; then
44449 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44451 if test -n "$PKG_CONFIG" && \
44452 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44453 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44456 (exit $ac_status); }; then
44457 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44465 if test -n "$PKG_CONFIG"; then
44466 if test -n "$GNOMEVFS_LIBS"; then
44467 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44469 if test -n "$PKG_CONFIG" && \
44470 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44471 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44474 (exit $ac_status); }; then
44475 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44486 if test $pkg_failed = yes; then
44488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44489 _pkg_short_errors_supported=yes
44491 _pkg_short_errors_supported=no
44493 if test $_pkg_short_errors_supported = yes; then
44494 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44496 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44498 # Put the nasty error message in config.log where it belongs
44499 echo "$GNOMEVFS_PKG_ERRORS" >&5
44502 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44503 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44504 wxUSE_LIBGNOMEVFS="no"
44507 elif test $pkg_failed = untried; then
44509 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44510 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44511 wxUSE_LIBGNOMEVFS="no"
44515 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44516 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44517 { echo "$as_me:$LINENO: result: yes" >&5
44518 echo "${ECHO_T}yes" >&6; }
44520 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44521 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44522 cat >>confdefs.h <<\_ACEOF
44523 #define wxUSE_LIBGNOMEVFS 1
44531 if test "$wxUSE_LIBHILDON" = "yes" ; then
44534 { echo "$as_me:$LINENO: checking for HILDON" >&5
44535 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44537 if test -n "$PKG_CONFIG"; then
44538 if test -n "$HILDON_CFLAGS"; then
44539 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44541 if test -n "$PKG_CONFIG" && \
44542 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44543 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); }; then
44547 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44555 if test -n "$PKG_CONFIG"; then
44556 if test -n "$HILDON_LIBS"; then
44557 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44559 if test -n "$PKG_CONFIG" && \
44560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44561 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44564 (exit $ac_status); }; then
44565 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44576 if test $pkg_failed = yes; then
44578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44579 _pkg_short_errors_supported=yes
44581 _pkg_short_errors_supported=no
44583 if test $_pkg_short_errors_supported = yes; then
44584 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44586 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44588 # Put the nasty error message in config.log where it belongs
44589 echo "$HILDON_PKG_ERRORS" >&5
44592 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44593 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44594 wxUSE_LIBHILDON="no"
44598 elif test $pkg_failed = untried; then
44600 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44601 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44602 wxUSE_LIBHILDON="no"
44607 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44608 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44609 { echo "$as_me:$LINENO: result: yes" >&5
44610 echo "${ECHO_T}yes" >&6; }
44612 EXTRALIBS_HILDON="$HILDON_LIBS"
44613 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44614 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44615 cat >>confdefs.h <<\_ACEOF
44616 #define wxUSE_LIBHILDON 1
44623 if test "$ac_hildon_lgpl" = 0 ; then
44626 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44627 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44629 if test -n "$PKG_CONFIG"; then
44630 if test -n "$HILDON2_CFLAGS"; then
44631 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44633 if test -n "$PKG_CONFIG" && \
44634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44635 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44638 (exit $ac_status); }; then
44639 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44647 if test -n "$PKG_CONFIG"; then
44648 if test -n "$HILDON2_LIBS"; then
44649 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44651 if test -n "$PKG_CONFIG" && \
44652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44653 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44656 (exit $ac_status); }; then
44657 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44668 if test $pkg_failed = yes; then
44670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44671 _pkg_short_errors_supported=yes
44673 _pkg_short_errors_supported=no
44675 if test $_pkg_short_errors_supported = yes; then
44676 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44678 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44680 # Put the nasty error message in config.log where it belongs
44681 echo "$HILDON2_PKG_ERRORS" >&5
44684 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44685 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44686 wxUSE_LIBHILDON2="no"
44689 elif test $pkg_failed = untried; then
44691 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44692 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44693 wxUSE_LIBHILDON2="no"
44697 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44698 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44699 { echo "$as_me:$LINENO: result: yes" >&5
44700 echo "${ECHO_T}yes" >&6; }
44702 EXTRALIBS_HILDON="$HILDON2_LIBS"
44703 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44704 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44705 cat >>confdefs.h <<\_ACEOF
44706 #define wxUSE_LIBHILDON2 1
44715 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44716 cat >>confdefs.h <<\_ACEOF
44717 #define wxUSE_CMDLINE_PARSER 1
44722 if test "$wxUSE_STOPWATCH" = "yes"; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_STOPWATCH 1
44729 if test "$wxUSE_DATETIME" = "yes"; then
44730 cat >>confdefs.h <<\_ACEOF
44731 #define wxUSE_DATETIME 1
44736 if test "$wxUSE_FILE" = "yes"; then
44737 cat >>confdefs.h <<\_ACEOF
44738 #define wxUSE_FILE 1
44743 if test "$wxUSE_FFILE" = "yes"; then
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_FFILE 1
44750 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44751 if test "$wxUSE_STREAMS" != yes; then
44752 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44753 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44754 wxUSE_ARCHIVE_STREAMS=no
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_ARCHIVE_STREAMS 1
44763 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44764 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44765 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44766 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44767 elif test "$wxUSE_ZLIB" = "no"; then
44768 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44769 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44771 cat >>confdefs.h <<\_ACEOF
44772 #define wxUSE_ZIPSTREAM 1
44778 if test "$wxUSE_TARSTREAM" = "yes"; then
44779 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44780 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44781 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44783 cat >>confdefs.h <<\_ACEOF
44784 #define wxUSE_TARSTREAM 1
44790 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_FILE_HISTORY 1
44797 if test "$wxUSE_FILESYSTEM" = "yes"; then
44798 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44799 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44800 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44801 wxUSE_FILESYSTEM=no
44803 cat >>confdefs.h <<\_ACEOF
44804 #define wxUSE_FILESYSTEM 1
44810 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44811 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44812 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44813 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44815 cat >>confdefs.h <<\_ACEOF
44816 #define wxUSE_FS_ARCHIVE 1
44822 if test "$wxUSE_FS_ZIP" = "yes"; then
44823 if test "$wxUSE_FS_ARCHIVE" != yes; then
44824 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44825 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44827 cat >>confdefs.h <<\_ACEOF
44828 #define wxUSE_FS_ZIP 1
44834 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44835 if test "$USE_UNIX" != 1; then
44836 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44837 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44838 wxUSE_ON_FATAL_EXCEPTION=no
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_ON_FATAL_EXCEPTION 1
44847 if test "$wxUSE_STACKWALKER" = "yes"; then
44848 cat >>confdefs.h <<\_ACEOF
44849 #define wxUSE_STACKWALKER 1
44854 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44855 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44856 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44857 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44858 wxUSE_DEBUGREPORT=no
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_DEBUGREPORT 1
44864 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44870 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44871 cat >>confdefs.h <<\_ACEOF
44872 #define wxUSE_SNGLINST_CHECKER 1
44877 if test "$wxUSE_BUSYINFO" = "yes"; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_BUSYINFO 1
44884 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_STD_IOSTREAM 1
44891 if test "$wxUSE_STD_STRING" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_STD_STRING 1
44898 if test "$wxUSE_STDPATHS" = "yes"; then
44899 cat >>confdefs.h <<\_ACEOF
44900 #define wxUSE_STDPATHS 1
44905 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44906 cat >>confdefs.h <<\_ACEOF
44907 #define wxUSE_TEXTBUFFER 1
44912 if test "$wxUSE_TEXTFILE" = "yes"; then
44913 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44914 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44915 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_TEXTFILE 1
44924 if test "$wxUSE_CONFIG" = "yes" ; then
44925 if test "$wxUSE_TEXTFILE" != "yes"; then
44926 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44927 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44929 cat >>confdefs.h <<\_ACEOF
44930 #define wxUSE_CONFIG 1
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_CONFIG_NATIVE 1
44937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44941 if test "$wxUSE_INTL" = "yes" ; then
44942 if test "$wxUSE_FILE" != "yes"; then
44943 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44944 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_INTL 1
44950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44951 GUIDIST="$GUIDIST INTL_DIST"
44955 if test "$wxUSE_XLOCALE" = "yes" ; then
44956 cat >>confdefs.h <<\_ACEOF
44957 #define wxUSE_XLOCALE 1
44960 { echo "$as_me:$LINENO: checking for locale_t" >&5
44961 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44962 if test "${ac_cv_type_locale_t+set}" = set; then
44963 echo $ECHO_N "(cached) $ECHO_C" >&6
44965 cat >conftest.$ac_ext <<_ACEOF
44968 cat confdefs.h >>conftest.$ac_ext
44969 cat >>conftest.$ac_ext <<_ACEOF
44970 /* end confdefs.h. */
44971 #include <xlocale.h>
44972 #include <locale.h>
44974 typedef locale_t ac__type_new_;
44978 if ((ac__type_new_ *) 0)
44980 if (sizeof (ac__type_new_))
44986 rm -f conftest.$ac_objext
44987 if { (ac_try="$ac_compile"
44988 case "(($ac_try" in
44989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44990 *) ac_try_echo=$ac_try;;
44992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44993 (eval "$ac_compile") 2>conftest.er1
44995 grep -v '^ *+' conftest.er1 >conftest.err
44997 cat conftest.err >&5
44998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44999 (exit $ac_status); } && {
45000 test -z "$ac_c_werror_flag" ||
45001 test ! -s conftest.err
45002 } && test -s conftest.$ac_objext; then
45003 ac_cv_type_locale_t=yes
45005 echo "$as_me: failed program was:" >&5
45006 sed 's/^/| /' conftest.$ac_ext >&5
45008 ac_cv_type_locale_t=no
45011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45013 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45014 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45015 if test $ac_cv_type_locale_t = yes; then
45017 cat >>confdefs.h <<_ACEOF
45018 #define HAVE_LOCALE_T 1
45026 if test "$wxUSE_LOG" = "yes"; then
45027 cat >>confdefs.h <<\_ACEOF
45028 #define wxUSE_LOG 1
45032 if test "$wxUSE_LOGGUI" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_LOGGUI 1
45039 if test "$wxUSE_LOGWINDOW" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_LOGWINDOW 1
45046 if test "$wxUSE_LOGDIALOG" = "yes"; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_LOG_DIALOG 1
45053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45056 if test "$wxUSE_LONGLONG" = "yes"; then
45057 cat >>confdefs.h <<\_ACEOF
45058 #define wxUSE_LONGLONG 1
45063 if test "$wxUSE_GEOMETRY" = "yes"; then
45064 cat >>confdefs.h <<\_ACEOF
45065 #define wxUSE_GEOMETRY 1
45070 if test "$wxUSE_BASE64" = "yes"; then
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_BASE64 1
45077 if test "$wxUSE_STREAMS" = "yes" ; then
45078 cat >>confdefs.h <<\_ACEOF
45079 #define wxUSE_STREAMS 1
45084 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45085 cat >>confdefs.h <<\_ACEOF
45086 #define wxUSE_PRINTF_POS_PARAMS 1
45091 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_OBJC_UNIQUIFYING 1
45099 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_CONSOLE_EVENTLOOP 1
45105 if test "$wxUSE_UNIX" = "yes"; then
45106 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45107 cat >>confdefs.h <<\_ACEOF
45108 #define wxUSE_SELECT_DISPATCHER 1
45113 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45115 for ac_header in sys/epoll.h
45117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45118 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45121 echo $ECHO_N "(cached) $ECHO_C" >&6
45123 cat >conftest.$ac_ext <<_ACEOF
45126 cat confdefs.h >>conftest.$ac_ext
45127 cat >>conftest.$ac_ext <<_ACEOF
45128 /* end confdefs.h. */
45129 $ac_includes_default
45131 #include <$ac_header>
45133 rm -f conftest.$ac_objext
45134 if { (ac_try="$ac_compile"
45135 case "(($ac_try" in
45136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45137 *) ac_try_echo=$ac_try;;
45139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45140 (eval "$ac_compile") 2>conftest.er1
45142 grep -v '^ *+' conftest.er1 >conftest.err
45144 cat conftest.err >&5
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); } && {
45147 test -z "$ac_c_werror_flag" ||
45148 test ! -s conftest.err
45149 } && test -s conftest.$ac_objext; then
45150 eval "$as_ac_Header=yes"
45152 echo "$as_me: failed program was:" >&5
45153 sed 's/^/| /' conftest.$ac_ext >&5
45155 eval "$as_ac_Header=no"
45158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45160 ac_res=`eval echo '${'$as_ac_Header'}'`
45161 { echo "$as_me:$LINENO: result: $ac_res" >&5
45162 echo "${ECHO_T}$ac_res" >&6; }
45163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45164 cat >>confdefs.h <<_ACEOF
45165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45172 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_EPOLL_DISPATCHER 1
45178 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45179 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45188 for ac_func in gettimeofday ftime
45190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45194 echo $ECHO_N "(cached) $ECHO_C" >&6
45196 cat >conftest.$ac_ext <<_ACEOF
45199 cat confdefs.h >>conftest.$ac_ext
45200 cat >>conftest.$ac_ext <<_ACEOF
45201 /* end confdefs.h. */
45202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45204 #define $ac_func innocuous_$ac_func
45206 /* System header to define __stub macros and hopefully few prototypes,
45207 which can conflict with char $ac_func (); below.
45208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45209 <limits.h> exists even on freestanding compilers. */
45212 # include <limits.h>
45214 # include <assert.h>
45219 /* Override any GCC internal prototype to avoid an error.
45220 Use char because int might match the return type of a GCC
45221 builtin and then its argument prototype would still apply. */
45226 /* The GNU C library defines this for functions which it implements
45227 to always fail with ENOSYS. Some functions are actually named
45228 something starting with __ and the normal name is an alias. */
45229 #if defined __stub_$ac_func || defined __stub___$ac_func
45236 return $ac_func ();
45241 rm -f conftest.$ac_objext conftest$ac_exeext
45242 if { (ac_try="$ac_link"
45243 case "(($ac_try" in
45244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45245 *) ac_try_echo=$ac_try;;
45247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45248 (eval "$ac_link") 2>conftest.er1
45250 grep -v '^ *+' conftest.er1 >conftest.err
45252 cat conftest.err >&5
45253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254 (exit $ac_status); } && {
45255 test -z "$ac_c_werror_flag" ||
45256 test ! -s conftest.err
45257 } && test -s conftest$ac_exeext &&
45258 $as_test_x conftest$ac_exeext; then
45259 eval "$as_ac_var=yes"
45261 echo "$as_me: failed program was:" >&5
45262 sed 's/^/| /' conftest.$ac_ext >&5
45264 eval "$as_ac_var=no"
45267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45268 conftest$ac_exeext conftest.$ac_ext
45270 ac_res=`eval echo '${'$as_ac_var'}'`
45271 { echo "$as_me:$LINENO: result: $ac_res" >&5
45272 echo "${ECHO_T}$ac_res" >&6; }
45273 if test `eval echo '${'$as_ac_var'}'` = yes; then
45274 cat >>confdefs.h <<_ACEOF
45275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45282 if test "$ac_cv_func_gettimeofday" = "yes"; then
45283 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45284 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45285 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45286 echo $ECHO_N "(cached) $ECHO_C" >&6
45289 cat >conftest.$ac_ext <<_ACEOF
45292 cat confdefs.h >>conftest.$ac_ext
45293 cat >>conftest.$ac_ext <<_ACEOF
45294 /* end confdefs.h. */
45296 #include <sys/time.h>
45297 #include <unistd.h>
45304 gettimeofday(&tv, NULL);
45310 rm -f conftest.$ac_objext
45311 if { (ac_try="$ac_compile"
45312 case "(($ac_try" in
45313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45314 *) ac_try_echo=$ac_try;;
45316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45317 (eval "$ac_compile") 2>conftest.er1
45319 grep -v '^ *+' conftest.er1 >conftest.err
45321 cat conftest.err >&5
45322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45323 (exit $ac_status); } && {
45324 test -z "$ac_c_werror_flag" ||
45325 test ! -s conftest.err
45326 } && test -s conftest.$ac_objext; then
45327 wx_cv_func_gettimeofday_has_2_args=yes
45329 echo "$as_me: failed program was:" >&5
45330 sed 's/^/| /' conftest.$ac_ext >&5
45332 cat >conftest.$ac_ext <<_ACEOF
45335 cat confdefs.h >>conftest.$ac_ext
45336 cat >>conftest.$ac_ext <<_ACEOF
45337 /* end confdefs.h. */
45339 #include <sys/time.h>
45340 #include <unistd.h>
45353 rm -f conftest.$ac_objext
45354 if { (ac_try="$ac_compile"
45355 case "(($ac_try" in
45356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45357 *) ac_try_echo=$ac_try;;
45359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45360 (eval "$ac_compile") 2>conftest.er1
45362 grep -v '^ *+' conftest.er1 >conftest.err
45364 cat conftest.err >&5
45365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45366 (exit $ac_status); } && {
45367 test -z "$ac_c_werror_flag" ||
45368 test ! -s conftest.err
45369 } && test -s conftest.$ac_objext; then
45370 wx_cv_func_gettimeofday_has_2_args=no
45372 echo "$as_me: failed program was:" >&5
45373 sed 's/^/| /' conftest.$ac_ext >&5
45376 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45377 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45378 wx_cv_func_gettimeofday_has_2_args=unknown
45383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45390 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45391 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45393 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define WX_GETTIMEOFDAY_NO_TZ 1
45401 if test "$wxUSE_DATETIME" = "yes"; then
45402 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45403 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45404 if test "${wx_cv_var_timezone+set}" = set; then
45405 echo $ECHO_N "(cached) $ECHO_C" >&6
45409 ac_cpp='$CXXCPP $CPPFLAGS'
45410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45414 cat >conftest.$ac_ext <<_ACEOF
45417 cat confdefs.h >>conftest.$ac_ext
45418 cat >>conftest.$ac_ext <<_ACEOF
45419 /* end confdefs.h. */
45434 rm -f conftest.$ac_objext
45435 if { (ac_try="$ac_compile"
45436 case "(($ac_try" in
45437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45438 *) ac_try_echo=$ac_try;;
45440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45441 (eval "$ac_compile") 2>conftest.er1
45443 grep -v '^ *+' conftest.er1 >conftest.err
45445 cat conftest.err >&5
45446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45447 (exit $ac_status); } && {
45448 test -z "$ac_cxx_werror_flag" ||
45449 test ! -s conftest.err
45450 } && test -s conftest.$ac_objext; then
45452 wx_cv_var_timezone=timezone
45455 echo "$as_me: failed program was:" >&5
45456 sed 's/^/| /' conftest.$ac_ext >&5
45459 cat >conftest.$ac_ext <<_ACEOF
45462 cat confdefs.h >>conftest.$ac_ext
45463 cat >>conftest.$ac_ext <<_ACEOF
45464 /* end confdefs.h. */
45479 rm -f conftest.$ac_objext
45480 if { (ac_try="$ac_compile"
45481 case "(($ac_try" in
45482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45483 *) ac_try_echo=$ac_try;;
45485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45486 (eval "$ac_compile") 2>conftest.er1
45488 grep -v '^ *+' conftest.er1 >conftest.err
45490 cat conftest.err >&5
45491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45492 (exit $ac_status); } && {
45493 test -z "$ac_cxx_werror_flag" ||
45494 test ! -s conftest.err
45495 } && test -s conftest.$ac_objext; then
45497 wx_cv_var_timezone=_timezone
45500 echo "$as_me: failed program was:" >&5
45501 sed 's/^/| /' conftest.$ac_ext >&5
45504 cat >conftest.$ac_ext <<_ACEOF
45507 cat confdefs.h >>conftest.$ac_ext
45508 cat >>conftest.$ac_ext <<_ACEOF
45509 /* end confdefs.h. */
45524 rm -f conftest.$ac_objext
45525 if { (ac_try="$ac_compile"
45526 case "(($ac_try" in
45527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45528 *) ac_try_echo=$ac_try;;
45530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45531 (eval "$ac_compile") 2>conftest.er1
45533 grep -v '^ *+' conftest.er1 >conftest.err
45535 cat conftest.err >&5
45536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45537 (exit $ac_status); } && {
45538 test -z "$ac_cxx_werror_flag" ||
45539 test ! -s conftest.err
45540 } && test -s conftest.$ac_objext; then
45542 wx_cv_var_timezone=__timezone
45545 echo "$as_me: failed program was:" >&5
45546 sed 's/^/| /' conftest.$ac_ext >&5
45549 if test "$USE_DOS" = 0 ; then
45550 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45551 echo "$as_me: WARNING: no timezone variable" >&2;}
45557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45569 ac_cpp='$CPP $CPPFLAGS'
45570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45577 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45578 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45580 if test "x$wx_cv_var_timezone" != x ; then
45581 cat >>confdefs.h <<_ACEOF
45582 #define WX_TIMEZONE $wx_cv_var_timezone
45588 for ac_func in localtime
45590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45591 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45593 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45594 echo $ECHO_N "(cached) $ECHO_C" >&6
45596 cat >conftest.$ac_ext <<_ACEOF
45599 cat confdefs.h >>conftest.$ac_ext
45600 cat >>conftest.$ac_ext <<_ACEOF
45601 /* end confdefs.h. */
45602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45604 #define $ac_func innocuous_$ac_func
45606 /* System header to define __stub macros and hopefully few prototypes,
45607 which can conflict with char $ac_func (); below.
45608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45609 <limits.h> exists even on freestanding compilers. */
45612 # include <limits.h>
45614 # include <assert.h>
45619 /* Override any GCC internal prototype to avoid an error.
45620 Use char because int might match the return type of a GCC
45621 builtin and then its argument prototype would still apply. */
45626 /* The GNU C library defines this for functions which it implements
45627 to always fail with ENOSYS. Some functions are actually named
45628 something starting with __ and the normal name is an alias. */
45629 #if defined __stub_$ac_func || defined __stub___$ac_func
45636 return $ac_func ();
45641 rm -f conftest.$ac_objext conftest$ac_exeext
45642 if { (ac_try="$ac_link"
45643 case "(($ac_try" in
45644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45645 *) ac_try_echo=$ac_try;;
45647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45648 (eval "$ac_link") 2>conftest.er1
45650 grep -v '^ *+' conftest.er1 >conftest.err
45652 cat conftest.err >&5
45653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45654 (exit $ac_status); } && {
45655 test -z "$ac_c_werror_flag" ||
45656 test ! -s conftest.err
45657 } && test -s conftest$ac_exeext &&
45658 $as_test_x conftest$ac_exeext; then
45659 eval "$as_ac_var=yes"
45661 echo "$as_me: failed program was:" >&5
45662 sed 's/^/| /' conftest.$ac_ext >&5
45664 eval "$as_ac_var=no"
45667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45668 conftest$ac_exeext conftest.$ac_ext
45670 ac_res=`eval echo '${'$as_ac_var'}'`
45671 { echo "$as_me:$LINENO: result: $ac_res" >&5
45672 echo "${ECHO_T}$ac_res" >&6; }
45673 if test `eval echo '${'$as_ac_var'}'` = yes; then
45674 cat >>confdefs.h <<_ACEOF
45675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45682 if test "$ac_cv_func_localtime" = "yes"; then
45683 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45684 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45685 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45686 echo $ECHO_N "(cached) $ECHO_C" >&6
45689 cat >conftest.$ac_ext <<_ACEOF
45692 cat confdefs.h >>conftest.$ac_ext
45693 cat >>conftest.$ac_ext <<_ACEOF
45694 /* end confdefs.h. */
45709 rm -f conftest.$ac_objext
45710 if { (ac_try="$ac_compile"
45711 case "(($ac_try" in
45712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45713 *) ac_try_echo=$ac_try;;
45715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45716 (eval "$ac_compile") 2>conftest.er1
45718 grep -v '^ *+' conftest.er1 >conftest.err
45720 cat conftest.err >&5
45721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45722 (exit $ac_status); } && {
45723 test -z "$ac_c_werror_flag" ||
45724 test ! -s conftest.err
45725 } && test -s conftest.$ac_objext; then
45727 wx_cv_struct_tm_has_gmtoff=yes
45730 echo "$as_me: failed program was:" >&5
45731 sed 's/^/| /' conftest.$ac_ext >&5
45733 wx_cv_struct_tm_has_gmtoff=no
45737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45740 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45741 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45744 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define WX_GMTOFF_IN_TM 1
45751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45755 if test "$wxUSE_SOCKETS" = "yes"; then
45756 if test "$wxUSE_MGL" = 1; then
45757 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45758 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45763 if test "$wxUSE_SOCKETS" = "yes"; then
45764 if test "$TOOLKIT" != "MSW"; then
45765 { echo "$as_me:$LINENO: checking for socket" >&5
45766 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45767 if test "${ac_cv_func_socket+set}" = set; then
45768 echo $ECHO_N "(cached) $ECHO_C" >&6
45770 cat >conftest.$ac_ext <<_ACEOF
45773 cat confdefs.h >>conftest.$ac_ext
45774 cat >>conftest.$ac_ext <<_ACEOF
45775 /* end confdefs.h. */
45776 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45778 #define socket innocuous_socket
45780 /* System header to define __stub macros and hopefully few prototypes,
45781 which can conflict with char socket (); below.
45782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45783 <limits.h> exists even on freestanding compilers. */
45786 # include <limits.h>
45788 # include <assert.h>
45793 /* Override any GCC internal prototype to avoid an error.
45794 Use char because int might match the return type of a GCC
45795 builtin and then its argument prototype would still apply. */
45800 /* The GNU C library defines this for functions which it implements
45801 to always fail with ENOSYS. Some functions are actually named
45802 something starting with __ and the normal name is an alias. */
45803 #if defined __stub_socket || defined __stub___socket
45815 rm -f conftest.$ac_objext conftest$ac_exeext
45816 if { (ac_try="$ac_link"
45817 case "(($ac_try" in
45818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45819 *) ac_try_echo=$ac_try;;
45821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45822 (eval "$ac_link") 2>conftest.er1
45824 grep -v '^ *+' conftest.er1 >conftest.err
45826 cat conftest.err >&5
45827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45828 (exit $ac_status); } && {
45829 test -z "$ac_c_werror_flag" ||
45830 test ! -s conftest.err
45831 } && test -s conftest$ac_exeext &&
45832 $as_test_x conftest$ac_exeext; then
45833 ac_cv_func_socket=yes
45835 echo "$as_me: failed program was:" >&5
45836 sed 's/^/| /' conftest.$ac_ext >&5
45838 ac_cv_func_socket=no
45841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45842 conftest$ac_exeext conftest.$ac_ext
45844 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45845 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45846 if test $ac_cv_func_socket = yes; then
45850 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45851 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45852 if test "${ac_cv_lib_socket_socket+set}" = set; then
45853 echo $ECHO_N "(cached) $ECHO_C" >&6
45855 ac_check_lib_save_LIBS=$LIBS
45856 LIBS="-lsocket $LIBS"
45857 cat >conftest.$ac_ext <<_ACEOF
45860 cat confdefs.h >>conftest.$ac_ext
45861 cat >>conftest.$ac_ext <<_ACEOF
45862 /* end confdefs.h. */
45864 /* Override any GCC internal prototype to avoid an error.
45865 Use char because int might match the return type of a GCC
45866 builtin and then its argument prototype would still apply. */
45879 rm -f conftest.$ac_objext conftest$ac_exeext
45880 if { (ac_try="$ac_link"
45881 case "(($ac_try" in
45882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45883 *) ac_try_echo=$ac_try;;
45885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45886 (eval "$ac_link") 2>conftest.er1
45888 grep -v '^ *+' conftest.er1 >conftest.err
45890 cat conftest.err >&5
45891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45892 (exit $ac_status); } && {
45893 test -z "$ac_c_werror_flag" ||
45894 test ! -s conftest.err
45895 } && test -s conftest$ac_exeext &&
45896 $as_test_x conftest$ac_exeext; then
45897 ac_cv_lib_socket_socket=yes
45899 echo "$as_me: failed program was:" >&5
45900 sed 's/^/| /' conftest.$ac_ext >&5
45902 ac_cv_lib_socket_socket=no
45905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45906 conftest$ac_exeext conftest.$ac_ext
45907 LIBS=$ac_check_lib_save_LIBS
45909 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45910 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45911 if test $ac_cv_lib_socket_socket = yes; then
45912 if test "$INET_LINK" != " -lsocket"; then
45913 INET_LINK="$INET_LINK -lsocket"
45917 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45918 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45931 if test "$wxUSE_SOCKETS" = "yes" ; then
45932 if test "$TOOLKIT" != "MSW"; then
45933 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45934 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45935 if test "${wx_cv_type_getsockname3+set}" = set; then
45936 echo $ECHO_N "(cached) $ECHO_C" >&6
45940 ac_cpp='$CXXCPP $CPPFLAGS'
45941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45945 cat >conftest.$ac_ext <<_ACEOF
45948 cat confdefs.h >>conftest.$ac_ext
45949 cat >>conftest.$ac_ext <<_ACEOF
45950 /* end confdefs.h. */
45952 #include <sys/types.h>
45953 #include <sys/socket.h>
45960 getsockname(0, 0, &len);
45966 rm -f conftest.$ac_objext
45967 if { (ac_try="$ac_compile"
45968 case "(($ac_try" in
45969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45970 *) ac_try_echo=$ac_try;;
45972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45973 (eval "$ac_compile") 2>conftest.er1
45975 grep -v '^ *+' conftest.er1 >conftest.err
45977 cat conftest.err >&5
45978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45979 (exit $ac_status); } && {
45980 test -z "$ac_cxx_werror_flag" ||
45981 test ! -s conftest.err
45982 } && test -s conftest.$ac_objext; then
45983 wx_cv_type_getsockname3=socklen_t
45985 echo "$as_me: failed program was:" >&5
45986 sed 's/^/| /' conftest.$ac_ext >&5
45989 CFLAGS_OLD="$CFLAGS"
45990 if test "$GCC" = yes ; then
45991 CFLAGS="-Werror $CFLAGS"
45994 cat >conftest.$ac_ext <<_ACEOF
45997 cat confdefs.h >>conftest.$ac_ext
45998 cat >>conftest.$ac_ext <<_ACEOF
45999 /* end confdefs.h. */
46001 #include <sys/types.h>
46002 #include <sys/socket.h>
46009 getsockname(0, 0, &len);
46015 rm -f conftest.$ac_objext
46016 if { (ac_try="$ac_compile"
46017 case "(($ac_try" in
46018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46019 *) ac_try_echo=$ac_try;;
46021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46022 (eval "$ac_compile") 2>conftest.er1
46024 grep -v '^ *+' conftest.er1 >conftest.err
46026 cat conftest.err >&5
46027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46028 (exit $ac_status); } && {
46029 test -z "$ac_cxx_werror_flag" ||
46030 test ! -s conftest.err
46031 } && test -s conftest.$ac_objext; then
46032 wx_cv_type_getsockname3=size_t
46034 echo "$as_me: failed program was:" >&5
46035 sed 's/^/| /' conftest.$ac_ext >&5
46037 cat >conftest.$ac_ext <<_ACEOF
46040 cat confdefs.h >>conftest.$ac_ext
46041 cat >>conftest.$ac_ext <<_ACEOF
46042 /* end confdefs.h. */
46044 #include <sys/types.h>
46045 #include <sys/socket.h>
46052 getsockname(0, 0, &len);
46058 rm -f conftest.$ac_objext
46059 if { (ac_try="$ac_compile"
46060 case "(($ac_try" in
46061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46062 *) ac_try_echo=$ac_try;;
46064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46065 (eval "$ac_compile") 2>conftest.er1
46067 grep -v '^ *+' conftest.er1 >conftest.err
46069 cat conftest.err >&5
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); } && {
46072 test -z "$ac_cxx_werror_flag" ||
46073 test ! -s conftest.err
46074 } && test -s conftest.$ac_objext; then
46075 wx_cv_type_getsockname3=int
46077 echo "$as_me: failed program was:" >&5
46078 sed 's/^/| /' conftest.$ac_ext >&5
46080 wx_cv_type_getsockname3=unknown
46084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46090 CFLAGS="$CFLAGS_OLD"
46095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46097 ac_cpp='$CPP $CPPFLAGS'
46098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46104 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46105 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46107 if test "$wx_cv_type_getsockname3" = "unknown"; then
46109 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46110 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46112 cat >>confdefs.h <<_ACEOF
46113 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46117 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46118 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46119 if test "${wx_cv_type_getsockopt5+set}" = set; then
46120 echo $ECHO_N "(cached) $ECHO_C" >&6
46124 ac_cpp='$CXXCPP $CPPFLAGS'
46125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46129 cat >conftest.$ac_ext <<_ACEOF
46132 cat confdefs.h >>conftest.$ac_ext
46133 cat >>conftest.$ac_ext <<_ACEOF
46134 /* end confdefs.h. */
46136 #include <sys/types.h>
46137 #include <sys/socket.h>
46144 getsockopt(0, 0, 0, 0, &len);
46150 rm -f conftest.$ac_objext
46151 if { (ac_try="$ac_compile"
46152 case "(($ac_try" in
46153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46154 *) ac_try_echo=$ac_try;;
46156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46157 (eval "$ac_compile") 2>conftest.er1
46159 grep -v '^ *+' conftest.er1 >conftest.err
46161 cat conftest.err >&5
46162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46163 (exit $ac_status); } && {
46164 test -z "$ac_cxx_werror_flag" ||
46165 test ! -s conftest.err
46166 } && test -s conftest.$ac_objext; then
46167 wx_cv_type_getsockopt5=socklen_t
46169 echo "$as_me: failed program was:" >&5
46170 sed 's/^/| /' conftest.$ac_ext >&5
46173 cat >conftest.$ac_ext <<_ACEOF
46176 cat confdefs.h >>conftest.$ac_ext
46177 cat >>conftest.$ac_ext <<_ACEOF
46178 /* end confdefs.h. */
46180 #include <sys/types.h>
46181 #include <sys/socket.h>
46188 getsockopt(0, 0, 0, 0, &len);
46194 rm -f conftest.$ac_objext
46195 if { (ac_try="$ac_compile"
46196 case "(($ac_try" in
46197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46198 *) ac_try_echo=$ac_try;;
46200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46201 (eval "$ac_compile") 2>conftest.er1
46203 grep -v '^ *+' conftest.er1 >conftest.err
46205 cat conftest.err >&5
46206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46207 (exit $ac_status); } && {
46208 test -z "$ac_cxx_werror_flag" ||
46209 test ! -s conftest.err
46210 } && test -s conftest.$ac_objext; then
46211 wx_cv_type_getsockopt5=size_t
46213 echo "$as_me: failed program was:" >&5
46214 sed 's/^/| /' conftest.$ac_ext >&5
46216 cat >conftest.$ac_ext <<_ACEOF
46219 cat confdefs.h >>conftest.$ac_ext
46220 cat >>conftest.$ac_ext <<_ACEOF
46221 /* end confdefs.h. */
46223 #include <sys/types.h>
46224 #include <sys/socket.h>
46231 getsockopt(0, 0, 0, 0, &len);
46237 rm -f conftest.$ac_objext
46238 if { (ac_try="$ac_compile"
46239 case "(($ac_try" in
46240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46241 *) ac_try_echo=$ac_try;;
46243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46244 (eval "$ac_compile") 2>conftest.er1
46246 grep -v '^ *+' conftest.er1 >conftest.err
46248 cat conftest.err >&5
46249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46250 (exit $ac_status); } && {
46251 test -z "$ac_cxx_werror_flag" ||
46252 test ! -s conftest.err
46253 } && test -s conftest.$ac_objext; then
46254 wx_cv_type_getsockopt5=int
46256 echo "$as_me: failed program was:" >&5
46257 sed 's/^/| /' conftest.$ac_ext >&5
46259 wx_cv_type_getsockopt5=unknown
46263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46274 ac_cpp='$CPP $CPPFLAGS'
46275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46281 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46282 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46284 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46286 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46287 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46289 cat >>confdefs.h <<_ACEOF
46290 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46297 if test "$wxUSE_SOCKETS" = "yes" ; then
46298 if test "$wxUSE_IPV6" = "yes"; then
46299 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46300 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46301 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46302 echo $ECHO_N "(cached) $ECHO_C" >&6
46305 cat >conftest.$ac_ext <<_ACEOF
46308 cat confdefs.h >>conftest.$ac_ext
46309 cat >>conftest.$ac_ext <<_ACEOF
46310 /* end confdefs.h. */
46312 #include <sys/types.h>
46313 #include <sys/socket.h>
46314 #include <netinet/in.h>
46320 struct sockaddr_in6 sa6;
46326 rm -f conftest.$ac_objext
46327 if { (ac_try="$ac_compile"
46328 case "(($ac_try" in
46329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46330 *) ac_try_echo=$ac_try;;
46332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46333 (eval "$ac_compile") 2>conftest.er1
46335 grep -v '^ *+' conftest.er1 >conftest.err
46337 cat conftest.err >&5
46338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46339 (exit $ac_status); } && {
46340 test -z "$ac_c_werror_flag" ||
46341 test ! -s conftest.err
46342 } && test -s conftest.$ac_objext; then
46343 wx_cv_type_sockaddr_in6=yes
46345 echo "$as_me: failed program was:" >&5
46346 sed 's/^/| /' conftest.$ac_ext >&5
46348 wx_cv_type_sockaddr_in6=no
46352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46356 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46357 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46359 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_IPV6 1
46365 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46366 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46370 cat >>confdefs.h <<\_ACEOF
46371 #define wxUSE_SOCKETS 1
46374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46377 if test "$wxUSE_PROTOCOL" = "yes"; then
46378 if test "$wxUSE_SOCKETS" != "yes"; then
46379 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46380 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46385 if test "$wxUSE_PROTOCOL" = "yes"; then
46386 cat >>confdefs.h <<\_ACEOF
46387 #define wxUSE_PROTOCOL 1
46391 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_PROTOCOL_HTTP 1
46397 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_PROTOCOL_FTP 1
46403 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_PROTOCOL_FILE 1
46410 if test "$wxUSE_FS_INET" = "yes"; then
46411 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46412 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46417 if test "$wxUSE_URL" = "yes"; then
46418 if test "$wxUSE_PROTOCOL" != "yes"; then
46419 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46420 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46423 if test "$wxUSE_URL" = "yes"; then
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_URL 1
46431 if test "$wxUSE_VARIANT" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_VARIANT 1
46438 if test "$wxUSE_FS_INET" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_FS_INET 1
46446 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46449 if test "$TOOLKIT" = "MSW"; then
46452 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46453 if test "$USE_DARWIN" = 1; then
46454 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46455 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46457 ac_cpp='$CXXCPP $CPPFLAGS'
46458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46462 cat >conftest.$ac_ext <<_ACEOF
46465 cat confdefs.h >>conftest.$ac_ext
46466 cat >>conftest.$ac_ext <<_ACEOF
46467 /* end confdefs.h. */
46468 #include <IOKit/hid/IOHIDLib.h>
46472 IOHIDQueueInterface *qi = NULL;
46473 IOHIDCallbackFunction cb = NULL;
46474 qi->setEventCallout(NULL, cb, NULL, NULL);
46479 rm -f conftest.$ac_objext
46480 if { (ac_try="$ac_compile"
46481 case "(($ac_try" in
46482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46483 *) ac_try_echo=$ac_try;;
46485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46486 (eval "$ac_compile") 2>conftest.er1
46488 grep -v '^ *+' conftest.er1 >conftest.err
46490 cat conftest.err >&5
46491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46492 (exit $ac_status); } && {
46493 test -z "$ac_cxx_werror_flag" ||
46494 test ! -s conftest.err
46495 } && test -s conftest.$ac_objext; then
46499 echo "$as_me: failed program was:" >&5
46500 sed 's/^/| /' conftest.$ac_ext >&5
46505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46507 ac_cpp='$CPP $CPPFLAGS'
46508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46512 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46513 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46517 if test "$wxUSE_MGL" != 1; then
46519 for ac_header in linux/joystick.h
46521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46522 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46525 echo $ECHO_N "(cached) $ECHO_C" >&6
46527 cat >conftest.$ac_ext <<_ACEOF
46530 cat confdefs.h >>conftest.$ac_ext
46531 cat >>conftest.$ac_ext <<_ACEOF
46532 /* end confdefs.h. */
46533 $ac_includes_default
46535 #include <$ac_header>
46537 rm -f conftest.$ac_objext
46538 if { (ac_try="$ac_compile"
46539 case "(($ac_try" in
46540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46541 *) ac_try_echo=$ac_try;;
46543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46544 (eval "$ac_compile") 2>conftest.er1
46546 grep -v '^ *+' conftest.er1 >conftest.err
46548 cat conftest.err >&5
46549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46550 (exit $ac_status); } && {
46551 test -z "$ac_c_werror_flag" ||
46552 test ! -s conftest.err
46553 } && test -s conftest.$ac_objext; then
46554 eval "$as_ac_Header=yes"
46556 echo "$as_me: failed program was:" >&5
46557 sed 's/^/| /' conftest.$ac_ext >&5
46559 eval "$as_ac_Header=no"
46562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46564 ac_res=`eval echo '${'$as_ac_Header'}'`
46565 { echo "$as_me:$LINENO: result: $ac_res" >&5
46566 echo "${ECHO_T}$ac_res" >&6; }
46567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46568 cat >>confdefs.h <<_ACEOF
46569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46579 if test "$wxUSE_JOYSTICK" = "yes"; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_JOYSTICK 1
46584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46586 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46587 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46593 if test "$wxUSE_FONTENUM" = "yes" ; then
46594 cat >>confdefs.h <<\_ACEOF
46595 #define wxUSE_FONTENUM 1
46600 if test "$wxUSE_FONTMAP" = "yes" ; then
46601 cat >>confdefs.h <<\_ACEOF
46602 #define wxUSE_FONTMAP 1
46607 if test "$wxUSE_UNICODE" = "yes" ; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_UNICODE 1
46613 if test "$USE_WIN32" != 1; then
46614 wxUSE_UNICODE_MSLU=no
46617 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46618 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46619 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46620 if test "${ac_cv_lib_unicows_main+set}" = set; then
46621 echo $ECHO_N "(cached) $ECHO_C" >&6
46623 ac_check_lib_save_LIBS=$LIBS
46624 LIBS="-lunicows $LIBS"
46625 cat >conftest.$ac_ext <<_ACEOF
46628 cat confdefs.h >>conftest.$ac_ext
46629 cat >>conftest.$ac_ext <<_ACEOF
46630 /* end confdefs.h. */
46641 rm -f conftest.$ac_objext conftest$ac_exeext
46642 if { (ac_try="$ac_link"
46643 case "(($ac_try" in
46644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46645 *) ac_try_echo=$ac_try;;
46647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46648 (eval "$ac_link") 2>conftest.er1
46650 grep -v '^ *+' conftest.er1 >conftest.err
46652 cat conftest.err >&5
46653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46654 (exit $ac_status); } && {
46655 test -z "$ac_c_werror_flag" ||
46656 test ! -s conftest.err
46657 } && test -s conftest$ac_exeext &&
46658 $as_test_x conftest$ac_exeext; then
46659 ac_cv_lib_unicows_main=yes
46661 echo "$as_me: failed program was:" >&5
46662 sed 's/^/| /' conftest.$ac_ext >&5
46664 ac_cv_lib_unicows_main=no
46667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46668 conftest$ac_exeext conftest.$ac_ext
46669 LIBS=$ac_check_lib_save_LIBS
46671 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46672 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46673 if test $ac_cv_lib_unicows_main = yes; then
46675 cat >>confdefs.h <<\_ACEOF
46676 #define wxUSE_UNICODE_MSLU 1
46682 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46683 Applications will only run on Windows NT/2000/XP!" >&5
46684 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46685 Applications will only run on Windows NT/2000/XP!" >&2;}
46686 wxUSE_UNICODE_MSLU=no
46693 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46694 cat >>confdefs.h <<\_ACEOF
46695 #define wxUSE_UNICODE_UTF8 1
46699 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_UTF8_LOCALE_ONLY 1
46708 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46709 cat >>confdefs.h <<\_ACEOF
46710 #define wxUSE_CONSTRAINTS 1
46713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46716 if test "$wxUSE_MDI" = "yes"; then
46717 cat >>confdefs.h <<\_ACEOF
46718 #define wxUSE_MDI 1
46722 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46723 cat >>confdefs.h <<\_ACEOF
46724 #define wxUSE_MDI_ARCHITECTURE 1
46727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46731 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46732 cat >>confdefs.h <<\_ACEOF
46733 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46739 if test "$wxUSE_HELP" = "yes"; then
46740 cat >>confdefs.h <<\_ACEOF
46741 #define wxUSE_HELP 1
46744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46746 if test "$wxUSE_MSW" = 1; then
46747 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46748 cat >>confdefs.h <<\_ACEOF
46749 #define wxUSE_MS_HTML_HELP 1
46755 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46756 if test "$wxUSE_HTML" = "yes"; then
46757 cat >>confdefs.h <<\_ACEOF
46758 #define wxUSE_WXHTML_HELP 1
46762 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46763 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46764 wxUSE_WXHTML_HELP=no
46769 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46770 cat >>confdefs.h <<\_ACEOF
46771 #define wxUSE_PRINTING_ARCHITECTURE 1
46774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46777 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46778 cat >>confdefs.h <<\_ACEOF
46779 #define wxUSE_POSTSCRIPT 1
46784 cat >>confdefs.h <<\_ACEOF
46785 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46789 if test "$wxUSE_SVG" = "yes"; then
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_SVG 1
46797 if test "$wxUSE_METAFILE" = "yes"; then
46798 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46799 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46800 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46806 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46807 -o "$wxUSE_CLIPBOARD" = "yes" \
46808 -o "$wxUSE_OLE" = "yes" \
46809 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46810 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46811 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46812 if test "${ac_cv_header_ole2_h+set}" = set; then
46813 echo $ECHO_N "(cached) $ECHO_C" >&6
46815 cat >conftest.$ac_ext <<_ACEOF
46818 cat confdefs.h >>conftest.$ac_ext
46819 cat >>conftest.$ac_ext <<_ACEOF
46820 /* end confdefs.h. */
46825 rm -f conftest.$ac_objext
46826 if { (ac_try="$ac_compile"
46827 case "(($ac_try" in
46828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46829 *) ac_try_echo=$ac_try;;
46831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46832 (eval "$ac_compile") 2>conftest.er1
46834 grep -v '^ *+' conftest.er1 >conftest.err
46836 cat conftest.err >&5
46837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46838 (exit $ac_status); } && {
46839 test -z "$ac_c_werror_flag" ||
46840 test ! -s conftest.err
46841 } && test -s conftest.$ac_objext; then
46842 ac_cv_header_ole2_h=yes
46844 echo "$as_me: failed program was:" >&5
46845 sed 's/^/| /' conftest.$ac_ext >&5
46847 ac_cv_header_ole2_h=no
46850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46852 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46853 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46857 if test "$ac_cv_header_ole2_h" = "yes" ; then
46858 if test "$GCC" = yes ; then
46859 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46860 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46861 cat >conftest.$ac_ext <<_ACEOF
46864 cat confdefs.h >>conftest.$ac_ext
46865 cat >>conftest.$ac_ext <<_ACEOF
46866 /* end confdefs.h. */
46867 #include <windows.h>
46877 rm -f conftest.$ac_objext
46878 if { (ac_try="$ac_compile"
46879 case "(($ac_try" in
46880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46881 *) ac_try_echo=$ac_try;;
46883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46884 (eval "$ac_compile") 2>conftest.er1
46886 grep -v '^ *+' conftest.er1 >conftest.err
46888 cat conftest.err >&5
46889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46890 (exit $ac_status); } && {
46891 test -z "$ac_c_werror_flag" ||
46892 test ! -s conftest.err
46893 } && test -s conftest.$ac_objext; then
46894 { echo "$as_me:$LINENO: result: no" >&5
46895 echo "${ECHO_T}no" >&6; }
46897 echo "$as_me: failed program was:" >&5
46898 sed 's/^/| /' conftest.$ac_ext >&5
46900 { echo "$as_me:$LINENO: result: yes" >&5
46901 echo "${ECHO_T}yes" >&6; }
46902 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46906 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46907 if test "$wxUSE_OLE" = "yes" ; then
46908 cat >>confdefs.h <<\_ACEOF
46909 #define wxUSE_OLE 1
46912 cat >>confdefs.h <<\_ACEOF
46913 #define wxUSE_OLE_AUTOMATION 1
46916 cat >>confdefs.h <<\_ACEOF
46917 #define wxUSE_ACTIVEX 1
46920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46924 if test "$wxUSE_DATAOBJ" = "yes" ; then
46925 cat >>confdefs.h <<\_ACEOF
46926 #define wxUSE_DATAOBJ 1
46931 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46932 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46935 wxUSE_DRAG_AND_DROP=no
46940 if test "$wxUSE_METAFILE" = "yes"; then
46941 cat >>confdefs.h <<\_ACEOF
46942 #define wxUSE_METAFILE 1
46946 cat >>confdefs.h <<\_ACEOF
46947 #define wxUSE_ENH_METAFILE 1
46953 if test "$wxUSE_IPC" = "yes"; then
46954 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46955 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46956 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46960 if test "$wxUSE_IPC" = "yes"; then
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_IPC 1
46965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46969 if test "$wxUSE_DATAOBJ" = "yes"; then
46970 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46971 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46972 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46975 cat >>confdefs.h <<\_ACEOF
46976 #define wxUSE_DATAOBJ 1
46981 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46982 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46984 wxUSE_DRAG_AND_DROP=no
46987 if test "$wxUSE_CLIPBOARD" = "yes"; then
46988 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46989 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46990 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46994 if test "$wxUSE_CLIPBOARD" = "yes"; then
46995 cat >>confdefs.h <<\_ACEOF
46996 #define wxUSE_CLIPBOARD 1
47002 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47003 if test "$wxUSE_GTK" = 1; then
47004 if test "$WXGTK12" != 1; then
47005 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47006 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47007 wxUSE_DRAG_AND_DROP=no
47011 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47012 "$wxUSE_DFB" = 1; then
47013 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47014 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47015 wxUSE_DRAG_AND_DROP=no
47018 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47019 cat >>confdefs.h <<\_ACEOF
47020 #define wxUSE_DRAG_AND_DROP 1
47027 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47031 if test "$wxUSE_CLIPBOARD" = "yes"; then
47032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47035 if test "$wxUSE_SPLINES" = "yes" ; then
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_SPLINES 1
47042 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_MOUSEWHEEL 1
47049 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_UIACTIONSIMULATOR 1
47054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47059 if test "$wxUSE_CONTROLS" = "yes"; then
47063 if test "$wxUSE_MARKUP" = "yes"; then
47064 cat >>confdefs.h <<\_ACEOF
47065 #define wxUSE_MARKUP 1
47070 if test "$wxUSE_ACCEL" = "yes"; then
47071 cat >>confdefs.h <<\_ACEOF
47072 #define wxUSE_ACCEL 1
47078 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47079 cat >>confdefs.h <<\_ACEOF
47080 #define wxUSE_ANIMATIONCTRL 1
47084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47087 if test "$wxUSE_BUTTON" = "yes"; then
47088 cat >>confdefs.h <<\_ACEOF
47089 #define wxUSE_BUTTON 1
47095 if test "$wxUSE_BMPBUTTON" = "yes"; then
47096 cat >>confdefs.h <<\_ACEOF
47097 #define wxUSE_BMPBUTTON 1
47103 if test "$wxUSE_CALCTRL" = "yes"; then
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_CALENDARCTRL 1
47109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47112 if test "$wxUSE_CARET" = "yes"; then
47113 cat >>confdefs.h <<\_ACEOF
47114 #define wxUSE_CARET 1
47118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47121 if test "$wxUSE_COLLPANE" = "yes"; then
47122 cat >>confdefs.h <<\_ACEOF
47123 #define wxUSE_COLLPANE 1
47127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47130 if test "$wxUSE_COMBOBOX" = "yes"; then
47131 cat >>confdefs.h <<\_ACEOF
47132 #define wxUSE_COMBOBOX 1
47138 if test "$wxUSE_COMBOCTRL" = "yes"; then
47139 cat >>confdefs.h <<\_ACEOF
47140 #define wxUSE_COMBOCTRL 1
47146 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47147 cat >>confdefs.h <<\_ACEOF
47148 #define wxUSE_COMMANDLINKBUTTON 1
47154 if test "$wxUSE_CHOICE" = "yes"; then
47155 cat >>confdefs.h <<\_ACEOF
47156 #define wxUSE_CHOICE 1
47162 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47163 cat >>confdefs.h <<\_ACEOF
47164 #define wxUSE_CHOICEBOOK 1
47170 if test "$wxUSE_CHECKBOX" = "yes"; then
47171 cat >>confdefs.h <<\_ACEOF
47172 #define wxUSE_CHECKBOX 1
47178 if test "$wxUSE_CHECKLST" = "yes"; then
47179 cat >>confdefs.h <<\_ACEOF
47180 #define wxUSE_CHECKLISTBOX 1
47186 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47187 cat >>confdefs.h <<\_ACEOF
47188 #define wxUSE_COLOURPICKERCTRL 1
47194 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47195 cat >>confdefs.h <<\_ACEOF
47196 #define wxUSE_DATEPICKCTRL 1
47202 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47203 cat >>confdefs.h <<\_ACEOF
47204 #define wxUSE_DIRPICKERCTRL 1
47210 if test "$wxUSE_FILECTRL" = "yes"; then
47211 cat >>confdefs.h <<\_ACEOF
47212 #define wxUSE_FILECTRL 1
47218 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47219 cat >>confdefs.h <<\_ACEOF
47220 #define wxUSE_FILEPICKERCTRL 1
47226 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_FONTPICKERCTRL 1
47234 if test "$wxUSE_DISPLAY" = "yes"; then
47235 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47236 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47237 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47240 cat >>confdefs.h <<\_ACEOF
47241 #define wxUSE_DISPLAY 1
47244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47248 if test "$wxUSE_DETECT_SM" = "yes"; then
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_DETECT_SM 1
47255 if test "$wxUSE_GAUGE" = "yes"; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_GAUGE 1
47263 if test "$wxUSE_GRID" = "yes"; then
47264 cat >>confdefs.h <<\_ACEOF
47265 #define wxUSE_GRID 1
47269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47272 if test "$wxUSE_HEADERCTRL" = "yes"; then
47273 cat >>confdefs.h <<\_ACEOF
47274 #define wxUSE_HEADERCTRL 1
47280 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47281 cat >>confdefs.h <<\_ACEOF
47282 #define wxUSE_HYPERLINKCTRL 1
47288 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47289 cat >>confdefs.h <<\_ACEOF
47290 #define wxUSE_BITMAPCOMBOBOX 1
47296 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47297 cat >>confdefs.h <<\_ACEOF
47298 #define wxUSE_DATAVIEWCTRL 1
47302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47305 if test "$wxUSE_IMAGLIST" = "yes"; then
47306 cat >>confdefs.h <<\_ACEOF
47307 #define wxUSE_IMAGLIST 1
47312 if test "$wxUSE_INFOBAR" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_INFOBAR 1
47319 if test "$wxUSE_LISTBOOK" = "yes"; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_LISTBOOK 1
47327 if test "$wxUSE_LISTBOX" = "yes"; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_LISTBOX 1
47335 if test "$wxUSE_LISTCTRL" = "yes"; then
47336 if test "$wxUSE_IMAGLIST" = "yes"; then
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_LISTCTRL 1
47342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47344 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47345 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47349 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47350 cat >>confdefs.h <<\_ACEOF
47351 #define wxUSE_EDITABLELISTBOX 1
47357 if test "$wxUSE_NOTEBOOK" = "yes"; then
47358 cat >>confdefs.h <<\_ACEOF
47359 #define wxUSE_NOTEBOOK 1
47363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47366 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_NOTIFICATION_MESSAGE 1
47373 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47374 cat >>confdefs.h <<\_ACEOF
47375 #define wxUSE_ODCOMBOBOX 1
47379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47382 if test "$wxUSE_RADIOBOX" = "yes"; then
47383 cat >>confdefs.h <<\_ACEOF
47384 #define wxUSE_RADIOBOX 1
47390 if test "$wxUSE_RADIOBTN" = "yes"; then
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_RADIOBTN 1
47398 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47399 cat >>confdefs.h <<\_ACEOF
47400 #define wxUSE_REARRANGECTRL 1
47405 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47406 cat >>confdefs.h <<\_ACEOF
47407 #define wxUSE_RICHMSGDLG 1
47412 if test "$wxUSE_SASH" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_SASH 1
47417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47420 if test "$wxUSE_SCROLLBAR" = "yes"; then
47421 cat >>confdefs.h <<\_ACEOF
47422 #define wxUSE_SCROLLBAR 1
47426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47429 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47430 cat >>confdefs.h <<\_ACEOF
47431 #define wxUSE_SEARCHCTRL 1
47437 if test "$wxUSE_SLIDER" = "yes"; then
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_SLIDER 1
47445 if test "$wxUSE_SPINBTN" = "yes"; then
47446 cat >>confdefs.h <<\_ACEOF
47447 #define wxUSE_SPINBTN 1
47453 if test "$wxUSE_SPINCTRL" = "yes"; then
47454 cat >>confdefs.h <<\_ACEOF
47455 #define wxUSE_SPINCTRL 1
47461 if test "$wxUSE_SPLITTER" = "yes"; then
47462 cat >>confdefs.h <<\_ACEOF
47463 #define wxUSE_SPLITTER 1
47466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47469 if test "$wxUSE_STATBMP" = "yes"; then
47470 cat >>confdefs.h <<\_ACEOF
47471 #define wxUSE_STATBMP 1
47477 if test "$wxUSE_STATBOX" = "yes"; then
47478 cat >>confdefs.h <<\_ACEOF
47479 #define wxUSE_STATBOX 1
47485 if test "$wxUSE_STATTEXT" = "yes"; then
47486 cat >>confdefs.h <<\_ACEOF
47487 #define wxUSE_STATTEXT 1
47493 if test "$wxUSE_STATLINE" = "yes"; then
47494 cat >>confdefs.h <<\_ACEOF
47495 #define wxUSE_STATLINE 1
47501 if test "$wxUSE_STATUSBAR" = "yes"; then
47502 cat >>confdefs.h <<\_ACEOF
47503 #define wxUSE_NATIVE_STATUSBAR 1
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_STATUSBAR 1
47512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47515 if test "$wxUSE_TEXTCTRL" = "yes"; then
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_TEXTCTRL 1
47521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47523 cat >>confdefs.h <<\_ACEOF
47524 #define wxUSE_RICHEDIT 1
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_RICHEDIT2 1
47533 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47534 if test "$wxUSE_OLD_COCOA" = 1 ; then
47535 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47536 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47540 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_TOGGLEBTN 1
47549 if test "$wxUSE_TOOLBAR" = "yes"; then
47550 cat >>confdefs.h <<\_ACEOF
47551 #define wxUSE_TOOLBAR 1
47556 if test "$wxUSE_UNIVERSAL" = "yes"; then
47557 wxUSE_TOOLBAR_NATIVE="no"
47559 wxUSE_TOOLBAR_NATIVE="yes"
47560 cat >>confdefs.h <<\_ACEOF
47561 #define wxUSE_TOOLBAR_NATIVE 1
47566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47569 if test "$wxUSE_TOOLTIPS" = "yes"; then
47570 if test "$wxUSE_MOTIF" = 1; then
47571 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47572 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47574 if test "$wxUSE_UNIVERSAL" = "yes"; then
47575 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47576 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47578 cat >>confdefs.h <<\_ACEOF
47579 #define wxUSE_TOOLTIPS 1
47586 if test "$wxUSE_TREEBOOK" = "yes"; then
47587 cat >>confdefs.h <<\_ACEOF
47588 #define wxUSE_TREEBOOK 1
47594 if test "$wxUSE_TOOLBOOK" = "yes"; then
47595 cat >>confdefs.h <<\_ACEOF
47596 #define wxUSE_TOOLBOOK 1
47602 if test "$wxUSE_TREECTRL" = "yes"; then
47603 if test "$wxUSE_IMAGLIST" = "yes"; then
47604 cat >>confdefs.h <<\_ACEOF
47605 #define wxUSE_TREECTRL 1
47609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47611 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47612 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47616 if test "$wxUSE_POPUPWIN" = "yes"; then
47617 if test "$wxUSE_OLD_COCOA" = 1 ; then
47618 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47619 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47621 if test "$wxUSE_PM" = 1; then
47622 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47623 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47625 cat >>confdefs.h <<\_ACEOF
47626 #define wxUSE_POPUPWIN 1
47629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47636 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47637 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47638 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47639 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47641 cat >>confdefs.h <<\_ACEOF
47642 #define wxUSE_DIALUP_MANAGER 1
47645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47649 if test "$wxUSE_TIPWINDOW" = "yes"; then
47650 if test "$wxUSE_PM" = 1; then
47651 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47652 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_TIPWINDOW 1
47661 if test "$USES_CONTROLS" = 1; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_CONTROLS 1
47669 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47670 cat >>confdefs.h <<\_ACEOF
47671 #define wxUSE_ACCESSIBILITY 1
47674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47677 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_ARTPROVIDER_STD 1
47684 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47685 if test "$wxUSE_GTK" != 1; then
47686 if test "$wxUSE_LIBPNG" != no -a \
47687 "$wxUSE_IMAGE" = yes -a \
47688 "$wxUSE_STREAMS" = yes; then
47689 wxUSE_ARTPROVIDER_TANGO="yes"
47694 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47695 cat >>confdefs.h <<\_ACEOF
47696 #define wxUSE_ARTPROVIDER_TANGO 1
47701 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47702 cat >>confdefs.h <<\_ACEOF
47703 #define wxUSE_DRAGIMAGE 1
47706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47709 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47710 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47711 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47712 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47714 cat >>confdefs.h <<\_ACEOF
47715 #define wxUSE_EXCEPTIONS 1
47718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47723 if test "$wxUSE_HTML" = "yes"; then
47724 cat >>confdefs.h <<\_ACEOF
47725 #define wxUSE_HTML 1
47729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47731 if test "$wxUSE_WEBKIT" = "yes"; then
47732 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47733 old_CPPFLAGS="$CPPFLAGS"
47734 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47735 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47736 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47737 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47738 echo $ECHO_N "(cached) $ECHO_C" >&6
47740 cat >conftest.$ac_ext <<_ACEOF
47743 cat confdefs.h >>conftest.$ac_ext
47744 cat >>conftest.$ac_ext <<_ACEOF
47745 /* end confdefs.h. */
47747 #include <Carbon/Carbon.h>
47748 #include <WebKit/WebKit.h>
47751 #include <WebKit/HIWebView.h>
47753 rm -f conftest.$ac_objext
47754 if { (ac_try="$ac_compile"
47755 case "(($ac_try" in
47756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47757 *) ac_try_echo=$ac_try;;
47759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47760 (eval "$ac_compile") 2>conftest.er1
47762 grep -v '^ *+' conftest.er1 >conftest.err
47764 cat conftest.err >&5
47765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47766 (exit $ac_status); } && {
47767 test -z "$ac_c_werror_flag" ||
47768 test ! -s conftest.err
47769 } && test -s conftest.$ac_objext; then
47770 ac_cv_header_WebKit_HIWebView_h=yes
47772 echo "$as_me: failed program was:" >&5
47773 sed 's/^/| /' conftest.$ac_ext >&5
47775 ac_cv_header_WebKit_HIWebView_h=no
47778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47780 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47781 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47782 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_WEBKIT 1
47788 WEBKIT_LINK="-framework WebKit"
47792 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47793 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47799 CPPFLAGS="$old_CPPFLAGS"
47800 elif test "$wxUSE_OLD_COCOA" = 1; then
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_WEBKIT 1
47808 if test "$wxUSE_WEBKIT" = "yes"; then
47809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47814 if test "$wxUSE_XRC" = "yes"; then
47815 if test "$wxUSE_XML" != "yes"; then
47816 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47817 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_XRC 1
47825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47830 if test "$wxUSE_AUI" = "yes"; then
47831 cat >>confdefs.h <<\_ACEOF
47832 #define wxUSE_AUI 1
47836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47840 if test "$wxUSE_PROPGRID" = "yes"; then
47841 cat >>confdefs.h <<\_ACEOF
47842 #define wxUSE_PROPGRID 1
47846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47850 if test "$wxUSE_RIBBON" = "yes"; then
47851 cat >>confdefs.h <<\_ACEOF
47852 #define wxUSE_RIBBON 1
47856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47860 if test "$wxUSE_STC" = "yes"; then
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_STC 1
47866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47868 # Extract the first word of "python", so it can be a program name with args.
47869 set dummy python; ac_word=$2
47870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47872 if test "${ac_cv_path_PYTHON+set}" = set; then
47873 echo $ECHO_N "(cached) $ECHO_C" >&6
47877 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47881 for as_dir in $PATH
47884 test -z "$as_dir" && as_dir=.
47885 for ac_exec_ext in '' $ac_executable_extensions; do
47886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47887 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47898 PYTHON=$ac_cv_path_PYTHON
47899 if test -n "$PYTHON"; then
47900 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47901 echo "${ECHO_T}$PYTHON" >&6; }
47903 { echo "$as_me:$LINENO: result: no" >&5
47904 echo "${ECHO_T}no" >&6; }
47908 if test "x$PYTHON" = "x"; then
47914 if test "$wxUSE_MENUS" = "yes"; then
47915 cat >>confdefs.h <<\_ACEOF
47916 #define wxUSE_MENUS 1
47919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47922 if test "$wxUSE_METAFILE" = "yes"; then
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_METAFILE 1
47929 if test "$wxUSE_MIMETYPE" = "yes"; then
47930 cat >>confdefs.h <<\_ACEOF
47931 #define wxUSE_MIMETYPE 1
47936 if test "$wxUSE_MINIFRAME" = "yes"; then
47937 cat >>confdefs.h <<\_ACEOF
47938 #define wxUSE_MINIFRAME 1
47943 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47944 cat >>confdefs.h <<\_ACEOF
47945 #define wxUSE_SYSTEM_OPTIONS 1
47950 if test "$wxUSE_TASKBARICON" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_TASKBARICON 1
47955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47959 if test "$wxUSE_VALIDATORS" = "yes"; then
47960 cat >>confdefs.h <<\_ACEOF
47961 #define wxUSE_VALIDATORS 1
47964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47967 if test "$wxUSE_PALETTE" = "yes" ; then
47968 if test "$wxUSE_DFB" = 1; then
47969 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47970 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47973 cat >>confdefs.h <<\_ACEOF
47974 #define wxUSE_PALETTE 1
47980 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47981 LIBS=" -lunicows $LIBS"
47985 if test "$wxUSE_RICHTEXT" = "yes"; then
47986 cat >>confdefs.h <<\_ACEOF
47987 #define wxUSE_RICHTEXT 1
47991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47995 if test "$wxUSE_IMAGE" = "yes" ; then
47996 cat >>confdefs.h <<\_ACEOF
47997 #define wxUSE_IMAGE 1
48001 if test "$wxUSE_GIF" = "yes" ; then
48002 cat >>confdefs.h <<\_ACEOF
48003 #define wxUSE_GIF 1
48008 if test "$wxUSE_PCX" = "yes" ; then
48009 cat >>confdefs.h <<\_ACEOF
48010 #define wxUSE_PCX 1
48015 if test "$wxUSE_TGA" = "yes" ; then
48016 cat >>confdefs.h <<\_ACEOF
48017 #define wxUSE_TGA 1
48022 if test "$wxUSE_IFF" = "yes" ; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_IFF 1
48029 if test "$wxUSE_PNM" = "yes" ; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_PNM 1
48036 if test "$wxUSE_XPM" = "yes" ; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_XPM 1
48043 if test "$wxUSE_ICO_CUR" = "yes" ; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_ICO_CUR 1
48052 if test "$wxUSE_ABOUTDLG" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_ABOUTDLG 1
48059 if test "$wxUSE_CHOICEDLG" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_CHOICEDLG 1
48066 if test "$wxUSE_COLOURDLG" = "yes"; then
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_COLOURDLG 1
48073 if test "$wxUSE_FILEDLG" = "yes"; then
48074 cat >>confdefs.h <<\_ACEOF
48075 #define wxUSE_FILEDLG 1
48080 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48081 cat >>confdefs.h <<\_ACEOF
48082 #define wxUSE_FINDREPLDLG 1
48087 if test "$wxUSE_FONTDLG" = "yes"; then
48088 cat >>confdefs.h <<\_ACEOF
48089 #define wxUSE_FONTDLG 1
48094 if test "$wxUSE_DIRDLG" = "yes"; then
48095 if test "$wxUSE_TREECTRL" != "yes"; then
48096 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48097 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48099 cat >>confdefs.h <<\_ACEOF
48100 #define wxUSE_DIRDLG 1
48106 if test "$wxUSE_MSGDLG" = "yes"; then
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_MSGDLG 1
48113 if test "$wxUSE_NUMBERDLG" = "yes"; then
48114 cat >>confdefs.h <<\_ACEOF
48115 #define wxUSE_NUMBERDLG 1
48120 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_PROGRESSDLG 1
48127 if test "$wxUSE_SPLASH" = "yes"; then
48128 cat >>confdefs.h <<\_ACEOF
48129 #define wxUSE_SPLASH 1
48132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48135 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48136 cat >>confdefs.h <<\_ACEOF
48137 #define wxUSE_STARTUP_TIPS 1
48142 if test "$wxUSE_TEXTDLG" = "yes"; then
48143 cat >>confdefs.h <<\_ACEOF
48144 #define wxUSE_TEXTDLG 1
48149 if test "$wxUSE_WIZARDDLG" = "yes"; then
48150 cat >>confdefs.h <<\_ACEOF
48151 #define wxUSE_WIZARDDLG 1
48154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48158 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48159 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48160 cat >>confdefs.h <<\_ACEOF
48161 #define wxUSE_OWNER_DRAWN 1
48168 if test "$wxUSE_MSW" = 1 ; then
48170 if test "$wxUSE_DC_CACHEING" = "yes"; then
48171 cat >>confdefs.h <<\_ACEOF
48172 #define wxUSE_DC_CACHEING 1
48177 if test "$wxUSE_DIB" = "yes"; then
48178 cat >>confdefs.h <<\_ACEOF
48179 #define wxUSE_WXDIB 1
48184 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48185 cat >>confdefs.h <<\_ACEOF
48186 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48191 if test "$wxUSE_UXTHEME" = "yes"; then
48192 cat >>confdefs.h <<\_ACEOF
48193 #define wxUSE_UXTHEME 1
48200 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48201 cat >>confdefs.h <<\_ACEOF
48202 #define wxUSE_AUTOID_MANAGEMENT 1
48207 if test "$USE_WIN32" = 1 ; then
48208 if test "$wxUSE_INICONF" = "yes"; then
48209 cat >>confdefs.h <<\_ACEOF
48210 #define wxUSE_INICONF 1
48215 if test "$wxUSE_REGKEY" = "yes"; then
48216 cat >>confdefs.h <<\_ACEOF
48217 #define wxUSE_REGKEY 1
48224 if test "$wxUSE_MAC" = 1; then
48225 wxUSE_GRAPHICS_CONTEXT="yes"
48228 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48230 if test "$wxUSE_MSW" = 1; then
48231 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48232 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48233 if test "${wx_cv_lib_gdiplus+set}" = set; then
48234 echo $ECHO_N "(cached) $ECHO_C" >&6
48238 ac_cpp='$CXXCPP $CPPFLAGS'
48239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48243 cat >conftest.$ac_ext <<_ACEOF
48246 cat confdefs.h >>conftest.$ac_ext
48247 cat >>conftest.$ac_ext <<_ACEOF
48248 /* end confdefs.h. */
48249 #include <windows.h>
48250 #include <gdiplus.h>
48255 using namespace Gdiplus;
48261 rm -f conftest.$ac_objext
48262 if { (ac_try="$ac_compile"
48263 case "(($ac_try" in
48264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48265 *) ac_try_echo=$ac_try;;
48267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48268 (eval "$ac_compile") 2>conftest.er1
48270 grep -v '^ *+' conftest.er1 >conftest.err
48272 cat conftest.err >&5
48273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48274 (exit $ac_status); } && {
48275 test -z "$ac_cxx_werror_flag" ||
48276 test ! -s conftest.err
48277 } && test -s conftest.$ac_objext; then
48278 wx_cv_lib_gdiplus=yes
48280 echo "$as_me: failed program was:" >&5
48281 sed 's/^/| /' conftest.$ac_ext >&5
48283 wx_cv_lib_gdiplus=no
48287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48289 ac_cpp='$CPP $CPPFLAGS'
48290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48297 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48298 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48299 if test "$wx_cv_lib_gdiplus" = "yes"; then
48302 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48305 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48306 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48308 if test -n "$PKG_CONFIG"; then
48309 if test -n "$CAIRO_CFLAGS"; then
48310 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48312 if test -n "$PKG_CONFIG" && \
48313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48314 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48317 (exit $ac_status); }; then
48318 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48326 if test -n "$PKG_CONFIG"; then
48327 if test -n "$CAIRO_LIBS"; then
48328 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48330 if test -n "$PKG_CONFIG" && \
48331 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48332 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335 (exit $ac_status); }; then
48336 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48347 if test $pkg_failed = yes; then
48349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48350 _pkg_short_errors_supported=yes
48352 _pkg_short_errors_supported=no
48354 if test $_pkg_short_errors_supported = yes; then
48355 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48357 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48359 # Put the nasty error message in config.log where it belongs
48360 echo "$CAIRO_PKG_ERRORS" >&5
48362 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48363 echo "$as_me: WARNING: Cairo library not found" >&2;}
48365 elif test $pkg_failed = untried; then
48366 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48367 echo "$as_me: WARNING: Cairo library not found" >&2;}
48370 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48371 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48372 { echo "$as_me:$LINENO: result: yes" >&5
48373 echo "${ECHO_T}yes" >&6; }
48376 if test "$wx_has_graphics" = 1; then
48378 LIBS="$LIBS $CAIRO_LIBS"
48380 for ac_func in cairo_push_group
48382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48383 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48385 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48386 echo $ECHO_N "(cached) $ECHO_C" >&6
48388 cat >conftest.$ac_ext <<_ACEOF
48391 cat confdefs.h >>conftest.$ac_ext
48392 cat >>conftest.$ac_ext <<_ACEOF
48393 /* end confdefs.h. */
48394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48396 #define $ac_func innocuous_$ac_func
48398 /* System header to define __stub macros and hopefully few prototypes,
48399 which can conflict with char $ac_func (); below.
48400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48401 <limits.h> exists even on freestanding compilers. */
48404 # include <limits.h>
48406 # include <assert.h>
48411 /* Override any GCC internal prototype to avoid an error.
48412 Use char because int might match the return type of a GCC
48413 builtin and then its argument prototype would still apply. */
48418 /* The GNU C library defines this for functions which it implements
48419 to always fail with ENOSYS. Some functions are actually named
48420 something starting with __ and the normal name is an alias. */
48421 #if defined __stub_$ac_func || defined __stub___$ac_func
48428 return $ac_func ();
48433 rm -f conftest.$ac_objext conftest$ac_exeext
48434 if { (ac_try="$ac_link"
48435 case "(($ac_try" in
48436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48437 *) ac_try_echo=$ac_try;;
48439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48440 (eval "$ac_link") 2>conftest.er1
48442 grep -v '^ *+' conftest.er1 >conftest.err
48444 cat conftest.err >&5
48445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48446 (exit $ac_status); } && {
48447 test -z "$ac_c_werror_flag" ||
48448 test ! -s conftest.err
48449 } && test -s conftest$ac_exeext &&
48450 $as_test_x conftest$ac_exeext; then
48451 eval "$as_ac_var=yes"
48453 echo "$as_me: failed program was:" >&5
48454 sed 's/^/| /' conftest.$ac_ext >&5
48456 eval "$as_ac_var=no"
48459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48460 conftest$ac_exeext conftest.$ac_ext
48462 ac_res=`eval echo '${'$as_ac_var'}'`
48463 { echo "$as_me:$LINENO: result: $ac_res" >&5
48464 echo "${ECHO_T}$ac_res" >&6; }
48465 if test `eval echo '${'$as_ac_var'}'` = yes; then
48466 cat >>confdefs.h <<_ACEOF
48467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48474 if test "$ac_cv_func_cairo_push_group" = "no"; then
48476 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48477 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_CAIRO 1
48484 if test "$wxUSE_GTK" != 1; then
48485 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48486 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48494 if test "$wx_has_graphics" = 1; then
48495 cat >>confdefs.h <<\_ACEOF
48496 #define wxUSE_GRAPHICS_CONTEXT 1
48500 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48501 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48508 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48511 if test "$wxUSE_GTK" = 1; then
48512 wxUSE_GSTREAMER="no"
48514 GST_VERSION_MAJOR=0
48515 GST_VERSION_MINOR=10
48516 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48518 if test "$wxUSE_GSTREAMER8" = "no"; then
48521 { echo "$as_me:$LINENO: checking for GST" >&5
48522 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48524 if test -n "$PKG_CONFIG"; then
48525 if test -n "$GST_CFLAGS"; then
48526 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48528 if test -n "$PKG_CONFIG" && \
48529 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48530 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48533 (exit $ac_status); }; then
48534 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48542 if test -n "$PKG_CONFIG"; then
48543 if test -n "$GST_LIBS"; then
48544 pkg_cv_GST_LIBS="$GST_LIBS"
48546 if test -n "$PKG_CONFIG" && \
48547 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48548 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); }; then
48552 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48563 if test $pkg_failed = yes; then
48565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48566 _pkg_short_errors_supported=yes
48568 _pkg_short_errors_supported=no
48570 if test $_pkg_short_errors_supported = yes; then
48571 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48573 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48575 # Put the nasty error message in config.log where it belongs
48576 echo "$GST_PKG_ERRORS" >&5
48579 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48580 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48581 GST_VERSION_MINOR=8
48584 elif test $pkg_failed = untried; then
48586 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48587 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48588 GST_VERSION_MINOR=8
48592 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48593 GST_LIBS=$pkg_cv_GST_LIBS
48594 { echo "$as_me:$LINENO: result: yes" >&5
48595 echo "${ECHO_T}yes" >&6; }
48597 wxUSE_GSTREAMER="yes"
48598 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48602 GST_VERSION_MINOR=8
48605 if test $GST_VERSION_MINOR = "8"; then
48606 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48609 { echo "$as_me:$LINENO: checking for GST" >&5
48610 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48612 if test -n "$PKG_CONFIG"; then
48613 if test -n "$GST_CFLAGS"; then
48614 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48616 if test -n "$PKG_CONFIG" && \
48617 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48618 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48621 (exit $ac_status); }; then
48622 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48630 if test -n "$PKG_CONFIG"; then
48631 if test -n "$GST_LIBS"; then
48632 pkg_cv_GST_LIBS="$GST_LIBS"
48634 if test -n "$PKG_CONFIG" && \
48635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48636 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48639 (exit $ac_status); }; then
48640 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48651 if test $pkg_failed = yes; then
48653 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48654 _pkg_short_errors_supported=yes
48656 _pkg_short_errors_supported=no
48658 if test $_pkg_short_errors_supported = yes; then
48659 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48661 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48663 # Put the nasty error message in config.log where it belongs
48664 echo "$GST_PKG_ERRORS" >&5
48667 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48668 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48670 elif test $pkg_failed = untried; then
48672 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48673 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48676 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48677 GST_LIBS=$pkg_cv_GST_LIBS
48678 { echo "$as_me:$LINENO: result: yes" >&5
48679 echo "${ECHO_T}yes" >&6; }
48680 wxUSE_GSTREAMER="yes"
48685 if test "$wxUSE_GSTREAMER" = "yes"; then
48686 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48687 EXTRALIBS_MEDIA="$GST_LIBS"
48689 cat >>confdefs.h <<\_ACEOF
48690 #define wxUSE_GSTREAMER 1
48698 if test $USE_MEDIA = 1; then
48699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48700 cat >>confdefs.h <<\_ACEOF
48701 #define wxUSE_MEDIACTRL 1
48705 if test "$wxUSE_MEDIACTRL" = "yes"; then
48706 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48707 echo "$as_me: error: GStreamer not available" >&2;}
48708 { (exit 1); exit 1; }; }
48710 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48711 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48717 if test "$cross_compiling" != "no"; then
48720 OSINFO=`uname -s -r -m`
48721 OSINFO="\"$OSINFO\""
48724 cat >>confdefs.h <<_ACEOF
48725 #define WXWIN_OS_DESCRIPTION $OSINFO
48730 if test "x$prefix" != "xNONE"; then
48733 wxPREFIX=$ac_default_prefix
48736 cat >>confdefs.h <<_ACEOF
48737 #define wxINSTALL_PREFIX "$wxPREFIX"
48743 STD_BASE_LIBS="base"
48745 BUILT_WX_LIBS="base"
48746 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48748 if test "$wxUSE_SOCKETS" = "yes" ; then
48749 STD_BASE_LIBS="net $STD_BASE_LIBS"
48750 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48752 if test "$wxUSE_XML" = "yes" ; then
48753 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48754 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48757 if test "$wxUSE_GUI" = "yes"; then
48758 STD_GUI_LIBS="adv core"
48759 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48761 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48762 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48763 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48765 if test "$wxUSE_HTML" = "yes" ; then
48766 STD_GUI_LIBS="html $STD_GUI_LIBS"
48767 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48769 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48770 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48772 if test "$wxUSE_OPENGL" = "yes" ; then
48773 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48775 if test "$wxUSE_AUI" = "yes" ; then
48776 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48778 if test "$wxUSE_PROPGRID" = "yes" ; then
48779 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48781 if test "$wxUSE_RIBBON" = "yes" ; then
48782 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48784 if test "$wxUSE_RICHTEXT" = "yes" ; then
48785 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48787 if test "$wxUSE_STC" = "yes" ; then
48788 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48790 if test "$wxUSE_XRC" = "yes" ; then
48791 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48792 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48803 if test "$wxUSE_MAC" = 1 ; then
48804 if test "$USE_DARWIN" = 1; then
48805 if test "$wxUSE_OSX_IPHONE" = 1; then
48806 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48808 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48812 if test "$wxUSE_OLD_COCOA" = 1 ; then
48813 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48814 if test "$wxUSE_MEDIACTRL" = "yes"; then
48815 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48818 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48819 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48822 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48823 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48825 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48827 if test "$wxUSE_GUI" = "yes"; then
48830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48831 erase event exec font image minimal render \
48832 shaped svg taborder vscroll widgets wrapsizer"
48834 if test "$wxUSE_MONOLITHIC" != "yes"; then
48835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48837 if test "$TOOLKIT" = "MSW"; then
48838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48839 if test "$wxUSE_UNIVERSAL" != "yes"; then
48840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48843 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48847 SAMPLES_SUBDIRS="console"
48848 if test "$wxUSE_SOCKETS" = "yes" ; then
48849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48851 if test "$wxUSE_IPC" = "yes" ; then
48852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48857 if test "x$INTELCC" = "xyes" ; then
48858 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48859 elif test "$GCC" = yes ; then
48860 CWARNINGS="-Wall -Wundef"
48863 if test "x$INTELCXX" = "xyes" ; then
48864 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48865 elif test "$GXX" = yes ; then
48866 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48867 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48868 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48869 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48870 echo $ECHO_N "(cached) $ECHO_C" >&6
48872 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48875 ac_cpp='$CXXCPP $CPPFLAGS'
48876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48880 ac_save_CXXFLAGS="$CXXFLAGS"
48881 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48882 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48883 cat >conftest.$ac_ext <<_ACEOF
48886 cat confdefs.h >>conftest.$ac_ext
48887 cat >>conftest.$ac_ext <<_ACEOF
48888 /* end confdefs.h. */
48898 rm -f conftest.$ac_objext
48899 if { (ac_try="$ac_compile"
48900 case "(($ac_try" in
48901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48902 *) ac_try_echo=$ac_try;;
48904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48905 (eval "$ac_compile") 2>conftest.er1
48907 grep -v '^ *+' conftest.er1 >conftest.err
48909 cat conftest.err >&5
48910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911 (exit $ac_status); } && {
48912 test -z "$ac_cxx_werror_flag" ||
48913 test ! -s conftest.err
48914 } && test -s conftest.$ac_objext; then
48915 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48917 echo "$as_me: failed program was:" >&5
48918 sed 's/^/| /' conftest.$ac_ext >&5
48923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48925 CXXFLAGS="$ac_save_CXXFLAGS"
48927 ac_cpp='$CPP $CPPFLAGS'
48928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48934 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48935 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48936 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48940 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48941 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48942 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48945 (exit $ac_status); }
48946 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48947 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48950 (exit $ac_status); }
48951 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48957 if test "$wxUSE_MAC" = 1 ; then
48958 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48963 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48964 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48967 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48968 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48969 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48972 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48973 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48974 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48975 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48976 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48978 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48981 if test "x$MWCC" = "xyes"; then
48983 CC="$CC -cwd source -I-"
48984 CXX="$CXX -cwd source -I-"
48989 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48990 EXTRALIBS_XML="$EXPAT_LINK"
48991 EXTRALIBS_HTML="$MSPACK_LINK"
48992 EXTRALIBS_MEDIA="$GST_LIBS"
48993 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48994 if test "$wxUSE_GUI" = "yes"; then
48995 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48997 if test "$wxUSE_OPENGL" = "yes"; then
48998 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49001 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49003 WXCONFIG_LIBS="$LIBS"
49005 if test "$wxUSE_REGEX" = "builtin" ; then
49006 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49008 if test "$wxUSE_EXPAT" = "builtin" ; then
49009 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49011 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49012 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49014 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49015 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49017 if test "$wxUSE_LIBPNG" = "builtin" ; then
49018 wxconfig_3rdparty="png $wxconfig_3rdparty"
49020 if test "$wxUSE_ZLIB" = "builtin" ; then
49021 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49024 for i in $wxconfig_3rdparty ; do
49025 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49029 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49032 case "$wxUNIV_THEMES" in
49034 cat >>confdefs.h <<\_ACEOF
49035 #define wxUSE_ALL_THEMES 1
49041 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49042 cat >>confdefs.h <<_ACEOF
49043 #define wxUSE_THEME_$t 1
49059 if test $wxUSE_MONOLITHIC = "yes" ; then
49065 if test $wxUSE_PLUGINS = "yes" ; then
49071 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49077 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49109 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49122 TOOLKIT_DESC="GTK+"
49123 if test "$WXGTK2" = 1; then
49124 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49125 if test "$wxUSE_GTKPRINT" = "yes" ; then
49126 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49128 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49129 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49131 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49132 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49134 if test "$wxUSE_LIBHILDON" = "yes"; then
49135 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49137 if test "$wxUSE_LIBHILDON2" = "yes"; then
49138 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49141 if test "$TOOLKIT_EXTRA" != ""; then
49142 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49148 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49152 TOOLKIT_DESC="base only"
49156 if test "$wxUSE_WINE" = "yes"; then
49157 BAKEFILE_FORCE_PLATFORM=win32
49160 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49162 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49163 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49164 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49165 echo $ECHO_N "(cached) $ECHO_C" >&6
49168 echo '#include <stdio.h>
49169 const wchar_t test_var[] = L"awidetest";' > conftest.h
49171 echo '#include "conftest.h"
49174 printf("%ls", test_var);
49178 wx_cv_gcc_pch_bug="pch not supported"
49180 if $CXX conftest.h >/dev/null 2>&1
49184 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49186 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49187 grep awidetest >/dev/null
49189 wx_cv_gcc_pch_bug=no
49191 wx_cv_gcc_pch_bug=yes
49196 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49199 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49200 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49202 if test "$wx_cv_gcc_pch_bug" = yes; then
49213 if test "x$BAKEFILE_HOST" = "x"; then
49214 if test "x${host}" = "x" ; then
49215 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49216 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49217 { (exit 1); exit 1; }; }
49220 BAKEFILE_HOST="${host}"
49223 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49225 if test -n "$ac_tool_prefix"; then
49226 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49227 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49230 if test "${ac_cv_prog_RANLIB+set}" = set; then
49231 echo $ECHO_N "(cached) $ECHO_C" >&6
49233 if test -n "$RANLIB"; then
49234 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49237 for as_dir in $PATH
49240 test -z "$as_dir" && as_dir=.
49241 for ac_exec_ext in '' $ac_executable_extensions; do
49242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49243 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49253 RANLIB=$ac_cv_prog_RANLIB
49254 if test -n "$RANLIB"; then
49255 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49256 echo "${ECHO_T}$RANLIB" >&6; }
49258 { echo "$as_me:$LINENO: result: no" >&5
49259 echo "${ECHO_T}no" >&6; }
49264 if test -z "$ac_cv_prog_RANLIB"; then
49265 ac_ct_RANLIB=$RANLIB
49266 # Extract the first word of "ranlib", so it can be a program name with args.
49267 set dummy ranlib; ac_word=$2
49268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49270 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49271 echo $ECHO_N "(cached) $ECHO_C" >&6
49273 if test -n "$ac_ct_RANLIB"; then
49274 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49277 for as_dir in $PATH
49280 test -z "$as_dir" && as_dir=.
49281 for ac_exec_ext in '' $ac_executable_extensions; do
49282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49283 ac_cv_prog_ac_ct_RANLIB="ranlib"
49284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49293 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49294 if test -n "$ac_ct_RANLIB"; then
49295 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49296 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49298 { echo "$as_me:$LINENO: result: no" >&5
49299 echo "${ECHO_T}no" >&6; }
49302 if test "x$ac_ct_RANLIB" = x; then
49305 case $cross_compiling:$ac_tool_warned in
49307 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49308 whose name does not start with the host triplet. If you think this
49309 configuration is useful to you, please write to autoconf@gnu.org." >&5
49310 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49311 whose name does not start with the host triplet. If you think this
49312 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49313 ac_tool_warned=yes ;;
49315 RANLIB=$ac_ct_RANLIB
49318 RANLIB="$ac_cv_prog_RANLIB"
49321 # Find a good install program. We prefer a C program (faster),
49322 # so one script is as good as another. But avoid the broken or
49323 # incompatible versions:
49324 # SysV /etc/install, /usr/sbin/install
49325 # SunOS /usr/etc/install
49326 # IRIX /sbin/install
49328 # AmigaOS /C/install, which installs bootblocks on floppy discs
49329 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49330 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49331 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49332 # OS/2's system install, which has a completely different semantic
49333 # ./install, which can be erroneously created by make from ./install.sh.
49334 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49335 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49336 if test -z "$INSTALL"; then
49337 if test "${ac_cv_path_install+set}" = set; then
49338 echo $ECHO_N "(cached) $ECHO_C" >&6
49340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49341 for as_dir in $PATH
49344 test -z "$as_dir" && as_dir=.
49345 # Account for people who put trailing slashes in PATH elements.
49347 ./ | .// | /cC/* | \
49348 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49349 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49352 # OSF1 and SCO ODT 3.0 have their own names for install.
49353 # Don't use installbsd from OSF since it installs stuff as root
49355 for ac_prog in ginstall scoinst install; do
49356 for ac_exec_ext in '' $ac_executable_extensions; do
49357 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49358 if test $ac_prog = install &&
49359 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49360 # AIX install. It has an incompatible calling convention.
49362 elif test $ac_prog = install &&
49363 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49364 # program-specific install script used by HP pwplus--don't use.
49367 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49380 if test "${ac_cv_path_install+set}" = set; then
49381 INSTALL=$ac_cv_path_install
49383 # As a last resort, use the slow shell script. Don't cache a
49384 # value for INSTALL within a source directory, because that will
49385 # break other packages using the cache if that directory is
49386 # removed, or if the value is a relative name.
49387 INSTALL=$ac_install_sh
49390 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49391 echo "${ECHO_T}$INSTALL" >&6; }
49393 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49394 # It thinks the first close brace ends the variable substitution.
49395 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49397 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49399 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49401 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49402 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49404 if test "$LN_S" = "ln -s"; then
49405 { echo "$as_me:$LINENO: result: yes" >&5
49406 echo "${ECHO_T}yes" >&6; }
49408 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49409 echo "${ECHO_T}no, using $LN_S" >&6; }
49413 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49414 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49415 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49416 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49417 echo $ECHO_N "(cached) $ECHO_C" >&6
49419 cat >conftest.make <<\_ACEOF
49422 @echo '@@@%%%=$(MAKE)=@@@%%%'
49424 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49425 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49426 *@@@%%%=?*=@@@%%%*)
49427 eval ac_cv_prog_make_${ac_make}_set=yes;;
49429 eval ac_cv_prog_make_${ac_make}_set=no;;
49431 rm -f conftest.make
49433 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49434 { echo "$as_me:$LINENO: result: yes" >&5
49435 echo "${ECHO_T}yes" >&6; }
49438 { echo "$as_me:$LINENO: result: no" >&5
49439 echo "${ECHO_T}no" >&6; }
49440 SET_MAKE="MAKE=${MAKE-make}"
49445 if test "x$SUNCXX" = "xyes"; then
49447 AROPTIONS="-xar -o"
49449 elif test "x$SGICC" = "xyes"; then
49454 if test -n "$ac_tool_prefix"; then
49455 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49456 set dummy ${ac_tool_prefix}ar; ac_word=$2
49457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49459 if test "${ac_cv_prog_AR+set}" = set; then
49460 echo $ECHO_N "(cached) $ECHO_C" >&6
49462 if test -n "$AR"; then
49463 ac_cv_prog_AR="$AR" # Let the user override the test.
49465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49466 for as_dir in $PATH
49469 test -z "$as_dir" && as_dir=.
49470 for ac_exec_ext in '' $ac_executable_extensions; do
49471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49472 ac_cv_prog_AR="${ac_tool_prefix}ar"
49473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49483 if test -n "$AR"; then
49484 { echo "$as_me:$LINENO: result: $AR" >&5
49485 echo "${ECHO_T}$AR" >&6; }
49487 { echo "$as_me:$LINENO: result: no" >&5
49488 echo "${ECHO_T}no" >&6; }
49493 if test -z "$ac_cv_prog_AR"; then
49495 # Extract the first word of "ar", so it can be a program name with args.
49496 set dummy ar; ac_word=$2
49497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49499 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49500 echo $ECHO_N "(cached) $ECHO_C" >&6
49502 if test -n "$ac_ct_AR"; then
49503 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49506 for as_dir in $PATH
49509 test -z "$as_dir" && as_dir=.
49510 for ac_exec_ext in '' $ac_executable_extensions; do
49511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49512 ac_cv_prog_ac_ct_AR="ar"
49513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49522 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49523 if test -n "$ac_ct_AR"; then
49524 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49525 echo "${ECHO_T}$ac_ct_AR" >&6; }
49527 { echo "$as_me:$LINENO: result: no" >&5
49528 echo "${ECHO_T}no" >&6; }
49531 if test "x$ac_ct_AR" = x; then
49534 case $cross_compiling:$ac_tool_warned in
49536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49537 whose name does not start with the host triplet. If you think this
49538 configuration is useful to you, please write to autoconf@gnu.org." >&5
49539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49540 whose name does not start with the host triplet. If you think this
49541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49542 ac_tool_warned=yes ;;
49547 AR="$ac_cv_prog_AR"
49554 if test -n "$ac_tool_prefix"; then
49555 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49556 set dummy ${ac_tool_prefix}strip; ac_word=$2
49557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49559 if test "${ac_cv_prog_STRIP+set}" = set; then
49560 echo $ECHO_N "(cached) $ECHO_C" >&6
49562 if test -n "$STRIP"; then
49563 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49566 for as_dir in $PATH
49569 test -z "$as_dir" && as_dir=.
49570 for ac_exec_ext in '' $ac_executable_extensions; do
49571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49572 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49582 STRIP=$ac_cv_prog_STRIP
49583 if test -n "$STRIP"; then
49584 { echo "$as_me:$LINENO: result: $STRIP" >&5
49585 echo "${ECHO_T}$STRIP" >&6; }
49587 { echo "$as_me:$LINENO: result: no" >&5
49588 echo "${ECHO_T}no" >&6; }
49593 if test -z "$ac_cv_prog_STRIP"; then
49595 # Extract the first word of "strip", so it can be a program name with args.
49596 set dummy strip; ac_word=$2
49597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49599 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49600 echo $ECHO_N "(cached) $ECHO_C" >&6
49602 if test -n "$ac_ct_STRIP"; then
49603 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49606 for as_dir in $PATH
49609 test -z "$as_dir" && as_dir=.
49610 for ac_exec_ext in '' $ac_executable_extensions; do
49611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49612 ac_cv_prog_ac_ct_STRIP="strip"
49613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49622 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49623 if test -n "$ac_ct_STRIP"; then
49624 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49625 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49627 { echo "$as_me:$LINENO: result: no" >&5
49628 echo "${ECHO_T}no" >&6; }
49631 if test "x$ac_ct_STRIP" = x; then
49634 case $cross_compiling:$ac_tool_warned in
49636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49637 whose name does not start with the host triplet. If you think this
49638 configuration is useful to you, please write to autoconf@gnu.org." >&5
49639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49640 whose name does not start with the host triplet. If you think this
49641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49642 ac_tool_warned=yes ;;
49647 STRIP="$ac_cv_prog_STRIP"
49650 if test -n "$ac_tool_prefix"; then
49651 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49652 set dummy ${ac_tool_prefix}nm; ac_word=$2
49653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49655 if test "${ac_cv_prog_NM+set}" = set; then
49656 echo $ECHO_N "(cached) $ECHO_C" >&6
49658 if test -n "$NM"; then
49659 ac_cv_prog_NM="$NM" # Let the user override the test.
49661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49662 for as_dir in $PATH
49665 test -z "$as_dir" && as_dir=.
49666 for ac_exec_ext in '' $ac_executable_extensions; do
49667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49668 ac_cv_prog_NM="${ac_tool_prefix}nm"
49669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49679 if test -n "$NM"; then
49680 { echo "$as_me:$LINENO: result: $NM" >&5
49681 echo "${ECHO_T}$NM" >&6; }
49683 { echo "$as_me:$LINENO: result: no" >&5
49684 echo "${ECHO_T}no" >&6; }
49689 if test -z "$ac_cv_prog_NM"; then
49691 # Extract the first word of "nm", so it can be a program name with args.
49692 set dummy nm; ac_word=$2
49693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49695 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49696 echo $ECHO_N "(cached) $ECHO_C" >&6
49698 if test -n "$ac_ct_NM"; then
49699 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49702 for as_dir in $PATH
49705 test -z "$as_dir" && as_dir=.
49706 for ac_exec_ext in '' $ac_executable_extensions; do
49707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49708 ac_cv_prog_ac_ct_NM="nm"
49709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49718 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49719 if test -n "$ac_ct_NM"; then
49720 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49721 echo "${ECHO_T}$ac_ct_NM" >&6; }
49723 { echo "$as_me:$LINENO: result: no" >&5
49724 echo "${ECHO_T}no" >&6; }
49727 if test "x$ac_ct_NM" = x; then
49730 case $cross_compiling:$ac_tool_warned in
49732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49733 whose name does not start with the host triplet. If you think this
49734 configuration is useful to you, please write to autoconf@gnu.org." >&5
49735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49736 whose name does not start with the host triplet. If you think this
49737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49738 ac_tool_warned=yes ;;
49743 NM="$ac_cv_prog_NM"
49747 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49748 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49749 INSTALL_TEST_DIR=acbftest$$
49750 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49751 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49752 rmdir $INSTALL_TEST_DIR
49753 INSTALL_DIR='$(INSTALL) -d'
49754 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49755 echo "${ECHO_T}$INSTALL -d" >&6; }
49757 INSTALL_DIR="mkdir -p"
49758 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49759 echo "${ECHO_T}mkdir -p" >&6; }
49764 case ${BAKEFILE_HOST} in
49765 *-*-cygwin* | *-*-mingw32* )
49766 LDFLAGS_GUI="-mwindows"
49772 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49773 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49774 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49775 echo $ECHO_N "(cached) $ECHO_C" >&6
49778 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49779 egrep -s GNU > /dev/null); then
49780 bakefile_cv_prog_makeisgnu="yes"
49782 bakefile_cv_prog_makeisgnu="no"
49786 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49787 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49789 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49806 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49807 case "${BAKEFILE_HOST}" in
49814 *-pc-os2_emx | *-pc-os2-emx )
49824 powerpc-apple-macos* )
49833 case "$BAKEFILE_FORCE_PLATFORM" in
49854 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49855 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49856 { (exit 1); exit 1; }; }
49871 # Check whether --enable-omf was given.
49872 if test "${enable_omf+set}" = set; then
49873 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49877 case "${BAKEFILE_HOST}" in
49879 if test "x$GCC" = "xyes"; then
49880 CFLAGS="$CFLAGS -fno-common"
49881 CXXFLAGS="$CXXFLAGS -fno-common"
49883 if test "x$XLCC" = "xyes"; then
49884 CFLAGS="$CFLAGS -qnocommon"
49885 CXXFLAGS="$CXXFLAGS -qnocommon"
49889 *-pc-os2_emx | *-pc-os2-emx )
49890 if test "x$bk_os2_use_omf" = "xyes" ; then
49893 LDFLAGS="-Zomf $LDFLAGS"
49894 CFLAGS="-Zomf $CFLAGS"
49895 CXXFLAGS="-Zomf $CXXFLAGS"
49903 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49909 SO_SUFFIX_MODULE="so"
49914 DLLPREFIX_MODULE=""
49918 case "${BAKEFILE_HOST}" in
49923 SO_SUFFIX_MODULE="sl"
49927 SO_SUFFIX_MODULE="a"
49931 SO_SUFFIX_MODULE="dll"
49932 DLLIMP_SUFFIX="dll.a"
49939 SO_SUFFIX_MODULE="dll"
49940 DLLIMP_SUFFIX="dll.a"
49950 *-pc-os2_emx | *-pc-os2-emx )
49952 SO_SUFFIX_MODULE="dll"
49953 DLLIMP_SUFFIX=$OS2_LIBEXT
49957 LIBEXT=".$OS2_LIBEXT"
49962 SO_SUFFIX_MODULE="bundle"
49966 if test "x$DLLIMP_SUFFIX" = "x" ; then
49967 DLLIMP_SUFFIX="$SO_SUFFIX"
49982 if test "x$GCC" = "xyes"; then
49986 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49987 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49990 case "${BAKEFILE_HOST}" in
49992 if test "x$GCC" != "xyes"; then
49993 LDFLAGS="$LDFLAGS -L/usr/lib"
49995 SHARED_LD_CC="${CC} -b -o"
49996 SHARED_LD_CXX="${CXX} -b -o"
50002 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50004 elif test "x$SUNCXX" = "xyes"; then
50005 SHARED_LD_CC="${CC} -G -o"
50006 SHARED_LD_CXX="${CXX} -G -o"
50012 if test "x$SUNCXX" = xyes ; then
50013 SHARED_LD_CC="${CC} -G -o"
50014 SHARED_LD_CXX="${CXX} -G -o"
50022 cat <<EOF >shared-ld-sh
50024 #-----------------------------------------------------------------------------
50025 #-- Name: distrib/mac/shared-ld-sh
50026 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50027 #-- Author: Gilles Depeyrot
50028 #-- Copyright: (c) 2002 Gilles Depeyrot
50029 #-- Licence: any use permitted
50030 #-----------------------------------------------------------------------------
50035 linking_flag="-dynamiclib"
50036 ldargs="-r -keep_private_externs -nostdlib"
50038 if test "x${D}CXX" = "x"; then
50042 while test ${D}# -gt 0; do
50049 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50050 # collect these options and values
50051 args="${D}{args} ${D}1 ${D}2"
50056 # collect these options and values
50057 ldargs="${D}{ldargs} ${D}1 ${D}2"
50062 # collect these load args
50063 ldargs="${D}{ldargs} ${D}1"
50066 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50067 # collect these options
50068 args="${D}{args} ${D}1"
50071 -dynamiclib|-bundle)
50072 linking_flag="${D}1"
50076 echo "shared-ld: unhandled option '${D}1'"
50080 *.o | *.a | *.dylib)
50081 # collect object files
50082 objects="${D}{objects} ${D}1"
50086 echo "shared-ld: unhandled argument '${D}1'"
50097 # Link one module containing all the others
50099 if test ${D}{verbose} = 1; then
50100 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50102 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50106 # Link the shared library from the single module created, but only if the
50107 # previous command didn't fail:
50109 if test ${D}{status} = 0; then
50110 if test ${D}{verbose} = 1; then
50111 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50113 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50118 # Remove intermediate module
50120 rm -f master.${D}${D}.o
50125 chmod +x shared-ld-sh
50127 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50128 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50131 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50132 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50133 if test "${bakefile_cv_gcc31+set}" = set; then
50134 echo $ECHO_N "(cached) $ECHO_C" >&6
50137 cat >conftest.$ac_ext <<_ACEOF
50140 cat confdefs.h >>conftest.$ac_ext
50141 cat >>conftest.$ac_ext <<_ACEOF
50142 /* end confdefs.h. */
50148 #if (__GNUC__ < 3) || \
50149 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50157 rm -f conftest.$ac_objext
50158 if { (ac_try="$ac_compile"
50159 case "(($ac_try" in
50160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50161 *) ac_try_echo=$ac_try;;
50163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50164 (eval "$ac_compile") 2>conftest.er1
50166 grep -v '^ *+' conftest.er1 >conftest.err
50168 cat conftest.err >&5
50169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50170 (exit $ac_status); } && {
50171 test -z "$ac_c_werror_flag" ||
50172 test ! -s conftest.err
50173 } && test -s conftest.$ac_objext; then
50175 bakefile_cv_gcc31=yes
50178 echo "$as_me: failed program was:" >&5
50179 sed 's/^/| /' conftest.$ac_ext >&5
50182 bakefile_cv_gcc31=no
50187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50190 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50191 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50192 if test "$bakefile_cv_gcc31" = "no"; then
50193 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50194 SHARED_LD_CXX="$SHARED_LD_CC"
50196 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50197 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50200 if test "x$GCC" == "xyes"; then
50201 PIC_FLAG="-dynamic -fPIC"
50203 if test "x$XLCC" = "xyes"; then
50204 PIC_FLAG="-dynamic -DPIC"
50209 if test "x$GCC" = "xyes"; then
50212 case "${BAKEFILE_HOST}" in
50214 LD_EXPFULL="-Wl,-bexpfull"
50218 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50219 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50221 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50222 set dummy makeC++SharedLib; ac_word=$2
50223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50225 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50226 echo $ECHO_N "(cached) $ECHO_C" >&6
50228 if test -n "$AIX_CXX_LD"; then
50229 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50232 for as_dir in $PATH
50235 test -z "$as_dir" && as_dir=.
50236 for ac_exec_ext in '' $ac_executable_extensions; do
50237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50238 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50246 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50249 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50250 if test -n "$AIX_CXX_LD"; then
50251 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50252 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50254 { echo "$as_me:$LINENO: result: no" >&5
50255 echo "${ECHO_T}no" >&6; }
50259 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50260 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50265 SHARED_LD_CC="${LD} -nostart -o"
50266 SHARED_LD_CXX="${LD} -nostart -o"
50270 if test "x$GCC" != "xyes"; then
50275 *-*-cygwin* | *-*-mingw32* )
50277 SHARED_LD_CC="\$(CC) -shared -o"
50278 SHARED_LD_CXX="\$(CXX) -shared -o"
50282 *-pc-os2_emx | *-pc-os2-emx )
50283 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50284 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50288 cat <<EOF >dllar.sh
50291 # dllar - a tool to build both a .dll and an .a file
50292 # from a set of object (.o) files for EMX/OS2.
50294 # Written by Andrew Zabolotny, bit@freya.etu.ru
50295 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50297 # This script will accept a set of files on the command line.
50298 # All the public symbols from the .o files will be exported into
50299 # a .DEF file, then linker will be run (through gcc) against them to
50300 # build a shared library consisting of all given .o files. All libraries
50301 # (.a) will be first decompressed into component .o files then act as
50302 # described above. You can optionally give a description (-d "description")
50303 # which will be put into .DLL. To see the list of accepted options (as well
50304 # as command-line format) simply run this program without options. The .DLL
50305 # is built to be imported by name (there is no guarantee that new versions
50306 # of the library you build will have same ordinals for same symbols).
50308 # dllar is free software; you can redistribute it and/or modify
50309 # it under the terms of the GNU General Public License as published by
50310 # the Free Software Foundation; either version 2, or (at your option)
50311 # any later version.
50313 # dllar is distributed in the hope that it will be useful,
50314 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50315 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50316 # GNU General Public License for more details.
50318 # You should have received a copy of the GNU General Public License
50319 # along with dllar; see the file COPYING. If not, write to the Free
50320 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50323 # To successfuly run this program you will need:
50324 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50325 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50327 # (used to build the .dll)
50329 # (used to create .def file from .o files)
50331 # (used to create .a file from .def file)
50332 # - GNU text utilites (cat, sort, uniq)
50333 # used to process emxexp output
50334 # - GNU file utilities (mv, rm)
50336 # - lxlite (optional, see flag below)
50337 # (used for general .dll cleanup)
50344 # basnam, variant of basename, which does _not_ remove the path, _iff_
50345 # second argument (suffix to remove) is given
50349 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50352 echo ${D}1 | sed 's/'${D}2'${D}//'
50355 echo "error in basnam ${D}*"
50361 # Cleanup temporary files and output
50364 for i in ${D}inputFiles ; do
50367 rm -rf \`basnam ${D}i !\`
50374 # Kill result in case of failure as there is just to many stupid make/nmake
50375 # things out there which doesn't do this.
50376 if [ ${D}# -eq 0 ]; then
50377 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50381 # Print usage and exit script with rc=1.
50383 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50384 echo ' [-name-mangler-script script.sh]'
50385 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50386 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50387 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50388 echo ' [*.o] [*.a]'
50389 echo '*> "output_file" should have no extension.'
50390 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50391 echo ' The import library name is derived from this and is set to "name".a,'
50392 echo ' unless overridden by -import'
50393 echo '*> "importlib_name" should have no extension.'
50394 echo ' If it has the .o, or .a extension, it is automatically removed.'
50395 echo ' This name is used as the import library name and may be longer and'
50396 echo ' more descriptive than the DLL name which has to follow the old '
50397 echo ' 8.3 convention of FAT.'
50398 echo '*> "script.sh may be given to override the output_file name by a'
50399 echo ' different name. It is mainly useful if the regular make process'
50400 echo ' of some package does not take into account OS/2 restriction of'
50401 echo ' DLL name lengths. It takes the importlib name as input and is'
50402 echo ' supposed to procude a shorter name as output. The script should'
50403 echo ' expect to get importlib_name without extension and should produce'
50404 echo ' a (max.) 8 letter name without extension.'
50405 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50406 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50407 echo ' These flags will be put at the start of GCC command line.'
50408 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50409 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50410 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50411 echo ' If the last character of a symbol is "*", all symbols beginning'
50412 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50413 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50414 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50415 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50416 echo ' C runtime DLLs.'
50417 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50418 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50419 echo ' unchanged to GCC at the end of command line.'
50420 echo '*> If you create a DLL from a library and you do not specify -o,'
50421 echo ' the basename for DLL and import library will be set to library name,'
50422 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50423 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50424 echo ' library will be renamed into gcc_s.a.'
50427 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50428 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50433 # Execute a command.
50434 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50435 # @Uses Whatever CleanUp() uses.
50441 if [ ${D}rcCmd -ne 0 ]; then
50442 echo "command failed, exit code="${D}rcCmd
50457 CFLAGS="-s -Zcrtdll"
50459 EXPORT_BY_ORDINALS=0
50464 case ${D}curDirS in
50468 curDirS=${D}{curDirS}"/"
50471 # Parse commandline
50474 while [ ${D}1 ]; do
50477 EXPORT_BY_ORDINALS=1;
50487 -name-mangler-script)
50508 exclude_symbols=${D}{exclude_symbols}${D}1" "
50512 library_flags=${D}{library_flags}${D}1" "
50531 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50534 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50535 if [ ${D}omfLinking -eq 1 ]; then
50536 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50538 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50543 if [ ${D}libsToLink -ne 0 ]; then
50544 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50546 for file in ${D}1 ; do
50547 if [ -f ${D}file ]; then
50548 inputFiles="${D}{inputFiles} ${D}file"
50552 if [ ${D}found -eq 0 ]; then
50553 echo "ERROR: No file(s) found: "${D}1
50560 done # iterate cmdline words
50563 if [ -z "${D}inputFiles" ]; then
50564 echo "dllar: no input files"
50568 # Now extract all .o files from .a files
50570 for file in ${D}inputFiles ; do
50581 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50586 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50588 if [ ${D}? -ne 0 ]; then
50589 echo "Failed to create subdirectory ./${D}dirname"
50593 # Append '!' to indicate archive
50594 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50595 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50598 for subfile in ${D}dirname/*.o* ; do
50599 if [ -f ${D}subfile ]; then
50601 if [ -s ${D}subfile ]; then
50602 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50603 newInputFiles="${D}newInputFiles ${D}subfile"
50607 if [ ${D}found -eq 0 ]; then
50608 echo "WARNING: there are no files in archive \\'${D}file\\'"
50612 newInputFiles="${D}{newInputFiles} ${D}file"
50616 inputFiles="${D}newInputFiles"
50618 # Output filename(s).
50620 if [ -z ${D}outFile ]; then
50622 set outFile ${D}inputFiles; outFile=${D}2
50625 # If it is an archive, remove the '!' and the '_%' suffixes
50626 case ${D}outFile in
50628 outFile=\`basnam ${D}outFile _%!\`
50633 case ${D}outFile in
50635 outFile=\`basnam ${D}outFile .dll\`
50638 outFile=\`basnam ${D}outFile .DLL\`
50641 outFile=\`basnam ${D}outFile .o\`
50644 outFile=\`basnam ${D}outFile .obj\`
50647 outFile=\`basnam ${D}outFile .a\`
50650 outFile=\`basnam ${D}outFile .lib\`
50655 case ${D}outimpFile in
50657 outimpFile=\`basnam ${D}outimpFile .a\`
50660 outimpFile=\`basnam ${D}outimpFile .lib\`
50665 if [ -z ${D}outimpFile ]; then
50666 outimpFile=${D}outFile
50668 defFile="${D}{outFile}.def"
50669 arcFile="${D}{outimpFile}.a"
50670 arcFile2="${D}{outimpFile}.lib"
50672 #create ${D}dllFile as something matching 8.3 restrictions,
50673 if [ -z ${D}renameScript ] ; then
50674 dllFile="${D}outFile"
50676 dllFile=\`${D}renameScript ${D}outimpFile\`
50679 if [ ${D}do_backup -ne 0 ] ; then
50680 if [ -f ${D}arcFile ] ; then
50681 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50683 if [ -f ${D}arcFile2 ] ; then
50684 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50688 # Extract public symbols from all the object files.
50689 tmpdefFile=${D}{defFile}_%
50690 rm -f ${D}tmpdefFile
50691 for file in ${D}inputFiles ; do
50696 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50701 # Create the def file.
50703 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50704 dllFile="${D}{dllFile}.dll"
50705 if [ ! -z ${D}description ]; then
50706 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50708 echo "EXPORTS" >> ${D}defFile
50710 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50711 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50713 # Checks if the export is ok or not.
50714 for word in ${D}exclude_symbols; do
50715 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50716 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50720 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50721 sed "=" < ${D}tmpdefFile | \\
50725 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50727 ' > ${D}{tmpdefFile}%
50728 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50730 rm -f ${D}{tmpdefFile}%
50732 cat ${D}tmpdefFile >> ${D}defFile
50733 rm -f ${D}tmpdefFile
50735 # Do linking, create implib, and apply lxlite.
50737 for file in ${D}inputFiles ; do
50742 gccCmdl="${D}gccCmdl ${D}file"
50746 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50747 touch "${D}{outFile}.dll"
50749 doCommand "emximp -o ${D}arcFile ${D}defFile"
50750 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50752 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50755 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50757 doCommand "emxomf -s -l ${D}arcFile"
50767 powerpc-apple-macos* | \
50768 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50778 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50779 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50780 { (exit 1); exit 1; }; }
50783 if test "x$PIC_FLAG" != "x" ; then
50784 PIC_FLAG="$PIC_FLAG -DPIC"
50787 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50788 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50790 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50791 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50806 USE_SOTWOSYMLINKS=0
50810 case "${BAKEFILE_HOST}" in
50811 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50812 *-*-k*bsd*-gnu | *-*-mirbsd* )
50813 if test "x$SUNCXX" = "xyes"; then
50816 SONAME_FLAG="-Wl,-soname,"
50820 USE_SOTWOSYMLINKS=1
50832 USE_SOTWOSYMLINKS=1
50850 # Check whether --enable-dependency-tracking was given.
50851 if test "${enable_dependency_tracking+set}" = set; then
50852 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50856 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50857 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50860 if test "x$bk_use_trackdeps" = "xno" ; then
50862 { echo "$as_me:$LINENO: result: disabled" >&5
50863 echo "${ECHO_T}disabled" >&6; }
50867 if test "x$GCC" = "xyes"; then
50869 case "${BAKEFILE_HOST}" in
50871 DEPSFLAG="-no-cpp-precomp -MMD"
50877 { echo "$as_me:$LINENO: result: gcc" >&5
50878 echo "${ECHO_T}gcc" >&6; }
50879 elif test "x$MWCC" = "xyes"; then
50882 { echo "$as_me:$LINENO: result: mwcc" >&5
50883 echo "${ECHO_T}mwcc" >&6; }
50884 elif test "x$SUNCC" = "xyes"; then
50887 { echo "$as_me:$LINENO: result: Sun cc" >&5
50888 echo "${ECHO_T}Sun cc" >&6; }
50889 elif test "x$SGICC" = "xyes"; then
50892 { echo "$as_me:$LINENO: result: SGI cc" >&5
50893 echo "${ECHO_T}SGI cc" >&6; }
50894 elif test "x$HPCC" = "xyes"; then
50897 { echo "$as_me:$LINENO: result: HP cc" >&5
50898 echo "${ECHO_T}HP cc" >&6; }
50899 elif test "x$COMPAQCC" = "xyes"; then
50902 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50903 echo "${ECHO_T}Compaq cc" >&6; }
50906 { echo "$as_me:$LINENO: result: none" >&5
50907 echo "${ECHO_T}none" >&6; }
50910 if test $DEPS_TRACKING = 1 ; then
50916 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50917 # script. It is used to track C/C++ files dependencies in portable way.
50919 # Permission is given to use this file in any way.
50921 DEPSMODE=${DEPSMODE}
50922 DEPSFLAG="${DEPSFLAG}"
50925 if test ${D}DEPSMODE = gcc ; then
50926 ${D}* ${D}{DEPSFLAG}
50929 # determine location of created files:
50930 while test ${D}# -gt 0; do
50944 objfilebase=\`basename ${D}objfile\`
50945 builddir=\`dirname ${D}objfile\`
50946 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50947 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50948 depsdir=${D}builddir/${D}DEPSDIRBASE
50949 mkdir -p ${D}depsdir
50951 # if the compiler failed, we're done:
50952 if test ${D}{status} != 0 ; then
50957 # move created file to the location we want it in:
50958 if test -f ${D}depfile ; then
50959 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50962 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50963 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50964 if test ! -f ${D}depfile ; then
50965 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50966 depfile="${D}objfile.d"
50968 if test -f ${D}depfile ; then
50969 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50975 elif test ${D}DEPSMODE = mwcc ; then
50976 ${D}* || exit ${D}?
50977 # Run mwcc again with -MM and redirect into the dep file we want
50978 # NOTE: We can't use shift here because we need ${D}* to be valid
50980 for arg in ${D}* ; do
50981 if test "${D}prevarg" = "-o"; then
50995 objfilebase=\`basename ${D}objfile\`
50996 builddir=\`dirname ${D}objfile\`
50997 depsdir=${D}builddir/${D}DEPSDIRBASE
50998 mkdir -p ${D}depsdir
51000 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51003 elif test ${D}DEPSMODE = unixcc; then
51004 ${D}* || exit ${D}?
51005 # Run compiler again with deps flag and redirect into the dep file.
51006 # It doesn't work if the '-o FILE' option is used, but without it the
51007 # dependency file will contain the wrong name for the object. So it is
51008 # removed from the command line, and the dep file is fixed with sed.
51010 while test ${D}# -gt 0; do
51017 eval arg${D}#=\\${D}1
51018 cmd="${D}cmd \\${D}arg${D}#"
51024 objfilebase=\`basename ${D}objfile\`
51025 builddir=\`dirname ${D}objfile\`
51026 depsdir=${D}builddir/${D}DEPSDIRBASE
51027 mkdir -p ${D}depsdir
51029 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51039 BK_DEPS="`pwd`/bk-deps"
51047 case ${BAKEFILE_HOST} in
51048 *-*-cygwin* | *-*-mingw32* )
51049 if test -n "$ac_tool_prefix"; then
51050 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51051 set dummy ${ac_tool_prefix}windres; ac_word=$2
51052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51054 if test "${ac_cv_prog_WINDRES+set}" = set; then
51055 echo $ECHO_N "(cached) $ECHO_C" >&6
51057 if test -n "$WINDRES"; then
51058 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51061 for as_dir in $PATH
51064 test -z "$as_dir" && as_dir=.
51065 for ac_exec_ext in '' $ac_executable_extensions; do
51066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51067 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51077 WINDRES=$ac_cv_prog_WINDRES
51078 if test -n "$WINDRES"; then
51079 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51080 echo "${ECHO_T}$WINDRES" >&6; }
51082 { echo "$as_me:$LINENO: result: no" >&5
51083 echo "${ECHO_T}no" >&6; }
51088 if test -z "$ac_cv_prog_WINDRES"; then
51089 ac_ct_WINDRES=$WINDRES
51090 # Extract the first word of "windres", so it can be a program name with args.
51091 set dummy windres; ac_word=$2
51092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51094 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51095 echo $ECHO_N "(cached) $ECHO_C" >&6
51097 if test -n "$ac_ct_WINDRES"; then
51098 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51101 for as_dir in $PATH
51104 test -z "$as_dir" && as_dir=.
51105 for ac_exec_ext in '' $ac_executable_extensions; do
51106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51107 ac_cv_prog_ac_ct_WINDRES="windres"
51108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51117 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51118 if test -n "$ac_ct_WINDRES"; then
51119 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51120 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51122 { echo "$as_me:$LINENO: result: no" >&5
51123 echo "${ECHO_T}no" >&6; }
51126 if test "x$ac_ct_WINDRES" = x; then
51129 case $cross_compiling:$ac_tool_warned in
51131 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51132 whose name does not start with the host triplet. If you think this
51133 configuration is useful to you, please write to autoconf@gnu.org." >&5
51134 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51135 whose name does not start with the host triplet. If you think this
51136 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51137 ac_tool_warned=yes ;;
51139 WINDRES=$ac_ct_WINDRES
51142 WINDRES="$ac_cv_prog_WINDRES"
51147 *-*-darwin* | powerpc-apple-macos* )
51148 # Extract the first word of "Rez", so it can be a program name with args.
51149 set dummy Rez; ac_word=$2
51150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51152 if test "${ac_cv_prog_REZ+set}" = set; then
51153 echo $ECHO_N "(cached) $ECHO_C" >&6
51155 if test -n "$REZ"; then
51156 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51159 for as_dir in $PATH
51162 test -z "$as_dir" && as_dir=.
51163 for ac_exec_ext in '' $ac_executable_extensions; do
51164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51165 ac_cv_prog_REZ="Rez"
51166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51173 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51176 REZ=$ac_cv_prog_REZ
51177 if test -n "$REZ"; then
51178 { echo "$as_me:$LINENO: result: $REZ" >&5
51179 echo "${ECHO_T}$REZ" >&6; }
51181 { echo "$as_me:$LINENO: result: no" >&5
51182 echo "${ECHO_T}no" >&6; }
51186 # Extract the first word of "SetFile", so it can be a program name with args.
51187 set dummy SetFile; ac_word=$2
51188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51190 if test "${ac_cv_prog_SETFILE+set}" = set; then
51191 echo $ECHO_N "(cached) $ECHO_C" >&6
51193 if test -n "$SETFILE"; then
51194 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51197 for as_dir in $PATH
51200 test -z "$as_dir" && as_dir=.
51201 for ac_exec_ext in '' $ac_executable_extensions; do
51202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51203 ac_cv_prog_SETFILE="SetFile"
51204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51211 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51214 SETFILE=$ac_cv_prog_SETFILE
51215 if test -n "$SETFILE"; then
51216 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51217 echo "${ECHO_T}$SETFILE" >&6; }
51219 { echo "$as_me:$LINENO: result: no" >&5
51220 echo "${ECHO_T}no" >&6; }
51235 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51238 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51242 # Check whether --enable-precomp-headers was given.
51243 if test "${enable_precomp_headers+set}" = set; then
51244 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51253 case ${BAKEFILE_HOST} in
51259 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51260 if test "x$GCC" = "xyes"; then
51261 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51262 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51263 cat >conftest.$ac_ext <<_ACEOF
51266 cat confdefs.h >>conftest.$ac_ext
51267 cat >>conftest.$ac_ext <<_ACEOF
51268 /* end confdefs.h. */
51274 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51275 There is no PCH support
51278 There is no PCH support
51280 #if (__GNUC__ == 3) && \
51281 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51282 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51283 ( defined(__INTEL_COMPILER) )
51284 There is no PCH support
51291 rm -f conftest.$ac_objext
51292 if { (ac_try="$ac_compile"
51293 case "(($ac_try" in
51294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51295 *) ac_try_echo=$ac_try;;
51297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51298 (eval "$ac_compile") 2>conftest.er1
51300 grep -v '^ *+' conftest.er1 >conftest.err
51302 cat conftest.err >&5
51303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51304 (exit $ac_status); } && {
51305 test -z "$ac_c_werror_flag" ||
51306 test ! -s conftest.err
51307 } && test -s conftest.$ac_objext; then
51309 { echo "$as_me:$LINENO: result: yes" >&5
51310 echo "${ECHO_T}yes" >&6; }
51314 echo "$as_me: failed program was:" >&5
51315 sed 's/^/| /' conftest.$ac_ext >&5
51318 if test "$INTELCXX8" = "yes"; then
51319 { echo "$as_me:$LINENO: result: yes" >&5
51320 echo "${ECHO_T}yes" >&6; }
51322 if test "$INTELCXX10" = "yes"; then
51323 ICC_PCH_CREATE_SWITCH="-pch-create"
51324 ICC_PCH_USE_SWITCH="-pch-use"
51326 ICC_PCH_CREATE_SWITCH="-create-pch"
51327 ICC_PCH_USE_SWITCH="-use-pch"
51330 { echo "$as_me:$LINENO: result: no" >&5
51331 echo "${ECHO_T}no" >&6; }
51336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51337 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51341 cat <<EOF >bk-make-pch
51344 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51345 # script. It is used to generated precompiled headers.
51347 # Permission is given to use this file in any way.
51354 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51359 while test ${D}{#} -gt 0; do
51363 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51364 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51365 headerfile="${D}{incdir}/${D}{header}"
51368 -use-pch|-use_pch|-pch-use )
51373 if test ${D}add_to_cmdline = 1 ; then
51374 compiler="${D}{compiler} ${D}{1}"
51379 if test "x${D}{headerfile}" = "x" ; then
51380 echo "error: can't find header ${D}{header} in include paths" >&2
51382 if test -f ${D}{outfile} ; then
51383 rm -f ${D}{outfile}
51385 mkdir -p \`dirname ${D}{outfile}\`
51387 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51388 mkdir -p ${D}{builddir}/.deps
51389 if test "x${GCC_PCH}" = "x1" ; then
51390 # can do this because gcc is >= 3.4:
51391 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51392 elif test "x${ICC_PCH}" = "x1" ; then
51393 filename=pch_gen-${D}${D}
51394 file=${D}{filename}.c
51395 dfile=${D}{filename}.d
51396 cat > ${D}file <<EOT
51397 #include "${D}header"
51399 # using -MF icc complains about differing command lines in creation/use
51400 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51401 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51402 rm -f ${D}file ${D}dfile ${D}{filename}.o
51408 chmod +x bk-make-pch
51409 BK_MAKE_PCH="`pwd`/bk-make-pch"
51420 COND_BUILD_DEBUG="#"
51421 if test "x$BUILD" = "xdebug" ; then
51422 COND_BUILD_DEBUG=""
51425 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51426 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51427 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51430 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51431 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51432 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51435 COND_BUILD_DEBUG_UNICODE_0="#"
51436 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51437 COND_BUILD_DEBUG_UNICODE_0=""
51440 COND_BUILD_DEBUG_UNICODE_1="#"
51441 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51442 COND_BUILD_DEBUG_UNICODE_1=""
51445 COND_BUILD_RELEASE="#"
51446 if test "x$BUILD" = "xrelease" ; then
51447 COND_BUILD_RELEASE=""
51450 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51451 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51452 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51455 COND_BUILD_RELEASE_UNICODE_0="#"
51456 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51457 COND_BUILD_RELEASE_UNICODE_0=""
51460 COND_BUILD_RELEASE_UNICODE_1="#"
51461 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51462 COND_BUILD_RELEASE_UNICODE_1=""
51465 COND_BUILD_debug="#"
51466 if test "x$BUILD" = "xdebug" ; then
51467 COND_BUILD_debug=""
51470 COND_BUILD_debug_DEBUG_FLAG_default="#"
51471 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51472 COND_BUILD_debug_DEBUG_FLAG_default=""
51475 COND_BUILD_debug_DEBUG_INFO_default="#"
51476 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51477 COND_BUILD_debug_DEBUG_INFO_default=""
51480 COND_BUILD_debug_UNICODE_0="#"
51481 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51482 COND_BUILD_debug_UNICODE_0=""
51485 COND_BUILD_debug_UNICODE_1="#"
51486 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51487 COND_BUILD_debug_UNICODE_1=""
51490 COND_BUILD_release="#"
51491 if test "x$BUILD" = "xrelease" ; then
51492 COND_BUILD_release=""
51495 COND_BUILD_release_DEBUG_INFO_default="#"
51496 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51497 COND_BUILD_release_DEBUG_INFO_default=""
51500 COND_BUILD_release_UNICODE_0="#"
51501 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51502 COND_BUILD_release_UNICODE_0=""
51505 COND_BUILD_release_UNICODE_1="#"
51506 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51507 COND_BUILD_release_UNICODE_1=""
51510 COND_DEBUG_FLAG_0="#"
51511 if test "x$DEBUG_FLAG" = "x0" ; then
51512 COND_DEBUG_FLAG_0=""
51515 COND_DEBUG_FLAG_1="#"
51516 if test "x$DEBUG_FLAG" = "x1" ; then
51517 COND_DEBUG_FLAG_1=""
51520 COND_DEBUG_INFO_0="#"
51521 if test "x$DEBUG_INFO" = "x0" ; then
51522 COND_DEBUG_INFO_0=""
51525 COND_DEBUG_INFO_1="#"
51526 if test "x$DEBUG_INFO" = "x1" ; then
51527 COND_DEBUG_INFO_1=""
51530 COND_DEPS_TRACKING_0="#"
51531 if test "x$DEPS_TRACKING" = "x0" ; then
51532 COND_DEPS_TRACKING_0=""
51535 COND_DEPS_TRACKING_1="#"
51536 if test "x$DEPS_TRACKING" = "x1" ; then
51537 COND_DEPS_TRACKING_1=""
51541 if test "x$GCC_PCH" = "x1" ; then
51546 if test "x$ICC_PCH" = "x1" ; then
51550 COND_MONOLITHIC_0="#"
51551 if test "x$MONOLITHIC" = "x0" ; then
51552 COND_MONOLITHIC_0=""
51555 COND_MONOLITHIC_0_SHARED_0="#"
51556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51557 COND_MONOLITHIC_0_SHARED_0=""
51560 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51562 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51565 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51567 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51570 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51572 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51575 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51577 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51580 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51582 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51585 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51587 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51590 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51592 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51595 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51596 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51597 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51600 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51601 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51602 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51605 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51606 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51607 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51610 COND_MONOLITHIC_0_SHARED_1="#"
51611 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51612 COND_MONOLITHIC_0_SHARED_1=""
51615 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51617 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51620 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51622 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51625 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51626 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51627 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51630 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51631 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51632 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51635 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51636 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51637 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51640 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51642 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51645 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51646 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51647 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51650 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51652 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51655 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51657 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51660 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51662 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51665 COND_MONOLITHIC_0_USE_AUI_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51667 COND_MONOLITHIC_0_USE_AUI_1=""
51670 COND_MONOLITHIC_0_USE_GUI_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51672 COND_MONOLITHIC_0_USE_GUI_1=""
51675 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51677 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51680 COND_MONOLITHIC_0_USE_HTML_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51682 COND_MONOLITHIC_0_USE_HTML_1=""
51685 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51687 COND_MONOLITHIC_0_USE_MEDIA_1=""
51690 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51691 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51692 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51695 COND_MONOLITHIC_0_USE_QA_1="#"
51696 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51697 COND_MONOLITHIC_0_USE_QA_1=""
51700 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51701 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51702 COND_MONOLITHIC_0_USE_RIBBON_1=""
51705 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51706 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51707 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51710 COND_MONOLITHIC_0_USE_STC_1="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51712 COND_MONOLITHIC_0_USE_STC_1=""
51715 COND_MONOLITHIC_0_USE_XRC_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51717 COND_MONOLITHIC_0_USE_XRC_1=""
51720 COND_MONOLITHIC_1="#"
51721 if test "x$MONOLITHIC" = "x1" ; then
51722 COND_MONOLITHIC_1=""
51725 COND_MONOLITHIC_1_SHARED_0="#"
51726 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51727 COND_MONOLITHIC_1_SHARED_0=""
51730 COND_MONOLITHIC_1_SHARED_1="#"
51731 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51732 COND_MONOLITHIC_1_SHARED_1=""
51735 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51736 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51737 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51740 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51741 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51742 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51745 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51746 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51747 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51750 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51751 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51752 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51755 COND_PLATFORM_MACOSX_1="#"
51756 if test "x$PLATFORM_MACOSX" = "x1" ; then
51757 COND_PLATFORM_MACOSX_1=""
51760 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51761 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51762 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51765 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51766 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51767 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51770 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51771 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51772 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51775 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51776 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51777 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51780 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51781 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51782 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51785 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51786 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51787 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51791 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51796 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51800 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51801 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51802 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51805 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51806 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51807 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51810 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51811 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51812 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51815 COND_PLATFORM_MACOS_1="#"
51816 if test "x$PLATFORM_MACOS" = "x1" ; then
51817 COND_PLATFORM_MACOS_1=""
51820 COND_PLATFORM_MAC_0="#"
51821 if test "x$PLATFORM_MAC" = "x0" ; then
51822 COND_PLATFORM_MAC_0=""
51825 COND_PLATFORM_MAC_1="#"
51826 if test "x$PLATFORM_MAC" = "x1" ; then
51827 COND_PLATFORM_MAC_1=""
51830 COND_PLATFORM_MSDOS_0="#"
51831 if test "x$PLATFORM_MSDOS" = "x0" ; then
51832 COND_PLATFORM_MSDOS_0=""
51835 COND_PLATFORM_MSDOS_1="#"
51836 if test "x$PLATFORM_MSDOS" = "x1" ; then
51837 COND_PLATFORM_MSDOS_1=""
51840 COND_PLATFORM_OS2_1="#"
51841 if test "x$PLATFORM_OS2" = "x1" ; then
51842 COND_PLATFORM_OS2_1=""
51845 COND_PLATFORM_UNIX_0="#"
51846 if test "x$PLATFORM_UNIX" = "x0" ; then
51847 COND_PLATFORM_UNIX_0=""
51850 COND_PLATFORM_UNIX_1="#"
51851 if test "x$PLATFORM_UNIX" = "x1" ; then
51852 COND_PLATFORM_UNIX_1=""
51855 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51856 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51857 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51860 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51861 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51862 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51865 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51866 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51867 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51870 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51871 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51872 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51875 COND_PLATFORM_WIN32_0="#"
51876 if test "x$PLATFORM_WIN32" = "x0" ; then
51877 COND_PLATFORM_WIN32_0=""
51880 COND_PLATFORM_WIN32_1="#"
51881 if test "x$PLATFORM_WIN32" = "x1" ; then
51882 COND_PLATFORM_WIN32_1=""
51885 COND_PLATFORM_WIN32_1_SHARED_0="#"
51886 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51887 COND_PLATFORM_WIN32_1_SHARED_0=""
51891 if test "x$SHARED" = "x0" ; then
51895 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51896 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51897 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51900 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51901 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51902 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51906 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51907 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51910 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51911 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51912 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51916 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51921 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51922 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51925 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51926 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51927 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51930 COND_SHARED_0_USE_STC_1="#"
51931 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51932 COND_SHARED_0_USE_STC_1=""
51935 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51936 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51937 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51940 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51941 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51942 COND_SHARED_0_wxUSE_REGEX_builtin=""
51945 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51946 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51947 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51951 if test "x$SHARED" = "x1" ; then
51955 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51956 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51957 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51961 if test "x$TOOLKIT" = "x" ; then
51965 COND_TOOLKIT_COCOA="#"
51966 if test "x$TOOLKIT" = "xCOCOA" ; then
51967 COND_TOOLKIT_COCOA=""
51970 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51971 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51972 COND_TOOLKIT_COCOA_USE_GUI_1=""
51975 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51976 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51977 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51980 COND_TOOLKIT_DFB="#"
51981 if test "x$TOOLKIT" = "xDFB" ; then
51982 COND_TOOLKIT_DFB=""
51985 COND_TOOLKIT_DFB_USE_GUI_1="#"
51986 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51987 COND_TOOLKIT_DFB_USE_GUI_1=""
51990 COND_TOOLKIT_GTK="#"
51991 if test "x$TOOLKIT" = "xGTK" ; then
51992 COND_TOOLKIT_GTK=""
51995 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51996 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51997 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52000 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52001 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52002 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52005 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52006 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52007 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52010 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52011 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52012 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52015 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52016 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52017 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52020 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52021 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52022 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52025 COND_TOOLKIT_GTK_USE_GUI_1="#"
52026 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52027 COND_TOOLKIT_GTK_USE_GUI_1=""
52030 COND_TOOLKIT_MAC="#"
52031 if test "x$TOOLKIT" = "xMAC" ; then
52032 COND_TOOLKIT_MAC=""
52035 COND_TOOLKIT_MGL="#"
52036 if test "x$TOOLKIT" = "xMGL" ; then
52037 COND_TOOLKIT_MGL=""
52040 COND_TOOLKIT_MGL_USE_GUI_1="#"
52041 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52042 COND_TOOLKIT_MGL_USE_GUI_1=""
52045 COND_TOOLKIT_MOTIF="#"
52046 if test "x$TOOLKIT" = "xMOTIF" ; then
52047 COND_TOOLKIT_MOTIF=""
52050 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52051 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52052 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52055 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52056 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52057 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52060 COND_TOOLKIT_MSW="#"
52061 if test "x$TOOLKIT" = "xMSW" ; then
52062 COND_TOOLKIT_MSW=""
52065 COND_TOOLKIT_MSW_USE_GUI_1="#"
52066 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52067 COND_TOOLKIT_MSW_USE_GUI_1=""
52070 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52071 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52072 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52075 COND_TOOLKIT_MSW_WXUNIV_0="#"
52076 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52077 COND_TOOLKIT_MSW_WXUNIV_0=""
52080 COND_TOOLKIT_OSX_CARBON="#"
52081 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52082 COND_TOOLKIT_OSX_CARBON=""
52085 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52086 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52087 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52090 COND_TOOLKIT_OSX_COCOA="#"
52091 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52092 COND_TOOLKIT_OSX_COCOA=""
52095 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52096 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52097 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52100 COND_TOOLKIT_OSX_IPHONE="#"
52101 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52102 COND_TOOLKIT_OSX_IPHONE=""
52105 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52106 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52107 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52110 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52111 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52112 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52115 COND_TOOLKIT_PM="#"
52116 if test "x$TOOLKIT" = "xPM" ; then
52120 COND_TOOLKIT_PM_USE_GUI_1="#"
52121 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52122 COND_TOOLKIT_PM_USE_GUI_1=""
52125 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52126 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52127 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52130 COND_TOOLKIT_WINCE="#"
52131 if test "x$TOOLKIT" = "xWINCE" ; then
52132 COND_TOOLKIT_WINCE=""
52135 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52136 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52137 COND_TOOLKIT_WINCE_USE_GUI_1=""
52140 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52141 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52142 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52145 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52146 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52147 COND_TOOLKIT_WINCE_WXUNIV_0=""
52150 COND_TOOLKIT_X11="#"
52151 if test "x$TOOLKIT" = "xX11" ; then
52152 COND_TOOLKIT_X11=""
52155 COND_TOOLKIT_X11_USE_GUI_1="#"
52156 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52157 COND_TOOLKIT_X11_USE_GUI_1=""
52161 if test "x$UNICODE" = "x1" ; then
52165 COND_USE_CAIRO_1="#"
52166 if test "x$USE_CAIRO" = "x1" ; then
52167 COND_USE_CAIRO_1=""
52170 COND_USE_EXCEPTIONS_0="#"
52171 if test "x$USE_EXCEPTIONS" = "x0" ; then
52172 COND_USE_EXCEPTIONS_0=""
52175 COND_USE_EXCEPTIONS_1="#"
52176 if test "x$USE_EXCEPTIONS" = "x1" ; then
52177 COND_USE_EXCEPTIONS_1=""
52181 if test "x$USE_GUI" = "x0" ; then
52186 if test "x$USE_GUI" = "x1" ; then
52190 COND_USE_GUI_1_USE_OPENGL_1="#"
52191 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52192 COND_USE_GUI_1_USE_OPENGL_1=""
52195 COND_USE_GUI_1_WXUNIV_0="#"
52196 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52197 COND_USE_GUI_1_WXUNIV_0=""
52200 COND_USE_GUI_1_WXUNIV_1="#"
52201 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52202 COND_USE_GUI_1_WXUNIV_1=""
52205 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52206 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52207 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52210 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52211 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52212 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52215 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52216 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52217 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52220 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52221 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52222 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52225 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52226 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52227 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52230 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52231 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52232 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52235 COND_USE_OPENGL_1="#"
52236 if test "x$USE_OPENGL" = "x1" ; then
52237 COND_USE_OPENGL_1=""
52241 if test "x$USE_PCH" = "x1" ; then
52245 COND_USE_PLUGINS_0="#"
52246 if test "x$USE_PLUGINS" = "x0" ; then
52247 COND_USE_PLUGINS_0=""
52250 COND_USE_RTTI_0="#"
52251 if test "x$USE_RTTI" = "x0" ; then
52255 COND_USE_RTTI_1="#"
52256 if test "x$USE_RTTI" = "x1" ; then
52260 COND_USE_SOTWOSYMLINKS_1="#"
52261 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52262 COND_USE_SOTWOSYMLINKS_1=""
52265 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52266 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52267 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52270 COND_USE_SOVERLINUX_1="#"
52271 if test "x$USE_SOVERLINUX" = "x1" ; then
52272 COND_USE_SOVERLINUX_1=""
52275 COND_USE_SOVERSION_0="#"
52276 if test "x$USE_SOVERSION" = "x0" ; then
52277 COND_USE_SOVERSION_0=""
52280 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52281 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52282 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52285 COND_USE_SOVERSOLARIS_1="#"
52286 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52287 COND_USE_SOVERSOLARIS_1=""
52291 if test "x$USE_STC" = "x1" ; then
52295 COND_USE_THREADS_0="#"
52296 if test "x$USE_THREADS" = "x0" ; then
52297 COND_USE_THREADS_0=""
52300 COND_USE_THREADS_1="#"
52301 if test "x$USE_THREADS" = "x1" ; then
52302 COND_USE_THREADS_1=""
52306 if test "x$USE_XRC" = "x1" ; then
52310 COND_WINDOWS_IMPLIB_1="#"
52311 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52312 COND_WINDOWS_IMPLIB_1=""
52315 COND_WITH_PLUGIN_SDL_1="#"
52316 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52317 COND_WITH_PLUGIN_SDL_1=""
52321 if test "x$WXUNIV" = "x0" ; then
52326 if test "x$WXUNIV" = "x1" ; then
52330 COND_WXUSE_EXPAT_BUILTIN="#"
52331 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52332 COND_WXUSE_EXPAT_BUILTIN=""
52335 COND_WXUSE_LIBJPEG_BUILTIN="#"
52336 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52337 COND_WXUSE_LIBJPEG_BUILTIN=""
52340 COND_WXUSE_LIBPNG_BUILTIN="#"
52341 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52342 COND_WXUSE_LIBPNG_BUILTIN=""
52345 COND_WXUSE_LIBTIFF_BUILTIN="#"
52346 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52347 COND_WXUSE_LIBTIFF_BUILTIN=""
52350 COND_WXUSE_REGEX_BUILTIN="#"
52351 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52352 COND_WXUSE_REGEX_BUILTIN=""
52355 COND_WXUSE_ZLIB_BUILTIN="#"
52356 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52357 COND_WXUSE_ZLIB_BUILTIN=""
52360 COND_wxUSE_EXPAT_builtin="#"
52361 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52362 COND_wxUSE_EXPAT_builtin=""
52365 COND_wxUSE_LIBJPEG_builtin="#"
52366 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52367 COND_wxUSE_LIBJPEG_builtin=""
52370 COND_wxUSE_LIBPNG_builtin="#"
52371 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52372 COND_wxUSE_LIBPNG_builtin=""
52375 COND_wxUSE_LIBTIFF_builtin="#"
52376 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52377 COND_wxUSE_LIBTIFF_builtin=""
52380 COND_wxUSE_REGEX_builtin="#"
52381 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52382 COND_wxUSE_REGEX_builtin=""
52385 COND_wxUSE_ZLIB_builtin="#"
52386 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52387 COND_wxUSE_ZLIB_builtin=""
52392 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52393 { { 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
52394 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;}
52395 { (exit 1); exit 1; }; }
52398 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52399 { { 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
52400 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;}
52401 { (exit 1); exit 1; }; }
52408 ?:* ) # Drive letter, considered as absolute.
52411 INSTALL=`pwd`/${INSTALL} ;;
52414 if test "$wxUSE_GUI" = "yes"; then
52416 if test "$wxUSE_MSW" = 1 ; then
52417 if test "x$WINDRES" = "x"; then
52418 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52419 echo "$as_me: error: Required windres program not found" >&2;}
52420 { (exit 1); exit 1; }; }
52426 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52427 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52428 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52430 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52432 # Extract the first word of "DeRez", so it can be a program name with args.
52433 set dummy DeRez; ac_word=$2
52434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52436 if test "${ac_cv_prog_DEREZ+set}" = set; then
52437 echo $ECHO_N "(cached) $ECHO_C" >&6
52439 if test -n "$DEREZ"; then
52440 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52443 for as_dir in $PATH
52446 test -z "$as_dir" && as_dir=.
52447 for ac_exec_ext in '' $ac_executable_extensions; do
52448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52449 ac_cv_prog_DEREZ="DeRez"
52450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52457 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52460 DEREZ=$ac_cv_prog_DEREZ
52461 if test -n "$DEREZ"; then
52462 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52463 echo "${ECHO_T}$DEREZ" >&6; }
52465 { echo "$as_me:$LINENO: result: no" >&5
52466 echo "${ECHO_T}no" >&6; }
52471 MACSETFILE="\$(SETFILE)"
52473 if test "$wxUSE_OSX_CARBON" = 1; then
52474 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52476 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52478 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52479 RESCOMP="cat /dev/null \| $REZ"
52480 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52486 if test "$wxUSE_PM" = 1; then
52488 WXCONFIG_RESFLAGS="-ep"
52490 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52492 POSTLINK_COMMAND="@true"
52499 if test $GCC_PCH = 1
52501 if test "$wx_cv_gcc_pch_bug" = yes; then
52502 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52503 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52504 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52505 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52506 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52507 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52510 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52511 # the headers that benefit from precompilation are mostly C++ headers.
52512 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52513 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52514 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52518 if test "$wxUSE_MAC" = 1 ; then
52519 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52520 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52526 if test "$wxUSE_SHARED" = "yes"; then
52528 *-pc-os2_emx | *-pc-os2-emx )
52529 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52530 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52531 cp -p ${srcdir}/src/os2/dllnames.sh .
52532 cp -p ${srcdir}/src/os2/dllar.sh .
52536 if test "$wxUSE_OMF" = "yes"; then
52538 *-pc-os2_emx | *-pc-os2-emx )
52539 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52540 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52541 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52546 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52551 if test "$GCC" = yes; then
52552 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52553 LIBS=`echo $LIBS | sed 's/-mt//'`
52554 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52559 if test "x$SUNCXX" = xyes; then
52560 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52561 LIBS=`echo $LIBS | sed 's/-pthread//'`
52562 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52567 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52568 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52569 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52570 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52572 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52633 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52634 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52635 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52636 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52637 echo $ECHO_N "(cached) $ECHO_C" >&6
52639 cat >conftest.make <<\_ACEOF
52642 @echo '@@@%%%=$(MAKE)=@@@%%%'
52644 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52645 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52646 *@@@%%%=?*=@@@%%%*)
52647 eval ac_cv_prog_make_${ac_make}_set=yes;;
52649 eval ac_cv_prog_make_${ac_make}_set=no;;
52651 rm -f conftest.make
52653 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52654 { echo "$as_me:$LINENO: result: yes" >&5
52655 echo "${ECHO_T}yes" >&6; }
52658 { echo "$as_me:$LINENO: result: no" >&5
52659 echo "${ECHO_T}no" >&6; }
52660 SET_MAKE="MAKE=${MAKE-make}"
52665 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52668 if test "$USE_WIN32" = 1; then
52669 ac_config_commands="$ac_config_commands rcdefs.h"
52673 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52676 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52679 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52682 if test "$wx_cv_version_script" = "yes"; then
52683 ac_config_files="$ac_config_files version-script"
52686 ac_config_files="$ac_config_files Makefile"
52689 ac_config_commands="$ac_config_commands wx-config"
52693 if test "$wxWITH_SUBDIRS" != "no"; then
52694 if test "$wxUSE_GUI" = "yes"; then
52695 SUBDIRS="samples demos utils"
52697 SUBDIRS="samples utils"
52702 # Check whether --with-cppunit-prefix was given.
52703 if test "${with_cppunit_prefix+set}" = set; then
52704 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52706 cppunit_config_prefix=""
52710 # Check whether --with-cppunit-exec-prefix was given.
52711 if test "${with_cppunit_exec_prefix+set}" = set; then
52712 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52714 cppunit_config_exec_prefix=""
52718 if test x$cppunit_config_exec_prefix != x ; then
52719 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52720 if test x${CPPUNIT_CONFIG+set} != xset ; then
52721 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52724 if test x$cppunit_config_prefix != x ; then
52725 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52726 if test x${CPPUNIT_CONFIG+set} != xset ; then
52727 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52731 # Extract the first word of "cppunit-config", so it can be a program name with args.
52732 set dummy cppunit-config; ac_word=$2
52733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52735 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52736 echo $ECHO_N "(cached) $ECHO_C" >&6
52738 case $CPPUNIT_CONFIG in
52740 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52744 for as_dir in $PATH
52747 test -z "$as_dir" && as_dir=.
52748 for ac_exec_ext in '' $ac_executable_extensions; do
52749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52750 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52758 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52762 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52763 if test -n "$CPPUNIT_CONFIG"; then
52764 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52765 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52767 { echo "$as_me:$LINENO: result: no" >&5
52768 echo "${ECHO_T}no" >&6; }
52772 cppunit_version_min=1.8.0
52774 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52775 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52777 if test "$CPPUNIT_CONFIG" = "no" ; then
52778 { echo "$as_me:$LINENO: result: no" >&5
52779 echo "${ECHO_T}no" >&6; }
52782 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52783 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52784 cppunit_version=`$CPPUNIT_CONFIG --version`
52786 cppunit_major_version=`echo $cppunit_version | \
52787 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52788 cppunit_minor_version=`echo $cppunit_version | \
52789 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52790 cppunit_micro_version=`echo $cppunit_version | \
52791 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52793 cppunit_major_min=`echo $cppunit_version_min | \
52794 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52795 cppunit_minor_min=`echo $cppunit_version_min | \
52796 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52797 cppunit_micro_min=`echo $cppunit_version_min | \
52798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52800 cppunit_version_proper=`expr \
52801 $cppunit_major_version \> $cppunit_major_min \| \
52802 $cppunit_major_version \= $cppunit_major_min \& \
52803 $cppunit_minor_version \> $cppunit_minor_min \| \
52804 $cppunit_major_version \= $cppunit_major_min \& \
52805 $cppunit_minor_version \= $cppunit_minor_min \& \
52806 $cppunit_micro_version \>= $cppunit_micro_min `
52808 if test "$cppunit_version_proper" = "1" ; then
52809 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52810 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52812 { echo "$as_me:$LINENO: result: no" >&5
52813 echo "${ECHO_T}no" >&6; }
52818 if test "x$no_cppunit" = x ; then
52819 SUBDIRS="$SUBDIRS tests"
52830 for subdir in $SUBDIRS; do
52831 if test -d ${srcdir}/${subdir} ; then
52832 if test "$wxUSE_GUI" = "yes"; then
52833 if test ${subdir} = "samples"; then
52834 makefiles="samples/Makefile.in $makefiles"
52835 for sample in $SAMPLES_SUBDIRS; do
52836 if test -d $srcdir/samples/$sample; then
52837 makefiles="samples/$sample/Makefile.in $makefiles"
52841 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52842 eval "disabled=\$$disabled_var"
52843 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52844 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52847 if test ${subdir} = "samples"; then
52848 makefiles="samples/Makefile.in $makefiles"
52849 for sample in `echo $SAMPLES_SUBDIRS`; do
52850 if test -d $srcdir/samples/$sample; then
52851 makefiles="samples/$sample/Makefile.in $makefiles"
52854 elif test ${subdir} = "utils"; then
52856 for util in ifacecheck ; do
52857 if test -d $srcdir/utils/$util ; then
52858 makefiles="utils/$util/src/Makefile.in \
52863 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52867 for mkin in $makefiles ; do
52868 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52869 ac_config_files="$ac_config_files $mk"
52875 cat >confcache <<\_ACEOF
52876 # This file is a shell script that caches the results of configure
52877 # tests run on this system so they can be shared between configure
52878 # scripts and configure runs, see configure's option --config-cache.
52879 # It is not useful on other systems. If it contains results you don't
52880 # want to keep, you may remove or edit it.
52882 # config.status only pays attention to the cache file if you give it
52883 # the --recheck option to rerun configure.
52885 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52886 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52887 # following values.
52891 # The following way of writing the cache mishandles newlines in values,
52892 # but we know of no workaround that is simple, portable, and efficient.
52893 # So, we kill variables containing newlines.
52894 # Ultrix sh set writes to stderr and can't be redirected directly,
52895 # and sets the high bit in the cache file unless we assign to the vars.
52897 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52898 eval ac_val=\$$ac_var
52902 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52903 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52906 _ | IFS | as_nl) ;; #(
52907 *) $as_unset $ac_var ;;
52913 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52914 *${as_nl}ac_space=\ *)
52915 # `set' does not quote correctly, so add quotes (double-quote
52916 # substitution turns \\\\ into \\, and sed turns \\ into \).
52919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52922 # `set' quotes correctly as required by POSIX, so do not add quotes.
52923 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52932 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52934 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52936 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52937 if test -w "$cache_file"; then
52938 test "x$cache_file" != "x/dev/null" &&
52939 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52940 echo "$as_me: updating cache $cache_file" >&6;}
52941 cat confcache >$cache_file
52943 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52944 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52949 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52950 # Let make expand exec_prefix.
52951 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52953 DEFS=-DHAVE_CONFIG_H
52957 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52958 # 1. Remove the extension, and $U if already installed.
52959 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52960 ac_i=`echo "$ac_i" | sed "$ac_script"`
52961 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52962 # will be set to the directory where LIBOBJS objects are built.
52963 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52964 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52966 LIBOBJS=$ac_libobjs
52968 LTLIBOBJS=$ac_ltlibobjs
52972 : ${CONFIG_STATUS=./config.status}
52973 ac_clean_files_save=$ac_clean_files
52974 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52975 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52976 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52977 cat >$CONFIG_STATUS <<_ACEOF
52979 # Generated by $as_me.
52980 # Run this file to recreate the current configuration.
52981 # Compiler output produced by configure, useful for debugging
52982 # configure, is in config.log if it exists.
52985 ac_cs_recheck=false
52987 SHELL=\${CONFIG_SHELL-$SHELL}
52990 cat >>$CONFIG_STATUS <<\_ACEOF
52991 ## --------------------- ##
52992 ## M4sh Initialization. ##
52993 ## --------------------- ##
52995 # Be more Bourne compatible
52996 DUALCASE=1; export DUALCASE # for MKS sh
52997 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53000 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53001 # is contrary to our usage. Disable this feature.
53002 alias -g '${1+"$@"}'='"$@"'
53003 setopt NO_GLOB_SUBST
53005 case `(set -o) 2>/dev/null` in
53006 *posix*) set -o posix ;;
53015 # Avoid depending upon Character Ranges.
53016 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53017 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53018 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53019 as_cr_digits='0123456789'
53020 as_cr_alnum=$as_cr_Letters$as_cr_digits
53022 # The user is always right.
53023 if test "${PATH_SEPARATOR+set}" != set; then
53024 echo "#! /bin/sh" >conf$$.sh
53025 echo "exit 0" >>conf$$.sh
53027 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53035 # Support unset when possible.
53036 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53044 # We need space, tab and new line, in precisely that order. Quoting is
53045 # there to prevent editors from complaining about space-tab.
53046 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53047 # splitting by setting IFS to empty value.)
53052 # Find who we are. Look in the path if we contain no directory separator.
53054 *[\\/]* ) as_myself=$0 ;;
53055 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53056 for as_dir in $PATH
53059 test -z "$as_dir" && as_dir=.
53060 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53066 # We did not find ourselves, most probably we were run as `sh COMMAND'
53067 # in which case we are not to be found in the path.
53068 if test "x$as_myself" = x; then
53071 if test ! -f "$as_myself"; then
53072 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53073 { (exit 1); exit 1; }
53076 # Work around bugs in pre-3.0 UWIN ksh.
53077 for as_var in ENV MAIL MAILPATH
53078 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53086 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53087 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53088 LC_TELEPHONE LC_TIME
53090 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53091 eval $as_var=C; export $as_var
53093 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53097 # Required to use basename.
53098 if expr a : '\(a\)' >/dev/null 2>&1 &&
53099 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53105 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53106 as_basename=basename
53112 # Name of the executable.
53113 as_me=`$as_basename -- "$0" ||
53114 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53115 X"$0" : 'X\(//\)$' \| \
53116 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53118 sed '/^.*\/\([^/][^/]*\)\/*$/{
53137 as_lineno_1=$LINENO
53138 as_lineno_2=$LINENO
53139 test "x$as_lineno_1" != "x$as_lineno_2" &&
53140 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53142 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53143 # uniformly replaced by the line number. The first 'sed' inserts a
53144 # line-number line after each line using $LINENO; the second 'sed'
53145 # does the real work. The second script uses 'N' to pair each
53146 # line-number line with the line containing $LINENO, and appends
53147 # trailing '-' during substitution so that $LINENO is not a special
53148 # case at line end.
53149 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53150 # scripts with optimization help from Paolo Bonzini. Blame Lee
53151 # E. McMahon (1931-1989) for sed's syntax. :-)
53163 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53166 ' >$as_me.lineno &&
53167 chmod +x "$as_me.lineno" ||
53168 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53169 { (exit 1); exit 1; }; }
53171 # Don't try to exec as it changes $[0], causing all sort of problems
53172 # (the dirname of $[0] is not the place where we might find the
53173 # original and so on. Autoconf is especially sensitive to this).
53174 . "./$as_me.lineno"
53175 # Exit status is that of the last command.
53180 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53186 ECHO_C= ECHO_N= ECHO_T=
53187 case `echo -n x` in
53189 case `echo 'x\c'` in
53190 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53197 if expr a : '\(a\)' >/dev/null 2>&1 &&
53198 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53204 rm -f conf$$ conf$$.exe conf$$.file
53205 if test -d conf$$.dir; then
53206 rm -f conf$$.dir/conf$$.file
53212 if ln -s conf$$.file conf$$ 2>/dev/null; then
53214 # ... but there are two gotchas:
53215 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53216 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53217 # In both cases, we have to default to `cp -p'.
53218 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53220 elif ln conf$$.file conf$$ 2>/dev/null; then
53225 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53226 rmdir conf$$.dir 2>/dev/null
53228 if mkdir -p . 2>/dev/null; then
53231 test -d ./-p && rmdir ./-p
53235 if test -x / >/dev/null 2>&1; then
53236 as_test_x='test -x'
53238 if ls -dL / >/dev/null 2>&1; then
53245 if test -d "$1"; then
53251 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53252 ???[sx]*):;;*)false;;esac;fi
53256 as_executable_p=$as_test_x
53258 # Sed expression to map a string onto a valid CPP name.
53259 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53261 # Sed expression to map a string onto a valid variable name.
53262 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53267 # Save the log message, to keep $[0] and so on meaningful, and to
53268 # report actual input values of CONFIG_FILES etc. instead of their
53269 # values after options handling.
53271 This file was extended by wxWidgets $as_me 2.9.2, which was
53272 generated by GNU Autoconf 2.61. Invocation command line was
53274 CONFIG_FILES = $CONFIG_FILES
53275 CONFIG_HEADERS = $CONFIG_HEADERS
53276 CONFIG_LINKS = $CONFIG_LINKS
53277 CONFIG_COMMANDS = $CONFIG_COMMANDS
53280 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53285 cat >>$CONFIG_STATUS <<_ACEOF
53286 # Files that config.status was made for.
53287 config_files="$ac_config_files"
53288 config_headers="$ac_config_headers"
53289 config_commands="$ac_config_commands"
53293 cat >>$CONFIG_STATUS <<\_ACEOF
53295 \`$as_me' instantiates files from templates according to the
53296 current configuration.
53298 Usage: $0 [OPTIONS] [FILE]...
53300 -h, --help print this help, then exit
53301 -V, --version print version number and configuration settings, then exit
53302 -q, --quiet do not print progress messages
53303 -d, --debug don't remove temporary files
53304 --recheck update $as_me by reconfiguring in the same conditions
53305 --file=FILE[:TEMPLATE]
53306 instantiate the configuration file FILE
53307 --header=FILE[:TEMPLATE]
53308 instantiate the configuration header FILE
53310 Configuration files:
53313 Configuration headers:
53316 Configuration commands:
53319 Report bugs to <bug-autoconf@gnu.org>."
53322 cat >>$CONFIG_STATUS <<_ACEOF
53324 wxWidgets config.status 2.9.2
53325 configured by $0, generated by GNU Autoconf 2.61,
53326 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53328 Copyright (C) 2006 Free Software Foundation, Inc.
53329 This config.status script is free software; the Free Software Foundation
53330 gives unlimited permission to copy, distribute and modify it."
53337 cat >>$CONFIG_STATUS <<\_ACEOF
53338 # If no file are specified by the user, then we need to provide default
53339 # value. By we need to know if files were specified by the user.
53345 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53346 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53357 # Handling of the options.
53358 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53360 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53361 echo "$ac_cs_version"; exit ;;
53362 --debug | --debu | --deb | --de | --d | -d )
53364 --file | --fil | --fi | --f )
53366 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53367 ac_need_defaults=false;;
53368 --header | --heade | --head | --hea )
53370 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53371 ac_need_defaults=false;;
53373 # Conflict between --help and --header
53374 { echo "$as_me: error: ambiguous option: $1
53375 Try \`$0 --help' for more information." >&2
53376 { (exit 1); exit 1; }; };;
53377 --help | --hel | -h )
53378 echo "$ac_cs_usage"; exit ;;
53379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53380 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53383 # This is an error.
53384 -*) { echo "$as_me: error: unrecognized option: $1
53385 Try \`$0 --help' for more information." >&2
53386 { (exit 1); exit 1; }; } ;;
53388 *) ac_config_targets="$ac_config_targets $1"
53389 ac_need_defaults=false ;;
53395 ac_configure_extra_args=
53397 if $ac_cs_silent; then
53399 ac_configure_extra_args="$ac_configure_extra_args --silent"
53403 cat >>$CONFIG_STATUS <<_ACEOF
53404 if \$ac_cs_recheck; then
53405 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53406 CONFIG_SHELL=$SHELL
53407 export CONFIG_SHELL
53408 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53412 cat >>$CONFIG_STATUS <<\_ACEOF
53416 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53417 ## Running $as_me. ##
53423 cat >>$CONFIG_STATUS <<_ACEOF
53429 infile="$srcdir/include/wx/msw/genrcdefs.h"
53430 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53433 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53434 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53435 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53441 cat >>$CONFIG_STATUS <<\_ACEOF
53443 # Handling of arguments.
53444 for ac_config_target in $ac_config_targets
53446 case $ac_config_target in
53447 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53448 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53449 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53450 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53451 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53452 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53453 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53454 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53455 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53457 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53458 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53459 { (exit 1); exit 1; }; };;
53464 # If the user did not use the arguments to specify the items to instantiate,
53465 # then the envvar interface is used. Set only those that are not.
53466 # We use the long form for the default assignment because of an extremely
53467 # bizarre bug on SunOS 4.1.3.
53468 if $ac_need_defaults; then
53469 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53470 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53471 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53474 # Have a temporary directory for convenience. Make it in the build tree
53475 # simply because there is no reason against having it here, and in addition,
53476 # creating and moving files from /tmp can sometimes cause problems.
53477 # Hook for its removal unless debugging.
53478 # Note that there is a small window in which the directory will not be cleaned:
53479 # after its creation but before its name has been assigned to `$tmp'.
53483 trap 'exit_status=$?
53484 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53486 trap '{ (exit 1); exit 1; }' 1 2 13 15
53488 # Create a (secure) tmp directory for tmp files.
53491 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53492 test -n "$tmp" && test -d "$tmp"
53495 tmp=./conf$$-$RANDOM
53496 (umask 077 && mkdir "$tmp")
53499 echo "$me: cannot create a temporary directory in ." >&2
53500 { (exit 1); exit 1; }
53504 # Set up the sed scripts for CONFIG_FILES section.
53507 # No need to generate the scripts if there are no CONFIG_FILES.
53508 # This happens for instance when ./config.status config.h
53509 if test -n "$CONFIG_FILES"; then
53516 for ac_last_try in false false false false false :; do
53517 cat >conf$$subs.sed <<_ACEOF
53518 SHELL!$SHELL$ac_delim
53519 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53520 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53521 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53522 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53523 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53524 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53525 exec_prefix!$exec_prefix$ac_delim
53526 prefix!$prefix$ac_delim
53527 program_transform_name!$program_transform_name$ac_delim
53528 bindir!$bindir$ac_delim
53529 sbindir!$sbindir$ac_delim
53530 libexecdir!$libexecdir$ac_delim
53531 datarootdir!$datarootdir$ac_delim
53532 datadir!$datadir$ac_delim
53533 sysconfdir!$sysconfdir$ac_delim
53534 sharedstatedir!$sharedstatedir$ac_delim
53535 localstatedir!$localstatedir$ac_delim
53536 includedir!$includedir$ac_delim
53537 oldincludedir!$oldincludedir$ac_delim
53538 docdir!$docdir$ac_delim
53539 infodir!$infodir$ac_delim
53540 htmldir!$htmldir$ac_delim
53541 dvidir!$dvidir$ac_delim
53542 pdfdir!$pdfdir$ac_delim
53543 psdir!$psdir$ac_delim
53544 libdir!$libdir$ac_delim
53545 localedir!$localedir$ac_delim
53546 mandir!$mandir$ac_delim
53547 DEFS!$DEFS$ac_delim
53548 ECHO_C!$ECHO_C$ac_delim
53549 ECHO_N!$ECHO_N$ac_delim
53550 ECHO_T!$ECHO_T$ac_delim
53551 LIBS!$LIBS$ac_delim
53552 build_alias!$build_alias$ac_delim
53553 host_alias!$host_alias$ac_delim
53554 target_alias!$target_alias$ac_delim
53555 build!$build$ac_delim
53556 build_cpu!$build_cpu$ac_delim
53557 build_vendor!$build_vendor$ac_delim
53558 build_os!$build_os$ac_delim
53559 host!$host$ac_delim
53560 host_cpu!$host_cpu$ac_delim
53561 host_vendor!$host_vendor$ac_delim
53562 host_os!$host_os$ac_delim
53563 wx_top_builddir!$wx_top_builddir$ac_delim
53565 CFLAGS!$CFLAGS$ac_delim
53566 LDFLAGS!$LDFLAGS$ac_delim
53567 CPPFLAGS!$CPPFLAGS$ac_delim
53568 ac_ct_CC!$ac_ct_CC$ac_delim
53569 EXEEXT!$EXEEXT$ac_delim
53570 OBJEXT!$OBJEXT$ac_delim
53572 GREP!$GREP$ac_delim
53573 EGREP!$EGREP$ac_delim
53575 CXXFLAGS!$CXXFLAGS$ac_delim
53576 ac_ct_CXX!$ac_ct_CXX$ac_delim
53578 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53579 CXXCPP!$CXXCPP$ac_delim
53580 subdirs!$subdirs$ac_delim
53581 PKG_CONFIG!$PKG_CONFIG$ac_delim
53582 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53583 GTK_LIBS!$GTK_LIBS$ac_delim
53584 GTK_CONFIG!$GTK_CONFIG$ac_delim
53585 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53586 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53587 XMKMF!$XMKMF$ac_delim
53588 X_CFLAGS!$X_CFLAGS$ac_delim
53589 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53590 X_LIBS!$X_LIBS$ac_delim
53591 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53592 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53593 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53594 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53595 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53596 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53597 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53598 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53599 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53600 LIBICONV!$LIBICONV$ac_delim
53601 GXX_VERSION!$GXX_VERSION$ac_delim
53602 SDL_CONFIG!$SDL_CONFIG$ac_delim
53603 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53604 SDL_LIBS!$SDL_LIBS$ac_delim
53605 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53606 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53607 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53608 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53609 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53610 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53611 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53612 HILDON_LIBS!$HILDON_LIBS$ac_delim
53613 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53614 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53617 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53619 elif $ac_last_try; then
53620 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53621 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53622 { (exit 1); exit 1; }; }
53624 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53628 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53629 if test -n "$ac_eof"; then
53630 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53631 ac_eof=`expr $ac_eof + 1`
53634 cat >>$CONFIG_STATUS <<_ACEOF
53635 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53636 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53639 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53640 s/^/s,@/; s/!/@,|#_!!_#|/
53643 s/'"$ac_delim"'$/,g/; t
53645 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53646 ' >>$CONFIG_STATUS <conf$$subs.sed
53647 rm -f conf$$subs.sed
53648 cat >>$CONFIG_STATUS <<_ACEOF
53654 for ac_last_try in false false false false false :; do
53655 cat >conf$$subs.sed <<_ACEOF
53656 PYTHON!$PYTHON$ac_delim
53657 COND_PYTHON!$COND_PYTHON$ac_delim
53658 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53659 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53660 GST_CFLAGS!$GST_CFLAGS$ac_delim
53661 GST_LIBS!$GST_LIBS$ac_delim
53662 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53663 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53664 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53665 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53666 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53667 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53668 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53669 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53670 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53671 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53672 VENDOR!$VENDOR$ac_delim
53673 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53674 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53675 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53676 WXUNIV!$WXUNIV$ac_delim
53677 MONOLITHIC!$MONOLITHIC$ac_delim
53678 USE_PLUGINS!$USE_PLUGINS$ac_delim
53679 CXXWARNINGS!$CXXWARNINGS$ac_delim
53680 EXTRALIBS!$EXTRALIBS$ac_delim
53681 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53682 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53683 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53684 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53685 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53686 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53687 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53688 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53689 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53690 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53691 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53692 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53693 UNICODE!$UNICODE$ac_delim
53694 DEBUG_INFO!$DEBUG_INFO$ac_delim
53695 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53696 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53697 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53698 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53699 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53700 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53701 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53702 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53703 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53704 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53705 RANLIB!$RANLIB$ac_delim
53706 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53707 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53708 INSTALL_DATA!$INSTALL_DATA$ac_delim
53709 LN_S!$LN_S$ac_delim
53710 SET_MAKE!$SET_MAKE$ac_delim
53711 MAKE_SET!$MAKE_SET$ac_delim
53712 AROPTIONS!$AROPTIONS$ac_delim
53713 STRIP!$STRIP$ac_delim
53715 INSTALL_DIR!$INSTALL_DIR$ac_delim
53716 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53717 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53718 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53719 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53720 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53721 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53722 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53723 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53724 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53725 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53726 SO_SUFFIX!$SO_SUFFIX$ac_delim
53727 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53728 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53729 LIBPREFIX!$LIBPREFIX$ac_delim
53730 LIBEXT!$LIBEXT$ac_delim
53731 DLLPREFIX!$DLLPREFIX$ac_delim
53732 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53733 dlldir!$dlldir$ac_delim
53734 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53735 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53736 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53737 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53738 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53739 PIC_FLAG!$PIC_FLAG$ac_delim
53740 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53741 USE_SOVERSION!$USE_SOVERSION$ac_delim
53742 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53743 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53744 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53745 USE_MACVERSION!$USE_MACVERSION$ac_delim
53746 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53747 SONAME_FLAG!$SONAME_FLAG$ac_delim
53748 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53749 BK_DEPS!$BK_DEPS$ac_delim
53750 WINDRES!$WINDRES$ac_delim
53752 SETFILE!$SETFILE$ac_delim
53755 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53757 elif $ac_last_try; then
53758 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53759 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53760 { (exit 1); exit 1; }; }
53762 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53766 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53767 if test -n "$ac_eof"; then
53768 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53769 ac_eof=`expr $ac_eof + 1`
53772 cat >>$CONFIG_STATUS <<_ACEOF
53773 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53774 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53777 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53778 s/^/s,@/; s/!/@,|#_!!_#|/
53781 s/'"$ac_delim"'$/,g/; t
53783 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53784 ' >>$CONFIG_STATUS <conf$$subs.sed
53785 rm -f conf$$subs.sed
53786 cat >>$CONFIG_STATUS <<_ACEOF
53792 for ac_last_try in false false false false false :; do
53793 cat >conf$$subs.sed <<_ACEOF
53794 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53795 GCC_PCH!$GCC_PCH$ac_delim
53796 ICC_PCH!$ICC_PCH$ac_delim
53797 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53798 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53799 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53800 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53801 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53802 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53803 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53804 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53805 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53806 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53807 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53808 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53809 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53810 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53811 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53812 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53813 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53814 COND_BUILD_release!$COND_BUILD_release$ac_delim
53815 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53816 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53817 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53818 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53819 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53820 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53821 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53822 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53823 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53824 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53825 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53826 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53827 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53833 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53834 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53838 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53844 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53845 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53846 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53847 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53848 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53849 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53850 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53851 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53852 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53853 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53854 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53855 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53856 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53857 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53858 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53859 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53860 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53861 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53862 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53863 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53864 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53865 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53866 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53867 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53868 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53869 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53870 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53871 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
53872 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53873 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
53874 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53875 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
53876 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53877 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53878 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53879 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53880 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53881 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53882 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53883 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53884 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53885 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53886 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53887 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53888 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53889 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53890 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53893 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53895 elif $ac_last_try; then
53896 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53897 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53898 { (exit 1); exit 1; }; }
53900 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53904 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53905 if test -n "$ac_eof"; then
53906 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53907 ac_eof=`expr $ac_eof + 1`
53910 cat >>$CONFIG_STATUS <<_ACEOF
53911 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53912 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53915 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53916 s/^/s,@/; s/!/@,|#_!!_#|/
53919 s/'"$ac_delim"'$/,g/; t
53921 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53922 ' >>$CONFIG_STATUS <conf$$subs.sed
53923 rm -f conf$$subs.sed
53924 cat >>$CONFIG_STATUS <<_ACEOF
53930 for ac_last_try in false false false false false :; do
53931 cat >conf$$subs.sed <<_ACEOF
53932 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53933 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53934 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53935 COND_SHARED_0!$COND_SHARED_0$ac_delim
53936 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53937 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53938 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53939 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53940 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53941 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53942 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53943 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53944 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53945 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53946 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53947 COND_SHARED_1!$COND_SHARED_1$ac_delim
53948 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53949 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53950 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53951 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53952 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53953 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53954 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53955 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53956 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53957 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53958 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53959 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53960 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53961 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53962 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53963 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53964 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53965 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53966 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53967 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53968 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53969 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53970 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53971 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53972 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53973 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53974 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53975 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53976 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53977 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53978 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53979 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53980 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53981 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53982 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53983 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53984 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53985 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53986 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53987 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53988 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53989 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53990 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53991 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53992 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53993 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53994 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53995 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53996 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53997 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53998 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53999 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54000 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54001 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54002 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54003 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54004 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54005 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54006 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54007 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54008 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54009 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54010 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54011 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54012 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54013 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54014 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54015 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54016 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54017 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54018 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54019 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54020 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54021 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54022 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54023 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54024 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54025 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54026 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54027 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54028 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54031 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54033 elif $ac_last_try; then
54034 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54035 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54036 { (exit 1); exit 1; }; }
54038 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54042 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54043 if test -n "$ac_eof"; then
54044 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54045 ac_eof=`expr $ac_eof + 1`
54048 cat >>$CONFIG_STATUS <<_ACEOF
54049 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54050 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54053 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54054 s/^/s,@/; s/!/@,|#_!!_#|/
54057 s/'"$ac_delim"'$/,g/; t
54059 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54060 ' >>$CONFIG_STATUS <conf$$subs.sed
54061 rm -f conf$$subs.sed
54062 cat >>$CONFIG_STATUS <<_ACEOF
54068 for ac_last_try in false false false false false :; do
54069 cat >conf$$subs.sed <<_ACEOF
54070 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54071 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54072 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54073 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54074 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54075 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54076 DEREZ!$DEREZ$ac_delim
54077 SHARED!$SHARED$ac_delim
54078 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54079 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54080 USE_GUI!$USE_GUI$ac_delim
54081 AFMINSTALL!$AFMINSTALL$ac_delim
54082 WIN32INSTALL!$WIN32INSTALL$ac_delim
54083 TOOLKIT!$TOOLKIT$ac_delim
54084 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54085 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54086 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54087 cross_compiling!$cross_compiling$ac_delim
54088 WIDGET_SET!$WIDGET_SET$ac_delim
54089 WX_RELEASE!$WX_RELEASE$ac_delim
54090 WX_VERSION!$WX_VERSION$ac_delim
54091 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54092 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54093 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54094 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54095 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54096 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54097 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54098 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54099 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54100 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54101 GUIDIST!$GUIDIST$ac_delim
54102 DISTDIR!$DISTDIR$ac_delim
54103 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54104 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54105 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54106 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54107 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54108 RESCOMP!$RESCOMP$ac_delim
54109 RESFLAGS!$RESFLAGS$ac_delim
54110 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54111 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54112 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54113 LIBWXMACRES!$LIBWXMACRES$ac_delim
54114 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54115 MACSETFILE!$MACSETFILE$ac_delim
54117 DLLTOOL!$DLLTOOL$ac_delim
54118 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54119 LIBOBJS!$LIBOBJS$ac_delim
54120 LTLIBOBJS!$LTLIBOBJS$ac_delim
54123 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54125 elif $ac_last_try; then
54126 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54127 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54128 { (exit 1); exit 1; }; }
54130 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54134 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54135 if test -n "$ac_eof"; then
54136 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54137 ac_eof=`expr $ac_eof + 1`
54140 cat >>$CONFIG_STATUS <<_ACEOF
54141 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54142 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54145 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54146 s/^/s,@/; s/!/@,|#_!!_#|/
54149 s/'"$ac_delim"'$/,g/; t
54151 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54152 ' >>$CONFIG_STATUS <conf$$subs.sed
54153 rm -f conf$$subs.sed
54154 cat >>$CONFIG_STATUS <<_ACEOF
54161 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54162 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54163 # trailing colons and then remove the whole line if VPATH becomes empty
54164 # (actually we leave an empty line to preserve line numbers).
54165 if test "x$srcdir" = x.; then
54166 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54167 s/:*\$(srcdir):*/:/
54168 s/:*\${srcdir}:*/:/
54170 s/^\([^=]*=[ ]*\):*/\1/
54176 cat >>$CONFIG_STATUS <<\_ACEOF
54177 fi # test -n "$CONFIG_FILES"
54180 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54183 :[FHLC]) ac_mode=$ac_tag; continue;;
54185 case $ac_mode$ac_tag in
54187 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54188 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54189 { (exit 1); exit 1; }; };;
54190 :[FH]-) ac_tag=-:-;;
54191 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54208 -) ac_f="$tmp/stdin";;
54209 *) # Look for the file first in the build tree, then in the source tree
54210 # (if the path is not absolute). The absolute path cannot be DOS-style,
54211 # because $ac_f cannot contain `:'.
54215 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54217 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54218 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54219 { (exit 1); exit 1; }; };;
54221 ac_file_inputs="$ac_file_inputs $ac_f"
54224 # Let's still pretend it is `configure' which instantiates (i.e., don't
54225 # use $as_me), people would be surprised to read:
54226 # /* config.h. Generated by config.status. */
54227 configure_input="Generated from "`IFS=:
54228 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54229 if test x"$ac_file" != x-; then
54230 configure_input="$ac_file. $configure_input"
54231 { echo "$as_me:$LINENO: creating $ac_file" >&5
54232 echo "$as_me: creating $ac_file" >&6;}
54236 *:-:* | *:-) cat >"$tmp/stdin";;
54241 ac_dir=`$as_dirname -- "$ac_file" ||
54242 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54243 X"$ac_file" : 'X\(//\)[^/]' \| \
54244 X"$ac_file" : 'X\(//\)$' \| \
54245 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54251 /^X\(\/\/\)[^/].*/{
54266 -*) as_dir=./$as_dir;;
54268 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54272 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54273 *) as_qdir=$as_dir;;
54275 as_dirs="'$as_qdir' $as_dirs"
54276 as_dir=`$as_dirname -- "$as_dir" ||
54277 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54278 X"$as_dir" : 'X\(//\)[^/]' \| \
54279 X"$as_dir" : 'X\(//\)$' \| \
54280 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54286 /^X\(\/\/\)[^/].*/{
54299 test -d "$as_dir" && break
54301 test -z "$as_dirs" || eval "mkdir $as_dirs"
54302 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54303 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54304 { (exit 1); exit 1; }; }; }
54308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54310 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54311 # A ".." for each directory in $ac_dir_suffix.
54312 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54313 case $ac_top_builddir_sub in
54314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54318 ac_abs_top_builddir=$ac_pwd
54319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54320 # for backward compatibility:
54321 ac_top_builddir=$ac_top_build_prefix
54324 .) # We are building in place.
54326 ac_top_srcdir=$ac_top_builddir_sub
54327 ac_abs_top_srcdir=$ac_pwd ;;
54328 [\\/]* | ?:[\\/]* ) # Absolute name.
54329 ac_srcdir=$srcdir$ac_dir_suffix;
54330 ac_top_srcdir=$srcdir
54331 ac_abs_top_srcdir=$srcdir ;;
54332 *) # Relative name.
54333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54334 ac_top_srcdir=$ac_top_build_prefix$srcdir
54335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54347 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54348 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54352 cat >>$CONFIG_STATUS <<\_ACEOF
54353 # If the template does not know about datarootdir, expand it.
54354 # FIXME: This hack should be removed a few years after 2.60.
54355 ac_datarootdir_hack=; ac_datarootdir_seen=
54357 case `sed -n '/datarootdir/ {
54366 ' $ac_file_inputs` in
54367 *datarootdir*) ac_datarootdir_seen=yes;;
54368 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54369 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54370 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54372 cat >>$CONFIG_STATUS <<_ACEOF
54373 ac_datarootdir_hack='
54374 s&@datadir@&$datadir&g
54375 s&@docdir@&$docdir&g
54376 s&@infodir@&$infodir&g
54377 s&@localedir@&$localedir&g
54378 s&@mandir@&$mandir&g
54379 s&\\\${datarootdir}&$datarootdir&g' ;;
54383 # Neutralize VPATH when `$srcdir' = `.'.
54384 # Shell code in configure.ac might set extrasub.
54385 # FIXME: do we really want to maintain this feature?
54386 cat >>$CONFIG_STATUS <<_ACEOF
54390 cat >>$CONFIG_STATUS <<\_ACEOF
54392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54393 s&@configure_input@&$configure_input&;t t
54394 s&@top_builddir@&$ac_top_builddir_sub&;t t
54395 s&@srcdir@&$ac_srcdir&;t t
54396 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54397 s&@top_srcdir@&$ac_top_srcdir&;t t
54398 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54399 s&@builddir@&$ac_builddir&;t t
54400 s&@abs_builddir@&$ac_abs_builddir&;t t
54401 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54402 s&@INSTALL@&$ac_INSTALL&;t t
54403 $ac_datarootdir_hack
54404 " $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
54406 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54407 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54408 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54409 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54410 which seems to be undefined. Please make sure it is defined." >&5
54411 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54412 which seems to be undefined. Please make sure it is defined." >&2;}
54416 -) cat "$tmp/out"; rm -f "$tmp/out";;
54417 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54426 # Transform confdefs.h into a sed script `conftest.defines', that
54427 # substitutes the proper values into config.h.in to produce config.h.
54428 rm -f conftest.defines conftest.tail
54429 # First, append a space to every undef/define line, to ease matching.
54430 echo 's/$/ /' >conftest.defines
54431 # Then, protect against being on the right side of a sed subst, or in
54432 # an unquoted here document, in config.status. If some macros were
54433 # called several times there might be several #defines for the same
54434 # symbol, which is useless. But do not sort them, since the last
54435 # AC_DEFINE must be honored.
54436 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54437 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54438 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54439 # PARAMS is the parameter list in the macro definition--in most cases, it's
54440 # just an empty string.
54441 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54442 ac_dB='\\)[ (].*,\\1define\\2'
54450 s/^[ ]*#[ ]*define[ ][ ]*//
54455 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54456 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54457 ' >>conftest.defines
54459 # Remove the space that was appended to ease matching.
54460 # Then replace #undef with comments. This is necessary, for
54461 # example, in the case of _POSIX_SOURCE, which is predefined and required
54462 # on some systems where configure will not decide to define it.
54463 # (The regexp can be short, since the line contains either #define or #undef.)
54465 s,^[ #]*u.*,/* & */,' >>conftest.defines
54467 # Break up conftest.defines:
54468 ac_max_sed_lines=50
54470 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54471 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54472 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54474 ac_in='$ac_file_inputs'
54475 ac_out='"$tmp/out1"'
54476 ac_nxt='"$tmp/out2"'
54480 # Write a here document:
54481 cat >>$CONFIG_STATUS <<_ACEOF
54482 # First, check the format of the line:
54483 cat >"\$tmp/defines.sed" <<\\CEOF
54484 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54485 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54489 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54491 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54492 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54493 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54494 grep . conftest.tail >/dev/null || break
54495 rm -f conftest.defines
54496 mv conftest.tail conftest.defines
54498 rm -f conftest.defines conftest.tail
54500 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54501 cat >>$CONFIG_STATUS <<\_ACEOF
54502 if test x"$ac_file" != x-; then
54503 echo "/* $configure_input */" >"$tmp/config.h"
54504 cat "$ac_result" >>"$tmp/config.h"
54505 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54506 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54507 echo "$as_me: $ac_file is unchanged" >&6;}
54510 mv "$tmp/config.h" $ac_file
54513 echo "/* $configure_input */"
54519 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54520 echo "$as_me: executing $ac_file commands" >&6;}
54525 case $ac_file$ac_mode in
54527 mkdir -p $outdir &&
54528 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54530 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54531 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54532 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54533 "wx-config":C) rm -f wx-config
54534 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54541 { (exit 0); exit 0; }
54543 chmod +x $CONFIG_STATUS
54544 ac_clean_files=$ac_clean_files_save
54547 # configure is writing to config.log, and then calls config.status.
54548 # config.status does its own redirection, appending to config.log.
54549 # Unfortunately, on DOS this fails, as config.log is still kept open
54550 # by configure, so config.status won't be able to write to it; its
54551 # output is simply discarded. So we exec the FD to /dev/null,
54552 # effectively closing config.log, so it can be properly (re)opened and
54553 # appended to by config.status. When coming back to configure, we
54554 # need to make the FD available again.
54555 if test "$no_create" != yes; then
54557 ac_config_status_args=
54558 test "$silent" = yes &&
54559 ac_config_status_args="$ac_config_status_args --quiet"
54561 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54563 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54564 # would make configure fail if this is the last instruction.
54565 $ac_cs_success || { (exit 1); exit 1; }
54569 # CONFIG_SUBDIRS section.
54571 if test "$no_recursion" != yes; then
54573 # Remove --cache-file and --srcdir arguments so they do not pile up.
54574 ac_sub_configure_args=
54576 eval "set x $ac_configure_args"
54580 if test -n "$ac_prev"; then
54585 -cache-file | --cache-file | --cache-fil | --cache-fi \
54586 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54587 ac_prev=cache_file ;;
54588 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54589 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54592 --config-cache | -C)
54594 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54596 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54598 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54600 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54604 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54606 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54610 # Always prepend --prefix to ensure using the same prefix
54611 # in subdir configurations.
54612 ac_arg="--prefix=$prefix"
54614 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54616 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54619 if test "$silent" = yes; then
54620 ac_sub_configure_args="--silent $ac_sub_configure_args"
54624 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54626 # Do not complain, so a configure script can configure whichever
54627 # parts of a large source tree are present.
54628 test -d "$srcdir/$ac_dir" || continue
54630 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54631 echo "$as_me:$LINENO: $ac_msg" >&5
54635 -*) as_dir=./$as_dir;;
54637 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54641 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54642 *) as_qdir=$as_dir;;
54644 as_dirs="'$as_qdir' $as_dirs"
54645 as_dir=`$as_dirname -- "$as_dir" ||
54646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54647 X"$as_dir" : 'X\(//\)[^/]' \| \
54648 X"$as_dir" : 'X\(//\)$' \| \
54649 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54655 /^X\(\/\/\)[^/].*/{
54668 test -d "$as_dir" && break
54670 test -z "$as_dirs" || eval "mkdir $as_dirs"
54671 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54672 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54673 { (exit 1); exit 1; }; }; }
54677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54679 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54680 # A ".." for each directory in $ac_dir_suffix.
54681 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54682 case $ac_top_builddir_sub in
54683 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54684 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54687 ac_abs_top_builddir=$ac_pwd
54688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54689 # for backward compatibility:
54690 ac_top_builddir=$ac_top_build_prefix
54693 .) # We are building in place.
54695 ac_top_srcdir=$ac_top_builddir_sub
54696 ac_abs_top_srcdir=$ac_pwd ;;
54697 [\\/]* | ?:[\\/]* ) # Absolute name.
54698 ac_srcdir=$srcdir$ac_dir_suffix;
54699 ac_top_srcdir=$srcdir
54700 ac_abs_top_srcdir=$srcdir ;;
54701 *) # Relative name.
54702 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54703 ac_top_srcdir=$ac_top_build_prefix$srcdir
54704 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54711 # Check for guested configure; otherwise get Cygnus style configure.
54712 if test -f "$ac_srcdir/configure.gnu"; then
54713 ac_sub_configure=$ac_srcdir/configure.gnu
54714 elif test -f "$ac_srcdir/configure"; then
54715 ac_sub_configure=$ac_srcdir/configure
54716 elif test -f "$ac_srcdir/configure.in"; then
54717 # This should be Cygnus configure.
54718 ac_sub_configure=$ac_aux_dir/configure
54720 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54721 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54725 # The recursion is here.
54726 if test -n "$ac_sub_configure"; then
54727 # Make the cache file name correct relative to the subdirectory.
54728 case $cache_file in
54729 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54730 *) # Relative name.
54731 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54734 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54735 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54736 # The eval makes quoting arguments work.
54737 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54738 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54739 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54740 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54741 { (exit 1); exit 1; }; }
54750 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54752 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54753 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54754 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54755 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54756 if test "$wxUSE_UNICODE" = "yes"; then
54757 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54758 echo " (using UTF-8)"
54760 echo " (using wchar_t)"
54766 echo " What level of wxWidgets compatibility should be enabled?"
54767 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54768 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54770 echo " Which libraries should wxWidgets use?"
54771 echo " STL ${wxUSE_STL}"
54772 echo " jpeg ${wxUSE_LIBJPEG-none}"
54773 echo " png ${wxUSE_LIBPNG-none}"
54774 echo " regex ${wxUSE_REGEX}"
54775 echo " tiff ${wxUSE_LIBTIFF-none}"
54776 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54777 echo " xpm ${wxUSE_LIBXPM-none}"
54779 echo " zlib ${wxUSE_ZLIB}"
54780 echo " expat ${wxUSE_EXPAT}"
54781 echo " libmspack ${wxUSE_LIBMSPACK}"
54782 echo " sdl ${wxUSE_LIBSDL}"