2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.2.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
708 LIBGNOMEPRINTUI_CFLAGS
816 ICC_PCH_CREATE_SWITCH
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_DFB_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
943 COND_TOOLKIT_MGL_USE_GUI_1
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
966 COND_TOOLKIT_X11_USE_GUI_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1036 WXCONFIG_LDFLAGS_GUI
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1059 ac_precious_vars='build_alias
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1096 ac_subdirs_all='src/tiff
1099 # Initialize some variables set by options.
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1111 program_transform_name=s,x,x,
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1163 case $ac_dashdash$ac_option in
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1187 -datadir | --datadir | --datadi | --datad)
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1208 -docdir | --docdir | --docdi | --doc | --do)
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1256 htmldir=$ac_optarg ;;
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1270 -libdir | --libdir | --libdi | --libd)
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1361 -psdir | --psdir | --psdi | --psd | --ps)
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1374 sbindir=$ac_optarg ;;
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1385 sharedstatedir=$ac_optarg ;;
1387 -site | --site | --sit)
1389 -site=* | --site=* | --sit=*)
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1434 # Obsolete; use --with-x.
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1488 eval ac_val=\$$ac_var
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1502 target=$target_alias
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1518 test "$silent" = yes && exec 6>/dev/null
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1563 ac_srcdir_defaulted=no
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1593 # Report the --help message.
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1606 Defaults for the options are specified in brackets.
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1630 For better control, use the options below.
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.2:";;
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros, even if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1711 --enable-macosx_arch=ARCH build for just the specified architecture
1712 --enable-compat26 enable wxWidgets 2.6 compatibility
1713 --disable-compat28 disable wxWidgets 2.8 compatibility
1714 --disable-rpath disable use of rpath for uninstalled builds
1715 --enable-objc_uniquifying enable Objective-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x-locale support (requires wxLocale)
1720 --enable-config use wxConfig (and derived) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP (requires wxProtocol
1723 --enable-http use wxHTTP (requires wxProtocol
1724 --enable-fileproto use wxFileProto class (requires wxProtocol
1725 --enable-sockets use socket/network classes
1726 --enable-ipv6 enable IPv6 support in wxSocket
1727 --enable-ole use OLE classes (Win32 only)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication (wxSocket etc.)
1730 --enable-baseevtloop use event loop in console programs too
1731 --enable-epollloop use wxEpollDispatcher class (Linux only)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding/decoding functions
1737 --enable-backtrace use wxStackWalker class for getting backtraces
1738 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class for DLL loading
1744 --enable-dynamicloader use (new) wxDynamicLibrary class
1745 --enable-exceptions build exception-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support in wxProtocol
1776 --enable-protocol-ftp FTP support in wxProtocol
1777 --enable-protocol-file FILE support in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig (Win32 only)
1780 --enable-regkey use wxRegKey class (Win32 only)
1781 --enable-docview use document view architecture
1782 --enable-help use help subsystem
1783 --enable-mshtmlhelp use MS HTML Help (win32)
1784 --enable-html use wxHTML sub-library
1785 --enable-htmlhelp use wxHTML-based help
1786 --enable-xrc use XRC resources sub-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl (Mac)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context 2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag'n'Drop classes
1807 --enable-metafile use win32 metafiles
1808 --disable-controls disable compilation of all standard controls
1809 --enable-markup support wxControl::SetLabelMarkup
1810 --enable-accel use accelerators
1811 --enable-animatectrl use wxAnimationCtrl class
1812 --enable-artstd use standard XPM icons in wxArtProvider
1813 --enable-arttango use Tango icons in wxArtProvider
1814 --enable-bmpbutton use wxBitmapButton class
1815 --enable-bmpcombobox use wxBitmapComboBox class
1816 --enable-button use wxButton class
1817 --enable-calendar use wxCalendarCtrl class
1818 --enable-caret use wxCaret class
1819 --enable-checkbox use wxCheckBox class
1820 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1821 --enable-choice use wxChoice class
1822 --enable-choicebook use wxChoicebook class
1823 --enable-collpane use wxCollapsiblePane class
1824 --enable-colourpicker use wxColourPickerCtrl class
1825 --enable-combobox use wxComboBox class
1826 --enable-comboctrl use wxComboCtrl class
1827 --enable-commandlinkbutton use wxCommmandLinkButton class
1828 --enable-dataviewctrl use wxDataViewCtrl class
1829 --enable-datepick use wxDatePickerCtrl class
1830 --enable-detect_sm use code to detect X11 session manager
1831 --enable-dirpicker use wxDirPickerCtrl class
1832 --enable-display use wxDisplay class
1833 --enable-editablebox use wxEditableListBox class
1834 --enable-filectrl use wxFileCtrl class
1835 --enable-filepicker use wxFilePickerCtrl class
1836 --enable-fontpicker use wxFontPickerCtrl class
1837 --enable-gauge use wxGauge class
1838 --enable-grid use wxGrid class
1839 --enable-headerctrl use wxHeaderCtrl class
1840 --enable-hyperlink use wxHyperlinkCtrl class
1841 --enable-imaglist use wxImageList class
1842 --enable-infobar use wxInfoBar class
1843 --enable-listbook use wxListbook class
1844 --enable-listbox use wxListBox class
1845 --enable-listctrl use wxListCtrl class
1846 --enable-notebook use wxNotebook class
1847 --enable-notifmsg use wxNotificationMessage class
1848 --enable-odcombobox use wxOwnerDrawnComboBox class
1849 --enable-popupwin use wxPopUpWindow class
1850 --enable-radiobox use wxRadioBox class
1851 --enable-radiobtn use wxRadioButton class
1852 --enable-richmsgdlg use wxRichMessageDialog class
1853 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1854 --enable-sash use wxSashWindow class
1855 --enable-scrollbar use wxScrollBar class and scrollable windows
1856 --enable-searchctrl use wxSearchCtrl class
1857 --enable-slider use wxSlider class
1858 --enable-spinbtn use wxSpinButton class
1859 --enable-spinctrl use wxSpinCtrl class
1860 --enable-splitter use wxSplitterWindow class
1861 --enable-statbmp use wxStaticBitmap class
1862 --enable-statbox use wxStaticBox class
1863 --enable-statline use wxStaticLine class
1864 --enable-stattext use wxStaticText class
1865 --enable-statusbar use wxStatusBar class
1866 --enable-taskbaricon use wxTaskBarIcon class
1867 --enable-tbarnative use native wxToolBar class
1868 --enable-textctrl use wxTextCtrl class
1869 --enable-tipwindow use wxTipWindow class
1870 --enable-togglebtn use wxToggleButton class
1871 --enable-toolbar use wxToolBar class
1872 --enable-toolbook use wxToolbook class
1873 --enable-treebook use wxTreebook class
1874 --enable-treectrl use wxTreeCtrl class
1875 --enable-commondlg use all common dialogs
1876 --enable-aboutdlg use wxAboutBox
1877 --enable-choicedlg use wxChoiceDialog
1878 --enable-coldlg use wxColourDialog
1879 --enable-filedlg use wxFileDialog
1880 --enable-finddlg use wxFindReplaceDialog
1881 --enable-fontdlg use wxFontDialog
1882 --enable-dirdlg use wxDirDialog
1883 --enable-msgdlg use wxMessageDialog
1884 --enable-numberdlg use wxNumberEntryDialog
1885 --enable-splash use wxSplashScreen
1886 --enable-textdlg use wxTextDialog
1887 --enable-tipdlg use startup tips
1888 --enable-progressdlg use wxProgressDialog
1889 --enable-wizarddlg use wxWizard
1890 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1891 --enable-miniframe use wxMiniFrame class
1892 --enable-tooltips use wxToolTip class
1893 --enable-splines use spline drawing code
1894 --enable-mousewheel use mousewheel
1895 --enable-validators use wxValidator and derived classes
1896 --enable-busyinfo use wxBusyInfo
1897 --enable-joystick use wxJoystick
1898 --enable-metafiles use wxMetaFile (Win32 only)
1899 --enable-dragimage use wxDragImage
1900 --enable-accessibility enable accessibility support
1901 --enable-uiactionsim use wxUIActionSimulator (experimental)
1902 --enable-dctransform use wxDC::SetTransformMatrix and related
1903 --enable-palette use wxPalette class
1904 --enable-image use wxImage class
1905 --enable-gif use gif images (GIF file format)
1906 --enable-pcx use pcx images (PCX file format)
1907 --enable-tga use tga images (TGA file format)
1908 --enable-iff use iff images (IFF file format)
1909 --enable-pnm use pnm images (PNM file format)
1910 --enable-xpm use xpm images (XPM file format)
1911 --enable-ico_cur use Windows ICO and CUR formats
1912 --enable-dccache cache temporary wxDC objects (Win32 only)
1913 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1914 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1915 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1916 --enable-wxdib use wxDIB class (Win32 only)
1917 --enable-autoidman use automatic ids management
1918 --disable-largefile omit support for large files
1919 --disable-gtktest do not try to compile and run a test GTK+ program
1920 --disable-gtktest Do not try to compile and run a test GTK program
1921 --disable-sdltest Do not try to compile and run a test SDL program
1922 --enable-omf use OMF object format (OS/2)
1923 --disable-dependency-tracking
1924 don't use dependency tracking even if the compiler
1926 --disable-precomp-headers
1927 don't use precompiled headers even if compiler can
1930 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1931 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1932 --without-subdirs don't generate makefiles for samples/demos/...
1933 --with-flavour=NAME specify a name to identify this build
1934 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1935 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1936 --with-motif use Motif/Lesstif
1937 --with-osx_carbon use Mac OS X (Carbon)
1938 --with-osx_cocoa use Mac OS X (Cocoa)
1939 --with-osx_iphone use iPhone OS X port
1940 --with-osx use Mac OS X (default port, currently Carbon)
1941 --with-carbon same as --with-osx_carbon
1942 --with-cocoa same as --with-osx_cocoa
1943 --with-iphone same as --with-osx_iphone
1944 --with-mac same as --with-osx
1945 --with-old_cocoa use old, deprecated, Cocoa port
1946 --with-wine use Wine
1947 --with-msw use MS-Windows
1948 --with-pm use OS/2 Presentation Manager
1949 --with-mgl use SciTech MGL
1950 --with-directfb use DirectFB
1951 --with-microwin use MicroWindows
1953 --with-libpng use libpng (PNG image format)
1954 --with-libjpeg use libjpeg (JPEG file format)
1955 --with-libtiff use libtiff (TIFF file format)
1956 --with-libxpm use libxpm (XPM file format)
1957 --with-libiconv use libiconv (character conversion)
1958 --with-libmspack use libmspack (CHM help files loading)
1959 --without-gtkprint don't use GTK printing support
1960 --without-gnomeprint don't use GNOME printing libraries
1961 --with-gnomevfs use GNOME VFS for associating MIME types
1962 --with-hildon use Hildon framework for Nokia 770/800/810
1963 --with-opengl use OpenGL (or Mesa)
1964 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1965 --with-sdl use SDL for audio on Unix
1966 --with-regex enable support for wxRegEx class
1967 --with-zlib use zlib for LZW compression
1968 --with-expat enable XML support using expat parser
1969 --with-macosx-sdk=PATH use an OS X SDK at PATH
1970 --with-macosx-version-min=VER build binaries which require at least this OS X version
1971 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1972 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1973 --with-x use the X Window System
1974 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1975 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1976 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1977 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1978 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1980 Some influential environment variables:
1981 CC C compiler command
1982 CFLAGS C compiler flags
1983 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1984 nonstandard directory <lib dir>
1985 LIBS libraries to pass to the linker, e.g. -l<library>
1986 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1987 you have headers in a nonstandard directory <include dir>
1989 CXX C++ compiler command
1990 CXXFLAGS C++ compiler flags
1991 CXXCPP C++ preprocessor
1992 PKG_CONFIG path to pkg-config utility
1994 C compiler flags for DIRECTFB, overriding pkg-config
1996 linker flags for DIRECTFB, overriding pkg-config
1997 XMKMF Path to xmkmf, Makefile generator for X Window System
1999 C compiler flags for PANGOX, overriding pkg-config
2000 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2002 C compiler flags for PANGOFT2, overriding pkg-config
2004 linker flags for PANGOFT2, overriding pkg-config
2006 C compiler flags for PANGOXFT, overriding pkg-config
2008 linker flags for PANGOXFT, overriding pkg-config
2010 C compiler flags for GTKPRINT, overriding pkg-config
2012 linker flags for GTKPRINT, overriding pkg-config
2013 LIBGNOMEPRINTUI_CFLAGS
2014 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2015 LIBGNOMEPRINTUI_LIBS
2016 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2018 C compiler flags for GNOMEVFS, overriding pkg-config
2020 linker flags for GNOMEVFS, overriding pkg-config
2022 C compiler flags for HILDON, overriding pkg-config
2023 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2025 C compiler flags for HILDON2, overriding pkg-config
2027 linker flags for HILDON2, overriding pkg-config
2029 C compiler flags for CAIRO, overriding pkg-config
2030 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2031 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2032 GST_LIBS linker flags for GST, overriding pkg-config
2034 Use these variables to override the choices made by `configure' or to help
2035 it to find libraries and programs with nonstandard names/locations.
2037 Report bugs to <wx-dev@lists.wxwidgets.org>.
2042 if test "$ac_init_help" = "recursive"; then
2043 # If there are subdirs, report their specific --help.
2044 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2045 test -d "$ac_dir" || continue
2049 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2051 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2052 # A ".." for each directory in $ac_dir_suffix.
2053 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2054 case $ac_top_builddir_sub in
2055 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2056 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2059 ac_abs_top_builddir=$ac_pwd
2060 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2061 # for backward compatibility:
2062 ac_top_builddir=$ac_top_build_prefix
2065 .) # We are building in place.
2067 ac_top_srcdir=$ac_top_builddir_sub
2068 ac_abs_top_srcdir=$ac_pwd ;;
2069 [\\/]* | ?:[\\/]* ) # Absolute name.
2070 ac_srcdir=$srcdir$ac_dir_suffix;
2071 ac_top_srcdir=$srcdir
2072 ac_abs_top_srcdir=$srcdir ;;
2074 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2075 ac_top_srcdir=$ac_top_build_prefix$srcdir
2076 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2078 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2080 cd "$ac_dir" || { ac_status=$?; continue; }
2081 # Check for guested configure.
2082 if test -f "$ac_srcdir/configure.gnu"; then
2084 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2085 elif test -f "$ac_srcdir/configure"; then
2087 $SHELL "$ac_srcdir/configure" --help=recursive
2089 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2091 cd "$ac_pwd" || { ac_status=$?; break; }
2095 test -n "$ac_init_help" && exit $ac_status
2096 if $ac_init_version; then
2098 wxWidgets configure 2.9.2
2099 generated by GNU Autoconf 2.61
2101 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2102 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2103 This configure script is free software; the Free Software Foundation
2104 gives unlimited permission to copy, distribute and modify it.
2108 cat >config.log <<_ACEOF
2109 This file contains any messages produced by compilers while
2110 running configure, to aid debugging if configure makes a mistake.
2112 It was created by wxWidgets $as_me 2.9.2, which was
2113 generated by GNU Autoconf 2.61. Invocation command line was
2125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2132 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2137 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2138 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2139 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2140 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir=.
2149 echo "PATH: $as_dir"
2165 # Keep a trace of the command line.
2166 # Strip out --no-create and --no-recursion so they do not pile up.
2167 # Strip out --silent because we don't want to record it for future runs.
2168 # Also quote any args containing shell meta-characters.
2169 # Make two passes to allow for proper duplicate-argument suppression.
2173 ac_must_keep_next=false
2179 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2181 | -silent | --silent | --silen | --sile | --sil)
2184 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2187 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2189 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2190 if test $ac_must_keep_next = true; then
2191 ac_must_keep_next=false # Got value, back to normal.
2194 *=* | --config-cache | -C | -disable-* | --disable-* \
2195 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2196 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2197 | -with-* | --with-* | -without-* | --without-* | --x)
2198 case "$ac_configure_args0 " in
2199 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2202 -* ) ac_must_keep_next=true ;;
2205 ac_configure_args="$ac_configure_args '$ac_arg'"
2210 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2211 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2213 # When interrupted or exit'd, cleanup temporary files, and complete
2214 # config.log. We remove comments because anyway the quotes in there
2215 # would cause problems or look ugly.
2216 # WARNING: Use '\'' to represent an apostrophe within the trap.
2217 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2218 trap 'exit_status=$?
2219 # Save into config.log some information that might help in debugging.
2224 ## ---------------- ##
2225 ## Cache variables. ##
2226 ## ---------------- ##
2229 # The following way of writing the cache mishandles newlines in values,
2231 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2232 eval ac_val=\$$ac_var
2236 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2237 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2240 _ | IFS | as_nl) ;; #(
2241 *) $as_unset $ac_var ;;
2246 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2247 *${as_nl}ac_space=\ *)
2249 "s/'\''/'\''\\\\'\'''\''/g;
2250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2253 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2261 ## ----------------- ##
2262 ## Output variables. ##
2263 ## ----------------- ##
2266 for ac_var in $ac_subst_vars
2268 eval ac_val=\$$ac_var
2270 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 echo "$ac_var='\''$ac_val'\''"
2276 if test -n "$ac_subst_files"; then
2278 ## ------------------- ##
2279 ## File substitutions. ##
2280 ## ------------------- ##
2283 for ac_var in $ac_subst_files
2285 eval ac_val=\$$ac_var
2287 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2289 echo "$ac_var='\''$ac_val'\''"
2294 if test -s confdefs.h; then
2304 test "$ac_signal" != 0 &&
2305 echo "$as_me: caught signal $ac_signal"
2306 echo "$as_me: exit $exit_status"
2308 rm -f core *.core core.conftest.* &&
2309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2312 for ac_signal in 1 2 13 15; do
2313 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2318 rm -f -r conftest* confdefs.h
2320 # Predefined preprocessor variables.
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_NAME "$PACKAGE_NAME"
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_STRING "$PACKAGE_STRING"
2342 cat >>confdefs.h <<_ACEOF
2343 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2347 # Let the site file select an alternate cache file if it wants to.
2348 # Prefer explicitly selected file to automatically selected ones.
2349 if test -n "$CONFIG_SITE"; then
2350 set x "$CONFIG_SITE"
2351 elif test "x$prefix" != xNONE; then
2352 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2354 set x "$ac_default_prefix/share/config.site" \
2355 "$ac_default_prefix/etc/config.site"
2360 if test -r "$ac_site_file"; then
2361 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2362 echo "$as_me: loading site script $ac_site_file" >&6;}
2363 sed 's/^/| /' "$ac_site_file" >&5
2368 if test -r "$cache_file"; then
2369 # Some versions of bash will fail to source /dev/null (special
2370 # files actually), so we avoid doing that.
2371 if test -f "$cache_file"; then
2372 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2373 echo "$as_me: loading cache $cache_file" >&6;}
2375 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2376 *) . "./$cache_file";;
2380 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2381 echo "$as_me: creating cache $cache_file" >&6;}
2385 # Check that the precious variables saved in the cache have kept the same
2387 ac_cache_corrupted=false
2388 for ac_var in $ac_precious_vars; do
2389 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2390 eval ac_new_set=\$ac_env_${ac_var}_set
2391 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2392 eval ac_new_val=\$ac_env_${ac_var}_value
2393 case $ac_old_set,$ac_new_set in
2395 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2396 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2397 ac_cache_corrupted=: ;;
2399 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2400 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2401 ac_cache_corrupted=: ;;
2404 if test "x$ac_old_val" != "x$ac_new_val"; then
2405 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2406 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2407 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2408 echo "$as_me: former value: $ac_old_val" >&2;}
2409 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2410 echo "$as_me: current value: $ac_new_val" >&2;}
2411 ac_cache_corrupted=:
2414 # Pass precious variables to config.status.
2415 if test "$ac_new_set" = set; then
2417 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2418 *) ac_arg=$ac_var=$ac_new_val ;;
2420 case " $ac_configure_args " in
2421 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2422 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2426 if $ac_cache_corrupted; then
2427 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2428 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2429 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2430 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2431 { (exit 1); exit 1; }; }
2459 ac_cpp='$CPP $CPPFLAGS'
2460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2469 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2470 if test -f "$ac_dir/install-sh"; then
2472 ac_install_sh="$ac_aux_dir/install-sh -c"
2474 elif test -f "$ac_dir/install.sh"; then
2476 ac_install_sh="$ac_aux_dir/install.sh -c"
2478 elif test -f "$ac_dir/shtool"; then
2480 ac_install_sh="$ac_aux_dir/shtool install -c"
2484 if test -z "$ac_aux_dir"; then
2485 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2486 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2487 { (exit 1); exit 1; }; }
2490 # These three variables are undocumented and unsupported,
2491 # and are intended to be withdrawn in a future Autoconf release.
2492 # They can cause serious problems if a builder's source tree is in a directory
2493 # whose full name contains unusual characters.
2494 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2495 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2496 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2499 # Make sure we can run config.sub.
2500 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2501 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2502 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2503 { (exit 1); exit 1; }; }
2505 { echo "$as_me:$LINENO: checking build system type" >&5
2506 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_build+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 ac_build_alias=$build_alias
2511 test "x$ac_build_alias" = x &&
2512 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2513 test "x$ac_build_alias" = x &&
2514 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2515 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2516 { (exit 1); exit 1; }; }
2517 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2518 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2519 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2520 { (exit 1); exit 1; }; }
2523 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2524 echo "${ECHO_T}$ac_cv_build" >&6; }
2525 case $ac_cv_build in
2527 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2528 echo "$as_me: error: invalid value of canonical build" >&2;}
2529 { (exit 1); exit 1; }; };;
2532 ac_save_IFS=$IFS; IFS='-'
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2542 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2545 { echo "$as_me:$LINENO: checking host system type" >&5
2546 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2547 if test "${ac_cv_host+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2550 if test "x$host_alias" = x; then
2551 ac_cv_host=$ac_cv_build
2553 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2554 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2555 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2556 { (exit 1); exit 1; }; }
2560 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2561 echo "${ECHO_T}$ac_cv_host" >&6; }
2564 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2565 echo "$as_me: error: invalid value of canonical host" >&2;}
2566 { (exit 1); exit 1; }; };;
2569 ac_save_IFS=$IFS; IFS='-'
2575 # Remember, the first character of IFS is used to create $*,
2576 # except with old shells:
2579 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2583 if test "$cross_compiling" != "no"; then
2584 HOST_PREFIX="${host_alias}-"
2585 HOST_SUFFIX="-$host_alias"
2592 wx_major_version_number=2
2593 wx_minor_version_number=9
2595 wx_subrelease_number=0
2597 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2598 WX_VERSION=$WX_RELEASE.$wx_release_number
2599 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2601 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2604 wx_top_builddir="`pwd`"
2617 USE_BSD= USE_DARWIN= USE_FREEBSD=
2623 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2629 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2631 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2633 DEFAULT_wxUSE_OLD_COCOA=0
2635 DEFAULT_wxUSE_OSX_CARBON=0
2636 DEFAULT_wxUSE_OSX_COCOA=0
2637 DEFAULT_wxUSE_OSX_IPHONE=0
2639 DEFAULT_wxUSE_MICROWIN=0
2640 DEFAULT_wxUSE_MOTIF=0
2646 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2647 DEFAULT_DEFAULT_wxUSE_GTK=0
2648 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2649 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2651 DEFAULT_DEFAULT_wxUSE_MGL=0
2652 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2653 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2654 DEFAULT_DEFAULT_wxUSE_MSW=0
2655 DEFAULT_DEFAULT_wxUSE_PM=0
2656 DEFAULT_DEFAULT_wxUSE_X11=0
2657 DEFAULT_DEFAULT_wxUSE_DFB=0
2661 DYLIB_RPATH_INSTALL=
2662 DYLIB_RPATH_POSTLINK=
2664 DEFAULT_STD_FLAG=yes
2669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2671 cat >>confdefs.h <<\_ACEOF
2676 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2680 cat >>confdefs.h <<\_ACEOF
2685 if test "x$TMP" = "xalpha"; then
2687 cat >>confdefs.h <<\_ACEOF
2692 DEFAULT_DEFAULT_wxUSE_GTK=1
2694 *-*-gnu* | *-*-k*bsd*-gnu )
2697 if test "x$TMP" = "xalpha"; then
2699 cat >>confdefs.h <<\_ACEOF
2704 DEFAULT_DEFAULT_wxUSE_GTK=1
2706 *-*-irix5* | *-*-irix6* )
2709 cat >>confdefs.h <<\_ACEOF
2713 cat >>confdefs.h <<\_ACEOF
2717 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2721 cat >>confdefs.h <<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_X11=1
2731 cat >>confdefs.h <<\_ACEOF
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __SOLARIS__ 1
2739 cat >>confdefs.h <<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2744 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2750 cat >>confdefs.h <<\_ACEOF
2754 cat >>confdefs.h <<\_ACEOF
2758 cat >>confdefs.h <<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __FREEBSD__ 1
2771 cat >>confdefs.h <<\_ACEOF
2775 DEFAULT_DEFAULT_wxUSE_GTK=1
2777 *-*-openbsd*|*-*-mirbsd*)
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __OPENBSD__ 1
2784 cat >>confdefs.h <<\_ACEOF
2788 DEFAULT_DEFAULT_wxUSE_GTK=1
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __NETBSD__ 1
2797 cat >>confdefs.h <<\_ACEOF
2801 DEFAULT_DEFAULT_wxUSE_GTK=1
2802 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2804 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2809 cat >>confdefs.h <<\_ACEOF
2813 cat >>confdefs.h <<\_ACEOF
2817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2818 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2823 cat >>confdefs.h <<\_ACEOF
2827 cat >>confdefs.h <<\_ACEOF
2831 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2836 cat >>confdefs.h <<\_ACEOF
2840 cat >>confdefs.h <<\_ACEOF
2844 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2850 cat >>confdefs.h <<\_ACEOF
2854 cat >>confdefs.h <<\_ACEOF
2858 cat >>confdefs.h <<\_ACEOF
2862 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2869 cat >>confdefs.h <<\_ACEOF
2870 #define __UNIXWARE__ 1
2875 *-*-cygwin* | *-*-mingw32* )
2877 DEFAULT_DEFAULT_wxUSE_MSW=1
2883 cat >>confdefs.h <<\_ACEOF
2888 DEFAULT_DEFAULT_wxUSE_MGL=1
2891 *-pc-os2_emx | *-pc-os2-emx )
2892 cat >>confdefs.h <<\_ACEOF
2897 cat >>confdefs.h <<\_ACEOF
2902 DEFAULT_DEFAULT_wxUSE_PM=1
2904 LDFLAGS="$LDFLAGS -Zcrtdll"
2905 ac_executable_extensions=".exe"
2906 export ac_executable_extensions
2910 for ac_dir in $PATH; do
2912 if test -z "$ac_TEMP_PATH"; then
2913 ac_TEMP_PATH="$ac_dir"
2915 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2918 export PATH="$ac_TEMP_PATH"
2926 cat >>confdefs.h <<\_ACEOF
2930 cat >>confdefs.h <<\_ACEOF
2931 #define __DARWIN__ 1
2934 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2940 cat >>confdefs.h <<\_ACEOF
2944 cat >>confdefs.h <<\_ACEOF
2945 #define __DARWIN__ 1
2948 cat >>confdefs.h <<\_ACEOF
2949 #define TARGET_CARBON 1
2952 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2957 cat >>confdefs.h <<\_ACEOF
2964 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2965 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2966 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2967 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2969 DEFAULT_DEFAULT_wxUSE_X11=1
2970 DEFAULT_wxUSE_SHARED=no
2975 DEFAULT_wxUSE_ALL_FEATURES=yes
2977 DEFAULT_wxUSE_STD_CONTAINERS=$DEFAULT_STD_FLAG
2978 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2979 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2981 DEFAULT_wxUSE_DMALLOC=no
2982 DEFAULT_wxUSE_LIBGNOMEVFS=no
2983 DEFAULT_wxUSE_LIBHILDON=no
2984 DEFAULT_wxUSE_LIBHILDON2=no
2985 DEFAULT_wxUSE_LIBMSPACK=no
2986 DEFAULT_wxUSE_LIBSDL=no
2988 DEFAULT_wxUSE_ACCESSIBILITY=no
2989 DEFAULT_wxUSE_IPV6=no
2990 DEFAULT_wxUSE_GSTREAMER8=no
2992 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2993 DEFAULT_wxUSE_UNICODE_UTF8=auto
2994 DEFAULT_wxUSE_OPENGL=auto
2995 DEFAULT_wxUSE_MEDIACTRL=auto
2996 DEFAULT_wxUSE_COMPILER_TLS=auto
2998 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3000 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3001 DEFAULT_wxUSE_MAC_ARCH=no
3003 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3005 DEFAULT_wxUSE_GTK2=yes
3007 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3013 enablestring=disable
3015 if test -z "$defaultval"; then
3016 if test x"$enablestring" = xdisable; then
3023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3024 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3025 # Check whether --enable-gui was given.
3026 if test "${enable_gui+set}" = set; then
3027 enableval=$enable_gui;
3028 if test "$enableval" = yes; then
3029 wx_cv_use_gui='wxUSE_GUI=yes'
3031 wx_cv_use_gui='wxUSE_GUI=no'
3036 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3041 eval "$wx_cv_use_gui"
3043 if test x"$enablestring" = xdisable; then
3044 if test $wxUSE_GUI = no; then
3053 { echo "$as_me:$LINENO: result: $result" >&5
3054 echo "${ECHO_T}$result" >&6; }
3059 if test -z "$defaultval"; then
3060 if test x"$enablestring" = xdisable; then
3067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3068 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3069 # Check whether --enable-monolithic was given.
3070 if test "${enable_monolithic+set}" = set; then
3071 enableval=$enable_monolithic;
3072 if test "$enableval" = yes; then
3073 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3075 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3080 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3085 eval "$wx_cv_use_monolithic"
3087 if test x"$enablestring" = xdisable; then
3088 if test $wxUSE_MONOLITHIC = no; then
3094 result=$wxUSE_MONOLITHIC
3097 { echo "$as_me:$LINENO: result: $result" >&5
3098 echo "${ECHO_T}$result" >&6; }
3103 if test -z "$defaultval"; then
3104 if test x"$enablestring" = xdisable; then
3111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3112 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3113 # Check whether --enable-plugins was given.
3114 if test "${enable_plugins+set}" = set; then
3115 enableval=$enable_plugins;
3116 if test "$enableval" = yes; then
3117 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3119 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3124 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3129 eval "$wx_cv_use_plugins"
3131 if test x"$enablestring" = xdisable; then
3132 if test $wxUSE_PLUGINS = no; then
3138 result=$wxUSE_PLUGINS
3141 { echo "$as_me:$LINENO: result: $result" >&5
3142 echo "${ECHO_T}$result" >&6; }
3146 defaultval=$wxUSE_ALL_FEATURES
3147 if test -z "$defaultval"; then
3148 if test x"$withstring" = xwithout; then
3154 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3155 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3157 # Check whether --with-subdirs was given.
3158 if test "${with_subdirs+set}" = set; then
3159 withval=$with_subdirs;
3160 if test "$withval" = yes; then
3161 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3163 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3168 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3173 eval "$wx_cv_use_subdirs"
3175 if test x"$withstring" = xwithout; then
3176 if test $wxWITH_SUBDIRS = yes; then
3182 result=$wxWITH_SUBDIRS
3185 { echo "$as_me:$LINENO: result: $result" >&5
3186 echo "${ECHO_T}$result" >&6; }
3189 # Check whether --with-flavour was given.
3190 if test "${with_flavour+set}" = set; then
3191 withval=$with_flavour; WX_FLAVOUR="$withval"
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3207 # Check whether --enable-official_build was given.
3208 if test "${enable_official_build+set}" = set; then
3209 enableval=$enable_official_build;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3218 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3223 eval "$wx_cv_use_official_build"
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_OFFICIAL_BUILD = no; then
3232 result=$wxUSE_OFFICIAL_BUILD
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3238 # Check whether --enable-vendor was given.
3239 if test "${enable_vendor+set}" = set; then
3240 enableval=$enable_vendor; VENDOR="$enableval"
3243 if test "x$VENDOR" = "x"; then
3248 enablestring=disable
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3260 # Check whether --enable-all-features was given.
3261 if test "${enable_all_features+set}" = set; then
3262 enableval=$enable_all_features;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3271 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3276 eval "$wx_cv_use_all_features"
3278 if test x"$enablestring" = xdisable; then
3279 if test $wxUSE_ALL_FEATURES = no; then
3285 result=$wxUSE_ALL_FEATURES
3288 { echo "$as_me:$LINENO: result: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3292 if test "$wxUSE_ALL_FEATURES" = "no"; then
3293 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3294 DEFAULT_wxUSE_MEDIACTRL=no
3298 if test "$wxUSE_GUI" = "yes"; then
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3313 # Check whether --enable-universal was given.
3314 if test "${enable_universal+set}" = set; then
3315 enableval=$enable_universal;
3316 if test "$enableval" = yes; then
3317 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3319 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3324 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3329 eval "$wx_cv_use_universal"
3331 if test x"$enablestring" = xdisable; then
3332 if test $wxUSE_UNIVERSAL = no; then
3338 result=$wxUSE_UNIVERSAL
3341 { echo "$as_me:$LINENO: result: $result" >&5
3342 echo "${ECHO_T}$result" >&6; }
3344 if test "$wxUSE_UNIVERSAL" = "yes"; then
3346 # Check whether --with-themes was given.
3347 if test "${with_themes+set}" = set; then
3348 withval=$with_themes; wxUNIV_THEMES="$withval"
3354 # Check whether --with-gtk was given.
3355 if test "${with_gtk+set}" = set; then
3356 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-motif was given.
3361 if test "${with_motif+set}" = set; then
3362 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3366 # Check whether --with-osx_carbon was given.
3367 if test "${with_osx_carbon+set}" = set; then
3368 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-osx_cocoa was given.
3373 if test "${with_osx_cocoa+set}" = set; then
3374 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-osx_iphone was given.
3379 if test "${with_osx_iphone+set}" = set; then
3380 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-osx was given.
3385 if test "${with_osx+set}" = set; then
3386 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-carbon was given.
3391 if test "${with_carbon+set}" = set; then
3392 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3396 # Check whether --with-cocoa was given.
3397 if test "${with_cocoa+set}" = set; then
3398 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3402 # Check whether --with-iphone was given.
3403 if test "${with_iphone+set}" = set; then
3404 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3408 # Check whether --with-mac was given.
3409 if test "${with_mac+set}" = set; then
3410 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3414 # Check whether --with-old_cocoa was given.
3415 if test "${with_old_cocoa+set}" = set; then
3416 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3420 # Check whether --with-wine was given.
3421 if test "${with_wine+set}" = set; then
3422 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3426 # Check whether --with-msw was given.
3427 if test "${with_msw+set}" = set; then
3428 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3432 # Check whether --with-pm was given.
3433 if test "${with_pm+set}" = set; then
3434 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3438 # Check whether --with-mgl was given.
3439 if test "${with_mgl+set}" = set; then
3440 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3444 # Check whether --with-directfb was given.
3445 if test "${with_directfb+set}" = set; then
3446 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3450 # Check whether --with-microwin was given.
3451 if test "${with_microwin+set}" = set; then
3452 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3456 # Check whether --with-x11 was given.
3457 if test "${with_x11+set}" = set; then
3458 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3464 if test -z "$defaultval"; then
3465 if test x"$enablestring" = xdisable; then
3472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3474 # Check whether --enable-nanox was given.
3475 if test "${enable_nanox+set}" = set; then
3476 enableval=$enable_nanox;
3477 if test "$enableval" = yes; then
3478 wx_cv_use_nanox='wxUSE_NANOX=yes'
3480 wx_cv_use_nanox='wxUSE_NANOX=no'
3485 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3490 eval "$wx_cv_use_nanox"
3492 if test x"$enablestring" = xdisable; then
3493 if test $wxUSE_NANOX = no; then
3502 { echo "$as_me:$LINENO: result: $result" >&5
3503 echo "${ECHO_T}$result" >&6; }
3506 # Check whether --enable-gtk2 was given.
3507 if test "${enable_gtk2+set}" = set; then
3508 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3514 if test -z "$defaultval"; then
3515 if test x"$enablestring" = xdisable; then
3522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3523 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3524 # Check whether --enable-gpe was given.
3525 if test "${enable_gpe+set}" = set; then
3526 enableval=$enable_gpe;
3527 if test "$enableval" = yes; then
3528 wx_cv_use_gpe='wxUSE_GPE=yes'
3530 wx_cv_use_gpe='wxUSE_GPE=no'
3535 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3540 eval "$wx_cv_use_gpe"
3542 if test x"$enablestring" = xdisable; then
3543 if test $wxUSE_GPE = no; then
3552 { echo "$as_me:$LINENO: result: $result" >&5
3553 echo "${ECHO_T}$result" >&6; }
3557 { echo "$as_me:$LINENO: checking for toolkit" >&5
3558 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3562 # In Wine, we need to default to MSW, not GTK or MOTIF
3563 if test "$wxUSE_WINE" = "yes"; then
3564 DEFAULT_DEFAULT_wxUSE_GTK=0
3565 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3566 DEFAULT_DEFAULT_wxUSE_MSW=1
3573 if test "$wxUSE_GUI" = "yes"; then
3575 if test "$USE_BEOS" = 1; then
3576 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3577 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3578 { (exit 1); exit 1; }; }
3581 if test "$TOOLKIT_GIVEN" = 1; then
3582 for toolkit in $ALL_TOOLKITS; do
3584 eval "value=\$${var}"
3585 if test "x$value" = "xno"; then
3587 elif test "x$value" != "x"; then
3591 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3592 eval "wx${toolkit}_VERSION=$value"
3596 for toolkit in $ALL_TOOLKITS; do
3597 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3598 eval "wxUSE_$toolkit=\$${var}"
3602 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3603 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3604 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3607 *-pc-os2_emx | *-pc-os2-emx )
3608 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3611 case "$NUM_TOOLKITS" in
3615 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3616 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3617 { (exit 1); exit 1; }; }
3620 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3621 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3622 { (exit 1); exit 1; }; }
3625 # to be removed when --disable-gtk2 isn't needed
3626 if test "x$wxUSE_GTK2" = "xyes"; then
3629 elif test "x$wxUSE_GTK2" = "xno"; then
3634 for toolkit in $ALL_TOOLKITS; do
3636 eval "value=\$${var}"
3637 if test "$value" = 1; then
3638 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3639 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3640 echo "${ECHO_T}$toolkit_echo" >&6; }
3644 if test "x$host_alias" != "x"; then
3645 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3646 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3648 { echo "$as_me:$LINENO: result: base only" >&5
3649 echo "${ECHO_T}base only" >&6; }
3654 if test "$wxUSE_OSX_CARBON" = 1 \
3655 -o "$wxUSE_OSX_COCOA" = 1 \
3656 -o "$wxUSE_OSX_IPHONE" = 1; then
3662 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3663 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3665 # Check whether --with-libpng was given.
3666 if test "${with_libpng+set}" = set; then
3667 withval=$with_libpng;
3668 if test "$withval" = yes; then
3669 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3670 elif test "$withval" = no; then
3671 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3672 elif test "$withval" = sys; then
3673 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3674 elif test "$withval" = builtin; then
3675 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3678 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3679 { (exit 1); exit 1; }; }
3684 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3689 eval "$wx_cv_use_libpng"
3691 if test "$wxUSE_LIBPNG" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3694 elif test "$wxUSE_LIBPNG" = no; then
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3697 elif test "$wxUSE_LIBPNG" = sys; then
3698 { echo "$as_me:$LINENO: result: system version" >&5
3699 echo "${ECHO_T}system version" >&6; }
3700 elif test "$wxUSE_LIBPNG" = builtin; then
3701 { echo "$as_me:$LINENO: result: builtin version" >&5
3702 echo "${ECHO_T}builtin version" >&6; }
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3710 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3711 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3713 # Check whether --with-libjpeg was given.
3714 if test "${with_libjpeg+set}" = set; then
3715 withval=$with_libjpeg;
3716 if test "$withval" = yes; then
3717 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3718 elif test "$withval" = no; then
3719 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3720 elif test "$withval" = sys; then
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3722 elif test "$withval" = builtin; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3732 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3737 eval "$wx_cv_use_libjpeg"
3739 if test "$wxUSE_LIBJPEG" = yes; then
3740 { echo "$as_me:$LINENO: result: yes" >&5
3741 echo "${ECHO_T}yes" >&6; }
3742 elif test "$wxUSE_LIBJPEG" = no; then
3743 { echo "$as_me:$LINENO: result: no" >&5
3744 echo "${ECHO_T}no" >&6; }
3745 elif test "$wxUSE_LIBJPEG" = sys; then
3746 { echo "$as_me:$LINENO: result: system version" >&5
3747 echo "${ECHO_T}system version" >&6; }
3748 elif test "$wxUSE_LIBJPEG" = builtin; then
3749 { echo "$as_me:$LINENO: result: builtin version" >&5
3750 echo "${ECHO_T}builtin version" >&6; }
3752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3753 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3754 { (exit 1); exit 1; }; }
3758 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3759 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3761 # Check whether --with-libtiff was given.
3762 if test "${with_libtiff+set}" = set; then
3763 withval=$with_libtiff;
3764 if test "$withval" = yes; then
3765 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3766 elif test "$withval" = no; then
3767 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3768 elif test "$withval" = sys; then
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3770 elif test "$withval" = builtin; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3773 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3774 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3775 { (exit 1); exit 1; }; }
3780 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3785 eval "$wx_cv_use_libtiff"
3787 if test "$wxUSE_LIBTIFF" = yes; then
3788 { echo "$as_me:$LINENO: result: yes" >&5
3789 echo "${ECHO_T}yes" >&6; }
3790 elif test "$wxUSE_LIBTIFF" = no; then
3791 { echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6; }
3793 elif test "$wxUSE_LIBTIFF" = sys; then
3794 { echo "$as_me:$LINENO: result: system version" >&5
3795 echo "${ECHO_T}system version" >&6; }
3796 elif test "$wxUSE_LIBTIFF" = builtin; then
3797 { echo "$as_me:$LINENO: result: builtin version" >&5
3798 echo "${ECHO_T}builtin version" >&6; }
3800 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3801 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3802 { (exit 1); exit 1; }; }
3806 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3807 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3809 # Check whether --with-libxpm was given.
3810 if test "${with_libxpm+set}" = set; then
3811 withval=$with_libxpm;
3812 if test "$withval" = yes; then
3813 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3814 elif test "$withval" = no; then
3815 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3816 elif test "$withval" = sys; then
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3818 elif test "$withval" = builtin; then
3819 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3822 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3823 { (exit 1); exit 1; }; }
3828 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3833 eval "$wx_cv_use_libxpm"
3835 if test "$wxUSE_LIBXPM" = yes; then
3836 { echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6; }
3838 elif test "$wxUSE_LIBXPM" = no; then
3839 { echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6; }
3841 elif test "$wxUSE_LIBXPM" = sys; then
3842 { echo "$as_me:$LINENO: result: system version" >&5
3843 echo "${ECHO_T}system version" >&6; }
3844 elif test "$wxUSE_LIBXPM" = builtin; then
3845 { echo "$as_me:$LINENO: result: builtin version" >&5
3846 echo "${ECHO_T}builtin version" >&6; }
3848 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3849 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3850 { (exit 1); exit 1; }; }
3855 defaultval=$wxUSE_ALL_FEATURES
3856 if test -z "$defaultval"; then
3857 if test x"$withstring" = xwithout; then
3863 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3864 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3866 # Check whether --with-libiconv was given.
3867 if test "${with_libiconv+set}" = set; then
3868 withval=$with_libiconv;
3869 if test "$withval" = yes; then
3870 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3872 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3877 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3882 eval "$wx_cv_use_libiconv"
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_LIBICONV = yes; then
3891 result=$wxUSE_LIBICONV
3894 { echo "$as_me:$LINENO: result: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3907 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3908 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3910 # Check whether --with-libmspack was given.
3911 if test "${with_libmspack+set}" = set; then
3912 withval=$with_libmspack;
3913 if test "$withval" = yes; then
3914 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3916 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3921 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3926 eval "$wx_cv_use_libmspack"
3928 if test x"$withstring" = xwithout; then
3929 if test $wxUSE_LIBMSPACK = yes; then
3935 result=$wxUSE_LIBMSPACK
3938 { echo "$as_me:$LINENO: result: $result" >&5
3939 echo "${ECHO_T}$result" >&6; }
3943 defaultval=$wxUSE_ALL_FEATURES
3944 if test -z "$defaultval"; then
3945 if test x"$withstring" = xwithout; then
3951 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3952 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3954 # Check whether --with-gtkprint was given.
3955 if test "${with_gtkprint+set}" = set; then
3956 withval=$with_gtkprint;
3957 if test "$withval" = yes; then
3958 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3960 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3965 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3970 eval "$wx_cv_use_gtkprint"
3972 if test x"$withstring" = xwithout; then
3973 if test $wxUSE_GTKPRINT = yes; then
3979 result=$wxUSE_GTKPRINT
3982 { echo "$as_me:$LINENO: result: $result" >&5
3983 echo "${ECHO_T}$result" >&6; }
3987 defaultval=$wxUSE_ALL_FEATURES
3988 if test -z "$defaultval"; then
3989 if test x"$withstring" = xwithout; then
3995 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3996 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3998 # Check whether --with-gnomeprint was given.
3999 if test "${with_gnomeprint+set}" = set; then
4000 withval=$with_gnomeprint;
4001 if test "$withval" = yes; then
4002 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4004 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4009 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4014 eval "$wx_cv_use_gnomeprint"
4016 if test x"$withstring" = xwithout; then
4017 if test $wxUSE_LIBGNOMEPRINT = yes; then
4023 result=$wxUSE_LIBGNOMEPRINT
4026 { echo "$as_me:$LINENO: result: $result" >&5
4027 echo "${ECHO_T}$result" >&6; }
4031 defaultval=$wxUSE_ALL_FEATURES
4032 if test -z "$defaultval"; then
4033 if test x"$withstring" = xwithout; then
4039 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4040 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4042 # Check whether --with-gnomevfs was given.
4043 if test "${with_gnomevfs+set}" = set; then
4044 withval=$with_gnomevfs;
4045 if test "$withval" = yes; then
4046 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4048 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4053 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4058 eval "$wx_cv_use_gnomevfs"
4060 if test x"$withstring" = xwithout; then
4061 if test $wxUSE_LIBGNOMEVFS = yes; then
4067 result=$wxUSE_LIBGNOMEVFS
4070 { echo "$as_me:$LINENO: result: $result" >&5
4071 echo "${ECHO_T}$result" >&6; }
4075 defaultval=$wxUSE_ALL_FEATURES
4076 if test -z "$defaultval"; then
4077 if test x"$withstring" = xwithout; then
4083 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4084 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4086 # Check whether --with-hildon was given.
4087 if test "${with_hildon+set}" = set; then
4088 withval=$with_hildon;
4089 if test "$withval" = yes; then
4090 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4092 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4097 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4102 eval "$wx_cv_use_hildon"
4104 if test x"$withstring" = xwithout; then
4105 if test $wxUSE_LIBHILDON = yes; then
4111 result=$wxUSE_LIBHILDON
4114 { echo "$as_me:$LINENO: result: $result" >&5
4115 echo "${ECHO_T}$result" >&6; }
4119 defaultval=$wxUSE_ALL_FEATURES
4120 if test -z "$defaultval"; then
4121 if test x"$withstring" = xwithout; then
4127 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4128 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4130 # Check whether --with-opengl was given.
4131 if test "${with_opengl+set}" = set; then
4132 withval=$with_opengl;
4133 if test "$withval" = yes; then
4134 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4136 wx_cv_use_opengl='wxUSE_OPENGL=no'
4141 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4146 eval "$wx_cv_use_opengl"
4148 if test x"$withstring" = xwithout; then
4149 if test $wxUSE_OPENGL = yes; then
4155 result=$wxUSE_OPENGL
4158 { echo "$as_me:$LINENO: result: $result" >&5
4159 echo "${ECHO_T}$result" >&6; }
4166 defaultval=$wxUSE_ALL_FEATURES
4167 if test -z "$defaultval"; then
4168 if test x"$withstring" = xwithout; then
4174 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4175 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4177 # Check whether --with-dmalloc was given.
4178 if test "${with_dmalloc+set}" = set; then
4179 withval=$with_dmalloc;
4180 if test "$withval" = yes; then
4181 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4193 eval "$wx_cv_use_dmalloc"
4195 if test x"$withstring" = xwithout; then
4196 if test $wxUSE_DMALLOC = yes; then
4202 result=$wxUSE_DMALLOC
4205 { echo "$as_me:$LINENO: result: $result" >&5
4206 echo "${ECHO_T}$result" >&6; }
4210 defaultval=$wxUSE_ALL_FEATURES
4211 if test -z "$defaultval"; then
4212 if test x"$withstring" = xwithout; then
4218 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4219 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4221 # Check whether --with-sdl was given.
4222 if test "${with_sdl+set}" = set; then
4224 if test "$withval" = yes; then
4225 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4227 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4232 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4237 eval "$wx_cv_use_sdl"
4239 if test x"$withstring" = xwithout; then
4240 if test $wxUSE_LIBSDL = yes; then
4246 result=$wxUSE_LIBSDL
4249 { echo "$as_me:$LINENO: result: $result" >&5
4250 echo "${ECHO_T}$result" >&6; }
4253 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4254 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4256 # Check whether --with-regex was given.
4257 if test "${with_regex+set}" = set; then
4258 withval=$with_regex;
4259 if test "$withval" = yes; then
4260 wx_cv_use_regex='wxUSE_REGEX=yes'
4261 elif test "$withval" = no; then
4262 wx_cv_use_regex='wxUSE_REGEX=no'
4263 elif test "$withval" = sys; then
4264 wx_cv_use_regex='wxUSE_REGEX=sys'
4265 elif test "$withval" = builtin; then
4266 wx_cv_use_regex='wxUSE_REGEX=builtin'
4268 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4269 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4270 { (exit 1); exit 1; }; }
4275 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4280 eval "$wx_cv_use_regex"
4282 if test "$wxUSE_REGEX" = yes; then
4283 { echo "$as_me:$LINENO: result: yes" >&5
4284 echo "${ECHO_T}yes" >&6; }
4285 elif test "$wxUSE_REGEX" = no; then
4286 { echo "$as_me:$LINENO: result: no" >&5
4287 echo "${ECHO_T}no" >&6; }
4288 elif test "$wxUSE_REGEX" = sys; then
4289 { echo "$as_me:$LINENO: result: system version" >&5
4290 echo "${ECHO_T}system version" >&6; }
4291 elif test "$wxUSE_REGEX" = builtin; then
4292 { echo "$as_me:$LINENO: result: builtin version" >&5
4293 echo "${ECHO_T}builtin version" >&6; }
4295 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4296 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4297 { (exit 1); exit 1; }; }
4301 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4302 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4304 # Check whether --with-zlib was given.
4305 if test "${with_zlib+set}" = set; then
4307 if test "$withval" = yes; then
4308 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4309 elif test "$withval" = no; then
4310 wx_cv_use_zlib='wxUSE_ZLIB=no'
4311 elif test "$withval" = sys; then
4312 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4313 elif test "$withval" = builtin; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4316 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4317 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4318 { (exit 1); exit 1; }; }
4323 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4328 eval "$wx_cv_use_zlib"
4330 if test "$wxUSE_ZLIB" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_ZLIB" = no; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_ZLIB" = sys; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_ZLIB" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4349 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4350 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4352 # Check whether --with-expat was given.
4353 if test "${with_expat+set}" = set; then
4354 withval=$with_expat;
4355 if test "$withval" = yes; then
4356 wx_cv_use_expat='wxUSE_EXPAT=yes'
4357 elif test "$withval" = no; then
4358 wx_cv_use_expat='wxUSE_EXPAT=no'
4359 elif test "$withval" = sys; then
4360 wx_cv_use_expat='wxUSE_EXPAT=sys'
4361 elif test "$withval" = builtin; then
4362 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4364 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4365 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4366 { (exit 1); exit 1; }; }
4371 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4376 eval "$wx_cv_use_expat"
4378 if test "$wxUSE_EXPAT" = yes; then
4379 { echo "$as_me:$LINENO: result: yes" >&5
4380 echo "${ECHO_T}yes" >&6; }
4381 elif test "$wxUSE_EXPAT" = no; then
4382 { echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6; }
4384 elif test "$wxUSE_EXPAT" = sys; then
4385 { echo "$as_me:$LINENO: result: system version" >&5
4386 echo "${ECHO_T}system version" >&6; }
4387 elif test "$wxUSE_EXPAT" = builtin; then
4388 { echo "$as_me:$LINENO: result: builtin version" >&5
4389 echo "${ECHO_T}builtin version" >&6; }
4391 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4392 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4393 { (exit 1); exit 1; }; }
4397 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4398 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4400 # Check whether --with-macosx-sdk was given.
4401 if test "${with_macosx_sdk+set}" = set; then
4402 withval=$with_macosx_sdk;
4403 wxUSE_MACOSX_SDK=$withval
4404 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4408 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4409 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4411 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4412 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4414 # Check whether --with-macosx-version-min was given.
4415 if test "${with_macosx_version_min+set}" = set; then
4416 withval=$with_macosx_version_min;
4417 wxUSE_MACOSX_VERSION_MIN=$withval
4418 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4422 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4423 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4426 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4427 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4428 # Check whether --enable-debug was given.
4429 if test "${enable_debug+set}" = set; then
4430 enableval=$enable_debug;
4431 if test "$enableval" = yes; then
4433 elif test "$enableval" = no; then
4435 elif test "$enableval" = max; then
4437 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4439 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4440 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4441 { (exit 1); exit 1; }; }
4450 case "$wxUSE_DEBUG" in
4452 DEFAULT_wxUSE_DEBUG_FLAG=yes
4453 DEFAULT_wxUSE_DEBUG_INFO=yes
4455 DEFAULT_wxUSE_OPTIMISE=no
4459 DEFAULT_wxUSE_DEBUG_FLAG=no
4460 DEFAULT_wxUSE_DEBUG_INFO=no
4464 DEFAULT_wxUSE_DEBUG_FLAG=yes
4465 DEFAULT_wxUSE_DEBUG_INFO=no
4470 enablestring=disable
4472 if test -z "$defaultval"; then
4473 if test x"$enablestring" = xdisable; then
4480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4482 # Check whether --enable-debug_flag was given.
4483 if test "${enable_debug_flag+set}" = set; then
4484 enableval=$enable_debug_flag;
4485 if test "$enableval" = yes; then
4486 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4488 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4493 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4498 eval "$wx_cv_use_debug_flag"
4500 if test x"$enablestring" = xdisable; then
4501 if test $wxUSE_DEBUG_FLAG = no; then
4507 result=$wxUSE_DEBUG_FLAG
4510 { echo "$as_me:$LINENO: result: $result" >&5
4511 echo "${ECHO_T}$result" >&6; }
4516 if test -z "$defaultval"; then
4517 if test x"$enablestring" = xdisable; then
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4526 # Check whether --enable-debug_info was given.
4527 if test "${enable_debug_info+set}" = set; then
4528 enableval=$enable_debug_info;
4529 if test "$enableval" = yes; then
4530 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4532 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4537 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4542 eval "$wx_cv_use_debug_info"
4544 if test x"$enablestring" = xdisable; then
4545 if test $wxUSE_DEBUG_INFO = no; then
4551 result=$wxUSE_DEBUG_INFO
4554 { echo "$as_me:$LINENO: result: $result" >&5
4555 echo "${ECHO_T}$result" >&6; }
4562 if test -z "$defaultval"; then
4563 if test x"$enablestring" = xdisable; then
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4572 # Check whether --enable-debug_gdb was given.
4573 if test "${enable_debug_gdb+set}" = set; then
4574 enableval=$enable_debug_gdb;
4575 if test "$enableval" = yes; then
4576 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4578 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4583 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4588 eval "$wx_cv_use_debug_gdb"
4590 if test x"$enablestring" = xdisable; then
4591 if test $wxUSE_DEBUG_GDB = no; then
4597 result=$wxUSE_DEBUG_GDB
4600 { echo "$as_me:$LINENO: result: $result" >&5
4601 echo "${ECHO_T}$result" >&6; }
4606 if test -z "$defaultval"; then
4607 if test x"$enablestring" = xdisable; then
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4616 # Check whether --enable-debug_cntxt was given.
4617 if test "${enable_debug_cntxt+set}" = set; then
4618 enableval=$enable_debug_cntxt;
4619 if test "$enableval" = yes; then
4620 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4622 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4627 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4632 eval "$wx_cv_use_debug_cntxt"
4634 if test x"$enablestring" = xdisable; then
4635 if test $wxUSE_DEBUG_CONTEXT = no; then
4641 result=$wxUSE_DEBUG_CONTEXT
4644 { echo "$as_me:$LINENO: result: $result" >&5
4645 echo "${ECHO_T}$result" >&6; }
4650 if test -z "$defaultval"; then
4651 if test x"$enablestring" = xdisable; then
4658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4660 # Check whether --enable-mem_tracing was given.
4661 if test "${enable_mem_tracing+set}" = set; then
4662 enableval=$enable_mem_tracing;
4663 if test "$enableval" = yes; then
4664 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4666 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4671 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4676 eval "$wx_cv_use_mem_tracing"
4678 if test x"$enablestring" = xdisable; then
4679 if test $wxUSE_MEM_TRACING = no; then
4685 result=$wxUSE_MEM_TRACING
4688 { echo "$as_me:$LINENO: result: $result" >&5
4689 echo "${ECHO_T}$result" >&6; }
4694 enablestring=disable
4696 if test -z "$defaultval"; then
4697 if test x"$enablestring" = xdisable; then
4704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4705 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4706 # Check whether --enable-shared was given.
4707 if test "${enable_shared+set}" = set; then
4708 enableval=$enable_shared;
4709 if test "$enableval" = yes; then
4710 wx_cv_use_shared='wxUSE_SHARED=yes'
4712 wx_cv_use_shared='wxUSE_SHARED=no'
4717 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4722 eval "$wx_cv_use_shared"
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_SHARED = no; then
4731 result=$wxUSE_SHARED
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4750 # Check whether --enable-stl was given.
4751 if test "${enable_stl+set}" = set; then
4752 enableval=$enable_stl;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_stl='wxUSE_STL=yes'
4756 wx_cv_use_stl='wxUSE_STL=no'
4761 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4766 eval "$wx_cv_use_stl"
4768 if test x"$enablestring" = xdisable; then
4769 if test $wxUSE_STL = no; then
4778 { echo "$as_me:$LINENO: result: $result" >&5
4779 echo "${ECHO_T}$result" >&6; }
4784 if test -z "$defaultval"; then
4785 if test x"$enablestring" = xdisable; then
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4794 # Check whether --enable-std_containers was given.
4795 if test "${enable_std_containers+set}" = set; then
4796 enableval=$enable_std_containers;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4800 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4805 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4810 eval "$wx_cv_use_std_containers"
4812 if test x"$enablestring" = xdisable; then
4813 if test $wxUSE_STD_CONTAINERS = no; then
4819 result=$wxUSE_STD_CONTAINERS
4822 { echo "$as_me:$LINENO: result: $result" >&5
4823 echo "${ECHO_T}$result" >&6; }
4828 if test -z "$defaultval"; then
4829 if test x"$enablestring" = xdisable; then
4836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4837 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4838 # Check whether --enable-std_iostreams was given.
4839 if test "${enable_std_iostreams+set}" = set; then
4840 enableval=$enable_std_iostreams;
4841 if test "$enableval" = yes; then
4842 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4844 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4849 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4854 eval "$wx_cv_use_std_iostreams"
4856 if test x"$enablestring" = xdisable; then
4857 if test $wxUSE_STD_IOSTREAM = no; then
4863 result=$wxUSE_STD_IOSTREAM
4866 { echo "$as_me:$LINENO: result: $result" >&5
4867 echo "${ECHO_T}$result" >&6; }
4872 if test -z "$defaultval"; then
4873 if test x"$enablestring" = xdisable; then
4880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4881 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4882 # Check whether --enable-std_string was given.
4883 if test "${enable_std_string+set}" = set; then
4884 enableval=$enable_std_string;
4885 if test "$enableval" = yes; then
4886 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4888 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4893 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4898 eval "$wx_cv_use_std_string"
4900 if test x"$enablestring" = xdisable; then
4901 if test $wxUSE_STD_STRING = no; then
4907 result=$wxUSE_STD_STRING
4910 { echo "$as_me:$LINENO: result: $result" >&5
4911 echo "${ECHO_T}$result" >&6; }
4916 if test -z "$defaultval"; then
4917 if test x"$enablestring" = xdisable; then
4924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4926 # Check whether --enable-std_string_conv_in_wxstring was given.
4927 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4928 enableval=$enable_std_string_conv_in_wxstring;
4929 if test "$enableval" = yes; then
4930 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4932 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4937 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4942 eval "$wx_cv_use_std_string_conv_in_wxstring"
4944 if test x"$enablestring" = xdisable; then
4945 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4951 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4954 { echo "$as_me:$LINENO: result: $result" >&5
4955 echo "${ECHO_T}$result" >&6; }
4958 enablestring=disable
4960 if test -z "$defaultval"; then
4961 if test x"$enablestring" = xdisable; then
4968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4970 # Check whether --enable-unicode was given.
4971 if test "${enable_unicode+set}" = set; then
4972 enableval=$enable_unicode;
4973 if test "$enableval" = yes; then
4974 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4976 wx_cv_use_unicode='wxUSE_UNICODE=no'
4981 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4986 eval "$wx_cv_use_unicode"
4988 if test x"$enablestring" = xdisable; then
4989 if test $wxUSE_UNICODE = no; then
4995 result=$wxUSE_UNICODE
4998 { echo "$as_me:$LINENO: result: $result" >&5
4999 echo "${ECHO_T}$result" >&6; }
5004 if test -z "$defaultval"; then
5005 if test x"$enablestring" = xdisable; then
5012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5013 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5014 # Check whether --enable-mslu was given.
5015 if test "${enable_mslu+set}" = set; then
5016 enableval=$enable_mslu;
5017 if test "$enableval" = yes; then
5018 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5020 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5025 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5030 eval "$wx_cv_use_mslu"
5032 if test x"$enablestring" = xdisable; then
5033 if test $wxUSE_UNICODE_MSLU = no; then
5039 result=$wxUSE_UNICODE_MSLU
5042 { echo "$as_me:$LINENO: result: $result" >&5
5043 echo "${ECHO_T}$result" >&6; }
5047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5049 # Check whether --enable-utf8 was given.
5050 if test "${enable_utf8+set}" = set; then
5051 enableval=$enable_utf8;
5052 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5056 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5061 eval "$wx_cv_use_utf8"
5063 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5064 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5069 if test -z "$defaultval"; then
5070 if test x"$enablestring" = xdisable; then
5077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5079 # Check whether --enable-utf8only was given.
5080 if test "${enable_utf8only+set}" = set; then
5081 enableval=$enable_utf8only;
5082 if test "$enableval" = yes; then
5083 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5085 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5090 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5095 eval "$wx_cv_use_utf8only"
5097 if test x"$enablestring" = xdisable; then
5098 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5104 result=$wxUSE_UNICODE_UTF8_LOCALE
5107 { echo "$as_me:$LINENO: result: $result" >&5
5108 echo "${ECHO_T}$result" >&6; }
5113 if test -z "$defaultval"; then
5114 if test x"$enablestring" = xdisable; then
5121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5123 # Check whether --enable-extended_rtti was given.
5124 if test "${enable_extended_rtti+set}" = set; then
5125 enableval=$enable_extended_rtti;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5129 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5134 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5139 eval "$wx_cv_use_extended_rtti"
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_EXTENDED_RTTI = no; then
5148 result=$wxUSE_EXTENDED_RTTI
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5154 if test "$USE_OS2" = 1; then
5155 DEFAULT_wxUSE_OMF=no
5159 if test -z "$defaultval"; then
5160 if test x"$enablestring" = xdisable; then
5167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5169 # Check whether --enable-omf was given.
5170 if test "${enable_omf+set}" = set; then
5171 enableval=$enable_omf;
5172 if test "$enableval" = yes; then
5173 wx_cv_use_omf='wxUSE_OMF=yes'
5175 wx_cv_use_omf='wxUSE_OMF=no'
5180 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5185 eval "$wx_cv_use_omf"
5187 if test x"$enablestring" = xdisable; then
5188 if test $wxUSE_OMF = no; then
5197 { echo "$as_me:$LINENO: result: $result" >&5
5198 echo "${ECHO_T}$result" >&6; }
5203 enablestring=disable
5205 if test -z "$defaultval"; then
5206 if test x"$enablestring" = xdisable; then
5213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5214 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5215 # Check whether --enable-optimise was given.
5216 if test "${enable_optimise+set}" = set; then
5217 enableval=$enable_optimise;
5218 if test "$enableval" = yes; then
5219 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5221 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5226 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5231 eval "$wx_cv_use_optimise"
5233 if test x"$enablestring" = xdisable; then
5234 if test $wxUSE_OPTIMISE = no; then
5240 result=$wxUSE_OPTIMISE
5243 { echo "$as_me:$LINENO: result: $result" >&5
5244 echo "${ECHO_T}$result" >&6; }
5250 if test -z "$defaultval"; then
5251 if test x"$enablestring" = xdisable; then
5258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5260 # Check whether --enable-profile was given.
5261 if test "${enable_profile+set}" = set; then
5262 enableval=$enable_profile;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_profile='wxUSE_PROFILE=yes'
5266 wx_cv_use_profile='wxUSE_PROFILE=no'
5271 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5276 eval "$wx_cv_use_profile"
5278 if test x"$enablestring" = xdisable; then
5279 if test $wxUSE_PROFILE = no; then
5285 result=$wxUSE_PROFILE
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5304 # Check whether --enable-no_rtti was given.
5305 if test "${enable_no_rtti+set}" = set; then
5306 enableval=$enable_no_rtti;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5310 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5315 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5320 eval "$wx_cv_use_no_rtti"
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_NO_RTTI = no; then
5329 result=$wxUSE_NO_RTTI
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5338 if test -z "$defaultval"; then
5339 if test x"$enablestring" = xdisable; then
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5348 # Check whether --enable-no_exceptions was given.
5349 if test "${enable_no_exceptions+set}" = set; then
5350 enableval=$enable_no_exceptions;
5351 if test "$enableval" = yes; then
5352 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5354 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5359 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5364 eval "$wx_cv_use_no_exceptions"
5366 if test x"$enablestring" = xdisable; then
5367 if test $wxUSE_NO_EXCEPTIONS = no; then
5373 result=$wxUSE_NO_EXCEPTIONS
5376 { echo "$as_me:$LINENO: result: $result" >&5
5377 echo "${ECHO_T}$result" >&6; }
5382 if test -z "$defaultval"; then
5383 if test x"$enablestring" = xdisable; then
5390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5391 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5392 # Check whether --enable-permissive was given.
5393 if test "${enable_permissive+set}" = set; then
5394 enableval=$enable_permissive;
5395 if test "$enableval" = yes; then
5396 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5398 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5403 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5408 eval "$wx_cv_use_permissive"
5410 if test x"$enablestring" = xdisable; then
5411 if test $wxUSE_PERMISSIVE = no; then
5417 result=$wxUSE_PERMISSIVE
5420 { echo "$as_me:$LINENO: result: $result" >&5
5421 echo "${ECHO_T}$result" >&6; }
5426 if test -z "$defaultval"; then
5427 if test x"$enablestring" = xdisable; then
5434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5436 # Check whether --enable-no_deps was given.
5437 if test "${enable_no_deps+set}" = set; then
5438 enableval=$enable_no_deps;
5439 if test "$enableval" = yes; then
5440 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5442 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5447 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5452 eval "$wx_cv_use_no_deps"
5454 if test x"$enablestring" = xdisable; then
5455 if test $wxUSE_NO_DEPS = no; then
5461 result=$wxUSE_NO_DEPS
5464 { echo "$as_me:$LINENO: result: $result" >&5
5465 echo "${ECHO_T}$result" >&6; }
5468 enablestring=disable
5470 if test -z "$defaultval"; then
5471 if test x"$enablestring" = xdisable; then
5478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5480 # Check whether --enable-vararg_macros was given.
5481 if test "${enable_vararg_macros+set}" = set; then
5482 enableval=$enable_vararg_macros;
5483 if test "$enableval" = yes; then
5484 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5486 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5491 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5496 eval "$wx_cv_use_vararg_macros"
5498 if test x"$enablestring" = xdisable; then
5499 if test $wxUSE_VARARG_MACROS = no; then
5505 result=$wxUSE_VARARG_MACROS
5508 { echo "$as_me:$LINENO: result: $result" >&5
5509 echo "${ECHO_T}$result" >&6; }
5514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5516 # Check whether --enable-universal_binary was given.
5517 if test "${enable_universal_binary+set}" = set; then
5518 enableval=$enable_universal_binary;
5519 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5523 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5528 eval "$wx_cv_use_universal_binary"
5530 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5531 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5537 # Check whether --enable-macosx_arch was given.
5538 if test "${enable_macosx_arch+set}" = set; then
5539 enableval=$enable_macosx_arch;
5540 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5544 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5549 eval "$wx_cv_use_macosx_arch"
5551 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5552 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5558 if test -z "$defaultval"; then
5559 if test x"$enablestring" = xdisable; then
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5568 # Check whether --enable-compat26 was given.
5569 if test "${enable_compat26+set}" = set; then
5570 enableval=$enable_compat26;
5571 if test "$enableval" = yes; then
5572 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5574 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5579 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5584 eval "$wx_cv_use_compat26"
5586 if test x"$enablestring" = xdisable; then
5587 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5593 result=$WXWIN_COMPATIBILITY_2_6
5596 { echo "$as_me:$LINENO: result: $result" >&5
5597 echo "${ECHO_T}$result" >&6; }
5600 enablestring=disable
5602 if test -z "$defaultval"; then
5603 if test x"$enablestring" = xdisable; then
5610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5612 # Check whether --enable-compat28 was given.
5613 if test "${enable_compat28+set}" = set; then
5614 enableval=$enable_compat28;
5615 if test "$enableval" = yes; then
5616 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5618 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5623 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5628 eval "$wx_cv_use_compat28"
5630 if test x"$enablestring" = xdisable; then
5631 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5637 result=$WXWIN_COMPATIBILITY_2_8
5640 { echo "$as_me:$LINENO: result: $result" >&5
5641 echo "${ECHO_T}$result" >&6; }
5645 enablestring=disable
5647 if test -z "$defaultval"; then
5648 if test x"$enablestring" = xdisable; then
5655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5657 # Check whether --enable-rpath was given.
5658 if test "${enable_rpath+set}" = set; then
5659 enableval=$enable_rpath;
5660 if test "$enableval" = yes; then
5661 wx_cv_use_rpath='wxUSE_RPATH=yes'
5663 wx_cv_use_rpath='wxUSE_RPATH=no'
5668 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5673 eval "$wx_cv_use_rpath"
5675 if test x"$enablestring" = xdisable; then
5676 if test $wxUSE_RPATH = no; then
5685 { echo "$as_me:$LINENO: result: $result" >&5
5686 echo "${ECHO_T}$result" >&6; }
5692 if test -z "$defaultval"; then
5693 if test x"$enablestring" = xdisable; then
5700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5702 # Check whether --enable-objc_uniquifying was given.
5703 if test "${enable_objc_uniquifying+set}" = set; then
5704 enableval=$enable_objc_uniquifying;
5705 if test "$enableval" = yes; then
5706 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5708 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5713 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5718 eval "$wx_cv_use_objc_uniquifying"
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5727 result=$wxUSE_OBJC_UNIQUIFYING
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5735 enablestring=disable
5737 if test -z "$defaultval"; then
5738 if test x"$enablestring" = xdisable; then
5745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5747 # Check whether --enable-visibility was given.
5748 if test "${enable_visibility+set}" = set; then
5749 enableval=$enable_visibility;
5750 if test "$enableval" = yes; then
5751 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5753 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5758 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5763 eval "$wx_cv_use_visibility"
5765 if test x"$enablestring" = xdisable; then
5766 if test $wxUSE_VISIBILITY = no; then
5772 result=$wxUSE_VISIBILITY
5775 { echo "$as_me:$LINENO: result: $result" >&5
5776 echo "${ECHO_T}$result" >&6; }
5779 enablestring=disable
5781 if test -z "$defaultval"; then
5782 if test x"$enablestring" = xdisable; then
5789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5791 # Check whether --enable-tls was given.
5792 if test "${enable_tls+set}" = set; then
5793 enableval=$enable_tls;
5794 if test "$enableval" = yes; then
5795 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5797 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5802 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5807 eval "$wx_cv_use_tls"
5809 if test x"$enablestring" = xdisable; then
5810 if test $wxUSE_COMPILER_TLS = no; then
5816 result=$wxUSE_COMPILER_TLS
5819 { echo "$as_me:$LINENO: result: $result" >&5
5820 echo "${ECHO_T}$result" >&6; }
5826 defaultval=$wxUSE_ALL_FEATURES
5827 if test -z "$defaultval"; then
5828 if test x"$enablestring" = xdisable; then
5835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5837 # Check whether --enable-intl was given.
5838 if test "${enable_intl+set}" = set; then
5839 enableval=$enable_intl;
5840 if test "$enableval" = yes; then
5841 wx_cv_use_intl='wxUSE_INTL=yes'
5843 wx_cv_use_intl='wxUSE_INTL=no'
5848 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5853 eval "$wx_cv_use_intl"
5855 if test x"$enablestring" = xdisable; then
5856 if test $wxUSE_INTL = no; then
5865 { echo "$as_me:$LINENO: result: $result" >&5
5866 echo "${ECHO_T}$result" >&6; }
5870 defaultval=$wxUSE_ALL_FEATURES
5871 if test -z "$defaultval"; then
5872 if test x"$enablestring" = xdisable; then
5879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5881 # Check whether --enable-xlocale was given.
5882 if test "${enable_xlocale+set}" = set; then
5883 enableval=$enable_xlocale;
5884 if test "$enableval" = yes; then
5885 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5887 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5892 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5897 eval "$wx_cv_use_xlocale"
5899 if test x"$enablestring" = xdisable; then
5900 if test $wxUSE_XLOCALE = no; then
5906 result=$wxUSE_XLOCALE
5909 { echo "$as_me:$LINENO: result: $result" >&5
5910 echo "${ECHO_T}$result" >&6; }
5914 defaultval=$wxUSE_ALL_FEATURES
5915 if test -z "$defaultval"; then
5916 if test x"$enablestring" = xdisable; then
5923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5924 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5925 # Check whether --enable-config was given.
5926 if test "${enable_config+set}" = set; then
5927 enableval=$enable_config;
5928 if test "$enableval" = yes; then
5929 wx_cv_use_config='wxUSE_CONFIG=yes'
5931 wx_cv_use_config='wxUSE_CONFIG=no'
5936 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5941 eval "$wx_cv_use_config"
5943 if test x"$enablestring" = xdisable; then
5944 if test $wxUSE_CONFIG = no; then
5950 result=$wxUSE_CONFIG
5953 { echo "$as_me:$LINENO: result: $result" >&5
5954 echo "${ECHO_T}$result" >&6; }
5959 defaultval=$wxUSE_ALL_FEATURES
5960 if test -z "$defaultval"; then
5961 if test x"$enablestring" = xdisable; then
5968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5970 # Check whether --enable-protocols was given.
5971 if test "${enable_protocols+set}" = set; then
5972 enableval=$enable_protocols;
5973 if test "$enableval" = yes; then
5974 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5976 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5981 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5986 eval "$wx_cv_use_protocols"
5988 if test x"$enablestring" = xdisable; then
5989 if test $wxUSE_PROTOCOL = no; then
5995 result=$wxUSE_PROTOCOL
5998 { echo "$as_me:$LINENO: result: $result" >&5
5999 echo "${ECHO_T}$result" >&6; }
6003 defaultval=$wxUSE_ALL_FEATURES
6004 if test -z "$defaultval"; then
6005 if test x"$enablestring" = xdisable; then
6012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6014 # Check whether --enable-ftp was given.
6015 if test "${enable_ftp+set}" = set; then
6016 enableval=$enable_ftp;
6017 if test "$enableval" = yes; then
6018 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6020 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6025 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6030 eval "$wx_cv_use_ftp"
6032 if test x"$enablestring" = xdisable; then
6033 if test $wxUSE_PROTOCOL_FTP = no; then
6039 result=$wxUSE_PROTOCOL_FTP
6042 { echo "$as_me:$LINENO: result: $result" >&5
6043 echo "${ECHO_T}$result" >&6; }
6047 defaultval=$wxUSE_ALL_FEATURES
6048 if test -z "$defaultval"; then
6049 if test x"$enablestring" = xdisable; then
6056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6058 # Check whether --enable-http was given.
6059 if test "${enable_http+set}" = set; then
6060 enableval=$enable_http;
6061 if test "$enableval" = yes; then
6062 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6064 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6069 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6074 eval "$wx_cv_use_http"
6076 if test x"$enablestring" = xdisable; then
6077 if test $wxUSE_PROTOCOL_HTTP = no; then
6083 result=$wxUSE_PROTOCOL_HTTP
6086 { echo "$as_me:$LINENO: result: $result" >&5
6087 echo "${ECHO_T}$result" >&6; }
6091 defaultval=$wxUSE_ALL_FEATURES
6092 if test -z "$defaultval"; then
6093 if test x"$enablestring" = xdisable; then
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6102 # Check whether --enable-fileproto was given.
6103 if test "${enable_fileproto+set}" = set; then
6104 enableval=$enable_fileproto;
6105 if test "$enableval" = yes; then
6106 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6108 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6113 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6118 eval "$wx_cv_use_fileproto"
6120 if test x"$enablestring" = xdisable; then
6121 if test $wxUSE_PROTOCOL_FILE = no; then
6127 result=$wxUSE_PROTOCOL_FILE
6130 { echo "$as_me:$LINENO: result: $result" >&5
6131 echo "${ECHO_T}$result" >&6; }
6135 defaultval=$wxUSE_ALL_FEATURES
6136 if test -z "$defaultval"; then
6137 if test x"$enablestring" = xdisable; then
6144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6146 # Check whether --enable-sockets was given.
6147 if test "${enable_sockets+set}" = set; then
6148 enableval=$enable_sockets;
6149 if test "$enableval" = yes; then
6150 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6152 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6157 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6162 eval "$wx_cv_use_sockets"
6164 if test x"$enablestring" = xdisable; then
6165 if test $wxUSE_SOCKETS = no; then
6171 result=$wxUSE_SOCKETS
6174 { echo "$as_me:$LINENO: result: $result" >&5
6175 echo "${ECHO_T}$result" >&6; }
6179 defaultval=$wxUSE_ALL_FEATURES
6180 if test -z "$defaultval"; then
6181 if test x"$enablestring" = xdisable; then
6188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6189 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6190 # Check whether --enable-ipv6 was given.
6191 if test "${enable_ipv6+set}" = set; then
6192 enableval=$enable_ipv6;
6193 if test "$enableval" = yes; then
6194 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6196 wx_cv_use_ipv6='wxUSE_IPV6=no'
6201 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6206 eval "$wx_cv_use_ipv6"
6208 if test x"$enablestring" = xdisable; then
6209 if test $wxUSE_IPV6 = no; then
6218 { echo "$as_me:$LINENO: result: $result" >&5
6219 echo "${ECHO_T}$result" >&6; }
6223 defaultval=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x"$enablestring" = xdisable; then
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6234 # Check whether --enable-ole was given.
6235 if test "${enable_ole+set}" = set; then
6236 enableval=$enable_ole;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_ole='wxUSE_OLE=yes'
6240 wx_cv_use_ole='wxUSE_OLE=no'
6245 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6250 eval "$wx_cv_use_ole"
6252 if test x"$enablestring" = xdisable; then
6253 if test $wxUSE_OLE = no; then
6262 { echo "$as_me:$LINENO: result: $result" >&5
6263 echo "${ECHO_T}$result" >&6; }
6267 defaultval=$wxUSE_ALL_FEATURES
6268 if test -z "$defaultval"; then
6269 if test x"$enablestring" = xdisable; then
6276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6277 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6278 # Check whether --enable-dataobj was given.
6279 if test "${enable_dataobj+set}" = set; then
6280 enableval=$enable_dataobj;
6281 if test "$enableval" = yes; then
6282 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6284 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6289 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6294 eval "$wx_cv_use_dataobj"
6296 if test x"$enablestring" = xdisable; then
6297 if test $wxUSE_DATAOBJ = no; then
6303 result=$wxUSE_DATAOBJ
6306 { echo "$as_me:$LINENO: result: $result" >&5
6307 echo "${ECHO_T}$result" >&6; }
6312 defaultval=$wxUSE_ALL_FEATURES
6313 if test -z "$defaultval"; then
6314 if test x"$enablestring" = xdisable; then
6321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6323 # Check whether --enable-ipc was given.
6324 if test "${enable_ipc+set}" = set; then
6325 enableval=$enable_ipc;
6326 if test "$enableval" = yes; then
6327 wx_cv_use_ipc='wxUSE_IPC=yes'
6329 wx_cv_use_ipc='wxUSE_IPC=no'
6334 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6339 eval "$wx_cv_use_ipc"
6341 if test x"$enablestring" = xdisable; then
6342 if test $wxUSE_IPC = no; then
6351 { echo "$as_me:$LINENO: result: $result" >&5
6352 echo "${ECHO_T}$result" >&6; }
6357 defaultval=$wxUSE_ALL_FEATURES
6358 if test -z "$defaultval"; then
6359 if test x"$enablestring" = xdisable; then
6366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6367 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6368 # Check whether --enable-baseevtloop was given.
6369 if test "${enable_baseevtloop+set}" = set; then
6370 enableval=$enable_baseevtloop;
6371 if test "$enableval" = yes; then
6372 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6374 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6379 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6384 eval "$wx_cv_use_baseevtloop"
6386 if test x"$enablestring" = xdisable; then
6387 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6393 result=$wxUSE_CONSOLE_EVENTLOOP
6396 { echo "$as_me:$LINENO: result: $result" >&5
6397 echo "${ECHO_T}$result" >&6; }
6401 defaultval=$wxUSE_ALL_FEATURES
6402 if test -z "$defaultval"; then
6403 if test x"$enablestring" = xdisable; then
6410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6411 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6412 # Check whether --enable-epollloop was given.
6413 if test "${enable_epollloop+set}" = set; then
6414 enableval=$enable_epollloop;
6415 if test "$enableval" = yes; then
6416 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6418 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6423 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6428 eval "$wx_cv_use_epollloop"
6430 if test x"$enablestring" = xdisable; then
6431 if test $wxUSE_EPOLL_DISPATCHER = no; then
6437 result=$wxUSE_EPOLL_DISPATCHER
6440 { echo "$as_me:$LINENO: result: $result" >&5
6441 echo "${ECHO_T}$result" >&6; }
6445 defaultval=$wxUSE_ALL_FEATURES
6446 if test -z "$defaultval"; then
6447 if test x"$enablestring" = xdisable; then
6454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6455 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6456 # Check whether --enable-selectloop was given.
6457 if test "${enable_selectloop+set}" = set; then
6458 enableval=$enable_selectloop;
6459 if test "$enableval" = yes; then
6460 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6462 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6467 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6472 eval "$wx_cv_use_selectloop"
6474 if test x"$enablestring" = xdisable; then
6475 if test $wxUSE_SELECT_DISPATCHER = no; then
6481 result=$wxUSE_SELECT_DISPATCHER
6484 { echo "$as_me:$LINENO: result: $result" >&5
6485 echo "${ECHO_T}$result" >&6; }
6490 defaultval=$wxUSE_ALL_FEATURES
6491 if test -z "$defaultval"; then
6492 if test x"$enablestring" = xdisable; then
6499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6501 # Check whether --enable-any was given.
6502 if test "${enable_any+set}" = set; then
6503 enableval=$enable_any;
6504 if test "$enableval" = yes; then
6505 wx_cv_use_any='wxUSE_ANY=yes'
6507 wx_cv_use_any='wxUSE_ANY=no'
6512 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6517 eval "$wx_cv_use_any"
6519 if test x"$enablestring" = xdisable; then
6520 if test $wxUSE_ANY = no; then
6529 { echo "$as_me:$LINENO: result: $result" >&5
6530 echo "${ECHO_T}$result" >&6; }
6534 defaultval=$wxUSE_ALL_FEATURES
6535 if test -z "$defaultval"; then
6536 if test x"$enablestring" = xdisable; then
6543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6544 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6545 # Check whether --enable-apple_ieee was given.
6546 if test "${enable_apple_ieee+set}" = set; then
6547 enableval=$enable_apple_ieee;
6548 if test "$enableval" = yes; then
6549 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6551 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6556 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6561 eval "$wx_cv_use_apple_ieee"
6563 if test x"$enablestring" = xdisable; then
6564 if test $wxUSE_APPLE_IEEE = no; then
6570 result=$wxUSE_APPLE_IEEE
6573 { echo "$as_me:$LINENO: result: $result" >&5
6574 echo "${ECHO_T}$result" >&6; }
6578 defaultval=$wxUSE_ALL_FEATURES
6579 if test -z "$defaultval"; then
6580 if test x"$enablestring" = xdisable; then
6587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6588 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6589 # Check whether --enable-arcstream was given.
6590 if test "${enable_arcstream+set}" = set; then
6591 enableval=$enable_arcstream;
6592 if test "$enableval" = yes; then
6593 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6595 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6600 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6605 eval "$wx_cv_use_arcstream"
6607 if test x"$enablestring" = xdisable; then
6608 if test $wxUSE_ARCHIVE_STREAMS = no; then
6614 result=$wxUSE_ARCHIVE_STREAMS
6617 { echo "$as_me:$LINENO: result: $result" >&5
6618 echo "${ECHO_T}$result" >&6; }
6622 defaultval=$wxUSE_ALL_FEATURES
6623 if test -z "$defaultval"; then
6624 if test x"$enablestring" = xdisable; then
6631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6633 # Check whether --enable-base64 was given.
6634 if test "${enable_base64+set}" = set; then
6635 enableval=$enable_base64;
6636 if test "$enableval" = yes; then
6637 wx_cv_use_base64='wxUSE_BASE64=yes'
6639 wx_cv_use_base64='wxUSE_BASE64=no'
6644 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6649 eval "$wx_cv_use_base64"
6651 if test x"$enablestring" = xdisable; then
6652 if test $wxUSE_BASE64 = no; then
6658 result=$wxUSE_BASE64
6661 { echo "$as_me:$LINENO: result: $result" >&5
6662 echo "${ECHO_T}$result" >&6; }
6666 defaultval=$wxUSE_ALL_FEATURES
6667 if test -z "$defaultval"; then
6668 if test x"$enablestring" = xdisable; then
6675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6677 # Check whether --enable-backtrace was given.
6678 if test "${enable_backtrace+set}" = set; then
6679 enableval=$enable_backtrace;
6680 if test "$enableval" = yes; then
6681 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6683 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6688 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6693 eval "$wx_cv_use_backtrace"
6695 if test x"$enablestring" = xdisable; then
6696 if test $wxUSE_STACKWALKER = no; then
6702 result=$wxUSE_STACKWALKER
6705 { echo "$as_me:$LINENO: result: $result" >&5
6706 echo "${ECHO_T}$result" >&6; }
6710 defaultval=$wxUSE_ALL_FEATURES
6711 if test -z "$defaultval"; then
6712 if test x"$enablestring" = xdisable; then
6719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6720 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6721 # Check whether --enable-catch_segvs was given.
6722 if test "${enable_catch_segvs+set}" = set; then
6723 enableval=$enable_catch_segvs;
6724 if test "$enableval" = yes; then
6725 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6727 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6732 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6737 eval "$wx_cv_use_catch_segvs"
6739 if test x"$enablestring" = xdisable; then
6740 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6746 result=$wxUSE_ON_FATAL_EXCEPTION
6749 { echo "$as_me:$LINENO: result: $result" >&5
6750 echo "${ECHO_T}$result" >&6; }
6754 defaultval=$wxUSE_ALL_FEATURES
6755 if test -z "$defaultval"; then
6756 if test x"$enablestring" = xdisable; then
6763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6764 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6765 # Check whether --enable-cmdline was given.
6766 if test "${enable_cmdline+set}" = set; then
6767 enableval=$enable_cmdline;
6768 if test "$enableval" = yes; then
6769 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6771 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6776 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6781 eval "$wx_cv_use_cmdline"
6783 if test x"$enablestring" = xdisable; then
6784 if test $wxUSE_CMDLINE_PARSER = no; then
6790 result=$wxUSE_CMDLINE_PARSER
6793 { echo "$as_me:$LINENO: result: $result" >&5
6794 echo "${ECHO_T}$result" >&6; }
6798 defaultval=$wxUSE_ALL_FEATURES
6799 if test -z "$defaultval"; then
6800 if test x"$enablestring" = xdisable; then
6807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6809 # Check whether --enable-datetime was given.
6810 if test "${enable_datetime+set}" = set; then
6811 enableval=$enable_datetime;
6812 if test "$enableval" = yes; then
6813 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6815 wx_cv_use_datetime='wxUSE_DATETIME=no'
6820 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6825 eval "$wx_cv_use_datetime"
6827 if test x"$enablestring" = xdisable; then
6828 if test $wxUSE_DATETIME = no; then
6834 result=$wxUSE_DATETIME
6837 { echo "$as_me:$LINENO: result: $result" >&5
6838 echo "${ECHO_T}$result" >&6; }
6842 defaultval=$wxUSE_ALL_FEATURES
6843 if test -z "$defaultval"; then
6844 if test x"$enablestring" = xdisable; then
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6853 # Check whether --enable-debugreport was given.
6854 if test "${enable_debugreport+set}" = set; then
6855 enableval=$enable_debugreport;
6856 if test "$enableval" = yes; then
6857 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6859 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6864 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6869 eval "$wx_cv_use_debugreport"
6871 if test x"$enablestring" = xdisable; then
6872 if test $wxUSE_DEBUGREPORT = no; then
6878 result=$wxUSE_DEBUGREPORT
6881 { echo "$as_me:$LINENO: result: $result" >&5
6882 echo "${ECHO_T}$result" >&6; }
6886 defaultval=$wxUSE_ALL_FEATURES
6887 if test -z "$defaultval"; then
6888 if test x"$enablestring" = xdisable; then
6895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6897 # Check whether --enable-dialupman was given.
6898 if test "${enable_dialupman+set}" = set; then
6899 enableval=$enable_dialupman;
6900 if test "$enableval" = yes; then
6901 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6903 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6908 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6913 eval "$wx_cv_use_dialupman"
6915 if test x"$enablestring" = xdisable; then
6916 if test $wxUSE_DIALUP_MANAGER = no; then
6922 result=$wxUSE_DIALUP_MANAGER
6925 { echo "$as_me:$LINENO: result: $result" >&5
6926 echo "${ECHO_T}$result" >&6; }
6930 defaultval=$wxUSE_ALL_FEATURES
6931 if test -z "$defaultval"; then
6932 if test x"$enablestring" = xdisable; then
6939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6941 # Check whether --enable-dynlib was given.
6942 if test "${enable_dynlib+set}" = set; then
6943 enableval=$enable_dynlib;
6944 if test "$enableval" = yes; then
6945 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6947 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6952 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6957 eval "$wx_cv_use_dynlib"
6959 if test x"$enablestring" = xdisable; then
6960 if test $wxUSE_DYNLIB_CLASS = no; then
6966 result=$wxUSE_DYNLIB_CLASS
6969 { echo "$as_me:$LINENO: result: $result" >&5
6970 echo "${ECHO_T}$result" >&6; }
6974 defaultval=$wxUSE_ALL_FEATURES
6975 if test -z "$defaultval"; then
6976 if test x"$enablestring" = xdisable; then
6983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6984 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6985 # Check whether --enable-dynamicloader was given.
6986 if test "${enable_dynamicloader+set}" = set; then
6987 enableval=$enable_dynamicloader;
6988 if test "$enableval" = yes; then
6989 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6991 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6996 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7001 eval "$wx_cv_use_dynamicloader"
7003 if test x"$enablestring" = xdisable; then
7004 if test $wxUSE_DYNAMIC_LOADER = no; then
7010 result=$wxUSE_DYNAMIC_LOADER
7013 { echo "$as_me:$LINENO: result: $result" >&5
7014 echo "${ECHO_T}$result" >&6; }
7018 defaultval=$wxUSE_ALL_FEATURES
7019 if test -z "$defaultval"; then
7020 if test x"$enablestring" = xdisable; then
7027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7029 # Check whether --enable-exceptions was given.
7030 if test "${enable_exceptions+set}" = set; then
7031 enableval=$enable_exceptions;
7032 if test "$enableval" = yes; then
7033 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7035 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7040 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7045 eval "$wx_cv_use_exceptions"
7047 if test x"$enablestring" = xdisable; then
7048 if test $wxUSE_EXCEPTIONS = no; then
7054 result=$wxUSE_EXCEPTIONS
7057 { echo "$as_me:$LINENO: result: $result" >&5
7058 echo "${ECHO_T}$result" >&6; }
7062 defaultval=$wxUSE_ALL_FEATURES
7063 if test -z "$defaultval"; then
7064 if test x"$enablestring" = xdisable; then
7071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7073 # Check whether --enable-ffile was given.
7074 if test "${enable_ffile+set}" = set; then
7075 enableval=$enable_ffile;
7076 if test "$enableval" = yes; then
7077 wx_cv_use_ffile='wxUSE_FFILE=yes'
7079 wx_cv_use_ffile='wxUSE_FFILE=no'
7084 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7089 eval "$wx_cv_use_ffile"
7091 if test x"$enablestring" = xdisable; then
7092 if test $wxUSE_FFILE = no; then
7101 { echo "$as_me:$LINENO: result: $result" >&5
7102 echo "${ECHO_T}$result" >&6; }
7106 defaultval=$wxUSE_ALL_FEATURES
7107 if test -z "$defaultval"; then
7108 if test x"$enablestring" = xdisable; then
7115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7116 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7117 # Check whether --enable-file was given.
7118 if test "${enable_file+set}" = set; then
7119 enableval=$enable_file;
7120 if test "$enableval" = yes; then
7121 wx_cv_use_file='wxUSE_FILE=yes'
7123 wx_cv_use_file='wxUSE_FILE=no'
7128 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7133 eval "$wx_cv_use_file"
7135 if test x"$enablestring" = xdisable; then
7136 if test $wxUSE_FILE = no; then
7145 { echo "$as_me:$LINENO: result: $result" >&5
7146 echo "${ECHO_T}$result" >&6; }
7150 defaultval=$wxUSE_ALL_FEATURES
7151 if test -z "$defaultval"; then
7152 if test x"$enablestring" = xdisable; then
7159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7160 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7161 # Check whether --enable-filehistory was given.
7162 if test "${enable_filehistory+set}" = set; then
7163 enableval=$enable_filehistory;
7164 if test "$enableval" = yes; then
7165 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7167 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7172 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7177 eval "$wx_cv_use_filehistory"
7179 if test x"$enablestring" = xdisable; then
7180 if test $wxUSE_FILE_HISTORY = no; then
7186 result=$wxUSE_FILE_HISTORY
7189 { echo "$as_me:$LINENO: result: $result" >&5
7190 echo "${ECHO_T}$result" >&6; }
7194 defaultval=$wxUSE_ALL_FEATURES
7195 if test -z "$defaultval"; then
7196 if test x"$enablestring" = xdisable; then
7203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7204 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7205 # Check whether --enable-filesystem was given.
7206 if test "${enable_filesystem+set}" = set; then
7207 enableval=$enable_filesystem;
7208 if test "$enableval" = yes; then
7209 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7211 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7216 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7221 eval "$wx_cv_use_filesystem"
7223 if test x"$enablestring" = xdisable; then
7224 if test $wxUSE_FILESYSTEM = no; then
7230 result=$wxUSE_FILESYSTEM
7233 { echo "$as_me:$LINENO: result: $result" >&5
7234 echo "${ECHO_T}$result" >&6; }
7238 defaultval=$wxUSE_ALL_FEATURES
7239 if test -z "$defaultval"; then
7240 if test x"$enablestring" = xdisable; then
7247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7249 # Check whether --enable-fontenum was given.
7250 if test "${enable_fontenum+set}" = set; then
7251 enableval=$enable_fontenum;
7252 if test "$enableval" = yes; then
7253 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7255 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7260 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7265 eval "$wx_cv_use_fontenum"
7267 if test x"$enablestring" = xdisable; then
7268 if test $wxUSE_FONTENUM = no; then
7274 result=$wxUSE_FONTENUM
7277 { echo "$as_me:$LINENO: result: $result" >&5
7278 echo "${ECHO_T}$result" >&6; }
7282 defaultval=$wxUSE_ALL_FEATURES
7283 if test -z "$defaultval"; then
7284 if test x"$enablestring" = xdisable; then
7291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7293 # Check whether --enable-fontmap was given.
7294 if test "${enable_fontmap+set}" = set; then
7295 enableval=$enable_fontmap;
7296 if test "$enableval" = yes; then
7297 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7299 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7304 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7309 eval "$wx_cv_use_fontmap"
7311 if test x"$enablestring" = xdisable; then
7312 if test $wxUSE_FONTMAP = no; then
7318 result=$wxUSE_FONTMAP
7321 { echo "$as_me:$LINENO: result: $result" >&5
7322 echo "${ECHO_T}$result" >&6; }
7326 defaultval=$wxUSE_ALL_FEATURES
7327 if test -z "$defaultval"; then
7328 if test x"$enablestring" = xdisable; then
7335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7337 # Check whether --enable-fs_archive was given.
7338 if test "${enable_fs_archive+set}" = set; then
7339 enableval=$enable_fs_archive;
7340 if test "$enableval" = yes; then
7341 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7343 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7348 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7353 eval "$wx_cv_use_fs_archive"
7355 if test x"$enablestring" = xdisable; then
7356 if test $wxUSE_FS_ARCHIVE = no; then
7362 result=$wxUSE_FS_ARCHIVE
7365 { echo "$as_me:$LINENO: result: $result" >&5
7366 echo "${ECHO_T}$result" >&6; }
7370 defaultval=$wxUSE_ALL_FEATURES
7371 if test -z "$defaultval"; then
7372 if test x"$enablestring" = xdisable; then
7379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7381 # Check whether --enable-fs_inet was given.
7382 if test "${enable_fs_inet+set}" = set; then
7383 enableval=$enable_fs_inet;
7384 if test "$enableval" = yes; then
7385 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7387 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7392 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7397 eval "$wx_cv_use_fs_inet"
7399 if test x"$enablestring" = xdisable; then
7400 if test $wxUSE_FS_INET = no; then
7406 result=$wxUSE_FS_INET
7409 { echo "$as_me:$LINENO: result: $result" >&5
7410 echo "${ECHO_T}$result" >&6; }
7414 defaultval=$wxUSE_ALL_FEATURES
7415 if test -z "$defaultval"; then
7416 if test x"$enablestring" = xdisable; then
7423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7425 # Check whether --enable-fs_zip was given.
7426 if test "${enable_fs_zip+set}" = set; then
7427 enableval=$enable_fs_zip;
7428 if test "$enableval" = yes; then
7429 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7431 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7436 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7441 eval "$wx_cv_use_fs_zip"
7443 if test x"$enablestring" = xdisable; then
7444 if test $wxUSE_FS_ZIP = no; then
7450 result=$wxUSE_FS_ZIP
7453 { echo "$as_me:$LINENO: result: $result" >&5
7454 echo "${ECHO_T}$result" >&6; }
7458 defaultval=$wxUSE_ALL_FEATURES
7459 if test -z "$defaultval"; then
7460 if test x"$enablestring" = xdisable; then
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7469 # Check whether --enable-fswatcher was given.
7470 if test "${enable_fswatcher+set}" = set; then
7471 enableval=$enable_fswatcher;
7472 if test "$enableval" = yes; then
7473 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7475 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7480 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7485 eval "$wx_cv_use_fswatcher"
7487 if test x"$enablestring" = xdisable; then
7488 if test $wxUSE_FSWATCHER = no; then
7494 result=$wxUSE_FSWATCHER
7497 { echo "$as_me:$LINENO: result: $result" >&5
7498 echo "${ECHO_T}$result" >&6; }
7502 defaultval=$wxUSE_ALL_FEATURES
7503 if test -z "$defaultval"; then
7504 if test x"$enablestring" = xdisable; then
7511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7512 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7513 # Check whether --enable-geometry was given.
7514 if test "${enable_geometry+set}" = set; then
7515 enableval=$enable_geometry;
7516 if test "$enableval" = yes; then
7517 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7519 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7524 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7529 eval "$wx_cv_use_geometry"
7531 if test x"$enablestring" = xdisable; then
7532 if test $wxUSE_GEOMETRY = no; then
7538 result=$wxUSE_GEOMETRY
7541 { echo "$as_me:$LINENO: result: $result" >&5
7542 echo "${ECHO_T}$result" >&6; }
7546 defaultval=$wxUSE_ALL_FEATURES
7547 if test -z "$defaultval"; then
7548 if test x"$enablestring" = xdisable; then
7555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7556 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7557 # Check whether --enable-log was given.
7558 if test "${enable_log+set}" = set; then
7559 enableval=$enable_log;
7560 if test "$enableval" = yes; then
7561 wx_cv_use_log='wxUSE_LOG=yes'
7563 wx_cv_use_log='wxUSE_LOG=no'
7568 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7573 eval "$wx_cv_use_log"
7575 if test x"$enablestring" = xdisable; then
7576 if test $wxUSE_LOG = no; then
7585 { echo "$as_me:$LINENO: result: $result" >&5
7586 echo "${ECHO_T}$result" >&6; }
7590 defaultval=$wxUSE_ALL_FEATURES
7591 if test -z "$defaultval"; then
7592 if test x"$enablestring" = xdisable; then
7599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7600 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7601 # Check whether --enable-longlong was given.
7602 if test "${enable_longlong+set}" = set; then
7603 enableval=$enable_longlong;
7604 if test "$enableval" = yes; then
7605 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7607 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7612 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7617 eval "$wx_cv_use_longlong"
7619 if test x"$enablestring" = xdisable; then
7620 if test $wxUSE_LONGLONG = no; then
7626 result=$wxUSE_LONGLONG
7629 { echo "$as_me:$LINENO: result: $result" >&5
7630 echo "${ECHO_T}$result" >&6; }
7634 defaultval=$wxUSE_ALL_FEATURES
7635 if test -z "$defaultval"; then
7636 if test x"$enablestring" = xdisable; then
7643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7644 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7645 # Check whether --enable-mimetype was given.
7646 if test "${enable_mimetype+set}" = set; then
7647 enableval=$enable_mimetype;
7648 if test "$enableval" = yes; then
7649 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7651 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7656 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7661 eval "$wx_cv_use_mimetype"
7663 if test x"$enablestring" = xdisable; then
7664 if test $wxUSE_MIMETYPE = no; then
7670 result=$wxUSE_MIMETYPE
7673 { echo "$as_me:$LINENO: result: $result" >&5
7674 echo "${ECHO_T}$result" >&6; }
7678 defaultval=$wxUSE_ALL_FEATURES
7679 if test -z "$defaultval"; then
7680 if test x"$enablestring" = xdisable; then
7687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7688 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7689 # Check whether --enable-printfposparam was given.
7690 if test "${enable_printfposparam+set}" = set; then
7691 enableval=$enable_printfposparam;
7692 if test "$enableval" = yes; then
7693 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7695 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7700 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7705 eval "$wx_cv_use_printfposparam"
7707 if test x"$enablestring" = xdisable; then
7708 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7714 result=$wxUSE_PRINTF_POS_PARAMS
7717 { echo "$as_me:$LINENO: result: $result" >&5
7718 echo "${ECHO_T}$result" >&6; }
7722 defaultval=$wxUSE_ALL_FEATURES
7723 if test -z "$defaultval"; then
7724 if test x"$enablestring" = xdisable; then
7731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7733 # Check whether --enable-snglinst was given.
7734 if test "${enable_snglinst+set}" = set; then
7735 enableval=$enable_snglinst;
7736 if test "$enableval" = yes; then
7737 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7739 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7744 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7749 eval "$wx_cv_use_snglinst"
7751 if test x"$enablestring" = xdisable; then
7752 if test $wxUSE_SNGLINST_CHECKER = no; then
7758 result=$wxUSE_SNGLINST_CHECKER
7761 { echo "$as_me:$LINENO: result: $result" >&5
7762 echo "${ECHO_T}$result" >&6; }
7766 defaultval=$wxUSE_ALL_FEATURES
7767 if test -z "$defaultval"; then
7768 if test x"$enablestring" = xdisable; then
7775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7776 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7777 # Check whether --enable-sound was given.
7778 if test "${enable_sound+set}" = set; then
7779 enableval=$enable_sound;
7780 if test "$enableval" = yes; then
7781 wx_cv_use_sound='wxUSE_SOUND=yes'
7783 wx_cv_use_sound='wxUSE_SOUND=no'
7788 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7793 eval "$wx_cv_use_sound"
7795 if test x"$enablestring" = xdisable; then
7796 if test $wxUSE_SOUND = no; then
7805 { echo "$as_me:$LINENO: result: $result" >&5
7806 echo "${ECHO_T}$result" >&6; }
7810 defaultval=$wxUSE_ALL_FEATURES
7811 if test -z "$defaultval"; then
7812 if test x"$enablestring" = xdisable; then
7819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7820 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7821 # Check whether --enable-stdpaths was given.
7822 if test "${enable_stdpaths+set}" = set; then
7823 enableval=$enable_stdpaths;
7824 if test "$enableval" = yes; then
7825 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7827 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7832 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7837 eval "$wx_cv_use_stdpaths"
7839 if test x"$enablestring" = xdisable; then
7840 if test $wxUSE_STDPATHS = no; then
7846 result=$wxUSE_STDPATHS
7849 { echo "$as_me:$LINENO: result: $result" >&5
7850 echo "${ECHO_T}$result" >&6; }
7854 defaultval=$wxUSE_ALL_FEATURES
7855 if test -z "$defaultval"; then
7856 if test x"$enablestring" = xdisable; then
7863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7864 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7865 # Check whether --enable-stopwatch was given.
7866 if test "${enable_stopwatch+set}" = set; then
7867 enableval=$enable_stopwatch;
7868 if test "$enableval" = yes; then
7869 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7871 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7876 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7881 eval "$wx_cv_use_stopwatch"
7883 if test x"$enablestring" = xdisable; then
7884 if test $wxUSE_STOPWATCH = no; then
7890 result=$wxUSE_STOPWATCH
7893 { echo "$as_me:$LINENO: result: $result" >&5
7894 echo "${ECHO_T}$result" >&6; }
7898 defaultval=$wxUSE_ALL_FEATURES
7899 if test -z "$defaultval"; then
7900 if test x"$enablestring" = xdisable; then
7907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7908 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7909 # Check whether --enable-streams was given.
7910 if test "${enable_streams+set}" = set; then
7911 enableval=$enable_streams;
7912 if test "$enableval" = yes; then
7913 wx_cv_use_streams='wxUSE_STREAMS=yes'
7915 wx_cv_use_streams='wxUSE_STREAMS=no'
7920 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7925 eval "$wx_cv_use_streams"
7927 if test x"$enablestring" = xdisable; then
7928 if test $wxUSE_STREAMS = no; then
7934 result=$wxUSE_STREAMS
7937 { echo "$as_me:$LINENO: result: $result" >&5
7938 echo "${ECHO_T}$result" >&6; }
7942 defaultval=$wxUSE_ALL_FEATURES
7943 if test -z "$defaultval"; then
7944 if test x"$enablestring" = xdisable; then
7951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7952 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7953 # Check whether --enable-sysoptions was given.
7954 if test "${enable_sysoptions+set}" = set; then
7955 enableval=$enable_sysoptions;
7956 if test "$enableval" = yes; then
7957 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7959 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7964 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7969 eval "$wx_cv_use_sysoptions"
7971 if test x"$enablestring" = xdisable; then
7972 if test $wxUSE_SYSTEM_OPTIONS = no; then
7978 result=$wxUSE_SYSTEM_OPTIONS
7981 { echo "$as_me:$LINENO: result: $result" >&5
7982 echo "${ECHO_T}$result" >&6; }
7986 defaultval=$wxUSE_ALL_FEATURES
7987 if test -z "$defaultval"; then
7988 if test x"$enablestring" = xdisable; then
7995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7997 # Check whether --enable-tarstream was given.
7998 if test "${enable_tarstream+set}" = set; then
7999 enableval=$enable_tarstream;
8000 if test "$enableval" = yes; then
8001 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8003 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8008 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8013 eval "$wx_cv_use_tarstream"
8015 if test x"$enablestring" = xdisable; then
8016 if test $wxUSE_TARSTREAM = no; then
8022 result=$wxUSE_TARSTREAM
8025 { echo "$as_me:$LINENO: result: $result" >&5
8026 echo "${ECHO_T}$result" >&6; }
8030 defaultval=$wxUSE_ALL_FEATURES
8031 if test -z "$defaultval"; then
8032 if test x"$enablestring" = xdisable; then
8039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8040 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8041 # Check whether --enable-textbuf was given.
8042 if test "${enable_textbuf+set}" = set; then
8043 enableval=$enable_textbuf;
8044 if test "$enableval" = yes; then
8045 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8047 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8052 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8057 eval "$wx_cv_use_textbuf"
8059 if test x"$enablestring" = xdisable; then
8060 if test $wxUSE_TEXTBUFFER = no; then
8066 result=$wxUSE_TEXTBUFFER
8069 { echo "$as_me:$LINENO: result: $result" >&5
8070 echo "${ECHO_T}$result" >&6; }
8074 defaultval=$wxUSE_ALL_FEATURES
8075 if test -z "$defaultval"; then
8076 if test x"$enablestring" = xdisable; then
8083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8085 # Check whether --enable-textfile was given.
8086 if test "${enable_textfile+set}" = set; then
8087 enableval=$enable_textfile;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8091 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8096 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8101 eval "$wx_cv_use_textfile"
8103 if test x"$enablestring" = xdisable; then
8104 if test $wxUSE_TEXTFILE = no; then
8110 result=$wxUSE_TEXTFILE
8113 { echo "$as_me:$LINENO: result: $result" >&5
8114 echo "${ECHO_T}$result" >&6; }
8118 defaultval=$wxUSE_ALL_FEATURES
8119 if test -z "$defaultval"; then
8120 if test x"$enablestring" = xdisable; then
8127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8129 # Check whether --enable-timer was given.
8130 if test "${enable_timer+set}" = set; then
8131 enableval=$enable_timer;
8132 if test "$enableval" = yes; then
8133 wx_cv_use_timer='wxUSE_TIMER=yes'
8135 wx_cv_use_timer='wxUSE_TIMER=no'
8140 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8145 eval "$wx_cv_use_timer"
8147 if test x"$enablestring" = xdisable; then
8148 if test $wxUSE_TIMER = no; then
8157 { echo "$as_me:$LINENO: result: $result" >&5
8158 echo "${ECHO_T}$result" >&6; }
8162 defaultval=$wxUSE_ALL_FEATURES
8163 if test -z "$defaultval"; then
8164 if test x"$enablestring" = xdisable; then
8171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8173 # Check whether --enable-variant was given.
8174 if test "${enable_variant+set}" = set; then
8175 enableval=$enable_variant;
8176 if test "$enableval" = yes; then
8177 wx_cv_use_variant='wxUSE_VARIANT=yes'
8179 wx_cv_use_variant='wxUSE_VARIANT=no'
8184 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8189 eval "$wx_cv_use_variant"
8191 if test x"$enablestring" = xdisable; then
8192 if test $wxUSE_VARIANT = no; then
8198 result=$wxUSE_VARIANT
8201 { echo "$as_me:$LINENO: result: $result" >&5
8202 echo "${ECHO_T}$result" >&6; }
8206 defaultval=$wxUSE_ALL_FEATURES
8207 if test -z "$defaultval"; then
8208 if test x"$enablestring" = xdisable; then
8215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8217 # Check whether --enable-zipstream was given.
8218 if test "${enable_zipstream+set}" = set; then
8219 enableval=$enable_zipstream;
8220 if test "$enableval" = yes; then
8221 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8223 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8228 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8233 eval "$wx_cv_use_zipstream"
8235 if test x"$enablestring" = xdisable; then
8236 if test $wxUSE_ZIPSTREAM = no; then
8242 result=$wxUSE_ZIPSTREAM
8245 { echo "$as_me:$LINENO: result: $result" >&5
8246 echo "${ECHO_T}$result" >&6; }
8251 defaultval=$wxUSE_ALL_FEATURES
8252 if test -z "$defaultval"; then
8253 if test x"$enablestring" = xdisable; then
8260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8261 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8262 # Check whether --enable-url was given.
8263 if test "${enable_url+set}" = set; then
8264 enableval=$enable_url;
8265 if test "$enableval" = yes; then
8266 wx_cv_use_url='wxUSE_URL=yes'
8268 wx_cv_use_url='wxUSE_URL=no'
8273 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8278 eval "$wx_cv_use_url"
8280 if test x"$enablestring" = xdisable; then
8281 if test $wxUSE_URL = no; then
8290 { echo "$as_me:$LINENO: result: $result" >&5
8291 echo "${ECHO_T}$result" >&6; }
8295 defaultval=$wxUSE_ALL_FEATURES
8296 if test -z "$defaultval"; then
8297 if test x"$enablestring" = xdisable; then
8304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8306 # Check whether --enable-protocol was given.
8307 if test "${enable_protocol+set}" = set; then
8308 enableval=$enable_protocol;
8309 if test "$enableval" = yes; then
8310 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8312 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8317 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8322 eval "$wx_cv_use_protocol"
8324 if test x"$enablestring" = xdisable; then
8325 if test $wxUSE_PROTOCOL = no; then
8331 result=$wxUSE_PROTOCOL
8334 { echo "$as_me:$LINENO: result: $result" >&5
8335 echo "${ECHO_T}$result" >&6; }
8339 defaultval=$wxUSE_ALL_FEATURES
8340 if test -z "$defaultval"; then
8341 if test x"$enablestring" = xdisable; then
8348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8350 # Check whether --enable-protocol_http was given.
8351 if test "${enable_protocol_http+set}" = set; then
8352 enableval=$enable_protocol_http;
8353 if test "$enableval" = yes; then
8354 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8356 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8361 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8366 eval "$wx_cv_use_protocol_http"
8368 if test x"$enablestring" = xdisable; then
8369 if test $wxUSE_PROTOCOL_HTTP = no; then
8375 result=$wxUSE_PROTOCOL_HTTP
8378 { echo "$as_me:$LINENO: result: $result" >&5
8379 echo "${ECHO_T}$result" >&6; }
8383 defaultval=$wxUSE_ALL_FEATURES
8384 if test -z "$defaultval"; then
8385 if test x"$enablestring" = xdisable; then
8392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8393 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8394 # Check whether --enable-protocol_ftp was given.
8395 if test "${enable_protocol_ftp+set}" = set; then
8396 enableval=$enable_protocol_ftp;
8397 if test "$enableval" = yes; then
8398 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8400 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8405 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8410 eval "$wx_cv_use_protocol_ftp"
8412 if test x"$enablestring" = xdisable; then
8413 if test $wxUSE_PROTOCOL_FTP = no; then
8419 result=$wxUSE_PROTOCOL_FTP
8422 { echo "$as_me:$LINENO: result: $result" >&5
8423 echo "${ECHO_T}$result" >&6; }
8427 defaultval=$wxUSE_ALL_FEATURES
8428 if test -z "$defaultval"; then
8429 if test x"$enablestring" = xdisable; then
8436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8438 # Check whether --enable-protocol_file was given.
8439 if test "${enable_protocol_file+set}" = set; then
8440 enableval=$enable_protocol_file;
8441 if test "$enableval" = yes; then
8442 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8444 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8449 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8454 eval "$wx_cv_use_protocol_file"
8456 if test x"$enablestring" = xdisable; then
8457 if test $wxUSE_PROTOCOL_FILE = no; then
8463 result=$wxUSE_PROTOCOL_FILE
8466 { echo "$as_me:$LINENO: result: $result" >&5
8467 echo "${ECHO_T}$result" >&6; }
8472 defaultval=$wxUSE_ALL_FEATURES
8473 if test -z "$defaultval"; then
8474 if test x"$enablestring" = xdisable; then
8481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8483 # Check whether --enable-threads was given.
8484 if test "${enable_threads+set}" = set; then
8485 enableval=$enable_threads;
8486 if test "$enableval" = yes; then
8487 wx_cv_use_threads='wxUSE_THREADS=yes'
8489 wx_cv_use_threads='wxUSE_THREADS=no'
8494 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8499 eval "$wx_cv_use_threads"
8501 if test x"$enablestring" = xdisable; then
8502 if test $wxUSE_THREADS = no; then
8508 result=$wxUSE_THREADS
8511 { echo "$as_me:$LINENO: result: $result" >&5
8512 echo "${ECHO_T}$result" >&6; }
8518 if test -z "$defaultval"; then
8519 if test x"$enablestring" = xdisable; then
8526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8528 # Check whether --enable-iniconf was given.
8529 if test "${enable_iniconf+set}" = set; then
8530 enableval=$enable_iniconf;
8531 if test "$enableval" = yes; then
8532 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8534 wx_cv_use_iniconf='wxUSE_INICONF=no'
8539 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8544 eval "$wx_cv_use_iniconf"
8546 if test x"$enablestring" = xdisable; then
8547 if test $wxUSE_INICONF = no; then
8553 result=$wxUSE_INICONF
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}-regkey" >&5
8571 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8572 # Check whether --enable-regkey was given.
8573 if test "${enable_regkey+set}" = set; then
8574 enableval=$enable_regkey;
8575 if test "$enableval" = yes; then
8576 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8578 wx_cv_use_regkey='wxUSE_REGKEY=no'
8583 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8588 eval "$wx_cv_use_regkey"
8590 if test x"$enablestring" = xdisable; then
8591 if test $wxUSE_REGKEY = no; then
8597 result=$wxUSE_REGKEY
8600 { echo "$as_me:$LINENO: result: $result" >&5
8601 echo "${ECHO_T}$result" >&6; }
8604 if test "$wxUSE_GUI" = "yes"; then
8609 defaultval=$wxUSE_ALL_FEATURES
8610 if test -z "$defaultval"; then
8611 if test x"$enablestring" = xdisable; then
8618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8619 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8620 # Check whether --enable-docview was given.
8621 if test "${enable_docview+set}" = set; then
8622 enableval=$enable_docview;
8623 if test "$enableval" = yes; then
8624 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8626 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8631 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8636 eval "$wx_cv_use_docview"
8638 if test x"$enablestring" = xdisable; then
8639 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8645 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8648 { echo "$as_me:$LINENO: result: $result" >&5
8649 echo "${ECHO_T}$result" >&6; }
8653 defaultval=$wxUSE_ALL_FEATURES
8654 if test -z "$defaultval"; then
8655 if test x"$enablestring" = xdisable; then
8662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8664 # Check whether --enable-help was given.
8665 if test "${enable_help+set}" = set; then
8666 enableval=$enable_help;
8667 if test "$enableval" = yes; then
8668 wx_cv_use_help='wxUSE_HELP=yes'
8670 wx_cv_use_help='wxUSE_HELP=no'
8675 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8680 eval "$wx_cv_use_help"
8682 if test x"$enablestring" = xdisable; then
8683 if test $wxUSE_HELP = no; then
8692 { echo "$as_me:$LINENO: result: $result" >&5
8693 echo "${ECHO_T}$result" >&6; }
8697 defaultval=$wxUSE_ALL_FEATURES
8698 if test -z "$defaultval"; then
8699 if test x"$enablestring" = xdisable; then
8706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8707 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8708 # Check whether --enable-mshtmlhelp was given.
8709 if test "${enable_mshtmlhelp+set}" = set; then
8710 enableval=$enable_mshtmlhelp;
8711 if test "$enableval" = yes; then
8712 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8714 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8719 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8724 eval "$wx_cv_use_mshtmlhelp"
8726 if test x"$enablestring" = xdisable; then
8727 if test $wxUSE_MS_HTML_HELP = no; then
8733 result=$wxUSE_MS_HTML_HELP
8736 { echo "$as_me:$LINENO: result: $result" >&5
8737 echo "${ECHO_T}$result" >&6; }
8741 defaultval=$wxUSE_ALL_FEATURES
8742 if test -z "$defaultval"; then
8743 if test x"$enablestring" = xdisable; then
8750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8751 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8752 # Check whether --enable-html was given.
8753 if test "${enable_html+set}" = set; then
8754 enableval=$enable_html;
8755 if test "$enableval" = yes; then
8756 wx_cv_use_html='wxUSE_HTML=yes'
8758 wx_cv_use_html='wxUSE_HTML=no'
8763 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8768 eval "$wx_cv_use_html"
8770 if test x"$enablestring" = xdisable; then
8771 if test $wxUSE_HTML = no; then
8780 { echo "$as_me:$LINENO: result: $result" >&5
8781 echo "${ECHO_T}$result" >&6; }
8785 defaultval=$wxUSE_ALL_FEATURES
8786 if test -z "$defaultval"; then
8787 if test x"$enablestring" = xdisable; then
8794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8796 # Check whether --enable-htmlhelp was given.
8797 if test "${enable_htmlhelp+set}" = set; then
8798 enableval=$enable_htmlhelp;
8799 if test "$enableval" = yes; then
8800 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8802 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8807 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8812 eval "$wx_cv_use_htmlhelp"
8814 if test x"$enablestring" = xdisable; then
8815 if test $wxUSE_WXHTML_HELP = no; then
8821 result=$wxUSE_WXHTML_HELP
8824 { echo "$as_me:$LINENO: result: $result" >&5
8825 echo "${ECHO_T}$result" >&6; }
8829 defaultval=$wxUSE_ALL_FEATURES
8830 if test -z "$defaultval"; then
8831 if test x"$enablestring" = xdisable; then
8838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8839 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8840 # Check whether --enable-xrc was given.
8841 if test "${enable_xrc+set}" = set; then
8842 enableval=$enable_xrc;
8843 if test "$enableval" = yes; then
8844 wx_cv_use_xrc='wxUSE_XRC=yes'
8846 wx_cv_use_xrc='wxUSE_XRC=no'
8851 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8856 eval "$wx_cv_use_xrc"
8858 if test x"$enablestring" = xdisable; then
8859 if test $wxUSE_XRC = no; then
8868 { echo "$as_me:$LINENO: result: $result" >&5
8869 echo "${ECHO_T}$result" >&6; }
8873 defaultval=$wxUSE_ALL_FEATURES
8874 if test -z "$defaultval"; then
8875 if test x"$enablestring" = xdisable; then
8882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8883 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8884 # Check whether --enable-aui was given.
8885 if test "${enable_aui+set}" = set; then
8886 enableval=$enable_aui;
8887 if test "$enableval" = yes; then
8888 wx_cv_use_aui='wxUSE_AUI=yes'
8890 wx_cv_use_aui='wxUSE_AUI=no'
8895 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8900 eval "$wx_cv_use_aui"
8902 if test x"$enablestring" = xdisable; then
8903 if test $wxUSE_AUI = no; then
8912 { echo "$as_me:$LINENO: result: $result" >&5
8913 echo "${ECHO_T}$result" >&6; }
8917 defaultval=$wxUSE_ALL_FEATURES
8918 if test -z "$defaultval"; then
8919 if test x"$enablestring" = xdisable; then
8926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8927 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8928 # Check whether --enable-propgrid was given.
8929 if test "${enable_propgrid+set}" = set; then
8930 enableval=$enable_propgrid;
8931 if test "$enableval" = yes; then
8932 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8934 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8939 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8944 eval "$wx_cv_use_propgrid"
8946 if test x"$enablestring" = xdisable; then
8947 if test $wxUSE_PROPGRID = no; then
8953 result=$wxUSE_PROPGRID
8956 { echo "$as_me:$LINENO: result: $result" >&5
8957 echo "${ECHO_T}$result" >&6; }
8961 defaultval=$wxUSE_ALL_FEATURES
8962 if test -z "$defaultval"; then
8963 if test x"$enablestring" = xdisable; then
8970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8971 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8972 # Check whether --enable-ribbon was given.
8973 if test "${enable_ribbon+set}" = set; then
8974 enableval=$enable_ribbon;
8975 if test "$enableval" = yes; then
8976 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8978 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8983 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8988 eval "$wx_cv_use_ribbon"
8990 if test x"$enablestring" = xdisable; then
8991 if test $wxUSE_RIBBON = no; then
8997 result=$wxUSE_RIBBON
9000 { echo "$as_me:$LINENO: result: $result" >&5
9001 echo "${ECHO_T}$result" >&6; }
9005 defaultval=$wxUSE_ALL_FEATURES
9006 if test -z "$defaultval"; then
9007 if test x"$enablestring" = xdisable; then
9014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9016 # Check whether --enable-stc was given.
9017 if test "${enable_stc+set}" = set; then
9018 enableval=$enable_stc;
9019 if test "$enableval" = yes; then
9020 wx_cv_use_stc='wxUSE_STC=yes'
9022 wx_cv_use_stc='wxUSE_STC=no'
9027 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9032 eval "$wx_cv_use_stc"
9034 if test x"$enablestring" = xdisable; then
9035 if test $wxUSE_STC = no; then
9044 { echo "$as_me:$LINENO: result: $result" >&5
9045 echo "${ECHO_T}$result" >&6; }
9049 defaultval=$wxUSE_ALL_FEATURES
9050 if test -z "$defaultval"; then
9051 if test x"$enablestring" = xdisable; then
9058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9060 # Check whether --enable-constraints was given.
9061 if test "${enable_constraints+set}" = set; then
9062 enableval=$enable_constraints;
9063 if test "$enableval" = yes; then
9064 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9066 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9071 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9076 eval "$wx_cv_use_constraints"
9078 if test x"$enablestring" = xdisable; then
9079 if test $wxUSE_CONSTRAINTS = no; then
9085 result=$wxUSE_CONSTRAINTS
9088 { echo "$as_me:$LINENO: result: $result" >&5
9089 echo "${ECHO_T}$result" >&6; }
9093 defaultval=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x"$enablestring" = xdisable; then
9102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9104 # Check whether --enable-loggui was given.
9105 if test "${enable_loggui+set}" = set; then
9106 enableval=$enable_loggui;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9110 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9115 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9120 eval "$wx_cv_use_loggui"
9122 if test x"$enablestring" = xdisable; then
9123 if test $wxUSE_LOGGUI = no; then
9129 result=$wxUSE_LOGGUI
9132 { echo "$as_me:$LINENO: result: $result" >&5
9133 echo "${ECHO_T}$result" >&6; }
9137 defaultval=$wxUSE_ALL_FEATURES
9138 if test -z "$defaultval"; then
9139 if test x"$enablestring" = xdisable; then
9146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9148 # Check whether --enable-logwin was given.
9149 if test "${enable_logwin+set}" = set; then
9150 enableval=$enable_logwin;
9151 if test "$enableval" = yes; then
9152 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9154 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9159 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9164 eval "$wx_cv_use_logwin"
9166 if test x"$enablestring" = xdisable; then
9167 if test $wxUSE_LOGWINDOW = no; then
9173 result=$wxUSE_LOGWINDOW
9176 { echo "$as_me:$LINENO: result: $result" >&5
9177 echo "${ECHO_T}$result" >&6; }
9181 defaultval=$wxUSE_ALL_FEATURES
9182 if test -z "$defaultval"; then
9183 if test x"$enablestring" = xdisable; then
9190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9191 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9192 # Check whether --enable-logdialog was given.
9193 if test "${enable_logdialog+set}" = set; then
9194 enableval=$enable_logdialog;
9195 if test "$enableval" = yes; then
9196 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9198 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9203 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9208 eval "$wx_cv_use_logdialog"
9210 if test x"$enablestring" = xdisable; then
9211 if test $wxUSE_LOGDIALOG = no; then
9217 result=$wxUSE_LOGDIALOG
9220 { echo "$as_me:$LINENO: result: $result" >&5
9221 echo "${ECHO_T}$result" >&6; }
9225 defaultval=$wxUSE_ALL_FEATURES
9226 if test -z "$defaultval"; then
9227 if test x"$enablestring" = xdisable; then
9234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9235 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9236 # Check whether --enable-mdi was given.
9237 if test "${enable_mdi+set}" = set; then
9238 enableval=$enable_mdi;
9239 if test "$enableval" = yes; then
9240 wx_cv_use_mdi='wxUSE_MDI=yes'
9242 wx_cv_use_mdi='wxUSE_MDI=no'
9247 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9252 eval "$wx_cv_use_mdi"
9254 if test x"$enablestring" = xdisable; then
9255 if test $wxUSE_MDI = no; then
9264 { echo "$as_me:$LINENO: result: $result" >&5
9265 echo "${ECHO_T}$result" >&6; }
9269 defaultval=$wxUSE_ALL_FEATURES
9270 if test -z "$defaultval"; then
9271 if test x"$enablestring" = xdisable; then
9278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9279 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9280 # Check whether --enable-mdidoc was given.
9281 if test "${enable_mdidoc+set}" = set; then
9282 enableval=$enable_mdidoc;
9283 if test "$enableval" = yes; then
9284 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9286 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9291 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9296 eval "$wx_cv_use_mdidoc"
9298 if test x"$enablestring" = xdisable; then
9299 if test $wxUSE_MDI_ARCHITECTURE = no; then
9305 result=$wxUSE_MDI_ARCHITECTURE
9308 { echo "$as_me:$LINENO: result: $result" >&5
9309 echo "${ECHO_T}$result" >&6; }
9313 defaultval=$wxUSE_ALL_FEATURES
9314 if test -z "$defaultval"; then
9315 if test x"$enablestring" = xdisable; then
9322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9323 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9324 # Check whether --enable-mediactrl was given.
9325 if test "${enable_mediactrl+set}" = set; then
9326 enableval=$enable_mediactrl;
9327 if test "$enableval" = yes; then
9328 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9330 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9335 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9340 eval "$wx_cv_use_mediactrl"
9342 if test x"$enablestring" = xdisable; then
9343 if test $wxUSE_MEDIACTRL = no; then
9349 result=$wxUSE_MEDIACTRL
9352 { echo "$as_me:$LINENO: result: $result" >&5
9353 echo "${ECHO_T}$result" >&6; }
9357 defaultval=$wxUSE_ALL_FEATURES
9358 if test -z "$defaultval"; then
9359 if test x"$enablestring" = xdisable; then
9366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9368 # Check whether --enable-gstreamer8 was given.
9369 if test "${enable_gstreamer8+set}" = set; then
9370 enableval=$enable_gstreamer8;
9371 if test "$enableval" = yes; then
9372 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9374 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9379 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9384 eval "$wx_cv_use_gstreamer8"
9386 if test x"$enablestring" = xdisable; then
9387 if test $wxUSE_GSTREAMER8 = no; then
9393 result=$wxUSE_GSTREAMER8
9396 { echo "$as_me:$LINENO: result: $result" >&5
9397 echo "${ECHO_T}$result" >&6; }
9401 defaultval=$wxUSE_ALL_FEATURES
9402 if test -z "$defaultval"; then
9403 if test x"$enablestring" = xdisable; then
9410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9411 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9412 # Check whether --enable-webkit was given.
9413 if test "${enable_webkit+set}" = set; then
9414 enableval=$enable_webkit;
9415 if test "$enableval" = yes; then
9416 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9418 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9423 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9428 eval "$wx_cv_use_webkit"
9430 if test x"$enablestring" = xdisable; then
9431 if test $wxUSE_WEBKIT = no; then
9437 result=$wxUSE_WEBKIT
9440 { echo "$as_me:$LINENO: result: $result" >&5
9441 echo "${ECHO_T}$result" >&6; }
9445 defaultval=$wxUSE_ALL_FEATURES
9446 if test -z "$defaultval"; then
9447 if test x"$enablestring" = xdisable; then
9454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9456 # Check whether --enable-richtext was given.
9457 if test "${enable_richtext+set}" = set; then
9458 enableval=$enable_richtext;
9459 if test "$enableval" = yes; then
9460 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9462 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9467 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9472 eval "$wx_cv_use_richtext"
9474 if test x"$enablestring" = xdisable; then
9475 if test $wxUSE_RICHTEXT = no; then
9481 result=$wxUSE_RICHTEXT
9484 { echo "$as_me:$LINENO: result: $result" >&5
9485 echo "${ECHO_T}$result" >&6; }
9489 defaultval=$wxUSE_ALL_FEATURES
9490 if test -z "$defaultval"; then
9491 if test x"$enablestring" = xdisable; then
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9500 # Check whether --enable-postscript was given.
9501 if test "${enable_postscript+set}" = set; then
9502 enableval=$enable_postscript;
9503 if test "$enableval" = yes; then
9504 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9506 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9511 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9516 eval "$wx_cv_use_postscript"
9518 if test x"$enablestring" = xdisable; then
9519 if test $wxUSE_POSTSCRIPT = no; then
9525 result=$wxUSE_POSTSCRIPT
9528 { echo "$as_me:$LINENO: result: $result" >&5
9529 echo "${ECHO_T}$result" >&6; }
9533 defaultval=$wxUSE_ALL_FEATURES
9534 if test -z "$defaultval"; then
9535 if test x"$enablestring" = xdisable; then
9542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9543 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9544 # Check whether --enable-printarch was given.
9545 if test "${enable_printarch+set}" = set; then
9546 enableval=$enable_printarch;
9547 if test "$enableval" = yes; then
9548 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9550 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9555 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9560 eval "$wx_cv_use_printarch"
9562 if test x"$enablestring" = xdisable; then
9563 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9569 result=$wxUSE_PRINTING_ARCHITECTURE
9572 { echo "$as_me:$LINENO: result: $result" >&5
9573 echo "${ECHO_T}$result" >&6; }
9577 defaultval=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x"$enablestring" = xdisable; then
9586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9588 # Check whether --enable-svg was given.
9589 if test "${enable_svg+set}" = set; then
9590 enableval=$enable_svg;
9591 if test "$enableval" = yes; then
9592 wx_cv_use_svg='wxUSE_SVG=yes'
9594 wx_cv_use_svg='wxUSE_SVG=no'
9599 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9604 eval "$wx_cv_use_svg"
9606 if test x"$enablestring" = xdisable; then
9607 if test $wxUSE_SVG = no; then
9616 { echo "$as_me:$LINENO: result: $result" >&5
9617 echo "${ECHO_T}$result" >&6; }
9620 if test "$wxUSE_MAC" != 1; then
9623 defaultval=$wxUSE_ALL_FEATURES
9624 if test -z "$defaultval"; then
9625 if test x"$enablestring" = xdisable; then
9632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9634 # Check whether --enable-graphics_ctx was given.
9635 if test "${enable_graphics_ctx+set}" = set; then
9636 enableval=$enable_graphics_ctx;
9637 if test "$enableval" = yes; then
9638 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9640 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9645 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9650 eval "$wx_cv_use_graphics_ctx"
9652 if test x"$enablestring" = xdisable; then
9653 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9659 result=$wxUSE_GRAPHICS_CONTEXT
9662 { echo "$as_me:$LINENO: result: $result" >&5
9663 echo "${ECHO_T}$result" >&6; }
9670 defaultval=$wxUSE_ALL_FEATURES
9671 if test -z "$defaultval"; then
9672 if test x"$enablestring" = xdisable; then
9679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9681 # Check whether --enable-clipboard was given.
9682 if test "${enable_clipboard+set}" = set; then
9683 enableval=$enable_clipboard;
9684 if test "$enableval" = yes; then
9685 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9687 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9692 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9697 eval "$wx_cv_use_clipboard"
9699 if test x"$enablestring" = xdisable; then
9700 if test $wxUSE_CLIPBOARD = no; then
9706 result=$wxUSE_CLIPBOARD
9709 { echo "$as_me:$LINENO: result: $result" >&5
9710 echo "${ECHO_T}$result" >&6; }
9714 defaultval=$wxUSE_ALL_FEATURES
9715 if test -z "$defaultval"; then
9716 if test x"$enablestring" = xdisable; then
9723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9725 # Check whether --enable-dnd was given.
9726 if test "${enable_dnd+set}" = set; then
9727 enableval=$enable_dnd;
9728 if test "$enableval" = yes; then
9729 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9731 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9736 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9741 eval "$wx_cv_use_dnd"
9743 if test x"$enablestring" = xdisable; then
9744 if test $wxUSE_DRAG_AND_DROP = no; then
9750 result=$wxUSE_DRAG_AND_DROP
9753 { echo "$as_me:$LINENO: result: $result" >&5
9754 echo "${ECHO_T}$result" >&6; }
9758 defaultval=$wxUSE_ALL_FEATURES
9759 if test -z "$defaultval"; then
9760 if test x"$enablestring" = xdisable; then
9767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9768 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9769 # Check whether --enable-metafile was given.
9770 if test "${enable_metafile+set}" = set; then
9771 enableval=$enable_metafile;
9772 if test "$enableval" = yes; then
9773 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9775 wx_cv_use_metafile='wxUSE_METAFILE=no'
9780 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9785 eval "$wx_cv_use_metafile"
9787 if test x"$enablestring" = xdisable; then
9788 if test $wxUSE_METAFILE = no; then
9794 result=$wxUSE_METAFILE
9797 { echo "$as_me:$LINENO: result: $result" >&5
9798 echo "${ECHO_T}$result" >&6; }
9802 DEFAULT_wxUSE_CONTROLS=none
9804 enablestring=disable
9806 if test -z "$defaultval"; then
9807 if test x"$enablestring" = xdisable; then
9814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9816 # Check whether --enable-controls was given.
9817 if test "${enable_controls+set}" = set; then
9818 enableval=$enable_controls;
9819 if test "$enableval" = yes; then
9820 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9822 wx_cv_use_controls='wxUSE_CONTROLS=no'
9827 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9832 eval "$wx_cv_use_controls"
9834 if test x"$enablestring" = xdisable; then
9835 if test $wxUSE_CONTROLS = no; then
9841 result=$wxUSE_CONTROLS
9844 { echo "$as_me:$LINENO: result: $result" >&5
9845 echo "${ECHO_T}$result" >&6; }
9848 if test "$wxUSE_CONTROLS" = "no"; then
9849 DEFAULT_wxUSE_ACCEL=no
9850 DEFAULT_wxUSE_ANIMATIONCTRL=no
9851 DEFAULT_wxUSE_BMPBUTTON=no
9852 DEFAULT_wxUSE_BUTTON=no
9853 DEFAULT_wxUSE_CALCTRL=no
9854 DEFAULT_wxUSE_CARET=no
9855 DEFAULT_wxUSE_CHECKBOX=no
9856 DEFAULT_wxUSE_CHECKLISTBOX=no
9857 DEFAULT_wxUSE_CHOICE=no
9858 DEFAULT_wxUSE_CHOICEBOOK=no
9859 DEFAULT_wxUSE_COLLPANE=no
9860 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9861 DEFAULT_wxUSE_COMBOBOX=no
9862 DEFAULT_wxUSE_COMBOBOX=no
9863 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9864 DEFAULT_wxUSE_DATAVIEWCTRL=no
9865 DEFAULT_wxUSE_DATEPICKCTRL=no
9866 DEFAULT_wxUSE_DETECT_SM=no
9867 DEFAULT_wxUSE_DIRPICKERCTRL=no
9868 DEFAULT_wxUSE_DISPLAY=no
9869 DEFAULT_wxUSE_FILECTRL=no
9870 DEFAULT_wxUSE_FILEPICKERCTRL=no
9871 DEFAULT_wxUSE_FONTPICKERCTRL=no
9872 DEFAULT_wxUSE_GAUGE=no
9873 DEFAULT_wxUSE_GRID=no
9874 DEFAULT_wxUSE_HEADERCTRL=no
9875 DEFAULT_wxUSE_HYPERLINKCTRL=no
9876 DEFAULT_wxUSE_IMAGLIST=no
9877 DEFAULT_wxUSE_LISTBOOK=no
9878 DEFAULT_wxUSE_LISTBOX=no
9879 DEFAULT_wxUSE_LISTCTRL=no
9880 DEFAULT_wxUSE_MARKUP=no
9881 DEFAULT_wxUSE_NOTEBOOK=no
9882 DEFAULT_wxUSE_POPUPWIN=no
9883 DEFAULT_wxUSE_RADIOBOX=no
9884 DEFAULT_wxUSE_RADIOBTN=no
9885 DEFAULT_wxUSE_RICHMSGDLG=no
9886 DEFAULT_wxUSE_REARRANGECTRL=no
9887 DEFAULT_wxUSE_SASH=no
9888 DEFAULT_wxUSE_SCROLLBAR=no
9889 DEFAULT_wxUSE_SEARCHCTRL=no
9890 DEFAULT_wxUSE_SLIDER=no
9891 DEFAULT_wxUSE_SPINBTN=no
9892 DEFAULT_wxUSE_SPINCTRL=no
9893 DEFAULT_wxUSE_SPLITTER=no
9894 DEFAULT_wxUSE_STATBMP=no
9895 DEFAULT_wxUSE_STATBOX=no
9896 DEFAULT_wxUSE_STATLINE=no
9897 DEFAULT_wxUSE_STATUSBAR=no
9898 DEFAULT_wxUSE_TIPWINDOW=no
9899 DEFAULT_wxUSE_TOGGLEBTN=no
9900 DEFAULT_wxUSE_TOOLBAR=no
9901 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9902 DEFAULT_wxUSE_TOOLBOOK=no
9903 DEFAULT_wxUSE_TOOLTIPS=no
9904 DEFAULT_wxUSE_TREEBOOK=no
9905 DEFAULT_wxUSE_TREECTRL=no
9910 defaultval=$wxUSE_ALL_FEATURES
9911 if test -z "$defaultval"; then
9912 if test x"$enablestring" = xdisable; then
9919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9921 # Check whether --enable-markup was given.
9922 if test "${enable_markup+set}" = set; then
9923 enableval=$enable_markup;
9924 if test "$enableval" = yes; then
9925 wx_cv_use_markup='wxUSE_MARKUP=yes'
9927 wx_cv_use_markup='wxUSE_MARKUP=no'
9932 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9937 eval "$wx_cv_use_markup"
9939 if test x"$enablestring" = xdisable; then
9940 if test $wxUSE_MARKUP = no; then
9946 result=$wxUSE_MARKUP
9949 { echo "$as_me:$LINENO: result: $result" >&5
9950 echo "${ECHO_T}$result" >&6; }
9955 defaultval=$wxUSE_ALL_FEATURES
9956 if test -z "$defaultval"; then
9957 if test x"$enablestring" = xdisable; then
9964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9966 # Check whether --enable-accel was given.
9967 if test "${enable_accel+set}" = set; then
9968 enableval=$enable_accel;
9969 if test "$enableval" = yes; then
9970 wx_cv_use_accel='wxUSE_ACCEL=yes'
9972 wx_cv_use_accel='wxUSE_ACCEL=no'
9977 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9982 eval "$wx_cv_use_accel"
9984 if test x"$enablestring" = xdisable; then
9985 if test $wxUSE_ACCEL = no; then
9994 { echo "$as_me:$LINENO: result: $result" >&5
9995 echo "${ECHO_T}$result" >&6; }
9999 defaultval=$wxUSE_ALL_FEATURES
10000 if test -z "$defaultval"; then
10001 if test x"$enablestring" = xdisable; then
10008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10010 # Check whether --enable-animatectrl was given.
10011 if test "${enable_animatectrl+set}" = set; then
10012 enableval=$enable_animatectrl;
10013 if test "$enableval" = yes; then
10014 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10016 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10021 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10026 eval "$wx_cv_use_animatectrl"
10028 if test x"$enablestring" = xdisable; then
10029 if test $wxUSE_ANIMATIONCTRL = no; then
10035 result=$wxUSE_ANIMATIONCTRL
10038 { echo "$as_me:$LINENO: result: $result" >&5
10039 echo "${ECHO_T}$result" >&6; }
10043 defaultval=$wxUSE_ALL_FEATURES
10044 if test -z "$defaultval"; then
10045 if test x"$enablestring" = xdisable; then
10052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10053 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10054 # Check whether --enable-artstd was given.
10055 if test "${enable_artstd+set}" = set; then
10056 enableval=$enable_artstd;
10057 if test "$enableval" = yes; then
10058 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10060 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10065 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10070 eval "$wx_cv_use_artstd"
10072 if test x"$enablestring" = xdisable; then
10073 if test $wxUSE_ARTPROVIDER_STD = no; then
10079 result=$wxUSE_ARTPROVIDER_STD
10082 { echo "$as_me:$LINENO: result: $result" >&5
10083 echo "${ECHO_T}$result" >&6; }
10087 defaultval=$wxUSE_ALL_FEATURES
10088 if test -z "$defaultval"; then
10089 if test x"$enablestring" = xdisable; then
10096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10098 # Check whether --enable-arttango was given.
10099 if test "${enable_arttango+set}" = set; then
10100 enableval=$enable_arttango;
10101 if test "$enableval" = yes; then
10102 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10104 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10109 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10114 eval "$wx_cv_use_arttango"
10116 if test x"$enablestring" = xdisable; then
10117 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10123 result=$wxUSE_ARTPROVIDER_TANGO
10126 { echo "$as_me:$LINENO: result: $result" >&5
10127 echo "${ECHO_T}$result" >&6; }
10131 defaultval=$wxUSE_ALL_FEATURES
10132 if test -z "$defaultval"; then
10133 if test x"$enablestring" = xdisable; then
10140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10141 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10142 # Check whether --enable-bmpbutton was given.
10143 if test "${enable_bmpbutton+set}" = set; then
10144 enableval=$enable_bmpbutton;
10145 if test "$enableval" = yes; then
10146 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10148 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10153 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10158 eval "$wx_cv_use_bmpbutton"
10160 if test x"$enablestring" = xdisable; then
10161 if test $wxUSE_BMPBUTTON = no; then
10167 result=$wxUSE_BMPBUTTON
10170 { echo "$as_me:$LINENO: result: $result" >&5
10171 echo "${ECHO_T}$result" >&6; }
10175 defaultval=$wxUSE_ALL_FEATURES
10176 if test -z "$defaultval"; then
10177 if test x"$enablestring" = xdisable; then
10184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10185 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10186 # Check whether --enable-bmpcombobox was given.
10187 if test "${enable_bmpcombobox+set}" = set; then
10188 enableval=$enable_bmpcombobox;
10189 if test "$enableval" = yes; then
10190 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10192 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10197 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10202 eval "$wx_cv_use_bmpcombobox"
10204 if test x"$enablestring" = xdisable; then
10205 if test $wxUSE_BITMAPCOMBOBOX = no; then
10211 result=$wxUSE_BITMAPCOMBOBOX
10214 { echo "$as_me:$LINENO: result: $result" >&5
10215 echo "${ECHO_T}$result" >&6; }
10219 defaultval=$wxUSE_ALL_FEATURES
10220 if test -z "$defaultval"; then
10221 if test x"$enablestring" = xdisable; then
10228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10229 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10230 # Check whether --enable-button was given.
10231 if test "${enable_button+set}" = set; then
10232 enableval=$enable_button;
10233 if test "$enableval" = yes; then
10234 wx_cv_use_button='wxUSE_BUTTON=yes'
10236 wx_cv_use_button='wxUSE_BUTTON=no'
10241 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10246 eval "$wx_cv_use_button"
10248 if test x"$enablestring" = xdisable; then
10249 if test $wxUSE_BUTTON = no; then
10255 result=$wxUSE_BUTTON
10258 { echo "$as_me:$LINENO: result: $result" >&5
10259 echo "${ECHO_T}$result" >&6; }
10263 defaultval=$wxUSE_ALL_FEATURES
10264 if test -z "$defaultval"; then
10265 if test x"$enablestring" = xdisable; then
10272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10273 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10274 # Check whether --enable-calendar was given.
10275 if test "${enable_calendar+set}" = set; then
10276 enableval=$enable_calendar;
10277 if test "$enableval" = yes; then
10278 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10280 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10285 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10290 eval "$wx_cv_use_calendar"
10292 if test x"$enablestring" = xdisable; then
10293 if test $wxUSE_CALCTRL = no; then
10299 result=$wxUSE_CALCTRL
10302 { echo "$as_me:$LINENO: result: $result" >&5
10303 echo "${ECHO_T}$result" >&6; }
10307 defaultval=$wxUSE_ALL_FEATURES
10308 if test -z "$defaultval"; then
10309 if test x"$enablestring" = xdisable; then
10316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10317 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10318 # Check whether --enable-caret was given.
10319 if test "${enable_caret+set}" = set; then
10320 enableval=$enable_caret;
10321 if test "$enableval" = yes; then
10322 wx_cv_use_caret='wxUSE_CARET=yes'
10324 wx_cv_use_caret='wxUSE_CARET=no'
10329 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10334 eval "$wx_cv_use_caret"
10336 if test x"$enablestring" = xdisable; then
10337 if test $wxUSE_CARET = no; then
10343 result=$wxUSE_CARET
10346 { echo "$as_me:$LINENO: result: $result" >&5
10347 echo "${ECHO_T}$result" >&6; }
10351 defaultval=$wxUSE_ALL_FEATURES
10352 if test -z "$defaultval"; then
10353 if test x"$enablestring" = xdisable; then
10360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10361 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10362 # Check whether --enable-checkbox was given.
10363 if test "${enable_checkbox+set}" = set; then
10364 enableval=$enable_checkbox;
10365 if test "$enableval" = yes; then
10366 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10368 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10373 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10378 eval "$wx_cv_use_checkbox"
10380 if test x"$enablestring" = xdisable; then
10381 if test $wxUSE_CHECKBOX = no; then
10387 result=$wxUSE_CHECKBOX
10390 { echo "$as_me:$LINENO: result: $result" >&5
10391 echo "${ECHO_T}$result" >&6; }
10395 defaultval=$wxUSE_ALL_FEATURES
10396 if test -z "$defaultval"; then
10397 if test x"$enablestring" = xdisable; then
10404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10405 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10406 # Check whether --enable-checklst was given.
10407 if test "${enable_checklst+set}" = set; then
10408 enableval=$enable_checklst;
10409 if test "$enableval" = yes; then
10410 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10412 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10417 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10422 eval "$wx_cv_use_checklst"
10424 if test x"$enablestring" = xdisable; then
10425 if test $wxUSE_CHECKLST = no; then
10431 result=$wxUSE_CHECKLST
10434 { echo "$as_me:$LINENO: result: $result" >&5
10435 echo "${ECHO_T}$result" >&6; }
10439 defaultval=$wxUSE_ALL_FEATURES
10440 if test -z "$defaultval"; then
10441 if test x"$enablestring" = xdisable; then
10448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10450 # Check whether --enable-choice was given.
10451 if test "${enable_choice+set}" = set; then
10452 enableval=$enable_choice;
10453 if test "$enableval" = yes; then
10454 wx_cv_use_choice='wxUSE_CHOICE=yes'
10456 wx_cv_use_choice='wxUSE_CHOICE=no'
10461 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10466 eval "$wx_cv_use_choice"
10468 if test x"$enablestring" = xdisable; then
10469 if test $wxUSE_CHOICE = no; then
10475 result=$wxUSE_CHOICE
10478 { echo "$as_me:$LINENO: result: $result" >&5
10479 echo "${ECHO_T}$result" >&6; }
10483 defaultval=$wxUSE_ALL_FEATURES
10484 if test -z "$defaultval"; then
10485 if test x"$enablestring" = xdisable; then
10492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10494 # Check whether --enable-choicebook was given.
10495 if test "${enable_choicebook+set}" = set; then
10496 enableval=$enable_choicebook;
10497 if test "$enableval" = yes; then
10498 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10500 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10505 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10510 eval "$wx_cv_use_choicebook"
10512 if test x"$enablestring" = xdisable; then
10513 if test $wxUSE_CHOICEBOOK = no; then
10519 result=$wxUSE_CHOICEBOOK
10522 { echo "$as_me:$LINENO: result: $result" >&5
10523 echo "${ECHO_T}$result" >&6; }
10527 defaultval=$wxUSE_ALL_FEATURES
10528 if test -z "$defaultval"; then
10529 if test x"$enablestring" = xdisable; then
10536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10538 # Check whether --enable-collpane was given.
10539 if test "${enable_collpane+set}" = set; then
10540 enableval=$enable_collpane;
10541 if test "$enableval" = yes; then
10542 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10544 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10549 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10554 eval "$wx_cv_use_collpane"
10556 if test x"$enablestring" = xdisable; then
10557 if test $wxUSE_COLLPANE = no; then
10563 result=$wxUSE_COLLPANE
10566 { echo "$as_me:$LINENO: result: $result" >&5
10567 echo "${ECHO_T}$result" >&6; }
10571 defaultval=$wxUSE_ALL_FEATURES
10572 if test -z "$defaultval"; then
10573 if test x"$enablestring" = xdisable; then
10580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10581 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10582 # Check whether --enable-colourpicker was given.
10583 if test "${enable_colourpicker+set}" = set; then
10584 enableval=$enable_colourpicker;
10585 if test "$enableval" = yes; then
10586 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10588 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10593 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10598 eval "$wx_cv_use_colourpicker"
10600 if test x"$enablestring" = xdisable; then
10601 if test $wxUSE_COLOURPICKERCTRL = no; then
10607 result=$wxUSE_COLOURPICKERCTRL
10610 { echo "$as_me:$LINENO: result: $result" >&5
10611 echo "${ECHO_T}$result" >&6; }
10615 defaultval=$wxUSE_ALL_FEATURES
10616 if test -z "$defaultval"; then
10617 if test x"$enablestring" = xdisable; then
10624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10625 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10626 # Check whether --enable-combobox was given.
10627 if test "${enable_combobox+set}" = set; then
10628 enableval=$enable_combobox;
10629 if test "$enableval" = yes; then
10630 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10632 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10637 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10642 eval "$wx_cv_use_combobox"
10644 if test x"$enablestring" = xdisable; then
10645 if test $wxUSE_COMBOBOX = no; then
10651 result=$wxUSE_COMBOBOX
10654 { echo "$as_me:$LINENO: result: $result" >&5
10655 echo "${ECHO_T}$result" >&6; }
10659 defaultval=$wxUSE_ALL_FEATURES
10660 if test -z "$defaultval"; then
10661 if test x"$enablestring" = xdisable; then
10668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10670 # Check whether --enable-comboctrl was given.
10671 if test "${enable_comboctrl+set}" = set; then
10672 enableval=$enable_comboctrl;
10673 if test "$enableval" = yes; then
10674 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10676 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10681 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10686 eval "$wx_cv_use_comboctrl"
10688 if test x"$enablestring" = xdisable; then
10689 if test $wxUSE_COMBOCTRL = no; then
10695 result=$wxUSE_COMBOCTRL
10698 { echo "$as_me:$LINENO: result: $result" >&5
10699 echo "${ECHO_T}$result" >&6; }
10703 defaultval=$wxUSE_ALL_FEATURES
10704 if test -z "$defaultval"; then
10705 if test x"$enablestring" = xdisable; then
10712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10713 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10714 # Check whether --enable-commandlinkbutton was given.
10715 if test "${enable_commandlinkbutton+set}" = set; then
10716 enableval=$enable_commandlinkbutton;
10717 if test "$enableval" = yes; then
10718 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10720 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10725 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10730 eval "$wx_cv_use_commandlinkbutton"
10732 if test x"$enablestring" = xdisable; then
10733 if test $wxUSE_COMMANDLINKBUTTON = no; then
10739 result=$wxUSE_COMMANDLINKBUTTON
10742 { echo "$as_me:$LINENO: result: $result" >&5
10743 echo "${ECHO_T}$result" >&6; }
10747 defaultval=$wxUSE_ALL_FEATURES
10748 if test -z "$defaultval"; then
10749 if test x"$enablestring" = xdisable; then
10756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10757 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10758 # Check whether --enable-dataviewctrl was given.
10759 if test "${enable_dataviewctrl+set}" = set; then
10760 enableval=$enable_dataviewctrl;
10761 if test "$enableval" = yes; then
10762 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10764 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10769 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10774 eval "$wx_cv_use_dataviewctrl"
10776 if test x"$enablestring" = xdisable; then
10777 if test $wxUSE_DATAVIEWCTRL = no; then
10783 result=$wxUSE_DATAVIEWCTRL
10786 { echo "$as_me:$LINENO: result: $result" >&5
10787 echo "${ECHO_T}$result" >&6; }
10791 defaultval=$wxUSE_ALL_FEATURES
10792 if test -z "$defaultval"; then
10793 if test x"$enablestring" = xdisable; then
10800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10801 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10802 # Check whether --enable-datepick was given.
10803 if test "${enable_datepick+set}" = set; then
10804 enableval=$enable_datepick;
10805 if test "$enableval" = yes; then
10806 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10808 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10813 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10818 eval "$wx_cv_use_datepick"
10820 if test x"$enablestring" = xdisable; then
10821 if test $wxUSE_DATEPICKCTRL = no; then
10827 result=$wxUSE_DATEPICKCTRL
10830 { echo "$as_me:$LINENO: result: $result" >&5
10831 echo "${ECHO_T}$result" >&6; }
10835 defaultval=$wxUSE_ALL_FEATURES
10836 if test -z "$defaultval"; then
10837 if test x"$enablestring" = xdisable; then
10844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10845 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10846 # Check whether --enable-detect_sm was given.
10847 if test "${enable_detect_sm+set}" = set; then
10848 enableval=$enable_detect_sm;
10849 if test "$enableval" = yes; then
10850 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10852 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10857 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10862 eval "$wx_cv_use_detect_sm"
10864 if test x"$enablestring" = xdisable; then
10865 if test $wxUSE_DETECT_SM = no; then
10871 result=$wxUSE_DETECT_SM
10874 { echo "$as_me:$LINENO: result: $result" >&5
10875 echo "${ECHO_T}$result" >&6; }
10879 defaultval=$wxUSE_ALL_FEATURES
10880 if test -z "$defaultval"; then
10881 if test x"$enablestring" = xdisable; then
10888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10889 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10890 # Check whether --enable-dirpicker was given.
10891 if test "${enable_dirpicker+set}" = set; then
10892 enableval=$enable_dirpicker;
10893 if test "$enableval" = yes; then
10894 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10896 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10901 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10906 eval "$wx_cv_use_dirpicker"
10908 if test x"$enablestring" = xdisable; then
10909 if test $wxUSE_DIRPICKERCTRL = no; then
10915 result=$wxUSE_DIRPICKERCTRL
10918 { echo "$as_me:$LINENO: result: $result" >&5
10919 echo "${ECHO_T}$result" >&6; }
10923 defaultval=$wxUSE_ALL_FEATURES
10924 if test -z "$defaultval"; then
10925 if test x"$enablestring" = xdisable; then
10932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10933 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10934 # Check whether --enable-display was given.
10935 if test "${enable_display+set}" = set; then
10936 enableval=$enable_display;
10937 if test "$enableval" = yes; then
10938 wx_cv_use_display='wxUSE_DISPLAY=yes'
10940 wx_cv_use_display='wxUSE_DISPLAY=no'
10945 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10950 eval "$wx_cv_use_display"
10952 if test x"$enablestring" = xdisable; then
10953 if test $wxUSE_DISPLAY = no; then
10959 result=$wxUSE_DISPLAY
10962 { echo "$as_me:$LINENO: result: $result" >&5
10963 echo "${ECHO_T}$result" >&6; }
10967 defaultval=$wxUSE_ALL_FEATURES
10968 if test -z "$defaultval"; then
10969 if test x"$enablestring" = xdisable; then
10976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10977 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10978 # Check whether --enable-editablebox was given.
10979 if test "${enable_editablebox+set}" = set; then
10980 enableval=$enable_editablebox;
10981 if test "$enableval" = yes; then
10982 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10984 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10989 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10994 eval "$wx_cv_use_editablebox"
10996 if test x"$enablestring" = xdisable; then
10997 if test $wxUSE_EDITABLELISTBOX = no; then
11003 result=$wxUSE_EDITABLELISTBOX
11006 { echo "$as_me:$LINENO: result: $result" >&5
11007 echo "${ECHO_T}$result" >&6; }
11011 defaultval=$wxUSE_ALL_FEATURES
11012 if test -z "$defaultval"; then
11013 if test x"$enablestring" = xdisable; then
11020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11021 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11022 # Check whether --enable-filectrl was given.
11023 if test "${enable_filectrl+set}" = set; then
11024 enableval=$enable_filectrl;
11025 if test "$enableval" = yes; then
11026 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11028 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11033 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11038 eval "$wx_cv_use_filectrl"
11040 if test x"$enablestring" = xdisable; then
11041 if test $wxUSE_FILECTRL = no; then
11047 result=$wxUSE_FILECTRL
11050 { echo "$as_me:$LINENO: result: $result" >&5
11051 echo "${ECHO_T}$result" >&6; }
11055 defaultval=$wxUSE_ALL_FEATURES
11056 if test -z "$defaultval"; then
11057 if test x"$enablestring" = xdisable; then
11064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11065 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11066 # Check whether --enable-filepicker was given.
11067 if test "${enable_filepicker+set}" = set; then
11068 enableval=$enable_filepicker;
11069 if test "$enableval" = yes; then
11070 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11072 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11077 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11082 eval "$wx_cv_use_filepicker"
11084 if test x"$enablestring" = xdisable; then
11085 if test $wxUSE_FILEPICKERCTRL = no; then
11091 result=$wxUSE_FILEPICKERCTRL
11094 { echo "$as_me:$LINENO: result: $result" >&5
11095 echo "${ECHO_T}$result" >&6; }
11099 defaultval=$wxUSE_ALL_FEATURES
11100 if test -z "$defaultval"; then
11101 if test x"$enablestring" = xdisable; then
11108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11109 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11110 # Check whether --enable-fontpicker was given.
11111 if test "${enable_fontpicker+set}" = set; then
11112 enableval=$enable_fontpicker;
11113 if test "$enableval" = yes; then
11114 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11116 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11121 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11126 eval "$wx_cv_use_fontpicker"
11128 if test x"$enablestring" = xdisable; then
11129 if test $wxUSE_FONTPICKERCTRL = no; then
11135 result=$wxUSE_FONTPICKERCTRL
11138 { echo "$as_me:$LINENO: result: $result" >&5
11139 echo "${ECHO_T}$result" >&6; }
11143 defaultval=$wxUSE_ALL_FEATURES
11144 if test -z "$defaultval"; then
11145 if test x"$enablestring" = xdisable; then
11152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11153 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11154 # Check whether --enable-gauge was given.
11155 if test "${enable_gauge+set}" = set; then
11156 enableval=$enable_gauge;
11157 if test "$enableval" = yes; then
11158 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11160 wx_cv_use_gauge='wxUSE_GAUGE=no'
11165 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11170 eval "$wx_cv_use_gauge"
11172 if test x"$enablestring" = xdisable; then
11173 if test $wxUSE_GAUGE = no; then
11179 result=$wxUSE_GAUGE
11182 { echo "$as_me:$LINENO: result: $result" >&5
11183 echo "${ECHO_T}$result" >&6; }
11187 defaultval=$wxUSE_ALL_FEATURES
11188 if test -z "$defaultval"; then
11189 if test x"$enablestring" = xdisable; then
11196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11197 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11198 # Check whether --enable-grid was given.
11199 if test "${enable_grid+set}" = set; then
11200 enableval=$enable_grid;
11201 if test "$enableval" = yes; then
11202 wx_cv_use_grid='wxUSE_GRID=yes'
11204 wx_cv_use_grid='wxUSE_GRID=no'
11209 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11214 eval "$wx_cv_use_grid"
11216 if test x"$enablestring" = xdisable; then
11217 if test $wxUSE_GRID = no; then
11226 { echo "$as_me:$LINENO: result: $result" >&5
11227 echo "${ECHO_T}$result" >&6; }
11231 defaultval=$wxUSE_ALL_FEATURES
11232 if test -z "$defaultval"; then
11233 if test x"$enablestring" = xdisable; then
11240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11241 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11242 # Check whether --enable-headerctrl was given.
11243 if test "${enable_headerctrl+set}" = set; then
11244 enableval=$enable_headerctrl;
11245 if test "$enableval" = yes; then
11246 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11248 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11253 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11258 eval "$wx_cv_use_headerctrl"
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_HEADERCTRL = no; then
11267 result=$wxUSE_HEADERCTRL
11270 { echo "$as_me:$LINENO: result: $result" >&5
11271 echo "${ECHO_T}$result" >&6; }
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11285 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11286 # Check whether --enable-hyperlink was given.
11287 if test "${enable_hyperlink+set}" = set; then
11288 enableval=$enable_hyperlink;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11292 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11297 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11302 eval "$wx_cv_use_hyperlink"
11304 if test x"$enablestring" = xdisable; then
11305 if test $wxUSE_HYPERLINKCTRL = no; then
11311 result=$wxUSE_HYPERLINKCTRL
11314 { echo "$as_me:$LINENO: result: $result" >&5
11315 echo "${ECHO_T}$result" >&6; }
11319 defaultval=$wxUSE_ALL_FEATURES
11320 if test -z "$defaultval"; then
11321 if test x"$enablestring" = xdisable; then
11328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11329 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11330 # Check whether --enable-imaglist was given.
11331 if test "${enable_imaglist+set}" = set; then
11332 enableval=$enable_imaglist;
11333 if test "$enableval" = yes; then
11334 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11336 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11341 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11346 eval "$wx_cv_use_imaglist"
11348 if test x"$enablestring" = xdisable; then
11349 if test $wxUSE_IMAGLIST = no; then
11355 result=$wxUSE_IMAGLIST
11358 { echo "$as_me:$LINENO: result: $result" >&5
11359 echo "${ECHO_T}$result" >&6; }
11363 defaultval=$wxUSE_ALL_FEATURES
11364 if test -z "$defaultval"; then
11365 if test x"$enablestring" = xdisable; then
11372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11373 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11374 # Check whether --enable-infobar was given.
11375 if test "${enable_infobar+set}" = set; then
11376 enableval=$enable_infobar;
11377 if test "$enableval" = yes; then
11378 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11380 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11385 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11390 eval "$wx_cv_use_infobar"
11392 if test x"$enablestring" = xdisable; then
11393 if test $wxUSE_INFOBAR = no; then
11399 result=$wxUSE_INFOBAR
11402 { echo "$as_me:$LINENO: result: $result" >&5
11403 echo "${ECHO_T}$result" >&6; }
11407 defaultval=$wxUSE_ALL_FEATURES
11408 if test -z "$defaultval"; then
11409 if test x"$enablestring" = xdisable; then
11416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11417 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11418 # Check whether --enable-listbook was given.
11419 if test "${enable_listbook+set}" = set; then
11420 enableval=$enable_listbook;
11421 if test "$enableval" = yes; then
11422 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11424 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11429 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11434 eval "$wx_cv_use_listbook"
11436 if test x"$enablestring" = xdisable; then
11437 if test $wxUSE_LISTBOOK = no; then
11443 result=$wxUSE_LISTBOOK
11446 { echo "$as_me:$LINENO: result: $result" >&5
11447 echo "${ECHO_T}$result" >&6; }
11451 defaultval=$wxUSE_ALL_FEATURES
11452 if test -z "$defaultval"; then
11453 if test x"$enablestring" = xdisable; then
11460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11461 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11462 # Check whether --enable-listbox was given.
11463 if test "${enable_listbox+set}" = set; then
11464 enableval=$enable_listbox;
11465 if test "$enableval" = yes; then
11466 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11468 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11473 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11478 eval "$wx_cv_use_listbox"
11480 if test x"$enablestring" = xdisable; then
11481 if test $wxUSE_LISTBOX = no; then
11487 result=$wxUSE_LISTBOX
11490 { echo "$as_me:$LINENO: result: $result" >&5
11491 echo "${ECHO_T}$result" >&6; }
11495 defaultval=$wxUSE_ALL_FEATURES
11496 if test -z "$defaultval"; then
11497 if test x"$enablestring" = xdisable; then
11504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11505 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11506 # Check whether --enable-listctrl was given.
11507 if test "${enable_listctrl+set}" = set; then
11508 enableval=$enable_listctrl;
11509 if test "$enableval" = yes; then
11510 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11512 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11517 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11522 eval "$wx_cv_use_listctrl"
11524 if test x"$enablestring" = xdisable; then
11525 if test $wxUSE_LISTCTRL = no; then
11531 result=$wxUSE_LISTCTRL
11534 { echo "$as_me:$LINENO: result: $result" >&5
11535 echo "${ECHO_T}$result" >&6; }
11539 defaultval=$wxUSE_ALL_FEATURES
11540 if test -z "$defaultval"; then
11541 if test x"$enablestring" = xdisable; then
11548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11549 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11550 # Check whether --enable-notebook was given.
11551 if test "${enable_notebook+set}" = set; then
11552 enableval=$enable_notebook;
11553 if test "$enableval" = yes; then
11554 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11556 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11561 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11566 eval "$wx_cv_use_notebook"
11568 if test x"$enablestring" = xdisable; then
11569 if test $wxUSE_NOTEBOOK = no; then
11575 result=$wxUSE_NOTEBOOK
11578 { echo "$as_me:$LINENO: result: $result" >&5
11579 echo "${ECHO_T}$result" >&6; }
11583 defaultval=$wxUSE_ALL_FEATURES
11584 if test -z "$defaultval"; then
11585 if test x"$enablestring" = xdisable; then
11592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11593 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11594 # Check whether --enable-notifmsg was given.
11595 if test "${enable_notifmsg+set}" = set; then
11596 enableval=$enable_notifmsg;
11597 if test "$enableval" = yes; then
11598 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11600 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11605 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11610 eval "$wx_cv_use_notifmsg"
11612 if test x"$enablestring" = xdisable; then
11613 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11619 result=$wxUSE_NOTIFICATION_MESSAGE
11622 { echo "$as_me:$LINENO: result: $result" >&5
11623 echo "${ECHO_T}$result" >&6; }
11627 defaultval=$wxUSE_ALL_FEATURES
11628 if test -z "$defaultval"; then
11629 if test x"$enablestring" = xdisable; then
11636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11637 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11638 # Check whether --enable-odcombobox was given.
11639 if test "${enable_odcombobox+set}" = set; then
11640 enableval=$enable_odcombobox;
11641 if test "$enableval" = yes; then
11642 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11644 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11649 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11654 eval "$wx_cv_use_odcombobox"
11656 if test x"$enablestring" = xdisable; then
11657 if test $wxUSE_ODCOMBOBOX = no; then
11663 result=$wxUSE_ODCOMBOBOX
11666 { echo "$as_me:$LINENO: result: $result" >&5
11667 echo "${ECHO_T}$result" >&6; }
11671 defaultval=$wxUSE_ALL_FEATURES
11672 if test -z "$defaultval"; then
11673 if test x"$enablestring" = xdisable; then
11680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11681 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11682 # Check whether --enable-popupwin was given.
11683 if test "${enable_popupwin+set}" = set; then
11684 enableval=$enable_popupwin;
11685 if test "$enableval" = yes; then
11686 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11688 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11693 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11698 eval "$wx_cv_use_popupwin"
11700 if test x"$enablestring" = xdisable; then
11701 if test $wxUSE_POPUPWIN = no; then
11707 result=$wxUSE_POPUPWIN
11710 { echo "$as_me:$LINENO: result: $result" >&5
11711 echo "${ECHO_T}$result" >&6; }
11715 defaultval=$wxUSE_ALL_FEATURES
11716 if test -z "$defaultval"; then
11717 if test x"$enablestring" = xdisable; then
11724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11725 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11726 # Check whether --enable-radiobox was given.
11727 if test "${enable_radiobox+set}" = set; then
11728 enableval=$enable_radiobox;
11729 if test "$enableval" = yes; then
11730 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11732 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11737 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11742 eval "$wx_cv_use_radiobox"
11744 if test x"$enablestring" = xdisable; then
11745 if test $wxUSE_RADIOBOX = no; then
11751 result=$wxUSE_RADIOBOX
11754 { echo "$as_me:$LINENO: result: $result" >&5
11755 echo "${ECHO_T}$result" >&6; }
11759 defaultval=$wxUSE_ALL_FEATURES
11760 if test -z "$defaultval"; then
11761 if test x"$enablestring" = xdisable; then
11768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11769 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11770 # Check whether --enable-radiobtn was given.
11771 if test "${enable_radiobtn+set}" = set; then
11772 enableval=$enable_radiobtn;
11773 if test "$enableval" = yes; then
11774 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11776 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11781 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11786 eval "$wx_cv_use_radiobtn"
11788 if test x"$enablestring" = xdisable; then
11789 if test $wxUSE_RADIOBTN = no; then
11795 result=$wxUSE_RADIOBTN
11798 { echo "$as_me:$LINENO: result: $result" >&5
11799 echo "${ECHO_T}$result" >&6; }
11803 defaultval=$wxUSE_ALL_FEATURES
11804 if test -z "$defaultval"; then
11805 if test x"$enablestring" = xdisable; then
11812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11813 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11814 # Check whether --enable-richmsgdlg was given.
11815 if test "${enable_richmsgdlg+set}" = set; then
11816 enableval=$enable_richmsgdlg;
11817 if test "$enableval" = yes; then
11818 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11820 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11825 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11830 eval "$wx_cv_use_richmsgdlg"
11832 if test x"$enablestring" = xdisable; then
11833 if test $wxUSE_RICHMSGDLG = no; then
11839 result=$wxUSE_RICHMSGDLG
11842 { echo "$as_me:$LINENO: result: $result" >&5
11843 echo "${ECHO_T}$result" >&6; }
11847 defaultval=$wxUSE_ALL_FEATURES
11848 if test -z "$defaultval"; then
11849 if test x"$enablestring" = xdisable; then
11856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11857 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11858 # Check whether --enable-rearrangectrl was given.
11859 if test "${enable_rearrangectrl+set}" = set; then
11860 enableval=$enable_rearrangectrl;
11861 if test "$enableval" = yes; then
11862 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11864 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11869 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11874 eval "$wx_cv_use_rearrangectrl"
11876 if test x"$enablestring" = xdisable; then
11877 if test $wxUSE_REARRANGECTRL = no; then
11883 result=$wxUSE_REARRANGECTRL
11886 { echo "$as_me:$LINENO: result: $result" >&5
11887 echo "${ECHO_T}$result" >&6; }
11891 defaultval=$wxUSE_ALL_FEATURES
11892 if test -z "$defaultval"; then
11893 if test x"$enablestring" = xdisable; then
11900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11901 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11902 # Check whether --enable-sash was given.
11903 if test "${enable_sash+set}" = set; then
11904 enableval=$enable_sash;
11905 if test "$enableval" = yes; then
11906 wx_cv_use_sash='wxUSE_SASH=yes'
11908 wx_cv_use_sash='wxUSE_SASH=no'
11913 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11918 eval "$wx_cv_use_sash"
11920 if test x"$enablestring" = xdisable; then
11921 if test $wxUSE_SASH = no; then
11930 { echo "$as_me:$LINENO: result: $result" >&5
11931 echo "${ECHO_T}$result" >&6; }
11935 defaultval=$wxUSE_ALL_FEATURES
11936 if test -z "$defaultval"; then
11937 if test x"$enablestring" = xdisable; then
11944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11945 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11946 # Check whether --enable-scrollbar was given.
11947 if test "${enable_scrollbar+set}" = set; then
11948 enableval=$enable_scrollbar;
11949 if test "$enableval" = yes; then
11950 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11952 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11957 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11962 eval "$wx_cv_use_scrollbar"
11964 if test x"$enablestring" = xdisable; then
11965 if test $wxUSE_SCROLLBAR = no; then
11971 result=$wxUSE_SCROLLBAR
11974 { echo "$as_me:$LINENO: result: $result" >&5
11975 echo "${ECHO_T}$result" >&6; }
11979 defaultval=$wxUSE_ALL_FEATURES
11980 if test -z "$defaultval"; then
11981 if test x"$enablestring" = xdisable; then
11988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11989 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11990 # Check whether --enable-searchctrl was given.
11991 if test "${enable_searchctrl+set}" = set; then
11992 enableval=$enable_searchctrl;
11993 if test "$enableval" = yes; then
11994 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11996 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12001 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12006 eval "$wx_cv_use_searchctrl"
12008 if test x"$enablestring" = xdisable; then
12009 if test $wxUSE_SEARCHCTRL = no; then
12015 result=$wxUSE_SEARCHCTRL
12018 { echo "$as_me:$LINENO: result: $result" >&5
12019 echo "${ECHO_T}$result" >&6; }
12023 defaultval=$wxUSE_ALL_FEATURES
12024 if test -z "$defaultval"; then
12025 if test x"$enablestring" = xdisable; then
12032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12033 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12034 # Check whether --enable-slider was given.
12035 if test "${enable_slider+set}" = set; then
12036 enableval=$enable_slider;
12037 if test "$enableval" = yes; then
12038 wx_cv_use_slider='wxUSE_SLIDER=yes'
12040 wx_cv_use_slider='wxUSE_SLIDER=no'
12045 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12050 eval "$wx_cv_use_slider"
12052 if test x"$enablestring" = xdisable; then
12053 if test $wxUSE_SLIDER = no; then
12059 result=$wxUSE_SLIDER
12062 { echo "$as_me:$LINENO: result: $result" >&5
12063 echo "${ECHO_T}$result" >&6; }
12067 defaultval=$wxUSE_ALL_FEATURES
12068 if test -z "$defaultval"; then
12069 if test x"$enablestring" = xdisable; then
12076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12077 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12078 # Check whether --enable-spinbtn was given.
12079 if test "${enable_spinbtn+set}" = set; then
12080 enableval=$enable_spinbtn;
12081 if test "$enableval" = yes; then
12082 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12084 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12089 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12094 eval "$wx_cv_use_spinbtn"
12096 if test x"$enablestring" = xdisable; then
12097 if test $wxUSE_SPINBTN = no; then
12103 result=$wxUSE_SPINBTN
12106 { echo "$as_me:$LINENO: result: $result" >&5
12107 echo "${ECHO_T}$result" >&6; }
12111 defaultval=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x"$enablestring" = xdisable; then
12120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12121 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12122 # Check whether --enable-spinctrl was given.
12123 if test "${enable_spinctrl+set}" = set; then
12124 enableval=$enable_spinctrl;
12125 if test "$enableval" = yes; then
12126 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12128 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12133 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12138 eval "$wx_cv_use_spinctrl"
12140 if test x"$enablestring" = xdisable; then
12141 if test $wxUSE_SPINCTRL = no; then
12147 result=$wxUSE_SPINCTRL
12150 { echo "$as_me:$LINENO: result: $result" >&5
12151 echo "${ECHO_T}$result" >&6; }
12155 defaultval=$wxUSE_ALL_FEATURES
12156 if test -z "$defaultval"; then
12157 if test x"$enablestring" = xdisable; then
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12166 # Check whether --enable-splitter was given.
12167 if test "${enable_splitter+set}" = set; then
12168 enableval=$enable_splitter;
12169 if test "$enableval" = yes; then
12170 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12172 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12177 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12182 eval "$wx_cv_use_splitter"
12184 if test x"$enablestring" = xdisable; then
12185 if test $wxUSE_SPLITTER = no; then
12191 result=$wxUSE_SPLITTER
12194 { echo "$as_me:$LINENO: result: $result" >&5
12195 echo "${ECHO_T}$result" >&6; }
12199 defaultval=$wxUSE_ALL_FEATURES
12200 if test -z "$defaultval"; then
12201 if test x"$enablestring" = xdisable; then
12208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12209 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12210 # Check whether --enable-statbmp was given.
12211 if test "${enable_statbmp+set}" = set; then
12212 enableval=$enable_statbmp;
12213 if test "$enableval" = yes; then
12214 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12216 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12221 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12226 eval "$wx_cv_use_statbmp"
12228 if test x"$enablestring" = xdisable; then
12229 if test $wxUSE_STATBMP = no; then
12235 result=$wxUSE_STATBMP
12238 { echo "$as_me:$LINENO: result: $result" >&5
12239 echo "${ECHO_T}$result" >&6; }
12243 defaultval=$wxUSE_ALL_FEATURES
12244 if test -z "$defaultval"; then
12245 if test x"$enablestring" = xdisable; then
12252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12253 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12254 # Check whether --enable-statbox was given.
12255 if test "${enable_statbox+set}" = set; then
12256 enableval=$enable_statbox;
12257 if test "$enableval" = yes; then
12258 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12260 wx_cv_use_statbox='wxUSE_STATBOX=no'
12265 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12270 eval "$wx_cv_use_statbox"
12272 if test x"$enablestring" = xdisable; then
12273 if test $wxUSE_STATBOX = no; then
12279 result=$wxUSE_STATBOX
12282 { echo "$as_me:$LINENO: result: $result" >&5
12283 echo "${ECHO_T}$result" >&6; }
12287 defaultval=$wxUSE_ALL_FEATURES
12288 if test -z "$defaultval"; then
12289 if test x"$enablestring" = xdisable; then
12296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12297 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12298 # Check whether --enable-statline was given.
12299 if test "${enable_statline+set}" = set; then
12300 enableval=$enable_statline;
12301 if test "$enableval" = yes; then
12302 wx_cv_use_statline='wxUSE_STATLINE=yes'
12304 wx_cv_use_statline='wxUSE_STATLINE=no'
12309 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12314 eval "$wx_cv_use_statline"
12316 if test x"$enablestring" = xdisable; then
12317 if test $wxUSE_STATLINE = no; then
12323 result=$wxUSE_STATLINE
12326 { echo "$as_me:$LINENO: result: $result" >&5
12327 echo "${ECHO_T}$result" >&6; }
12331 defaultval=$wxUSE_ALL_FEATURES
12332 if test -z "$defaultval"; then
12333 if test x"$enablestring" = xdisable; then
12340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12341 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12342 # Check whether --enable-stattext was given.
12343 if test "${enable_stattext+set}" = set; then
12344 enableval=$enable_stattext;
12345 if test "$enableval" = yes; then
12346 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12348 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12353 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12358 eval "$wx_cv_use_stattext"
12360 if test x"$enablestring" = xdisable; then
12361 if test $wxUSE_STATTEXT = no; then
12367 result=$wxUSE_STATTEXT
12370 { echo "$as_me:$LINENO: result: $result" >&5
12371 echo "${ECHO_T}$result" >&6; }
12375 defaultval=$wxUSE_ALL_FEATURES
12376 if test -z "$defaultval"; then
12377 if test x"$enablestring" = xdisable; then
12384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12385 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12386 # Check whether --enable-statusbar was given.
12387 if test "${enable_statusbar+set}" = set; then
12388 enableval=$enable_statusbar;
12389 if test "$enableval" = yes; then
12390 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12392 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12397 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12402 eval "$wx_cv_use_statusbar"
12404 if test x"$enablestring" = xdisable; then
12405 if test $wxUSE_STATUSBAR = no; then
12411 result=$wxUSE_STATUSBAR
12414 { echo "$as_me:$LINENO: result: $result" >&5
12415 echo "${ECHO_T}$result" >&6; }
12419 defaultval=$wxUSE_ALL_FEATURES
12420 if test -z "$defaultval"; then
12421 if test x"$enablestring" = xdisable; then
12428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12429 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12430 # Check whether --enable-taskbaricon was given.
12431 if test "${enable_taskbaricon+set}" = set; then
12432 enableval=$enable_taskbaricon;
12433 if test "$enableval" = yes; then
12434 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12436 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12441 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12446 eval "$wx_cv_use_taskbaricon"
12448 if test x"$enablestring" = xdisable; then
12449 if test $wxUSE_TASKBARICON = no; then
12455 result=$wxUSE_TASKBARICON
12458 { echo "$as_me:$LINENO: result: $result" >&5
12459 echo "${ECHO_T}$result" >&6; }
12463 defaultval=$wxUSE_ALL_FEATURES
12464 if test -z "$defaultval"; then
12465 if test x"$enablestring" = xdisable; then
12472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12473 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12474 # Check whether --enable-tbarnative was given.
12475 if test "${enable_tbarnative+set}" = set; then
12476 enableval=$enable_tbarnative;
12477 if test "$enableval" = yes; then
12478 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12480 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12485 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12490 eval "$wx_cv_use_tbarnative"
12492 if test x"$enablestring" = xdisable; then
12493 if test $wxUSE_TOOLBAR_NATIVE = no; then
12499 result=$wxUSE_TOOLBAR_NATIVE
12502 { echo "$as_me:$LINENO: result: $result" >&5
12503 echo "${ECHO_T}$result" >&6; }
12507 defaultval=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x"$enablestring" = xdisable; then
12516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12517 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12518 # Check whether --enable-textctrl was given.
12519 if test "${enable_textctrl+set}" = set; then
12520 enableval=$enable_textctrl;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12524 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12529 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12534 eval "$wx_cv_use_textctrl"
12536 if test x"$enablestring" = xdisable; then
12537 if test $wxUSE_TEXTCTRL = no; then
12543 result=$wxUSE_TEXTCTRL
12546 { echo "$as_me:$LINENO: result: $result" >&5
12547 echo "${ECHO_T}$result" >&6; }
12551 defaultval=$wxUSE_ALL_FEATURES
12552 if test -z "$defaultval"; then
12553 if test x"$enablestring" = xdisable; then
12560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12561 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12562 # Check whether --enable-tipwindow was given.
12563 if test "${enable_tipwindow+set}" = set; then
12564 enableval=$enable_tipwindow;
12565 if test "$enableval" = yes; then
12566 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12568 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12573 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12578 eval "$wx_cv_use_tipwindow"
12580 if test x"$enablestring" = xdisable; then
12581 if test $wxUSE_TIPWINDOW = no; then
12587 result=$wxUSE_TIPWINDOW
12590 { echo "$as_me:$LINENO: result: $result" >&5
12591 echo "${ECHO_T}$result" >&6; }
12595 defaultval=$wxUSE_ALL_FEATURES
12596 if test -z "$defaultval"; then
12597 if test x"$enablestring" = xdisable; then
12604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12605 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12606 # Check whether --enable-togglebtn was given.
12607 if test "${enable_togglebtn+set}" = set; then
12608 enableval=$enable_togglebtn;
12609 if test "$enableval" = yes; then
12610 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12612 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12617 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12622 eval "$wx_cv_use_togglebtn"
12624 if test x"$enablestring" = xdisable; then
12625 if test $wxUSE_TOGGLEBTN = no; then
12631 result=$wxUSE_TOGGLEBTN
12634 { echo "$as_me:$LINENO: result: $result" >&5
12635 echo "${ECHO_T}$result" >&6; }
12639 defaultval=$wxUSE_ALL_FEATURES
12640 if test -z "$defaultval"; then
12641 if test x"$enablestring" = xdisable; then
12648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12649 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12650 # Check whether --enable-toolbar was given.
12651 if test "${enable_toolbar+set}" = set; then
12652 enableval=$enable_toolbar;
12653 if test "$enableval" = yes; then
12654 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12656 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12661 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12666 eval "$wx_cv_use_toolbar"
12668 if test x"$enablestring" = xdisable; then
12669 if test $wxUSE_TOOLBAR = no; then
12675 result=$wxUSE_TOOLBAR
12678 { echo "$as_me:$LINENO: result: $result" >&5
12679 echo "${ECHO_T}$result" >&6; }
12683 defaultval=$wxUSE_ALL_FEATURES
12684 if test -z "$defaultval"; then
12685 if test x"$enablestring" = xdisable; then
12692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12693 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12694 # Check whether --enable-toolbook was given.
12695 if test "${enable_toolbook+set}" = set; then
12696 enableval=$enable_toolbook;
12697 if test "$enableval" = yes; then
12698 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12700 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12705 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12710 eval "$wx_cv_use_toolbook"
12712 if test x"$enablestring" = xdisable; then
12713 if test $wxUSE_TOOLBOOK = no; then
12719 result=$wxUSE_TOOLBOOK
12722 { echo "$as_me:$LINENO: result: $result" >&5
12723 echo "${ECHO_T}$result" >&6; }
12727 defaultval=$wxUSE_ALL_FEATURES
12728 if test -z "$defaultval"; then
12729 if test x"$enablestring" = xdisable; then
12736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12737 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12738 # Check whether --enable-treebook was given.
12739 if test "${enable_treebook+set}" = set; then
12740 enableval=$enable_treebook;
12741 if test "$enableval" = yes; then
12742 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12744 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12749 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12754 eval "$wx_cv_use_treebook"
12756 if test x"$enablestring" = xdisable; then
12757 if test $wxUSE_TREEBOOK = no; then
12763 result=$wxUSE_TREEBOOK
12766 { echo "$as_me:$LINENO: result: $result" >&5
12767 echo "${ECHO_T}$result" >&6; }
12771 defaultval=$wxUSE_ALL_FEATURES
12772 if test -z "$defaultval"; then
12773 if test x"$enablestring" = xdisable; then
12780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12781 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12782 # Check whether --enable-treectrl was given.
12783 if test "${enable_treectrl+set}" = set; then
12784 enableval=$enable_treectrl;
12785 if test "$enableval" = yes; then
12786 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12788 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12793 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12798 eval "$wx_cv_use_treectrl"
12800 if test x"$enablestring" = xdisable; then
12801 if test $wxUSE_TREECTRL = no; then
12807 result=$wxUSE_TREECTRL
12810 { echo "$as_me:$LINENO: result: $result" >&5
12811 echo "${ECHO_T}$result" >&6; }
12817 defaultval=$wxUSE_ALL_FEATURES
12818 if test -z "$defaultval"; then
12819 if test x"$enablestring" = xdisable; then
12826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12827 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12828 # Check whether --enable-commondlg was given.
12829 if test "${enable_commondlg+set}" = set; then
12830 enableval=$enable_commondlg;
12831 if test "$enableval" = yes; then
12832 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12834 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12839 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12844 eval "$wx_cv_use_commondlg"
12846 if test x"$enablestring" = xdisable; then
12847 if test $wxUSE_COMMONDLGS = no; then
12853 result=$wxUSE_COMMONDLGS
12856 { echo "$as_me:$LINENO: result: $result" >&5
12857 echo "${ECHO_T}$result" >&6; }
12861 defaultval=$wxUSE_ALL_FEATURES
12862 if test -z "$defaultval"; then
12863 if test x"$enablestring" = xdisable; then
12870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12871 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12872 # Check whether --enable-aboutdlg was given.
12873 if test "${enable_aboutdlg+set}" = set; then
12874 enableval=$enable_aboutdlg;
12875 if test "$enableval" = yes; then
12876 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12878 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12883 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12888 eval "$wx_cv_use_aboutdlg"
12890 if test x"$enablestring" = xdisable; then
12891 if test $wxUSE_ABOUTDLG = no; then
12897 result=$wxUSE_ABOUTDLG
12900 { echo "$as_me:$LINENO: result: $result" >&5
12901 echo "${ECHO_T}$result" >&6; }
12905 defaultval=$wxUSE_ALL_FEATURES
12906 if test -z "$defaultval"; then
12907 if test x"$enablestring" = xdisable; then
12914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12915 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12916 # Check whether --enable-choicedlg was given.
12917 if test "${enable_choicedlg+set}" = set; then
12918 enableval=$enable_choicedlg;
12919 if test "$enableval" = yes; then
12920 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12922 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12927 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12932 eval "$wx_cv_use_choicedlg"
12934 if test x"$enablestring" = xdisable; then
12935 if test $wxUSE_CHOICEDLG = no; then
12941 result=$wxUSE_CHOICEDLG
12944 { echo "$as_me:$LINENO: result: $result" >&5
12945 echo "${ECHO_T}$result" >&6; }
12949 defaultval=$wxUSE_ALL_FEATURES
12950 if test -z "$defaultval"; then
12951 if test x"$enablestring" = xdisable; then
12958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12959 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12960 # Check whether --enable-coldlg was given.
12961 if test "${enable_coldlg+set}" = set; then
12962 enableval=$enable_coldlg;
12963 if test "$enableval" = yes; then
12964 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12966 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12971 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12976 eval "$wx_cv_use_coldlg"
12978 if test x"$enablestring" = xdisable; then
12979 if test $wxUSE_COLOURDLG = no; then
12985 result=$wxUSE_COLOURDLG
12988 { echo "$as_me:$LINENO: result: $result" >&5
12989 echo "${ECHO_T}$result" >&6; }
12993 defaultval=$wxUSE_ALL_FEATURES
12994 if test -z "$defaultval"; then
12995 if test x"$enablestring" = xdisable; then
13002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13003 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13004 # Check whether --enable-filedlg was given.
13005 if test "${enable_filedlg+set}" = set; then
13006 enableval=$enable_filedlg;
13007 if test "$enableval" = yes; then
13008 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13010 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13015 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13020 eval "$wx_cv_use_filedlg"
13022 if test x"$enablestring" = xdisable; then
13023 if test $wxUSE_FILEDLG = no; then
13029 result=$wxUSE_FILEDLG
13032 { echo "$as_me:$LINENO: result: $result" >&5
13033 echo "${ECHO_T}$result" >&6; }
13037 defaultval=$wxUSE_ALL_FEATURES
13038 if test -z "$defaultval"; then
13039 if test x"$enablestring" = xdisable; then
13046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13047 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13048 # Check whether --enable-finddlg was given.
13049 if test "${enable_finddlg+set}" = set; then
13050 enableval=$enable_finddlg;
13051 if test "$enableval" = yes; then
13052 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13054 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13059 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13064 eval "$wx_cv_use_finddlg"
13066 if test x"$enablestring" = xdisable; then
13067 if test $wxUSE_FINDREPLDLG = no; then
13073 result=$wxUSE_FINDREPLDLG
13076 { echo "$as_me:$LINENO: result: $result" >&5
13077 echo "${ECHO_T}$result" >&6; }
13081 defaultval=$wxUSE_ALL_FEATURES
13082 if test -z "$defaultval"; then
13083 if test x"$enablestring" = xdisable; then
13090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13091 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13092 # Check whether --enable-fontdlg was given.
13093 if test "${enable_fontdlg+set}" = set; then
13094 enableval=$enable_fontdlg;
13095 if test "$enableval" = yes; then
13096 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13098 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13103 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13108 eval "$wx_cv_use_fontdlg"
13110 if test x"$enablestring" = xdisable; then
13111 if test $wxUSE_FONTDLG = no; then
13117 result=$wxUSE_FONTDLG
13120 { echo "$as_me:$LINENO: result: $result" >&5
13121 echo "${ECHO_T}$result" >&6; }
13125 defaultval=$wxUSE_ALL_FEATURES
13126 if test -z "$defaultval"; then
13127 if test x"$enablestring" = xdisable; then
13134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13135 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13136 # Check whether --enable-dirdlg was given.
13137 if test "${enable_dirdlg+set}" = set; then
13138 enableval=$enable_dirdlg;
13139 if test "$enableval" = yes; then
13140 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13142 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13147 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13152 eval "$wx_cv_use_dirdlg"
13154 if test x"$enablestring" = xdisable; then
13155 if test $wxUSE_DIRDLG = no; then
13161 result=$wxUSE_DIRDLG
13164 { echo "$as_me:$LINENO: result: $result" >&5
13165 echo "${ECHO_T}$result" >&6; }
13169 defaultval=$wxUSE_ALL_FEATURES
13170 if test -z "$defaultval"; then
13171 if test x"$enablestring" = xdisable; then
13178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13179 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13180 # Check whether --enable-msgdlg was given.
13181 if test "${enable_msgdlg+set}" = set; then
13182 enableval=$enable_msgdlg;
13183 if test "$enableval" = yes; then
13184 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13186 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13191 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13196 eval "$wx_cv_use_msgdlg"
13198 if test x"$enablestring" = xdisable; then
13199 if test $wxUSE_MSGDLG = no; then
13205 result=$wxUSE_MSGDLG
13208 { echo "$as_me:$LINENO: result: $result" >&5
13209 echo "${ECHO_T}$result" >&6; }
13213 defaultval=$wxUSE_ALL_FEATURES
13214 if test -z "$defaultval"; then
13215 if test x"$enablestring" = xdisable; then
13222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13223 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13224 # Check whether --enable-numberdlg was given.
13225 if test "${enable_numberdlg+set}" = set; then
13226 enableval=$enable_numberdlg;
13227 if test "$enableval" = yes; then
13228 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13230 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13235 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13240 eval "$wx_cv_use_numberdlg"
13242 if test x"$enablestring" = xdisable; then
13243 if test $wxUSE_NUMBERDLG = no; then
13249 result=$wxUSE_NUMBERDLG
13252 { echo "$as_me:$LINENO: result: $result" >&5
13253 echo "${ECHO_T}$result" >&6; }
13257 defaultval=$wxUSE_ALL_FEATURES
13258 if test -z "$defaultval"; then
13259 if test x"$enablestring" = xdisable; then
13266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13267 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13268 # Check whether --enable-splash was given.
13269 if test "${enable_splash+set}" = set; then
13270 enableval=$enable_splash;
13271 if test "$enableval" = yes; then
13272 wx_cv_use_splash='wxUSE_SPLASH=yes'
13274 wx_cv_use_splash='wxUSE_SPLASH=no'
13279 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13284 eval "$wx_cv_use_splash"
13286 if test x"$enablestring" = xdisable; then
13287 if test $wxUSE_SPLASH = no; then
13293 result=$wxUSE_SPLASH
13296 { echo "$as_me:$LINENO: result: $result" >&5
13297 echo "${ECHO_T}$result" >&6; }
13301 defaultval=$wxUSE_ALL_FEATURES
13302 if test -z "$defaultval"; then
13303 if test x"$enablestring" = xdisable; then
13310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13311 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13312 # Check whether --enable-textdlg was given.
13313 if test "${enable_textdlg+set}" = set; then
13314 enableval=$enable_textdlg;
13315 if test "$enableval" = yes; then
13316 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13318 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13323 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13328 eval "$wx_cv_use_textdlg"
13330 if test x"$enablestring" = xdisable; then
13331 if test $wxUSE_TEXTDLG = no; then
13337 result=$wxUSE_TEXTDLG
13340 { echo "$as_me:$LINENO: result: $result" >&5
13341 echo "${ECHO_T}$result" >&6; }
13345 defaultval=$wxUSE_ALL_FEATURES
13346 if test -z "$defaultval"; then
13347 if test x"$enablestring" = xdisable; then
13354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13355 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13356 # Check whether --enable-tipdlg was given.
13357 if test "${enable_tipdlg+set}" = set; then
13358 enableval=$enable_tipdlg;
13359 if test "$enableval" = yes; then
13360 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13362 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13367 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13372 eval "$wx_cv_use_tipdlg"
13374 if test x"$enablestring" = xdisable; then
13375 if test $wxUSE_STARTUP_TIPS = no; then
13381 result=$wxUSE_STARTUP_TIPS
13384 { echo "$as_me:$LINENO: result: $result" >&5
13385 echo "${ECHO_T}$result" >&6; }
13389 defaultval=$wxUSE_ALL_FEATURES
13390 if test -z "$defaultval"; then
13391 if test x"$enablestring" = xdisable; then
13398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13399 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13400 # Check whether --enable-progressdlg was given.
13401 if test "${enable_progressdlg+set}" = set; then
13402 enableval=$enable_progressdlg;
13403 if test "$enableval" = yes; then
13404 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13406 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13411 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13416 eval "$wx_cv_use_progressdlg"
13418 if test x"$enablestring" = xdisable; then
13419 if test $wxUSE_PROGRESSDLG = no; then
13425 result=$wxUSE_PROGRESSDLG
13428 { echo "$as_me:$LINENO: result: $result" >&5
13429 echo "${ECHO_T}$result" >&6; }
13433 defaultval=$wxUSE_ALL_FEATURES
13434 if test -z "$defaultval"; then
13435 if test x"$enablestring" = xdisable; then
13442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13443 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13444 # Check whether --enable-wizarddlg was given.
13445 if test "${enable_wizarddlg+set}" = set; then
13446 enableval=$enable_wizarddlg;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13450 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13455 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13460 eval "$wx_cv_use_wizarddlg"
13462 if test x"$enablestring" = xdisable; then
13463 if test $wxUSE_WIZARDDLG = no; then
13469 result=$wxUSE_WIZARDDLG
13472 { echo "$as_me:$LINENO: result: $result" >&5
13473 echo "${ECHO_T}$result" >&6; }
13479 defaultval=$wxUSE_ALL_FEATURES
13480 if test -z "$defaultval"; then
13481 if test x"$enablestring" = xdisable; then
13488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13489 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13490 # Check whether --enable-menus was given.
13491 if test "${enable_menus+set}" = set; then
13492 enableval=$enable_menus;
13493 if test "$enableval" = yes; then
13494 wx_cv_use_menus='wxUSE_MENUS=yes'
13496 wx_cv_use_menus='wxUSE_MENUS=no'
13501 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13506 eval "$wx_cv_use_menus"
13508 if test x"$enablestring" = xdisable; then
13509 if test $wxUSE_MENUS = no; then
13515 result=$wxUSE_MENUS
13518 { echo "$as_me:$LINENO: result: $result" >&5
13519 echo "${ECHO_T}$result" >&6; }
13523 defaultval=$wxUSE_ALL_FEATURES
13524 if test -z "$defaultval"; then
13525 if test x"$enablestring" = xdisable; then
13532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13533 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13534 # Check whether --enable-miniframe was given.
13535 if test "${enable_miniframe+set}" = set; then
13536 enableval=$enable_miniframe;
13537 if test "$enableval" = yes; then
13538 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13540 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13545 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13550 eval "$wx_cv_use_miniframe"
13552 if test x"$enablestring" = xdisable; then
13553 if test $wxUSE_MINIFRAME = no; then
13559 result=$wxUSE_MINIFRAME
13562 { echo "$as_me:$LINENO: result: $result" >&5
13563 echo "${ECHO_T}$result" >&6; }
13567 defaultval=$wxUSE_ALL_FEATURES
13568 if test -z "$defaultval"; then
13569 if test x"$enablestring" = xdisable; then
13576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13577 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13578 # Check whether --enable-tooltips was given.
13579 if test "${enable_tooltips+set}" = set; then
13580 enableval=$enable_tooltips;
13581 if test "$enableval" = yes; then
13582 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13584 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13589 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13594 eval "$wx_cv_use_tooltips"
13596 if test x"$enablestring" = xdisable; then
13597 if test $wxUSE_TOOLTIPS = no; then
13603 result=$wxUSE_TOOLTIPS
13606 { echo "$as_me:$LINENO: result: $result" >&5
13607 echo "${ECHO_T}$result" >&6; }
13611 defaultval=$wxUSE_ALL_FEATURES
13612 if test -z "$defaultval"; then
13613 if test x"$enablestring" = xdisable; then
13620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13621 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13622 # Check whether --enable-splines was given.
13623 if test "${enable_splines+set}" = set; then
13624 enableval=$enable_splines;
13625 if test "$enableval" = yes; then
13626 wx_cv_use_splines='wxUSE_SPLINES=yes'
13628 wx_cv_use_splines='wxUSE_SPLINES=no'
13633 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13638 eval "$wx_cv_use_splines"
13640 if test x"$enablestring" = xdisable; then
13641 if test $wxUSE_SPLINES = no; then
13647 result=$wxUSE_SPLINES
13650 { echo "$as_me:$LINENO: result: $result" >&5
13651 echo "${ECHO_T}$result" >&6; }
13655 defaultval=$wxUSE_ALL_FEATURES
13656 if test -z "$defaultval"; then
13657 if test x"$enablestring" = xdisable; then
13664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13665 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13666 # Check whether --enable-mousewheel was given.
13667 if test "${enable_mousewheel+set}" = set; then
13668 enableval=$enable_mousewheel;
13669 if test "$enableval" = yes; then
13670 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13672 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13677 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13682 eval "$wx_cv_use_mousewheel"
13684 if test x"$enablestring" = xdisable; then
13685 if test $wxUSE_MOUSEWHEEL = no; then
13691 result=$wxUSE_MOUSEWHEEL
13694 { echo "$as_me:$LINENO: result: $result" >&5
13695 echo "${ECHO_T}$result" >&6; }
13699 defaultval=$wxUSE_ALL_FEATURES
13700 if test -z "$defaultval"; then
13701 if test x"$enablestring" = xdisable; then
13708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13709 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13710 # Check whether --enable-validators was given.
13711 if test "${enable_validators+set}" = set; then
13712 enableval=$enable_validators;
13713 if test "$enableval" = yes; then
13714 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13716 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13721 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13726 eval "$wx_cv_use_validators"
13728 if test x"$enablestring" = xdisable; then
13729 if test $wxUSE_VALIDATORS = no; then
13735 result=$wxUSE_VALIDATORS
13738 { echo "$as_me:$LINENO: result: $result" >&5
13739 echo "${ECHO_T}$result" >&6; }
13743 defaultval=$wxUSE_ALL_FEATURES
13744 if test -z "$defaultval"; then
13745 if test x"$enablestring" = xdisable; then
13752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13753 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13754 # Check whether --enable-busyinfo was given.
13755 if test "${enable_busyinfo+set}" = set; then
13756 enableval=$enable_busyinfo;
13757 if test "$enableval" = yes; then
13758 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13760 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13765 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13770 eval "$wx_cv_use_busyinfo"
13772 if test x"$enablestring" = xdisable; then
13773 if test $wxUSE_BUSYINFO = no; then
13779 result=$wxUSE_BUSYINFO
13782 { echo "$as_me:$LINENO: result: $result" >&5
13783 echo "${ECHO_T}$result" >&6; }
13787 defaultval=$wxUSE_ALL_FEATURES
13788 if test -z "$defaultval"; then
13789 if test x"$enablestring" = xdisable; then
13796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13797 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13798 # Check whether --enable-joystick was given.
13799 if test "${enable_joystick+set}" = set; then
13800 enableval=$enable_joystick;
13801 if test "$enableval" = yes; then
13802 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13804 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13809 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13814 eval "$wx_cv_use_joystick"
13816 if test x"$enablestring" = xdisable; then
13817 if test $wxUSE_JOYSTICK = no; then
13823 result=$wxUSE_JOYSTICK
13826 { echo "$as_me:$LINENO: result: $result" >&5
13827 echo "${ECHO_T}$result" >&6; }
13831 defaultval=$wxUSE_ALL_FEATURES
13832 if test -z "$defaultval"; then
13833 if test x"$enablestring" = xdisable; then
13840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13841 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13842 # Check whether --enable-metafile was given.
13843 if test "${enable_metafile+set}" = set; then
13844 enableval=$enable_metafile;
13845 if test "$enableval" = yes; then
13846 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13848 wx_cv_use_metafile='wxUSE_METAFILE=no'
13853 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13858 eval "$wx_cv_use_metafile"
13860 if test x"$enablestring" = xdisable; then
13861 if test $wxUSE_METAFILE = no; then
13867 result=$wxUSE_METAFILE
13870 { echo "$as_me:$LINENO: result: $result" >&5
13871 echo "${ECHO_T}$result" >&6; }
13875 defaultval=$wxUSE_ALL_FEATURES
13876 if test -z "$defaultval"; then
13877 if test x"$enablestring" = xdisable; then
13884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13885 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13886 # Check whether --enable-dragimage was given.
13887 if test "${enable_dragimage+set}" = set; then
13888 enableval=$enable_dragimage;
13889 if test "$enableval" = yes; then
13890 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13892 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13897 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13902 eval "$wx_cv_use_dragimage"
13904 if test x"$enablestring" = xdisable; then
13905 if test $wxUSE_DRAGIMAGE = no; then
13911 result=$wxUSE_DRAGIMAGE
13914 { echo "$as_me:$LINENO: result: $result" >&5
13915 echo "${ECHO_T}$result" >&6; }
13919 defaultval=$wxUSE_ALL_FEATURES
13920 if test -z "$defaultval"; then
13921 if test x"$enablestring" = xdisable; then
13928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13929 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13930 # Check whether --enable-accessibility was given.
13931 if test "${enable_accessibility+set}" = set; then
13932 enableval=$enable_accessibility;
13933 if test "$enableval" = yes; then
13934 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13936 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13941 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13946 eval "$wx_cv_use_accessibility"
13948 if test x"$enablestring" = xdisable; then
13949 if test $wxUSE_ACCESSIBILITY = no; then
13955 result=$wxUSE_ACCESSIBILITY
13958 { echo "$as_me:$LINENO: result: $result" >&5
13959 echo "${ECHO_T}$result" >&6; }
13963 defaultval=$wxUSE_ALL_FEATURES
13964 if test -z "$defaultval"; then
13965 if test x"$enablestring" = xdisable; then
13972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13973 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13974 # Check whether --enable-uiactionsim was given.
13975 if test "${enable_uiactionsim+set}" = set; then
13976 enableval=$enable_uiactionsim;
13977 if test "$enableval" = yes; then
13978 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13980 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13985 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13990 eval "$wx_cv_use_uiactionsim"
13992 if test x"$enablestring" = xdisable; then
13993 if test $wxUSE_UIACTIONSIMULATOR = no; then
13999 result=$wxUSE_UIACTIONSIMULATOR
14002 { echo "$as_me:$LINENO: result: $result" >&5
14003 echo "${ECHO_T}$result" >&6; }
14007 defaultval=$wxUSE_ALL_FEATURES
14008 if test -z "$defaultval"; then
14009 if test x"$enablestring" = xdisable; then
14016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14017 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14018 # Check whether --enable-dctransform was given.
14019 if test "${enable_dctransform+set}" = set; then
14020 enableval=$enable_dctransform;
14021 if test "$enableval" = yes; then
14022 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14024 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14029 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14034 eval "$wx_cv_use_dctransform"
14036 if test x"$enablestring" = xdisable; then
14037 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14043 result=$wxUSE_DC_TRANSFORM_MATRIX
14046 { echo "$as_me:$LINENO: result: $result" >&5
14047 echo "${ECHO_T}$result" >&6; }
14053 defaultval=$wxUSE_ALL_FEATURES
14054 if test -z "$defaultval"; then
14055 if test x"$enablestring" = xdisable; then
14062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14063 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14064 # Check whether --enable-palette was given.
14065 if test "${enable_palette+set}" = set; then
14066 enableval=$enable_palette;
14067 if test "$enableval" = yes; then
14068 wx_cv_use_palette='wxUSE_PALETTE=yes'
14070 wx_cv_use_palette='wxUSE_PALETTE=no'
14075 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14080 eval "$wx_cv_use_palette"
14082 if test x"$enablestring" = xdisable; then
14083 if test $wxUSE_PALETTE = no; then
14089 result=$wxUSE_PALETTE
14092 { echo "$as_me:$LINENO: result: $result" >&5
14093 echo "${ECHO_T}$result" >&6; }
14097 defaultval=$wxUSE_ALL_FEATURES
14098 if test -z "$defaultval"; then
14099 if test x"$enablestring" = xdisable; then
14106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14107 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14108 # Check whether --enable-image was given.
14109 if test "${enable_image+set}" = set; then
14110 enableval=$enable_image;
14111 if test "$enableval" = yes; then
14112 wx_cv_use_image='wxUSE_IMAGE=yes'
14114 wx_cv_use_image='wxUSE_IMAGE=no'
14119 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14124 eval "$wx_cv_use_image"
14126 if test x"$enablestring" = xdisable; then
14127 if test $wxUSE_IMAGE = no; then
14133 result=$wxUSE_IMAGE
14136 { echo "$as_me:$LINENO: result: $result" >&5
14137 echo "${ECHO_T}$result" >&6; }
14141 defaultval=$wxUSE_ALL_FEATURES
14142 if test -z "$defaultval"; then
14143 if test x"$enablestring" = xdisable; then
14150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14151 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14152 # Check whether --enable-gif was given.
14153 if test "${enable_gif+set}" = set; then
14154 enableval=$enable_gif;
14155 if test "$enableval" = yes; then
14156 wx_cv_use_gif='wxUSE_GIF=yes'
14158 wx_cv_use_gif='wxUSE_GIF=no'
14163 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14168 eval "$wx_cv_use_gif"
14170 if test x"$enablestring" = xdisable; then
14171 if test $wxUSE_GIF = no; then
14180 { echo "$as_me:$LINENO: result: $result" >&5
14181 echo "${ECHO_T}$result" >&6; }
14185 defaultval=$wxUSE_ALL_FEATURES
14186 if test -z "$defaultval"; then
14187 if test x"$enablestring" = xdisable; then
14194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14195 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14196 # Check whether --enable-pcx was given.
14197 if test "${enable_pcx+set}" = set; then
14198 enableval=$enable_pcx;
14199 if test "$enableval" = yes; then
14200 wx_cv_use_pcx='wxUSE_PCX=yes'
14202 wx_cv_use_pcx='wxUSE_PCX=no'
14207 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14212 eval "$wx_cv_use_pcx"
14214 if test x"$enablestring" = xdisable; then
14215 if test $wxUSE_PCX = no; then
14224 { echo "$as_me:$LINENO: result: $result" >&5
14225 echo "${ECHO_T}$result" >&6; }
14229 defaultval=$wxUSE_ALL_FEATURES
14230 if test -z "$defaultval"; then
14231 if test x"$enablestring" = xdisable; then
14238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14239 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14240 # Check whether --enable-tga was given.
14241 if test "${enable_tga+set}" = set; then
14242 enableval=$enable_tga;
14243 if test "$enableval" = yes; then
14244 wx_cv_use_tga='wxUSE_TGA=yes'
14246 wx_cv_use_tga='wxUSE_TGA=no'
14251 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14256 eval "$wx_cv_use_tga"
14258 if test x"$enablestring" = xdisable; then
14259 if test $wxUSE_TGA = no; then
14268 { echo "$as_me:$LINENO: result: $result" >&5
14269 echo "${ECHO_T}$result" >&6; }
14273 defaultval=$wxUSE_ALL_FEATURES
14274 if test -z "$defaultval"; then
14275 if test x"$enablestring" = xdisable; then
14282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14283 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14284 # Check whether --enable-iff was given.
14285 if test "${enable_iff+set}" = set; then
14286 enableval=$enable_iff;
14287 if test "$enableval" = yes; then
14288 wx_cv_use_iff='wxUSE_IFF=yes'
14290 wx_cv_use_iff='wxUSE_IFF=no'
14295 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14300 eval "$wx_cv_use_iff"
14302 if test x"$enablestring" = xdisable; then
14303 if test $wxUSE_IFF = no; then
14312 { echo "$as_me:$LINENO: result: $result" >&5
14313 echo "${ECHO_T}$result" >&6; }
14317 defaultval=$wxUSE_ALL_FEATURES
14318 if test -z "$defaultval"; then
14319 if test x"$enablestring" = xdisable; then
14326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14327 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14328 # Check whether --enable-pnm was given.
14329 if test "${enable_pnm+set}" = set; then
14330 enableval=$enable_pnm;
14331 if test "$enableval" = yes; then
14332 wx_cv_use_pnm='wxUSE_PNM=yes'
14334 wx_cv_use_pnm='wxUSE_PNM=no'
14339 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14344 eval "$wx_cv_use_pnm"
14346 if test x"$enablestring" = xdisable; then
14347 if test $wxUSE_PNM = no; then
14356 { echo "$as_me:$LINENO: result: $result" >&5
14357 echo "${ECHO_T}$result" >&6; }
14361 defaultval=$wxUSE_ALL_FEATURES
14362 if test -z "$defaultval"; then
14363 if test x"$enablestring" = xdisable; then
14370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14371 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14372 # Check whether --enable-xpm was given.
14373 if test "${enable_xpm+set}" = set; then
14374 enableval=$enable_xpm;
14375 if test "$enableval" = yes; then
14376 wx_cv_use_xpm='wxUSE_XPM=yes'
14378 wx_cv_use_xpm='wxUSE_XPM=no'
14383 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14388 eval "$wx_cv_use_xpm"
14390 if test x"$enablestring" = xdisable; then
14391 if test $wxUSE_XPM = no; then
14400 { echo "$as_me:$LINENO: result: $result" >&5
14401 echo "${ECHO_T}$result" >&6; }
14405 defaultval=$wxUSE_ALL_FEATURES
14406 if test -z "$defaultval"; then
14407 if test x"$enablestring" = xdisable; then
14414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14415 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14416 # Check whether --enable-ico_cur was given.
14417 if test "${enable_ico_cur+set}" = set; then
14418 enableval=$enable_ico_cur;
14419 if test "$enableval" = yes; then
14420 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14422 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14427 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14432 eval "$wx_cv_use_ico_cur"
14434 if test x"$enablestring" = xdisable; then
14435 if test $wxUSE_ICO_CUR = no; then
14441 result=$wxUSE_ICO_CUR
14444 { echo "$as_me:$LINENO: result: $result" >&5
14445 echo "${ECHO_T}$result" >&6; }
14451 defaultval=$wxUSE_ALL_FEATURES
14452 if test -z "$defaultval"; then
14453 if test x"$enablestring" = xdisable; then
14460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14461 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14462 # Check whether --enable-dccache was given.
14463 if test "${enable_dccache+set}" = set; then
14464 enableval=$enable_dccache;
14465 if test "$enableval" = yes; then
14466 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14468 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14473 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14478 eval "$wx_cv_use_dccache"
14480 if test x"$enablestring" = xdisable; then
14481 if test $wxUSE_DC_CACHEING = no; then
14487 result=$wxUSE_DC_CACHEING
14490 { echo "$as_me:$LINENO: result: $result" >&5
14491 echo "${ECHO_T}$result" >&6; }
14495 defaultval=$wxUSE_ALL_FEATURES
14496 if test -z "$defaultval"; then
14497 if test x"$enablestring" = xdisable; then
14504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14505 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14506 # Check whether --enable-ps-in-msw was given.
14507 if test "${enable_ps_in_msw+set}" = set; then
14508 enableval=$enable_ps_in_msw;
14509 if test "$enableval" = yes; then
14510 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14512 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14517 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14522 eval "$wx_cv_use_ps_in_msw"
14524 if test x"$enablestring" = xdisable; then
14525 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14531 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14534 { echo "$as_me:$LINENO: result: $result" >&5
14535 echo "${ECHO_T}$result" >&6; }
14539 defaultval=$wxUSE_ALL_FEATURES
14540 if test -z "$defaultval"; then
14541 if test x"$enablestring" = xdisable; then
14548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14549 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14550 # Check whether --enable-ownerdrawn was given.
14551 if test "${enable_ownerdrawn+set}" = set; then
14552 enableval=$enable_ownerdrawn;
14553 if test "$enableval" = yes; then
14554 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14556 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14561 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14566 eval "$wx_cv_use_ownerdrawn"
14568 if test x"$enablestring" = xdisable; then
14569 if test $wxUSE_OWNER_DRAWN = no; then
14575 result=$wxUSE_OWNER_DRAWN
14578 { echo "$as_me:$LINENO: result: $result" >&5
14579 echo "${ECHO_T}$result" >&6; }
14583 defaultval=$wxUSE_ALL_FEATURES
14584 if test -z "$defaultval"; then
14585 if test x"$enablestring" = xdisable; then
14592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14593 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14594 # Check whether --enable-uxtheme was given.
14595 if test "${enable_uxtheme+set}" = set; then
14596 enableval=$enable_uxtheme;
14597 if test "$enableval" = yes; then
14598 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14600 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14605 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14610 eval "$wx_cv_use_uxtheme"
14612 if test x"$enablestring" = xdisable; then
14613 if test $wxUSE_UXTHEME = no; then
14619 result=$wxUSE_UXTHEME
14622 { echo "$as_me:$LINENO: result: $result" >&5
14623 echo "${ECHO_T}$result" >&6; }
14627 defaultval=$wxUSE_ALL_FEATURES
14628 if test -z "$defaultval"; then
14629 if test x"$enablestring" = xdisable; then
14636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14637 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14638 # Check whether --enable-wxdib was given.
14639 if test "${enable_wxdib+set}" = set; then
14640 enableval=$enable_wxdib;
14641 if test "$enableval" = yes; then
14642 wx_cv_use_wxdib='wxUSE_DIB=yes'
14644 wx_cv_use_wxdib='wxUSE_DIB=no'
14649 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14654 eval "$wx_cv_use_wxdib"
14656 if test x"$enablestring" = xdisable; then
14657 if test $wxUSE_DIB = no; then
14666 { echo "$as_me:$LINENO: result: $result" >&5
14667 echo "${ECHO_T}$result" >&6; }
14670 if test "$wxUSE_MSW" != 1; then
14671 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14676 defaultval=$wxUSE_ALL_FEATURES
14677 if test -z "$defaultval"; then
14678 if test x"$enablestring" = xdisable; then
14685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14686 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14687 # Check whether --enable-autoidman was given.
14688 if test "${enable_autoidman+set}" = set; then
14689 enableval=$enable_autoidman;
14690 if test "$enableval" = yes; then
14691 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14693 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14698 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14703 eval "$wx_cv_use_autoidman"
14705 if test x"$enablestring" = xdisable; then
14706 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14712 result=$wxUSE_AUTOID_MANAGEMENT
14715 { echo "$as_me:$LINENO: result: $result" >&5
14716 echo "${ECHO_T}$result" >&6; }
14722 cat >confcache <<\_ACEOF
14723 # This file is a shell script that caches the results of configure
14724 # tests run on this system so they can be shared between configure
14725 # scripts and configure runs, see configure's option --config-cache.
14726 # It is not useful on other systems. If it contains results you don't
14727 # want to keep, you may remove or edit it.
14729 # config.status only pays attention to the cache file if you give it
14730 # the --recheck option to rerun configure.
14732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14734 # following values.
14738 # The following way of writing the cache mishandles newlines in values,
14739 # but we know of no workaround that is simple, portable, and efficient.
14740 # So, we kill variables containing newlines.
14741 # Ultrix sh set writes to stderr and can't be redirected directly,
14742 # and sets the high bit in the cache file unless we assign to the vars.
14744 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14745 eval ac_val=\$$ac_var
14749 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14750 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14753 _ | IFS | as_nl) ;; #(
14754 *) $as_unset $ac_var ;;
14760 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14761 *${as_nl}ac_space=\ *)
14762 # `set' does not quote correctly, so add quotes (double-quote
14763 # substitution turns \\\\ into \\, and sed turns \\ into \).
14766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14769 # `set' quotes correctly as required by POSIX, so do not add quotes.
14770 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14779 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14781 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14783 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14784 if test -w "$cache_file"; then
14785 test "x$cache_file" != "x/dev/null" &&
14786 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14787 echo "$as_me: updating cache $cache_file" >&6;}
14788 cat confcache >$cache_file
14790 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14791 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14798 ac_cpp='$CPP $CPPFLAGS'
14799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14802 if test -n "$ac_tool_prefix"; then
14803 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14804 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14807 if test "${ac_cv_prog_CC+set}" = set; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14810 if test -n "$CC"; then
14811 ac_cv_prog_CC="$CC" # Let the user override the test.
14813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14814 for as_dir in $PATH
14817 test -z "$as_dir" && as_dir=.
14818 for ac_exec_ext in '' $ac_executable_extensions; do
14819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14820 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14831 if test -n "$CC"; then
14832 { echo "$as_me:$LINENO: result: $CC" >&5
14833 echo "${ECHO_T}$CC" >&6; }
14835 { echo "$as_me:$LINENO: result: no" >&5
14836 echo "${ECHO_T}no" >&6; }
14841 if test -z "$ac_cv_prog_CC"; then
14843 # Extract the first word of "gcc", so it can be a program name with args.
14844 set dummy gcc; ac_word=$2
14845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 if test -n "$ac_ct_CC"; then
14851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14854 for as_dir in $PATH
14857 test -z "$as_dir" && as_dir=.
14858 for ac_exec_ext in '' $ac_executable_extensions; do
14859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14860 ac_cv_prog_ac_ct_CC="gcc"
14861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14871 if test -n "$ac_ct_CC"; then
14872 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14873 echo "${ECHO_T}$ac_ct_CC" >&6; }
14875 { echo "$as_me:$LINENO: result: no" >&5
14876 echo "${ECHO_T}no" >&6; }
14879 if test "x$ac_ct_CC" = x; then
14882 case $cross_compiling:$ac_tool_warned in
14884 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14885 whose name does not start with the host triplet. If you think this
14886 configuration is useful to you, please write to autoconf@gnu.org." >&5
14887 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14888 whose name does not start with the host triplet. If you think this
14889 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14890 ac_tool_warned=yes ;;
14895 CC="$ac_cv_prog_CC"
14898 if test -z "$CC"; then
14899 if test -n "$ac_tool_prefix"; then
14900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14901 set dummy ${ac_tool_prefix}cc; ac_word=$2
14902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14904 if test "${ac_cv_prog_CC+set}" = set; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 if test -n "$CC"; then
14908 ac_cv_prog_CC="$CC" # Let the user override the test.
14910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14911 for as_dir in $PATH
14914 test -z "$as_dir" && as_dir=.
14915 for ac_exec_ext in '' $ac_executable_extensions; do
14916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14917 ac_cv_prog_CC="${ac_tool_prefix}cc"
14918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14928 if test -n "$CC"; then
14929 { echo "$as_me:$LINENO: result: $CC" >&5
14930 echo "${ECHO_T}$CC" >&6; }
14932 { echo "$as_me:$LINENO: result: no" >&5
14933 echo "${ECHO_T}no" >&6; }
14939 if test -z "$CC"; then
14940 # Extract the first word of "cc", so it can be a program name with args.
14941 set dummy cc; ac_word=$2
14942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14944 if test "${ac_cv_prog_CC+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 if test -n "$CC"; then
14948 ac_cv_prog_CC="$CC" # Let the user override the test.
14950 ac_prog_rejected=no
14951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14952 for as_dir in $PATH
14955 test -z "$as_dir" && as_dir=.
14956 for ac_exec_ext in '' $ac_executable_extensions; do
14957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14959 ac_prog_rejected=yes
14963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14970 if test $ac_prog_rejected = yes; then
14971 # We found a bogon in the path, so make sure we never use it.
14972 set dummy $ac_cv_prog_CC
14974 if test $# != 0; then
14975 # We chose a different compiler from the bogus one.
14976 # However, it has the same basename, so the bogon will be chosen
14977 # first if we set CC to just the basename; use the full file name.
14979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14985 if test -n "$CC"; then
14986 { echo "$as_me:$LINENO: result: $CC" >&5
14987 echo "${ECHO_T}$CC" >&6; }
14989 { echo "$as_me:$LINENO: result: no" >&5
14990 echo "${ECHO_T}no" >&6; }
14995 if test -z "$CC"; then
14996 if test -n "$ac_tool_prefix"; then
14997 for ac_prog in cl.exe
14999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15003 if test "${ac_cv_prog_CC+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 if test -n "$CC"; then
15007 ac_cv_prog_CC="$CC" # Let the user override the test.
15009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15010 for as_dir in $PATH
15013 test -z "$as_dir" && as_dir=.
15014 for ac_exec_ext in '' $ac_executable_extensions; do
15015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15027 if test -n "$CC"; then
15028 { echo "$as_me:$LINENO: result: $CC" >&5
15029 echo "${ECHO_T}$CC" >&6; }
15031 { echo "$as_me:$LINENO: result: no" >&5
15032 echo "${ECHO_T}no" >&6; }
15036 test -n "$CC" && break
15039 if test -z "$CC"; then
15041 for ac_prog in cl.exe
15043 # Extract the first word of "$ac_prog", so it can be a program name with args.
15044 set dummy $ac_prog; ac_word=$2
15045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15050 if test -n "$ac_ct_CC"; then
15051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15054 for as_dir in $PATH
15057 test -z "$as_dir" && as_dir=.
15058 for ac_exec_ext in '' $ac_executable_extensions; do
15059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15060 ac_cv_prog_ac_ct_CC="$ac_prog"
15061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15071 if test -n "$ac_ct_CC"; then
15072 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15073 echo "${ECHO_T}$ac_ct_CC" >&6; }
15075 { echo "$as_me:$LINENO: result: no" >&5
15076 echo "${ECHO_T}no" >&6; }
15080 test -n "$ac_ct_CC" && break
15083 if test "x$ac_ct_CC" = x; then
15086 case $cross_compiling:$ac_tool_warned in
15088 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15089 whose name does not start with the host triplet. If you think this
15090 configuration is useful to you, please write to autoconf@gnu.org." >&5
15091 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15092 whose name does not start with the host triplet. If you think this
15093 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15094 ac_tool_warned=yes ;;
15103 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15104 See \`config.log' for more details." >&5
15105 echo "$as_me: error: no acceptable C compiler found in \$PATH
15106 See \`config.log' for more details." >&2;}
15107 { (exit 1); exit 1; }; }
15109 # Provide some information about the compiler.
15110 echo "$as_me:$LINENO: checking for C compiler version" >&5
15111 ac_compiler=`set X $ac_compile; echo $2`
15112 { (ac_try="$ac_compiler --version >&5"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compiler --version >&5") 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }
15122 { (ac_try="$ac_compiler -v >&5"
15123 case "(($ac_try" in
15124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15125 *) ac_try_echo=$ac_try;;
15127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15128 (eval "$ac_compiler -v >&5") 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }
15132 { (ac_try="$ac_compiler -V >&5"
15133 case "(($ac_try" in
15134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15135 *) ac_try_echo=$ac_try;;
15137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15138 (eval "$ac_compiler -V >&5") 2>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }
15143 cat >conftest.$ac_ext <<_ACEOF
15146 cat confdefs.h >>conftest.$ac_ext
15147 cat >>conftest.$ac_ext <<_ACEOF
15148 /* end confdefs.h. */
15158 ac_clean_files_save=$ac_clean_files
15159 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15160 # Try to create an executable without -o first, disregard a.out.
15161 # It will help us diagnose broken compilers, and finding out an intuition
15163 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15164 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15165 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15167 # List of possible output files, starting from the most likely.
15168 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15169 # only as a last resort. b.out is created by i960 compilers.
15170 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15172 # The IRIX 6 linker writes into existing files which may not be
15173 # executable, retaining their permissions. Remove them first so a
15174 # subsequent execution test works.
15176 for ac_file in $ac_files
15179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15180 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15185 if { (ac_try="$ac_link_default"
15186 case "(($ac_try" in
15187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15188 *) ac_try_echo=$ac_try;;
15190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15191 (eval "$ac_link_default") 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; then
15195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15198 # so that the user can short-circuit this test for compilers unknown to
15200 for ac_file in $ac_files ''
15202 test -f "$ac_file" || continue
15204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15207 # We found the default executable, but exeext='' is most
15211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15213 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15215 # We set ac_cv_exeext here because the later test for it is not
15216 # safe: cross compilers may not add the suffix if given an `-o'
15217 # argument, so we may need to know it at that point already.
15218 # Even if this section looks crufty: it has the advantage of
15219 # actually working.
15225 test "$ac_cv_exeext" = no && ac_cv_exeext=
15231 { echo "$as_me:$LINENO: result: $ac_file" >&5
15232 echo "${ECHO_T}$ac_file" >&6; }
15233 if test -z "$ac_file"; then
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15237 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15238 See \`config.log' for more details." >&5
15239 echo "$as_me: error: C compiler cannot create executables
15240 See \`config.log' for more details." >&2;}
15241 { (exit 77); exit 77; }; }
15244 ac_exeext=$ac_cv_exeext
15246 # Check that the compiler produces executables we can run. If not, either
15247 # the compiler is broken, or we cross compile.
15248 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15249 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15250 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15251 # If not cross compiling, check that we can run a simple program.
15252 if test "$cross_compiling" != yes; then
15253 if { ac_try='./$ac_file'
15254 { (case "(($ac_try" in
15255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15256 *) ac_try_echo=$ac_try;;
15258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15259 (eval "$ac_try") 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15265 if test "$cross_compiling" = maybe; then
15266 cross_compiling=yes
15268 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15269 If you meant to cross compile, use \`--host'.
15270 See \`config.log' for more details." >&5
15271 echo "$as_me: error: cannot run C compiled programs.
15272 If you meant to cross compile, use \`--host'.
15273 See \`config.log' for more details." >&2;}
15274 { (exit 1); exit 1; }; }
15278 { echo "$as_me:$LINENO: result: yes" >&5
15279 echo "${ECHO_T}yes" >&6; }
15281 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15282 ac_clean_files=$ac_clean_files_save
15283 # Check that the compiler produces executables we can run. If not, either
15284 # the compiler is broken, or we cross compile.
15285 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15286 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15287 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15288 echo "${ECHO_T}$cross_compiling" >&6; }
15290 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15291 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15292 if { (ac_try="$ac_link"
15293 case "(($ac_try" in
15294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_link") 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; then
15302 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15303 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15304 # work properly (i.e., refer to `conftest.exe'), while it won't with
15306 for ac_file in conftest.exe conftest conftest.*; do
15307 test -f "$ac_file" || continue
15309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15310 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15316 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15317 See \`config.log' for more details." >&5
15318 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15319 See \`config.log' for more details." >&2;}
15320 { (exit 1); exit 1; }; }
15323 rm -f conftest$ac_cv_exeext
15324 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15325 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15327 rm -f conftest.$ac_ext
15328 EXEEXT=$ac_cv_exeext
15330 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15331 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15332 if test "${ac_cv_objext+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 cat >conftest.$ac_ext <<_ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15350 rm -f conftest.o conftest.obj
15351 if { (ac_try="$ac_compile"
15352 case "(($ac_try" in
15353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15354 *) ac_try_echo=$ac_try;;
15356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15357 (eval "$ac_compile") 2>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; then
15361 for ac_file in conftest.o conftest.obj conftest.*; do
15362 test -f "$ac_file" || continue;
15364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15365 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15373 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15374 See \`config.log' for more details." >&5
15375 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15376 See \`config.log' for more details." >&2;}
15377 { (exit 1); exit 1; }; }
15380 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15382 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15383 echo "${ECHO_T}$ac_cv_objext" >&6; }
15384 OBJEXT=$ac_cv_objext
15386 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15387 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15388 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15389 echo $ECHO_N "(cached) $ECHO_C" >&6
15391 cat >conftest.$ac_ext <<_ACEOF
15394 cat confdefs.h >>conftest.$ac_ext
15395 cat >>conftest.$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15409 rm -f conftest.$ac_objext
15410 if { (ac_try="$ac_compile"
15411 case "(($ac_try" in
15412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15413 *) ac_try_echo=$ac_try;;
15415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15416 (eval "$ac_compile") 2>conftest.er1
15418 grep -v '^ *+' conftest.er1 >conftest.err
15420 cat conftest.err >&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } && {
15423 test -z "$ac_c_werror_flag" ||
15424 test ! -s conftest.err
15425 } && test -s conftest.$ac_objext; then
15426 ac_compiler_gnu=yes
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15435 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15438 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15439 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15440 GCC=`test $ac_compiler_gnu = yes && echo yes`
15441 ac_test_CFLAGS=${CFLAGS+set}
15442 ac_save_CFLAGS=$CFLAGS
15443 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15444 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15445 if test "${ac_cv_prog_cc_g+set}" = set; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15448 ac_save_c_werror_flag=$ac_c_werror_flag
15449 ac_c_werror_flag=yes
15452 cat >conftest.$ac_ext <<_ACEOF
15455 cat confdefs.h >>conftest.$ac_ext
15456 cat >>conftest.$ac_ext <<_ACEOF
15457 /* end confdefs.h. */
15467 rm -f conftest.$ac_objext
15468 if { (ac_try="$ac_compile"
15469 case "(($ac_try" in
15470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15471 *) ac_try_echo=$ac_try;;
15473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15474 (eval "$ac_compile") 2>conftest.er1
15476 grep -v '^ *+' conftest.er1 >conftest.err
15478 cat conftest.err >&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } && {
15481 test -z "$ac_c_werror_flag" ||
15482 test ! -s conftest.err
15483 } && test -s conftest.$ac_objext; then
15484 ac_cv_prog_cc_g=yes
15486 echo "$as_me: failed program was:" >&5
15487 sed 's/^/| /' conftest.$ac_ext >&5
15490 cat >conftest.$ac_ext <<_ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15505 rm -f conftest.$ac_objext
15506 if { (ac_try="$ac_compile"
15507 case "(($ac_try" in
15508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15509 *) ac_try_echo=$ac_try;;
15511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15512 (eval "$ac_compile") 2>conftest.er1
15514 grep -v '^ *+' conftest.er1 >conftest.err
15516 cat conftest.err >&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } && {
15519 test -z "$ac_c_werror_flag" ||
15520 test ! -s conftest.err
15521 } && test -s conftest.$ac_objext; then
15524 echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.$ac_ext >&5
15527 ac_c_werror_flag=$ac_save_c_werror_flag
15529 cat >conftest.$ac_ext <<_ACEOF
15532 cat confdefs.h >>conftest.$ac_ext
15533 cat >>conftest.$ac_ext <<_ACEOF
15534 /* end confdefs.h. */
15544 rm -f conftest.$ac_objext
15545 if { (ac_try="$ac_compile"
15546 case "(($ac_try" in
15547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15548 *) ac_try_echo=$ac_try;;
15550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15551 (eval "$ac_compile") 2>conftest.er1
15553 grep -v '^ *+' conftest.er1 >conftest.err
15555 cat conftest.err >&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); } && {
15558 test -z "$ac_c_werror_flag" ||
15559 test ! -s conftest.err
15560 } && test -s conftest.$ac_objext; then
15561 ac_cv_prog_cc_g=yes
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15576 ac_c_werror_flag=$ac_save_c_werror_flag
15578 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15579 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15580 if test "$ac_test_CFLAGS" = set; then
15581 CFLAGS=$ac_save_CFLAGS
15582 elif test $ac_cv_prog_cc_g = yes; then
15583 if test "$GCC" = yes; then
15589 if test "$GCC" = yes; then
15595 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15596 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15597 if test "${ac_cv_prog_cc_c89+set}" = set; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15600 ac_cv_prog_cc_c89=no
15602 cat >conftest.$ac_ext <<_ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 #include <stdarg.h>
15610 #include <sys/types.h>
15611 #include <sys/stat.h>
15612 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15613 struct buf { int x; };
15614 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15615 static char *e (p, i)
15621 static char *f (char * (*g) (char **, int), char **p, ...)
15626 s = g (p, va_arg (v,int));
15631 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15632 function prototypes and stuff, but not '\xHH' hex character constants.
15633 These don't provoke an error unfortunately, instead are silently treated
15634 as 'x'. The following induces an error, until -std is added to get
15635 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15636 array size at least. It's necessary to write '\x00'==0 to get something
15637 that's true only with -std. */
15638 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15640 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15641 inside strings and character constants. */
15643 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15645 int test (int i, double x);
15646 struct s1 {int (*f) (int a);};
15647 struct s2 {int (*f) (double a);};
15648 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15654 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15659 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15660 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15662 CC="$ac_save_CC $ac_arg"
15663 rm -f conftest.$ac_objext
15664 if { (ac_try="$ac_compile"
15665 case "(($ac_try" in
15666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15667 *) ac_try_echo=$ac_try;;
15669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15670 (eval "$ac_compile") 2>conftest.er1
15672 grep -v '^ *+' conftest.er1 >conftest.err
15674 cat conftest.err >&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } && {
15677 test -z "$ac_c_werror_flag" ||
15678 test ! -s conftest.err
15679 } && test -s conftest.$ac_objext; then
15680 ac_cv_prog_cc_c89=$ac_arg
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.$ac_ext >&5
15688 rm -f core conftest.err conftest.$ac_objext
15689 test "x$ac_cv_prog_cc_c89" != "xno" && break
15691 rm -f conftest.$ac_ext
15696 case "x$ac_cv_prog_cc_c89" in
15698 { echo "$as_me:$LINENO: result: none needed" >&5
15699 echo "${ECHO_T}none needed" >&6; } ;;
15701 { echo "$as_me:$LINENO: result: unsupported" >&5
15702 echo "${ECHO_T}unsupported" >&6; } ;;
15704 CC="$CC $ac_cv_prog_cc_c89"
15705 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15706 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15711 ac_cpp='$CPP $CPPFLAGS'
15712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15724 ac_cpp='$CPP $CPPFLAGS'
15725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15729 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15730 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15731 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15732 echo $ECHO_N "(cached) $ECHO_C" >&6
15734 cat >conftest.$ac_ext <<_ACEOF
15737 cat confdefs.h >>conftest.$ac_ext
15738 cat >>conftest.$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15745 #ifndef __INTEL_COMPILER
15753 rm -f conftest.$ac_objext
15754 if { (ac_try="$ac_compile"
15755 case "(($ac_try" in
15756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15757 *) ac_try_echo=$ac_try;;
15759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15760 (eval "$ac_compile") 2>conftest.er1
15762 grep -v '^ *+' conftest.er1 >conftest.err
15764 cat conftest.err >&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } && {
15767 test -z "$ac_c_werror_flag" ||
15768 test ! -s conftest.err
15769 } && test -s conftest.$ac_objext; then
15770 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.$ac_ext >&5
15775 bakefile_cv_c_compiler___INTEL_COMPILER=no
15779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15783 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15784 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15785 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15791 ac_cpp='$CPP $CPPFLAGS'
15792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15799 if test "$INTELCC" = "yes"; then
15803 ac_cpp='$CPP $CPPFLAGS'
15804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15808 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15809 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15810 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15813 cat >conftest.$ac_ext <<_ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15824 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15832 rm -f conftest.$ac_objext
15833 if { (ac_try="$ac_compile"
15834 case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_compile") 2>conftest.er1
15841 grep -v '^ *+' conftest.er1 >conftest.err
15843 cat conftest.err >&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest.$ac_objext; then
15849 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15854 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15862 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15863 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15864 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15880 ac_cpp='$CPP $CPPFLAGS'
15881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15885 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15886 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15887 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15888 echo $ECHO_N "(cached) $ECHO_C" >&6
15890 cat >conftest.$ac_ext <<_ACEOF
15893 cat confdefs.h >>conftest.$ac_ext
15894 cat >>conftest.$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15901 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15909 rm -f conftest.$ac_objext
15910 if { (ac_try="$ac_compile"
15911 case "(($ac_try" in
15912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15913 *) ac_try_echo=$ac_try;;
15915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15916 (eval "$ac_compile") 2>conftest.er1
15918 grep -v '^ *+' conftest.er1 >conftest.err
15920 cat conftest.err >&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest.$ac_objext; then
15926 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15931 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15939 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15940 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15941 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15947 ac_cpp='$CPP $CPPFLAGS'
15948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15956 if test "x$GCC" != "xyes"; then
15957 if test "xCC" = "xC"; then
15958 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15959 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15960 if test "${bakefile_cv_c_exto+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15963 cat >conftest.$ac_ext <<_ACEOF
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15978 rm -f conftest.$ac_objext conftest.$ac_ext.o
15979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15980 (eval $ac_compile) 2>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); }; then
15984 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15986 conftest.$ac_ext.o)
15987 bakefile_cv_c_exto="-ext o"
15994 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15995 See \`config.log' for more details." >&5
15996 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15997 See \`config.log' for more details." >&2;}
15998 { (exit 1); exit 1; }; }
16002 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16005 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16006 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16007 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16008 if test "c" = "c"; then
16009 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16011 if test "c" = "cxx"; then
16012 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16016 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16017 unset ac_cv_prog_cc_g
16018 ac_test_CFLAGS=${CFLAGS+set}
16019 ac_save_CFLAGS=$CFLAGS
16020 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16021 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16022 if test "${ac_cv_prog_cc_g+set}" = set; then
16023 echo $ECHO_N "(cached) $ECHO_C" >&6
16025 ac_save_c_werror_flag=$ac_c_werror_flag
16026 ac_c_werror_flag=yes
16029 cat >conftest.$ac_ext <<_ACEOF
16032 cat confdefs.h >>conftest.$ac_ext
16033 cat >>conftest.$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16044 rm -f conftest.$ac_objext
16045 if { (ac_try="$ac_compile"
16046 case "(($ac_try" in
16047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16048 *) ac_try_echo=$ac_try;;
16050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16051 (eval "$ac_compile") 2>conftest.er1
16053 grep -v '^ *+' conftest.er1 >conftest.err
16055 cat conftest.err >&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); } && {
16058 test -z "$ac_c_werror_flag" ||
16059 test ! -s conftest.err
16060 } && test -s conftest.$ac_objext; then
16061 ac_cv_prog_cc_g=yes
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.$ac_ext >&5
16067 cat >conftest.$ac_ext <<_ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16082 rm -f conftest.$ac_objext
16083 if { (ac_try="$ac_compile"
16084 case "(($ac_try" in
16085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16086 *) ac_try_echo=$ac_try;;
16088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16089 (eval "$ac_compile") 2>conftest.er1
16091 grep -v '^ *+' conftest.er1 >conftest.err
16093 cat conftest.err >&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } && {
16096 test -z "$ac_c_werror_flag" ||
16097 test ! -s conftest.err
16098 } && test -s conftest.$ac_objext; then
16101 echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.$ac_ext >&5
16104 ac_c_werror_flag=$ac_save_c_werror_flag
16106 cat >conftest.$ac_ext <<_ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16121 rm -f conftest.$ac_objext
16122 if { (ac_try="$ac_compile"
16123 case "(($ac_try" in
16124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16125 *) ac_try_echo=$ac_try;;
16127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16128 (eval "$ac_compile") 2>conftest.er1
16130 grep -v '^ *+' conftest.er1 >conftest.err
16132 cat conftest.err >&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); } && {
16135 test -z "$ac_c_werror_flag" ||
16136 test ! -s conftest.err
16137 } && test -s conftest.$ac_objext; then
16138 ac_cv_prog_cc_g=yes
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.$ac_ext >&5
16146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16153 ac_c_werror_flag=$ac_save_c_werror_flag
16155 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16156 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16157 if test "$ac_test_CFLAGS" = set; then
16158 CFLAGS=$ac_save_CFLAGS
16159 elif test $ac_cv_prog_cc_g = yes; then
16160 if test "$GCC" = yes; then
16166 if test "$GCC" = yes; then
16180 ac_cpp='$CPP $CPPFLAGS'
16181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16185 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16186 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16187 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 cat >conftest.$ac_ext <<_ACEOF
16193 cat confdefs.h >>conftest.$ac_ext
16194 cat >>conftest.$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16209 rm -f conftest.$ac_objext
16210 if { (ac_try="$ac_compile"
16211 case "(($ac_try" in
16212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16213 *) ac_try_echo=$ac_try;;
16215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16216 (eval "$ac_compile") 2>conftest.er1
16218 grep -v '^ *+' conftest.er1 >conftest.err
16220 cat conftest.err >&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } && {
16223 test -z "$ac_c_werror_flag" ||
16224 test ! -s conftest.err
16225 } && test -s conftest.$ac_objext; then
16226 bakefile_cv_c_compiler___xlC__=yes
16228 echo "$as_me: failed program was:" >&5
16229 sed 's/^/| /' conftest.$ac_ext >&5
16231 bakefile_cv_c_compiler___xlC__=no
16235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16239 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16240 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16241 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16247 ac_cpp='$CPP $CPPFLAGS'
16248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16260 ac_cpp='$CPP $CPPFLAGS'
16261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16265 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16266 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16267 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16268 echo $ECHO_N "(cached) $ECHO_C" >&6
16270 cat >conftest.$ac_ext <<_ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16289 rm -f conftest.$ac_objext
16290 if { (ac_try="$ac_compile"
16291 case "(($ac_try" in
16292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16293 *) ac_try_echo=$ac_try;;
16295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16296 (eval "$ac_compile") 2>conftest.er1
16298 grep -v '^ *+' conftest.er1 >conftest.err
16300 cat conftest.err >&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); } && {
16303 test -z "$ac_c_werror_flag" ||
16304 test ! -s conftest.err
16305 } && test -s conftest.$ac_objext; then
16306 bakefile_cv_c_compiler___MWERKS__=yes
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.$ac_ext >&5
16311 bakefile_cv_c_compiler___MWERKS__=no
16315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16319 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16320 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16321 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16327 ac_cpp='$CPP $CPPFLAGS'
16328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16334 if test "$MWCC" != "yes"; then
16338 ac_cpp='$CPP $CPPFLAGS'
16339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16343 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16344 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16345 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16348 cat >conftest.$ac_ext <<_ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16367 rm -f conftest.$ac_objext
16368 if { (ac_try="$ac_compile"
16369 case "(($ac_try" in
16370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16371 *) ac_try_echo=$ac_try;;
16373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16374 (eval "$ac_compile") 2>conftest.er1
16376 grep -v '^ *+' conftest.er1 >conftest.err
16378 cat conftest.err >&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } && {
16381 test -z "$ac_c_werror_flag" ||
16382 test ! -s conftest.err
16383 } && test -s conftest.$ac_objext; then
16384 bakefile_cv_c_compiler___xlC__=yes
16386 echo "$as_me: failed program was:" >&5
16387 sed 's/^/| /' conftest.$ac_ext >&5
16389 bakefile_cv_c_compiler___xlC__=no
16393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16397 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16398 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16399 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16405 ac_cpp='$CPP $CPPFLAGS'
16406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16419 ac_cpp='$CPP $CPPFLAGS'
16420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16424 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16425 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16426 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16427 echo $ECHO_N "(cached) $ECHO_C" >&6
16429 cat >conftest.$ac_ext <<_ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16440 #ifndef _SGI_COMPILER_VERSION
16448 rm -f conftest.$ac_objext
16449 if { (ac_try="$ac_compile"
16450 case "(($ac_try" in
16451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16452 *) ac_try_echo=$ac_try;;
16454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16455 (eval "$ac_compile") 2>conftest.er1
16457 grep -v '^ *+' conftest.er1 >conftest.err
16459 cat conftest.err >&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } && {
16462 test -z "$ac_c_werror_flag" ||
16463 test ! -s conftest.err
16464 } && test -s conftest.$ac_objext; then
16465 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16470 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16479 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16480 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16486 ac_cpp='$CPP $CPPFLAGS'
16487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16496 if test "$INTELCC" != "yes"; then
16500 ac_cpp='$CPP $CPPFLAGS'
16501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16505 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16506 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16507 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 cat >conftest.$ac_ext <<_ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16529 rm -f conftest.$ac_objext
16530 if { (ac_try="$ac_compile"
16531 case "(($ac_try" in
16532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533 *) ac_try_echo=$ac_try;;
16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16536 (eval "$ac_compile") 2>conftest.er1
16538 grep -v '^ *+' conftest.er1 >conftest.err
16540 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } && {
16543 test -z "$ac_c_werror_flag" ||
16544 test ! -s conftest.err
16545 } && test -s conftest.$ac_objext; then
16546 bakefile_cv_c_compiler___SUNPRO_C=yes
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.$ac_ext >&5
16551 bakefile_cv_c_compiler___SUNPRO_C=no
16555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16559 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16560 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16561 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16567 ac_cpp='$CPP $CPPFLAGS'
16568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16581 ac_cpp='$CPP $CPPFLAGS'
16582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16586 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16587 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16588 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 cat >conftest.$ac_ext <<_ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16610 rm -f conftest.$ac_objext
16611 if { (ac_try="$ac_compile"
16612 case "(($ac_try" in
16613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16619 grep -v '^ *+' conftest.er1 >conftest.err
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_c_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
16627 bakefile_cv_c_compiler___HP_cc=yes
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16632 bakefile_cv_c_compiler___HP_cc=no
16636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16640 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16641 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16642 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16648 ac_cpp='$CPP $CPPFLAGS'
16649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16661 ac_cpp='$CPP $CPPFLAGS'
16662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16666 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16667 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16668 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16669 echo $ECHO_N "(cached) $ECHO_C" >&6
16671 cat >conftest.$ac_ext <<_ACEOF
16674 cat confdefs.h >>conftest.$ac_ext
16675 cat >>conftest.$ac_ext <<_ACEOF
16676 /* end confdefs.h. */
16690 rm -f conftest.$ac_objext
16691 if { (ac_try="$ac_compile"
16692 case "(($ac_try" in
16693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16694 *) ac_try_echo=$ac_try;;
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_compile") 2>conftest.er1
16699 grep -v '^ *+' conftest.er1 >conftest.err
16701 cat conftest.err >&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } && {
16704 test -z "$ac_c_werror_flag" ||
16705 test ! -s conftest.err
16706 } && test -s conftest.$ac_objext; then
16707 bakefile_cv_c_compiler___DECC=yes
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16712 bakefile_cv_c_compiler___DECC=no
16716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16720 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16721 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16722 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16728 ac_cpp='$CPP $CPPFLAGS'
16729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16741 ac_cpp='$CPP $CPPFLAGS'
16742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16746 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16747 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16748 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16751 cat >conftest.$ac_ext <<_ACEOF
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16770 rm -f conftest.$ac_objext
16771 if { (ac_try="$ac_compile"
16772 case "(($ac_try" in
16773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16774 *) ac_try_echo=$ac_try;;
16776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16777 (eval "$ac_compile") 2>conftest.er1
16779 grep -v '^ *+' conftest.er1 >conftest.err
16781 cat conftest.err >&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } && {
16784 test -z "$ac_c_werror_flag" ||
16785 test ! -s conftest.err
16786 } && test -s conftest.$ac_objext; then
16787 bakefile_cv_c_compiler___SUNPRO_C=yes
16789 echo "$as_me: failed program was:" >&5
16790 sed 's/^/| /' conftest.$ac_ext >&5
16792 bakefile_cv_c_compiler___SUNPRO_C=no
16796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16800 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16801 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16802 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16808 ac_cpp='$CPP $CPPFLAGS'
16809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16822 ac_cpp='$CPP $CPPFLAGS'
16823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16826 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16827 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16828 # On Suns, sometimes $CPP names a directory.
16829 if test -n "$CPP" && test -d "$CPP"; then
16832 if test -z "$CPP"; then
16833 if test "${ac_cv_prog_CPP+set}" = set; then
16834 echo $ECHO_N "(cached) $ECHO_C" >&6
16836 # Double quotes because CPP needs to be expanded
16837 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16839 ac_preproc_ok=false
16840 for ac_c_preproc_warn_flag in '' yes
16842 # Use a header file that comes with gcc, so configuring glibc
16843 # with a fresh cross-compiler works.
16844 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16845 # <limits.h> exists even on freestanding compilers.
16846 # On the NeXT, cc -E runs the code through the compiler's parser,
16847 # not just through cpp. "Syntax error" is here to catch this case.
16848 cat >conftest.$ac_ext <<_ACEOF
16851 cat confdefs.h >>conftest.$ac_ext
16852 cat >>conftest.$ac_ext <<_ACEOF
16853 /* end confdefs.h. */
16855 # include <limits.h>
16857 # include <assert.h>
16861 if { (ac_try="$ac_cpp conftest.$ac_ext"
16862 case "(($ac_try" in
16863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16864 *) ac_try_echo=$ac_try;;
16866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16869 grep -v '^ *+' conftest.er1 >conftest.err
16871 cat conftest.err >&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } >/dev/null && {
16874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16875 test ! -s conftest.err
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.$ac_ext >&5
16882 # Broken: fails on valid input.
16886 rm -f conftest.err conftest.$ac_ext
16888 # OK, works on sane cases. Now check whether nonexistent headers
16889 # can be detected and how.
16890 cat >conftest.$ac_ext <<_ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 #include <ac_nonexistent.h>
16898 if { (ac_try="$ac_cpp conftest.$ac_ext"
16899 case "(($ac_try" in
16900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16901 *) ac_try_echo=$ac_try;;
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16906 grep -v '^ *+' conftest.er1 >conftest.err
16908 cat conftest.err >&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } >/dev/null && {
16911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16912 test ! -s conftest.err
16914 # Broken: success on invalid input.
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.$ac_ext >&5
16920 # Passes both tests.
16925 rm -f conftest.err conftest.$ac_ext
16928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16929 rm -f conftest.err conftest.$ac_ext
16930 if $ac_preproc_ok; then
16935 ac_cv_prog_CPP=$CPP
16938 CPP=$ac_cv_prog_CPP
16940 ac_cv_prog_CPP=$CPP
16942 { echo "$as_me:$LINENO: result: $CPP" >&5
16943 echo "${ECHO_T}$CPP" >&6; }
16944 ac_preproc_ok=false
16945 for ac_c_preproc_warn_flag in '' yes
16947 # Use a header file that comes with gcc, so configuring glibc
16948 # with a fresh cross-compiler works.
16949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16950 # <limits.h> exists even on freestanding compilers.
16951 # On the NeXT, cc -E runs the code through the compiler's parser,
16952 # not just through cpp. "Syntax error" is here to catch this case.
16953 cat >conftest.$ac_ext <<_ACEOF
16956 cat confdefs.h >>conftest.$ac_ext
16957 cat >>conftest.$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16960 # include <limits.h>
16962 # include <assert.h>
16966 if { (ac_try="$ac_cpp conftest.$ac_ext"
16967 case "(($ac_try" in
16968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16969 *) ac_try_echo=$ac_try;;
16971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16974 grep -v '^ *+' conftest.er1 >conftest.err
16976 cat conftest.err >&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } >/dev/null && {
16979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16980 test ! -s conftest.err
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.$ac_ext >&5
16987 # Broken: fails on valid input.
16991 rm -f conftest.err conftest.$ac_ext
16993 # OK, works on sane cases. Now check whether nonexistent headers
16994 # can be detected and how.
16995 cat >conftest.$ac_ext <<_ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 #include <ac_nonexistent.h>
17003 if { (ac_try="$ac_cpp conftest.$ac_ext"
17004 case "(($ac_try" in
17005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17006 *) ac_try_echo=$ac_try;;
17008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17011 grep -v '^ *+' conftest.er1 >conftest.err
17013 cat conftest.err >&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } >/dev/null && {
17016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17017 test ! -s conftest.err
17019 # Broken: success on invalid input.
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17025 # Passes both tests.
17030 rm -f conftest.err conftest.$ac_ext
17033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17034 rm -f conftest.err conftest.$ac_ext
17035 if $ac_preproc_ok; then
17038 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17039 See \`config.log' for more details." >&5
17040 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17041 See \`config.log' for more details." >&2;}
17042 { (exit 1); exit 1; }; }
17046 ac_cpp='$CPP $CPPFLAGS'
17047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17052 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17053 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17054 if test "${ac_cv_path_GREP+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 # Extract the first word of "grep ggrep" to use in msg output
17058 if test -z "$GREP"; then
17059 set dummy grep ggrep; ac_prog_name=$2
17060 if test "${ac_cv_path_GREP+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 ac_path_GREP_found=false
17064 # Loop through the user's path and test for each of PROGNAME-LIST
17065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17066 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17069 test -z "$as_dir" && as_dir=.
17070 for ac_prog in grep ggrep; do
17071 for ac_exec_ext in '' $ac_executable_extensions; do
17072 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17073 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17074 # Check for GNU ac_path_GREP and select it if it is found.
17075 # Check for GNU $ac_path_GREP
17076 case `"$ac_path_GREP" --version 2>&1` in
17078 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17081 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17084 cat "conftest.in" "conftest.in" >"conftest.tmp"
17085 mv "conftest.tmp" "conftest.in"
17086 cp "conftest.in" "conftest.nl"
17087 echo 'GREP' >> "conftest.nl"
17088 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17089 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17090 ac_count=`expr $ac_count + 1`
17091 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17092 # Best one so far, save it but keep looking for a better one
17093 ac_cv_path_GREP="$ac_path_GREP"
17094 ac_path_GREP_max=$ac_count
17096 # 10*(2^10) chars as input seems more than enough
17097 test $ac_count -gt 10 && break
17099 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17103 $ac_path_GREP_found && break 3
17113 GREP="$ac_cv_path_GREP"
17114 if test -z "$GREP"; then
17115 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17116 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17117 { (exit 1); exit 1; }; }
17121 ac_cv_path_GREP=$GREP
17126 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17127 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17128 GREP="$ac_cv_path_GREP"
17131 { echo "$as_me:$LINENO: checking for egrep" >&5
17132 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17133 if test "${ac_cv_path_EGREP+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17137 then ac_cv_path_EGREP="$GREP -E"
17139 # Extract the first word of "egrep" to use in msg output
17140 if test -z "$EGREP"; then
17141 set dummy egrep; ac_prog_name=$2
17142 if test "${ac_cv_path_EGREP+set}" = set; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 ac_path_EGREP_found=false
17146 # Loop through the user's path and test for each of PROGNAME-LIST
17147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17148 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17151 test -z "$as_dir" && as_dir=.
17152 for ac_prog in egrep; do
17153 for ac_exec_ext in '' $ac_executable_extensions; do
17154 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17155 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17156 # Check for GNU ac_path_EGREP and select it if it is found.
17157 # Check for GNU $ac_path_EGREP
17158 case `"$ac_path_EGREP" --version 2>&1` in
17160 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17163 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17166 cat "conftest.in" "conftest.in" >"conftest.tmp"
17167 mv "conftest.tmp" "conftest.in"
17168 cp "conftest.in" "conftest.nl"
17169 echo 'EGREP' >> "conftest.nl"
17170 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17171 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17172 ac_count=`expr $ac_count + 1`
17173 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17174 # Best one so far, save it but keep looking for a better one
17175 ac_cv_path_EGREP="$ac_path_EGREP"
17176 ac_path_EGREP_max=$ac_count
17178 # 10*(2^10) chars as input seems more than enough
17179 test $ac_count -gt 10 && break
17181 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17185 $ac_path_EGREP_found && break 3
17195 EGREP="$ac_cv_path_EGREP"
17196 if test -z "$EGREP"; then
17197 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17198 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17199 { (exit 1); exit 1; }; }
17203 ac_cv_path_EGREP=$EGREP
17209 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17210 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17211 EGREP="$ac_cv_path_EGREP"
17214 if test $ac_cv_c_compiler_gnu = yes; then
17215 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17216 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17217 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 ac_pattern="Autoconf.*'x'"
17221 cat >conftest.$ac_ext <<_ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17231 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17232 ac_cv_prog_gcc_traditional=yes
17234 ac_cv_prog_gcc_traditional=no
17239 if test $ac_cv_prog_gcc_traditional = no; then
17240 cat >conftest.$ac_ext <<_ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 #include <termio.h>
17249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17250 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17251 ac_cv_prog_gcc_traditional=yes
17257 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17258 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17259 if test $ac_cv_prog_gcc_traditional = yes; then
17260 CC="$CC -traditional"
17265 CXXFLAGS=${CXXFLAGS:=}
17267 ac_cpp='$CXXCPP $CPPFLAGS'
17268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17271 if test -z "$CXX"; then
17272 if test -n "$CCC"; then
17275 if test -n "$ac_tool_prefix"; then
17276 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17282 if test "${ac_cv_prog_CXX+set}" = set; then
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17285 if test -n "$CXX"; then
17286 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17289 for as_dir in $PATH
17292 test -z "$as_dir" && as_dir=.
17293 for ac_exec_ext in '' $ac_executable_extensions; do
17294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17295 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17305 CXX=$ac_cv_prog_CXX
17306 if test -n "$CXX"; then
17307 { echo "$as_me:$LINENO: result: $CXX" >&5
17308 echo "${ECHO_T}$CXX" >&6; }
17310 { echo "$as_me:$LINENO: result: no" >&5
17311 echo "${ECHO_T}no" >&6; }
17315 test -n "$CXX" && break
17318 if test -z "$CXX"; then
17320 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17322 # Extract the first word of "$ac_prog", so it can be a program name with args.
17323 set dummy $ac_prog; ac_word=$2
17324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17326 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17329 if test -n "$ac_ct_CXX"; then
17330 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17333 for as_dir in $PATH
17336 test -z "$as_dir" && as_dir=.
17337 for ac_exec_ext in '' $ac_executable_extensions; do
17338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17339 ac_cv_prog_ac_ct_CXX="$ac_prog"
17340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17349 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17350 if test -n "$ac_ct_CXX"; then
17351 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17352 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17354 { echo "$as_me:$LINENO: result: no" >&5
17355 echo "${ECHO_T}no" >&6; }
17359 test -n "$ac_ct_CXX" && break
17362 if test "x$ac_ct_CXX" = x; then
17365 case $cross_compiling:$ac_tool_warned in
17367 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17368 whose name does not start with the host triplet. If you think this
17369 configuration is useful to you, please write to autoconf@gnu.org." >&5
17370 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17371 whose name does not start with the host triplet. If you think this
17372 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17373 ac_tool_warned=yes ;;
17381 # Provide some information about the compiler.
17382 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17383 ac_compiler=`set X $ac_compile; echo $2`
17384 { (ac_try="$ac_compiler --version >&5"
17385 case "(($ac_try" in
17386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17387 *) ac_try_echo=$ac_try;;
17389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17390 (eval "$ac_compiler --version >&5") 2>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }
17394 { (ac_try="$ac_compiler -v >&5"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compiler -v >&5") 2>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }
17404 { (ac_try="$ac_compiler -V >&5"
17405 case "(($ac_try" in
17406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17407 *) ac_try_echo=$ac_try;;
17409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17410 (eval "$ac_compiler -V >&5") 2>&5
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); }
17415 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17416 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17417 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17418 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 cat >conftest.$ac_ext <<_ACEOF
17423 cat confdefs.h >>conftest.$ac_ext
17424 cat >>conftest.$ac_ext <<_ACEOF
17425 /* end confdefs.h. */
17438 rm -f conftest.$ac_objext
17439 if { (ac_try="$ac_compile"
17440 case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17442 *) ac_try_echo=$ac_try;;
17444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17445 (eval "$ac_compile") 2>conftest.er1
17447 grep -v '^ *+' conftest.er1 >conftest.err
17449 cat conftest.err >&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } && {
17452 test -z "$ac_cxx_werror_flag" ||
17453 test ! -s conftest.err
17454 } && test -s conftest.$ac_objext; then
17455 ac_compiler_gnu=yes
17457 echo "$as_me: failed program was:" >&5
17458 sed 's/^/| /' conftest.$ac_ext >&5
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17467 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17468 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17469 GXX=`test $ac_compiler_gnu = yes && echo yes`
17470 ac_test_CXXFLAGS=${CXXFLAGS+set}
17471 ac_save_CXXFLAGS=$CXXFLAGS
17472 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17473 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17474 if test "${ac_cv_prog_cxx_g+set}" = set; then
17475 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17478 ac_cxx_werror_flag=yes
17479 ac_cv_prog_cxx_g=no
17481 cat >conftest.$ac_ext <<_ACEOF
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17496 rm -f conftest.$ac_objext
17497 if { (ac_try="$ac_compile"
17498 case "(($ac_try" in
17499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17500 *) ac_try_echo=$ac_try;;
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_compile") 2>conftest.er1
17505 grep -v '^ *+' conftest.er1 >conftest.err
17507 cat conftest.err >&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_cxx_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest.$ac_objext; then
17513 ac_cv_prog_cxx_g=yes
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17519 cat >conftest.$ac_ext <<_ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17534 rm -f conftest.$ac_objext
17535 if { (ac_try="$ac_compile"
17536 case "(($ac_try" in
17537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17538 *) ac_try_echo=$ac_try;;
17540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17541 (eval "$ac_compile") 2>conftest.er1
17543 grep -v '^ *+' conftest.er1 >conftest.err
17545 cat conftest.err >&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } && {
17548 test -z "$ac_cxx_werror_flag" ||
17549 test ! -s conftest.err
17550 } && test -s conftest.$ac_objext; then
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.$ac_ext >&5
17556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17558 cat >conftest.$ac_ext <<_ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17573 rm -f conftest.$ac_objext
17574 if { (ac_try="$ac_compile"
17575 case "(($ac_try" in
17576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17577 *) ac_try_echo=$ac_try;;
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_compile") 2>conftest.er1
17582 grep -v '^ *+' conftest.er1 >conftest.err
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } && {
17587 test -z "$ac_cxx_werror_flag" ||
17588 test ! -s conftest.err
17589 } && test -s conftest.$ac_objext; then
17590 ac_cv_prog_cxx_g=yes
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17605 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17607 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17608 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17609 if test "$ac_test_CXXFLAGS" = set; then
17610 CXXFLAGS=$ac_save_CXXFLAGS
17611 elif test $ac_cv_prog_cxx_g = yes; then
17612 if test "$GXX" = yes; then
17618 if test "$GXX" = yes; then
17625 ac_cpp='$CPP $CPPFLAGS'
17626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17638 ac_cpp='$CXXCPP $CPPFLAGS'
17639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17643 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17644 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17645 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 cat >conftest.$ac_ext <<_ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17659 #ifndef __INTEL_COMPILER
17667 rm -f conftest.$ac_objext
17668 if { (ac_try="$ac_compile"
17669 case "(($ac_try" in
17670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17671 *) ac_try_echo=$ac_try;;
17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_compile") 2>conftest.er1
17676 grep -v '^ *+' conftest.er1 >conftest.err
17678 cat conftest.err >&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } && {
17681 test -z "$ac_cxx_werror_flag" ||
17682 test ! -s conftest.err
17683 } && test -s conftest.$ac_objext; then
17684 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17686 echo "$as_me: failed program was:" >&5
17687 sed 's/^/| /' conftest.$ac_ext >&5
17689 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17698 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17699 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17705 ac_cpp='$CPP $CPPFLAGS'
17706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17713 if test "$INTELCXX" = "yes"; then
17717 ac_cpp='$CXXCPP $CPPFLAGS'
17718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17722 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17723 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17724 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 cat >conftest.$ac_ext <<_ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17738 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17746 rm -f conftest.$ac_objext
17747 if { (ac_try="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17755 grep -v '^ *+' conftest.er1 >conftest.err
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.$ac_objext; then
17763 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17768 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17777 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17778 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17784 ac_cpp='$CPP $CPPFLAGS'
17785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17794 ac_cpp='$CXXCPP $CPPFLAGS'
17795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17799 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17800 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17801 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 cat >conftest.$ac_ext <<_ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17815 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17823 rm -f conftest.$ac_objext
17824 if { (ac_try="$ac_compile"
17825 case "(($ac_try" in
17826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17827 *) ac_try_echo=$ac_try;;
17829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17830 (eval "$ac_compile") 2>conftest.er1
17832 grep -v '^ *+' conftest.er1 >conftest.err
17834 cat conftest.err >&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } && {
17837 test -z "$ac_cxx_werror_flag" ||
17838 test ! -s conftest.err
17839 } && test -s conftest.$ac_objext; then
17840 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17842 echo "$as_me: failed program was:" >&5
17843 sed 's/^/| /' conftest.$ac_ext >&5
17845 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17854 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17855 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17861 ac_cpp='$CPP $CPPFLAGS'
17862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870 if test "x$GCXX" != "xyes"; then
17871 if test "xCXX" = "xC"; then
17872 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17873 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17874 if test "${bakefile_cv_c_exto+set}" = set; then
17875 echo $ECHO_N "(cached) $ECHO_C" >&6
17877 cat >conftest.$ac_ext <<_ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17892 rm -f conftest.$ac_objext conftest.$ac_ext.o
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894 (eval $ac_compile) 2>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; then
17898 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17900 conftest.$ac_ext.o)
17901 bakefile_cv_c_exto="-ext o"
17908 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17909 See \`config.log' for more details." >&5
17910 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17911 See \`config.log' for more details." >&2;}
17912 { (exit 1); exit 1; }; }
17916 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17919 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17920 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17921 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17922 if test "c" = "c"; then
17923 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17925 if test "c" = "cxx"; then
17926 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17930 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17931 unset ac_cv_prog_cc_g
17932 ac_test_CFLAGS=${CFLAGS+set}
17933 ac_save_CFLAGS=$CFLAGS
17934 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17935 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17936 if test "${ac_cv_prog_cc_g+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17939 ac_save_c_werror_flag=$ac_c_werror_flag
17940 ac_c_werror_flag=yes
17943 cat >conftest.$ac_ext <<_ACEOF
17946 cat confdefs.h >>conftest.$ac_ext
17947 cat >>conftest.$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17958 rm -f conftest.$ac_objext
17959 if { (ac_try="$ac_compile"
17960 case "(($ac_try" in
17961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17965 (eval "$ac_compile") 2>conftest.er1
17967 grep -v '^ *+' conftest.er1 >conftest.err
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } && {
17972 test -z "$ac_c_werror_flag" ||
17973 test ! -s conftest.err
17974 } && test -s conftest.$ac_objext; then
17975 ac_cv_prog_cc_g=yes
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17981 cat >conftest.$ac_ext <<_ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17996 rm -f conftest.$ac_objext
17997 if { (ac_try="$ac_compile"
17998 case "(($ac_try" in
17999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18000 *) ac_try_echo=$ac_try;;
18002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18003 (eval "$ac_compile") 2>conftest.er1
18005 grep -v '^ *+' conftest.er1 >conftest.err
18007 cat conftest.err >&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); } && {
18010 test -z "$ac_c_werror_flag" ||
18011 test ! -s conftest.err
18012 } && test -s conftest.$ac_objext; then
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18018 ac_c_werror_flag=$ac_save_c_werror_flag
18020 cat >conftest.$ac_ext <<_ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18035 rm -f conftest.$ac_objext
18036 if { (ac_try="$ac_compile"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compile") 2>conftest.er1
18044 grep -v '^ *+' conftest.er1 >conftest.err
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && {
18049 test -z "$ac_c_werror_flag" ||
18050 test ! -s conftest.err
18051 } && test -s conftest.$ac_objext; then
18052 ac_cv_prog_cc_g=yes
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18067 ac_c_werror_flag=$ac_save_c_werror_flag
18069 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18070 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18071 if test "$ac_test_CFLAGS" = set; then
18072 CFLAGS=$ac_save_CFLAGS
18073 elif test $ac_cv_prog_cc_g = yes; then
18074 if test "$GCC" = yes; then
18080 if test "$GCC" = yes; then
18094 ac_cpp='$CXXCPP $CPPFLAGS'
18095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18099 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18100 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18101 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18102 echo $ECHO_N "(cached) $ECHO_C" >&6
18104 cat >conftest.$ac_ext <<_ACEOF
18107 cat confdefs.h >>conftest.$ac_ext
18108 cat >>conftest.$ac_ext <<_ACEOF
18109 /* end confdefs.h. */
18123 rm -f conftest.$ac_objext
18124 if { (ac_try="$ac_compile"
18125 case "(($ac_try" in
18126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18127 *) ac_try_echo=$ac_try;;
18129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18130 (eval "$ac_compile") 2>conftest.er1
18132 grep -v '^ *+' conftest.er1 >conftest.err
18134 cat conftest.err >&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } && {
18137 test -z "$ac_cxx_werror_flag" ||
18138 test ! -s conftest.err
18139 } && test -s conftest.$ac_objext; then
18140 bakefile_cv_cxx_compiler___xlC__=yes
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.$ac_ext >&5
18145 bakefile_cv_cxx_compiler___xlC__=no
18149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18154 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18155 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18161 ac_cpp='$CPP $CPPFLAGS'
18162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18179 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18180 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18181 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18182 echo $ECHO_N "(cached) $ECHO_C" >&6
18184 cat >conftest.$ac_ext <<_ACEOF
18187 cat confdefs.h >>conftest.$ac_ext
18188 cat >>conftest.$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18203 rm -f conftest.$ac_objext
18204 if { (ac_try="$ac_compile"
18205 case "(($ac_try" in
18206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18207 *) ac_try_echo=$ac_try;;
18209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18210 (eval "$ac_compile") 2>conftest.er1
18212 grep -v '^ *+' conftest.er1 >conftest.err
18214 cat conftest.err >&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } && {
18217 test -z "$ac_cxx_werror_flag" ||
18218 test ! -s conftest.err
18219 } && test -s conftest.$ac_objext; then
18220 bakefile_cv_cxx_compiler___MWERKS__=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18225 bakefile_cv_cxx_compiler___MWERKS__=no
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18235 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18248 if test "$MWCXX" != "yes"; then
18252 ac_cpp='$CXXCPP $CPPFLAGS'
18253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18257 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18258 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18259 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18262 cat >conftest.$ac_ext <<_ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18281 rm -f conftest.$ac_objext
18282 if { (ac_try="$ac_compile"
18283 case "(($ac_try" in
18284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18285 *) ac_try_echo=$ac_try;;
18287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18288 (eval "$ac_compile") 2>conftest.er1
18290 grep -v '^ *+' conftest.er1 >conftest.err
18292 cat conftest.err >&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } && {
18295 test -z "$ac_cxx_werror_flag" ||
18296 test ! -s conftest.err
18297 } && test -s conftest.$ac_objext; then
18298 bakefile_cv_cxx_compiler___xlC__=yes
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.$ac_ext >&5
18303 bakefile_cv_cxx_compiler___xlC__=no
18307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18311 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18312 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18313 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18319 ac_cpp='$CPP $CPPFLAGS'
18320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18333 ac_cpp='$CXXCPP $CPPFLAGS'
18334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18338 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18339 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18340 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 cat >conftest.$ac_ext <<_ACEOF
18346 cat confdefs.h >>conftest.$ac_ext
18347 cat >>conftest.$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18354 #ifndef _SGI_COMPILER_VERSION
18362 rm -f conftest.$ac_objext
18363 if { (ac_try="$ac_compile"
18364 case "(($ac_try" in
18365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18366 *) ac_try_echo=$ac_try;;
18368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18369 (eval "$ac_compile") 2>conftest.er1
18371 grep -v '^ *+' conftest.er1 >conftest.err
18373 cat conftest.err >&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); } && {
18376 test -z "$ac_cxx_werror_flag" ||
18377 test ! -s conftest.err
18378 } && test -s conftest.$ac_objext; then
18379 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.$ac_ext >&5
18384 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18392 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18393 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18394 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18400 ac_cpp='$CPP $CPPFLAGS'
18401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18410 if test "$INTELCXX" != "yes"; then
18414 ac_cpp='$CXXCPP $CPPFLAGS'
18415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18419 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18420 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18421 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 cat >conftest.$ac_ext <<_ACEOF
18427 cat confdefs.h >>conftest.$ac_ext
18428 cat >>conftest.$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18435 #ifndef __SUNPRO_CC
18443 rm -f conftest.$ac_objext
18444 if { (ac_try="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18452 grep -v '^ *+' conftest.er1 >conftest.err
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_cxx_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18465 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18474 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18475 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18481 ac_cpp='$CPP $CPPFLAGS'
18482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18495 ac_cpp='$CXXCPP $CPPFLAGS'
18496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18500 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18501 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18502 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18503 echo $ECHO_N "(cached) $ECHO_C" >&6
18505 cat >conftest.$ac_ext <<_ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18524 rm -f conftest.$ac_objext
18525 if { (ac_try="$ac_compile"
18526 case "(($ac_try" in
18527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18528 *) ac_try_echo=$ac_try;;
18530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18531 (eval "$ac_compile") 2>conftest.er1
18533 grep -v '^ *+' conftest.er1 >conftest.err
18535 cat conftest.err >&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); } && {
18538 test -z "$ac_cxx_werror_flag" ||
18539 test ! -s conftest.err
18540 } && test -s conftest.$ac_objext; then
18541 bakefile_cv_cxx_compiler___HP_aCC=yes
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18546 bakefile_cv_cxx_compiler___HP_aCC=no
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18554 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18555 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18556 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18562 ac_cpp='$CPP $CPPFLAGS'
18563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18575 ac_cpp='$CXXCPP $CPPFLAGS'
18576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18580 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18581 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18582 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 cat >conftest.$ac_ext <<_ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18608 *) ac_try_echo=$ac_try;;
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18613 grep -v '^ *+' conftest.er1 >conftest.err
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_cxx_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.$ac_objext; then
18621 bakefile_cv_cxx_compiler___DECCXX=yes
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18626 bakefile_cv_cxx_compiler___DECCXX=no
18630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18634 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18635 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18636 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18642 ac_cpp='$CPP $CPPFLAGS'
18643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18655 ac_cpp='$CXXCPP $CPPFLAGS'
18656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18660 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18661 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18662 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18665 cat >conftest.$ac_ext <<_ACEOF
18668 cat confdefs.h >>conftest.$ac_ext
18669 cat >>conftest.$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18676 #ifndef __SUNPRO_CC
18684 rm -f conftest.$ac_objext
18685 if { (ac_try="$ac_compile"
18686 case "(($ac_try" in
18687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18688 *) ac_try_echo=$ac_try;;
18690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18691 (eval "$ac_compile") 2>conftest.er1
18693 grep -v '^ *+' conftest.er1 >conftest.err
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } && {
18698 test -z "$ac_cxx_werror_flag" ||
18699 test ! -s conftest.err
18700 } && test -s conftest.$ac_objext; then
18701 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18706 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18715 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18716 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18722 ac_cpp='$CPP $CPPFLAGS'
18723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18735 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18736 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18737 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18738 { (exit 1); exit 1; }; }
18741 if test "x$SUNCXX" != xyes; then
18742 if test -n "$ac_tool_prefix"; then
18743 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18744 set dummy ${ac_tool_prefix}ar; ac_word=$2
18745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18747 if test "${ac_cv_prog_AR+set}" = set; then
18748 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 if test -n "$AR"; then
18751 ac_cv_prog_AR="$AR" # Let the user override the test.
18753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18754 for as_dir in $PATH
18757 test -z "$as_dir" && as_dir=.
18758 for ac_exec_ext in '' $ac_executable_extensions; do
18759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18760 ac_cv_prog_AR="${ac_tool_prefix}ar"
18761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18771 if test -n "$AR"; then
18772 { echo "$as_me:$LINENO: result: $AR" >&5
18773 echo "${ECHO_T}$AR" >&6; }
18775 { echo "$as_me:$LINENO: result: no" >&5
18776 echo "${ECHO_T}no" >&6; }
18781 if test -z "$ac_cv_prog_AR"; then
18783 # Extract the first word of "ar", so it can be a program name with args.
18784 set dummy ar; ac_word=$2
18785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18787 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18788 echo $ECHO_N "(cached) $ECHO_C" >&6
18790 if test -n "$ac_ct_AR"; then
18791 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18794 for as_dir in $PATH
18797 test -z "$as_dir" && as_dir=.
18798 for ac_exec_ext in '' $ac_executable_extensions; do
18799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18800 ac_cv_prog_ac_ct_AR="ar"
18801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18810 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18811 if test -n "$ac_ct_AR"; then
18812 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18813 echo "${ECHO_T}$ac_ct_AR" >&6; }
18815 { echo "$as_me:$LINENO: result: no" >&5
18816 echo "${ECHO_T}no" >&6; }
18819 if test "x$ac_ct_AR" = x; then
18822 case $cross_compiling:$ac_tool_warned in
18824 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18825 whose name does not start with the host triplet. If you think this
18826 configuration is useful to you, please write to autoconf@gnu.org." >&5
18827 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18828 whose name does not start with the host triplet. If you think this
18829 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18830 ac_tool_warned=yes ;;
18835 AR="$ac_cv_prog_AR"
18838 if test "x$AR" = "x" ; then
18839 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18840 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18841 { (exit 1); exit 1; }; }
18846 if test "$wxUSE_MAC" = 1; then
18848 retest_macosx_linking=no
18851 if test "x$wxUSE_MAC_ARCH" != xno; then
18852 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18855 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18856 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18857 # Implicitly turn on the new --with-macosx-sdk using the default
18858 # SDK which provides the behaviour this option has always had.
18859 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18860 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18861 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18862 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18863 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18864 wxUSE_MACOSX_SDK=yes
18867 # Complain to user if he specified an argument to --enable-universal_binary
18868 # and also 1) specified --with-macosx-sdk using the default (yes) or
18869 # 2) specified --with-macosx-sdk using a path or 3) specified
18870 # --without-macosx-sdk (no).
18871 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18872 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18873 See \`config.log' for more details." >&5
18874 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18875 See \`config.log' for more details." >&2;}
18876 { (exit 1); exit 1; }; }
18878 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18879 # special-case the empty string because the below test simply
18880 # converts "no" to the empty string anyway.
18881 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18882 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18883 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18886 OSX_ARCH_OPTS="-arch ppc -arch i386"
18887 if test "$wxUSE_OSX_COCOA" = 1; then
18888 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18890 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18891 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18892 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18893 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18895 retest_macosx_linking=yes
18897 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18898 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18902 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18903 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18904 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18905 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18906 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18908 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18910 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18911 # TODO: Search for most recent SDK and use it.
18912 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18916 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18917 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18918 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18919 if ! test -d "$wxUSE_MACOSX_SDK"; then
18920 { { echo "$as_me:$LINENO: error: not found
18921 See \`config.log' for more details." >&5
18922 echo "$as_me: error: not found
18923 See \`config.log' for more details." >&2;}
18924 { (exit 1); exit 1; }; }
18926 { echo "$as_me:$LINENO: result: exists" >&5
18927 echo "${ECHO_T}exists" >&6; }
18929 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18930 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18931 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18932 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18933 retest_macosx_linking=yes
18936 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18937 wxUSE_MACOSX_VERSION_MIN=
18938 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18939 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18940 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18941 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18943 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/'`
18945 # If that failed, try again with the new key
18946 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18948 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/'`
18952 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18953 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18954 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18955 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18957 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18958 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18959 wxUSE_MACOSX_VERSION_MIN=
18962 wxUSE_MACOSX_VERSION_MIN=
18964 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18965 for ac_prog in sw_vers
18967 # Extract the first word of "$ac_prog", so it can be a program name with args.
18968 set dummy $ac_prog; ac_word=$2
18969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18971 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18972 echo $ECHO_N "(cached) $ECHO_C" >&6
18974 if test -n "$OSX_SW_VERS"; then
18975 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18978 for as_dir in $PATH
18981 test -z "$as_dir" && as_dir=.
18982 for ac_exec_ext in '' $ac_executable_extensions; do
18983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18984 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18994 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18995 if test -n "$OSX_SW_VERS"; then
18996 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18997 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18999 { echo "$as_me:$LINENO: result: no" >&5
19000 echo "${ECHO_T}no" >&6; }
19004 test -n "$OSX_SW_VERS" && break
19007 if test "$OSX_SW_VERS" != ""; then
19008 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19010 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19011 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19015 case "$OSX_VERSION" in
19017 wxUSE_MACOSX_VERSION_MIN=10.4
19021 if test "$wxUSE_OSX_CARBON" = 1; then
19022 # otherwise configure stops on leopard for universal_binary
19023 wxUSE_MACOSX_VERSION_MIN=10.4
19025 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19026 wxUSE_MACOSX_VERSION_MIN=10.5
19033 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19037 if test "$wxUSE_OSX_CARBON" = 1; then
19041 if test "x$NEEDS_GCC40" == "xyes"; then
19042 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19043 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19044 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19045 if test "x$CC" = "xgcc"; then
19046 CCVERSION=`$CC --version | grep 4.[2-9].`
19047 if test "x$CCVERSION" != "x"; then
19048 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19049 CC="/usr/bin/gcc-4.0"
19053 if test "x$CXX" = "xg++"; then
19054 CCVERSION=`$CXX --version | grep 4.[2-9].`
19055 if test "x$CCVERSION" != "x"; then
19056 CXX="/usr/bin/g++-4.0"
19061 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19062 if test "$wxUSE_OSX_IPHONE" = 1; then
19063 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19065 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19067 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19068 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19069 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19070 retest_macosx_linking=yes
19073 if test "x$retest_macosx_linking" = "xyes"; then
19075 ac_cpp='$CPP $CPPFLAGS'
19076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19080 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19081 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19082 cat >conftest.$ac_ext <<_ACEOF
19085 cat confdefs.h >>conftest.$ac_ext
19086 cat >>conftest.$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19097 rm -f conftest.$ac_objext conftest$ac_exeext
19098 if { (ac_try="$ac_link"
19099 case "(($ac_try" in
19100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19101 *) ac_try_echo=$ac_try;;
19103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19104 (eval "$ac_link") 2>conftest.er1
19106 grep -v '^ *+' conftest.er1 >conftest.err
19108 cat conftest.err >&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); } && {
19111 test -z "$ac_c_werror_flag" ||
19112 test ! -s conftest.err
19113 } && test -s conftest$ac_exeext &&
19114 $as_test_x conftest$ac_exeext; then
19115 { echo "$as_me:$LINENO: result: yes" >&5
19116 echo "${ECHO_T}yes" >&6; }
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19121 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19122 See \`config.log' for more details." >&5
19123 echo "$as_me: error: no. Try a different SDK
19124 See \`config.log' for more details." >&2;}
19125 { (exit 1); exit 1; }; }; exit 1
19128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19129 conftest$ac_exeext conftest.$ac_ext
19131 ac_cpp='$CPP $CPPFLAGS'
19132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19138 ac_cpp='$CXXCPP $CPPFLAGS'
19139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19143 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19144 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19145 cat >conftest.$ac_ext <<_ACEOF
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19160 rm -f conftest.$ac_objext conftest$ac_exeext
19161 if { (ac_try="$ac_link"
19162 case "(($ac_try" in
19163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19164 *) ac_try_echo=$ac_try;;
19166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19167 (eval "$ac_link") 2>conftest.er1
19169 grep -v '^ *+' conftest.er1 >conftest.err
19171 cat conftest.err >&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } && {
19174 test -z "$ac_cxx_werror_flag" ||
19175 test ! -s conftest.err
19176 } && test -s conftest$ac_exeext &&
19177 $as_test_x conftest$ac_exeext; then
19178 { echo "$as_me:$LINENO: result: yes" >&5
19179 echo "${ECHO_T}yes" >&6; }
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19184 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19185 See \`config.log' for more details." >&5
19186 echo "$as_me: error: no. Try a different SDK
19187 See \`config.log' for more details." >&2;}
19188 { (exit 1); exit 1; }; }; exit 1
19191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19192 conftest$ac_exeext conftest.$ac_ext
19194 ac_cpp='$CPP $CPPFLAGS'
19195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19205 INSTALL_PROGRAM="cp -fp"
19206 INSTALL_DATA="cp -fp"
19213 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19214 CXXFLAGS="-qunique $CXXFLAGS"
19218 powerpc-*-darwin* )
19219 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19220 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19221 cat >conftest.$ac_ext <<_ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19231 #ifndef __POWERPC__
19232 choke me for lack of PowerPC
19239 rm -f conftest.$ac_objext
19240 if { (ac_try="$ac_compile"
19241 case "(($ac_try" in
19242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19243 *) ac_try_echo=$ac_try;;
19245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19246 (eval "$ac_compile") 2>conftest.er1
19248 grep -v '^ *+' conftest.er1 >conftest.err
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } && {
19253 test -z "$ac_c_werror_flag" ||
19254 test ! -s conftest.err
19255 } && test -s conftest.$ac_objext; then
19256 { echo "$as_me:$LINENO: result: yes" >&5
19257 echo "${ECHO_T}yes" >&6; }
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19262 { echo "$as_me:$LINENO: result: no" >&5
19263 echo "${ECHO_T}no" >&6; }
19264 cat >>confdefs.h <<\_ACEOF
19265 #define __POWERPC__ 1
19271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19277 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19278 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19279 cat >conftest.$ac_ext <<_ACEOF
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285 #include <CoreFoundation/CFBase.h>
19295 rm -f conftest.$ac_objext
19296 if { (ac_try="$ac_compile"
19297 case "(($ac_try" in
19298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19299 *) ac_try_echo=$ac_try;;
19301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19302 (eval "$ac_compile") 2>conftest.er1
19304 grep -v '^ *+' conftest.er1 >conftest.err
19306 cat conftest.err >&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); } && {
19309 test -z "$ac_c_werror_flag" ||
19310 test ! -s conftest.err
19311 } && test -s conftest.$ac_objext; then
19312 { echo "$as_me:$LINENO: result: yes" >&5
19313 echo "${ECHO_T}yes" >&6; }
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19318 { echo "$as_me:$LINENO: result: no" >&5
19319 echo "${ECHO_T}no" >&6; }
19320 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19321 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19322 cat >conftest.$ac_ext <<_ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 #define __CF_USE_FRAMEWORK_INCLUDES__
19329 #include <CoreFoundation/CFBase.h>
19339 rm -f conftest.$ac_objext
19340 if { (ac_try="$ac_compile"
19341 case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_compile") 2>conftest.er1
19348 grep -v '^ *+' conftest.er1 >conftest.err
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } && {
19353 test -z "$ac_c_werror_flag" ||
19354 test ! -s conftest.err
19355 } && test -s conftest.$ac_objext; then
19356 { echo "$as_me:$LINENO: result: yes" >&5
19357 echo "${ECHO_T}yes" >&6; }
19358 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19360 echo "$as_me: failed program was:" >&5
19361 sed 's/^/| /' conftest.$ac_ext >&5
19363 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19364 See \`config.log' for more details." >&5
19365 echo "$as_me: error: no. CoreFoundation not available.
19366 See \`config.log' for more details." >&2;}
19367 { (exit 1); exit 1; }; }
19371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19381 doesnt_want_win32=0
19384 if test "$wxUSE_MSW" = 1 ; then
19387 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19388 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19389 if test "${wx_cv_nocygwin+set}" = set; then
19390 echo $ECHO_N "(cached) $ECHO_C" >&6
19393 cat >conftest.$ac_ext <<_ACEOF
19396 cat confdefs.h >>conftest.$ac_ext
19397 cat >>conftest.$ac_ext <<_ACEOF
19398 /* end confdefs.h. */
19412 rm -f conftest.$ac_objext
19413 if { (ac_try="$ac_compile"
19414 case "(($ac_try" in
19415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19416 *) ac_try_echo=$ac_try;;
19418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19419 (eval "$ac_compile") 2>conftest.er1
19421 grep -v '^ *+' conftest.er1 >conftest.err
19423 cat conftest.err >&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } && {
19426 test -z "$ac_c_werror_flag" ||
19427 test ! -s conftest.err
19428 } && test -s conftest.$ac_objext; then
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.$ac_ext >&5
19438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19442 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19443 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19445 if test "$wx_cv_nocygwin" = "yes"; then
19448 doesnt_want_win32=1
19451 if test "$wants_win32" = 1 ; then
19452 BAKEFILE_FORCE_PLATFORM=win32
19460 if test "$wxUSE_WINE" = "yes"; then
19462 LDFLAGS_GUI="-mwindows"
19465 if test "$wants_win32" = 1 ; then
19468 cat >>confdefs.h <<\_ACEOF
19469 #define __WIN32__ 1
19472 cat >>confdefs.h <<\_ACEOF
19473 #define __WIN95__ 1
19476 cat >>confdefs.h <<\_ACEOF
19477 #define __WINDOWS__ 1
19480 cat >>confdefs.h <<\_ACEOF
19481 #define __GNUWIN32__ 1
19484 cat >>confdefs.h <<\_ACEOF
19489 if test "$doesnt_want_win32" = 1 ; then
19494 if test "$USE_UNIX" = 1 ; then
19496 cat >>confdefs.h <<\_ACEOF
19503 *-pc-os2_emx | *-pc-os2-emx )
19504 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19505 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19506 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19507 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19510 ac_check_lib_save_LIBS=$LIBS
19511 LIBS="-lcExt $LIBS"
19512 cat >conftest.$ac_ext <<_ACEOF
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19519 /* Override any GCC internal prototype to avoid an error.
19520 Use char because int might match the return type of a GCC
19521 builtin and then its argument prototype would still apply. */
19534 rm -f conftest.$ac_objext conftest$ac_exeext
19535 if { (ac_try="$ac_link"
19536 case "(($ac_try" in
19537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19538 *) ac_try_echo=$ac_try;;
19540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19541 (eval "$ac_link") 2>conftest.er1
19543 grep -v '^ *+' conftest.er1 >conftest.err
19545 cat conftest.err >&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); } && {
19548 test -z "$ac_c_werror_flag" ||
19549 test ! -s conftest.err
19550 } && test -s conftest$ac_exeext &&
19551 $as_test_x conftest$ac_exeext; then
19552 ac_cv_lib_cExt_drand48=yes
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19557 ac_cv_lib_cExt_drand48=no
19560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19561 conftest$ac_exeext conftest.$ac_ext
19562 LIBS=$ac_check_lib_save_LIBS
19564 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19565 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19566 if test $ac_cv_lib_cExt_drand48 = yes; then
19567 LIBS="$LIBS -lcExt"
19571 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19573 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19574 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19575 if test "${wx_cv_gccversion+set}" = set; then
19576 echo $ECHO_N "(cached) $ECHO_C" >&6
19579 if test "$cross_compiling" = yes; then
19580 wx_cv_gccversion="EMX2"
19583 cat >conftest.$ac_ext <<_ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19594 FILE *f=fopen("conftestval", "w");
19599 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19601 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19611 rm -f conftest$ac_exeext
19612 if { (ac_try="$ac_link"
19613 case "(($ac_try" in
19614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19615 *) ac_try_echo=$ac_try;;
19617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19618 (eval "$ac_link") 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19622 { (case "(($ac_try" in
19623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19624 *) ac_try_echo=$ac_try;;
19626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19627 (eval "$ac_try") 2>&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); }; }; then
19631 wx_cv_gccversion=`cat conftestval`
19633 echo "$as_me: program exited with status $ac_status" >&5
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19637 ( exit $ac_status )
19638 wx_cv_gccversion="EMX2"
19640 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19646 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19647 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19648 if test "$wx_cv_gccversion" = "EMX2"; then
19649 LIBS="$LIBS -lstdcpp"
19650 LDFLAGS="$LDFLAGS -Zsysv-signals"
19652 if test "$wx_cv_gccversion" = "EMX3"; then
19653 LIBS="$LIBS -lstdcxx -lgcc"
19654 LDFLAGS="$LDFLAGS -Zsysv-signals"
19656 LIBS="$LIBS -lstdc++"
19659 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19660 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19661 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19668 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19669 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19670 if test "${ac_cv_string_strcasecmp+set}" = set; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 cat >conftest.$ac_ext <<_ACEOF
19677 cat confdefs.h >>conftest.$ac_ext
19678 cat >>conftest.$ac_ext <<_ACEOF
19679 /* end confdefs.h. */
19681 #include <string.h>
19687 strcasecmp("foo", "bar");
19693 rm -f conftest.$ac_objext conftest$ac_exeext
19694 if { (ac_try="$ac_link"
19695 case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_link") 2>conftest.er1
19702 grep -v '^ *+' conftest.er1 >conftest.err
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } && {
19707 test -z "$ac_c_werror_flag" ||
19708 test ! -s conftest.err
19709 } && test -s conftest$ac_exeext &&
19710 $as_test_x conftest$ac_exeext; then
19711 ac_cv_string_strcasecmp=yes
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19716 ac_cv_string_strcasecmp=no
19720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19721 conftest$ac_exeext conftest.$ac_ext
19724 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19725 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19727 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19728 cat >>confdefs.h <<\_ACEOF
19729 #define HAVE_STRCASECMP_IN_STRING_H 1
19733 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19734 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19735 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 cat >conftest.$ac_ext <<_ACEOF
19742 cat confdefs.h >>conftest.$ac_ext
19743 cat >>conftest.$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19746 #include <strings.h>
19752 strcasecmp("foo", "bar");
19758 rm -f conftest.$ac_objext conftest$ac_exeext
19759 if { (ac_try="$ac_link"
19760 case "(($ac_try" in
19761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19762 *) ac_try_echo=$ac_try;;
19764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19765 (eval "$ac_link") 2>conftest.er1
19767 grep -v '^ *+' conftest.er1 >conftest.err
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } && {
19772 test -z "$ac_c_werror_flag" ||
19773 test ! -s conftest.err
19774 } && test -s conftest$ac_exeext &&
19775 $as_test_x conftest$ac_exeext; then
19776 ac_cv_strings_strcasecmp=yes
19778 echo "$as_me: failed program was:" >&5
19779 sed 's/^/| /' conftest.$ac_ext >&5
19781 ac_cv_strings_strcasecmp=no
19785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19786 conftest$ac_exeext conftest.$ac_ext
19789 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19790 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19792 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19793 cat >>confdefs.h <<\_ACEOF
19794 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19798 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19799 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19800 { (exit 1); exit 1; }; }
19808 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19809 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19810 if test "${ac_cv_header_stdc+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 cat >conftest.$ac_ext <<_ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 #include <stdlib.h>
19820 #include <stdarg.h>
19821 #include <string.h>
19832 rm -f conftest.$ac_objext
19833 if { (ac_try="$ac_compile"
19834 case "(($ac_try" in
19835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19836 *) ac_try_echo=$ac_try;;
19838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19839 (eval "$ac_compile") 2>conftest.er1
19841 grep -v '^ *+' conftest.er1 >conftest.err
19843 cat conftest.err >&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); } && {
19846 test -z "$ac_c_werror_flag" ||
19847 test ! -s conftest.err
19848 } && test -s conftest.$ac_objext; then
19849 ac_cv_header_stdc=yes
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19854 ac_cv_header_stdc=no
19857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19859 if test $ac_cv_header_stdc = yes; then
19860 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19861 cat >conftest.$ac_ext <<_ACEOF
19864 cat confdefs.h >>conftest.$ac_ext
19865 cat >>conftest.$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19867 #include <string.h>
19870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19871 $EGREP "memchr" >/dev/null 2>&1; then
19874 ac_cv_header_stdc=no
19880 if test $ac_cv_header_stdc = yes; then
19881 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19882 cat >conftest.$ac_ext <<_ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 #include <stdlib.h>
19891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19892 $EGREP "free" >/dev/null 2>&1; then
19895 ac_cv_header_stdc=no
19901 if test $ac_cv_header_stdc = yes; then
19902 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19903 if test "$cross_compiling" = yes; then
19906 cat >conftest.$ac_ext <<_ACEOF
19909 cat confdefs.h >>conftest.$ac_ext
19910 cat >>conftest.$ac_ext <<_ACEOF
19911 /* end confdefs.h. */
19913 #include <stdlib.h>
19914 #if ((' ' & 0x0FF) == 0x020)
19915 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19916 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19918 # define ISLOWER(c) \
19919 (('a' <= (c) && (c) <= 'i') \
19920 || ('j' <= (c) && (c) <= 'r') \
19921 || ('s' <= (c) && (c) <= 'z'))
19922 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19925 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19930 for (i = 0; i < 256; i++)
19931 if (XOR (islower (i), ISLOWER (i))
19932 || toupper (i) != TOUPPER (i))
19937 rm -f conftest$ac_exeext
19938 if { (ac_try="$ac_link"
19939 case "(($ac_try" in
19940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19941 *) ac_try_echo=$ac_try;;
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_link") 2>&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19948 { (case "(($ac_try" in
19949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19950 *) ac_try_echo=$ac_try;;
19952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19953 (eval "$ac_try") 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; }; then
19959 echo "$as_me: program exited with status $ac_status" >&5
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19963 ( exit $ac_status )
19964 ac_cv_header_stdc=no
19966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19972 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19973 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19974 if test $ac_cv_header_stdc = yes; then
19976 cat >>confdefs.h <<\_ACEOF
19977 #define STDC_HEADERS 1
19982 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19992 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19993 inttypes.h stdint.h unistd.h
19995 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19996 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19999 echo $ECHO_N "(cached) $ECHO_C" >&6
20001 cat >conftest.$ac_ext <<_ACEOF
20004 cat confdefs.h >>conftest.$ac_ext
20005 cat >>conftest.$ac_ext <<_ACEOF
20006 /* end confdefs.h. */
20007 $ac_includes_default
20009 #include <$ac_header>
20011 rm -f conftest.$ac_objext
20012 if { (ac_try="$ac_compile"
20013 case "(($ac_try" in
20014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20015 *) ac_try_echo=$ac_try;;
20017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20018 (eval "$ac_compile") 2>conftest.er1
20020 grep -v '^ *+' conftest.er1 >conftest.err
20022 cat conftest.err >&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } && {
20025 test -z "$ac_c_werror_flag" ||
20026 test ! -s conftest.err
20027 } && test -s conftest.$ac_objext; then
20028 eval "$as_ac_Header=yes"
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.$ac_ext >&5
20033 eval "$as_ac_Header=no"
20036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20038 ac_res=`eval echo '${'$as_ac_Header'}'`
20039 { echo "$as_me:$LINENO: result: $ac_res" >&5
20040 echo "${ECHO_T}$ac_res" >&6; }
20041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20042 cat >>confdefs.h <<_ACEOF
20043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20053 for ac_header in langinfo.h wchar.h
20055 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20056 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20059 echo $ECHO_N "(cached) $ECHO_C" >&6
20061 cat >conftest.$ac_ext <<_ACEOF
20064 cat confdefs.h >>conftest.$ac_ext
20065 cat >>conftest.$ac_ext <<_ACEOF
20066 /* end confdefs.h. */
20067 $ac_includes_default
20069 #include <$ac_header>
20071 rm -f conftest.$ac_objext
20072 if { (ac_try="$ac_compile"
20073 case "(($ac_try" in
20074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20075 *) ac_try_echo=$ac_try;;
20077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20078 (eval "$ac_compile") 2>conftest.er1
20080 grep -v '^ *+' conftest.er1 >conftest.err
20082 cat conftest.err >&5
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); } && {
20085 test -z "$ac_c_werror_flag" ||
20086 test ! -s conftest.err
20087 } && test -s conftest.$ac_objext; then
20088 eval "$as_ac_Header=yes"
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20093 eval "$as_ac_Header=no"
20096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20098 ac_res=`eval echo '${'$as_ac_Header'}'`
20099 { echo "$as_me:$LINENO: result: $ac_res" >&5
20100 echo "${ECHO_T}$ac_res" >&6; }
20101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20102 cat >>confdefs.h <<_ACEOF
20103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20111 if test "$ac_cv_header_wchar_h" != "yes"; then
20113 for ac_header in wcstr.h
20115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20116 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20119 echo $ECHO_N "(cached) $ECHO_C" >&6
20121 cat >conftest.$ac_ext <<_ACEOF
20124 cat confdefs.h >>conftest.$ac_ext
20125 cat >>conftest.$ac_ext <<_ACEOF
20126 /* end confdefs.h. */
20127 $ac_includes_default
20129 #include <$ac_header>
20131 rm -f conftest.$ac_objext
20132 if { (ac_try="$ac_compile"
20133 case "(($ac_try" in
20134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20135 *) ac_try_echo=$ac_try;;
20137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20138 (eval "$ac_compile") 2>conftest.er1
20140 grep -v '^ *+' conftest.er1 >conftest.err
20142 cat conftest.err >&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } && {
20145 test -z "$ac_c_werror_flag" ||
20146 test ! -s conftest.err
20147 } && test -s conftest.$ac_objext; then
20148 eval "$as_ac_Header=yes"
20150 echo "$as_me: failed program was:" >&5
20151 sed 's/^/| /' conftest.$ac_ext >&5
20153 eval "$as_ac_Header=no"
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 ac_res=`eval echo '${'$as_ac_Header'}'`
20159 { echo "$as_me:$LINENO: result: $ac_res" >&5
20160 echo "${ECHO_T}$ac_res" >&6; }
20161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20162 cat >>confdefs.h <<_ACEOF
20163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20173 *-pc-os2_emx | *-pc-os2-emx )
20174 if test $ac_cv_header_langinfo_h = "yes" \
20175 -a \( "$wx_cv_gccversion" = "EMX2" \
20176 -o "$wx_cv_gccversion" = "EMX3" \
20177 -o "$wx_cv_gccversion" = "Innotek5" \); then
20178 LIBS="$LIBS -lintl"
20183 if test "$USE_UNIX" = 1 ; then
20185 for ac_header in sys/select.h
20187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20188 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20191 echo $ECHO_N "(cached) $ECHO_C" >&6
20193 cat >conftest.$ac_ext <<_ACEOF
20196 cat confdefs.h >>conftest.$ac_ext
20197 cat >>conftest.$ac_ext <<_ACEOF
20198 /* end confdefs.h. */
20199 $ac_includes_default
20201 #include <$ac_header>
20203 rm -f conftest.$ac_objext
20204 if { (ac_try="$ac_compile"
20205 case "(($ac_try" in
20206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20207 *) ac_try_echo=$ac_try;;
20209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20210 (eval "$ac_compile") 2>conftest.er1
20212 grep -v '^ *+' conftest.er1 >conftest.err
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } && {
20217 test -z "$ac_c_werror_flag" ||
20218 test ! -s conftest.err
20219 } && test -s conftest.$ac_objext; then
20220 eval "$as_ac_Header=yes"
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20225 eval "$as_ac_Header=no"
20228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20230 ac_res=`eval echo '${'$as_ac_Header'}'`
20231 { echo "$as_me:$LINENO: result: $ac_res" >&5
20232 echo "${ECHO_T}$ac_res" >&6; }
20233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20234 cat >>confdefs.h <<_ACEOF
20235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20245 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20246 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20247 if test "${ac_cv_c_const+set}" = set; then
20248 echo $ECHO_N "(cached) $ECHO_C" >&6
20250 cat >conftest.$ac_ext <<_ACEOF
20253 cat confdefs.h >>conftest.$ac_ext
20254 cat >>conftest.$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20260 /* FIXME: Include the comments suggested by Paul. */
20261 #ifndef __cplusplus
20262 /* Ultrix mips cc rejects this. */
20263 typedef int charset[2];
20265 /* SunOS 4.1.1 cc rejects this. */
20266 char const *const *pcpcc;
20268 /* NEC SVR4.0.2 mips cc rejects this. */
20269 struct point {int x, y;};
20270 static struct point const zero = {0,0};
20271 /* AIX XL C 1.02.0.0 rejects this.
20272 It does not let you subtract one const X* pointer from another in
20273 an arm of an if-expression whose if-part is not a constant
20275 const char *g = "string";
20276 pcpcc = &g + (g ? g-g : 0);
20277 /* HPUX 7.0 cc rejects these. */
20279 ppc = (char**) pcpcc;
20280 pcpcc = (char const *const *) ppc;
20281 { /* SCO 3.2v4 cc rejects this. */
20283 char const *s = 0 ? (char *) 0 : (char const *) 0;
20288 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20289 int x[] = {25, 17};
20290 const int *foo = &x[0];
20293 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20294 typedef const int *iptr;
20298 { /* AIX XL C 1.02.0.0 rejects this saying
20299 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20300 struct s { int j; const int *ap[3]; };
20301 struct s *b; b->j = 5;
20303 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20304 const int foo = 10;
20305 if (!foo) return 0;
20307 return !cs[0] && !zero.x;
20314 rm -f conftest.$ac_objext
20315 if { (ac_try="$ac_compile"
20316 case "(($ac_try" in
20317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20318 *) ac_try_echo=$ac_try;;
20320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20321 (eval "$ac_compile") 2>conftest.er1
20323 grep -v '^ *+' conftest.er1 >conftest.err
20325 cat conftest.err >&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } && {
20328 test -z "$ac_c_werror_flag" ||
20329 test ! -s conftest.err
20330 } && test -s conftest.$ac_objext; then
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.$ac_ext >&5
20339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20341 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20342 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20343 if test $ac_cv_c_const = no; then
20345 cat >>confdefs.h <<\_ACEOF
20351 { echo "$as_me:$LINENO: checking for inline" >&5
20352 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20353 if test "${ac_cv_c_inline+set}" = set; then
20354 echo $ECHO_N "(cached) $ECHO_C" >&6
20357 for ac_kw in inline __inline__ __inline; do
20358 cat >conftest.$ac_ext <<_ACEOF
20361 cat confdefs.h >>conftest.$ac_ext
20362 cat >>conftest.$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 #ifndef __cplusplus
20366 static $ac_kw foo_t static_foo () {return 0; }
20367 $ac_kw foo_t foo () {return 0; }
20371 rm -f conftest.$ac_objext
20372 if { (ac_try="$ac_compile"
20373 case "(($ac_try" in
20374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_compile") 2>conftest.er1
20380 grep -v '^ *+' conftest.er1 >conftest.err
20382 cat conftest.err >&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); } && {
20385 test -z "$ac_c_werror_flag" ||
20386 test ! -s conftest.err
20387 } && test -s conftest.$ac_objext; then
20388 ac_cv_c_inline=$ac_kw
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20397 test "$ac_cv_c_inline" != no && break
20401 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20402 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20405 case $ac_cv_c_inline in
20408 case $ac_cv_c_inline in
20410 *) ac_val=$ac_cv_c_inline;;
20412 cat >>confdefs.h <<_ACEOF
20413 #ifndef __cplusplus
20414 #define inline $ac_val
20421 { echo "$as_me:$LINENO: checking for short" >&5
20422 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20423 if test "${ac_cv_type_short+set}" = set; then
20424 echo $ECHO_N "(cached) $ECHO_C" >&6
20426 cat >conftest.$ac_ext <<_ACEOF
20429 cat confdefs.h >>conftest.$ac_ext
20430 cat >>conftest.$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20432 $ac_includes_default
20433 typedef short ac__type_new_;
20437 if ((ac__type_new_ *) 0)
20439 if (sizeof (ac__type_new_))
20445 rm -f conftest.$ac_objext
20446 if { (ac_try="$ac_compile"
20447 case "(($ac_try" in
20448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20449 *) ac_try_echo=$ac_try;;
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452 (eval "$ac_compile") 2>conftest.er1
20454 grep -v '^ *+' conftest.er1 >conftest.err
20456 cat conftest.err >&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } && {
20459 test -z "$ac_c_werror_flag" ||
20460 test ! -s conftest.err
20461 } && test -s conftest.$ac_objext; then
20462 ac_cv_type_short=yes
20464 echo "$as_me: failed program was:" >&5
20465 sed 's/^/| /' conftest.$ac_ext >&5
20467 ac_cv_type_short=no
20470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20472 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20473 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20475 # The cast to long int works around a bug in the HP C Compiler
20476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20478 # This bug is HP SR number 8606223364.
20479 { echo "$as_me:$LINENO: checking size of short" >&5
20480 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20481 if test "${ac_cv_sizeof_short+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6
20484 if test "$cross_compiling" = yes; then
20485 # Depending upon the size, compute the lo and hi bounds.
20486 cat >conftest.$ac_ext <<_ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 $ac_includes_default
20493 typedef short ac__type_sizeof_;
20497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20504 rm -f conftest.$ac_objext
20505 if { (ac_try="$ac_compile"
20506 case "(($ac_try" in
20507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20508 *) ac_try_echo=$ac_try;;
20510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20511 (eval "$ac_compile") 2>conftest.er1
20513 grep -v '^ *+' conftest.er1 >conftest.err
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } && {
20518 test -z "$ac_c_werror_flag" ||
20519 test ! -s conftest.err
20520 } && test -s conftest.$ac_objext; then
20523 cat >conftest.$ac_ext <<_ACEOF
20526 cat confdefs.h >>conftest.$ac_ext
20527 cat >>conftest.$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 $ac_includes_default
20530 typedef short ac__type_sizeof_;
20534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20541 rm -f conftest.$ac_objext
20542 if { (ac_try="$ac_compile"
20543 case "(($ac_try" in
20544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20545 *) ac_try_echo=$ac_try;;
20547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20548 (eval "$ac_compile") 2>conftest.er1
20550 grep -v '^ *+' conftest.er1 >conftest.err
20552 cat conftest.err >&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } && {
20555 test -z "$ac_c_werror_flag" ||
20556 test ! -s conftest.err
20557 } && test -s conftest.$ac_objext; then
20558 ac_hi=$ac_mid; break
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20563 ac_lo=`expr $ac_mid + 1`
20564 if test $ac_lo -le $ac_mid; then
20568 ac_mid=`expr 2 '*' $ac_mid + 1`
20571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20577 cat >conftest.$ac_ext <<_ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 $ac_includes_default
20584 typedef short ac__type_sizeof_;
20588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20595 rm -f conftest.$ac_objext
20596 if { (ac_try="$ac_compile"
20597 case "(($ac_try" in
20598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_compile") 2>conftest.er1
20604 grep -v '^ *+' conftest.er1 >conftest.err
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } && {
20609 test -z "$ac_c_werror_flag" ||
20610 test ! -s conftest.err
20611 } && test -s conftest.$ac_objext; then
20614 cat >conftest.$ac_ext <<_ACEOF
20617 cat confdefs.h >>conftest.$ac_ext
20618 cat >>conftest.$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620 $ac_includes_default
20621 typedef short ac__type_sizeof_;
20625 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20632 rm -f conftest.$ac_objext
20633 if { (ac_try="$ac_compile"
20634 case "(($ac_try" in
20635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20636 *) ac_try_echo=$ac_try;;
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_compile") 2>conftest.er1
20641 grep -v '^ *+' conftest.er1 >conftest.err
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } && {
20646 test -z "$ac_c_werror_flag" ||
20647 test ! -s conftest.err
20648 } && test -s conftest.$ac_objext; then
20649 ac_lo=$ac_mid; break
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.$ac_ext >&5
20654 ac_hi=`expr '(' $ac_mid ')' - 1`
20655 if test $ac_mid -le $ac_hi; then
20659 ac_mid=`expr 2 '*' $ac_mid`
20662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.$ac_ext >&5
20671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20675 # Binary search between lo and hi bounds.
20676 while test "x$ac_lo" != "x$ac_hi"; do
20677 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20678 cat >conftest.$ac_ext <<_ACEOF
20681 cat confdefs.h >>conftest.$ac_ext
20682 cat >>conftest.$ac_ext <<_ACEOF
20683 /* end confdefs.h. */
20684 $ac_includes_default
20685 typedef short ac__type_sizeof_;
20689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20696 rm -f conftest.$ac_objext
20697 if { (ac_try="$ac_compile"
20698 case "(($ac_try" in
20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_compile") 2>conftest.er1
20705 grep -v '^ *+' conftest.er1 >conftest.err
20707 cat conftest.err >&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); } && {
20710 test -z "$ac_c_werror_flag" ||
20711 test ! -s conftest.err
20712 } && test -s conftest.$ac_objext; then
20715 echo "$as_me: failed program was:" >&5
20716 sed 's/^/| /' conftest.$ac_ext >&5
20718 ac_lo=`expr '(' $ac_mid ')' + 1`
20721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20724 ?*) ac_cv_sizeof_short=$ac_lo;;
20725 '') if test "$ac_cv_type_short" = yes; then
20726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20727 See \`config.log' for more details." >&5
20728 echo "$as_me: error: cannot compute sizeof (short)
20729 See \`config.log' for more details." >&2;}
20730 { (exit 77); exit 77; }; }
20732 ac_cv_sizeof_short=0
20736 cat >conftest.$ac_ext <<_ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 $ac_includes_default
20743 typedef short ac__type_sizeof_;
20744 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20745 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20747 #include <stdlib.h>
20752 FILE *f = fopen ("conftest.val", "w");
20755 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20757 long int i = longval ();
20758 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20760 fprintf (f, "%ld\n", i);
20764 unsigned long int i = ulongval ();
20765 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20767 fprintf (f, "%lu\n", i);
20769 return ferror (f) || fclose (f) != 0;
20775 rm -f conftest$ac_exeext
20776 if { (ac_try="$ac_link"
20777 case "(($ac_try" in
20778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20779 *) ac_try_echo=$ac_try;;
20781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20782 (eval "$ac_link") 2>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20786 { (case "(($ac_try" in
20787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20788 *) ac_try_echo=$ac_try;;
20790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20791 (eval "$ac_try") 2>&5
20793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20794 (exit $ac_status); }; }; then
20795 ac_cv_sizeof_short=`cat conftest.val`
20797 echo "$as_me: program exited with status $ac_status" >&5
20798 echo "$as_me: failed program was:" >&5
20799 sed 's/^/| /' conftest.$ac_ext >&5
20801 ( exit $ac_status )
20802 if test "$ac_cv_type_short" = yes; then
20803 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20804 See \`config.log' for more details." >&5
20805 echo "$as_me: error: cannot compute sizeof (short)
20806 See \`config.log' for more details." >&2;}
20807 { (exit 77); exit 77; }; }
20809 ac_cv_sizeof_short=0
20812 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20816 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20817 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20821 cat >>confdefs.h <<_ACEOF
20822 #define SIZEOF_SHORT $ac_cv_sizeof_short
20826 { echo "$as_me:$LINENO: checking for void *" >&5
20827 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20828 if test "${ac_cv_type_void_p+set}" = set; then
20829 echo $ECHO_N "(cached) $ECHO_C" >&6
20831 cat >conftest.$ac_ext <<_ACEOF
20834 cat confdefs.h >>conftest.$ac_ext
20835 cat >>conftest.$ac_ext <<_ACEOF
20836 /* end confdefs.h. */
20837 $ac_includes_default
20838 typedef void * ac__type_new_;
20842 if ((ac__type_new_ *) 0)
20844 if (sizeof (ac__type_new_))
20850 rm -f conftest.$ac_objext
20851 if { (ac_try="$ac_compile"
20852 case "(($ac_try" in
20853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20854 *) ac_try_echo=$ac_try;;
20856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20857 (eval "$ac_compile") 2>conftest.er1
20859 grep -v '^ *+' conftest.er1 >conftest.err
20861 cat conftest.err >&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); } && {
20864 test -z "$ac_c_werror_flag" ||
20865 test ! -s conftest.err
20866 } && test -s conftest.$ac_objext; then
20867 ac_cv_type_void_p=yes
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.$ac_ext >&5
20872 ac_cv_type_void_p=no
20875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20877 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20878 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20880 # The cast to long int works around a bug in the HP C Compiler
20881 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20882 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20883 # This bug is HP SR number 8606223364.
20884 { echo "$as_me:$LINENO: checking size of void *" >&5
20885 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20886 if test "${ac_cv_sizeof_void_p+set}" = set; then
20887 echo $ECHO_N "(cached) $ECHO_C" >&6
20889 if test "$cross_compiling" = yes; then
20890 # Depending upon the size, compute the lo and hi bounds.
20891 cat >conftest.$ac_ext <<_ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 typedef void * ac__type_sizeof_;
20902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20909 rm -f conftest.$ac_objext
20910 if { (ac_try="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20918 grep -v '^ *+' conftest.er1 >conftest.err
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20928 cat >conftest.$ac_ext <<_ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20935 typedef void * ac__type_sizeof_;
20939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20946 rm -f conftest.$ac_objext
20947 if { (ac_try="$ac_compile"
20948 case "(($ac_try" in
20949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20950 *) ac_try_echo=$ac_try;;
20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953 (eval "$ac_compile") 2>conftest.er1
20955 grep -v '^ *+' conftest.er1 >conftest.err
20957 cat conftest.err >&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && {
20960 test -z "$ac_c_werror_flag" ||
20961 test ! -s conftest.err
20962 } && test -s conftest.$ac_objext; then
20963 ac_hi=$ac_mid; break
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.$ac_ext >&5
20968 ac_lo=`expr $ac_mid + 1`
20969 if test $ac_lo -le $ac_mid; then
20973 ac_mid=`expr 2 '*' $ac_mid + 1`
20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20982 cat >conftest.$ac_ext <<_ACEOF
20985 cat confdefs.h >>conftest.$ac_ext
20986 cat >>conftest.$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 $ac_includes_default
20989 typedef void * ac__type_sizeof_;
20993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21000 rm -f conftest.$ac_objext
21001 if { (ac_try="$ac_compile"
21002 case "(($ac_try" in
21003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21004 *) ac_try_echo=$ac_try;;
21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21007 (eval "$ac_compile") 2>conftest.er1
21009 grep -v '^ *+' conftest.er1 >conftest.err
21011 cat conftest.err >&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } && {
21014 test -z "$ac_c_werror_flag" ||
21015 test ! -s conftest.err
21016 } && test -s conftest.$ac_objext; then
21019 cat >conftest.$ac_ext <<_ACEOF
21022 cat confdefs.h >>conftest.$ac_ext
21023 cat >>conftest.$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 $ac_includes_default
21026 typedef void * ac__type_sizeof_;
21030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21037 rm -f conftest.$ac_objext
21038 if { (ac_try="$ac_compile"
21039 case "(($ac_try" in
21040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21041 *) ac_try_echo=$ac_try;;
21043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21044 (eval "$ac_compile") 2>conftest.er1
21046 grep -v '^ *+' conftest.er1 >conftest.err
21048 cat conftest.err >&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); } && {
21051 test -z "$ac_c_werror_flag" ||
21052 test ! -s conftest.err
21053 } && test -s conftest.$ac_objext; then
21054 ac_lo=$ac_mid; break
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.$ac_ext >&5
21059 ac_hi=`expr '(' $ac_mid ')' - 1`
21060 if test $ac_mid -le $ac_hi; then
21064 ac_mid=`expr 2 '*' $ac_mid`
21067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070 echo "$as_me: failed program was:" >&5
21071 sed 's/^/| /' conftest.$ac_ext >&5
21076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21080 # Binary search between lo and hi bounds.
21081 while test "x$ac_lo" != "x$ac_hi"; do
21082 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21083 cat >conftest.$ac_ext <<_ACEOF
21086 cat confdefs.h >>conftest.$ac_ext
21087 cat >>conftest.$ac_ext <<_ACEOF
21088 /* end confdefs.h. */
21089 $ac_includes_default
21090 typedef void * ac__type_sizeof_;
21094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21101 rm -f conftest.$ac_objext
21102 if { (ac_try="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21110 grep -v '^ *+' conftest.er1 >conftest.err
21112 cat conftest.err >&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } && {
21115 test -z "$ac_c_werror_flag" ||
21116 test ! -s conftest.err
21117 } && test -s conftest.$ac_objext; then
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.$ac_ext >&5
21123 ac_lo=`expr '(' $ac_mid ')' + 1`
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21129 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21130 '') if test "$ac_cv_type_void_p" = yes; then
21131 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21132 See \`config.log' for more details." >&5
21133 echo "$as_me: error: cannot compute sizeof (void *)
21134 See \`config.log' for more details." >&2;}
21135 { (exit 77); exit 77; }; }
21137 ac_cv_sizeof_void_p=0
21141 cat >conftest.$ac_ext <<_ACEOF
21144 cat confdefs.h >>conftest.$ac_ext
21145 cat >>conftest.$ac_ext <<_ACEOF
21146 /* end confdefs.h. */
21147 $ac_includes_default
21148 typedef void * ac__type_sizeof_;
21149 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21150 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21152 #include <stdlib.h>
21157 FILE *f = fopen ("conftest.val", "w");
21160 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21162 long int i = longval ();
21163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21165 fprintf (f, "%ld\n", i);
21169 unsigned long int i = ulongval ();
21170 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21172 fprintf (f, "%lu\n", i);
21174 return ferror (f) || fclose (f) != 0;
21180 rm -f conftest$ac_exeext
21181 if { (ac_try="$ac_link"
21182 case "(($ac_try" in
21183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21184 *) ac_try_echo=$ac_try;;
21186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21187 (eval "$ac_link") 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21191 { (case "(($ac_try" in
21192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21193 *) ac_try_echo=$ac_try;;
21195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21196 (eval "$ac_try") 2>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; }; then
21200 ac_cv_sizeof_void_p=`cat conftest.val`
21202 echo "$as_me: program exited with status $ac_status" >&5
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.$ac_ext >&5
21206 ( exit $ac_status )
21207 if test "$ac_cv_type_void_p" = yes; then
21208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21209 See \`config.log' for more details." >&5
21210 echo "$as_me: error: cannot compute sizeof (void *)
21211 See \`config.log' for more details." >&2;}
21212 { (exit 77); exit 77; }; }
21214 ac_cv_sizeof_void_p=0
21217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21221 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21222 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21226 cat >>confdefs.h <<_ACEOF
21227 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21231 { echo "$as_me:$LINENO: checking for int" >&5
21232 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21233 if test "${ac_cv_type_int+set}" = set; then
21234 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 cat >conftest.$ac_ext <<_ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21242 $ac_includes_default
21243 typedef int ac__type_new_;
21247 if ((ac__type_new_ *) 0)
21249 if (sizeof (ac__type_new_))
21255 rm -f conftest.$ac_objext
21256 if { (ac_try="$ac_compile"
21257 case "(($ac_try" in
21258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21259 *) ac_try_echo=$ac_try;;
21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262 (eval "$ac_compile") 2>conftest.er1
21264 grep -v '^ *+' conftest.er1 >conftest.err
21266 cat conftest.err >&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } && {
21269 test -z "$ac_c_werror_flag" ||
21270 test ! -s conftest.err
21271 } && test -s conftest.$ac_objext; then
21274 echo "$as_me: failed program was:" >&5
21275 sed 's/^/| /' conftest.$ac_ext >&5
21280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21282 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21283 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21285 # The cast to long int works around a bug in the HP C Compiler
21286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21288 # This bug is HP SR number 8606223364.
21289 { echo "$as_me:$LINENO: checking size of int" >&5
21290 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21291 if test "${ac_cv_sizeof_int+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 if test "$cross_compiling" = yes; then
21295 # Depending upon the size, compute the lo and hi bounds.
21296 cat >conftest.$ac_ext <<_ACEOF
21299 cat confdefs.h >>conftest.$ac_ext
21300 cat >>conftest.$ac_ext <<_ACEOF
21301 /* end confdefs.h. */
21302 $ac_includes_default
21303 typedef int ac__type_sizeof_;
21307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21314 rm -f conftest.$ac_objext
21315 if { (ac_try="$ac_compile"
21316 case "(($ac_try" in
21317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21318 *) ac_try_echo=$ac_try;;
21320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21321 (eval "$ac_compile") 2>conftest.er1
21323 grep -v '^ *+' conftest.er1 >conftest.err
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } && {
21328 test -z "$ac_c_werror_flag" ||
21329 test ! -s conftest.err
21330 } && test -s conftest.$ac_objext; then
21333 cat >conftest.$ac_ext <<_ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21339 $ac_includes_default
21340 typedef int ac__type_sizeof_;
21344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21351 rm -f conftest.$ac_objext
21352 if { (ac_try="$ac_compile"
21353 case "(($ac_try" in
21354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21355 *) ac_try_echo=$ac_try;;
21357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21358 (eval "$ac_compile") 2>conftest.er1
21360 grep -v '^ *+' conftest.er1 >conftest.err
21362 cat conftest.err >&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } && {
21365 test -z "$ac_c_werror_flag" ||
21366 test ! -s conftest.err
21367 } && test -s conftest.$ac_objext; then
21368 ac_hi=$ac_mid; break
21370 echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.$ac_ext >&5
21373 ac_lo=`expr $ac_mid + 1`
21374 if test $ac_lo -le $ac_mid; then
21378 ac_mid=`expr 2 '*' $ac_mid + 1`
21381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21387 cat >conftest.$ac_ext <<_ACEOF
21390 cat confdefs.h >>conftest.$ac_ext
21391 cat >>conftest.$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21393 $ac_includes_default
21394 typedef int ac__type_sizeof_;
21398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21405 rm -f conftest.$ac_objext
21406 if { (ac_try="$ac_compile"
21407 case "(($ac_try" in
21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_compile") 2>conftest.er1
21414 grep -v '^ *+' conftest.er1 >conftest.err
21416 cat conftest.err >&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); } && {
21419 test -z "$ac_c_werror_flag" ||
21420 test ! -s conftest.err
21421 } && test -s conftest.$ac_objext; then
21424 cat >conftest.$ac_ext <<_ACEOF
21427 cat confdefs.h >>conftest.$ac_ext
21428 cat >>conftest.$ac_ext <<_ACEOF
21429 /* end confdefs.h. */
21430 $ac_includes_default
21431 typedef int ac__type_sizeof_;
21435 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21442 rm -f conftest.$ac_objext
21443 if { (ac_try="$ac_compile"
21444 case "(($ac_try" in
21445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21446 *) ac_try_echo=$ac_try;;
21448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21449 (eval "$ac_compile") 2>conftest.er1
21451 grep -v '^ *+' conftest.er1 >conftest.err
21453 cat conftest.err >&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); } && {
21456 test -z "$ac_c_werror_flag" ||
21457 test ! -s conftest.err
21458 } && test -s conftest.$ac_objext; then
21459 ac_lo=$ac_mid; break
21461 echo "$as_me: failed program was:" >&5
21462 sed 's/^/| /' conftest.$ac_ext >&5
21464 ac_hi=`expr '(' $ac_mid ')' - 1`
21465 if test $ac_mid -le $ac_hi; then
21469 ac_mid=`expr 2 '*' $ac_mid`
21472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21485 # Binary search between lo and hi bounds.
21486 while test "x$ac_lo" != "x$ac_hi"; do
21487 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21488 cat >conftest.$ac_ext <<_ACEOF
21491 cat confdefs.h >>conftest.$ac_ext
21492 cat >>conftest.$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21494 $ac_includes_default
21495 typedef int ac__type_sizeof_;
21499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21506 rm -f conftest.$ac_objext
21507 if { (ac_try="$ac_compile"
21508 case "(($ac_try" in
21509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21510 *) ac_try_echo=$ac_try;;
21512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21513 (eval "$ac_compile") 2>conftest.er1
21515 grep -v '^ *+' conftest.er1 >conftest.err
21517 cat conftest.err >&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); } && {
21520 test -z "$ac_c_werror_flag" ||
21521 test ! -s conftest.err
21522 } && test -s conftest.$ac_objext; then
21525 echo "$as_me: failed program was:" >&5
21526 sed 's/^/| /' conftest.$ac_ext >&5
21528 ac_lo=`expr '(' $ac_mid ')' + 1`
21531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21534 ?*) ac_cv_sizeof_int=$ac_lo;;
21535 '') if test "$ac_cv_type_int" = yes; then
21536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21537 See \`config.log' for more details." >&5
21538 echo "$as_me: error: cannot compute sizeof (int)
21539 See \`config.log' for more details." >&2;}
21540 { (exit 77); exit 77; }; }
21546 cat >conftest.$ac_ext <<_ACEOF
21549 cat confdefs.h >>conftest.$ac_ext
21550 cat >>conftest.$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21552 $ac_includes_default
21553 typedef int ac__type_sizeof_;
21554 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21555 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21557 #include <stdlib.h>
21562 FILE *f = fopen ("conftest.val", "w");
21565 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21567 long int i = longval ();
21568 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21570 fprintf (f, "%ld\n", i);
21574 unsigned long int i = ulongval ();
21575 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21577 fprintf (f, "%lu\n", i);
21579 return ferror (f) || fclose (f) != 0;
21585 rm -f conftest$ac_exeext
21586 if { (ac_try="$ac_link"
21587 case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_link") 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21596 { (case "(($ac_try" in
21597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21598 *) ac_try_echo=$ac_try;;
21600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21601 (eval "$ac_try") 2>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 ac_cv_sizeof_int=`cat conftest.val`
21607 echo "$as_me: program exited with status $ac_status" >&5
21608 echo "$as_me: failed program was:" >&5
21609 sed 's/^/| /' conftest.$ac_ext >&5
21611 ( exit $ac_status )
21612 if test "$ac_cv_type_int" = yes; then
21613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21614 See \`config.log' for more details." >&5
21615 echo "$as_me: error: cannot compute sizeof (int)
21616 See \`config.log' for more details." >&2;}
21617 { (exit 77); exit 77; }; }
21622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21626 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21627 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21631 cat >>confdefs.h <<_ACEOF
21632 #define SIZEOF_INT $ac_cv_sizeof_int
21636 { echo "$as_me:$LINENO: checking for long" >&5
21637 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21638 if test "${ac_cv_type_long+set}" = set; then
21639 echo $ECHO_N "(cached) $ECHO_C" >&6
21641 cat >conftest.$ac_ext <<_ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 $ac_includes_default
21648 typedef long ac__type_new_;
21652 if ((ac__type_new_ *) 0)
21654 if (sizeof (ac__type_new_))
21660 rm -f conftest.$ac_objext
21661 if { (ac_try="$ac_compile"
21662 case "(($ac_try" in
21663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21664 *) ac_try_echo=$ac_try;;
21666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21667 (eval "$ac_compile") 2>conftest.er1
21669 grep -v '^ *+' conftest.er1 >conftest.err
21671 cat conftest.err >&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); } && {
21674 test -z "$ac_c_werror_flag" ||
21675 test ! -s conftest.err
21676 } && test -s conftest.$ac_objext; then
21677 ac_cv_type_long=yes
21679 echo "$as_me: failed program was:" >&5
21680 sed 's/^/| /' conftest.$ac_ext >&5
21685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21688 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21690 # The cast to long int works around a bug in the HP C Compiler
21691 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21692 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21693 # This bug is HP SR number 8606223364.
21694 { echo "$as_me:$LINENO: checking size of long" >&5
21695 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21696 if test "${ac_cv_sizeof_long+set}" = set; then
21697 echo $ECHO_N "(cached) $ECHO_C" >&6
21699 if test "$cross_compiling" = yes; then
21700 # Depending upon the size, compute the lo and hi bounds.
21701 cat >conftest.$ac_ext <<_ACEOF
21704 cat confdefs.h >>conftest.$ac_ext
21705 cat >>conftest.$ac_ext <<_ACEOF
21706 /* end confdefs.h. */
21707 $ac_includes_default
21708 typedef long ac__type_sizeof_;
21712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21719 rm -f conftest.$ac_objext
21720 if { (ac_try="$ac_compile"
21721 case "(($ac_try" in
21722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21723 *) ac_try_echo=$ac_try;;
21725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21726 (eval "$ac_compile") 2>conftest.er1
21728 grep -v '^ *+' conftest.er1 >conftest.err
21730 cat conftest.err >&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); } && {
21733 test -z "$ac_c_werror_flag" ||
21734 test ! -s conftest.err
21735 } && test -s conftest.$ac_objext; then
21738 cat >conftest.$ac_ext <<_ACEOF
21741 cat confdefs.h >>conftest.$ac_ext
21742 cat >>conftest.$ac_ext <<_ACEOF
21743 /* end confdefs.h. */
21744 $ac_includes_default
21745 typedef long ac__type_sizeof_;
21749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21756 rm -f conftest.$ac_objext
21757 if { (ac_try="$ac_compile"
21758 case "(($ac_try" in
21759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21760 *) ac_try_echo=$ac_try;;
21762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21763 (eval "$ac_compile") 2>conftest.er1
21765 grep -v '^ *+' conftest.er1 >conftest.err
21767 cat conftest.err >&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); } && {
21770 test -z "$ac_c_werror_flag" ||
21771 test ! -s conftest.err
21772 } && test -s conftest.$ac_objext; then
21773 ac_hi=$ac_mid; break
21775 echo "$as_me: failed program was:" >&5
21776 sed 's/^/| /' conftest.$ac_ext >&5
21778 ac_lo=`expr $ac_mid + 1`
21779 if test $ac_lo -le $ac_mid; then
21783 ac_mid=`expr 2 '*' $ac_mid + 1`
21786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21789 echo "$as_me: failed program was:" >&5
21790 sed 's/^/| /' conftest.$ac_ext >&5
21792 cat >conftest.$ac_ext <<_ACEOF
21795 cat confdefs.h >>conftest.$ac_ext
21796 cat >>conftest.$ac_ext <<_ACEOF
21797 /* end confdefs.h. */
21798 $ac_includes_default
21799 typedef long ac__type_sizeof_;
21803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21810 rm -f conftest.$ac_objext
21811 if { (ac_try="$ac_compile"
21812 case "(($ac_try" in
21813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21814 *) ac_try_echo=$ac_try;;
21816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21817 (eval "$ac_compile") 2>conftest.er1
21819 grep -v '^ *+' conftest.er1 >conftest.err
21821 cat conftest.err >&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } && {
21824 test -z "$ac_c_werror_flag" ||
21825 test ! -s conftest.err
21826 } && test -s conftest.$ac_objext; then
21829 cat >conftest.$ac_ext <<_ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h. */
21835 $ac_includes_default
21836 typedef long ac__type_sizeof_;
21840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21847 rm -f conftest.$ac_objext
21848 if { (ac_try="$ac_compile"
21849 case "(($ac_try" in
21850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21851 *) ac_try_echo=$ac_try;;
21853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21854 (eval "$ac_compile") 2>conftest.er1
21856 grep -v '^ *+' conftest.er1 >conftest.err
21858 cat conftest.err >&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); } && {
21861 test -z "$ac_c_werror_flag" ||
21862 test ! -s conftest.err
21863 } && test -s conftest.$ac_objext; then
21864 ac_lo=$ac_mid; break
21866 echo "$as_me: failed program was:" >&5
21867 sed 's/^/| /' conftest.$ac_ext >&5
21869 ac_hi=`expr '(' $ac_mid ')' - 1`
21870 if test $ac_mid -le $ac_hi; then
21874 ac_mid=`expr 2 '*' $ac_mid`
21877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 echo "$as_me: failed program was:" >&5
21881 sed 's/^/| /' conftest.$ac_ext >&5
21886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21890 # Binary search between lo and hi bounds.
21891 while test "x$ac_lo" != "x$ac_hi"; do
21892 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21893 cat >conftest.$ac_ext <<_ACEOF
21896 cat confdefs.h >>conftest.$ac_ext
21897 cat >>conftest.$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21899 $ac_includes_default
21900 typedef long ac__type_sizeof_;
21904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21911 rm -f conftest.$ac_objext
21912 if { (ac_try="$ac_compile"
21913 case "(($ac_try" in
21914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21915 *) ac_try_echo=$ac_try;;
21917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21918 (eval "$ac_compile") 2>conftest.er1
21920 grep -v '^ *+' conftest.er1 >conftest.err
21922 cat conftest.err >&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); } && {
21925 test -z "$ac_c_werror_flag" ||
21926 test ! -s conftest.err
21927 } && test -s conftest.$ac_objext; then
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21933 ac_lo=`expr '(' $ac_mid ')' + 1`
21936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21939 ?*) ac_cv_sizeof_long=$ac_lo;;
21940 '') if test "$ac_cv_type_long" = yes; then
21941 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21942 See \`config.log' for more details." >&5
21943 echo "$as_me: error: cannot compute sizeof (long)
21944 See \`config.log' for more details." >&2;}
21945 { (exit 77); exit 77; }; }
21947 ac_cv_sizeof_long=0
21951 cat >conftest.$ac_ext <<_ACEOF
21954 cat confdefs.h >>conftest.$ac_ext
21955 cat >>conftest.$ac_ext <<_ACEOF
21956 /* end confdefs.h. */
21957 $ac_includes_default
21958 typedef long ac__type_sizeof_;
21959 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21960 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21962 #include <stdlib.h>
21967 FILE *f = fopen ("conftest.val", "w");
21970 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21972 long int i = longval ();
21973 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21975 fprintf (f, "%ld\n", i);
21979 unsigned long int i = ulongval ();
21980 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21982 fprintf (f, "%lu\n", i);
21984 return ferror (f) || fclose (f) != 0;
21990 rm -f conftest$ac_exeext
21991 if { (ac_try="$ac_link"
21992 case "(($ac_try" in
21993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_link") 2>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22001 { (case "(($ac_try" in
22002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22003 *) ac_try_echo=$ac_try;;
22005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22006 (eval "$ac_try") 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; }; then
22010 ac_cv_sizeof_long=`cat conftest.val`
22012 echo "$as_me: program exited with status $ac_status" >&5
22013 echo "$as_me: failed program was:" >&5
22014 sed 's/^/| /' conftest.$ac_ext >&5
22016 ( exit $ac_status )
22017 if test "$ac_cv_type_long" = yes; then
22018 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22019 See \`config.log' for more details." >&5
22020 echo "$as_me: error: cannot compute sizeof (long)
22021 See \`config.log' for more details." >&2;}
22022 { (exit 77); exit 77; }; }
22024 ac_cv_sizeof_long=0
22027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22031 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22032 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22036 cat >>confdefs.h <<_ACEOF
22037 #define SIZEOF_LONG $ac_cv_sizeof_long
22041 { echo "$as_me:$LINENO: checking for size_t" >&5
22042 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22043 if test "${ac_cv_type_size_t+set}" = set; then
22044 echo $ECHO_N "(cached) $ECHO_C" >&6
22046 cat >conftest.$ac_ext <<_ACEOF
22049 cat confdefs.h >>conftest.$ac_ext
22050 cat >>conftest.$ac_ext <<_ACEOF
22051 /* end confdefs.h. */
22052 $ac_includes_default
22053 typedef size_t ac__type_new_;
22057 if ((ac__type_new_ *) 0)
22059 if (sizeof (ac__type_new_))
22065 rm -f conftest.$ac_objext
22066 if { (ac_try="$ac_compile"
22067 case "(($ac_try" in
22068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22069 *) ac_try_echo=$ac_try;;
22071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22072 (eval "$ac_compile") 2>conftest.er1
22074 grep -v '^ *+' conftest.er1 >conftest.err
22076 cat conftest.err >&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); } && {
22079 test -z "$ac_c_werror_flag" ||
22080 test ! -s conftest.err
22081 } && test -s conftest.$ac_objext; then
22082 ac_cv_type_size_t=yes
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22087 ac_cv_type_size_t=no
22090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22092 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22093 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22095 # The cast to long int works around a bug in the HP C Compiler
22096 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22097 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22098 # This bug is HP SR number 8606223364.
22099 { echo "$as_me:$LINENO: checking size of size_t" >&5
22100 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22101 if test "${ac_cv_sizeof_size_t+set}" = set; then
22102 echo $ECHO_N "(cached) $ECHO_C" >&6
22104 if test "$cross_compiling" = yes; then
22105 # Depending upon the size, compute the lo and hi bounds.
22106 cat >conftest.$ac_ext <<_ACEOF
22109 cat confdefs.h >>conftest.$ac_ext
22110 cat >>conftest.$ac_ext <<_ACEOF
22111 /* end confdefs.h. */
22112 $ac_includes_default
22113 typedef size_t ac__type_sizeof_;
22117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22124 rm -f conftest.$ac_objext
22125 if { (ac_try="$ac_compile"
22126 case "(($ac_try" in
22127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22128 *) ac_try_echo=$ac_try;;
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_compile") 2>conftest.er1
22133 grep -v '^ *+' conftest.er1 >conftest.err
22135 cat conftest.err >&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); } && {
22138 test -z "$ac_c_werror_flag" ||
22139 test ! -s conftest.err
22140 } && test -s conftest.$ac_objext; then
22143 cat >conftest.$ac_ext <<_ACEOF
22146 cat confdefs.h >>conftest.$ac_ext
22147 cat >>conftest.$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 $ac_includes_default
22150 typedef size_t ac__type_sizeof_;
22154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22161 rm -f conftest.$ac_objext
22162 if { (ac_try="$ac_compile"
22163 case "(($ac_try" in
22164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22165 *) ac_try_echo=$ac_try;;
22167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22168 (eval "$ac_compile") 2>conftest.er1
22170 grep -v '^ *+' conftest.er1 >conftest.err
22172 cat conftest.err >&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); } && {
22175 test -z "$ac_c_werror_flag" ||
22176 test ! -s conftest.err
22177 } && test -s conftest.$ac_objext; then
22178 ac_hi=$ac_mid; break
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22183 ac_lo=`expr $ac_mid + 1`
22184 if test $ac_lo -le $ac_mid; then
22188 ac_mid=`expr 2 '*' $ac_mid + 1`
22191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22194 echo "$as_me: failed program was:" >&5
22195 sed 's/^/| /' conftest.$ac_ext >&5
22197 cat >conftest.$ac_ext <<_ACEOF
22200 cat confdefs.h >>conftest.$ac_ext
22201 cat >>conftest.$ac_ext <<_ACEOF
22202 /* end confdefs.h. */
22203 $ac_includes_default
22204 typedef size_t ac__type_sizeof_;
22208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22215 rm -f conftest.$ac_objext
22216 if { (ac_try="$ac_compile"
22217 case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_compile") 2>conftest.er1
22224 grep -v '^ *+' conftest.er1 >conftest.err
22226 cat conftest.err >&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); } && {
22229 test -z "$ac_c_werror_flag" ||
22230 test ! -s conftest.err
22231 } && test -s conftest.$ac_objext; then
22234 cat >conftest.$ac_ext <<_ACEOF
22237 cat confdefs.h >>conftest.$ac_ext
22238 cat >>conftest.$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22240 $ac_includes_default
22241 typedef size_t ac__type_sizeof_;
22245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22252 rm -f conftest.$ac_objext
22253 if { (ac_try="$ac_compile"
22254 case "(($ac_try" in
22255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22256 *) ac_try_echo=$ac_try;;
22258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22259 (eval "$ac_compile") 2>conftest.er1
22261 grep -v '^ *+' conftest.er1 >conftest.err
22263 cat conftest.err >&5
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); } && {
22266 test -z "$ac_c_werror_flag" ||
22267 test ! -s conftest.err
22268 } && test -s conftest.$ac_objext; then
22269 ac_lo=$ac_mid; break
22271 echo "$as_me: failed program was:" >&5
22272 sed 's/^/| /' conftest.$ac_ext >&5
22274 ac_hi=`expr '(' $ac_mid ')' - 1`
22275 if test $ac_mid -le $ac_hi; then
22279 ac_mid=`expr 2 '*' $ac_mid`
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.$ac_ext >&5
22291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22295 # Binary search between lo and hi bounds.
22296 while test "x$ac_lo" != "x$ac_hi"; do
22297 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22298 cat >conftest.$ac_ext <<_ACEOF
22301 cat confdefs.h >>conftest.$ac_ext
22302 cat >>conftest.$ac_ext <<_ACEOF
22303 /* end confdefs.h. */
22304 $ac_includes_default
22305 typedef size_t ac__type_sizeof_;
22309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22316 rm -f conftest.$ac_objext
22317 if { (ac_try="$ac_compile"
22318 case "(($ac_try" in
22319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22320 *) ac_try_echo=$ac_try;;
22322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22323 (eval "$ac_compile") 2>conftest.er1
22325 grep -v '^ *+' conftest.er1 >conftest.err
22327 cat conftest.err >&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } && {
22330 test -z "$ac_c_werror_flag" ||
22331 test ! -s conftest.err
22332 } && test -s conftest.$ac_objext; then
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.$ac_ext >&5
22338 ac_lo=`expr '(' $ac_mid ')' + 1`
22341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22344 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22345 '') if test "$ac_cv_type_size_t" = yes; then
22346 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22347 See \`config.log' for more details." >&5
22348 echo "$as_me: error: cannot compute sizeof (size_t)
22349 See \`config.log' for more details." >&2;}
22350 { (exit 77); exit 77; }; }
22352 ac_cv_sizeof_size_t=0
22356 cat >conftest.$ac_ext <<_ACEOF
22359 cat confdefs.h >>conftest.$ac_ext
22360 cat >>conftest.$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22362 $ac_includes_default
22363 typedef size_t ac__type_sizeof_;
22364 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22365 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22367 #include <stdlib.h>
22372 FILE *f = fopen ("conftest.val", "w");
22375 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22377 long int i = longval ();
22378 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22380 fprintf (f, "%ld\n", i);
22384 unsigned long int i = ulongval ();
22385 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22387 fprintf (f, "%lu\n", i);
22389 return ferror (f) || fclose (f) != 0;
22395 rm -f conftest$ac_exeext
22396 if { (ac_try="$ac_link"
22397 case "(($ac_try" in
22398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22399 *) ac_try_echo=$ac_try;;
22401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22402 (eval "$ac_link") 2>&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22406 { (case "(($ac_try" in
22407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22408 *) ac_try_echo=$ac_try;;
22410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22411 (eval "$ac_try") 2>&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); }; }; then
22415 ac_cv_sizeof_size_t=`cat conftest.val`
22417 echo "$as_me: program exited with status $ac_status" >&5
22418 echo "$as_me: failed program was:" >&5
22419 sed 's/^/| /' conftest.$ac_ext >&5
22421 ( exit $ac_status )
22422 if test "$ac_cv_type_size_t" = yes; then
22423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22424 See \`config.log' for more details." >&5
22425 echo "$as_me: error: cannot compute sizeof (size_t)
22426 See \`config.log' for more details." >&2;}
22427 { (exit 77); exit 77; }; }
22429 ac_cv_sizeof_size_t=0
22432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22436 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22437 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22441 cat >>confdefs.h <<_ACEOF
22442 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22449 { echo "$as_me:$LINENO: checking for long long" >&5
22450 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22451 if test "${ac_cv_type_long_long+set}" = set; then
22452 echo $ECHO_N "(cached) $ECHO_C" >&6
22454 cat >conftest.$ac_ext <<_ACEOF
22457 cat confdefs.h >>conftest.$ac_ext
22458 cat >>conftest.$ac_ext <<_ACEOF
22459 /* end confdefs.h. */
22460 $ac_includes_default
22461 typedef long long ac__type_new_;
22465 if ((ac__type_new_ *) 0)
22467 if (sizeof (ac__type_new_))
22473 rm -f conftest.$ac_objext
22474 if { (ac_try="$ac_compile"
22475 case "(($ac_try" in
22476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22477 *) ac_try_echo=$ac_try;;
22479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22480 (eval "$ac_compile") 2>conftest.er1
22482 grep -v '^ *+' conftest.er1 >conftest.err
22484 cat conftest.err >&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); } && {
22487 test -z "$ac_c_werror_flag" ||
22488 test ! -s conftest.err
22489 } && test -s conftest.$ac_objext; then
22490 ac_cv_type_long_long=yes
22492 echo "$as_me: failed program was:" >&5
22493 sed 's/^/| /' conftest.$ac_ext >&5
22495 ac_cv_type_long_long=no
22498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22500 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22501 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22503 # The cast to long int works around a bug in the HP C Compiler
22504 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22505 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22506 # This bug is HP SR number 8606223364.
22507 { echo "$as_me:$LINENO: checking size of long long" >&5
22508 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22509 if test "${ac_cv_sizeof_long_long+set}" = set; then
22510 echo $ECHO_N "(cached) $ECHO_C" >&6
22512 if test "$cross_compiling" = yes; then
22513 # Depending upon the size, compute the lo and hi bounds.
22514 cat >conftest.$ac_ext <<_ACEOF
22517 cat confdefs.h >>conftest.$ac_ext
22518 cat >>conftest.$ac_ext <<_ACEOF
22519 /* end confdefs.h. */
22520 $ac_includes_default
22521 typedef long long ac__type_sizeof_;
22525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22532 rm -f conftest.$ac_objext
22533 if { (ac_try="$ac_compile"
22534 case "(($ac_try" in
22535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22536 *) ac_try_echo=$ac_try;;
22538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22539 (eval "$ac_compile") 2>conftest.er1
22541 grep -v '^ *+' conftest.er1 >conftest.err
22543 cat conftest.err >&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); } && {
22546 test -z "$ac_c_werror_flag" ||
22547 test ! -s conftest.err
22548 } && test -s conftest.$ac_objext; then
22551 cat >conftest.$ac_ext <<_ACEOF
22554 cat confdefs.h >>conftest.$ac_ext
22555 cat >>conftest.$ac_ext <<_ACEOF
22556 /* end confdefs.h. */
22557 $ac_includes_default
22558 typedef long long ac__type_sizeof_;
22562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22569 rm -f conftest.$ac_objext
22570 if { (ac_try="$ac_compile"
22571 case "(($ac_try" in
22572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22573 *) ac_try_echo=$ac_try;;
22575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22576 (eval "$ac_compile") 2>conftest.er1
22578 grep -v '^ *+' conftest.er1 >conftest.err
22580 cat conftest.err >&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } && {
22583 test -z "$ac_c_werror_flag" ||
22584 test ! -s conftest.err
22585 } && test -s conftest.$ac_objext; then
22586 ac_hi=$ac_mid; break
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22591 ac_lo=`expr $ac_mid + 1`
22592 if test $ac_lo -le $ac_mid; then
22596 ac_mid=`expr 2 '*' $ac_mid + 1`
22599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22602 echo "$as_me: failed program was:" >&5
22603 sed 's/^/| /' conftest.$ac_ext >&5
22605 cat >conftest.$ac_ext <<_ACEOF
22608 cat confdefs.h >>conftest.$ac_ext
22609 cat >>conftest.$ac_ext <<_ACEOF
22610 /* end confdefs.h. */
22611 $ac_includes_default
22612 typedef long long ac__type_sizeof_;
22616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22623 rm -f conftest.$ac_objext
22624 if { (ac_try="$ac_compile"
22625 case "(($ac_try" in
22626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22627 *) ac_try_echo=$ac_try;;
22629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22630 (eval "$ac_compile") 2>conftest.er1
22632 grep -v '^ *+' conftest.er1 >conftest.err
22634 cat conftest.err >&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } && {
22637 test -z "$ac_c_werror_flag" ||
22638 test ! -s conftest.err
22639 } && test -s conftest.$ac_objext; then
22642 cat >conftest.$ac_ext <<_ACEOF
22645 cat confdefs.h >>conftest.$ac_ext
22646 cat >>conftest.$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22648 $ac_includes_default
22649 typedef long long ac__type_sizeof_;
22653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22660 rm -f conftest.$ac_objext
22661 if { (ac_try="$ac_compile"
22662 case "(($ac_try" in
22663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22664 *) ac_try_echo=$ac_try;;
22666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22667 (eval "$ac_compile") 2>conftest.er1
22669 grep -v '^ *+' conftest.er1 >conftest.err
22671 cat conftest.err >&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); } && {
22674 test -z "$ac_c_werror_flag" ||
22675 test ! -s conftest.err
22676 } && test -s conftest.$ac_objext; then
22677 ac_lo=$ac_mid; break
22679 echo "$as_me: failed program was:" >&5
22680 sed 's/^/| /' conftest.$ac_ext >&5
22682 ac_hi=`expr '(' $ac_mid ')' - 1`
22683 if test $ac_mid -le $ac_hi; then
22687 ac_mid=`expr 2 '*' $ac_mid`
22690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22693 echo "$as_me: failed program was:" >&5
22694 sed 's/^/| /' conftest.$ac_ext >&5
22699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22703 # Binary search between lo and hi bounds.
22704 while test "x$ac_lo" != "x$ac_hi"; do
22705 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22706 cat >conftest.$ac_ext <<_ACEOF
22709 cat confdefs.h >>conftest.$ac_ext
22710 cat >>conftest.$ac_ext <<_ACEOF
22711 /* end confdefs.h. */
22712 $ac_includes_default
22713 typedef long long ac__type_sizeof_;
22717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22724 rm -f conftest.$ac_objext
22725 if { (ac_try="$ac_compile"
22726 case "(($ac_try" in
22727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22728 *) ac_try_echo=$ac_try;;
22730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22731 (eval "$ac_compile") 2>conftest.er1
22733 grep -v '^ *+' conftest.er1 >conftest.err
22735 cat conftest.err >&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); } && {
22738 test -z "$ac_c_werror_flag" ||
22739 test ! -s conftest.err
22740 } && test -s conftest.$ac_objext; then
22743 echo "$as_me: failed program was:" >&5
22744 sed 's/^/| /' conftest.$ac_ext >&5
22746 ac_lo=`expr '(' $ac_mid ')' + 1`
22749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22752 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22753 '') if test "$ac_cv_type_long_long" = yes; then
22754 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22755 See \`config.log' for more details." >&5
22756 echo "$as_me: error: cannot compute sizeof (long long)
22757 See \`config.log' for more details." >&2;}
22758 { (exit 77); exit 77; }; }
22760 ac_cv_sizeof_long_long=0
22764 cat >conftest.$ac_ext <<_ACEOF
22767 cat confdefs.h >>conftest.$ac_ext
22768 cat >>conftest.$ac_ext <<_ACEOF
22769 /* end confdefs.h. */
22770 $ac_includes_default
22771 typedef long long ac__type_sizeof_;
22772 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22773 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22775 #include <stdlib.h>
22780 FILE *f = fopen ("conftest.val", "w");
22783 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22785 long int i = longval ();
22786 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22788 fprintf (f, "%ld\n", i);
22792 unsigned long int i = ulongval ();
22793 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22795 fprintf (f, "%lu\n", i);
22797 return ferror (f) || fclose (f) != 0;
22803 rm -f conftest$ac_exeext
22804 if { (ac_try="$ac_link"
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_link") 2>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22814 { (case "(($ac_try" in
22815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22816 *) ac_try_echo=$ac_try;;
22818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22819 (eval "$ac_try") 2>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); }; }; then
22823 ac_cv_sizeof_long_long=`cat conftest.val`
22825 echo "$as_me: program exited with status $ac_status" >&5
22826 echo "$as_me: failed program was:" >&5
22827 sed 's/^/| /' conftest.$ac_ext >&5
22829 ( exit $ac_status )
22830 if test "$ac_cv_type_long_long" = yes; then
22831 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22832 See \`config.log' for more details." >&5
22833 echo "$as_me: error: cannot compute sizeof (long long)
22834 See \`config.log' for more details." >&2;}
22835 { (exit 77); exit 77; }; }
22837 ac_cv_sizeof_long_long=0
22840 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22844 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22845 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22849 cat >>confdefs.h <<_ACEOF
22850 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22856 { echo "$as_me:$LINENO: checking for long long" >&5
22857 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22858 if test "${ac_cv_type_long_long+set}" = set; then
22859 echo $ECHO_N "(cached) $ECHO_C" >&6
22861 cat >conftest.$ac_ext <<_ACEOF
22864 cat confdefs.h >>conftest.$ac_ext
22865 cat >>conftest.$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22867 $ac_includes_default
22868 typedef long long ac__type_new_;
22872 if ((ac__type_new_ *) 0)
22874 if (sizeof (ac__type_new_))
22880 rm -f conftest.$ac_objext
22881 if { (ac_try="$ac_compile"
22882 case "(($ac_try" in
22883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22884 *) ac_try_echo=$ac_try;;
22886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22887 (eval "$ac_compile") 2>conftest.er1
22889 grep -v '^ *+' conftest.er1 >conftest.err
22891 cat conftest.err >&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); } && {
22894 test -z "$ac_c_werror_flag" ||
22895 test ! -s conftest.err
22896 } && test -s conftest.$ac_objext; then
22897 ac_cv_type_long_long=yes
22899 echo "$as_me: failed program was:" >&5
22900 sed 's/^/| /' conftest.$ac_ext >&5
22902 ac_cv_type_long_long=no
22905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22907 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22908 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22910 # The cast to long int works around a bug in the HP C Compiler
22911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22913 # This bug is HP SR number 8606223364.
22914 { echo "$as_me:$LINENO: checking size of long long" >&5
22915 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22916 if test "${ac_cv_sizeof_long_long+set}" = set; then
22917 echo $ECHO_N "(cached) $ECHO_C" >&6
22919 if test "$cross_compiling" = yes; then
22920 # Depending upon the size, compute the lo and hi bounds.
22921 cat >conftest.$ac_ext <<_ACEOF
22924 cat confdefs.h >>conftest.$ac_ext
22925 cat >>conftest.$ac_ext <<_ACEOF
22926 /* end confdefs.h. */
22927 $ac_includes_default
22928 typedef long long ac__type_sizeof_;
22932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22939 rm -f conftest.$ac_objext
22940 if { (ac_try="$ac_compile"
22941 case "(($ac_try" in
22942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22943 *) ac_try_echo=$ac_try;;
22945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22946 (eval "$ac_compile") 2>conftest.er1
22948 grep -v '^ *+' conftest.er1 >conftest.err
22950 cat conftest.err >&5
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); } && {
22953 test -z "$ac_c_werror_flag" ||
22954 test ! -s conftest.err
22955 } && test -s conftest.$ac_objext; then
22958 cat >conftest.$ac_ext <<_ACEOF
22961 cat confdefs.h >>conftest.$ac_ext
22962 cat >>conftest.$ac_ext <<_ACEOF
22963 /* end confdefs.h. */
22964 $ac_includes_default
22965 typedef long long ac__type_sizeof_;
22969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22976 rm -f conftest.$ac_objext
22977 if { (ac_try="$ac_compile"
22978 case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_compile") 2>conftest.er1
22985 grep -v '^ *+' conftest.er1 >conftest.err
22987 cat conftest.err >&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); } && {
22990 test -z "$ac_c_werror_flag" ||
22991 test ! -s conftest.err
22992 } && test -s conftest.$ac_objext; then
22993 ac_hi=$ac_mid; break
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22998 ac_lo=`expr $ac_mid + 1`
22999 if test $ac_lo -le $ac_mid; then
23003 ac_mid=`expr 2 '*' $ac_mid + 1`
23006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23009 echo "$as_me: failed program was:" >&5
23010 sed 's/^/| /' conftest.$ac_ext >&5
23012 cat >conftest.$ac_ext <<_ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23018 $ac_includes_default
23019 typedef long long ac__type_sizeof_;
23023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23030 rm -f conftest.$ac_objext
23031 if { (ac_try="$ac_compile"
23032 case "(($ac_try" in
23033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23034 *) ac_try_echo=$ac_try;;
23036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23037 (eval "$ac_compile") 2>conftest.er1
23039 grep -v '^ *+' conftest.er1 >conftest.err
23041 cat conftest.err >&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); } && {
23044 test -z "$ac_c_werror_flag" ||
23045 test ! -s conftest.err
23046 } && test -s conftest.$ac_objext; then
23049 cat >conftest.$ac_ext <<_ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055 $ac_includes_default
23056 typedef long long ac__type_sizeof_;
23060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23067 rm -f conftest.$ac_objext
23068 if { (ac_try="$ac_compile"
23069 case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_compile") 2>conftest.er1
23076 grep -v '^ *+' conftest.er1 >conftest.err
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && {
23081 test -z "$ac_c_werror_flag" ||
23082 test ! -s conftest.err
23083 } && test -s conftest.$ac_objext; then
23084 ac_lo=$ac_mid; break
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23089 ac_hi=`expr '(' $ac_mid ')' - 1`
23090 if test $ac_mid -le $ac_hi; then
23094 ac_mid=`expr 2 '*' $ac_mid`
23097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23100 echo "$as_me: failed program was:" >&5
23101 sed 's/^/| /' conftest.$ac_ext >&5
23106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110 # Binary search between lo and hi bounds.
23111 while test "x$ac_lo" != "x$ac_hi"; do
23112 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23113 cat >conftest.$ac_ext <<_ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23119 $ac_includes_default
23120 typedef long long ac__type_sizeof_;
23124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23131 rm -f conftest.$ac_objext
23132 if { (ac_try="$ac_compile"
23133 case "(($ac_try" in
23134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23135 *) ac_try_echo=$ac_try;;
23137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23138 (eval "$ac_compile") 2>conftest.er1
23140 grep -v '^ *+' conftest.er1 >conftest.err
23142 cat conftest.err >&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } && {
23145 test -z "$ac_c_werror_flag" ||
23146 test ! -s conftest.err
23147 } && test -s conftest.$ac_objext; then
23150 echo "$as_me: failed program was:" >&5
23151 sed 's/^/| /' conftest.$ac_ext >&5
23153 ac_lo=`expr '(' $ac_mid ')' + 1`
23156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23159 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23160 '') if test "$ac_cv_type_long_long" = yes; then
23161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23162 See \`config.log' for more details." >&5
23163 echo "$as_me: error: cannot compute sizeof (long long)
23164 See \`config.log' for more details." >&2;}
23165 { (exit 77); exit 77; }; }
23167 ac_cv_sizeof_long_long=0
23171 cat >conftest.$ac_ext <<_ACEOF
23174 cat confdefs.h >>conftest.$ac_ext
23175 cat >>conftest.$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23177 $ac_includes_default
23178 typedef long long ac__type_sizeof_;
23179 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23180 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23182 #include <stdlib.h>
23187 FILE *f = fopen ("conftest.val", "w");
23190 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23192 long int i = longval ();
23193 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23195 fprintf (f, "%ld\n", i);
23199 unsigned long int i = ulongval ();
23200 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23202 fprintf (f, "%lu\n", i);
23204 return ferror (f) || fclose (f) != 0;
23210 rm -f conftest$ac_exeext
23211 if { (ac_try="$ac_link"
23212 case "(($ac_try" in
23213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23214 *) ac_try_echo=$ac_try;;
23216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23217 (eval "$ac_link") 2>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23221 { (case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223 *) ac_try_echo=$ac_try;;
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_try") 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 ac_cv_sizeof_long_long=`cat conftest.val`
23232 echo "$as_me: program exited with status $ac_status" >&5
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.$ac_ext >&5
23236 ( exit $ac_status )
23237 if test "$ac_cv_type_long_long" = yes; then
23238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23239 See \`config.log' for more details." >&5
23240 echo "$as_me: error: cannot compute sizeof (long long)
23241 See \`config.log' for more details." >&2;}
23242 { (exit 77); exit 77; }; }
23244 ac_cv_sizeof_long_long=0
23247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23251 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23252 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23256 cat >>confdefs.h <<_ACEOF
23257 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23261 if test "$ac_cv_sizeof_long_long" != 0; then
23262 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23266 { echo "$as_me:$LINENO: checking for long long" >&5
23267 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23268 if test "${ac_cv_type_long_long+set}" = set; then
23269 echo $ECHO_N "(cached) $ECHO_C" >&6
23271 cat >conftest.$ac_ext <<_ACEOF
23274 cat confdefs.h >>conftest.$ac_ext
23275 cat >>conftest.$ac_ext <<_ACEOF
23276 /* end confdefs.h. */
23277 $ac_includes_default
23278 typedef long long ac__type_new_;
23282 if ((ac__type_new_ *) 0)
23284 if (sizeof (ac__type_new_))
23290 rm -f conftest.$ac_objext
23291 if { (ac_try="$ac_compile"
23292 case "(($ac_try" in
23293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23294 *) ac_try_echo=$ac_try;;
23296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23297 (eval "$ac_compile") 2>conftest.er1
23299 grep -v '^ *+' conftest.er1 >conftest.err
23301 cat conftest.err >&5
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); } && {
23304 test -z "$ac_c_werror_flag" ||
23305 test ! -s conftest.err
23306 } && test -s conftest.$ac_objext; then
23307 ac_cv_type_long_long=yes
23309 echo "$as_me: failed program was:" >&5
23310 sed 's/^/| /' conftest.$ac_ext >&5
23312 ac_cv_type_long_long=no
23315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23317 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23318 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23320 # The cast to long int works around a bug in the HP C Compiler
23321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23323 # This bug is HP SR number 8606223364.
23324 { echo "$as_me:$LINENO: checking size of long long" >&5
23325 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23326 if test "${ac_cv_sizeof_long_long+set}" = set; then
23327 echo $ECHO_N "(cached) $ECHO_C" >&6
23329 if test "$cross_compiling" = yes; then
23330 # Depending upon the size, compute the lo and hi bounds.
23331 cat >conftest.$ac_ext <<_ACEOF
23334 cat confdefs.h >>conftest.$ac_ext
23335 cat >>conftest.$ac_ext <<_ACEOF
23336 /* end confdefs.h. */
23337 $ac_includes_default
23338 typedef long long ac__type_sizeof_;
23342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23349 rm -f conftest.$ac_objext
23350 if { (ac_try="$ac_compile"
23351 case "(($ac_try" in
23352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23353 *) ac_try_echo=$ac_try;;
23355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23356 (eval "$ac_compile") 2>conftest.er1
23358 grep -v '^ *+' conftest.er1 >conftest.err
23360 cat conftest.err >&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); } && {
23363 test -z "$ac_c_werror_flag" ||
23364 test ! -s conftest.err
23365 } && test -s conftest.$ac_objext; then
23368 cat >conftest.$ac_ext <<_ACEOF
23371 cat confdefs.h >>conftest.$ac_ext
23372 cat >>conftest.$ac_ext <<_ACEOF
23373 /* end confdefs.h. */
23374 $ac_includes_default
23375 typedef long long ac__type_sizeof_;
23379 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23386 rm -f conftest.$ac_objext
23387 if { (ac_try="$ac_compile"
23388 case "(($ac_try" in
23389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23390 *) ac_try_echo=$ac_try;;
23392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23393 (eval "$ac_compile") 2>conftest.er1
23395 grep -v '^ *+' conftest.er1 >conftest.err
23397 cat conftest.err >&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } && {
23400 test -z "$ac_c_werror_flag" ||
23401 test ! -s conftest.err
23402 } && test -s conftest.$ac_objext; then
23403 ac_hi=$ac_mid; break
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.$ac_ext >&5
23408 ac_lo=`expr $ac_mid + 1`
23409 if test $ac_lo -le $ac_mid; then
23413 ac_mid=`expr 2 '*' $ac_mid + 1`
23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23419 echo "$as_me: failed program was:" >&5
23420 sed 's/^/| /' conftest.$ac_ext >&5
23422 cat >conftest.$ac_ext <<_ACEOF
23425 cat confdefs.h >>conftest.$ac_ext
23426 cat >>conftest.$ac_ext <<_ACEOF
23427 /* end confdefs.h. */
23428 $ac_includes_default
23429 typedef long long ac__type_sizeof_;
23433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23440 rm -f conftest.$ac_objext
23441 if { (ac_try="$ac_compile"
23442 case "(($ac_try" in
23443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23444 *) ac_try_echo=$ac_try;;
23446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23447 (eval "$ac_compile") 2>conftest.er1
23449 grep -v '^ *+' conftest.er1 >conftest.err
23451 cat conftest.err >&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } && {
23454 test -z "$ac_c_werror_flag" ||
23455 test ! -s conftest.err
23456 } && test -s conftest.$ac_objext; then
23459 cat >conftest.$ac_ext <<_ACEOF
23462 cat confdefs.h >>conftest.$ac_ext
23463 cat >>conftest.$ac_ext <<_ACEOF
23464 /* end confdefs.h. */
23465 $ac_includes_default
23466 typedef long long ac__type_sizeof_;
23470 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23477 rm -f conftest.$ac_objext
23478 if { (ac_try="$ac_compile"
23479 case "(($ac_try" in
23480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23481 *) ac_try_echo=$ac_try;;
23483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23484 (eval "$ac_compile") 2>conftest.er1
23486 grep -v '^ *+' conftest.er1 >conftest.err
23488 cat conftest.err >&5
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); } && {
23491 test -z "$ac_c_werror_flag" ||
23492 test ! -s conftest.err
23493 } && test -s conftest.$ac_objext; then
23494 ac_lo=$ac_mid; break
23496 echo "$as_me: failed program was:" >&5
23497 sed 's/^/| /' conftest.$ac_ext >&5
23499 ac_hi=`expr '(' $ac_mid ')' - 1`
23500 if test $ac_mid -le $ac_hi; then
23504 ac_mid=`expr 2 '*' $ac_mid`
23507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23510 echo "$as_me: failed program was:" >&5
23511 sed 's/^/| /' conftest.$ac_ext >&5
23516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23520 # Binary search between lo and hi bounds.
23521 while test "x$ac_lo" != "x$ac_hi"; do
23522 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23523 cat >conftest.$ac_ext <<_ACEOF
23526 cat confdefs.h >>conftest.$ac_ext
23527 cat >>conftest.$ac_ext <<_ACEOF
23528 /* end confdefs.h. */
23529 $ac_includes_default
23530 typedef long long ac__type_sizeof_;
23534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23541 rm -f conftest.$ac_objext
23542 if { (ac_try="$ac_compile"
23543 case "(($ac_try" in
23544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23545 *) ac_try_echo=$ac_try;;
23547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23548 (eval "$ac_compile") 2>conftest.er1
23550 grep -v '^ *+' conftest.er1 >conftest.err
23552 cat conftest.err >&5
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); } && {
23555 test -z "$ac_c_werror_flag" ||
23556 test ! -s conftest.err
23557 } && test -s conftest.$ac_objext; then
23560 echo "$as_me: failed program was:" >&5
23561 sed 's/^/| /' conftest.$ac_ext >&5
23563 ac_lo=`expr '(' $ac_mid ')' + 1`
23566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23569 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23570 '') if test "$ac_cv_type_long_long" = yes; then
23571 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23572 See \`config.log' for more details." >&5
23573 echo "$as_me: error: cannot compute sizeof (long long)
23574 See \`config.log' for more details." >&2;}
23575 { (exit 77); exit 77; }; }
23577 ac_cv_sizeof_long_long=0
23581 cat >conftest.$ac_ext <<_ACEOF
23584 cat confdefs.h >>conftest.$ac_ext
23585 cat >>conftest.$ac_ext <<_ACEOF
23586 /* end confdefs.h. */
23587 $ac_includes_default
23588 typedef long long ac__type_sizeof_;
23589 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23590 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23592 #include <stdlib.h>
23597 FILE *f = fopen ("conftest.val", "w");
23600 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23602 long int i = longval ();
23603 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23605 fprintf (f, "%ld\n", i);
23609 unsigned long int i = ulongval ();
23610 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23612 fprintf (f, "%lu\n", i);
23614 return ferror (f) || fclose (f) != 0;
23620 rm -f conftest$ac_exeext
23621 if { (ac_try="$ac_link"
23622 case "(($ac_try" in
23623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23624 *) ac_try_echo=$ac_try;;
23626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23627 (eval "$ac_link") 2>&5
23629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23631 { (case "(($ac_try" in
23632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23633 *) ac_try_echo=$ac_try;;
23635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23636 (eval "$ac_try") 2>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; }; then
23640 ac_cv_sizeof_long_long=`cat conftest.val`
23642 echo "$as_me: program exited with status $ac_status" >&5
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23646 ( exit $ac_status )
23647 if test "$ac_cv_type_long_long" = yes; then
23648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23649 See \`config.log' for more details." >&5
23650 echo "$as_me: error: cannot compute sizeof (long long)
23651 See \`config.log' for more details." >&2;}
23652 { (exit 77); exit 77; }; }
23654 ac_cv_sizeof_long_long=0
23657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23661 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23662 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23666 cat >>confdefs.h <<_ACEOF
23667 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23673 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23674 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23675 if test "${ac_cv_type_wchar_t+set}" = set; then
23676 echo $ECHO_N "(cached) $ECHO_C" >&6
23678 cat >conftest.$ac_ext <<_ACEOF
23681 cat confdefs.h >>conftest.$ac_ext
23682 cat >>conftest.$ac_ext <<_ACEOF
23683 /* end confdefs.h. */
23685 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23686 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23687 # error "fake wchar_t"
23689 #ifdef HAVE_WCHAR_H
23691 # include <stddef.h>
23693 # include <wchar.h>
23695 #ifdef HAVE_STDLIB_H
23696 # include <stdlib.h>
23702 typedef wchar_t ac__type_new_;
23706 if ((ac__type_new_ *) 0)
23708 if (sizeof (ac__type_new_))
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23723 grep -v '^ *+' conftest.er1 >conftest.err
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_c_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23731 ac_cv_type_wchar_t=yes
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23736 ac_cv_type_wchar_t=no
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23741 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23742 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23744 # The cast to long int works around a bug in the HP C Compiler
23745 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23746 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23747 # This bug is HP SR number 8606223364.
23748 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23749 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23750 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23751 echo $ECHO_N "(cached) $ECHO_C" >&6
23753 if test "$cross_compiling" = yes; then
23754 # Depending upon the size, compute the lo and hi bounds.
23755 cat >conftest.$ac_ext <<_ACEOF
23758 cat confdefs.h >>conftest.$ac_ext
23759 cat >>conftest.$ac_ext <<_ACEOF
23760 /* end confdefs.h. */
23762 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23763 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23764 # error "fake wchar_t"
23766 #ifdef HAVE_WCHAR_H
23768 # include <stddef.h>
23770 # include <wchar.h>
23772 #ifdef HAVE_STDLIB_H
23773 # include <stdlib.h>
23779 typedef wchar_t ac__type_sizeof_;
23783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23790 rm -f conftest.$ac_objext
23791 if { (ac_try="$ac_compile"
23792 case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797 (eval "$ac_compile") 2>conftest.er1
23799 grep -v '^ *+' conftest.er1 >conftest.err
23801 cat conftest.err >&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } && {
23804 test -z "$ac_c_werror_flag" ||
23805 test ! -s conftest.err
23806 } && test -s conftest.$ac_objext; then
23809 cat >conftest.$ac_ext <<_ACEOF
23812 cat confdefs.h >>conftest.$ac_ext
23813 cat >>conftest.$ac_ext <<_ACEOF
23814 /* end confdefs.h. */
23816 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23817 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23818 # error "fake wchar_t"
23820 #ifdef HAVE_WCHAR_H
23822 # include <stddef.h>
23824 # include <wchar.h>
23826 #ifdef HAVE_STDLIB_H
23827 # include <stdlib.h>
23833 typedef wchar_t ac__type_sizeof_;
23837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23844 rm -f conftest.$ac_objext
23845 if { (ac_try="$ac_compile"
23846 case "(($ac_try" in
23847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23848 *) ac_try_echo=$ac_try;;
23850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23851 (eval "$ac_compile") 2>conftest.er1
23853 grep -v '^ *+' conftest.er1 >conftest.err
23855 cat conftest.err >&5
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); } && {
23858 test -z "$ac_c_werror_flag" ||
23859 test ! -s conftest.err
23860 } && test -s conftest.$ac_objext; then
23861 ac_hi=$ac_mid; break
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.$ac_ext >&5
23866 ac_lo=`expr $ac_mid + 1`
23867 if test $ac_lo -le $ac_mid; then
23871 ac_mid=`expr 2 '*' $ac_mid + 1`
23874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23880 cat >conftest.$ac_ext <<_ACEOF
23883 cat confdefs.h >>conftest.$ac_ext
23884 cat >>conftest.$ac_ext <<_ACEOF
23885 /* end confdefs.h. */
23887 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23888 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23889 # error "fake wchar_t"
23891 #ifdef HAVE_WCHAR_H
23893 # include <stddef.h>
23895 # include <wchar.h>
23897 #ifdef HAVE_STDLIB_H
23898 # include <stdlib.h>
23904 typedef wchar_t ac__type_sizeof_;
23908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23915 rm -f conftest.$ac_objext
23916 if { (ac_try="$ac_compile"
23917 case "(($ac_try" in
23918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23919 *) ac_try_echo=$ac_try;;
23921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23922 (eval "$ac_compile") 2>conftest.er1
23924 grep -v '^ *+' conftest.er1 >conftest.err
23926 cat conftest.err >&5
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); } && {
23929 test -z "$ac_c_werror_flag" ||
23930 test ! -s conftest.err
23931 } && test -s conftest.$ac_objext; then
23934 cat >conftest.$ac_ext <<_ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23941 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23942 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23943 # error "fake wchar_t"
23945 #ifdef HAVE_WCHAR_H
23947 # include <stddef.h>
23949 # include <wchar.h>
23951 #ifdef HAVE_STDLIB_H
23952 # include <stdlib.h>
23958 typedef wchar_t ac__type_sizeof_;
23962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23969 rm -f conftest.$ac_objext
23970 if { (ac_try="$ac_compile"
23971 case "(($ac_try" in
23972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23973 *) ac_try_echo=$ac_try;;
23975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23976 (eval "$ac_compile") 2>conftest.er1
23978 grep -v '^ *+' conftest.er1 >conftest.err
23980 cat conftest.err >&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); } && {
23983 test -z "$ac_c_werror_flag" ||
23984 test ! -s conftest.err
23985 } && test -s conftest.$ac_objext; then
23986 ac_lo=$ac_mid; break
23988 echo "$as_me: failed program was:" >&5
23989 sed 's/^/| /' conftest.$ac_ext >&5
23991 ac_hi=`expr '(' $ac_mid ')' - 1`
23992 if test $ac_mid -le $ac_hi; then
23996 ac_mid=`expr 2 '*' $ac_mid`
23999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24002 echo "$as_me: failed program was:" >&5
24003 sed 's/^/| /' conftest.$ac_ext >&5
24008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24012 # Binary search between lo and hi bounds.
24013 while test "x$ac_lo" != "x$ac_hi"; do
24014 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24015 cat >conftest.$ac_ext <<_ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24022 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24023 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24024 # error "fake wchar_t"
24026 #ifdef HAVE_WCHAR_H
24028 # include <stddef.h>
24030 # include <wchar.h>
24032 #ifdef HAVE_STDLIB_H
24033 # include <stdlib.h>
24039 typedef wchar_t ac__type_sizeof_;
24043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24050 rm -f conftest.$ac_objext
24051 if { (ac_try="$ac_compile"
24052 case "(($ac_try" in
24053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24054 *) ac_try_echo=$ac_try;;
24056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24057 (eval "$ac_compile") 2>conftest.er1
24059 grep -v '^ *+' conftest.er1 >conftest.err
24061 cat conftest.err >&5
24062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24063 (exit $ac_status); } && {
24064 test -z "$ac_c_werror_flag" ||
24065 test ! -s conftest.err
24066 } && test -s conftest.$ac_objext; then
24069 echo "$as_me: failed program was:" >&5
24070 sed 's/^/| /' conftest.$ac_ext >&5
24072 ac_lo=`expr '(' $ac_mid ')' + 1`
24075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24078 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24079 '') if test "$ac_cv_type_wchar_t" = yes; then
24080 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24081 See \`config.log' for more details." >&5
24082 echo "$as_me: error: cannot compute sizeof (wchar_t)
24083 See \`config.log' for more details." >&2;}
24084 { (exit 77); exit 77; }; }
24086 ac_cv_sizeof_wchar_t=0
24090 cat >conftest.$ac_ext <<_ACEOF
24093 cat confdefs.h >>conftest.$ac_ext
24094 cat >>conftest.$ac_ext <<_ACEOF
24095 /* end confdefs.h. */
24097 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24098 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24099 # error "fake wchar_t"
24101 #ifdef HAVE_WCHAR_H
24103 # include <stddef.h>
24105 # include <wchar.h>
24107 #ifdef HAVE_STDLIB_H
24108 # include <stdlib.h>
24114 typedef wchar_t ac__type_sizeof_;
24115 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24116 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24118 #include <stdlib.h>
24123 FILE *f = fopen ("conftest.val", "w");
24126 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24128 long int i = longval ();
24129 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24131 fprintf (f, "%ld\n", i);
24135 unsigned long int i = ulongval ();
24136 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24138 fprintf (f, "%lu\n", i);
24140 return ferror (f) || fclose (f) != 0;
24146 rm -f conftest$ac_exeext
24147 if { (ac_try="$ac_link"
24148 case "(($ac_try" in
24149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24150 *) ac_try_echo=$ac_try;;
24152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24153 (eval "$ac_link") 2>&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24157 { (case "(($ac_try" in
24158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24159 *) ac_try_echo=$ac_try;;
24161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24162 (eval "$ac_try") 2>&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); }; }; then
24166 ac_cv_sizeof_wchar_t=`cat conftest.val`
24168 echo "$as_me: program exited with status $ac_status" >&5
24169 echo "$as_me: failed program was:" >&5
24170 sed 's/^/| /' conftest.$ac_ext >&5
24172 ( exit $ac_status )
24173 if test "$ac_cv_type_wchar_t" = yes; then
24174 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24175 See \`config.log' for more details." >&5
24176 echo "$as_me: error: cannot compute sizeof (wchar_t)
24177 See \`config.log' for more details." >&2;}
24178 { (exit 77); exit 77; }; }
24180 ac_cv_sizeof_wchar_t=0
24183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24187 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24188 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24192 cat >>confdefs.h <<_ACEOF
24193 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24197 if test "$ac_cv_sizeof_wchar_t" = 0; then
24198 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24199 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24200 { (exit 1); exit 1; }; }
24202 cat >>confdefs.h <<\_ACEOF
24203 #define wxUSE_WCHAR_T 1
24207 { echo "$as_me:$LINENO: checking for va_copy" >&5
24208 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24209 if test "${wx_cv_func_va_copy+set}" = set; then
24210 echo $ECHO_N "(cached) $ECHO_C" >&6
24214 ac_cpp='$CXXCPP $CPPFLAGS'
24215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24219 cat >conftest.$ac_ext <<_ACEOF
24221 #include <stdarg.h>
24222 void foo(char *f, ...)
24236 rm -f conftest.$ac_objext conftest$ac_exeext
24237 if { (ac_try="$ac_link"
24238 case "(($ac_try" in
24239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24240 *) ac_try_echo=$ac_try;;
24242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24243 (eval "$ac_link") 2>conftest.er1
24245 grep -v '^ *+' conftest.er1 >conftest.err
24247 cat conftest.err >&5
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); } && {
24250 test -z "$ac_cxx_werror_flag" ||
24251 test ! -s conftest.err
24252 } && test -s conftest$ac_exeext &&
24253 $as_test_x conftest$ac_exeext; then
24254 wx_cv_func_va_copy=yes
24256 echo "$as_me: failed program was:" >&5
24257 sed 's/^/| /' conftest.$ac_ext >&5
24259 wx_cv_func_va_copy=no
24263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24264 conftest$ac_exeext conftest.$ac_ext
24266 ac_cpp='$CPP $CPPFLAGS'
24267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24274 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24275 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24277 if test $wx_cv_func_va_copy = "yes"; then
24278 cat >>confdefs.h <<\_ACEOF
24279 #define HAVE_VA_COPY 1
24283 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24284 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24285 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24286 echo $ECHO_N "(cached) $ECHO_C" >&6
24289 if test "$cross_compiling" = yes; then
24290 wx_cv_type_va_list_lvalue=yes
24293 cat >conftest.$ac_ext <<_ACEOF
24295 #include <stdarg.h>
24296 int foo(char *f, ...)
24301 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24309 return foo("hi", 17);
24312 rm -f conftest$ac_exeext
24313 if { (ac_try="$ac_link"
24314 case "(($ac_try" in
24315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24316 *) ac_try_echo=$ac_try;;
24318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24319 (eval "$ac_link") 2>&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24323 { (case "(($ac_try" in
24324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24325 *) ac_try_echo=$ac_try;;
24327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24328 (eval "$ac_try") 2>&5
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); }; }; then
24332 wx_cv_type_va_list_lvalue=yes
24334 echo "$as_me: program exited with status $ac_status" >&5
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.$ac_ext >&5
24338 ( exit $ac_status )
24339 wx_cv_type_va_list_lvalue=no
24341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24348 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24349 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24351 if test $wx_cv_type_va_list_lvalue != "yes"; then
24352 cat >>confdefs.h <<\_ACEOF
24353 #define VA_LIST_IS_ARRAY 1
24359 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24361 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24362 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24363 if test "${wx_cv_have_variadic_macros+set}" = set; then
24364 echo $ECHO_N "(cached) $ECHO_C" >&6
24368 ac_cpp='$CXXCPP $CPPFLAGS'
24369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24373 cat >conftest.$ac_ext <<_ACEOF
24376 cat confdefs.h >>conftest.$ac_ext
24377 cat >>conftest.$ac_ext <<_ACEOF
24378 /* end confdefs.h. */
24381 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24387 test("%s %d %p", "test", 1, 0);
24394 rm -f conftest.$ac_objext
24395 if { (ac_try="$ac_compile"
24396 case "(($ac_try" in
24397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24398 *) ac_try_echo=$ac_try;;
24400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24401 (eval "$ac_compile") 2>conftest.er1
24403 grep -v '^ *+' conftest.er1 >conftest.err
24405 cat conftest.err >&5
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); } && {
24408 test -z "$ac_cxx_werror_flag" ||
24409 test ! -s conftest.err
24410 } && test -s conftest.$ac_objext; then
24411 wx_cv_have_variadic_macros=yes
24413 echo "$as_me: failed program was:" >&5
24414 sed 's/^/| /' conftest.$ac_ext >&5
24416 wx_cv_have_variadic_macros=no
24420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24422 ac_cpp='$CPP $CPPFLAGS'
24423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24430 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24431 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24433 if test $wx_cv_have_variadic_macros = "yes"; then
24434 cat >>confdefs.h <<\_ACEOF
24435 #define HAVE_VARIADIC_MACROS 1
24442 LARGEFILE_CPPFLAGS=
24443 # Check whether --enable-largefile was given.
24444 if test "${enable_largefile+set}" = set; then
24445 enableval=$enable_largefile;
24448 if test "$enable_largefile" != no; then
24451 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24452 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24453 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24454 echo $ECHO_N "(cached) $ECHO_C" >&6
24457 cat >conftest.$ac_ext <<_ACEOF
24460 cat confdefs.h >>conftest.$ac_ext
24461 cat >>conftest.$ac_ext <<_ACEOF
24462 /* end confdefs.h. */
24463 #define _FILE_OFFSET_BITS 64
24464 #include <sys/types.h>
24469 unsigned int field: sizeof(off_t) == 8;
24476 rm -f conftest.$ac_objext
24477 if { (ac_try="$ac_compile"
24478 case "(($ac_try" in
24479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24480 *) ac_try_echo=$ac_try;;
24482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24483 (eval "$ac_compile") 2>conftest.er1
24485 grep -v '^ *+' conftest.er1 >conftest.err
24487 cat conftest.err >&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); } && {
24490 test -z "$ac_c_werror_flag" ||
24491 test ! -s conftest.err
24492 } && test -s conftest.$ac_objext; then
24493 ac_cv_sys_file_offset_bits=64
24495 echo "$as_me: failed program was:" >&5
24496 sed 's/^/| /' conftest.$ac_ext >&5
24498 ac_cv_sys_file_offset_bits=no
24501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24505 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24506 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24508 if test "$ac_cv_sys_file_offset_bits" != no; then
24510 cat >>confdefs.h <<_ACEOF
24511 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24516 if test "x$wx_largefile" != "xyes"; then
24518 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24519 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24520 if test "${ac_cv_sys_large_files+set}" = set; then
24521 echo $ECHO_N "(cached) $ECHO_C" >&6
24524 cat >conftest.$ac_ext <<_ACEOF
24527 cat confdefs.h >>conftest.$ac_ext
24528 cat >>conftest.$ac_ext <<_ACEOF
24529 /* end confdefs.h. */
24530 #define _LARGE_FILES 1
24531 #include <sys/types.h>
24536 unsigned int field: sizeof(off_t) == 8;
24543 rm -f conftest.$ac_objext
24544 if { (ac_try="$ac_compile"
24545 case "(($ac_try" in
24546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24547 *) ac_try_echo=$ac_try;;
24549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24550 (eval "$ac_compile") 2>conftest.er1
24552 grep -v '^ *+' conftest.er1 >conftest.err
24554 cat conftest.err >&5
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } && {
24557 test -z "$ac_c_werror_flag" ||
24558 test ! -s conftest.err
24559 } && test -s conftest.$ac_objext; then
24560 ac_cv_sys_large_files=1
24562 echo "$as_me: failed program was:" >&5
24563 sed 's/^/| /' conftest.$ac_ext >&5
24565 ac_cv_sys_large_files=no
24568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24572 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24573 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24575 if test "$ac_cv_sys_large_files" != no; then
24577 cat >>confdefs.h <<_ACEOF
24578 #define _LARGE_FILES $ac_cv_sys_large_files
24585 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24586 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24587 if test "x$wx_largefile" = "xyes"; then
24588 cat >>confdefs.h <<\_ACEOF
24589 #define HAVE_LARGEFILE_SUPPORT 1
24593 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24594 echo "${ECHO_T}$wx_largefile" >&6; }
24597 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24598 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24599 elif test "$ac_cv_sys_large_files" = 1; then
24600 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24603 if test -n "$LARGEFILE_CPPFLAGS"; then
24604 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24606 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24607 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24608 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24609 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24610 echo $ECHO_N "(cached) $ECHO_C" >&6
24614 ac_cpp='$CXXCPP $CPPFLAGS'
24615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24619 cat >conftest.$ac_ext <<_ACEOF
24622 cat confdefs.h >>conftest.$ac_ext
24623 cat >>conftest.$ac_ext <<_ACEOF
24624 /* end confdefs.h. */
24630 #ifndef __STDC_EXT__
24638 rm -f conftest.$ac_objext
24639 if { (ac_try="$ac_compile"
24640 case "(($ac_try" in
24641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642 *) ac_try_echo=$ac_try;;
24644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645 (eval "$ac_compile") 2>conftest.er1
24647 grep -v '^ *+' conftest.er1 >conftest.err
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } && {
24652 test -z "$ac_cxx_werror_flag" ||
24653 test ! -s conftest.err
24654 } && test -s conftest.$ac_objext; then
24655 wx_cv_STDC_EXT_required=no
24657 echo "$as_me: failed program was:" >&5
24658 sed 's/^/| /' conftest.$ac_ext >&5
24660 wx_cv_STDC_EXT_required=yes
24664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24666 ac_cpp='$CPP $CPPFLAGS'
24667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24674 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24675 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24676 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24677 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24683 ac_cpp='$CXXCPP $CPPFLAGS'
24684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24688 old_CPPFLAGS="$CPPFLAGS"
24689 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24690 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24691 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24692 if test "${ac_cv_sys_largefile_source+set}" = set; then
24693 echo $ECHO_N "(cached) $ECHO_C" >&6
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> /* for off_t */
24707 int (*fp) (FILE *, off_t, int) = fseeko;
24708 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24713 rm -f conftest.$ac_objext conftest$ac_exeext
24714 if { (ac_try="$ac_link"
24715 case "(($ac_try" in
24716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24717 *) ac_try_echo=$ac_try;;
24719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24720 (eval "$ac_link") 2>conftest.er1
24722 grep -v '^ *+' conftest.er1 >conftest.err
24724 cat conftest.err >&5
24725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24726 (exit $ac_status); } && {
24727 test -z "$ac_cxx_werror_flag" ||
24728 test ! -s conftest.err
24729 } && test -s conftest$ac_exeext &&
24730 $as_test_x conftest$ac_exeext; then
24731 ac_cv_sys_largefile_source=no; break
24733 echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.$ac_ext >&5
24739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24740 conftest$ac_exeext conftest.$ac_ext
24741 cat >conftest.$ac_ext <<_ACEOF
24744 cat confdefs.h >>conftest.$ac_ext
24745 cat >>conftest.$ac_ext <<_ACEOF
24746 /* end confdefs.h. */
24747 #define _LARGEFILE_SOURCE 1
24748 #include <sys/types.h> /* for off_t */
24753 int (*fp) (FILE *, off_t, int) = fseeko;
24754 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24759 rm -f conftest.$ac_objext conftest$ac_exeext
24760 if { (ac_try="$ac_link"
24761 case "(($ac_try" in
24762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24763 *) ac_try_echo=$ac_try;;
24765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24766 (eval "$ac_link") 2>conftest.er1
24768 grep -v '^ *+' conftest.er1 >conftest.err
24770 cat conftest.err >&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); } && {
24773 test -z "$ac_cxx_werror_flag" ||
24774 test ! -s conftest.err
24775 } && test -s conftest$ac_exeext &&
24776 $as_test_x conftest$ac_exeext; then
24777 ac_cv_sys_largefile_source=1; break
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_ipa8_conftest.oo \
24786 conftest$ac_exeext conftest.$ac_ext
24787 ac_cv_sys_largefile_source=unknown
24791 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24792 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24793 case $ac_cv_sys_largefile_source in #(
24796 cat >>confdefs.h <<_ACEOF
24797 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24803 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24804 # in glibc 2.1.3, but that breaks too many other things.
24805 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24806 if test $ac_cv_sys_largefile_source != unknown; then
24808 cat >>confdefs.h <<\_ACEOF
24809 #define HAVE_FSEEKO 1
24814 CPPFLAGS="$old_CPPFLAGS"
24816 ac_cpp='$CPP $CPPFLAGS'
24817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24821 if test "$ac_cv_sys_largefile_source" != no; then
24822 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24825 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24826 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24827 if test "${ac_cv_c_bigendian+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 ac_cv_c_bigendian=unknown
24831 # See if sys/param.h defines the BYTE_ORDER macro.
24832 cat >conftest.$ac_ext <<_ACEOF
24835 cat confdefs.h >>conftest.$ac_ext
24836 cat >>conftest.$ac_ext <<_ACEOF
24837 /* end confdefs.h. */
24838 #include <sys/types.h>
24839 #include <sys/param.h>
24844 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24845 bogus endian macros
24851 rm -f conftest.$ac_objext
24852 if { (ac_try="$ac_compile"
24853 case "(($ac_try" in
24854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24855 *) ac_try_echo=$ac_try;;
24857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24858 (eval "$ac_compile") 2>conftest.er1
24860 grep -v '^ *+' conftest.er1 >conftest.err
24862 cat conftest.err >&5
24863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 (exit $ac_status); } && {
24865 test -z "$ac_c_werror_flag" ||
24866 test ! -s conftest.err
24867 } && test -s conftest.$ac_objext; then
24868 # It does; now see whether it defined to BIG_ENDIAN or not.
24869 cat >conftest.$ac_ext <<_ACEOF
24872 cat confdefs.h >>conftest.$ac_ext
24873 cat >>conftest.$ac_ext <<_ACEOF
24874 /* end confdefs.h. */
24875 #include <sys/types.h>
24876 #include <sys/param.h>
24881 #if BYTE_ORDER != BIG_ENDIAN
24888 rm -f conftest.$ac_objext
24889 if { (ac_try="$ac_compile"
24890 case "(($ac_try" in
24891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24892 *) ac_try_echo=$ac_try;;
24894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24895 (eval "$ac_compile") 2>conftest.er1
24897 grep -v '^ *+' conftest.er1 >conftest.err
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } && {
24902 test -z "$ac_c_werror_flag" ||
24903 test ! -s conftest.err
24904 } && test -s conftest.$ac_objext; then
24905 ac_cv_c_bigendian=yes
24907 echo "$as_me: failed program was:" >&5
24908 sed 's/^/| /' conftest.$ac_ext >&5
24910 ac_cv_c_bigendian=no
24913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915 echo "$as_me: failed program was:" >&5
24916 sed 's/^/| /' conftest.$ac_ext >&5
24921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24922 if test $ac_cv_c_bigendian = unknown; then
24923 if test "$cross_compiling" = yes; then
24924 ac_cv_c_bigendian=unknown
24926 cat >conftest.$ac_ext <<_ACEOF
24929 cat confdefs.h >>conftest.$ac_ext
24930 cat >>conftest.$ac_ext <<_ACEOF
24931 /* end confdefs.h. */
24933 /* Are we little or big endian? From Harbison&Steele. */
24937 char c[sizeof (long)];
24940 exit (u.c[sizeof (long) - 1] == 1);
24943 rm -f conftest$ac_exeext
24944 if { (ac_try="$ac_link"
24945 case "(($ac_try" in
24946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24947 *) ac_try_echo=$ac_try;;
24949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24950 (eval "$ac_link") 2>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24954 { (case "(($ac_try" in
24955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24956 *) ac_try_echo=$ac_try;;
24958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24959 (eval "$ac_try") 2>&5
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); }; }; then
24963 ac_cv_c_bigendian=no
24965 echo "$as_me: program exited with status $ac_status" >&5
24966 echo "$as_me: failed program was:" >&5
24967 sed 's/^/| /' conftest.$ac_ext >&5
24969 ( exit $ac_status )
24970 ac_cv_c_bigendian=yes
24972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24978 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24979 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24980 if test $ac_cv_c_bigendian = unknown; then
24981 { 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
24982 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;}
24984 if test $ac_cv_c_bigendian = yes; then
24985 cat >>confdefs.h <<\_ACEOF
24986 #define WORDS_BIGENDIAN 1
24995 ac_cpp='$CXXCPP $CPPFLAGS'
24996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25002 for ac_header in iostream
25004 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25005 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25008 echo $ECHO_N "(cached) $ECHO_C" >&6
25010 cat >conftest.$ac_ext <<_ACEOF
25013 cat confdefs.h >>conftest.$ac_ext
25014 cat >>conftest.$ac_ext <<_ACEOF
25015 /* end confdefs.h. */
25018 #include <$ac_header>
25020 rm -f conftest.$ac_objext
25021 if { (ac_try="$ac_compile"
25022 case "(($ac_try" in
25023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25024 *) ac_try_echo=$ac_try;;
25026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25027 (eval "$ac_compile") 2>conftest.er1
25029 grep -v '^ *+' conftest.er1 >conftest.err
25031 cat conftest.err >&5
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); } && {
25034 test -z "$ac_cxx_werror_flag" ||
25035 test ! -s conftest.err
25036 } && test -s conftest.$ac_objext; then
25037 eval "$as_ac_Header=yes"
25039 echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.$ac_ext >&5
25042 eval "$as_ac_Header=no"
25045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25047 ac_res=`eval echo '${'$as_ac_Header'}'`
25048 { echo "$as_me:$LINENO: result: $ac_res" >&5
25049 echo "${ECHO_T}$ac_res" >&6; }
25050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25051 cat >>confdefs.h <<_ACEOF
25052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25060 if test "$ac_cv_header_iostream" = "yes" ; then
25063 cat >>confdefs.h <<\_ACEOF
25064 #define wxUSE_IOSTREAMH 1
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25078 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25079 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25080 if test "${wx_cv_explicit+set}" = set; then
25081 echo $ECHO_N "(cached) $ECHO_C" >&6
25086 ac_cpp='$CXXCPP $CPPFLAGS'
25087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25092 cat >conftest.$ac_ext <<_ACEOF
25095 cat confdefs.h >>conftest.$ac_ext
25096 cat >>conftest.$ac_ext <<_ACEOF
25097 /* end confdefs.h. */
25099 class Foo { public: explicit Foo(int) {} };
25111 rm -f conftest.$ac_objext
25112 if { (ac_try="$ac_compile"
25113 case "(($ac_try" in
25114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25115 *) ac_try_echo=$ac_try;;
25117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25118 (eval "$ac_compile") 2>conftest.er1
25120 grep -v '^ *+' conftest.er1 >conftest.err
25122 cat conftest.err >&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } && {
25125 test -z "$ac_cxx_werror_flag" ||
25126 test ! -s conftest.err
25127 } && test -s conftest.$ac_objext; then
25129 cat >conftest.$ac_ext <<_ACEOF
25132 cat confdefs.h >>conftest.$ac_ext
25133 cat >>conftest.$ac_ext <<_ACEOF
25134 /* end confdefs.h. */
25136 class Foo { public: explicit Foo(int) {} };
25137 static void TakeFoo(const Foo& foo) { }
25150 rm -f conftest.$ac_objext
25151 if { (ac_try="$ac_compile"
25152 case "(($ac_try" in
25153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25154 *) ac_try_echo=$ac_try;;
25156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25157 (eval "$ac_compile") 2>conftest.er1
25159 grep -v '^ *+' conftest.er1 >conftest.err
25161 cat conftest.err >&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } && {
25164 test -z "$ac_cxx_werror_flag" ||
25165 test ! -s conftest.err
25166 } && test -s conftest.$ac_objext; then
25169 echo "$as_me: failed program was:" >&5
25170 sed 's/^/| /' conftest.$ac_ext >&5
25176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25179 echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.$ac_ext >&5
25186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25189 ac_cpp='$CPP $CPPFLAGS'
25190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25196 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25197 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25199 if test "$wx_cv_explicit" = "yes"; then
25200 cat >>confdefs.h <<\_ACEOF
25201 #define HAVE_EXPLICIT 1
25207 if test "x$SUNCXX" = xyes; then
25208 CXXFLAGS="-features=tmplife $CXXFLAGS"
25211 if test "x$SUNCC" = xyes; then
25212 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25215 if test "x$SGICC" = "xyes"; then
25216 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25217 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25218 if test "${wx_cv_prog_sgicc744+set}" = set; then
25219 echo $ECHO_N "(cached) $ECHO_C" >&6
25222 cat >conftest.$ac_ext <<_ACEOF
25225 cat confdefs.h >>conftest.$ac_ext
25226 cat >>conftest.$ac_ext <<_ACEOF
25227 /* end confdefs.h. */
25233 #if _SGI_COMPILER_VERSION >= 744
25234 chock me: mipsPro is 7.4.4 or later
25241 rm -f conftest.$ac_objext
25242 if { (ac_try="$ac_compile"
25243 case "(($ac_try" in
25244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25245 *) ac_try_echo=$ac_try;;
25247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25248 (eval "$ac_compile") 2>conftest.er1
25250 grep -v '^ *+' conftest.er1 >conftest.err
25252 cat conftest.err >&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); } && {
25255 test -z "$ac_c_werror_flag" ||
25256 test ! -s conftest.err
25257 } && test -s conftest.$ac_objext; then
25258 wx_cv_prog_sgicc744=no
25260 echo "$as_me: failed program was:" >&5
25261 sed 's/^/| /' conftest.$ac_ext >&5
25263 wx_cv_prog_sgicc744=yes
25267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25272 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25274 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25275 CFLAGS="-woff 3970 $CFLAGS"
25278 if test "x$SGICXX" = "xyes"; then
25279 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25280 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25281 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25282 echo $ECHO_N "(cached) $ECHO_C" >&6
25286 ac_cpp='$CXXCPP $CPPFLAGS'
25287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25291 cat >conftest.$ac_ext <<_ACEOF
25294 cat confdefs.h >>conftest.$ac_ext
25295 cat >>conftest.$ac_ext <<_ACEOF
25296 /* end confdefs.h. */
25302 #if _SGI_COMPILER_VERSION >= 744
25303 chock me: mipsPro is 7.4.4 or later
25310 rm -f conftest.$ac_objext
25311 if { (ac_try="$ac_compile"
25312 case "(($ac_try" in
25313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25314 *) ac_try_echo=$ac_try;;
25316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25317 (eval "$ac_compile") 2>conftest.er1
25319 grep -v '^ *+' conftest.er1 >conftest.err
25321 cat conftest.err >&5
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); } && {
25324 test -z "$ac_cxx_werror_flag" ||
25325 test ! -s conftest.err
25326 } && test -s conftest.$ac_objext; then
25327 wx_cv_prog_sgicxx744=no
25329 echo "$as_me: failed program was:" >&5
25330 sed 's/^/| /' conftest.$ac_ext >&5
25332 wx_cv_prog_sgicxx744=yes
25336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338 ac_cpp='$CPP $CPPFLAGS'
25339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25346 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25347 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25349 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25350 CXXFLAGS="-woff 3970 $CXXFLAGS"
25354 if test "x$HPCC" = "xyes"; then
25355 CFLAGS="+W 2011,2450 $CFLAGS"
25357 if test "x$HPCXX" = "xyes"; then
25358 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25361 if test "x$COMPAQCXX" = "xyes"; then
25362 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25366 ac_cpp='$CXXCPP $CPPFLAGS'
25367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25372 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25373 if test "$wxUSE_UNICODE" = "yes"; then
25374 std_string="std::wstring"
25375 char_type="wchar_t"
25377 std_string="std::string"
25381 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25382 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25383 if test "${wx_cv_class_stdstring+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 cat >conftest.$ac_ext <<_ACEOF
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25402 rm -f conftest.$ac_objext
25403 if { (ac_try="$ac_compile"
25404 case "(($ac_try" in
25405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25406 *) ac_try_echo=$ac_try;;
25408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25409 (eval "$ac_compile") 2>conftest.er1
25411 grep -v '^ *+' conftest.er1 >conftest.err
25413 cat conftest.err >&5
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); } && {
25416 test -z "$ac_cxx_werror_flag" ||
25417 test ! -s conftest.err
25418 } && test -s conftest.$ac_objext; then
25419 wx_cv_class_stdstring=yes
25421 echo "$as_me: failed program was:" >&5
25422 sed 's/^/| /' conftest.$ac_ext >&5
25424 wx_cv_class_stdstring=no
25428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25432 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25433 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25435 if test "$wx_cv_class_stdstring" = yes; then
25436 if test "$wxUSE_UNICODE" = "yes"; then
25437 cat >>confdefs.h <<\_ACEOF
25438 #define HAVE_STD_WSTRING 1
25443 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25444 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25445 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25446 echo $ECHO_N "(cached) $ECHO_C" >&6
25449 cat >conftest.$ac_ext <<_ACEOF
25452 cat confdefs.h >>conftest.$ac_ext
25453 cat >>conftest.$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25456 #ifdef HAVE_WCHAR_H
25458 # include <stddef.h>
25460 # include <wchar.h>
25462 #ifdef HAVE_STDLIB_H
25463 # include <stdlib.h>
25471 std::basic_string<$char_type> foo;
25472 const $char_type* dummy = foo.c_str();
25477 rm -f conftest.$ac_objext
25478 if { (ac_try="$ac_compile"
25479 case "(($ac_try" in
25480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25481 *) ac_try_echo=$ac_try;;
25483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25484 (eval "$ac_compile") 2>conftest.er1
25486 grep -v '^ *+' conftest.er1 >conftest.err
25488 cat conftest.err >&5
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); } && {
25491 test -z "$ac_cxx_werror_flag" ||
25492 test ! -s conftest.err
25493 } && test -s conftest.$ac_objext; then
25494 wx_cv_class_stdbasicstring=yes
25496 echo "$as_me: failed program was:" >&5
25497 sed 's/^/| /' conftest.$ac_ext >&5
25499 wx_cv_class_stdbasicstring=no
25503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25507 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25508 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25510 if test "$wx_cv_class_stdbasicstring" != yes; then
25511 if test "$wxUSE_STL" = "yes"; then
25512 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25513 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25514 { (exit 1); exit 1; }; }
25515 elif test "$wxUSE_STD_STRING" = "yes"; then
25516 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25517 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25518 { (exit 1); exit 1; }; }
25520 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25521 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25522 wxUSE_STD_STRING=no
25528 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25529 { echo "$as_me:$LINENO: checking for std::istream" >&5
25530 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25531 if test "${ac_cv_type_std__istream+set}" = set; then
25532 echo $ECHO_N "(cached) $ECHO_C" >&6
25534 cat >conftest.$ac_ext <<_ACEOF
25537 cat confdefs.h >>conftest.$ac_ext
25538 cat >>conftest.$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25540 #include <iostream>
25542 typedef std::istream ac__type_new_;
25546 if ((ac__type_new_ *) 0)
25548 if (sizeof (ac__type_new_))
25554 rm -f conftest.$ac_objext
25555 if { (ac_try="$ac_compile"
25556 case "(($ac_try" in
25557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25558 *) ac_try_echo=$ac_try;;
25560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25561 (eval "$ac_compile") 2>conftest.er1
25563 grep -v '^ *+' conftest.er1 >conftest.err
25565 cat conftest.err >&5
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); } && {
25568 test -z "$ac_cxx_werror_flag" ||
25569 test ! -s conftest.err
25570 } && test -s conftest.$ac_objext; then
25571 ac_cv_type_std__istream=yes
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.$ac_ext >&5
25576 ac_cv_type_std__istream=no
25579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25581 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25582 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25583 if test $ac_cv_type_std__istream = yes; then
25585 cat >>confdefs.h <<_ACEOF
25586 #define HAVE_STD__ISTREAM 1
25591 wxUSE_STD_IOSTREAM=no
25593 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25594 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25595 if test "${ac_cv_type_std__ostream+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25598 cat >conftest.$ac_ext <<_ACEOF
25601 cat confdefs.h >>conftest.$ac_ext
25602 cat >>conftest.$ac_ext <<_ACEOF
25603 /* end confdefs.h. */
25604 #include <iostream>
25606 typedef std::ostream ac__type_new_;
25610 if ((ac__type_new_ *) 0)
25612 if (sizeof (ac__type_new_))
25618 rm -f conftest.$ac_objext
25619 if { (ac_try="$ac_compile"
25620 case "(($ac_try" in
25621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25622 *) ac_try_echo=$ac_try;;
25624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25625 (eval "$ac_compile") 2>conftest.er1
25627 grep -v '^ *+' conftest.er1 >conftest.err
25629 cat conftest.err >&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } && {
25632 test -z "$ac_cxx_werror_flag" ||
25633 test ! -s conftest.err
25634 } && test -s conftest.$ac_objext; then
25635 ac_cv_type_std__ostream=yes
25637 echo "$as_me: failed program was:" >&5
25638 sed 's/^/| /' conftest.$ac_ext >&5
25640 ac_cv_type_std__ostream=no
25643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25645 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25646 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25647 if test $ac_cv_type_std__ostream = yes; then
25649 cat >>confdefs.h <<_ACEOF
25650 #define HAVE_STD__OSTREAM 1
25655 wxUSE_STD_IOSTREAM=no
25659 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25660 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25661 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25662 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25663 { (exit 1); exit 1; }; }
25665 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25666 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25671 if test "$wxUSE_STL" = "yes"; then
25672 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25673 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25674 if test "${wx_cv_lib_stl+set}" = set; then
25675 echo $ECHO_N "(cached) $ECHO_C" >&6
25677 cat >conftest.$ac_ext <<_ACEOF
25680 cat confdefs.h >>conftest.$ac_ext
25681 cat >>conftest.$ac_ext <<_ACEOF
25682 /* end confdefs.h. */
25684 #include <functional>
25685 #include <algorithm>
25691 std::vector<int> moo;
25692 std::list<int> foo;
25693 std::vector<int>::iterator it =
25694 std::find_if(moo.begin(), moo.end(),
25695 std::bind2nd(std::less<int>(), 3));
25700 rm -f conftest.$ac_objext
25701 if { (ac_try="$ac_compile"
25702 case "(($ac_try" in
25703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25704 *) ac_try_echo=$ac_try;;
25706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25707 (eval "$ac_compile") 2>conftest.er1
25709 grep -v '^ *+' conftest.er1 >conftest.err
25711 cat conftest.err >&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } && {
25714 test -z "$ac_cxx_werror_flag" ||
25715 test ! -s conftest.err
25716 } && test -s conftest.$ac_objext; then
25719 echo "$as_me: failed program was:" >&5
25720 sed 's/^/| /' conftest.$ac_ext >&5
25726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25729 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25730 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25732 if test "$wx_cv_lib_stl" != yes; then
25733 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25734 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25735 { (exit 1); exit 1; }; }
25738 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25739 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25740 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25741 echo $ECHO_N "(cached) $ECHO_C" >&6
25743 cat >conftest.$ac_ext <<_ACEOF
25746 cat confdefs.h >>conftest.$ac_ext
25747 cat >>conftest.$ac_ext <<_ACEOF
25748 /* end confdefs.h. */
25753 std::string foo, bar;
25755 foo.compare(1, 1, bar);
25756 foo.compare(1, 1, bar, 1, 1);
25758 foo.compare(1, 1, "");
25759 foo.compare(1, 1, "", 2);
25764 rm -f conftest.$ac_objext
25765 if { (ac_try="$ac_compile"
25766 case "(($ac_try" in
25767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25768 *) ac_try_echo=$ac_try;;
25770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25771 (eval "$ac_compile") 2>conftest.er1
25773 grep -v '^ *+' conftest.er1 >conftest.err
25775 cat conftest.err >&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } && {
25778 test -z "$ac_cxx_werror_flag" ||
25779 test ! -s conftest.err
25780 } && test -s conftest.$ac_objext; then
25781 wx_cv_func_stdstring_compare=yes
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.$ac_ext >&5
25786 wx_cv_func_stdstring_compare=no
25790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25793 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25794 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25796 if test "$wx_cv_func_stdstring_compare" = yes; then
25797 cat >>confdefs.h <<\_ACEOF
25798 #define HAVE_STD_STRING_COMPARE 1
25803 if test "$wx_cv_class_gnuhashmapset" = yes; then
25804 cat >>confdefs.h <<\_ACEOF
25805 #define HAVE_EXT_HASH_MAP 1
25808 cat >>confdefs.h <<\_ACEOF
25809 #define HAVE_GNU_CXX_HASH_MAP 1
25814 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25815 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25816 if test "${ac_cv_header_unordered_map+set}" = set; then
25817 echo $ECHO_N "(cached) $ECHO_C" >&6
25819 cat >conftest.$ac_ext <<_ACEOF
25822 cat confdefs.h >>conftest.$ac_ext
25823 cat >>conftest.$ac_ext <<_ACEOF
25824 /* end confdefs.h. */
25828 #include <unordered_map>
25830 rm -f conftest.$ac_objext
25831 if { (ac_try="$ac_compile"
25832 case "(($ac_try" in
25833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25834 *) ac_try_echo=$ac_try;;
25836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25837 (eval "$ac_compile") 2>conftest.er1
25839 grep -v '^ *+' conftest.er1 >conftest.err
25841 cat conftest.err >&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } && {
25844 test -z "$ac_cxx_werror_flag" ||
25845 test ! -s conftest.err
25846 } && test -s conftest.$ac_objext; then
25847 ac_cv_header_unordered_map=yes
25849 echo "$as_me: failed program was:" >&5
25850 sed 's/^/| /' conftest.$ac_ext >&5
25852 ac_cv_header_unordered_map=no
25855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25857 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25858 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25859 if test $ac_cv_header_unordered_map = yes; then
25860 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25861 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25862 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25863 echo $ECHO_N "(cached) $ECHO_C" >&6
25865 cat >conftest.$ac_ext <<_ACEOF
25868 cat confdefs.h >>conftest.$ac_ext
25869 cat >>conftest.$ac_ext <<_ACEOF
25870 /* end confdefs.h. */
25871 #include <unordered_map>
25872 #include <unordered_set>
25876 std::unordered_map<double*, char*> test1;
25877 std::unordered_set<char*> test2;
25882 rm -f conftest.$ac_objext
25883 if { (ac_try="$ac_compile"
25884 case "(($ac_try" in
25885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25886 *) ac_try_echo=$ac_try;;
25888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25889 (eval "$ac_compile") 2>conftest.er1
25891 grep -v '^ *+' conftest.er1 >conftest.err
25893 cat conftest.err >&5
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); } && {
25896 test -z "$ac_cxx_werror_flag" ||
25897 test ! -s conftest.err
25898 } && test -s conftest.$ac_objext; then
25899 wx_cv_class_stdunorderedmapset=yes
25901 echo "$as_me: failed program was:" >&5
25902 sed 's/^/| /' conftest.$ac_ext >&5
25904 wx_cv_class_stdunorderedmapset=no
25907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25911 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25912 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25917 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25918 cat >>confdefs.h <<\_ACEOF
25919 #define HAVE_STD_UNORDERED_MAP 1
25922 cat >>confdefs.h <<\_ACEOF
25923 #define HAVE_STD_UNORDERED_SET 1
25927 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25928 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25929 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25930 echo $ECHO_N "(cached) $ECHO_C" >&6
25932 cat >conftest.$ac_ext <<_ACEOF
25935 cat confdefs.h >>conftest.$ac_ext
25936 cat >>conftest.$ac_ext <<_ACEOF
25937 /* end confdefs.h. */
25941 #include <tr1/unordered_map>
25943 rm -f conftest.$ac_objext
25944 if { (ac_try="$ac_compile"
25945 case "(($ac_try" in
25946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25947 *) ac_try_echo=$ac_try;;
25949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25950 (eval "$ac_compile") 2>conftest.er1
25952 grep -v '^ *+' conftest.er1 >conftest.err
25954 cat conftest.err >&5
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); } && {
25957 test -z "$ac_cxx_werror_flag" ||
25958 test ! -s conftest.err
25959 } && test -s conftest.$ac_objext; then
25960 ac_cv_header_tr1_unordered_map=yes
25962 echo "$as_me: failed program was:" >&5
25963 sed 's/^/| /' conftest.$ac_ext >&5
25965 ac_cv_header_tr1_unordered_map=no
25968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25970 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25971 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25972 if test $ac_cv_header_tr1_unordered_map = yes; then
25973 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25974 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25975 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25976 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 cat >conftest.$ac_ext <<_ACEOF
25981 cat confdefs.h >>conftest.$ac_ext
25982 cat >>conftest.$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25984 #include <tr1/unordered_map>
25985 #include <tr1/unordered_set>
25989 std::tr1::unordered_map<double*, char*> test1;
25990 std::tr1::unordered_set<char*> test2;
25991 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25992 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25998 rm -f conftest.$ac_objext
25999 if { (ac_try="$ac_compile"
26000 case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_compile") 2>conftest.er1
26007 grep -v '^ *+' conftest.er1 >conftest.err
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } && {
26012 test -z "$ac_cxx_werror_flag" ||
26013 test ! -s conftest.err
26014 } && test -s conftest.$ac_objext; then
26015 wx_cv_class_tr1unorderedmapset=yes
26017 echo "$as_me: failed program was:" >&5
26018 sed 's/^/| /' conftest.$ac_ext >&5
26020 wx_cv_class_tr1unorderedmapset=no
26023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26027 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26028 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26033 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26034 cat >>confdefs.h <<\_ACEOF
26035 #define HAVE_TR1_UNORDERED_MAP 1
26038 cat >>confdefs.h <<\_ACEOF
26039 #define HAVE_TR1_UNORDERED_SET 1
26043 { echo "$as_me:$LINENO: checking for hash_map" >&5
26044 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26045 if test "${ac_cv_header_hash_map+set}" = set; then
26046 echo $ECHO_N "(cached) $ECHO_C" >&6
26048 cat >conftest.$ac_ext <<_ACEOF
26051 cat confdefs.h >>conftest.$ac_ext
26052 cat >>conftest.$ac_ext <<_ACEOF
26053 /* end confdefs.h. */
26057 #include <hash_map>
26059 rm -f conftest.$ac_objext
26060 if { (ac_try="$ac_compile"
26061 case "(($ac_try" in
26062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26063 *) ac_try_echo=$ac_try;;
26065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26066 (eval "$ac_compile") 2>conftest.er1
26068 grep -v '^ *+' conftest.er1 >conftest.err
26070 cat conftest.err >&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); } && {
26073 test -z "$ac_cxx_werror_flag" ||
26074 test ! -s conftest.err
26075 } && test -s conftest.$ac_objext; then
26076 ac_cv_header_hash_map=yes
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.$ac_ext >&5
26081 ac_cv_header_hash_map=no
26084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26086 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26087 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26088 if test $ac_cv_header_hash_map = yes; then
26089 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26090 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26091 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26092 echo $ECHO_N "(cached) $ECHO_C" >&6
26094 cat >conftest.$ac_ext <<_ACEOF
26097 cat confdefs.h >>conftest.$ac_ext
26098 cat >>conftest.$ac_ext <<_ACEOF
26099 /* end confdefs.h. */
26100 #include <hash_map>
26101 #include <hash_set>
26105 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26106 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26111 rm -f conftest.$ac_objext
26112 if { (ac_try="$ac_compile"
26113 case "(($ac_try" in
26114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26115 *) ac_try_echo=$ac_try;;
26117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26118 (eval "$ac_compile") 2>conftest.er1
26120 grep -v '^ *+' conftest.er1 >conftest.err
26122 cat conftest.err >&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } && {
26125 test -z "$ac_cxx_werror_flag" ||
26126 test ! -s conftest.err
26127 } && test -s conftest.$ac_objext; then
26128 wx_cv_class_stdhashmapset=yes
26130 echo "$as_me: failed program was:" >&5
26131 sed 's/^/| /' conftest.$ac_ext >&5
26133 wx_cv_class_stdhashmapset=no
26136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26140 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26141 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26146 if test "$wx_cv_class_stdhashmapset" = yes; then
26147 cat >>confdefs.h <<\_ACEOF
26148 #define HAVE_HASH_MAP 1
26151 cat >>confdefs.h <<\_ACEOF
26152 #define HAVE_STD_HASH_MAP 1
26157 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26158 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26159 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26160 echo $ECHO_N "(cached) $ECHO_C" >&6
26162 cat >conftest.$ac_ext <<_ACEOF
26165 cat confdefs.h >>conftest.$ac_ext
26166 cat >>conftest.$ac_ext <<_ACEOF
26167 /* end confdefs.h. */
26171 #include <ext/hash_map>
26173 rm -f conftest.$ac_objext
26174 if { (ac_try="$ac_compile"
26175 case "(($ac_try" in
26176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26177 *) ac_try_echo=$ac_try;;
26179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26180 (eval "$ac_compile") 2>conftest.er1
26182 grep -v '^ *+' conftest.er1 >conftest.err
26184 cat conftest.err >&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } && {
26187 test -z "$ac_cxx_werror_flag" ||
26188 test ! -s conftest.err
26189 } && test -s conftest.$ac_objext; then
26190 ac_cv_header_ext_hash_map=yes
26192 echo "$as_me: failed program was:" >&5
26193 sed 's/^/| /' conftest.$ac_ext >&5
26195 ac_cv_header_ext_hash_map=no
26198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26200 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26201 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26202 if test $ac_cv_header_ext_hash_map = yes; then
26203 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26204 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26205 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26206 echo $ECHO_N "(cached) $ECHO_C" >&6
26208 cat >conftest.$ac_ext <<_ACEOF
26211 cat confdefs.h >>conftest.$ac_ext
26212 cat >>conftest.$ac_ext <<_ACEOF
26213 /* end confdefs.h. */
26214 #include <ext/hash_map>
26215 #include <ext/hash_set>
26219 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26220 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26225 rm -f conftest.$ac_objext
26226 if { (ac_try="$ac_compile"
26227 case "(($ac_try" in
26228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26229 *) ac_try_echo=$ac_try;;
26231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26232 (eval "$ac_compile") 2>conftest.er1
26234 grep -v '^ *+' conftest.er1 >conftest.err
26236 cat conftest.err >&5
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); } && {
26239 test -z "$ac_cxx_werror_flag" ||
26240 test ! -s conftest.err
26241 } && test -s conftest.$ac_objext; then
26242 wx_cv_class_gnuhashmapset=yes
26244 echo "$as_me: failed program was:" >&5
26245 sed 's/^/| /' conftest.$ac_ext >&5
26247 wx_cv_class_gnuhashmapset=no
26250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26254 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26255 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26265 ac_cpp='$CXXCPP $CPPFLAGS'
26266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26269 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26270 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26271 if test -z "$CXXCPP"; then
26272 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26275 # Double quotes because CXXCPP needs to be expanded
26276 for CXXCPP in "$CXX -E" "/lib/cpp"
26278 ac_preproc_ok=false
26279 for ac_cxx_preproc_warn_flag in '' yes
26281 # Use a header file that comes with gcc, so configuring glibc
26282 # with a fresh cross-compiler works.
26283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26284 # <limits.h> exists even on freestanding compilers.
26285 # On the NeXT, cc -E runs the code through the compiler's parser,
26286 # not just through cpp. "Syntax error" is here to catch this case.
26287 cat >conftest.$ac_ext <<_ACEOF
26290 cat confdefs.h >>conftest.$ac_ext
26291 cat >>conftest.$ac_ext <<_ACEOF
26292 /* end confdefs.h. */
26294 # include <limits.h>
26296 # include <assert.h>
26300 if { (ac_try="$ac_cpp conftest.$ac_ext"
26301 case "(($ac_try" in
26302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26303 *) ac_try_echo=$ac_try;;
26305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26308 grep -v '^ *+' conftest.er1 >conftest.err
26310 cat conftest.err >&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } >/dev/null && {
26313 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26314 test ! -s conftest.err
26318 echo "$as_me: failed program was:" >&5
26319 sed 's/^/| /' conftest.$ac_ext >&5
26321 # Broken: fails on valid input.
26325 rm -f conftest.err conftest.$ac_ext
26327 # OK, works on sane cases. Now check whether nonexistent headers
26328 # can be detected and how.
26329 cat >conftest.$ac_ext <<_ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26335 #include <ac_nonexistent.h>
26337 if { (ac_try="$ac_cpp conftest.$ac_ext"
26338 case "(($ac_try" in
26339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26340 *) ac_try_echo=$ac_try;;
26342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26343 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26345 grep -v '^ *+' conftest.er1 >conftest.err
26347 cat conftest.err >&5
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); } >/dev/null && {
26350 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26351 test ! -s conftest.err
26353 # Broken: success on invalid input.
26356 echo "$as_me: failed program was:" >&5
26357 sed 's/^/| /' conftest.$ac_ext >&5
26359 # Passes both tests.
26364 rm -f conftest.err conftest.$ac_ext
26367 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26368 rm -f conftest.err conftest.$ac_ext
26369 if $ac_preproc_ok; then
26374 ac_cv_prog_CXXCPP=$CXXCPP
26377 CXXCPP=$ac_cv_prog_CXXCPP
26379 ac_cv_prog_CXXCPP=$CXXCPP
26381 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26382 echo "${ECHO_T}$CXXCPP" >&6; }
26383 ac_preproc_ok=false
26384 for ac_cxx_preproc_warn_flag in '' yes
26386 # Use a header file that comes with gcc, so configuring glibc
26387 # with a fresh cross-compiler works.
26388 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26389 # <limits.h> exists even on freestanding compilers.
26390 # On the NeXT, cc -E runs the code through the compiler's parser,
26391 # not just through cpp. "Syntax error" is here to catch this case.
26392 cat >conftest.$ac_ext <<_ACEOF
26395 cat confdefs.h >>conftest.$ac_ext
26396 cat >>conftest.$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26399 # include <limits.h>
26401 # include <assert.h>
26405 if { (ac_try="$ac_cpp conftest.$ac_ext"
26406 case "(($ac_try" in
26407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26408 *) ac_try_echo=$ac_try;;
26410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26411 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26413 grep -v '^ *+' conftest.er1 >conftest.err
26415 cat conftest.err >&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); } >/dev/null && {
26418 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26419 test ! -s conftest.err
26423 echo "$as_me: failed program was:" >&5
26424 sed 's/^/| /' conftest.$ac_ext >&5
26426 # Broken: fails on valid input.
26430 rm -f conftest.err conftest.$ac_ext
26432 # OK, works on sane cases. Now check whether nonexistent headers
26433 # can be detected and how.
26434 cat >conftest.$ac_ext <<_ACEOF
26437 cat confdefs.h >>conftest.$ac_ext
26438 cat >>conftest.$ac_ext <<_ACEOF
26439 /* end confdefs.h. */
26440 #include <ac_nonexistent.h>
26442 if { (ac_try="$ac_cpp conftest.$ac_ext"
26443 case "(($ac_try" in
26444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26445 *) ac_try_echo=$ac_try;;
26447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26448 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26450 grep -v '^ *+' conftest.er1 >conftest.err
26452 cat conftest.err >&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); } >/dev/null && {
26455 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26456 test ! -s conftest.err
26458 # Broken: success on invalid input.
26461 echo "$as_me: failed program was:" >&5
26462 sed 's/^/| /' conftest.$ac_ext >&5
26464 # Passes both tests.
26469 rm -f conftest.err conftest.$ac_ext
26472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26473 rm -f conftest.err conftest.$ac_ext
26474 if $ac_preproc_ok; then
26477 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26478 See \`config.log' for more details." >&5
26479 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26480 See \`config.log' for more details." >&2;}
26481 { (exit 1); exit 1; }; }
26485 ac_cpp='$CXXCPP $CPPFLAGS'
26486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26493 for ac_header in type_traits tr1/type_traits
26495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26497 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26500 echo $ECHO_N "(cached) $ECHO_C" >&6
26502 ac_res=`eval echo '${'$as_ac_Header'}'`
26503 { echo "$as_me:$LINENO: result: $ac_res" >&5
26504 echo "${ECHO_T}$ac_res" >&6; }
26506 # Is the header compilable?
26507 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26509 cat >conftest.$ac_ext <<_ACEOF
26512 cat confdefs.h >>conftest.$ac_ext
26513 cat >>conftest.$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26515 $ac_includes_default
26516 #include <$ac_header>
26518 rm -f conftest.$ac_objext
26519 if { (ac_try="$ac_compile"
26520 case "(($ac_try" in
26521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26522 *) ac_try_echo=$ac_try;;
26524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26525 (eval "$ac_compile") 2>conftest.er1
26527 grep -v '^ *+' conftest.er1 >conftest.err
26529 cat conftest.err >&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); } && {
26532 test -z "$ac_cxx_werror_flag" ||
26533 test ! -s conftest.err
26534 } && test -s conftest.$ac_objext; then
26535 ac_header_compiler=yes
26537 echo "$as_me: failed program was:" >&5
26538 sed 's/^/| /' conftest.$ac_ext >&5
26540 ac_header_compiler=no
26543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26544 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26545 echo "${ECHO_T}$ac_header_compiler" >&6; }
26547 # Is the header present?
26548 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26550 cat >conftest.$ac_ext <<_ACEOF
26553 cat confdefs.h >>conftest.$ac_ext
26554 cat >>conftest.$ac_ext <<_ACEOF
26555 /* end confdefs.h. */
26556 #include <$ac_header>
26558 if { (ac_try="$ac_cpp conftest.$ac_ext"
26559 case "(($ac_try" in
26560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26561 *) ac_try_echo=$ac_try;;
26563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26566 grep -v '^ *+' conftest.er1 >conftest.err
26568 cat conftest.err >&5
26569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26570 (exit $ac_status); } >/dev/null && {
26571 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26572 test ! -s conftest.err
26574 ac_header_preproc=yes
26576 echo "$as_me: failed program was:" >&5
26577 sed 's/^/| /' conftest.$ac_ext >&5
26579 ac_header_preproc=no
26582 rm -f conftest.err conftest.$ac_ext
26583 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26584 echo "${ECHO_T}$ac_header_preproc" >&6; }
26586 # So? What about this header?
26587 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26589 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26590 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26592 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26593 ac_header_preproc=yes
26596 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26597 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26598 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26599 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26600 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26601 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26602 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26603 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26606 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26607 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26609 ## ----------------------------------------- ##
26610 ## Report this to wx-dev@lists.wxwidgets.org ##
26611 ## ----------------------------------------- ##
26613 ) | sed "s/^/$as_me: WARNING: /" >&2
26616 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26618 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26621 eval "$as_ac_Header=\$ac_header_preproc"
26623 ac_res=`eval echo '${'$as_ac_Header'}'`
26624 { echo "$as_me:$LINENO: result: $ac_res" >&5
26625 echo "${ECHO_T}$ac_res" >&6; }
26628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26629 cat >>confdefs.h <<_ACEOF
26630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26640 if test -n "$GCC"; then
26641 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26642 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26643 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26644 echo $ECHO_N "(cached) $ECHO_C" >&6
26647 cat >conftest.$ac_ext <<_ACEOF
26650 cat confdefs.h >>conftest.$ac_ext
26651 cat >>conftest.$ac_ext <<_ACEOF
26652 /* end confdefs.h. */
26658 unsigned int value=0;
26659 /* wxAtomicInc doesn't use return value here */
26660 __sync_fetch_and_add(&value, 2);
26661 __sync_sub_and_fetch(&value, 1);
26662 /* but wxAtomicDec does, so mimic that: */
26663 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26669 rm -f conftest.$ac_objext conftest$ac_exeext
26670 if { (ac_try="$ac_link"
26671 case "(($ac_try" in
26672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26673 *) ac_try_echo=$ac_try;;
26675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26676 (eval "$ac_link") 2>conftest.er1
26678 grep -v '^ *+' conftest.er1 >conftest.err
26680 cat conftest.err >&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } && {
26683 test -z "$ac_cxx_werror_flag" ||
26684 test ! -s conftest.err
26685 } && test -s conftest$ac_exeext &&
26686 $as_test_x conftest$ac_exeext; then
26687 wx_cv_cc_gcc_atomic_builtins=yes
26689 echo "$as_me: failed program was:" >&5
26690 sed 's/^/| /' conftest.$ac_ext >&5
26692 wx_cv_cc_gcc_atomic_builtins=no
26695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26696 conftest$ac_exeext conftest.$ac_ext
26700 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26701 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26702 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26703 cat >>confdefs.h <<\_ACEOF
26704 #define HAVE_GCC_ATOMIC_BUILTINS 1
26712 ac_cpp='$CPP $CPPFLAGS'
26713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26720 /usr/local/include \
26721 /usr/local/X11/include \
26722 /usr/local/include/X11 \
26723 /usr/local/X11R7/include \
26724 /usr/local/X11R6/include \
26725 /usr/local/include/X11R7 \
26726 /usr/local/include/X11R6 \
26728 /usr/Motif-2.1/include \
26729 /usr/Motif-1.2/include \
26730 /usr/include/Motif1.2 \
26733 /usr/openwin/include \
26737 /usr/X11R7/include \
26738 /usr/X11R6/include \
26739 /usr/X11R6.4/include \
26741 /usr/include/X11R7 \
26742 /usr/include/X11R6 \
26747 /usr/XFree86/include/X11 \
26750 /usr/local/X1R5/include \
26751 /usr/local/include/X11R5 \
26752 /usr/X11R5/include \
26753 /usr/include/X11R5 \
26755 /usr/local/X11R4/include \
26756 /usr/local/include/X11R4 \
26757 /usr/X11R4/include \
26758 /usr/include/X11R4 \
26760 /usr/openwin/share/include"
26762 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26763 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26767 if test "${wx_cv_std_libpath+set}" = set; then
26768 echo $ECHO_N "(cached) $ECHO_C" >&6
26771 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26772 for e in a so sl dylib dll.a; do
26774 if test -f $libc; then
26777 cat >conftest.$ac_ext <<_ACEOF
26778 int main() { return 0; }
26780 rm -f conftest.$ac_objext conftest$ac_exeext
26781 if { (ac_try="$ac_link"
26782 case "(($ac_try" in
26783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26784 *) ac_try_echo=$ac_try;;
26786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26787 (eval "$ac_link") 2>conftest.er1
26789 grep -v '^ *+' conftest.er1 >conftest.err
26791 cat conftest.err >&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } && {
26794 test -z "$ac_c_werror_flag" ||
26795 test ! -s conftest.err
26796 } && test -s conftest$ac_exeext &&
26797 $as_test_x conftest$ac_exeext; then
26798 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26800 echo "$as_me: failed program was:" >&5
26801 sed 's/^/| /' conftest.$ac_ext >&5
26806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26807 conftest$ac_exeext conftest.$ac_ext
26809 if test "x$wx_cv_std_libpath" != "x"; then
26815 if test "x$wx_cv_std_libpath" = "x"; then
26816 wx_cv_std_libpath="lib"
26825 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26826 wx_cv_std_libpath="lib/64"
26828 wx_cv_std_libpath="lib"
26833 if test "$ac_cv_sizeof_void_p" = 8 -a \
26834 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26835 wx_cv_std_libpath="lib64"
26837 wx_cv_std_libpath="lib"
26842 wx_cv_std_libpath="lib";
26846 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26847 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26849 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26851 if test "$build" != "$host" -a "$GCC" = yes; then
26852 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26853 cross_root=`dirname $cross_root`
26854 cross_root=`dirname $cross_root`
26856 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26857 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26858 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26860 if test -z "$PKG_CONFIG_PATH"; then
26861 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26862 export PKG_CONFIG_PATH
26865 if test -z "$x_includes" -o "$x_includes" = NONE; then
26868 for ac_dir in $SEARCH_INCLUDE /usr/include
26870 if test -f "$ac_dir/X11/Intrinsic.h"; then
26871 ac_find_includes=$ac_dir
26876 x_includes=$ac_find_includes
26878 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26881 for ac_dir in $SEARCH_LIB
26883 for ac_extension in a so sl dylib dll.a; do
26884 if test -f "$ac_dir/libXt.$ac_extension"; then
26885 ac_find_libraries=$ac_dir
26891 x_libraries=$ac_find_libraries
26897 cat >confcache <<\_ACEOF
26898 # This file is a shell script that caches the results of configure
26899 # tests run on this system so they can be shared between configure
26900 # scripts and configure runs, see configure's option --config-cache.
26901 # It is not useful on other systems. If it contains results you don't
26902 # want to keep, you may remove or edit it.
26904 # config.status only pays attention to the cache file if you give it
26905 # the --recheck option to rerun configure.
26907 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26908 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26909 # following values.
26913 # The following way of writing the cache mishandles newlines in values,
26914 # but we know of no workaround that is simple, portable, and efficient.
26915 # So, we kill variables containing newlines.
26916 # Ultrix sh set writes to stderr and can't be redirected directly,
26917 # and sets the high bit in the cache file unless we assign to the vars.
26919 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26920 eval ac_val=\$$ac_var
26924 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26925 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26928 _ | IFS | as_nl) ;; #(
26929 *) $as_unset $ac_var ;;
26935 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26936 *${as_nl}ac_space=\ *)
26937 # `set' does not quote correctly, so add quotes (double-quote
26938 # substitution turns \\\\ into \\, and sed turns \\ into \).
26941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26944 # `set' quotes correctly as required by POSIX, so do not add quotes.
26945 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26954 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26956 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26958 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26959 if test -w "$cache_file"; then
26960 test "x$cache_file" != "x/dev/null" &&
26961 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26962 echo "$as_me: updating cache $cache_file" >&6;}
26963 cat confcache >$cache_file
26965 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26966 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26971 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26972 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26973 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26974 if test "${wx_cv_lib_glibc21+set}" = set; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26978 cat >conftest.$ac_ext <<_ACEOF
26981 cat confdefs.h >>conftest.$ac_ext
26982 cat >>conftest.$ac_ext <<_ACEOF
26983 /* end confdefs.h. */
26984 #include <features.h>
26989 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26997 rm -f conftest.$ac_objext
26998 if { (ac_try="$ac_compile"
26999 case "(($ac_try" in
27000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27001 *) ac_try_echo=$ac_try;;
27003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27004 (eval "$ac_compile") 2>conftest.er1
27006 grep -v '^ *+' conftest.er1 >conftest.err
27008 cat conftest.err >&5
27009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010 (exit $ac_status); } && {
27011 test -z "$ac_c_werror_flag" ||
27012 test ! -s conftest.err
27013 } && test -s conftest.$ac_objext; then
27015 wx_cv_lib_glibc21=yes
27018 echo "$as_me: failed program was:" >&5
27019 sed 's/^/| /' conftest.$ac_ext >&5
27022 wx_cv_lib_glibc21=no
27027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27030 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27031 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27032 if test "$wx_cv_lib_glibc21" = "yes"; then
27033 cat >>confdefs.h <<\_ACEOF
27034 #define wxHAVE_GLIBC2 1
27040 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27041 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27042 cat >>confdefs.h <<\_ACEOF
27043 #define _GNU_SOURCE 1
27054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27058 echo $ECHO_N "(cached) $ECHO_C" >&6
27060 cat >conftest.$ac_ext <<_ACEOF
27063 cat confdefs.h >>conftest.$ac_ext
27064 cat >>conftest.$ac_ext <<_ACEOF
27065 /* end confdefs.h. */
27066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27068 #define $ac_func innocuous_$ac_func
27070 /* System header to define __stub macros and hopefully few prototypes,
27071 which can conflict with char $ac_func (); below.
27072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27073 <limits.h> exists even on freestanding compilers. */
27076 # include <limits.h>
27078 # include <assert.h>
27083 /* Override any GCC internal prototype to avoid an error.
27084 Use char because int might match the return type of a GCC
27085 builtin and then its argument prototype would still apply. */
27090 /* The GNU C library defines this for functions which it implements
27091 to always fail with ENOSYS. Some functions are actually named
27092 something starting with __ and the normal name is an alias. */
27093 #if defined __stub_$ac_func || defined __stub___$ac_func
27100 return $ac_func ();
27105 rm -f conftest.$ac_objext conftest$ac_exeext
27106 if { (ac_try="$ac_link"
27107 case "(($ac_try" in
27108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27109 *) ac_try_echo=$ac_try;;
27111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27112 (eval "$ac_link") 2>conftest.er1
27114 grep -v '^ *+' conftest.er1 >conftest.err
27116 cat conftest.err >&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } && {
27119 test -z "$ac_c_werror_flag" ||
27120 test ! -s conftest.err
27121 } && test -s conftest$ac_exeext &&
27122 $as_test_x conftest$ac_exeext; then
27123 eval "$as_ac_var=yes"
27125 echo "$as_me: failed program was:" >&5
27126 sed 's/^/| /' conftest.$ac_ext >&5
27128 eval "$as_ac_var=no"
27131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27132 conftest$ac_exeext conftest.$ac_ext
27134 ac_res=`eval echo '${'$as_ac_var'}'`
27135 { echo "$as_me:$LINENO: result: $ac_res" >&5
27136 echo "${ECHO_T}$ac_res" >&6; }
27137 if test `eval echo '${'$as_ac_var'}'` = yes; then
27138 cat >>confdefs.h <<_ACEOF
27139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27146 for ac_func in floor
27148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27149 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27151 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27152 echo $ECHO_N "(cached) $ECHO_C" >&6
27154 cat >conftest.$ac_ext <<_ACEOF
27157 cat confdefs.h >>conftest.$ac_ext
27158 cat >>conftest.$ac_ext <<_ACEOF
27159 /* end confdefs.h. */
27160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27162 #define $ac_func innocuous_$ac_func
27164 /* System header to define __stub macros and hopefully few prototypes,
27165 which can conflict with char $ac_func (); below.
27166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27167 <limits.h> exists even on freestanding compilers. */
27170 # include <limits.h>
27172 # include <assert.h>
27177 /* Override any GCC internal prototype to avoid an error.
27178 Use char because int might match the return type of a GCC
27179 builtin and then its argument prototype would still apply. */
27184 /* The GNU C library defines this for functions which it implements
27185 to always fail with ENOSYS. Some functions are actually named
27186 something starting with __ and the normal name is an alias. */
27187 #if defined __stub_$ac_func || defined __stub___$ac_func
27194 return $ac_func ();
27199 rm -f conftest.$ac_objext conftest$ac_exeext
27200 if { (ac_try="$ac_link"
27201 case "(($ac_try" in
27202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27203 *) ac_try_echo=$ac_try;;
27205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27206 (eval "$ac_link") 2>conftest.er1
27208 grep -v '^ *+' conftest.er1 >conftest.err
27210 cat conftest.err >&5
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); } && {
27213 test -z "$ac_c_werror_flag" ||
27214 test ! -s conftest.err
27215 } && test -s conftest$ac_exeext &&
27216 $as_test_x conftest$ac_exeext; then
27217 eval "$as_ac_var=yes"
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27222 eval "$as_ac_var=no"
27225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27226 conftest$ac_exeext conftest.$ac_ext
27228 ac_res=`eval echo '${'$as_ac_var'}'`
27229 { echo "$as_me:$LINENO: result: $ac_res" >&5
27230 echo "${ECHO_T}$ac_res" >&6; }
27231 if test `eval echo '${'$as_ac_var'}'` = yes; then
27232 cat >>confdefs.h <<_ACEOF
27233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27239 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27240 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27241 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27242 { echo "$as_me:$LINENO: result: yes" >&5
27243 echo "${ECHO_T}yes" >&6; }
27245 { echo "$as_me:$LINENO: result: no" >&5
27246 echo "${ECHO_T}no" >&6; }
27248 # use different functions to avoid configure caching
27254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27258 echo $ECHO_N "(cached) $ECHO_C" >&6
27260 cat >conftest.$ac_ext <<_ACEOF
27263 cat confdefs.h >>conftest.$ac_ext
27264 cat >>conftest.$ac_ext <<_ACEOF
27265 /* end confdefs.h. */
27266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27268 #define $ac_func innocuous_$ac_func
27270 /* System header to define __stub macros and hopefully few prototypes,
27271 which can conflict with char $ac_func (); below.
27272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27273 <limits.h> exists even on freestanding compilers. */
27276 # include <limits.h>
27278 # include <assert.h>
27283 /* Override any GCC internal prototype to avoid an error.
27284 Use char because int might match the return type of a GCC
27285 builtin and then its argument prototype would still apply. */
27290 /* The GNU C library defines this for functions which it implements
27291 to always fail with ENOSYS. Some functions are actually named
27292 something starting with __ and the normal name is an alias. */
27293 #if defined __stub_$ac_func || defined __stub___$ac_func
27300 return $ac_func ();
27305 rm -f conftest.$ac_objext conftest$ac_exeext
27306 if { (ac_try="$ac_link"
27307 case "(($ac_try" in
27308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27309 *) ac_try_echo=$ac_try;;
27311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27312 (eval "$ac_link") 2>conftest.er1
27314 grep -v '^ *+' conftest.er1 >conftest.err
27316 cat conftest.err >&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); } && {
27319 test -z "$ac_c_werror_flag" ||
27320 test ! -s conftest.err
27321 } && test -s conftest$ac_exeext &&
27322 $as_test_x conftest$ac_exeext; then
27323 eval "$as_ac_var=yes"
27325 echo "$as_me: failed program was:" >&5
27326 sed 's/^/| /' conftest.$ac_ext >&5
27328 eval "$as_ac_var=no"
27331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27332 conftest$ac_exeext conftest.$ac_ext
27334 ac_res=`eval echo '${'$as_ac_var'}'`
27335 { echo "$as_me:$LINENO: result: $ac_res" >&5
27336 echo "${ECHO_T}$ac_res" >&6; }
27337 if test `eval echo '${'$as_ac_var'}'` = yes; then
27338 cat >>confdefs.h <<_ACEOF
27339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27346 for ac_func in ceil
27348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27349 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27351 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27352 echo $ECHO_N "(cached) $ECHO_C" >&6
27354 cat >conftest.$ac_ext <<_ACEOF
27357 cat confdefs.h >>conftest.$ac_ext
27358 cat >>conftest.$ac_ext <<_ACEOF
27359 /* end confdefs.h. */
27360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27362 #define $ac_func innocuous_$ac_func
27364 /* System header to define __stub macros and hopefully few prototypes,
27365 which can conflict with char $ac_func (); below.
27366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27367 <limits.h> exists even on freestanding compilers. */
27370 # include <limits.h>
27372 # include <assert.h>
27377 /* Override any GCC internal prototype to avoid an error.
27378 Use char because int might match the return type of a GCC
27379 builtin and then its argument prototype would still apply. */
27384 /* The GNU C library defines this for functions which it implements
27385 to always fail with ENOSYS. Some functions are actually named
27386 something starting with __ and the normal name is an alias. */
27387 #if defined __stub_$ac_func || defined __stub___$ac_func
27394 return $ac_func ();
27399 rm -f conftest.$ac_objext conftest$ac_exeext
27400 if { (ac_try="$ac_link"
27401 case "(($ac_try" in
27402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27403 *) ac_try_echo=$ac_try;;
27405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27406 (eval "$ac_link") 2>conftest.er1
27408 grep -v '^ *+' conftest.er1 >conftest.err
27410 cat conftest.err >&5
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); } && {
27413 test -z "$ac_c_werror_flag" ||
27414 test ! -s conftest.err
27415 } && test -s conftest$ac_exeext &&
27416 $as_test_x conftest$ac_exeext; then
27417 eval "$as_ac_var=yes"
27419 echo "$as_me: failed program was:" >&5
27420 sed 's/^/| /' conftest.$ac_ext >&5
27422 eval "$as_ac_var=no"
27425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27426 conftest$ac_exeext conftest.$ac_ext
27428 ac_res=`eval echo '${'$as_ac_var'}'`
27429 { echo "$as_me:$LINENO: result: $ac_res" >&5
27430 echo "${ECHO_T}$ac_res" >&6; }
27431 if test `eval echo '${'$as_ac_var'}'` = yes; then
27432 cat >>confdefs.h <<_ACEOF
27433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27439 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27440 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27441 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27442 { echo "$as_me:$LINENO: result: yes" >&5
27443 echo "${ECHO_T}yes" >&6; }
27445 { echo "$as_me:$LINENO: result: no" >&5
27446 echo "${ECHO_T}no" >&6; }
27447 # not sure we should warn the user, crash, etc.
27452 ac_cpp='$CXXCPP $CPPFLAGS'
27453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27457 if test "wxUSE_UNICODE" = "yes"; then
27459 for wx_func in wcstoull
27461 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27462 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27463 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27464 echo $ECHO_N "(cached) $ECHO_C" >&6
27467 cat >conftest.$ac_ext <<_ACEOF
27471 cat confdefs.h >>conftest.$ac_ext
27472 cat >>conftest.$ac_ext <<_ACEOF
27473 /* end confdefs.h. */
27476 $ac_includes_default
27492 rm -f conftest.$ac_objext conftest$ac_exeext
27493 if { (ac_try="$ac_link"
27494 case "(($ac_try" in
27495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27496 *) ac_try_echo=$ac_try;;
27498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27499 (eval "$ac_link") 2>conftest.er1
27501 grep -v '^ *+' conftest.er1 >conftest.err
27503 cat conftest.err >&5
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); } && {
27506 test -z "$ac_cxx_werror_flag" ||
27507 test ! -s conftest.err
27508 } && test -s conftest$ac_exeext &&
27509 $as_test_x conftest$ac_exeext; then
27510 eval wx_cv_func_$wx_func=yes
27512 echo "$as_me: failed program was:" >&5
27513 sed 's/^/| /' conftest.$ac_ext >&5
27515 eval wx_cv_func_$wx_func=no
27518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27519 conftest$ac_exeext conftest.$ac_ext
27522 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27523 { echo "$as_me:$LINENO: result: $ac_res" >&5
27524 echo "${ECHO_T}$ac_res" >&6; }
27526 if eval test \$wx_cv_func_$wx_func = yes
27528 cat >>confdefs.h <<_ACEOF
27529 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27541 for wx_func in strtoull
27543 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27544 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27545 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27546 echo $ECHO_N "(cached) $ECHO_C" >&6
27549 cat >conftest.$ac_ext <<_ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27558 $ac_includes_default
27574 rm -f conftest.$ac_objext conftest$ac_exeext
27575 if { (ac_try="$ac_link"
27576 case "(($ac_try" in
27577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27578 *) ac_try_echo=$ac_try;;
27580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27581 (eval "$ac_link") 2>conftest.er1
27583 grep -v '^ *+' conftest.er1 >conftest.err
27585 cat conftest.err >&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); } && {
27588 test -z "$ac_cxx_werror_flag" ||
27589 test ! -s conftest.err
27590 } && test -s conftest$ac_exeext &&
27591 $as_test_x conftest$ac_exeext; then
27592 eval wx_cv_func_$wx_func=yes
27594 echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.$ac_ext >&5
27597 eval wx_cv_func_$wx_func=no
27600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27601 conftest$ac_exeext conftest.$ac_ext
27604 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27605 { echo "$as_me:$LINENO: result: $ac_res" >&5
27606 echo "${ECHO_T}$ac_res" >&6; }
27608 if eval test \$wx_cv_func_$wx_func = yes
27610 cat >>confdefs.h <<_ACEOF
27611 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27623 ac_cpp='$CPP $CPPFLAGS'
27624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27631 if test "$wxUSE_REGEX" != "no"; then
27632 cat >>confdefs.h <<\_ACEOF
27633 #define wxUSE_REGEX 1
27637 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27638 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27639 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27640 wxUSE_REGEX=builtin
27643 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27644 { echo "$as_me:$LINENO: checking for regex.h" >&5
27645 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27646 if test "${ac_cv_header_regex_h+set}" = set; then
27647 echo $ECHO_N "(cached) $ECHO_C" >&6
27649 cat >conftest.$ac_ext <<_ACEOF
27652 cat confdefs.h >>conftest.$ac_ext
27653 cat >>conftest.$ac_ext <<_ACEOF
27654 /* end confdefs.h. */
27659 rm -f conftest.$ac_objext
27660 if { (ac_try="$ac_compile"
27661 case "(($ac_try" in
27662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27663 *) ac_try_echo=$ac_try;;
27665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27666 (eval "$ac_compile") 2>conftest.er1
27668 grep -v '^ *+' conftest.er1 >conftest.err
27670 cat conftest.err >&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } && {
27673 test -z "$ac_c_werror_flag" ||
27674 test ! -s conftest.err
27675 } && test -s conftest.$ac_objext; then
27676 ac_cv_header_regex_h=yes
27678 echo "$as_me: failed program was:" >&5
27679 sed 's/^/| /' conftest.$ac_ext >&5
27681 ac_cv_header_regex_h=no
27684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27686 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27687 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27688 if test $ac_cv_header_regex_h = yes; then
27691 for ac_func in regcomp re_search
27693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27697 echo $ECHO_N "(cached) $ECHO_C" >&6
27699 cat >conftest.$ac_ext <<_ACEOF
27702 cat confdefs.h >>conftest.$ac_ext
27703 cat >>conftest.$ac_ext <<_ACEOF
27704 /* end confdefs.h. */
27705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27707 #define $ac_func innocuous_$ac_func
27709 /* System header to define __stub macros and hopefully few prototypes,
27710 which can conflict with char $ac_func (); below.
27711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27712 <limits.h> exists even on freestanding compilers. */
27715 # include <limits.h>
27717 # include <assert.h>
27722 /* Override any GCC internal prototype to avoid an error.
27723 Use char because int might match the return type of a GCC
27724 builtin and then its argument prototype would still apply. */
27729 /* The GNU C library defines this for functions which it implements
27730 to always fail with ENOSYS. Some functions are actually named
27731 something starting with __ and the normal name is an alias. */
27732 #if defined __stub_$ac_func || defined __stub___$ac_func
27739 return $ac_func ();
27744 rm -f conftest.$ac_objext conftest$ac_exeext
27745 if { (ac_try="$ac_link"
27746 case "(($ac_try" in
27747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27748 *) ac_try_echo=$ac_try;;
27750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27751 (eval "$ac_link") 2>conftest.er1
27753 grep -v '^ *+' conftest.er1 >conftest.err
27755 cat conftest.err >&5
27756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); } && {
27758 test -z "$ac_c_werror_flag" ||
27759 test ! -s conftest.err
27760 } && test -s conftest$ac_exeext &&
27761 $as_test_x conftest$ac_exeext; then
27762 eval "$as_ac_var=yes"
27764 echo "$as_me: failed program was:" >&5
27765 sed 's/^/| /' conftest.$ac_ext >&5
27767 eval "$as_ac_var=no"
27770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27771 conftest$ac_exeext conftest.$ac_ext
27773 ac_res=`eval echo '${'$as_ac_var'}'`
27774 { echo "$as_me:$LINENO: result: $ac_res" >&5
27775 echo "${ECHO_T}$ac_res" >&6; }
27776 if test `eval echo '${'$as_ac_var'}'` = yes; then
27777 cat >>confdefs.h <<_ACEOF
27778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27788 if test "x$ac_cv_func_regcomp" != "xyes"; then
27789 if test "$wxUSE_REGEX" = "sys" ; then
27790 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27791 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27792 { (exit 1); exit 1; }; }
27794 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27795 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27796 wxUSE_REGEX=builtin
27800 cat >>confdefs.h <<\_ACEOF
27801 #define WX_NO_REGEX_ADVANCED 1
27810 if test "$wxUSE_ZLIB" != "no" ; then
27811 cat >>confdefs.h <<\_ACEOF
27812 #define wxUSE_ZLIB 1
27816 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27817 if test "$USE_DARWIN" = 1; then
27818 system_zlib_h_ok="yes"
27820 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27821 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27822 if test "${ac_cv_header_zlib_h+set}" = set; then
27823 echo $ECHO_N "(cached) $ECHO_C" >&6
27825 if test "$cross_compiling" = yes; then
27826 unset ac_cv_header_zlib_h
27829 cat >conftest.$ac_ext <<_ACEOF
27832 cat confdefs.h >>conftest.$ac_ext
27833 cat >>conftest.$ac_ext <<_ACEOF
27834 /* end confdefs.h. */
27841 FILE *f=fopen("conftestval", "w");
27844 ZLIB_VERSION[0] == '1' &&
27845 (ZLIB_VERSION[2] > '1' ||
27846 (ZLIB_VERSION[2] == '1' &&
27847 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27852 rm -f conftest$ac_exeext
27853 if { (ac_try="$ac_link"
27854 case "(($ac_try" in
27855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27856 *) ac_try_echo=$ac_try;;
27858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27859 (eval "$ac_link") 2>&5
27861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27863 { (case "(($ac_try" in
27864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27865 *) ac_try_echo=$ac_try;;
27867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27868 (eval "$ac_try") 2>&5
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; }; then
27872 ac_cv_header_zlib_h=`cat conftestval`
27874 echo "$as_me: program exited with status $ac_status" >&5
27875 echo "$as_me: failed program was:" >&5
27876 sed 's/^/| /' conftest.$ac_ext >&5
27878 ( exit $ac_status )
27879 ac_cv_header_zlib_h=no
27881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27887 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27888 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27889 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27890 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27891 if test "${ac_cv_header_zlib_h+set}" = set; then
27892 echo $ECHO_N "(cached) $ECHO_C" >&6
27894 cat >conftest.$ac_ext <<_ACEOF
27897 cat confdefs.h >>conftest.$ac_ext
27898 cat >>conftest.$ac_ext <<_ACEOF
27899 /* end confdefs.h. */
27904 rm -f conftest.$ac_objext
27905 if { (ac_try="$ac_compile"
27906 case "(($ac_try" in
27907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27908 *) ac_try_echo=$ac_try;;
27910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27911 (eval "$ac_compile") 2>conftest.er1
27913 grep -v '^ *+' conftest.er1 >conftest.err
27915 cat conftest.err >&5
27916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917 (exit $ac_status); } && {
27918 test -z "$ac_c_werror_flag" ||
27919 test ! -s conftest.err
27920 } && test -s conftest.$ac_objext; then
27921 ac_cv_header_zlib_h=yes
27923 echo "$as_me: failed program was:" >&5
27924 sed 's/^/| /' conftest.$ac_ext >&5
27926 ac_cv_header_zlib_h=no
27929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27931 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27932 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27936 system_zlib_h_ok=$ac_cv_header_zlib_h
27939 if test "$system_zlib_h_ok" = "yes"; then
27940 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27941 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27942 if test "${ac_cv_lib_z_deflate+set}" = set; then
27943 echo $ECHO_N "(cached) $ECHO_C" >&6
27945 ac_check_lib_save_LIBS=$LIBS
27947 cat >conftest.$ac_ext <<_ACEOF
27950 cat confdefs.h >>conftest.$ac_ext
27951 cat >>conftest.$ac_ext <<_ACEOF
27952 /* end confdefs.h. */
27954 /* Override any GCC internal prototype to avoid an error.
27955 Use char because int might match the return type of a GCC
27956 builtin and then its argument prototype would still apply. */
27969 rm -f conftest.$ac_objext conftest$ac_exeext
27970 if { (ac_try="$ac_link"
27971 case "(($ac_try" in
27972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27973 *) ac_try_echo=$ac_try;;
27975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27976 (eval "$ac_link") 2>conftest.er1
27978 grep -v '^ *+' conftest.er1 >conftest.err
27980 cat conftest.err >&5
27981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27982 (exit $ac_status); } && {
27983 test -z "$ac_c_werror_flag" ||
27984 test ! -s conftest.err
27985 } && test -s conftest$ac_exeext &&
27986 $as_test_x conftest$ac_exeext; then
27987 ac_cv_lib_z_deflate=yes
27989 echo "$as_me: failed program was:" >&5
27990 sed 's/^/| /' conftest.$ac_ext >&5
27992 ac_cv_lib_z_deflate=no
27995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27996 conftest$ac_exeext conftest.$ac_ext
27997 LIBS=$ac_check_lib_save_LIBS
27999 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28000 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28001 if test $ac_cv_lib_z_deflate = yes; then
28007 if test "x$ZLIB_LINK" = "x" ; then
28008 if test "$wxUSE_ZLIB" = "sys" ; then
28009 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28010 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28011 { (exit 1); exit 1; }; }
28013 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28014 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28025 if test "$wxUSE_LIBPNG" != "no" ; then
28026 cat >>confdefs.h <<\_ACEOF
28027 #define wxUSE_LIBPNG 1
28031 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28032 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28033 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28037 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28038 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28039 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28040 wxUSE_LIBPNG=builtin
28043 if test "$wxUSE_MGL" != 1 ; then
28044 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28045 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28046 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28047 if test "${ac_cv_header_png_h+set}" = set; then
28048 echo $ECHO_N "(cached) $ECHO_C" >&6
28050 if test "$cross_compiling" = yes; then
28051 unset ac_cv_header_png_h
28054 cat >conftest.$ac_ext <<_ACEOF
28057 cat confdefs.h >>conftest.$ac_ext
28058 cat >>conftest.$ac_ext <<_ACEOF
28059 /* end confdefs.h. */
28066 FILE *f=fopen("conftestval", "w");
28069 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28074 rm -f conftest$ac_exeext
28075 if { (ac_try="$ac_link"
28076 case "(($ac_try" in
28077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28078 *) ac_try_echo=$ac_try;;
28080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28081 (eval "$ac_link") 2>&5
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28085 { (case "(($ac_try" in
28086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28087 *) ac_try_echo=$ac_try;;
28089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28090 (eval "$ac_try") 2>&5
28092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28093 (exit $ac_status); }; }; then
28094 ac_cv_header_png_h=`cat conftestval`
28096 echo "$as_me: program exited with status $ac_status" >&5
28097 echo "$as_me: failed program was:" >&5
28098 sed 's/^/| /' conftest.$ac_ext >&5
28100 ( exit $ac_status )
28101 ac_cv_header_png_h=no
28103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28109 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28110 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28111 { echo "$as_me:$LINENO: checking for png.h" >&5
28112 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28113 if test "${ac_cv_header_png_h+set}" = set; then
28114 echo $ECHO_N "(cached) $ECHO_C" >&6
28116 cat >conftest.$ac_ext <<_ACEOF
28119 cat confdefs.h >>conftest.$ac_ext
28120 cat >>conftest.$ac_ext <<_ACEOF
28121 /* end confdefs.h. */
28126 rm -f conftest.$ac_objext
28127 if { (ac_try="$ac_compile"
28128 case "(($ac_try" in
28129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28130 *) ac_try_echo=$ac_try;;
28132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28133 (eval "$ac_compile") 2>conftest.er1
28135 grep -v '^ *+' conftest.er1 >conftest.err
28137 cat conftest.err >&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); } && {
28140 test -z "$ac_c_werror_flag" ||
28141 test ! -s conftest.err
28142 } && test -s conftest.$ac_objext; then
28143 ac_cv_header_png_h=yes
28145 echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28148 ac_cv_header_png_h=no
28151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28154 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28158 if test "$ac_cv_header_png_h" = "yes"; then
28159 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28160 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28161 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28162 echo $ECHO_N "(cached) $ECHO_C" >&6
28164 ac_check_lib_save_LIBS=$LIBS
28165 LIBS="-lpng -lz -lm $LIBS"
28166 cat >conftest.$ac_ext <<_ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28173 /* Override any GCC internal prototype to avoid an error.
28174 Use char because int might match the return type of a GCC
28175 builtin and then its argument prototype would still apply. */
28179 char png_sig_cmp ();
28183 return png_sig_cmp ();
28188 rm -f conftest.$ac_objext conftest$ac_exeext
28189 if { (ac_try="$ac_link"
28190 case "(($ac_try" in
28191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28192 *) ac_try_echo=$ac_try;;
28194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28195 (eval "$ac_link") 2>conftest.er1
28197 grep -v '^ *+' conftest.er1 >conftest.err
28199 cat conftest.err >&5
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); } && {
28202 test -z "$ac_c_werror_flag" ||
28203 test ! -s conftest.err
28204 } && test -s conftest$ac_exeext &&
28205 $as_test_x conftest$ac_exeext; then
28206 ac_cv_lib_png_png_sig_cmp=yes
28208 echo "$as_me: failed program was:" >&5
28209 sed 's/^/| /' conftest.$ac_ext >&5
28211 ac_cv_lib_png_png_sig_cmp=no
28214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28215 conftest$ac_exeext conftest.$ac_ext
28216 LIBS=$ac_check_lib_save_LIBS
28218 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28219 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28220 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28221 PNG_LINK=" -lpng -lz"
28226 if test "x$PNG_LINK" = "x" ; then
28227 if test "$wxUSE_LIBPNG" = "sys" ; then
28228 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28229 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28230 { (exit 1); exit 1; }; }
28232 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28233 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28234 wxUSE_LIBPNG=builtin
28245 if test "$wxUSE_LIBJPEG" != "no" ; then
28246 cat >>confdefs.h <<\_ACEOF
28247 #define wxUSE_LIBJPEG 1
28251 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28252 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28253 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28257 if test "$wxUSE_MGL" != 1 ; then
28258 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28259 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28260 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28261 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28262 echo $ECHO_N "(cached) $ECHO_C" >&6
28264 cat >conftest.$ac_ext <<_ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28271 #undef HAVE_STDLIB_H
28273 #include <jpeglib.h>
28284 rm -f conftest.$ac_objext
28285 if { (ac_try="$ac_compile"
28286 case "(($ac_try" in
28287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28288 *) ac_try_echo=$ac_try;;
28290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28291 (eval "$ac_compile") 2>conftest.er1
28293 grep -v '^ *+' conftest.er1 >conftest.err
28295 cat conftest.err >&5
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); } && {
28298 test -z "$ac_c_werror_flag" ||
28299 test ! -s conftest.err
28300 } && test -s conftest.$ac_objext; then
28301 ac_cv_header_jpeglib_h=yes
28303 echo "$as_me: failed program was:" >&5
28304 sed 's/^/| /' conftest.$ac_ext >&5
28306 ac_cv_header_jpeglib_h=no
28310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28314 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28315 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28317 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28318 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28319 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28320 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28321 echo $ECHO_N "(cached) $ECHO_C" >&6
28323 ac_check_lib_save_LIBS=$LIBS
28324 LIBS="-ljpeg $LIBS"
28325 cat >conftest.$ac_ext <<_ACEOF
28328 cat confdefs.h >>conftest.$ac_ext
28329 cat >>conftest.$ac_ext <<_ACEOF
28330 /* end confdefs.h. */
28332 /* Override any GCC internal prototype to avoid an error.
28333 Use char because int might match the return type of a GCC
28334 builtin and then its argument prototype would still apply. */
28338 char jpeg_read_header ();
28342 return jpeg_read_header ();
28347 rm -f conftest.$ac_objext conftest$ac_exeext
28348 if { (ac_try="$ac_link"
28349 case "(($ac_try" in
28350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28351 *) ac_try_echo=$ac_try;;
28353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28354 (eval "$ac_link") 2>conftest.er1
28356 grep -v '^ *+' conftest.er1 >conftest.err
28358 cat conftest.err >&5
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); } && {
28361 test -z "$ac_c_werror_flag" ||
28362 test ! -s conftest.err
28363 } && test -s conftest$ac_exeext &&
28364 $as_test_x conftest$ac_exeext; then
28365 ac_cv_lib_jpeg_jpeg_read_header=yes
28367 echo "$as_me: failed program was:" >&5
28368 sed 's/^/| /' conftest.$ac_ext >&5
28370 ac_cv_lib_jpeg_jpeg_read_header=no
28373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28374 conftest$ac_exeext conftest.$ac_ext
28375 LIBS=$ac_check_lib_save_LIBS
28377 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28378 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28379 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28380 JPEG_LINK=" -ljpeg"
28385 if test "x$JPEG_LINK" = "x" ; then
28386 if test "$wxUSE_LIBJPEG" = "sys" ; then
28387 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28388 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28389 { (exit 1); exit 1; }; }
28391 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28392 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28393 wxUSE_LIBJPEG=builtin
28398 if test "$wxUSE_MSW" = 1; then
28399 { echo "$as_me:$LINENO: checking for boolean" >&5
28400 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28401 if test "${ac_cv_type_boolean+set}" = set; then
28402 echo $ECHO_N "(cached) $ECHO_C" >&6
28404 cat >conftest.$ac_ext <<_ACEOF
28407 cat confdefs.h >>conftest.$ac_ext
28408 cat >>conftest.$ac_ext <<_ACEOF
28409 /* end confdefs.h. */
28410 #include <windows.h>
28412 typedef boolean ac__type_new_;
28416 if ((ac__type_new_ *) 0)
28418 if (sizeof (ac__type_new_))
28424 rm -f conftest.$ac_objext
28425 if { (ac_try="$ac_compile"
28426 case "(($ac_try" in
28427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28428 *) ac_try_echo=$ac_try;;
28430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28431 (eval "$ac_compile") 2>conftest.er1
28433 grep -v '^ *+' conftest.er1 >conftest.err
28435 cat conftest.err >&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); } && {
28438 test -z "$ac_c_werror_flag" ||
28439 test ! -s conftest.err
28440 } && test -s conftest.$ac_objext; then
28441 ac_cv_type_boolean=yes
28443 echo "$as_me: failed program was:" >&5
28444 sed 's/^/| /' conftest.$ac_ext >&5
28446 ac_cv_type_boolean=no
28449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28451 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28452 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28453 if test $ac_cv_type_boolean = yes; then
28455 cat >>confdefs.h <<_ACEOF
28456 #define HAVE_BOOLEAN 1
28460 { echo "$as_me:$LINENO: checking for boolean" >&5
28461 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28462 if test "${ac_cv_type_boolean+set}" = set; then
28463 echo $ECHO_N "(cached) $ECHO_C" >&6
28465 cat >conftest.$ac_ext <<_ACEOF
28468 cat confdefs.h >>conftest.$ac_ext
28469 cat >>conftest.$ac_ext <<_ACEOF
28470 /* end confdefs.h. */
28472 #undef HAVE_BOOLEAN
28474 #include <jpeglib.h>
28477 typedef boolean ac__type_new_;
28481 if ((ac__type_new_ *) 0)
28483 if (sizeof (ac__type_new_))
28489 rm -f conftest.$ac_objext
28490 if { (ac_try="$ac_compile"
28491 case "(($ac_try" in
28492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28493 *) ac_try_echo=$ac_try;;
28495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28496 (eval "$ac_compile") 2>conftest.er1
28498 grep -v '^ *+' conftest.er1 >conftest.err
28500 cat conftest.err >&5
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); } && {
28503 test -z "$ac_c_werror_flag" ||
28504 test ! -s conftest.err
28505 } && test -s conftest.$ac_objext; then
28506 ac_cv_type_boolean=yes
28508 echo "$as_me: failed program was:" >&5
28509 sed 's/^/| /' conftest.$ac_ext >&5
28511 ac_cv_type_boolean=no
28514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28516 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28517 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28519 # The cast to long int works around a bug in the HP C Compiler
28520 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28521 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28522 # This bug is HP SR number 8606223364.
28523 { echo "$as_me:$LINENO: checking size of boolean" >&5
28524 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28525 if test "${ac_cv_sizeof_boolean+set}" = set; then
28526 echo $ECHO_N "(cached) $ECHO_C" >&6
28528 if test "$cross_compiling" = yes; then
28529 # Depending upon the size, compute the lo and hi bounds.
28530 cat >conftest.$ac_ext <<_ACEOF
28533 cat confdefs.h >>conftest.$ac_ext
28534 cat >>conftest.$ac_ext <<_ACEOF
28535 /* end confdefs.h. */
28537 #undef HAVE_BOOLEAN
28539 #include <jpeglib.h>
28542 typedef boolean ac__type_sizeof_;
28546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28553 rm -f conftest.$ac_objext
28554 if { (ac_try="$ac_compile"
28555 case "(($ac_try" in
28556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28557 *) ac_try_echo=$ac_try;;
28559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28560 (eval "$ac_compile") 2>conftest.er1
28562 grep -v '^ *+' conftest.er1 >conftest.err
28564 cat conftest.err >&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); } && {
28567 test -z "$ac_c_werror_flag" ||
28568 test ! -s conftest.err
28569 } && test -s conftest.$ac_objext; then
28572 cat >conftest.$ac_ext <<_ACEOF
28575 cat confdefs.h >>conftest.$ac_ext
28576 cat >>conftest.$ac_ext <<_ACEOF
28577 /* end confdefs.h. */
28579 #undef HAVE_BOOLEAN
28581 #include <jpeglib.h>
28584 typedef boolean ac__type_sizeof_;
28588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28595 rm -f conftest.$ac_objext
28596 if { (ac_try="$ac_compile"
28597 case "(($ac_try" in
28598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28599 *) ac_try_echo=$ac_try;;
28601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28602 (eval "$ac_compile") 2>conftest.er1
28604 grep -v '^ *+' conftest.er1 >conftest.err
28606 cat conftest.err >&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); } && {
28609 test -z "$ac_c_werror_flag" ||
28610 test ! -s conftest.err
28611 } && test -s conftest.$ac_objext; then
28612 ac_hi=$ac_mid; break
28614 echo "$as_me: failed program was:" >&5
28615 sed 's/^/| /' conftest.$ac_ext >&5
28617 ac_lo=`expr $ac_mid + 1`
28618 if test $ac_lo -le $ac_mid; then
28622 ac_mid=`expr 2 '*' $ac_mid + 1`
28625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28628 echo "$as_me: failed program was:" >&5
28629 sed 's/^/| /' conftest.$ac_ext >&5
28631 cat >conftest.$ac_ext <<_ACEOF
28634 cat confdefs.h >>conftest.$ac_ext
28635 cat >>conftest.$ac_ext <<_ACEOF
28636 /* end confdefs.h. */
28638 #undef HAVE_BOOLEAN
28640 #include <jpeglib.h>
28643 typedef boolean ac__type_sizeof_;
28647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28654 rm -f conftest.$ac_objext
28655 if { (ac_try="$ac_compile"
28656 case "(($ac_try" in
28657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28658 *) ac_try_echo=$ac_try;;
28660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28661 (eval "$ac_compile") 2>conftest.er1
28663 grep -v '^ *+' conftest.er1 >conftest.err
28665 cat conftest.err >&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); } && {
28668 test -z "$ac_c_werror_flag" ||
28669 test ! -s conftest.err
28670 } && test -s conftest.$ac_objext; then
28673 cat >conftest.$ac_ext <<_ACEOF
28676 cat confdefs.h >>conftest.$ac_ext
28677 cat >>conftest.$ac_ext <<_ACEOF
28678 /* end confdefs.h. */
28680 #undef HAVE_BOOLEAN
28682 #include <jpeglib.h>
28685 typedef boolean ac__type_sizeof_;
28689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28696 rm -f conftest.$ac_objext
28697 if { (ac_try="$ac_compile"
28698 case "(($ac_try" in
28699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28700 *) ac_try_echo=$ac_try;;
28702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28703 (eval "$ac_compile") 2>conftest.er1
28705 grep -v '^ *+' conftest.er1 >conftest.err
28707 cat conftest.err >&5
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); } && {
28710 test -z "$ac_c_werror_flag" ||
28711 test ! -s conftest.err
28712 } && test -s conftest.$ac_objext; then
28713 ac_lo=$ac_mid; break
28715 echo "$as_me: failed program was:" >&5
28716 sed 's/^/| /' conftest.$ac_ext >&5
28718 ac_hi=`expr '(' $ac_mid ')' - 1`
28719 if test $ac_mid -le $ac_hi; then
28723 ac_mid=`expr 2 '*' $ac_mid`
28726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28729 echo "$as_me: failed program was:" >&5
28730 sed 's/^/| /' conftest.$ac_ext >&5
28735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28739 # Binary search between lo and hi bounds.
28740 while test "x$ac_lo" != "x$ac_hi"; do
28741 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28742 cat >conftest.$ac_ext <<_ACEOF
28745 cat confdefs.h >>conftest.$ac_ext
28746 cat >>conftest.$ac_ext <<_ACEOF
28747 /* end confdefs.h. */
28749 #undef HAVE_BOOLEAN
28751 #include <jpeglib.h>
28754 typedef boolean ac__type_sizeof_;
28758 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28765 rm -f conftest.$ac_objext
28766 if { (ac_try="$ac_compile"
28767 case "(($ac_try" in
28768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28769 *) ac_try_echo=$ac_try;;
28771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28772 (eval "$ac_compile") 2>conftest.er1
28774 grep -v '^ *+' conftest.er1 >conftest.err
28776 cat conftest.err >&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); } && {
28779 test -z "$ac_c_werror_flag" ||
28780 test ! -s conftest.err
28781 } && test -s conftest.$ac_objext; then
28784 echo "$as_me: failed program was:" >&5
28785 sed 's/^/| /' conftest.$ac_ext >&5
28787 ac_lo=`expr '(' $ac_mid ')' + 1`
28790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28793 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28794 '') if test "$ac_cv_type_boolean" = yes; then
28795 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28796 See \`config.log' for more details." >&5
28797 echo "$as_me: error: cannot compute sizeof (boolean)
28798 See \`config.log' for more details." >&2;}
28799 { (exit 77); exit 77; }; }
28801 ac_cv_sizeof_boolean=0
28805 cat >conftest.$ac_ext <<_ACEOF
28808 cat confdefs.h >>conftest.$ac_ext
28809 cat >>conftest.$ac_ext <<_ACEOF
28810 /* end confdefs.h. */
28812 #undef HAVE_BOOLEAN
28814 #include <jpeglib.h>
28817 typedef boolean ac__type_sizeof_;
28818 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28819 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28821 #include <stdlib.h>
28826 FILE *f = fopen ("conftest.val", "w");
28829 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28831 long int i = longval ();
28832 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28834 fprintf (f, "%ld\n", i);
28838 unsigned long int i = ulongval ();
28839 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28841 fprintf (f, "%lu\n", i);
28843 return ferror (f) || fclose (f) != 0;
28849 rm -f conftest$ac_exeext
28850 if { (ac_try="$ac_link"
28851 case "(($ac_try" in
28852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28853 *) ac_try_echo=$ac_try;;
28855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28856 (eval "$ac_link") 2>&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28860 { (case "(($ac_try" in
28861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28862 *) ac_try_echo=$ac_try;;
28864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28865 (eval "$ac_try") 2>&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); }; }; then
28869 ac_cv_sizeof_boolean=`cat conftest.val`
28871 echo "$as_me: program exited with status $ac_status" >&5
28872 echo "$as_me: failed program was:" >&5
28873 sed 's/^/| /' conftest.$ac_ext >&5
28875 ( exit $ac_status )
28876 if test "$ac_cv_type_boolean" = yes; then
28877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28878 See \`config.log' for more details." >&5
28879 echo "$as_me: error: cannot compute sizeof (boolean)
28880 See \`config.log' for more details." >&2;}
28881 { (exit 77); exit 77; }; }
28883 ac_cv_sizeof_boolean=0
28886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28890 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28891 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28895 cat >>confdefs.h <<_ACEOF
28896 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28900 cat >>confdefs.h <<_ACEOF
28901 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28915 TIFF_PREREQ_LINKS=-lm
28916 if test "$wxUSE_LIBTIFF" != "no" ; then
28917 cat >>confdefs.h <<\_ACEOF
28918 #define wxUSE_LIBTIFF 1
28922 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28923 if test "$wxUSE_LIBJPEG" = "sys"; then
28924 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28926 if test "$wxUSE_ZLIB" = "sys"; then
28927 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28929 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28930 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28931 if test "${ac_cv_header_tiffio_h+set}" = set; then
28932 echo $ECHO_N "(cached) $ECHO_C" >&6
28934 cat >conftest.$ac_ext <<_ACEOF
28937 cat confdefs.h >>conftest.$ac_ext
28938 cat >>conftest.$ac_ext <<_ACEOF
28939 /* end confdefs.h. */
28943 #include <tiffio.h>
28945 rm -f conftest.$ac_objext
28946 if { (ac_try="$ac_compile"
28947 case "(($ac_try" in
28948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28949 *) ac_try_echo=$ac_try;;
28951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28952 (eval "$ac_compile") 2>conftest.er1
28954 grep -v '^ *+' conftest.er1 >conftest.err
28956 cat conftest.err >&5
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); } && {
28959 test -z "$ac_c_werror_flag" ||
28960 test ! -s conftest.err
28961 } && test -s conftest.$ac_objext; then
28962 ac_cv_header_tiffio_h=yes
28964 echo "$as_me: failed program was:" >&5
28965 sed 's/^/| /' conftest.$ac_ext >&5
28967 ac_cv_header_tiffio_h=no
28970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28972 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28973 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28974 if test $ac_cv_header_tiffio_h = yes; then
28976 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28977 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28978 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28979 echo $ECHO_N "(cached) $ECHO_C" >&6
28981 ac_check_lib_save_LIBS=$LIBS
28982 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28983 cat >conftest.$ac_ext <<_ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28990 /* Override any GCC internal prototype to avoid an error.
28991 Use char because int might match the return type of a GCC
28992 builtin and then its argument prototype would still apply. */
29000 return TIFFError ();
29005 rm -f conftest.$ac_objext conftest$ac_exeext
29006 if { (ac_try="$ac_link"
29007 case "(($ac_try" in
29008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29009 *) ac_try_echo=$ac_try;;
29011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29012 (eval "$ac_link") 2>conftest.er1
29014 grep -v '^ *+' conftest.er1 >conftest.err
29016 cat conftest.err >&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); } && {
29019 test -z "$ac_c_werror_flag" ||
29020 test ! -s conftest.err
29021 } && test -s conftest$ac_exeext &&
29022 $as_test_x conftest$ac_exeext; then
29023 ac_cv_lib_tiff_TIFFError=yes
29025 echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29028 ac_cv_lib_tiff_TIFFError=no
29031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29032 conftest$ac_exeext conftest.$ac_ext
29033 LIBS=$ac_check_lib_save_LIBS
29035 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29036 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29037 if test $ac_cv_lib_tiff_TIFFError = yes; then
29038 TIFF_LINK=" -ltiff"
29046 if test "x$TIFF_LINK" = "x" ; then
29047 if test "$wxUSE_LIBTIFF" = "sys" ; then
29048 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29049 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29050 { (exit 1); exit 1; }; }
29052 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29053 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29054 wxUSE_LIBTIFF=builtin
29060 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29061 if test "$wxUSE_LIBJPEG" = "no"; then
29062 ac_configure_args="$ac_configure_args --disable-jpeg"
29064 subdirs="$subdirs src/tiff"
29070 if test "$wxUSE_EXPAT" != "no"; then
29072 cat >>confdefs.h <<\_ACEOF
29073 #define wxUSE_EXPAT 1
29076 cat >>confdefs.h <<\_ACEOF
29077 #define wxUSE_XML 1
29081 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29082 { echo "$as_me:$LINENO: checking for expat.h" >&5
29083 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29084 if test "${ac_cv_header_expat_h+set}" = set; then
29085 echo $ECHO_N "(cached) $ECHO_C" >&6
29087 cat >conftest.$ac_ext <<_ACEOF
29090 cat confdefs.h >>conftest.$ac_ext
29091 cat >>conftest.$ac_ext <<_ACEOF
29092 /* end confdefs.h. */
29097 rm -f conftest.$ac_objext
29098 if { (ac_try="$ac_compile"
29099 case "(($ac_try" in
29100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29101 *) ac_try_echo=$ac_try;;
29103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29104 (eval "$ac_compile") 2>conftest.er1
29106 grep -v '^ *+' conftest.er1 >conftest.err
29108 cat conftest.err >&5
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); } && {
29111 test -z "$ac_c_werror_flag" ||
29112 test ! -s conftest.err
29113 } && test -s conftest.$ac_objext; then
29114 ac_cv_header_expat_h=yes
29116 echo "$as_me: failed program was:" >&5
29117 sed 's/^/| /' conftest.$ac_ext >&5
29119 ac_cv_header_expat_h=no
29122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29124 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29125 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29126 if test $ac_cv_header_expat_h = yes; then
29131 if test "x$found_expat_h" = "x1"; then
29132 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29133 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29134 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29135 echo $ECHO_N "(cached) $ECHO_C" >&6
29139 ac_cpp='$CXXCPP $CPPFLAGS'
29140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29144 cat >conftest.$ac_ext <<_ACEOF
29147 cat confdefs.h >>conftest.$ac_ext
29148 cat >>conftest.$ac_ext <<_ACEOF
29149 /* end confdefs.h. */
29159 rm -f conftest.$ac_objext
29160 if { (ac_try="$ac_compile"
29161 case "(($ac_try" in
29162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29163 *) ac_try_echo=$ac_try;;
29165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29166 (eval "$ac_compile") 2>conftest.er1
29168 grep -v '^ *+' conftest.er1 >conftest.err
29170 cat conftest.err >&5
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); } && {
29173 test -z "$ac_cxx_werror_flag" ||
29174 test ! -s conftest.err
29175 } && test -s conftest.$ac_objext; then
29176 wx_cv_expat_is_not_broken=yes
29178 echo "$as_me: failed program was:" >&5
29179 sed 's/^/| /' conftest.$ac_ext >&5
29181 wx_cv_expat_is_not_broken=no
29185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29187 ac_cpp='$CPP $CPPFLAGS'
29188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29195 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29196 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29197 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29198 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29199 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29200 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29201 echo $ECHO_N "(cached) $ECHO_C" >&6
29203 ac_check_lib_save_LIBS=$LIBS
29204 LIBS="-lexpat $LIBS"
29205 cat >conftest.$ac_ext <<_ACEOF
29208 cat confdefs.h >>conftest.$ac_ext
29209 cat >>conftest.$ac_ext <<_ACEOF
29210 /* end confdefs.h. */
29212 /* Override any GCC internal prototype to avoid an error.
29213 Use char because int might match the return type of a GCC
29214 builtin and then its argument prototype would still apply. */
29218 char XML_ParserCreate ();
29222 return XML_ParserCreate ();
29227 rm -f conftest.$ac_objext conftest$ac_exeext
29228 if { (ac_try="$ac_link"
29229 case "(($ac_try" in
29230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29231 *) ac_try_echo=$ac_try;;
29233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29234 (eval "$ac_link") 2>conftest.er1
29236 grep -v '^ *+' conftest.er1 >conftest.err
29238 cat conftest.err >&5
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); } && {
29241 test -z "$ac_c_werror_flag" ||
29242 test ! -s conftest.err
29243 } && test -s conftest$ac_exeext &&
29244 $as_test_x conftest$ac_exeext; then
29245 ac_cv_lib_expat_XML_ParserCreate=yes
29247 echo "$as_me: failed program was:" >&5
29248 sed 's/^/| /' conftest.$ac_ext >&5
29250 ac_cv_lib_expat_XML_ParserCreate=no
29253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29254 conftest$ac_exeext conftest.$ac_ext
29255 LIBS=$ac_check_lib_save_LIBS
29257 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29258 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29259 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29260 EXPAT_LINK=" -lexpat"
29265 if test "x$EXPAT_LINK" = "x" ; then
29266 if test "$wxUSE_EXPAT" = "sys" ; then
29267 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29268 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29269 { (exit 1); exit 1; }; }
29271 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29272 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29273 wxUSE_EXPAT=builtin
29279 if test "$wxUSE_EXPAT" = "builtin" ; then
29280 subdirs="$subdirs src/expat"
29287 if test "$wxUSE_LIBMSPACK" != "no"; then
29288 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29289 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29290 if test "${ac_cv_header_mspack_h+set}" = set; then
29291 echo $ECHO_N "(cached) $ECHO_C" >&6
29293 cat >conftest.$ac_ext <<_ACEOF
29296 cat confdefs.h >>conftest.$ac_ext
29297 cat >>conftest.$ac_ext <<_ACEOF
29298 /* end confdefs.h. */
29301 #include <mspack.h>
29303 rm -f conftest.$ac_objext
29304 if { (ac_try="$ac_compile"
29305 case "(($ac_try" in
29306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29307 *) ac_try_echo=$ac_try;;
29309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29310 (eval "$ac_compile") 2>conftest.er1
29312 grep -v '^ *+' conftest.er1 >conftest.err
29314 cat conftest.err >&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); } && {
29317 test -z "$ac_c_werror_flag" ||
29318 test ! -s conftest.err
29319 } && test -s conftest.$ac_objext; then
29320 ac_cv_header_mspack_h=yes
29322 echo "$as_me: failed program was:" >&5
29323 sed 's/^/| /' conftest.$ac_ext >&5
29325 ac_cv_header_mspack_h=no
29328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29330 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29331 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29332 if test $ac_cv_header_mspack_h = yes; then
29337 if test "x$found_mspack_h" = "x1"; then
29338 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29339 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29340 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29341 echo $ECHO_N "(cached) $ECHO_C" >&6
29343 ac_check_lib_save_LIBS=$LIBS
29344 LIBS="-lmspack $LIBS"
29345 cat >conftest.$ac_ext <<_ACEOF
29348 cat confdefs.h >>conftest.$ac_ext
29349 cat >>conftest.$ac_ext <<_ACEOF
29350 /* end confdefs.h. */
29352 /* Override any GCC internal prototype to avoid an error.
29353 Use char because int might match the return type of a GCC
29354 builtin and then its argument prototype would still apply. */
29358 char mspack_create_chm_decompressor ();
29362 return mspack_create_chm_decompressor ();
29367 rm -f conftest.$ac_objext conftest$ac_exeext
29368 if { (ac_try="$ac_link"
29369 case "(($ac_try" in
29370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29371 *) ac_try_echo=$ac_try;;
29373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29374 (eval "$ac_link") 2>conftest.er1
29376 grep -v '^ *+' conftest.er1 >conftest.err
29378 cat conftest.err >&5
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); } && {
29381 test -z "$ac_c_werror_flag" ||
29382 test ! -s conftest.err
29383 } && test -s conftest$ac_exeext &&
29384 $as_test_x conftest$ac_exeext; then
29385 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29387 echo "$as_me: failed program was:" >&5
29388 sed 's/^/| /' conftest.$ac_ext >&5
29390 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29394 conftest$ac_exeext conftest.$ac_ext
29395 LIBS=$ac_check_lib_save_LIBS
29397 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29398 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29399 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29400 MSPACK_LINK=" -lmspack"
29404 if test "x$MSPACK_LINK" = "x" ; then
29409 if test "$wxUSE_LIBMSPACK" != "no"; then
29410 cat >>confdefs.h <<\_ACEOF
29411 #define wxUSE_LIBMSPACK 1
29425 if test "$USE_WIN32" = 1 ; then
29427 for ac_header in w32api.h
29429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29430 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29433 echo $ECHO_N "(cached) $ECHO_C" >&6
29435 cat >conftest.$ac_ext <<_ACEOF
29438 cat confdefs.h >>conftest.$ac_ext
29439 cat >>conftest.$ac_ext <<_ACEOF
29440 /* end confdefs.h. */
29443 #include <$ac_header>
29445 rm -f conftest.$ac_objext
29446 if { (ac_try="$ac_compile"
29447 case "(($ac_try" in
29448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29449 *) ac_try_echo=$ac_try;;
29451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29452 (eval "$ac_compile") 2>conftest.er1
29454 grep -v '^ *+' conftest.er1 >conftest.err
29456 cat conftest.err >&5
29457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29458 (exit $ac_status); } && {
29459 test -z "$ac_c_werror_flag" ||
29460 test ! -s conftest.err
29461 } && test -s conftest.$ac_objext; then
29462 eval "$as_ac_Header=yes"
29464 echo "$as_me: failed program was:" >&5
29465 sed 's/^/| /' conftest.$ac_ext >&5
29467 eval "$as_ac_Header=no"
29470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29472 ac_res=`eval echo '${'$as_ac_Header'}'`
29473 { echo "$as_me:$LINENO: result: $ac_res" >&5
29474 echo "${ECHO_T}$ac_res" >&6; }
29475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29476 cat >>confdefs.h <<_ACEOF
29477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29484 { echo "$as_me:$LINENO: checking for windows.h" >&5
29485 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29486 if test "${ac_cv_header_windows_h+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 cat >conftest.$ac_ext <<_ACEOF
29492 cat confdefs.h >>conftest.$ac_ext
29493 cat >>conftest.$ac_ext <<_ACEOF
29494 /* end confdefs.h. */
29497 #include <windows.h>
29499 rm -f conftest.$ac_objext
29500 if { (ac_try="$ac_compile"
29501 case "(($ac_try" in
29502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29503 *) ac_try_echo=$ac_try;;
29505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29506 (eval "$ac_compile") 2>conftest.er1
29508 grep -v '^ *+' conftest.er1 >conftest.err
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } && {
29513 test -z "$ac_c_werror_flag" ||
29514 test ! -s conftest.err
29515 } && test -s conftest.$ac_objext; then
29516 ac_cv_header_windows_h=yes
29518 echo "$as_me: failed program was:" >&5
29519 sed 's/^/| /' conftest.$ac_ext >&5
29521 ac_cv_header_windows_h=no
29524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29526 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29527 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29528 if test $ac_cv_header_windows_h = yes; then
29532 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29533 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29534 { (exit 1); exit 1; }; }
29540 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29542 x86_64-*-mingw32* )
29543 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29546 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29547 LIBS="$LIBS -loleacc"
29552 LIBS="$LIBS -lkernel32 -luser32"
29555 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29556 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29558 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29560 WIN32INSTALL=win32install
29562 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29563 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29564 if test "${ac_cv_header_pbt_h+set}" = set; then
29565 echo $ECHO_N "(cached) $ECHO_C" >&6
29567 cat >conftest.$ac_ext <<_ACEOF
29570 cat confdefs.h >>conftest.$ac_ext
29571 cat >>conftest.$ac_ext <<_ACEOF
29572 /* end confdefs.h. */
29577 rm -f conftest.$ac_objext
29578 if { (ac_try="$ac_compile"
29579 case "(($ac_try" in
29580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29581 *) ac_try_echo=$ac_try;;
29583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29584 (eval "$ac_compile") 2>conftest.er1
29586 grep -v '^ *+' conftest.er1 >conftest.err
29588 cat conftest.err >&5
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); } && {
29591 test -z "$ac_c_werror_flag" ||
29592 test ! -s conftest.err
29593 } && test -s conftest.$ac_objext; then
29594 ac_cv_header_pbt_h=yes
29596 echo "$as_me: failed program was:" >&5
29597 sed 's/^/| /' conftest.$ac_ext >&5
29599 ac_cv_header_pbt_h=no
29602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29604 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29605 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29606 if test $ac_cv_header_pbt_h = yes; then
29609 cat >>confdefs.h <<\_ACEOF
29610 #define NEED_PBT_H 1
29618 if test "$wxUSE_GUI" = "yes"; then
29628 if test "$wxUSE_OLD_COCOA" = 1 ; then
29629 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29630 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29631 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29632 wxUSE_PRINTING_ARCHITECTURE=no
29634 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29635 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29636 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29637 wxUSE_DRAG_AND_DROP=no
29639 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29640 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29641 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29646 if test "$wxUSE_MSW" = 1 ; then
29652 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29656 if test "$wxUSE_GTK" = 1; then
29657 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29658 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29660 gtk_version_cached=1
29661 if test "${wx_cv_lib_gtk+set}" = set; then
29662 echo $ECHO_N "(cached) $ECHO_C" >&6
29665 gtk_version_cached=0
29666 { echo "$as_me:$LINENO: result: " >&5
29667 echo "${ECHO_T}" >&6; }
29670 if test "$wxUSE_THREADS" = "yes"; then
29671 GTK_MODULES=gthread
29675 if test "x$wxGTK_VERSION" != "x1"
29679 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29684 # Check whether --enable-gtktest was given.
29685 if test "${enable_gtktest+set}" = set; then
29686 enableval=$enable_gtktest;
29692 pkg_config_args=gtk+-2.0
29693 for module in . $GTK_MODULES
29697 pkg_config_args="$pkg_config_args gthread-2.0"
29704 # Extract the first word of "pkg-config", so it can be a program name with args.
29705 set dummy pkg-config; ac_word=$2
29706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29708 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29709 echo $ECHO_N "(cached) $ECHO_C" >&6
29711 case $PKG_CONFIG in
29713 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29717 for as_dir in $PATH
29720 test -z "$as_dir" && as_dir=.
29721 for ac_exec_ext in '' $ac_executable_extensions; do
29722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29723 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29731 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29735 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29736 if test -n "$PKG_CONFIG"; then
29737 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29738 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29740 { echo "$as_me:$LINENO: result: no" >&5
29741 echo "${ECHO_T}no" >&6; }
29746 if test x$PKG_CONFIG != xno ; then
29747 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29750 echo "*** pkg-config too old; version 0.7 or better required."
29758 min_gtk_version=2.4.0
29759 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29760 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29762 if test x$PKG_CONFIG != xno ; then
29763 ## don't try to run the test against uninstalled libtool libs
29764 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29765 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29769 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29776 if test x"$no_gtk" = x ; then
29777 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29778 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29779 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29780 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29781 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29782 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29783 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29784 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29785 if test "x$enable_gtktest" = "xyes" ; then
29786 ac_save_CFLAGS="$CFLAGS"
29787 ac_save_LIBS="$LIBS"
29788 CFLAGS="$CFLAGS $GTK_CFLAGS"
29789 LIBS="$GTK_LIBS $LIBS"
29791 if test "$cross_compiling" = yes; then
29792 echo $ac_n "cross compiling; assumed OK... $ac_c"
29794 cat >conftest.$ac_ext <<_ACEOF
29797 cat confdefs.h >>conftest.$ac_ext
29798 cat >>conftest.$ac_ext <<_ACEOF
29799 /* end confdefs.h. */
29801 #include <gtk/gtk.h>
29803 #include <stdlib.h>
29808 int major, minor, micro;
29811 system ("touch conf.gtktest");
29813 /* HP/UX 9 (%@#!) writes to sscanf strings */
29814 tmp_version = g_strdup("$min_gtk_version");
29815 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29816 printf("%s, bad version string\n", "$min_gtk_version");
29820 if ((gtk_major_version != $gtk_config_major_version) ||
29821 (gtk_minor_version != $gtk_config_minor_version) ||
29822 (gtk_micro_version != $gtk_config_micro_version))
29824 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29825 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29826 gtk_major_version, gtk_minor_version, gtk_micro_version);
29827 printf ("*** was found! If pkg-config was correct, then it is best\n");
29828 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29829 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29830 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29831 printf("*** required on your system.\n");
29832 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29833 printf("*** to point to the correct configuration files\n");
29835 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29836 (gtk_minor_version != GTK_MINOR_VERSION) ||
29837 (gtk_micro_version != GTK_MICRO_VERSION))
29839 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29840 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29841 printf("*** library (version %d.%d.%d)\n",
29842 gtk_major_version, gtk_minor_version, gtk_micro_version);
29846 if ((gtk_major_version > major) ||
29847 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29848 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29854 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29855 gtk_major_version, gtk_minor_version, gtk_micro_version);
29856 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29857 major, minor, micro);
29858 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29860 printf("*** If you have already installed a sufficiently new version, this error\n");
29861 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29862 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29863 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29864 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29865 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29866 printf("*** so that the correct libraries are found at run-time))\n");
29873 rm -f conftest$ac_exeext
29874 if { (ac_try="$ac_link"
29875 case "(($ac_try" in
29876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29877 *) ac_try_echo=$ac_try;;
29879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29880 (eval "$ac_link") 2>&5
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29884 { (case "(($ac_try" in
29885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29886 *) ac_try_echo=$ac_try;;
29888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29889 (eval "$ac_try") 2>&5
29891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29892 (exit $ac_status); }; }; then
29895 echo "$as_me: program exited with status $ac_status" >&5
29896 echo "$as_me: failed program was:" >&5
29897 sed 's/^/| /' conftest.$ac_ext >&5
29899 ( exit $ac_status )
29902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29906 CFLAGS="$ac_save_CFLAGS"
29907 LIBS="$ac_save_LIBS"
29910 if test "x$no_gtk" = x ; then
29911 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29912 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29915 { echo "$as_me:$LINENO: result: no" >&5
29916 echo "${ECHO_T}no" >&6; }
29917 if test "$PKG_CONFIG" = "no" ; then
29918 echo "*** A new enough version of pkg-config was not found."
29919 echo "*** See http://pkgconfig.sourceforge.net"
29921 if test -f conf.gtktest ; then
29924 echo "*** Could not run GTK+ test program, checking why..."
29925 ac_save_CFLAGS="$CFLAGS"
29926 ac_save_LIBS="$LIBS"
29927 CFLAGS="$CFLAGS $GTK_CFLAGS"
29928 LIBS="$LIBS $GTK_LIBS"
29929 cat >conftest.$ac_ext <<_ACEOF
29932 cat confdefs.h >>conftest.$ac_ext
29933 cat >>conftest.$ac_ext <<_ACEOF
29934 /* end confdefs.h. */
29936 #include <gtk/gtk.h>
29942 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29947 rm -f conftest.$ac_objext conftest$ac_exeext
29948 if { (ac_try="$ac_link"
29949 case "(($ac_try" in
29950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29951 *) ac_try_echo=$ac_try;;
29953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29954 (eval "$ac_link") 2>conftest.er1
29956 grep -v '^ *+' conftest.er1 >conftest.err
29958 cat conftest.err >&5
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); } && {
29961 test -z "$ac_c_werror_flag" ||
29962 test ! -s conftest.err
29963 } && test -s conftest$ac_exeext &&
29964 $as_test_x conftest$ac_exeext; then
29965 echo "*** The test program compiled, but did not run. This usually means"
29966 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29967 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29968 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29969 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29970 echo "*** is required on your system"
29972 echo "*** If you have an old version installed, it is best to remove it, although"
29973 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29975 echo "$as_me: failed program was:" >&5
29976 sed 's/^/| /' conftest.$ac_ext >&5
29978 echo "*** The test program failed to compile or link. See the file config.log for the"
29979 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29983 conftest$ac_exeext conftest.$ac_ext
29984 CFLAGS="$ac_save_CFLAGS"
29985 LIBS="$ac_save_LIBS"
29997 GTK_LIBS="$GTK_LIBS -lX11"
30000 if test -z "$wx_cv_lib_gtk"; then
30001 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30003 # Check whether --with-gtk-prefix was given.
30004 if test "${with_gtk_prefix+set}" = set; then
30005 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30007 gtk_config_prefix=""
30011 # Check whether --with-gtk-exec-prefix was given.
30012 if test "${with_gtk_exec_prefix+set}" = set; then
30013 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30015 gtk_config_exec_prefix=""
30018 # Check whether --enable-gtktest was given.
30019 if test "${enable_gtktest+set}" = set; then
30020 enableval=$enable_gtktest;
30026 for module in . $GTK_MODULES
30030 gtk_config_args="$gtk_config_args gthread"
30035 if test x$gtk_config_exec_prefix != x ; then
30036 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30037 if test x${GTK_CONFIG+set} != xset ; then
30038 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30041 if test x$gtk_config_prefix != x ; then
30042 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30043 if test x${GTK_CONFIG+set} != xset ; then
30044 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30048 # Extract the first word of "gtk-config", so it can be a program name with args.
30049 set dummy gtk-config; ac_word=$2
30050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30052 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30053 echo $ECHO_N "(cached) $ECHO_C" >&6
30055 case $GTK_CONFIG in
30057 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30061 for as_dir in $PATH
30064 test -z "$as_dir" && as_dir=.
30065 for ac_exec_ext in '' $ac_executable_extensions; do
30066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30067 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30075 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30079 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30080 if test -n "$GTK_CONFIG"; then
30081 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30082 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30084 { echo "$as_me:$LINENO: result: no" >&5
30085 echo "${ECHO_T}no" >&6; }
30089 min_gtk_version=1.2.7
30090 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30091 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30093 if test "$GTK_CONFIG" = "no" ; then
30096 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30097 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30098 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30099 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30100 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30101 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30102 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30103 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30104 if test "x$enable_gtktest" = "xyes" ; then
30105 ac_save_CFLAGS="$CFLAGS"
30106 ac_save_LIBS="$LIBS"
30107 CFLAGS="$CFLAGS $GTK_CFLAGS"
30108 LIBS="$GTK_LIBS $LIBS"
30110 if test "$cross_compiling" = yes; then
30111 echo $ac_n "cross compiling; assumed OK... $ac_c"
30113 cat >conftest.$ac_ext <<_ACEOF
30116 cat confdefs.h >>conftest.$ac_ext
30117 cat >>conftest.$ac_ext <<_ACEOF
30118 /* end confdefs.h. */
30120 #include <gtk/gtk.h>
30122 #include <stdlib.h>
30127 int major, minor, micro;
30130 system ("touch conf.gtktest");
30132 /* HP/UX 9 (%@#!) writes to sscanf strings */
30133 tmp_version = g_strdup("$min_gtk_version");
30134 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30135 printf("%s, bad version string\n", "$min_gtk_version");
30139 if ((gtk_major_version != $gtk_config_major_version) ||
30140 (gtk_minor_version != $gtk_config_minor_version) ||
30141 (gtk_micro_version != $gtk_config_micro_version))
30143 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30144 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30145 gtk_major_version, gtk_minor_version, gtk_micro_version);
30146 printf ("*** was found! If gtk-config was correct, then it is best\n");
30147 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30148 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30149 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30150 printf("*** required on your system.\n");
30151 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30152 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30153 printf("*** before re-running configure\n");
30155 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30156 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30157 (gtk_minor_version != GTK_MINOR_VERSION) ||
30158 (gtk_micro_version != GTK_MICRO_VERSION))
30160 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30161 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30162 printf("*** library (version %d.%d.%d)\n",
30163 gtk_major_version, gtk_minor_version, gtk_micro_version);
30165 #endif /* defined (GTK_MAJOR_VERSION) ... */
30168 if ((gtk_major_version > major) ||
30169 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30170 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30176 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30177 gtk_major_version, gtk_minor_version, gtk_micro_version);
30178 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30179 major, minor, micro);
30180 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30182 printf("*** If you have already installed a sufficiently new version, this error\n");
30183 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30184 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30185 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30186 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30187 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30188 printf("*** so that the correct libraries are found at run-time))\n");
30195 rm -f conftest$ac_exeext
30196 if { (ac_try="$ac_link"
30197 case "(($ac_try" in
30198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30199 *) ac_try_echo=$ac_try;;
30201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30202 (eval "$ac_link") 2>&5
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30206 { (case "(($ac_try" in
30207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30208 *) ac_try_echo=$ac_try;;
30210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30211 (eval "$ac_try") 2>&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); }; }; then
30217 echo "$as_me: program exited with status $ac_status" >&5
30218 echo "$as_me: failed program was:" >&5
30219 sed 's/^/| /' conftest.$ac_ext >&5
30221 ( exit $ac_status )
30224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30228 CFLAGS="$ac_save_CFLAGS"
30229 LIBS="$ac_save_LIBS"
30232 if test "x$no_gtk" = x ; then
30233 { echo "$as_me:$LINENO: result: yes" >&5
30234 echo "${ECHO_T}yes" >&6; }
30235 wx_cv_lib_gtk=1.2.7
30237 { echo "$as_me:$LINENO: result: no" >&5
30238 echo "${ECHO_T}no" >&6; }
30239 if test "$GTK_CONFIG" = "no" ; then
30240 echo "*** The gtk-config script installed by GTK could not be found"
30241 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30242 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30243 echo "*** full path to gtk-config."
30245 if test -f conf.gtktest ; then
30248 echo "*** Could not run GTK test program, checking why..."
30249 CFLAGS="$CFLAGS $GTK_CFLAGS"
30250 LIBS="$LIBS $GTK_LIBS"
30251 cat >conftest.$ac_ext <<_ACEOF
30254 cat confdefs.h >>conftest.$ac_ext
30255 cat >>conftest.$ac_ext <<_ACEOF
30256 /* end confdefs.h. */
30258 #include <gtk/gtk.h>
30264 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30269 rm -f conftest.$ac_objext conftest$ac_exeext
30270 if { (ac_try="$ac_link"
30271 case "(($ac_try" in
30272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30273 *) ac_try_echo=$ac_try;;
30275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30276 (eval "$ac_link") 2>conftest.er1
30278 grep -v '^ *+' conftest.er1 >conftest.err
30280 cat conftest.err >&5
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); } && {
30283 test -z "$ac_c_werror_flag" ||
30284 test ! -s conftest.err
30285 } && test -s conftest$ac_exeext &&
30286 $as_test_x conftest$ac_exeext; then
30287 echo "*** The test program compiled, but did not run. This usually means"
30288 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30289 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30290 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30291 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30292 echo "*** is required on your system"
30294 echo "*** If you have an old version installed, it is best to remove it, although"
30295 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30297 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30298 echo "*** came with the system with the command"
30300 echo "*** rpm --erase --nodeps gtk gtk-devel"
30302 echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.$ac_ext >&5
30305 echo "*** The test program failed to compile or link. See the file config.log for the"
30306 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30307 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30308 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30312 conftest$ac_exeext conftest.$ac_ext
30313 CFLAGS="$ac_save_CFLAGS"
30314 LIBS="$ac_save_LIBS"
30326 if test -z "$wx_cv_lib_gtk"; then
30328 # Check whether --with-gtk-prefix was given.
30329 if test "${with_gtk_prefix+set}" = set; then
30330 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30332 gtk_config_prefix=""
30336 # Check whether --with-gtk-exec-prefix was given.
30337 if test "${with_gtk_exec_prefix+set}" = set; then
30338 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30340 gtk_config_exec_prefix=""
30343 # Check whether --enable-gtktest was given.
30344 if test "${enable_gtktest+set}" = set; then
30345 enableval=$enable_gtktest;
30351 for module in . $GTK_MODULES
30355 gtk_config_args="$gtk_config_args gthread"
30360 if test x$gtk_config_exec_prefix != x ; then
30361 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30362 if test x${GTK_CONFIG+set} != xset ; then
30363 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30366 if test x$gtk_config_prefix != x ; then
30367 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30368 if test x${GTK_CONFIG+set} != xset ; then
30369 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30373 # Extract the first word of "gtk-config", so it can be a program name with args.
30374 set dummy gtk-config; ac_word=$2
30375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30377 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30378 echo $ECHO_N "(cached) $ECHO_C" >&6
30380 case $GTK_CONFIG in
30382 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30386 for as_dir in $PATH
30389 test -z "$as_dir" && as_dir=.
30390 for ac_exec_ext in '' $ac_executable_extensions; do
30391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30392 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30400 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30404 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30405 if test -n "$GTK_CONFIG"; then
30406 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30407 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30409 { echo "$as_me:$LINENO: result: no" >&5
30410 echo "${ECHO_T}no" >&6; }
30414 min_gtk_version=1.2.3
30415 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30416 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30418 if test "$GTK_CONFIG" = "no" ; then
30421 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30422 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30423 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30424 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30425 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30426 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30427 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30428 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30429 if test "x$enable_gtktest" = "xyes" ; then
30430 ac_save_CFLAGS="$CFLAGS"
30431 ac_save_LIBS="$LIBS"
30432 CFLAGS="$CFLAGS $GTK_CFLAGS"
30433 LIBS="$GTK_LIBS $LIBS"
30435 if test "$cross_compiling" = yes; then
30436 echo $ac_n "cross compiling; assumed OK... $ac_c"
30438 cat >conftest.$ac_ext <<_ACEOF
30441 cat confdefs.h >>conftest.$ac_ext
30442 cat >>conftest.$ac_ext <<_ACEOF
30443 /* end confdefs.h. */
30445 #include <gtk/gtk.h>
30447 #include <stdlib.h>
30452 int major, minor, micro;
30455 system ("touch conf.gtktest");
30457 /* HP/UX 9 (%@#!) writes to sscanf strings */
30458 tmp_version = g_strdup("$min_gtk_version");
30459 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30460 printf("%s, bad version string\n", "$min_gtk_version");
30464 if ((gtk_major_version != $gtk_config_major_version) ||
30465 (gtk_minor_version != $gtk_config_minor_version) ||
30466 (gtk_micro_version != $gtk_config_micro_version))
30468 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30469 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30470 gtk_major_version, gtk_minor_version, gtk_micro_version);
30471 printf ("*** was found! If gtk-config was correct, then it is best\n");
30472 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30473 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30474 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30475 printf("*** required on your system.\n");
30476 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30477 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30478 printf("*** before re-running configure\n");
30480 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30481 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30482 (gtk_minor_version != GTK_MINOR_VERSION) ||
30483 (gtk_micro_version != GTK_MICRO_VERSION))
30485 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30486 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30487 printf("*** library (version %d.%d.%d)\n",
30488 gtk_major_version, gtk_minor_version, gtk_micro_version);
30490 #endif /* defined (GTK_MAJOR_VERSION) ... */
30493 if ((gtk_major_version > major) ||
30494 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30495 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30501 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30502 gtk_major_version, gtk_minor_version, gtk_micro_version);
30503 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30504 major, minor, micro);
30505 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30507 printf("*** If you have already installed a sufficiently new version, this error\n");
30508 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30509 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30510 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30511 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30512 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30513 printf("*** so that the correct libraries are found at run-time))\n");
30520 rm -f conftest$ac_exeext
30521 if { (ac_try="$ac_link"
30522 case "(($ac_try" in
30523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30524 *) ac_try_echo=$ac_try;;
30526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30527 (eval "$ac_link") 2>&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30531 { (case "(($ac_try" in
30532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30533 *) ac_try_echo=$ac_try;;
30535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30536 (eval "$ac_try") 2>&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); }; }; then
30542 echo "$as_me: program exited with status $ac_status" >&5
30543 echo "$as_me: failed program was:" >&5
30544 sed 's/^/| /' conftest.$ac_ext >&5
30546 ( exit $ac_status )
30549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30553 CFLAGS="$ac_save_CFLAGS"
30554 LIBS="$ac_save_LIBS"
30557 if test "x$no_gtk" = x ; then
30558 { echo "$as_me:$LINENO: result: yes" >&5
30559 echo "${ECHO_T}yes" >&6; }
30560 wx_cv_lib_gtk=1.2.3
30562 { echo "$as_me:$LINENO: result: no" >&5
30563 echo "${ECHO_T}no" >&6; }
30564 if test "$GTK_CONFIG" = "no" ; then
30565 echo "*** The gtk-config script installed by GTK could not be found"
30566 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30567 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30568 echo "*** full path to gtk-config."
30570 if test -f conf.gtktest ; then
30573 echo "*** Could not run GTK test program, checking why..."
30574 CFLAGS="$CFLAGS $GTK_CFLAGS"
30575 LIBS="$LIBS $GTK_LIBS"
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 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30594 rm -f conftest.$ac_objext conftest$ac_exeext
30595 if { (ac_try="$ac_link"
30596 case "(($ac_try" in
30597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30598 *) ac_try_echo=$ac_try;;
30600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30601 (eval "$ac_link") 2>conftest.er1
30603 grep -v '^ *+' conftest.er1 >conftest.err
30605 cat conftest.err >&5
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); } && {
30608 test -z "$ac_c_werror_flag" ||
30609 test ! -s conftest.err
30610 } && test -s conftest$ac_exeext &&
30611 $as_test_x conftest$ac_exeext; then
30612 echo "*** The test program compiled, but did not run. This usually means"
30613 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30614 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30615 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30616 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30617 echo "*** is required on your system"
30619 echo "*** If you have an old version installed, it is best to remove it, although"
30620 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30622 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30623 echo "*** came with the system with the command"
30625 echo "*** rpm --erase --nodeps gtk gtk-devel"
30627 echo "$as_me: failed program was:" >&5
30628 sed 's/^/| /' conftest.$ac_ext >&5
30630 echo "*** The test program failed to compile or link. See the file config.log for the"
30631 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30632 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30633 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30637 conftest$ac_exeext conftest.$ac_ext
30638 CFLAGS="$ac_save_CFLAGS"
30639 LIBS="$ac_save_LIBS"
30654 if test -z "$wx_cv_lib_gtk"; then
30657 wx_cv_cflags_gtk=$GTK_CFLAGS
30658 wx_cv_libs_gtk=$GTK_LIBS
30665 if test "$gtk_version_cached" = 1; then
30666 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30667 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30670 case "$wx_cv_lib_gtk" in
30679 *) { { echo "$as_me:$LINENO: error:
30680 The development files for GTK+ were not found. For GTK+ 2, please
30681 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30682 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30683 and that the version is 1.2.3 or above. Also check that the
30684 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30685 --libs' are in the LD_LIBRARY_PATH or equivalent.
30687 echo "$as_me: error:
30688 The development files for GTK+ were not found. For GTK+ 2, please
30689 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30690 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30691 and that the version is 1.2.3 or above. Also check that the
30692 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30693 --libs' are in the LD_LIBRARY_PATH or equivalent.
30695 { (exit 1); exit 1; }; }
30699 if test "$WXGTK2" = 1; then
30700 save_CFLAGS="$CFLAGS"
30702 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30703 LIBS="$LIBS $wx_cv_libs_gtk"
30705 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30706 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30707 cat >conftest.$ac_ext <<_ACEOF
30710 cat confdefs.h >>conftest.$ac_ext
30711 cat >>conftest.$ac_ext <<_ACEOF
30712 /* end confdefs.h. */
30714 #include <gtk/gtk.h>
30720 #if !GTK_CHECK_VERSION(2,18,0)
30728 rm -f conftest.$ac_objext
30729 if { (ac_try="$ac_compile"
30730 case "(($ac_try" in
30731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30732 *) ac_try_echo=$ac_try;;
30734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30735 (eval "$ac_compile") 2>conftest.er1
30737 grep -v '^ *+' conftest.er1 >conftest.err
30739 cat conftest.err >&5
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); } && {
30742 test -z "$ac_c_werror_flag" ||
30743 test ! -s conftest.err
30744 } && test -s conftest.$ac_objext; then
30746 cat >>confdefs.h <<\_ACEOF
30747 #define __WXGTK218__ 1
30750 cat >>confdefs.h <<\_ACEOF
30751 #define __WXGTK210__ 1
30754 cat >>confdefs.h <<\_ACEOF
30755 #define __WXGTK26__ 1
30758 { echo "$as_me:$LINENO: result: yes" >&5
30759 echo "${ECHO_T}yes" >&6; }
30763 echo "$as_me: failed program was:" >&5
30764 sed 's/^/| /' conftest.$ac_ext >&5
30767 { echo "$as_me:$LINENO: result: no" >&5
30768 echo "${ECHO_T}no" >&6; }
30773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30775 if test "$ac_wxgtk218" = 0; then
30776 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30777 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30778 cat >conftest.$ac_ext <<_ACEOF
30781 cat confdefs.h >>conftest.$ac_ext
30782 cat >>conftest.$ac_ext <<_ACEOF
30783 /* end confdefs.h. */
30785 #include <gtk/gtk.h>
30791 #if !GTK_CHECK_VERSION(2,10,0)
30799 rm -f conftest.$ac_objext
30800 if { (ac_try="$ac_compile"
30801 case "(($ac_try" in
30802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30803 *) ac_try_echo=$ac_try;;
30805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30806 (eval "$ac_compile") 2>conftest.er1
30808 grep -v '^ *+' conftest.er1 >conftest.err
30810 cat conftest.err >&5
30811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30812 (exit $ac_status); } && {
30813 test -z "$ac_c_werror_flag" ||
30814 test ! -s conftest.err
30815 } && test -s conftest.$ac_objext; then
30817 cat >>confdefs.h <<\_ACEOF
30818 #define __WXGTK210__ 1
30821 cat >>confdefs.h <<\_ACEOF
30822 #define __WXGTK26__ 1
30825 { echo "$as_me:$LINENO: result: yes" >&5
30826 echo "${ECHO_T}yes" >&6; }
30830 echo "$as_me: failed program was:" >&5
30831 sed 's/^/| /' conftest.$ac_ext >&5
30834 { echo "$as_me:$LINENO: result: no" >&5
30835 echo "${ECHO_T}no" >&6; }
30840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30842 if test "$ac_wxgtk210" = 0; then
30843 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30844 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30845 cat >conftest.$ac_ext <<_ACEOF
30848 cat confdefs.h >>conftest.$ac_ext
30849 cat >>conftest.$ac_ext <<_ACEOF
30850 /* end confdefs.h. */
30852 #include <gtk/gtk.h>
30858 #if !GTK_CHECK_VERSION(2,6,0)
30866 rm -f conftest.$ac_objext
30867 if { (ac_try="$ac_compile"
30868 case "(($ac_try" in
30869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30870 *) ac_try_echo=$ac_try;;
30872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30873 (eval "$ac_compile") 2>conftest.er1
30875 grep -v '^ *+' conftest.er1 >conftest.err
30877 cat conftest.err >&5
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); } && {
30880 test -z "$ac_c_werror_flag" ||
30881 test ! -s conftest.err
30882 } && test -s conftest.$ac_objext; then
30884 cat >>confdefs.h <<\_ACEOF
30885 #define __WXGTK26__ 1
30888 { echo "$as_me:$LINENO: result: yes" >&5
30889 echo "${ECHO_T}yes" >&6; }
30893 echo "$as_me: failed program was:" >&5
30894 sed 's/^/| /' conftest.$ac_ext >&5
30897 { echo "$as_me:$LINENO: result: no" >&5
30898 echo "${ECHO_T}no" >&6; }
30903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30907 CFLAGS="$save_CFLAGS"
30910 if test "$wxUSE_UNICODE" = "yes"; then
30911 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30912 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30916 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30917 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30918 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30919 echo $ECHO_N "(cached) $ECHO_C" >&6
30921 ac_check_lib_save_LIBS=$LIBS
30923 cat >conftest.$ac_ext <<_ACEOF
30926 cat confdefs.h >>conftest.$ac_ext
30927 cat >>conftest.$ac_ext <<_ACEOF
30928 /* end confdefs.h. */
30930 /* Override any GCC internal prototype to avoid an error.
30931 Use char because int might match the return type of a GCC
30932 builtin and then its argument prototype would still apply. */
30936 char gdk_im_open ();
30940 return gdk_im_open ();
30945 rm -f conftest.$ac_objext conftest$ac_exeext
30946 if { (ac_try="$ac_link"
30947 case "(($ac_try" in
30948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30949 *) ac_try_echo=$ac_try;;
30951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30952 (eval "$ac_link") 2>conftest.er1
30954 grep -v '^ *+' conftest.er1 >conftest.err
30956 cat conftest.err >&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } && {
30959 test -z "$ac_c_werror_flag" ||
30960 test ! -s conftest.err
30961 } && test -s conftest$ac_exeext &&
30962 $as_test_x conftest$ac_exeext; then
30963 ac_cv_lib_gdk_gdk_im_open=yes
30965 echo "$as_me: failed program was:" >&5
30966 sed 's/^/| /' conftest.$ac_ext >&5
30968 ac_cv_lib_gdk_gdk_im_open=no
30971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30972 conftest$ac_exeext conftest.$ac_ext
30973 LIBS=$ac_check_lib_save_LIBS
30975 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30976 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30977 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30978 cat >>confdefs.h <<\_ACEOF
30985 if test "$USE_DARWIN" != 1; then
30987 for ac_func in poll
30989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30993 echo $ECHO_N "(cached) $ECHO_C" >&6
30995 cat >conftest.$ac_ext <<_ACEOF
30998 cat confdefs.h >>conftest.$ac_ext
30999 cat >>conftest.$ac_ext <<_ACEOF
31000 /* end confdefs.h. */
31001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31003 #define $ac_func innocuous_$ac_func
31005 /* System header to define __stub macros and hopefully few prototypes,
31006 which can conflict with char $ac_func (); below.
31007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31008 <limits.h> exists even on freestanding compilers. */
31011 # include <limits.h>
31013 # include <assert.h>
31018 /* Override any GCC internal prototype to avoid an error.
31019 Use char because int might match the return type of a GCC
31020 builtin and then its argument prototype would still apply. */
31025 /* The GNU C library defines this for functions which it implements
31026 to always fail with ENOSYS. Some functions are actually named
31027 something starting with __ and the normal name is an alias. */
31028 #if defined __stub_$ac_func || defined __stub___$ac_func
31035 return $ac_func ();
31040 rm -f conftest.$ac_objext conftest$ac_exeext
31041 if { (ac_try="$ac_link"
31042 case "(($ac_try" in
31043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31044 *) ac_try_echo=$ac_try;;
31046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31047 (eval "$ac_link") 2>conftest.er1
31049 grep -v '^ *+' conftest.er1 >conftest.err
31051 cat conftest.err >&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); } && {
31054 test -z "$ac_c_werror_flag" ||
31055 test ! -s conftest.err
31056 } && test -s conftest$ac_exeext &&
31057 $as_test_x conftest$ac_exeext; then
31058 eval "$as_ac_var=yes"
31060 echo "$as_me: failed program was:" >&5
31061 sed 's/^/| /' conftest.$ac_ext >&5
31063 eval "$as_ac_var=no"
31066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31067 conftest$ac_exeext conftest.$ac_ext
31069 ac_res=`eval echo '${'$as_ac_var'}'`
31070 { echo "$as_me:$LINENO: result: $ac_res" >&5
31071 echo "${ECHO_T}$ac_res" >&6; }
31072 if test `eval echo '${'$as_ac_var'}'` = yes; then
31073 cat >>confdefs.h <<_ACEOF
31074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31083 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31084 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31086 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31088 AFMINSTALL=afminstall
31092 if test "$wxUSE_GPE" = "yes"; then
31093 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31094 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31097 for ac_dir in $SEARCH_LIB
31099 for ac_extension in a so sl dylib dll.a; do
31100 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31101 ac_find_libraries=$ac_dir
31107 if test "$ac_find_libraries" != "" ; then
31109 if test "$ac_find_libraries" = "default location"; then
31112 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31114 if test $result = 0; then
31117 ac_path_to_link=" -L$ac_find_libraries"
31121 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31123 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31124 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31126 { echo "$as_me:$LINENO: result: not found" >&5
31127 echo "${ECHO_T}not found" >&6; }
31133 if test "$wxUSE_MGL" = 1; then
31134 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31135 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31136 if test "x$MGL_ROOT" = x ; then
31137 { echo "$as_me:$LINENO: result: not found" >&5
31138 echo "${ECHO_T}not found" >&6; }
31139 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31140 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31141 { (exit 1); exit 1; }; }
31143 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31144 echo "${ECHO_T}$MGL_ROOT" >&6; }
31147 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31148 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31151 if test "x$wxUSE_SHARED" = xyes ; then
31152 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31154 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31158 mgl_os_candidates="dos32/dj2"
31161 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31162 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31163 { (exit 1); exit 1; }; }
31169 for mgl_os_i in $mgl_os_candidates ; do
31170 if test "x$mgl_os" = x ; then
31171 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31172 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31173 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31178 if test "x$mgl_lib_type" = x ; then
31179 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31180 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31181 mgl_lib_type=release
31188 if test "x$mgl_os" = x ; then
31189 { echo "$as_me:$LINENO: result: not found" >&5
31190 echo "${ECHO_T}not found" >&6; }
31191 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31192 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31193 { (exit 1); exit 1; }; }
31195 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31196 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31198 wxUSE_UNIVERSAL="yes"
31200 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31201 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31203 AFMINSTALL=afminstall
31208 if test "$wxUSE_DFB" = 1; then
31211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31212 if test -n "$ac_tool_prefix"; then
31213 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31214 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31217 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31218 echo $ECHO_N "(cached) $ECHO_C" >&6
31220 case $PKG_CONFIG in
31222 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31226 for as_dir in $PATH
31229 test -z "$as_dir" && as_dir=.
31230 for ac_exec_ext in '' $ac_executable_extensions; do
31231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31232 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31243 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31244 if test -n "$PKG_CONFIG"; then
31245 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31246 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31248 { echo "$as_me:$LINENO: result: no" >&5
31249 echo "${ECHO_T}no" >&6; }
31254 if test -z "$ac_cv_path_PKG_CONFIG"; then
31255 ac_pt_PKG_CONFIG=$PKG_CONFIG
31256 # Extract the first word of "pkg-config", so it can be a program name with args.
31257 set dummy pkg-config; ac_word=$2
31258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31260 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31261 echo $ECHO_N "(cached) $ECHO_C" >&6
31263 case $ac_pt_PKG_CONFIG in
31265 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31269 for as_dir in $PATH
31272 test -z "$as_dir" && as_dir=.
31273 for ac_exec_ext in '' $ac_executable_extensions; do
31274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31275 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31286 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31287 if test -n "$ac_pt_PKG_CONFIG"; then
31288 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31289 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31291 { echo "$as_me:$LINENO: result: no" >&5
31292 echo "${ECHO_T}no" >&6; }
31295 if test "x$ac_pt_PKG_CONFIG" = x; then
31298 case $cross_compiling:$ac_tool_warned in
31300 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31301 whose name does not start with the host triplet. If you think this
31302 configuration is useful to you, please write to autoconf@gnu.org." >&5
31303 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31304 whose name does not start with the host triplet. If you think this
31305 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31306 ac_tool_warned=yes ;;
31308 PKG_CONFIG=$ac_pt_PKG_CONFIG
31311 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31315 if test -n "$PKG_CONFIG"; then
31316 _pkg_min_version=0.9.0
31317 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31318 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31319 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31320 { echo "$as_me:$LINENO: result: yes" >&5
31321 echo "${ECHO_T}yes" >&6; }
31323 { echo "$as_me:$LINENO: result: no" >&5
31324 echo "${ECHO_T}no" >&6; }
31332 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31333 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31335 if test -n "$PKG_CONFIG"; then
31336 if test -n "$DIRECTFB_CFLAGS"; then
31337 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31339 if test -n "$PKG_CONFIG" && \
31340 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31341 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; then
31345 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31353 if test -n "$PKG_CONFIG"; then
31354 if test -n "$DIRECTFB_LIBS"; then
31355 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31357 if test -n "$PKG_CONFIG" && \
31358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31359 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); }; then
31363 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31374 if test $pkg_failed = yes; then
31376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31377 _pkg_short_errors_supported=yes
31379 _pkg_short_errors_supported=no
31381 if test $_pkg_short_errors_supported = yes; then
31382 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31384 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31386 # Put the nasty error message in config.log where it belongs
31387 echo "$DIRECTFB_PKG_ERRORS" >&5
31390 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31391 echo "$as_me: error: DirectFB not found." >&2;}
31392 { (exit 1); exit 1; }; }
31395 elif test $pkg_failed = untried; then
31397 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31398 echo "$as_me: error: DirectFB not found." >&2;}
31399 { (exit 1); exit 1; }; }
31403 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31404 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31405 { echo "$as_me:$LINENO: result: yes" >&5
31406 echo "${ECHO_T}yes" >&6; }
31408 wxUSE_UNIVERSAL="yes"
31409 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31410 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31417 if test "$wxUSE_MICROWIN" = 1; then
31418 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31419 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31420 if test "x$MICROWINDOWS" = x ; then
31421 { echo "$as_me:$LINENO: result: not found" >&5
31422 echo "${ECHO_T}not found" >&6; }
31423 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31424 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31425 { (exit 1); exit 1; }; }
31427 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31428 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31431 if test -f $MICROWINDOWS/lib/libmwin.a; then
31432 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31433 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31435 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31436 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31437 { (exit 1); exit 1; }; }
31440 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31441 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31443 wxUSE_UNIVERSAL="yes"
31445 AFMINSTALL=afminstall
31447 GUIDIST=MICROWIN_DIST
31449 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31452 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31453 { echo "$as_me:$LINENO: checking for X" >&5
31454 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31457 # Check whether --with-x was given.
31458 if test "${with_x+set}" = set; then
31462 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31463 if test "x$with_x" = xno; then
31464 # The user explicitly disabled X.
31467 case $x_includes,$x_libraries in #(
31468 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31469 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31470 { (exit 1); exit 1; }; };; #(
31471 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31472 echo $ECHO_N "(cached) $ECHO_C" >&6
31474 # One or both of the vars are not set, and there is no cached value.
31475 ac_x_includes=no ac_x_libraries=no
31476 rm -f -r conftest.dir
31477 if mkdir conftest.dir; then
31479 cat >Imakefile <<'_ACEOF'
31481 @echo incroot='${INCROOT}'
31483 @echo usrlibdir='${USRLIBDIR}'
31485 @echo libdir='${LIBDIR}'
31487 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31488 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31489 for ac_var in incroot usrlibdir libdir; do
31490 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31492 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31493 for ac_extension in a so sl; do
31494 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31495 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31496 ac_im_usrlibdir=$ac_im_libdir; break
31499 # Screen out bogus values from the imake configuration. They are
31500 # bogus both because they are the default anyway, and because
31501 # using them would break gcc on systems where it needs fixed includes.
31502 case $ac_im_incroot in
31503 /usr/include) ac_x_includes= ;;
31504 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31506 case $ac_im_usrlibdir in
31507 /usr/lib | /lib) ;;
31508 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31512 rm -f -r conftest.dir
31515 # Standard set of common directories for X headers.
31516 # Check X11 before X11Rn because it is often a symlink to the current release.
31528 /usr/local/X11/include
31529 /usr/local/X11R6/include
31530 /usr/local/X11R5/include
31531 /usr/local/X11R4/include
31533 /usr/local/include/X11
31534 /usr/local/include/X11R6
31535 /usr/local/include/X11R5
31536 /usr/local/include/X11R4
31540 /usr/XFree86/include/X11
31544 /usr/unsupported/include
31545 /usr/athena/include
31546 /usr/local/x11r5/include
31547 /usr/lpp/Xamples/include
31549 /usr/openwin/include
31550 /usr/openwin/share/include'
31552 if test "$ac_x_includes" = no; then
31553 # Guess where to find include files, by looking for Xlib.h.
31554 # First, try using that file with no special directory specified.
31555 cat >conftest.$ac_ext <<_ACEOF
31558 cat confdefs.h >>conftest.$ac_ext
31559 cat >>conftest.$ac_ext <<_ACEOF
31560 /* end confdefs.h. */
31561 #include <X11/Xlib.h>
31563 if { (ac_try="$ac_cpp conftest.$ac_ext"
31564 case "(($ac_try" in
31565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31566 *) ac_try_echo=$ac_try;;
31568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31571 grep -v '^ *+' conftest.er1 >conftest.err
31573 cat conftest.err >&5
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); } >/dev/null && {
31576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31577 test ! -s conftest.err
31579 # We can compile using X headers with no special include directory.
31582 echo "$as_me: failed program was:" >&5
31583 sed 's/^/| /' conftest.$ac_ext >&5
31585 for ac_dir in $ac_x_header_dirs; do
31586 if test -r "$ac_dir/X11/Xlib.h"; then
31587 ac_x_includes=$ac_dir
31593 rm -f conftest.err conftest.$ac_ext
31594 fi # $ac_x_includes = no
31596 if test "$ac_x_libraries" = no; then
31597 # Check for the libraries.
31598 # See if we find them without any special options.
31599 # Don't add to $LIBS permanently.
31602 cat >conftest.$ac_ext <<_ACEOF
31605 cat confdefs.h >>conftest.$ac_ext
31606 cat >>conftest.$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31608 #include <X11/Xlib.h>
31617 rm -f conftest.$ac_objext conftest$ac_exeext
31618 if { (ac_try="$ac_link"
31619 case "(($ac_try" in
31620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31621 *) ac_try_echo=$ac_try;;
31623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31624 (eval "$ac_link") 2>conftest.er1
31626 grep -v '^ *+' conftest.er1 >conftest.err
31628 cat conftest.err >&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } && {
31631 test -z "$ac_c_werror_flag" ||
31632 test ! -s conftest.err
31633 } && test -s conftest$ac_exeext &&
31634 $as_test_x conftest$ac_exeext; then
31636 # We can link X programs with no special library path.
31639 echo "$as_me: failed program was:" >&5
31640 sed 's/^/| /' conftest.$ac_ext >&5
31643 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31645 # Don't even attempt the hair of trying to link an X program!
31646 for ac_extension in a so sl; do
31647 if test -r "$ac_dir/libX11.$ac_extension"; then
31648 ac_x_libraries=$ac_dir
31655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31656 conftest$ac_exeext conftest.$ac_ext
31657 fi # $ac_x_libraries = no
31659 case $ac_x_includes,$ac_x_libraries in #(
31660 no,* | *,no | *\'*)
31661 # Didn't find X, or a directory has "'" in its name.
31662 ac_cv_have_x="have_x=no";; #(
31664 # Record where we found X for the cache.
31665 ac_cv_have_x="have_x=yes\
31666 ac_x_includes='$ac_x_includes'\
31667 ac_x_libraries='$ac_x_libraries'"
31673 eval "$ac_cv_have_x"
31676 if test "$have_x" != yes; then
31677 { echo "$as_me:$LINENO: result: $have_x" >&5
31678 echo "${ECHO_T}$have_x" >&6; }
31681 # If each of the values was on the command line, it overrides each guess.
31682 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31683 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31684 # Update the cache value to reflect the command line values.
31685 ac_cv_have_x="have_x=yes\
31686 ac_x_includes='$x_includes'\
31687 ac_x_libraries='$x_libraries'"
31688 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31689 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31692 if test "$no_x" = yes; then
31693 # Not all programs may use this symbol, but it does not hurt to define it.
31695 cat >>confdefs.h <<\_ACEOF
31696 #define X_DISPLAY_MISSING 1
31699 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31701 if test -n "$x_includes"; then
31702 X_CFLAGS="$X_CFLAGS -I$x_includes"
31705 # It would also be nice to do this for all -L options, not just this one.
31706 if test -n "$x_libraries"; then
31707 X_LIBS="$X_LIBS -L$x_libraries"
31708 # For Solaris; some versions of Sun CC require a space after -R and
31709 # others require no space. Words are not sufficient . . . .
31710 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31711 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31712 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31713 ac_xsave_c_werror_flag=$ac_c_werror_flag
31714 ac_c_werror_flag=yes
31715 cat >conftest.$ac_ext <<_ACEOF
31718 cat confdefs.h >>conftest.$ac_ext
31719 cat >>conftest.$ac_ext <<_ACEOF
31720 /* end confdefs.h. */
31730 rm -f conftest.$ac_objext conftest$ac_exeext
31731 if { (ac_try="$ac_link"
31732 case "(($ac_try" in
31733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31734 *) ac_try_echo=$ac_try;;
31736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31737 (eval "$ac_link") 2>conftest.er1
31739 grep -v '^ *+' conftest.er1 >conftest.err
31741 cat conftest.err >&5
31742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31743 (exit $ac_status); } && {
31744 test -z "$ac_c_werror_flag" ||
31745 test ! -s conftest.err
31746 } && test -s conftest$ac_exeext &&
31747 $as_test_x conftest$ac_exeext; then
31748 { echo "$as_me:$LINENO: result: no" >&5
31749 echo "${ECHO_T}no" >&6; }
31750 X_LIBS="$X_LIBS -R$x_libraries"
31752 echo "$as_me: failed program was:" >&5
31753 sed 's/^/| /' conftest.$ac_ext >&5
31755 LIBS="$ac_xsave_LIBS -R $x_libraries"
31756 cat >conftest.$ac_ext <<_ACEOF
31759 cat confdefs.h >>conftest.$ac_ext
31760 cat >>conftest.$ac_ext <<_ACEOF
31761 /* end confdefs.h. */
31771 rm -f conftest.$ac_objext conftest$ac_exeext
31772 if { (ac_try="$ac_link"
31773 case "(($ac_try" in
31774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31775 *) ac_try_echo=$ac_try;;
31777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31778 (eval "$ac_link") 2>conftest.er1
31780 grep -v '^ *+' conftest.er1 >conftest.err
31782 cat conftest.err >&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); } && {
31785 test -z "$ac_c_werror_flag" ||
31786 test ! -s conftest.err
31787 } && test -s conftest$ac_exeext &&
31788 $as_test_x conftest$ac_exeext; then
31789 { echo "$as_me:$LINENO: result: yes" >&5
31790 echo "${ECHO_T}yes" >&6; }
31791 X_LIBS="$X_LIBS -R $x_libraries"
31793 echo "$as_me: failed program was:" >&5
31794 sed 's/^/| /' conftest.$ac_ext >&5
31796 { echo "$as_me:$LINENO: result: neither works" >&5
31797 echo "${ECHO_T}neither works" >&6; }
31800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31801 conftest$ac_exeext conftest.$ac_ext
31804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31805 conftest$ac_exeext conftest.$ac_ext
31806 ac_c_werror_flag=$ac_xsave_c_werror_flag
31807 LIBS=$ac_xsave_LIBS
31810 # Check for system-dependent libraries X programs must link with.
31811 # Do this before checking for the system-independent R6 libraries
31812 # (-lICE), since we may need -lsocket or whatever for X linking.
31814 if test "$ISC" = yes; then
31815 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31817 # Martyn Johnson says this is needed for Ultrix, if the X
31818 # libraries were built with DECnet support. And Karl Berry says
31819 # the Alpha needs dnet_stub (dnet does not exist).
31820 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31821 cat >conftest.$ac_ext <<_ACEOF
31824 cat confdefs.h >>conftest.$ac_ext
31825 cat >>conftest.$ac_ext <<_ACEOF
31826 /* end confdefs.h. */
31828 /* Override any GCC internal prototype to avoid an error.
31829 Use char because int might match the return type of a GCC
31830 builtin and then its argument prototype would still apply. */
31834 char XOpenDisplay ();
31838 return XOpenDisplay ();
31843 rm -f conftest.$ac_objext conftest$ac_exeext
31844 if { (ac_try="$ac_link"
31845 case "(($ac_try" in
31846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31847 *) ac_try_echo=$ac_try;;
31849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31850 (eval "$ac_link") 2>conftest.er1
31852 grep -v '^ *+' conftest.er1 >conftest.err
31854 cat conftest.err >&5
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); } && {
31857 test -z "$ac_c_werror_flag" ||
31858 test ! -s conftest.err
31859 } && test -s conftest$ac_exeext &&
31860 $as_test_x conftest$ac_exeext; then
31863 echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.$ac_ext >&5
31866 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31867 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31868 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31869 echo $ECHO_N "(cached) $ECHO_C" >&6
31871 ac_check_lib_save_LIBS=$LIBS
31872 LIBS="-ldnet $LIBS"
31873 cat >conftest.$ac_ext <<_ACEOF
31876 cat confdefs.h >>conftest.$ac_ext
31877 cat >>conftest.$ac_ext <<_ACEOF
31878 /* end confdefs.h. */
31880 /* Override any GCC internal prototype to avoid an error.
31881 Use char because int might match the return type of a GCC
31882 builtin and then its argument prototype would still apply. */
31890 return dnet_ntoa ();
31895 rm -f conftest.$ac_objext conftest$ac_exeext
31896 if { (ac_try="$ac_link"
31897 case "(($ac_try" in
31898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31899 *) ac_try_echo=$ac_try;;
31901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31902 (eval "$ac_link") 2>conftest.er1
31904 grep -v '^ *+' conftest.er1 >conftest.err
31906 cat conftest.err >&5
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); } && {
31909 test -z "$ac_c_werror_flag" ||
31910 test ! -s conftest.err
31911 } && test -s conftest$ac_exeext &&
31912 $as_test_x conftest$ac_exeext; then
31913 ac_cv_lib_dnet_dnet_ntoa=yes
31915 echo "$as_me: failed program was:" >&5
31916 sed 's/^/| /' conftest.$ac_ext >&5
31918 ac_cv_lib_dnet_dnet_ntoa=no
31921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31922 conftest$ac_exeext conftest.$ac_ext
31923 LIBS=$ac_check_lib_save_LIBS
31925 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31926 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31927 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31928 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31931 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31932 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31933 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31934 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31935 echo $ECHO_N "(cached) $ECHO_C" >&6
31937 ac_check_lib_save_LIBS=$LIBS
31938 LIBS="-ldnet_stub $LIBS"
31939 cat >conftest.$ac_ext <<_ACEOF
31942 cat confdefs.h >>conftest.$ac_ext
31943 cat >>conftest.$ac_ext <<_ACEOF
31944 /* end confdefs.h. */
31946 /* Override any GCC internal prototype to avoid an error.
31947 Use char because int might match the return type of a GCC
31948 builtin and then its argument prototype would still apply. */
31956 return dnet_ntoa ();
31961 rm -f conftest.$ac_objext conftest$ac_exeext
31962 if { (ac_try="$ac_link"
31963 case "(($ac_try" in
31964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31965 *) ac_try_echo=$ac_try;;
31967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31968 (eval "$ac_link") 2>conftest.er1
31970 grep -v '^ *+' conftest.er1 >conftest.err
31972 cat conftest.err >&5
31973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31974 (exit $ac_status); } && {
31975 test -z "$ac_c_werror_flag" ||
31976 test ! -s conftest.err
31977 } && test -s conftest$ac_exeext &&
31978 $as_test_x conftest$ac_exeext; then
31979 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31981 echo "$as_me: failed program was:" >&5
31982 sed 's/^/| /' conftest.$ac_ext >&5
31984 ac_cv_lib_dnet_stub_dnet_ntoa=no
31987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31988 conftest$ac_exeext conftest.$ac_ext
31989 LIBS=$ac_check_lib_save_LIBS
31991 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31992 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31993 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31994 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32001 conftest$ac_exeext conftest.$ac_ext
32002 LIBS="$ac_xsave_LIBS"
32004 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32005 # to get the SysV transport functions.
32006 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32008 # The nsl library prevents programs from opening the X display
32009 # on Irix 5.2, according to T.E. Dickey.
32010 # The functions gethostbyname, getservbyname, and inet_addr are
32011 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32012 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32013 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32014 if test "${ac_cv_func_gethostbyname+set}" = set; then
32015 echo $ECHO_N "(cached) $ECHO_C" >&6
32017 cat >conftest.$ac_ext <<_ACEOF
32020 cat confdefs.h >>conftest.$ac_ext
32021 cat >>conftest.$ac_ext <<_ACEOF
32022 /* end confdefs.h. */
32023 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32025 #define gethostbyname innocuous_gethostbyname
32027 /* System header to define __stub macros and hopefully few prototypes,
32028 which can conflict with char gethostbyname (); below.
32029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32030 <limits.h> exists even on freestanding compilers. */
32033 # include <limits.h>
32035 # include <assert.h>
32038 #undef gethostbyname
32040 /* Override any GCC internal prototype to avoid an error.
32041 Use char because int might match the return type of a GCC
32042 builtin and then its argument prototype would still apply. */
32046 char gethostbyname ();
32047 /* The GNU C library defines this for functions which it implements
32048 to always fail with ENOSYS. Some functions are actually named
32049 something starting with __ and the normal name is an alias. */
32050 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32057 return gethostbyname ();
32062 rm -f conftest.$ac_objext conftest$ac_exeext
32063 if { (ac_try="$ac_link"
32064 case "(($ac_try" in
32065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32066 *) ac_try_echo=$ac_try;;
32068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32069 (eval "$ac_link") 2>conftest.er1
32071 grep -v '^ *+' conftest.er1 >conftest.err
32073 cat conftest.err >&5
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); } && {
32076 test -z "$ac_c_werror_flag" ||
32077 test ! -s conftest.err
32078 } && test -s conftest$ac_exeext &&
32079 $as_test_x conftest$ac_exeext; then
32080 ac_cv_func_gethostbyname=yes
32082 echo "$as_me: failed program was:" >&5
32083 sed 's/^/| /' conftest.$ac_ext >&5
32085 ac_cv_func_gethostbyname=no
32088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32089 conftest$ac_exeext conftest.$ac_ext
32091 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32092 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32094 if test $ac_cv_func_gethostbyname = no; then
32095 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32096 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32097 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32098 echo $ECHO_N "(cached) $ECHO_C" >&6
32100 ac_check_lib_save_LIBS=$LIBS
32102 cat >conftest.$ac_ext <<_ACEOF
32105 cat confdefs.h >>conftest.$ac_ext
32106 cat >>conftest.$ac_ext <<_ACEOF
32107 /* end confdefs.h. */
32109 /* Override any GCC internal prototype to avoid an error.
32110 Use char because int might match the return type of a GCC
32111 builtin and then its argument prototype would still apply. */
32115 char gethostbyname ();
32119 return gethostbyname ();
32124 rm -f conftest.$ac_objext conftest$ac_exeext
32125 if { (ac_try="$ac_link"
32126 case "(($ac_try" in
32127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32128 *) ac_try_echo=$ac_try;;
32130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32131 (eval "$ac_link") 2>conftest.er1
32133 grep -v '^ *+' conftest.er1 >conftest.err
32135 cat conftest.err >&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); } && {
32138 test -z "$ac_c_werror_flag" ||
32139 test ! -s conftest.err
32140 } && test -s conftest$ac_exeext &&
32141 $as_test_x conftest$ac_exeext; then
32142 ac_cv_lib_nsl_gethostbyname=yes
32144 echo "$as_me: failed program was:" >&5
32145 sed 's/^/| /' conftest.$ac_ext >&5
32147 ac_cv_lib_nsl_gethostbyname=no
32150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32151 conftest$ac_exeext conftest.$ac_ext
32152 LIBS=$ac_check_lib_save_LIBS
32154 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32155 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32156 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32160 if test $ac_cv_lib_nsl_gethostbyname = no; then
32161 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32162 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32163 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32164 echo $ECHO_N "(cached) $ECHO_C" >&6
32166 ac_check_lib_save_LIBS=$LIBS
32168 cat >conftest.$ac_ext <<_ACEOF
32171 cat confdefs.h >>conftest.$ac_ext
32172 cat >>conftest.$ac_ext <<_ACEOF
32173 /* end confdefs.h. */
32175 /* Override any GCC internal prototype to avoid an error.
32176 Use char because int might match the return type of a GCC
32177 builtin and then its argument prototype would still apply. */
32181 char gethostbyname ();
32185 return gethostbyname ();
32190 rm -f conftest.$ac_objext conftest$ac_exeext
32191 if { (ac_try="$ac_link"
32192 case "(($ac_try" in
32193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32194 *) ac_try_echo=$ac_try;;
32196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32197 (eval "$ac_link") 2>conftest.er1
32199 grep -v '^ *+' conftest.er1 >conftest.err
32201 cat conftest.err >&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } && {
32204 test -z "$ac_c_werror_flag" ||
32205 test ! -s conftest.err
32206 } && test -s conftest$ac_exeext &&
32207 $as_test_x conftest$ac_exeext; then
32208 ac_cv_lib_bsd_gethostbyname=yes
32210 echo "$as_me: failed program was:" >&5
32211 sed 's/^/| /' conftest.$ac_ext >&5
32213 ac_cv_lib_bsd_gethostbyname=no
32216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32217 conftest$ac_exeext conftest.$ac_ext
32218 LIBS=$ac_check_lib_save_LIBS
32220 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32221 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32222 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32223 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32229 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32230 # socket/setsockopt and other routines are undefined under SCO ODT
32231 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32232 # on later versions), says Simon Leinen: it contains gethostby*
32233 # variants that don't use the name server (or something). -lsocket
32234 # must be given before -lnsl if both are needed. We assume that
32235 # if connect needs -lnsl, so does gethostbyname.
32236 { echo "$as_me:$LINENO: checking for connect" >&5
32237 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32238 if test "${ac_cv_func_connect+set}" = set; then
32239 echo $ECHO_N "(cached) $ECHO_C" >&6
32241 cat >conftest.$ac_ext <<_ACEOF
32244 cat confdefs.h >>conftest.$ac_ext
32245 cat >>conftest.$ac_ext <<_ACEOF
32246 /* end confdefs.h. */
32247 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32249 #define connect innocuous_connect
32251 /* System header to define __stub macros and hopefully few prototypes,
32252 which can conflict with char connect (); below.
32253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32254 <limits.h> exists even on freestanding compilers. */
32257 # include <limits.h>
32259 # include <assert.h>
32264 /* Override any GCC internal prototype to avoid an error.
32265 Use char because int might match the return type of a GCC
32266 builtin and then its argument prototype would still apply. */
32271 /* The GNU C library defines this for functions which it implements
32272 to always fail with ENOSYS. Some functions are actually named
32273 something starting with __ and the normal name is an alias. */
32274 #if defined __stub_connect || defined __stub___connect
32286 rm -f conftest.$ac_objext conftest$ac_exeext
32287 if { (ac_try="$ac_link"
32288 case "(($ac_try" in
32289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32290 *) ac_try_echo=$ac_try;;
32292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32293 (eval "$ac_link") 2>conftest.er1
32295 grep -v '^ *+' conftest.er1 >conftest.err
32297 cat conftest.err >&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } && {
32300 test -z "$ac_c_werror_flag" ||
32301 test ! -s conftest.err
32302 } && test -s conftest$ac_exeext &&
32303 $as_test_x conftest$ac_exeext; then
32304 ac_cv_func_connect=yes
32306 echo "$as_me: failed program was:" >&5
32307 sed 's/^/| /' conftest.$ac_ext >&5
32309 ac_cv_func_connect=no
32312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32313 conftest$ac_exeext conftest.$ac_ext
32315 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32316 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32318 if test $ac_cv_func_connect = no; then
32319 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32320 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32321 if test "${ac_cv_lib_socket_connect+set}" = set; then
32322 echo $ECHO_N "(cached) $ECHO_C" >&6
32324 ac_check_lib_save_LIBS=$LIBS
32325 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32326 cat >conftest.$ac_ext <<_ACEOF
32329 cat confdefs.h >>conftest.$ac_ext
32330 cat >>conftest.$ac_ext <<_ACEOF
32331 /* end confdefs.h. */
32333 /* Override any GCC internal prototype to avoid an error.
32334 Use char because int might match the return type of a GCC
32335 builtin and then its argument prototype would still apply. */
32348 rm -f conftest.$ac_objext conftest$ac_exeext
32349 if { (ac_try="$ac_link"
32350 case "(($ac_try" in
32351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32352 *) ac_try_echo=$ac_try;;
32354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32355 (eval "$ac_link") 2>conftest.er1
32357 grep -v '^ *+' conftest.er1 >conftest.err
32359 cat conftest.err >&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); } && {
32362 test -z "$ac_c_werror_flag" ||
32363 test ! -s conftest.err
32364 } && test -s conftest$ac_exeext &&
32365 $as_test_x conftest$ac_exeext; then
32366 ac_cv_lib_socket_connect=yes
32368 echo "$as_me: failed program was:" >&5
32369 sed 's/^/| /' conftest.$ac_ext >&5
32371 ac_cv_lib_socket_connect=no
32374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32375 conftest$ac_exeext conftest.$ac_ext
32376 LIBS=$ac_check_lib_save_LIBS
32378 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32379 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32380 if test $ac_cv_lib_socket_connect = yes; then
32381 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32386 # Guillermo Gomez says -lposix is necessary on A/UX.
32387 { echo "$as_me:$LINENO: checking for remove" >&5
32388 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32389 if test "${ac_cv_func_remove+set}" = set; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32392 cat >conftest.$ac_ext <<_ACEOF
32395 cat confdefs.h >>conftest.$ac_ext
32396 cat >>conftest.$ac_ext <<_ACEOF
32397 /* end confdefs.h. */
32398 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32400 #define remove innocuous_remove
32402 /* System header to define __stub macros and hopefully few prototypes,
32403 which can conflict with char remove (); below.
32404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32405 <limits.h> exists even on freestanding compilers. */
32408 # include <limits.h>
32410 # include <assert.h>
32415 /* Override any GCC internal prototype to avoid an error.
32416 Use char because int might match the return type of a GCC
32417 builtin and then its argument prototype would still apply. */
32422 /* The GNU C library defines this for functions which it implements
32423 to always fail with ENOSYS. Some functions are actually named
32424 something starting with __ and the normal name is an alias. */
32425 #if defined __stub_remove || defined __stub___remove
32437 rm -f conftest.$ac_objext conftest$ac_exeext
32438 if { (ac_try="$ac_link"
32439 case "(($ac_try" in
32440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32441 *) ac_try_echo=$ac_try;;
32443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32444 (eval "$ac_link") 2>conftest.er1
32446 grep -v '^ *+' conftest.er1 >conftest.err
32448 cat conftest.err >&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } && {
32451 test -z "$ac_c_werror_flag" ||
32452 test ! -s conftest.err
32453 } && test -s conftest$ac_exeext &&
32454 $as_test_x conftest$ac_exeext; then
32455 ac_cv_func_remove=yes
32457 echo "$as_me: failed program was:" >&5
32458 sed 's/^/| /' conftest.$ac_ext >&5
32460 ac_cv_func_remove=no
32463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32464 conftest$ac_exeext conftest.$ac_ext
32466 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32467 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32469 if test $ac_cv_func_remove = no; then
32470 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32471 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32472 if test "${ac_cv_lib_posix_remove+set}" = set; then
32473 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 ac_check_lib_save_LIBS=$LIBS
32476 LIBS="-lposix $LIBS"
32477 cat >conftest.$ac_ext <<_ACEOF
32480 cat confdefs.h >>conftest.$ac_ext
32481 cat >>conftest.$ac_ext <<_ACEOF
32482 /* end confdefs.h. */
32484 /* Override any GCC internal prototype to avoid an error.
32485 Use char because int might match the return type of a GCC
32486 builtin and then its argument prototype would still apply. */
32499 rm -f conftest.$ac_objext conftest$ac_exeext
32500 if { (ac_try="$ac_link"
32501 case "(($ac_try" in
32502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32503 *) ac_try_echo=$ac_try;;
32505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32506 (eval "$ac_link") 2>conftest.er1
32508 grep -v '^ *+' conftest.er1 >conftest.err
32510 cat conftest.err >&5
32511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512 (exit $ac_status); } && {
32513 test -z "$ac_c_werror_flag" ||
32514 test ! -s conftest.err
32515 } && test -s conftest$ac_exeext &&
32516 $as_test_x conftest$ac_exeext; then
32517 ac_cv_lib_posix_remove=yes
32519 echo "$as_me: failed program was:" >&5
32520 sed 's/^/| /' conftest.$ac_ext >&5
32522 ac_cv_lib_posix_remove=no
32525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32526 conftest$ac_exeext conftest.$ac_ext
32527 LIBS=$ac_check_lib_save_LIBS
32529 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32530 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32531 if test $ac_cv_lib_posix_remove = yes; then
32532 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32537 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32538 { echo "$as_me:$LINENO: checking for shmat" >&5
32539 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32540 if test "${ac_cv_func_shmat+set}" = set; then
32541 echo $ECHO_N "(cached) $ECHO_C" >&6
32543 cat >conftest.$ac_ext <<_ACEOF
32546 cat confdefs.h >>conftest.$ac_ext
32547 cat >>conftest.$ac_ext <<_ACEOF
32548 /* end confdefs.h. */
32549 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32551 #define shmat innocuous_shmat
32553 /* System header to define __stub macros and hopefully few prototypes,
32554 which can conflict with char shmat (); below.
32555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32556 <limits.h> exists even on freestanding compilers. */
32559 # include <limits.h>
32561 # include <assert.h>
32566 /* Override any GCC internal prototype to avoid an error.
32567 Use char because int might match the return type of a GCC
32568 builtin and then its argument prototype would still apply. */
32573 /* The GNU C library defines this for functions which it implements
32574 to always fail with ENOSYS. Some functions are actually named
32575 something starting with __ and the normal name is an alias. */
32576 #if defined __stub_shmat || defined __stub___shmat
32588 rm -f conftest.$ac_objext conftest$ac_exeext
32589 if { (ac_try="$ac_link"
32590 case "(($ac_try" in
32591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32592 *) ac_try_echo=$ac_try;;
32594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32595 (eval "$ac_link") 2>conftest.er1
32597 grep -v '^ *+' conftest.er1 >conftest.err
32599 cat conftest.err >&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); } && {
32602 test -z "$ac_c_werror_flag" ||
32603 test ! -s conftest.err
32604 } && test -s conftest$ac_exeext &&
32605 $as_test_x conftest$ac_exeext; then
32606 ac_cv_func_shmat=yes
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.$ac_ext >&5
32611 ac_cv_func_shmat=no
32614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32615 conftest$ac_exeext conftest.$ac_ext
32617 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32618 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32620 if test $ac_cv_func_shmat = no; then
32621 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32622 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32623 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32624 echo $ECHO_N "(cached) $ECHO_C" >&6
32626 ac_check_lib_save_LIBS=$LIBS
32628 cat >conftest.$ac_ext <<_ACEOF
32631 cat confdefs.h >>conftest.$ac_ext
32632 cat >>conftest.$ac_ext <<_ACEOF
32633 /* end confdefs.h. */
32635 /* Override any GCC internal prototype to avoid an error.
32636 Use char because int might match the return type of a GCC
32637 builtin and then its argument prototype would still apply. */
32650 rm -f conftest.$ac_objext conftest$ac_exeext
32651 if { (ac_try="$ac_link"
32652 case "(($ac_try" in
32653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32654 *) ac_try_echo=$ac_try;;
32656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32657 (eval "$ac_link") 2>conftest.er1
32659 grep -v '^ *+' conftest.er1 >conftest.err
32661 cat conftest.err >&5
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 (exit $ac_status); } && {
32664 test -z "$ac_c_werror_flag" ||
32665 test ! -s conftest.err
32666 } && test -s conftest$ac_exeext &&
32667 $as_test_x conftest$ac_exeext; then
32668 ac_cv_lib_ipc_shmat=yes
32670 echo "$as_me: failed program was:" >&5
32671 sed 's/^/| /' conftest.$ac_ext >&5
32673 ac_cv_lib_ipc_shmat=no
32676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32677 conftest$ac_exeext conftest.$ac_ext
32678 LIBS=$ac_check_lib_save_LIBS
32680 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32681 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32682 if test $ac_cv_lib_ipc_shmat = yes; then
32683 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32689 # Check for libraries that X11R6 Xt/Xaw programs need.
32690 ac_save_LDFLAGS=$LDFLAGS
32691 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32692 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32693 # check for ICE first), but we must link in the order -lSM -lICE or
32694 # we get undefined symbols. So assume we have SM if we have ICE.
32695 # These have to be linked with before -lX11, unlike the other
32696 # libraries we check for below, so use a different variable.
32697 # John Interrante, Karl Berry
32698 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32699 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32700 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32701 echo $ECHO_N "(cached) $ECHO_C" >&6
32703 ac_check_lib_save_LIBS=$LIBS
32704 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32705 cat >conftest.$ac_ext <<_ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32712 /* Override any GCC internal prototype to avoid an error.
32713 Use char because int might match the return type of a GCC
32714 builtin and then its argument prototype would still apply. */
32718 char IceConnectionNumber ();
32722 return IceConnectionNumber ();
32727 rm -f conftest.$ac_objext conftest$ac_exeext
32728 if { (ac_try="$ac_link"
32729 case "(($ac_try" in
32730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32731 *) ac_try_echo=$ac_try;;
32733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32734 (eval "$ac_link") 2>conftest.er1
32736 grep -v '^ *+' conftest.er1 >conftest.err
32738 cat conftest.err >&5
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); } && {
32741 test -z "$ac_c_werror_flag" ||
32742 test ! -s conftest.err
32743 } && test -s conftest$ac_exeext &&
32744 $as_test_x conftest$ac_exeext; then
32745 ac_cv_lib_ICE_IceConnectionNumber=yes
32747 echo "$as_me: failed program was:" >&5
32748 sed 's/^/| /' conftest.$ac_ext >&5
32750 ac_cv_lib_ICE_IceConnectionNumber=no
32753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32754 conftest$ac_exeext conftest.$ac_ext
32755 LIBS=$ac_check_lib_save_LIBS
32757 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32758 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32759 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32760 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32763 LDFLAGS=$ac_save_LDFLAGS
32768 if test "$no_x" = "yes"; then
32769 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32770 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32771 { (exit 1); exit 1; }; }
32774 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32775 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32776 AFMINSTALL=afminstall
32777 COMPILED_X_PROGRAM=0
32781 if test "$wxUSE_X11" = 1; then
32782 if test "$wxUSE_NANOX" = "yes"; then
32783 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32784 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32785 if test "x$MICROWIN" = x ; then
32786 { echo "$as_me:$LINENO: result: not found" >&5
32787 echo "${ECHO_T}not found" >&6; }
32788 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32789 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32790 { (exit 1); exit 1; }; }
32792 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32793 echo "${ECHO_T}$MICROWIN" >&6; }
32794 cat >>confdefs.h <<\_ACEOF
32795 #define wxUSE_NANOX 1
32801 if test "$wxUSE_UNICODE" = "yes"; then
32804 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32805 if test -n "$ac_tool_prefix"; then
32806 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32807 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32810 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32811 echo $ECHO_N "(cached) $ECHO_C" >&6
32813 case $PKG_CONFIG in
32815 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32819 for as_dir in $PATH
32822 test -z "$as_dir" && as_dir=.
32823 for ac_exec_ext in '' $ac_executable_extensions; do
32824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32825 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32836 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32837 if test -n "$PKG_CONFIG"; then
32838 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32839 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32841 { echo "$as_me:$LINENO: result: no" >&5
32842 echo "${ECHO_T}no" >&6; }
32847 if test -z "$ac_cv_path_PKG_CONFIG"; then
32848 ac_pt_PKG_CONFIG=$PKG_CONFIG
32849 # Extract the first word of "pkg-config", so it can be a program name with args.
32850 set dummy pkg-config; ac_word=$2
32851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32853 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32854 echo $ECHO_N "(cached) $ECHO_C" >&6
32856 case $ac_pt_PKG_CONFIG in
32858 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32862 for as_dir in $PATH
32865 test -z "$as_dir" && as_dir=.
32866 for ac_exec_ext in '' $ac_executable_extensions; do
32867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32868 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32879 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32880 if test -n "$ac_pt_PKG_CONFIG"; then
32881 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32882 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32884 { echo "$as_me:$LINENO: result: no" >&5
32885 echo "${ECHO_T}no" >&6; }
32888 if test "x$ac_pt_PKG_CONFIG" = x; then
32891 case $cross_compiling:$ac_tool_warned in
32893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32894 whose name does not start with the host triplet. If you think this
32895 configuration is useful to you, please write to autoconf@gnu.org." >&5
32896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32897 whose name does not start with the host triplet. If you think this
32898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32899 ac_tool_warned=yes ;;
32901 PKG_CONFIG=$ac_pt_PKG_CONFIG
32904 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32908 if test -n "$PKG_CONFIG"; then
32909 _pkg_min_version=0.9.0
32910 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32911 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32912 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32913 { echo "$as_me:$LINENO: result: yes" >&5
32914 echo "${ECHO_T}yes" >&6; }
32916 { echo "$as_me:$LINENO: result: no" >&5
32917 echo "${ECHO_T}no" >&6; }
32925 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32926 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32928 if test -n "$PKG_CONFIG"; then
32929 if test -n "$PANGOX_CFLAGS"; then
32930 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32932 if test -n "$PKG_CONFIG" && \
32933 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32934 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32937 (exit $ac_status); }; then
32938 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32946 if test -n "$PKG_CONFIG"; then
32947 if test -n "$PANGOX_LIBS"; then
32948 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32950 if test -n "$PKG_CONFIG" && \
32951 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32952 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32955 (exit $ac_status); }; then
32956 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32967 if test $pkg_failed = yes; then
32969 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32970 _pkg_short_errors_supported=yes
32972 _pkg_short_errors_supported=no
32974 if test $_pkg_short_errors_supported = yes; then
32975 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32977 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32979 # Put the nasty error message in config.log where it belongs
32980 echo "$PANGOX_PKG_ERRORS" >&5
32983 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32984 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32985 { (exit 1); exit 1; }; }
32988 elif test $pkg_failed = untried; then
32990 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32991 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32992 { (exit 1); exit 1; }; }
32996 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32997 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32998 { echo "$as_me:$LINENO: result: yes" >&5
32999 echo "${ECHO_T}yes" >&6; }
33001 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33002 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33003 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33008 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33009 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33011 if test -n "$PKG_CONFIG"; then
33012 if test -n "$PANGOFT2_CFLAGS"; then
33013 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33015 if test -n "$PKG_CONFIG" && \
33016 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33017 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020 (exit $ac_status); }; then
33021 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33029 if test -n "$PKG_CONFIG"; then
33030 if test -n "$PANGOFT2_LIBS"; then
33031 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33033 if test -n "$PKG_CONFIG" && \
33034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33035 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; then
33039 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33050 if test $pkg_failed = yes; then
33052 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33053 _pkg_short_errors_supported=yes
33055 _pkg_short_errors_supported=no
33057 if test $_pkg_short_errors_supported = yes; then
33058 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33060 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33062 # Put the nasty error message in config.log where it belongs
33063 echo "$PANGOFT2_PKG_ERRORS" >&5
33066 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33067 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33068 wxUSE_PRINTING_ARCHITECTURE="no"
33071 elif test $pkg_failed = untried; then
33073 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33074 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33075 wxUSE_PRINTING_ARCHITECTURE="no"
33079 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33080 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33081 { echo "$as_me:$LINENO: result: yes" >&5
33082 echo "${ECHO_T}yes" >&6; }
33084 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33085 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33086 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33091 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33092 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33094 if test -n "$PKG_CONFIG"; then
33095 if test -n "$PANGOXFT_CFLAGS"; then
33096 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33098 if test -n "$PKG_CONFIG" && \
33099 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33100 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); }; then
33104 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33112 if test -n "$PKG_CONFIG"; then
33113 if test -n "$PANGOXFT_LIBS"; then
33114 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33116 if test -n "$PKG_CONFIG" && \
33117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33118 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33121 (exit $ac_status); }; then
33122 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33133 if test $pkg_failed = yes; then
33135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33136 _pkg_short_errors_supported=yes
33138 _pkg_short_errors_supported=no
33140 if test $_pkg_short_errors_supported = yes; then
33141 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33143 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33145 # Put the nasty error message in config.log where it belongs
33146 echo "$PANGOXFT_PKG_ERRORS" >&5
33149 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33150 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33153 elif test $pkg_failed = untried; then
33155 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33156 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33160 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33161 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33162 { echo "$as_me:$LINENO: result: yes" >&5
33163 echo "${ECHO_T}yes" >&6; }
33165 cat >>confdefs.h <<\_ACEOF
33166 #define HAVE_PANGO_XFT 1
33169 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33170 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33171 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33175 LIBS="$LIBS $PANGOX_LIBS"
33177 for ac_func in pango_font_family_is_monospace
33179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33182 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33185 cat >conftest.$ac_ext <<_ACEOF
33188 cat confdefs.h >>conftest.$ac_ext
33189 cat >>conftest.$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33193 #define $ac_func innocuous_$ac_func
33195 /* System header to define __stub macros and hopefully few prototypes,
33196 which can conflict with char $ac_func (); below.
33197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33198 <limits.h> exists even on freestanding compilers. */
33201 # include <limits.h>
33203 # include <assert.h>
33208 /* Override any GCC internal prototype to avoid an error.
33209 Use char because int might match the return type of a GCC
33210 builtin and then its argument prototype would still apply. */
33215 /* The GNU C library defines this for functions which it implements
33216 to always fail with ENOSYS. Some functions are actually named
33217 something starting with __ and the normal name is an alias. */
33218 #if defined __stub_$ac_func || defined __stub___$ac_func
33225 return $ac_func ();
33230 rm -f conftest.$ac_objext conftest$ac_exeext
33231 if { (ac_try="$ac_link"
33232 case "(($ac_try" in
33233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33234 *) ac_try_echo=$ac_try;;
33236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33237 (eval "$ac_link") 2>conftest.er1
33239 grep -v '^ *+' conftest.er1 >conftest.err
33241 cat conftest.err >&5
33242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243 (exit $ac_status); } && {
33244 test -z "$ac_c_werror_flag" ||
33245 test ! -s conftest.err
33246 } && test -s conftest$ac_exeext &&
33247 $as_test_x conftest$ac_exeext; then
33248 eval "$as_ac_var=yes"
33250 echo "$as_me: failed program was:" >&5
33251 sed 's/^/| /' conftest.$ac_ext >&5
33253 eval "$as_ac_var=no"
33256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33257 conftest$ac_exeext conftest.$ac_ext
33259 ac_res=`eval echo '${'$as_ac_var'}'`
33260 { echo "$as_me:$LINENO: result: $ac_res" >&5
33261 echo "${ECHO_T}$ac_res" >&6; }
33262 if test `eval echo '${'$as_ac_var'}'` = yes; then
33263 cat >>confdefs.h <<_ACEOF
33264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33273 wxUSE_UNIVERSAL="yes"
33275 if test "$wxUSE_NANOX" = "yes"; then
33276 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33277 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"
33278 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33280 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33287 if test "$wxUSE_MOTIF" = 1; then
33288 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33289 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33292 for ac_dir in $SEARCH_INCLUDE /usr/include
33294 if test -f "$ac_dir/Xm/Xm.h"; then
33295 ac_find_includes=$ac_dir
33300 if test "$ac_find_includes" != "" ; then
33301 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33302 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33304 if test "x$ac_find_includes" = "x/usr/include"; then
33305 ac_path_to_include=""
33307 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33309 if test $result = 0; then
33310 ac_path_to_include=""
33312 ac_path_to_include=" -I$ac_find_includes"
33316 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33318 save_CFLAGS=$CFLAGS
33319 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33321 cat >conftest.$ac_ext <<_ACEOF
33324 cat confdefs.h >>conftest.$ac_ext
33325 cat >>conftest.$ac_ext <<_ACEOF
33326 /* end confdefs.h. */
33335 version = xmUseVersion;
33341 rm -f conftest.$ac_objext
33342 if { (ac_try="$ac_compile"
33343 case "(($ac_try" in
33344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33345 *) ac_try_echo=$ac_try;;
33347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33348 (eval "$ac_compile") 2>conftest.er1
33350 grep -v '^ *+' conftest.er1 >conftest.err
33352 cat conftest.err >&5
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); } && {
33355 test -z "$ac_c_werror_flag" ||
33356 test ! -s conftest.err
33357 } && test -s conftest.$ac_objext; then
33359 { echo "$as_me:$LINENO: result: found in default search path" >&5
33360 echo "${ECHO_T}found in default search path" >&6; }
33361 COMPILED_X_PROGRAM=1
33364 echo "$as_me: failed program was:" >&5
33365 sed 's/^/| /' conftest.$ac_ext >&5
33368 { echo "$as_me:$LINENO: result: no" >&5
33369 echo "${ECHO_T}no" >&6; }
33370 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33371 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33372 { (exit 1); exit 1; }; }
33377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33379 CFLAGS=$save_CFLAGS
33383 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33384 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33387 for ac_dir in $SEARCH_LIB
33389 for ac_extension in a so sl dylib dll.a; do
33390 if test -f "$ac_dir/libXm.$ac_extension"; then
33391 ac_find_libraries=$ac_dir
33398 if test "x$ac_find_libraries" != "x" ; then
33399 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33400 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33403 if test "$ac_find_libraries" = "default location"; then
33406 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33408 if test $result = 0; then
33411 ac_path_to_link=" -L$ac_find_libraries"
33415 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33417 save_CFLAGS=$CFLAGS
33418 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33420 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33422 cat >conftest.$ac_ext <<_ACEOF
33425 cat confdefs.h >>conftest.$ac_ext
33426 cat >>conftest.$ac_ext <<_ACEOF
33427 /* end confdefs.h. */
33436 version = xmUseVersion;
33442 rm -f conftest.$ac_objext conftest$ac_exeext
33443 if { (ac_try="$ac_link"
33444 case "(($ac_try" in
33445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33446 *) ac_try_echo=$ac_try;;
33448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33449 (eval "$ac_link") 2>conftest.er1
33451 grep -v '^ *+' conftest.er1 >conftest.err
33453 cat conftest.err >&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } && {
33456 test -z "$ac_c_werror_flag" ||
33457 test ! -s conftest.err
33458 } && test -s conftest$ac_exeext &&
33459 $as_test_x conftest$ac_exeext; then
33461 { echo "$as_me:$LINENO: result: found in default search path" >&5
33462 echo "${ECHO_T}found in default search path" >&6; }
33463 COMPILED_X_PROGRAM=1
33466 echo "$as_me: failed program was:" >&5
33467 sed 's/^/| /' conftest.$ac_ext >&5
33470 { echo "$as_me:$LINENO: result: no" >&5
33471 echo "${ECHO_T}no" >&6; }
33472 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33473 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33474 { (exit 1); exit 1; }; }
33479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33480 conftest$ac_exeext conftest.$ac_ext
33482 CFLAGS=$save_CFLAGS
33486 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33487 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33491 for libp in "" " -lXp"; do
33492 if test "$libs_found" = 0; then
33493 for libsm_ice in "" " -lSM -lICE"; do
33494 if test "$libs_found" = 0; then
33496 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33497 save_CFLAGS=$CFLAGS
33498 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33500 cat >conftest.$ac_ext <<_ACEOF
33503 cat confdefs.h >>conftest.$ac_ext
33504 cat >>conftest.$ac_ext <<_ACEOF
33505 /* end confdefs.h. */
33508 #include <Xm/List.h>
33514 XmString string = NULL;
33517 XmListAddItem(w, string, position);
33523 rm -f conftest.$ac_objext conftest$ac_exeext
33524 if { (ac_try="$ac_link"
33525 case "(($ac_try" in
33526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33527 *) ac_try_echo=$ac_try;;
33529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33530 (eval "$ac_link") 2>conftest.er1
33532 grep -v '^ *+' conftest.er1 >conftest.err
33534 cat conftest.err >&5
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); } && {
33537 test -z "$ac_c_werror_flag" ||
33538 test ! -s conftest.err
33539 } && test -s conftest$ac_exeext &&
33540 $as_test_x conftest$ac_exeext; then
33543 libsm_ice_link="$libsm_ice"
33544 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33545 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33557 conftest$ac_exeext conftest.$ac_ext
33560 CFLAGS=$save_CFLAGS
33566 if test "$libs_found" = 0; then
33567 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33568 echo "${ECHO_T}can't find the right libraries" >&6; }
33569 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33570 echo "$as_me: error: can't link a simple motif program" >&2;}
33571 { (exit 1); exit 1; }; }
33574 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33575 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33576 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33577 echo $ECHO_N "(cached) $ECHO_C" >&6
33579 ac_check_lib_save_LIBS=$LIBS
33581 cat >conftest.$ac_ext <<_ACEOF
33584 cat confdefs.h >>conftest.$ac_ext
33585 cat >>conftest.$ac_ext <<_ACEOF
33586 /* end confdefs.h. */
33588 /* Override any GCC internal prototype to avoid an error.
33589 Use char because int might match the return type of a GCC
33590 builtin and then its argument prototype would still apply. */
33594 char SgCreateList ();
33598 return SgCreateList ();
33603 rm -f conftest.$ac_objext conftest$ac_exeext
33604 if { (ac_try="$ac_link"
33605 case "(($ac_try" in
33606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33607 *) ac_try_echo=$ac_try;;
33609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33610 (eval "$ac_link") 2>conftest.er1
33612 grep -v '^ *+' conftest.er1 >conftest.err
33614 cat conftest.err >&5
33615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33616 (exit $ac_status); } && {
33617 test -z "$ac_c_werror_flag" ||
33618 test ! -s conftest.err
33619 } && test -s conftest$ac_exeext &&
33620 $as_test_x conftest$ac_exeext; then
33621 ac_cv_lib_Sgm_SgCreateList=yes
33623 echo "$as_me: failed program was:" >&5
33624 sed 's/^/| /' conftest.$ac_ext >&5
33626 ac_cv_lib_Sgm_SgCreateList=no
33629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33630 conftest$ac_exeext conftest.$ac_ext
33631 LIBS=$ac_check_lib_save_LIBS
33633 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33634 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33635 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33636 libsgm_link=" -lSgm"
33640 save_CFLAGS=$CFLAGS
33641 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33643 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33644 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33645 if test "${wx_cv_lib_motif2+set}" = set; then
33646 echo $ECHO_N "(cached) $ECHO_C" >&6
33648 cat >conftest.$ac_ext <<_ACEOF
33651 cat confdefs.h >>conftest.$ac_ext
33652 cat >>conftest.$ac_ext <<_ACEOF
33653 /* end confdefs.h. */
33661 #if XmVersion < 2000
33669 rm -f conftest.$ac_objext
33670 if { (ac_try="$ac_compile"
33671 case "(($ac_try" in
33672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33673 *) ac_try_echo=$ac_try;;
33675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33676 (eval "$ac_compile") 2>conftest.er1
33678 grep -v '^ *+' conftest.er1 >conftest.err
33680 cat conftest.err >&5
33681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682 (exit $ac_status); } && {
33683 test -z "$ac_c_werror_flag" ||
33684 test ! -s conftest.err
33685 } && test -s conftest.$ac_objext; then
33686 wx_cv_lib_motif2="yes"
33688 echo "$as_me: failed program was:" >&5
33689 sed 's/^/| /' conftest.$ac_ext >&5
33691 wx_cv_lib_motif2="no"
33694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33696 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33697 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33698 if test "$wx_cv_lib_motif2" = "yes"; then
33699 cat >>confdefs.h <<\_ACEOF
33700 #define __WXMOTIF20__ 1
33704 cat >>confdefs.h <<\_ACEOF
33705 #define __WXMOTIF20__ 0
33710 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33711 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33712 if test "${wx_cv_lib_lesstif+set}" = set; then
33713 echo $ECHO_N "(cached) $ECHO_C" >&6
33715 cat >conftest.$ac_ext <<_ACEOF
33718 cat confdefs.h >>conftest.$ac_ext
33719 cat >>conftest.$ac_ext <<_ACEOF
33720 /* end confdefs.h. */
33728 #if !defined(LesstifVersion) || LesstifVersion <= 0
33736 rm -f conftest.$ac_objext
33737 if { (ac_try="$ac_compile"
33738 case "(($ac_try" in
33739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33740 *) ac_try_echo=$ac_try;;
33742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33743 (eval "$ac_compile") 2>conftest.er1
33745 grep -v '^ *+' conftest.er1 >conftest.err
33747 cat conftest.err >&5
33748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749 (exit $ac_status); } && {
33750 test -z "$ac_c_werror_flag" ||
33751 test ! -s conftest.err
33752 } && test -s conftest.$ac_objext; then
33753 wx_cv_lib_lesstif="yes"
33755 echo "$as_me: failed program was:" >&5
33756 sed 's/^/| /' conftest.$ac_ext >&5
33758 wx_cv_lib_lesstif="no"
33761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33764 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33765 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33766 if test "$wx_cv_lib_lesstif" = "yes"; then
33767 cat >>confdefs.h <<\_ACEOF
33768 #define __WXLESSTIF__ 1
33772 cat >>confdefs.h <<\_ACEOF
33773 #define __WXLESSTIF__ 0
33778 CFLAGS=$save_CFLAGS
33780 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33785 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33786 if test "$wxUSE_LIBXPM" = "sys"; then
33787 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33788 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33791 for ac_dir in $SEARCH_LIB
33793 for ac_extension in a so sl dylib dll.a; do
33794 if test -f "$ac_dir/libXpm.$ac_extension"; then
33795 ac_find_libraries=$ac_dir
33801 if test "$ac_find_libraries" != "" ; then
33803 if test "$ac_find_libraries" = "default location"; then
33806 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33808 if test $result = 0; then
33811 ac_path_to_link=" -L$ac_find_libraries"
33815 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33816 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33817 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33819 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33820 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33821 if test "${wx_cv_x11_xpm_h+set}" = set; then
33822 echo $ECHO_N "(cached) $ECHO_C" >&6
33825 save_CFLAGS=$CFLAGS
33826 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33828 cat >conftest.$ac_ext <<_ACEOF
33831 cat confdefs.h >>conftest.$ac_ext
33832 cat >>conftest.$ac_ext <<_ACEOF
33833 /* end confdefs.h. */
33835 #include <X11/xpm.h>
33842 version = XpmLibraryVersion();
33848 rm -f conftest.$ac_objext
33849 if { (ac_try="$ac_compile"
33850 case "(($ac_try" in
33851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33852 *) ac_try_echo=$ac_try;;
33854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33855 (eval "$ac_compile") 2>conftest.er1
33857 grep -v '^ *+' conftest.er1 >conftest.err
33859 cat conftest.err >&5
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); } && {
33862 test -z "$ac_c_werror_flag" ||
33863 test ! -s conftest.err
33864 } && test -s conftest.$ac_objext; then
33865 wx_cv_x11_xpm_h=yes
33867 echo "$as_me: failed program was:" >&5
33868 sed 's/^/| /' conftest.$ac_ext >&5
33874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33876 CFLAGS=$save_CFLAGS
33880 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33881 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33883 if test $wx_cv_x11_xpm_h = "yes"; then
33884 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33885 cat >>confdefs.h <<\_ACEOF
33886 #define wxHAVE_LIB_XPM 1
33890 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33891 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33897 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33898 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33899 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33900 echo $ECHO_N "(cached) $ECHO_C" >&6
33902 ac_check_lib_save_LIBS=$LIBS
33903 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33904 cat >conftest.$ac_ext <<_ACEOF
33907 cat confdefs.h >>conftest.$ac_ext
33908 cat >>conftest.$ac_ext <<_ACEOF
33909 /* end confdefs.h. */
33911 /* Override any GCC internal prototype to avoid an error.
33912 Use char because int might match the return type of a GCC
33913 builtin and then its argument prototype would still apply. */
33917 char XShapeQueryExtension ();
33921 return XShapeQueryExtension ();
33926 rm -f conftest.$ac_objext conftest$ac_exeext
33927 if { (ac_try="$ac_link"
33928 case "(($ac_try" in
33929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33930 *) ac_try_echo=$ac_try;;
33932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33933 (eval "$ac_link") 2>conftest.er1
33935 grep -v '^ *+' conftest.er1 >conftest.err
33937 cat conftest.err >&5
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); } && {
33940 test -z "$ac_c_werror_flag" ||
33941 test ! -s conftest.err
33942 } && test -s conftest$ac_exeext &&
33943 $as_test_x conftest$ac_exeext; then
33944 ac_cv_lib_Xext_XShapeQueryExtension=yes
33946 echo "$as_me: failed program was:" >&5
33947 sed 's/^/| /' conftest.$ac_ext >&5
33949 ac_cv_lib_Xext_XShapeQueryExtension=no
33952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33953 conftest$ac_exeext conftest.$ac_ext
33954 LIBS=$ac_check_lib_save_LIBS
33956 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33957 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33958 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33960 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33966 if test "$wxHAVE_XEXT_LIB" = 1; then
33967 save_CFLAGS="$CFLAGS"
33968 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33970 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33971 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33972 cat >conftest.$ac_ext <<_ACEOF
33975 cat confdefs.h >>conftest.$ac_ext
33976 cat >>conftest.$ac_ext <<_ACEOF
33977 /* end confdefs.h. */
33979 #include <X11/Xlib.h>
33980 #include <X11/extensions/shape.h>
33986 int dummy1, dummy2;
33987 XShapeQueryExtension((Display*)NULL,
33988 (int*)NULL, (int*)NULL);
33994 rm -f conftest.$ac_objext
33995 if { (ac_try="$ac_compile"
33996 case "(($ac_try" in
33997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33998 *) ac_try_echo=$ac_try;;
34000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34001 (eval "$ac_compile") 2>conftest.er1
34003 grep -v '^ *+' conftest.er1 >conftest.err
34005 cat conftest.err >&5
34006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34007 (exit $ac_status); } && {
34008 test -z "$ac_c_werror_flag" ||
34009 test ! -s conftest.err
34010 } && test -s conftest.$ac_objext; then
34012 cat >>confdefs.h <<\_ACEOF
34013 #define HAVE_XSHAPE 1
34016 { echo "$as_me:$LINENO: result: found" >&5
34017 echo "${ECHO_T}found" >&6; }
34020 echo "$as_me: failed program was:" >&5
34021 sed 's/^/| /' conftest.$ac_ext >&5
34024 { echo "$as_me:$LINENO: result: not found" >&5
34025 echo "${ECHO_T}not found" >&6; }
34029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34030 CFLAGS="$save_CFLAGS"
34035 if test "$wxUSE_OSX_CARBON" = 1; then
34036 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34037 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34038 if test "$GCC" = yes; then
34039 { echo "$as_me:$LINENO: result: gcc" >&5
34040 echo "${ECHO_T}gcc" >&6; }
34041 CPPFLAGS_PASCAL="-fpascal-strings"
34042 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34043 { echo "$as_me:$LINENO: result: xlc" >&5
34044 echo "${ECHO_T}xlc" >&6; }
34045 CPPFLAGS_PASCAL="-qmacpstr"
34047 { echo "$as_me:$LINENO: result: none" >&5
34048 echo "${ECHO_T}none" >&6; }
34051 if test "x$wxUSE_UNIX" = "xyes"; then
34052 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34054 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34058 GUIDIST=OSX_CARBON_DIST
34059 WXBASEPORT="_carbon"
34061 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34064 if test "$wxUSE_OSX_COCOA" = 1; then
34066 GUIDIST=OSX_COCOA_DIST
34068 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34071 if test "$wxUSE_OSX_IPHONE" = 1; then
34075 if test "$wxUSE_OLD_COCOA" = 1; then
34080 if test "$wxUSE_PM" = 1; then
34083 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34084 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34085 if test "${wx_cv_spbcdata+set}" = set; then
34086 echo $ECHO_N "(cached) $ECHO_C" >&6
34089 cat >conftest.$ac_ext <<_ACEOF
34092 cat confdefs.h >>conftest.$ac_ext
34093 cat >>conftest.$ac_ext <<_ACEOF
34094 /* end confdefs.h. */
34109 rm -f conftest.$ac_objext
34110 if { (ac_try="$ac_compile"
34111 case "(($ac_try" in
34112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34113 *) ac_try_echo=$ac_try;;
34115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34116 (eval "$ac_compile") 2>conftest.er1
34118 grep -v '^ *+' conftest.er1 >conftest.err
34120 cat conftest.err >&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); } && {
34123 test -z "$ac_c_werror_flag" ||
34124 test ! -s conftest.err
34125 } && test -s conftest.$ac_objext; then
34128 echo "$as_me: failed program was:" >&5
34129 sed 's/^/| /' conftest.$ac_ext >&5
34135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34139 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34140 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34142 if test $wx_cv_spbcdata = "yes"; then
34143 cat >>confdefs.h <<\_ACEOF
34144 #define HAVE_SPBCDATA 1
34150 if test "$TOOLKIT" = "PM" ; then
34153 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34156 if test "$wxUSE_UNIVERSAL" = "yes"; then
34157 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34161 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34162 DISTDIR="wx\$(TOOLKIT)"
34168 if test "$USE_WIN32" = 1 ; then
34172 GUIDIST="BASE_DIST"
34178 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34179 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34180 wxUSE_UNICODE_UTF8=yes
34181 elif test "$USE_OS2" = 1 ; then
34182 wxUSE_UNICODE_UTF8=yes
34184 wxUSE_UNICODE_UTF8=no
34189 if test "$wxUSE_GUI" = "yes"; then
34190 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34192 for ac_header in X11/Xlib.h
34194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34195 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34197 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34198 echo $ECHO_N "(cached) $ECHO_C" >&6
34200 cat >conftest.$ac_ext <<_ACEOF
34203 cat confdefs.h >>conftest.$ac_ext
34204 cat >>conftest.$ac_ext <<_ACEOF
34205 /* end confdefs.h. */
34208 #include <$ac_header>
34210 rm -f conftest.$ac_objext
34211 if { (ac_try="$ac_compile"
34212 case "(($ac_try" in
34213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34214 *) ac_try_echo=$ac_try;;
34216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34217 (eval "$ac_compile") 2>conftest.er1
34219 grep -v '^ *+' conftest.er1 >conftest.err
34221 cat conftest.err >&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); } && {
34224 test -z "$ac_c_werror_flag" ||
34225 test ! -s conftest.err
34226 } && test -s conftest.$ac_objext; then
34227 eval "$as_ac_Header=yes"
34229 echo "$as_me: failed program was:" >&5
34230 sed 's/^/| /' conftest.$ac_ext >&5
34232 eval "$as_ac_Header=no"
34235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34237 ac_res=`eval echo '${'$as_ac_Header'}'`
34238 { echo "$as_me:$LINENO: result: $ac_res" >&5
34239 echo "${ECHO_T}$ac_res" >&6; }
34240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34241 cat >>confdefs.h <<_ACEOF
34242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34250 for ac_header in X11/XKBlib.h
34252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34258 cat >conftest.$ac_ext <<_ACEOF
34261 cat confdefs.h >>conftest.$ac_ext
34262 cat >>conftest.$ac_ext <<_ACEOF
34263 /* end confdefs.h. */
34265 #if HAVE_X11_XLIB_H
34266 #include <X11/Xlib.h>
34270 #include <$ac_header>
34272 rm -f conftest.$ac_objext
34273 if { (ac_try="$ac_compile"
34274 case "(($ac_try" in
34275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34276 *) ac_try_echo=$ac_try;;
34278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34279 (eval "$ac_compile") 2>conftest.er1
34281 grep -v '^ *+' conftest.er1 >conftest.err
34283 cat conftest.err >&5
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); } && {
34286 test -z "$ac_c_werror_flag" ||
34287 test ! -s conftest.err
34288 } && test -s conftest.$ac_objext; then
34289 eval "$as_ac_Header=yes"
34291 echo "$as_me: failed program was:" >&5
34292 sed 's/^/| /' conftest.$ac_ext >&5
34294 eval "$as_ac_Header=no"
34297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34299 ac_res=`eval echo '${'$as_ac_Header'}'`
34300 { echo "$as_me:$LINENO: result: $ac_res" >&5
34301 echo "${ECHO_T}$ac_res" >&6; }
34302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34303 cat >>confdefs.h <<_ACEOF
34304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34317 if test "$wxUSE_DISPLAY" = "yes"; then
34318 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34319 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34320 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34323 for ac_dir in $SEARCH_LIB
34325 for ac_extension in a so sl dylib dll.a; do
34326 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34327 ac_find_libraries=$ac_dir
34333 if test "$ac_find_libraries" != "" ; then
34335 if test "$ac_find_libraries" = "default location"; then
34338 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34340 if test $result = 0; then
34343 ac_path_to_link=" -L$ac_find_libraries"
34347 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34348 LDFLAGS="$LDFLAGS $ac_path_to_link"
34351 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34352 { echo "$as_me:$LINENO: result: yes" >&5
34353 echo "${ECHO_T}yes" >&6; }
34355 { echo "$as_me:$LINENO: result: no" >&5
34356 echo "${ECHO_T}no" >&6; }
34357 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34358 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34361 elif test "$wxUSE_MSW" = 1; then
34362 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34363 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34364 if test "${ac_cv_header_ddraw_h+set}" = set; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34367 cat >conftest.$ac_ext <<_ACEOF
34370 cat confdefs.h >>conftest.$ac_ext
34371 cat >>conftest.$ac_ext <<_ACEOF
34372 /* end confdefs.h. */
34373 #include <windows.h>
34377 rm -f conftest.$ac_objext
34378 if { (ac_try="$ac_compile"
34379 case "(($ac_try" in
34380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34381 *) ac_try_echo=$ac_try;;
34383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34384 (eval "$ac_compile") 2>conftest.er1
34386 grep -v '^ *+' conftest.er1 >conftest.err
34388 cat conftest.err >&5
34389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34390 (exit $ac_status); } && {
34391 test -z "$ac_c_werror_flag" ||
34392 test ! -s conftest.err
34393 } && test -s conftest.$ac_objext; then
34394 ac_cv_header_ddraw_h=yes
34396 echo "$as_me: failed program was:" >&5
34397 sed 's/^/| /' conftest.$ac_ext >&5
34399 ac_cv_header_ddraw_h=no
34402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34404 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34405 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34411 if test "$wxUSE_DISPLAY" = "yes"; then
34412 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34413 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34414 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34417 for ac_dir in $SEARCH_LIB
34419 for ac_extension in a so sl dylib dll.a; do
34420 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34421 ac_find_libraries=$ac_dir
34427 if test "$ac_find_libraries" != "" ; then
34428 { echo "$as_me:$LINENO: result: yes" >&5
34429 echo "${ECHO_T}yes" >&6; }
34431 for ac_header in X11/extensions/xf86vmode.h
34433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34434 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34436 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34437 echo $ECHO_N "(cached) $ECHO_C" >&6
34439 cat >conftest.$ac_ext <<_ACEOF
34442 cat confdefs.h >>conftest.$ac_ext
34443 cat >>conftest.$ac_ext <<_ACEOF
34444 /* end confdefs.h. */
34446 #if HAVE_X11_XLIB_H
34447 #include <X11/Xlib.h>
34451 #include <$ac_header>
34453 rm -f conftest.$ac_objext
34454 if { (ac_try="$ac_compile"
34455 case "(($ac_try" in
34456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34457 *) ac_try_echo=$ac_try;;
34459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34460 (eval "$ac_compile") 2>conftest.er1
34462 grep -v '^ *+' conftest.er1 >conftest.err
34464 cat conftest.err >&5
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); } && {
34467 test -z "$ac_c_werror_flag" ||
34468 test ! -s conftest.err
34469 } && test -s conftest.$ac_objext; then
34470 eval "$as_ac_Header=yes"
34472 echo "$as_me: failed program was:" >&5
34473 sed 's/^/| /' conftest.$ac_ext >&5
34475 eval "$as_ac_Header=no"
34478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34480 ac_res=`eval echo '${'$as_ac_Header'}'`
34481 { echo "$as_me:$LINENO: result: $ac_res" >&5
34482 echo "${ECHO_T}$ac_res" >&6; }
34483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34484 cat >>confdefs.h <<_ACEOF
34485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34488 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34495 { echo "$as_me:$LINENO: result: no" >&5
34496 echo "${ECHO_T}no" >&6; }
34501 if test "$wxUSE_DETECT_SM" = "yes"; then
34502 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34503 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34504 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34507 for ac_dir in $SEARCH_LIB
34509 for ac_extension in a so sl dylib dll.a; do
34510 if test -f "$ac_dir/libSM.$ac_extension"; then
34511 ac_find_libraries=$ac_dir
34517 if test "$ac_find_libraries" != "" ; then
34519 if test "$ac_find_libraries" = "default location"; then
34522 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34524 if test $result = 0; then
34527 ac_path_to_link=" -L$ac_find_libraries"
34531 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34532 LDFLAGS="$LDFLAGS $ac_path_to_link"
34534 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34535 { echo "$as_me:$LINENO: result: yes" >&5
34536 echo "${ECHO_T}yes" >&6; }
34538 { echo "$as_me:$LINENO: result: no" >&5
34539 echo "${ECHO_T}no" >&6; }
34540 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34541 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34542 wxUSE_DETECT_SM="no"
34545 wxUSE_DETECT_SM="no"
34552 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34555 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34556 OPENGL_LIBS="-framework OpenGL -framework AGL"
34557 elif test "$wxUSE_MSW" = 1; then
34558 OPENGL_LIBS="-lopengl32 -lglu32"
34559 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34561 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34562 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34565 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34567 if test -f "$ac_dir/GL/gl.h"; then
34568 ac_find_includes=$ac_dir
34573 if test "$ac_find_includes" != "" ; then
34574 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34575 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34577 if test "x$ac_find_includes" = "x/usr/include"; then
34578 ac_path_to_include=""
34580 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34582 if test $result = 0; then
34583 ac_path_to_include=""
34585 ac_path_to_include=" -I$ac_find_includes"
34589 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34591 { echo "$as_me:$LINENO: result: not found" >&5
34592 echo "${ECHO_T}not found" >&6; }
34595 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34596 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34597 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34598 echo $ECHO_N "(cached) $ECHO_C" >&6
34600 cat >conftest.$ac_ext <<_ACEOF
34603 cat confdefs.h >>conftest.$ac_ext
34604 cat >>conftest.$ac_ext <<_ACEOF
34605 /* end confdefs.h. */
34610 rm -f conftest.$ac_objext
34611 if { (ac_try="$ac_compile"
34612 case "(($ac_try" in
34613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34614 *) ac_try_echo=$ac_try;;
34616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34617 (eval "$ac_compile") 2>conftest.er1
34619 grep -v '^ *+' conftest.er1 >conftest.err
34621 cat conftest.err >&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); } && {
34624 test -z "$ac_c_werror_flag" ||
34625 test ! -s conftest.err
34626 } && test -s conftest.$ac_objext; then
34627 ac_cv_header_GL_gl_h=yes
34629 echo "$as_me: failed program was:" >&5
34630 sed 's/^/| /' conftest.$ac_ext >&5
34632 ac_cv_header_GL_gl_h=no
34635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34637 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34638 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34639 if test $ac_cv_header_GL_gl_h = yes; then
34641 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34642 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34643 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34644 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 cat >conftest.$ac_ext <<_ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34654 #include <GL/glu.h>
34656 rm -f conftest.$ac_objext
34657 if { (ac_try="$ac_compile"
34658 case "(($ac_try" in
34659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34660 *) ac_try_echo=$ac_try;;
34662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34663 (eval "$ac_compile") 2>conftest.er1
34665 grep -v '^ *+' conftest.er1 >conftest.err
34667 cat conftest.err >&5
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); } && {
34670 test -z "$ac_c_werror_flag" ||
34671 test ! -s conftest.err
34672 } && test -s conftest.$ac_objext; then
34673 ac_cv_header_GL_glu_h=yes
34675 echo "$as_me: failed program was:" >&5
34676 sed 's/^/| /' conftest.$ac_ext >&5
34678 ac_cv_header_GL_glu_h=no
34681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34683 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34684 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34685 if test $ac_cv_header_GL_glu_h = yes; then
34689 { echo "$as_me:$LINENO: checking for -lGL" >&5
34690 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34693 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34695 for ac_extension in a so sl dylib dll.a; do
34696 if test -f "$ac_dir/libGL.$ac_extension"; then
34697 ac_find_libraries=$ac_dir
34703 if test "$ac_find_libraries" != "" ; then
34704 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34705 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34708 if test "$ac_find_libraries" = "default location"; then
34711 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34713 if test $result = 0; then
34716 ac_path_to_link=" -L$ac_find_libraries"
34720 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34721 LDFLAGS_GL="$ac_path_to_link"
34724 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34725 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34728 for ac_dir in $SEARCH_LIB
34730 for ac_extension in a so sl dylib dll.a; do
34731 if test -f "$ac_dir/libGLU.$ac_extension"; then
34732 ac_find_libraries=$ac_dir
34738 if test "$ac_find_libraries" != "" ; then
34740 if test "$ac_find_libraries" = "default location"; then
34743 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34745 if test $result = 0; then
34748 ac_path_to_link=" -L$ac_find_libraries"
34752 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34753 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34754 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34758 OPENGL_LIBS="-lGL -lGLU"
34759 { echo "$as_me:$LINENO: result: yes" >&5
34760 echo "${ECHO_T}yes" >&6; }
34762 { echo "$as_me:$LINENO: result: no" >&5
34763 echo "${ECHO_T}no" >&6; }
34766 { echo "$as_me:$LINENO: result: no" >&5
34767 echo "${ECHO_T}no" >&6; }
34770 if test "$found_gl" != 1; then
34771 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34772 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34775 for ac_dir in $SEARCH_LIB
34777 for ac_extension in a so sl dylib dll.a; do
34778 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34779 ac_find_libraries=$ac_dir
34785 if test "$ac_find_libraries" != "" ; then
34787 if test "$ac_find_libraries" = "default location"; then
34790 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34792 if test $result = 0; then
34795 ac_path_to_link=" -L$ac_find_libraries"
34799 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34800 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34801 { echo "$as_me:$LINENO: result: yes" >&5
34802 echo "${ECHO_T}yes" >&6; }
34804 { echo "$as_me:$LINENO: result: no" >&5
34805 echo "${ECHO_T}no" >&6; }
34817 if test "x$OPENGL_LIBS" = "x"; then
34818 if test "$wxUSE_OPENGL" = "yes"; then
34819 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34820 echo "$as_me: error: OpenGL libraries not available" >&2;}
34821 { (exit 1); exit 1; }; }
34823 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34824 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34830 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34831 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34835 if test "$wxUSE_OPENGL" = "auto"; then
34839 if test "$wxUSE_OPENGL" = "yes"; then
34841 cat >>confdefs.h <<\_ACEOF
34842 #define wxUSE_OPENGL 1
34845 cat >>confdefs.h <<\_ACEOF
34846 #define wxUSE_GLCANVAS 1
34849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34854 if test -n "$TOOLKIT" ; then
34855 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34860 if test "$wxUSE_SHARED" = "yes"; then
34864 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34865 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34870 if test "$wxUSE_SHARED" = "yes"; then
34874 *-*-cygwin* | *-*-mingw* )
34875 wx_cv_version_script=no
34879 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34880 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34881 if test "${wx_cv_version_script+set}" = set; then
34882 echo $ECHO_N "(cached) $ECHO_C" >&6
34885 echo "VER_1 { *; };" >conftest.sym
34886 echo "int main() { return 0; }" >conftest.cpp
34889 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34890 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; } ; then
34896 if test -s conftest.stderr ; then
34897 wx_cv_version_script=no
34899 wx_cv_version_script=yes
34902 wx_cv_version_script=no
34905 if test $wx_cv_version_script = yes
34907 echo "struct B { virtual ~B() { } }; \
34908 struct D : public B { }; \
34909 void F() { D d; }" > conftest.cpp
34912 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34913 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34915 (eval $ac_try) 2>&5
34917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34918 (exit $ac_status); }; } &&
34920 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34921 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; }
34929 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34930 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34932 (eval $ac_try) 2>&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); }; }
34937 wx_cv_version_script=yes
34939 wx_cv_version_script=no
34944 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34945 rm -f conftest1.output conftest2.output conftest3.output
34948 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34949 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34951 if test $wx_cv_version_script = yes ; then
34952 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34958 if test "$wxUSE_VISIBILITY" != "no"; then
34961 if test -n "$GCC"; then
34962 CFLAGS_VISIBILITY="-fvisibility=hidden"
34963 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34964 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34965 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34966 if test "${wx_cv_cc_visibility+set}" = set; then
34967 echo $ECHO_N "(cached) $ECHO_C" >&6
34970 wx_save_CXXFLAGS="$CXXFLAGS"
34971 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34973 ac_cpp='$CXXCPP $CPPFLAGS'
34974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34978 cat >conftest.$ac_ext <<_ACEOF
34981 cat confdefs.h >>conftest.$ac_ext
34982 cat >>conftest.$ac_ext <<_ACEOF
34983 /* end confdefs.h. */
34985 /* we need gcc >= 4.0, older versions with visibility support
34986 didn't have class visibility: */
34987 #if defined(__GNUC__) && __GNUC__ < 4
34988 error this gcc is too old;
34991 /* visibility only makes sense for ELF shared libs: */
34992 #if !defined(__ELF__) && !defined(__APPLE__)
34993 error this platform has no visibility;
34996 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34997 extern __attribute__((__visibility__("default"))) int exportedvar;
34998 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34999 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35000 class __attribute__((__visibility__("default"))) Foo {
35012 rm -f conftest.$ac_objext
35013 if { (ac_try="$ac_compile"
35014 case "(($ac_try" in
35015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35016 *) ac_try_echo=$ac_try;;
35018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35019 (eval "$ac_compile") 2>conftest.er1
35021 grep -v '^ *+' conftest.er1 >conftest.err
35023 cat conftest.err >&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } && {
35026 test -z "$ac_cxx_werror_flag" ||
35027 test ! -s conftest.err
35028 } && test -s conftest.$ac_objext; then
35029 wx_cv_cc_visibility=yes
35031 echo "$as_me: failed program was:" >&5
35032 sed 's/^/| /' conftest.$ac_ext >&5
35034 wx_cv_cc_visibility=no
35037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35039 ac_cpp='$CPP $CPPFLAGS'
35040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35044 CXXFLAGS="$wx_save_CXXFLAGS"
35047 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35048 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35049 if test $wx_cv_cc_visibility = yes; then
35050 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35051 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35052 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35053 echo $ECHO_N "(cached) $ECHO_C" >&6
35056 wx_save_CXXFLAGS="$CXXFLAGS"
35057 wx_save_LDFLAGS="$LDFLAGS"
35058 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35059 LDFLAGS="$LDFLAGS -shared -fPIC"
35061 ac_cpp='$CXXCPP $CPPFLAGS'
35062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35066 cat >conftest.$ac_ext <<_ACEOF
35069 cat confdefs.h >>conftest.$ac_ext
35070 cat >>conftest.$ac_ext <<_ACEOF
35071 /* end confdefs.h. */
35079 std::string s("hello");
35086 rm -f conftest.$ac_objext conftest$ac_exeext
35087 if { (ac_try="$ac_link"
35088 case "(($ac_try" in
35089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35090 *) ac_try_echo=$ac_try;;
35092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35093 (eval "$ac_link") 2>conftest.er1
35095 grep -v '^ *+' conftest.er1 >conftest.err
35097 cat conftest.err >&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } && {
35100 test -z "$ac_cxx_werror_flag" ||
35101 test ! -s conftest.err
35102 } && test -s conftest$ac_exeext &&
35103 $as_test_x conftest$ac_exeext; then
35104 wx_cv_cc_broken_libstdcxx_visibility=no
35106 echo "$as_me: failed program was:" >&5
35107 sed 's/^/| /' conftest.$ac_ext >&5
35109 wx_cv_cc_broken_libstdcxx_visibility=yes
35112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35113 conftest$ac_exeext conftest.$ac_ext
35115 ac_cpp='$CPP $CPPFLAGS'
35116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35120 CXXFLAGS="$wx_save_CXXFLAGS"
35121 LDFLAGS="$wx_save_LDFLAGS"
35124 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35125 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35127 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35128 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35129 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35130 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35131 echo $ECHO_N "(cached) $ECHO_C" >&6
35135 ac_cpp='$CXXCPP $CPPFLAGS'
35136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35140 cat >conftest.$ac_ext <<_ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h. */
35147 #pragma GCC visibility push(default)
35149 #pragma GCC visibility pop
35155 std::string s("hello");
35162 rm -f conftest.$ac_objext conftest$ac_exeext
35163 if { (ac_try="$ac_link"
35164 case "(($ac_try" in
35165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35166 *) ac_try_echo=$ac_try;;
35168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35169 (eval "$ac_link") 2>conftest.er1
35171 grep -v '^ *+' conftest.er1 >conftest.err
35173 cat conftest.err >&5
35174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175 (exit $ac_status); } && {
35176 test -z "$ac_cxx_werror_flag" ||
35177 test ! -s conftest.err
35178 } && test -s conftest$ac_exeext &&
35179 $as_test_x conftest$ac_exeext; then
35180 wx_cv_cc_visibility_workaround=no
35182 echo "$as_me: failed program was:" >&5
35183 sed 's/^/| /' conftest.$ac_ext >&5
35185 wx_cv_cc_visibility_workaround=yes
35188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35189 conftest$ac_exeext conftest.$ac_ext
35191 ac_cpp='$CPP $CPPFLAGS'
35192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35199 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35200 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35202 if test $wx_cv_cc_visibility_workaround = no; then
35203 wx_cv_cc_visibility=no
35208 if test $wx_cv_cc_visibility = yes; then
35209 cat >>confdefs.h <<\_ACEOF
35210 #define HAVE_VISIBILITY 1
35213 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35214 cat >>confdefs.h <<\_ACEOF
35215 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35220 CFLAGS_VISIBILITY=""
35221 CXXFLAGS_VISIBILITY=""
35229 if test "x$SUNCXX" = xyes; then
35230 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35231 WXCONFIG_RPATH="-R\$libdir"
35234 *-*-linux* | *-*-gnu* )
35235 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35236 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35241 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35243 saveLdflags="$LDFLAGS"
35244 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35245 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35246 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35247 cat >conftest.$ac_ext <<_ACEOF
35250 cat confdefs.h >>conftest.$ac_ext
35251 cat >>conftest.$ac_ext <<_ACEOF
35252 /* end confdefs.h. */
35262 rm -f conftest.$ac_objext conftest$ac_exeext
35263 if { (ac_try="$ac_link"
35264 case "(($ac_try" in
35265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35266 *) ac_try_echo=$ac_try;;
35268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35269 (eval "$ac_link") 2>conftest.er1
35271 grep -v '^ *+' conftest.er1 >conftest.err
35273 cat conftest.err >&5
35274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275 (exit $ac_status); } && {
35276 test -z "$ac_c_werror_flag" ||
35277 test ! -s conftest.err
35278 } && test -s conftest$ac_exeext &&
35279 $as_test_x conftest$ac_exeext; then
35281 { echo "$as_me:$LINENO: result: yes" >&5
35282 echo "${ECHO_T}yes" >&6; }
35283 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35284 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.$ac_ext >&5
35291 { echo "$as_me:$LINENO: result: no" >&5
35292 echo "${ECHO_T}no" >&6; }
35293 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35294 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35295 LDFLAGS="$saveLdflags -Wl,-R,/"
35296 cat >conftest.$ac_ext <<_ACEOF
35299 cat confdefs.h >>conftest.$ac_ext
35300 cat >>conftest.$ac_ext <<_ACEOF
35301 /* end confdefs.h. */
35311 rm -f conftest.$ac_objext conftest$ac_exeext
35312 if { (ac_try="$ac_link"
35313 case "(($ac_try" in
35314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35315 *) ac_try_echo=$ac_try;;
35317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35318 (eval "$ac_link") 2>conftest.er1
35320 grep -v '^ *+' conftest.er1 >conftest.err
35322 cat conftest.err >&5
35323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35324 (exit $ac_status); } && {
35325 test -z "$ac_c_werror_flag" ||
35326 test ! -s conftest.err
35327 } && test -s conftest$ac_exeext &&
35328 $as_test_x conftest$ac_exeext; then
35330 { echo "$as_me:$LINENO: result: yes" >&5
35331 echo "${ECHO_T}yes" >&6; }
35332 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35333 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35336 echo "$as_me: failed program was:" >&5
35337 sed 's/^/| /' conftest.$ac_ext >&5
35340 { echo "$as_me:$LINENO: result: no" >&5
35341 echo "${ECHO_T}no" >&6; }
35345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35346 conftest$ac_exeext conftest.$ac_ext
35350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35351 conftest$ac_exeext conftest.$ac_ext
35352 LDFLAGS="$saveLdflags"
35356 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35357 if test "$install_name_tool" -a -x "$install_name_tool"; then
35358 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35359 cat <<EOF >change-install-names
35361 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35362 for i in \${libnames} ; do
35363 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35364 for dep in \${libnames} ; do
35365 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35369 chmod +x change-install-names
35370 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35373 HEADER_PAD_OPTION="-headerpad_max_install_names"
35376 *-*-cygwin* | *-*-mingw32* )
35380 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35381 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35387 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35389 if test $wxUSE_RPATH = "no"; then
35390 SAMPLES_RPATH_FLAG=''
35391 DYLIB_PATH_POSTLINK=''
35399 config_linkage_component="-static"
35406 lib_unicode_suffix=
35408 if test "$wxUSE_UNICODE" = "yes"; then
35409 lib_unicode_suffix=u
35410 WX_CHARTYPE="unicode"
35414 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35415 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35418 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35422 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35424 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35426 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35429 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35430 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35432 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35434 if test "${TOOLKIT_DIR}" = "os2"; then
35435 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35437 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35442 if test "$wxUSE_OLD_COCOA" = 1; then
35445 ac_cpp='$CPP $CPPFLAGS'
35446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35452 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35453 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35454 cat >conftest.$ac_ext <<_ACEOF
35457 cat confdefs.h >>conftest.$ac_ext
35458 cat >>conftest.$ac_ext <<_ACEOF
35459 /* end confdefs.h. */
35460 #include <AppKit/NSEvent.h>
35461 #include <CoreFoundation/CoreFoundation.h>
35471 rm -f conftest.$ac_objext
35472 if { (ac_try="$ac_compile"
35473 case "(($ac_try" in
35474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35475 *) ac_try_echo=$ac_try;;
35477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35478 (eval "$ac_compile") 2>conftest.er1
35480 grep -v '^ *+' conftest.er1 >conftest.err
35482 cat conftest.err >&5
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); } && {
35485 test -z "$ac_c_werror_flag" ||
35486 test ! -s conftest.err
35487 } && test -s conftest.$ac_objext; then
35488 { echo "$as_me:$LINENO: result: no" >&5
35489 echo "${ECHO_T}no" >&6; }
35491 echo "$as_me: failed program was:" >&5
35492 sed 's/^/| /' conftest.$ac_ext >&5
35494 { echo "$as_me:$LINENO: result: yes" >&5
35495 echo "${ECHO_T}yes" >&6; }
35496 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35497 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35498 cat >conftest.$ac_ext <<_ACEOF
35501 cat confdefs.h >>conftest.$ac_ext
35502 cat >>conftest.$ac_ext <<_ACEOF
35503 /* end confdefs.h. */
35504 #define __Point__ 1
35505 #include <AppKit/NSEvent.h>
35506 #include <CoreFoundation/CoreFoundation.h>
35516 rm -f conftest.$ac_objext
35517 if { (ac_try="$ac_compile"
35518 case "(($ac_try" in
35519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35520 *) ac_try_echo=$ac_try;;
35522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35523 (eval "$ac_compile") 2>conftest.er1
35525 grep -v '^ *+' conftest.er1 >conftest.err
35527 cat conftest.err >&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); } && {
35530 test -z "$ac_c_werror_flag" ||
35531 test ! -s conftest.err
35532 } && test -s conftest.$ac_objext; then
35533 { echo "$as_me:$LINENO: result: yes" >&5
35534 echo "${ECHO_T}yes" >&6; }
35535 cat >>confdefs.h <<\_ACEOF
35536 #define __Point__ 1
35541 echo "$as_me: failed program was:" >&5
35542 sed 's/^/| /' conftest.$ac_ext >&5
35544 { { echo "$as_me:$LINENO: error: no
35545 See \`config.log' for more details." >&5
35546 echo "$as_me: error: no
35547 See \`config.log' for more details." >&2;}
35548 { (exit 1); exit 1; }; }
35552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35558 ac_cpp='$CPP $CPPFLAGS'
35559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35566 { echo "$as_me:$LINENO: checking for mode_t" >&5
35567 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35568 if test "${ac_cv_type_mode_t+set}" = set; then
35569 echo $ECHO_N "(cached) $ECHO_C" >&6
35571 cat >conftest.$ac_ext <<_ACEOF
35574 cat confdefs.h >>conftest.$ac_ext
35575 cat >>conftest.$ac_ext <<_ACEOF
35576 /* end confdefs.h. */
35577 $ac_includes_default
35578 typedef mode_t ac__type_new_;
35582 if ((ac__type_new_ *) 0)
35584 if (sizeof (ac__type_new_))
35590 rm -f conftest.$ac_objext
35591 if { (ac_try="$ac_compile"
35592 case "(($ac_try" in
35593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35594 *) ac_try_echo=$ac_try;;
35596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35597 (eval "$ac_compile") 2>conftest.er1
35599 grep -v '^ *+' conftest.er1 >conftest.err
35601 cat conftest.err >&5
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); } && {
35604 test -z "$ac_c_werror_flag" ||
35605 test ! -s conftest.err
35606 } && test -s conftest.$ac_objext; then
35607 ac_cv_type_mode_t=yes
35609 echo "$as_me: failed program was:" >&5
35610 sed 's/^/| /' conftest.$ac_ext >&5
35612 ac_cv_type_mode_t=no
35615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35617 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35618 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35619 if test $ac_cv_type_mode_t = yes; then
35623 cat >>confdefs.h <<_ACEOF
35629 { echo "$as_me:$LINENO: checking for off_t" >&5
35630 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35631 if test "${ac_cv_type_off_t+set}" = set; then
35632 echo $ECHO_N "(cached) $ECHO_C" >&6
35634 cat >conftest.$ac_ext <<_ACEOF
35637 cat confdefs.h >>conftest.$ac_ext
35638 cat >>conftest.$ac_ext <<_ACEOF
35639 /* end confdefs.h. */
35640 $ac_includes_default
35641 typedef off_t ac__type_new_;
35645 if ((ac__type_new_ *) 0)
35647 if (sizeof (ac__type_new_))
35653 rm -f conftest.$ac_objext
35654 if { (ac_try="$ac_compile"
35655 case "(($ac_try" in
35656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35657 *) ac_try_echo=$ac_try;;
35659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35660 (eval "$ac_compile") 2>conftest.er1
35662 grep -v '^ *+' conftest.er1 >conftest.err
35664 cat conftest.err >&5
35665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35666 (exit $ac_status); } && {
35667 test -z "$ac_c_werror_flag" ||
35668 test ! -s conftest.err
35669 } && test -s conftest.$ac_objext; then
35670 ac_cv_type_off_t=yes
35672 echo "$as_me: failed program was:" >&5
35673 sed 's/^/| /' conftest.$ac_ext >&5
35675 ac_cv_type_off_t=no
35678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35680 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35681 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35682 if test $ac_cv_type_off_t = yes; then
35686 cat >>confdefs.h <<_ACEOF
35687 #define off_t long int
35692 { echo "$as_me:$LINENO: checking for pid_t" >&5
35693 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35694 if test "${ac_cv_type_pid_t+set}" = set; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35697 cat >conftest.$ac_ext <<_ACEOF
35700 cat confdefs.h >>conftest.$ac_ext
35701 cat >>conftest.$ac_ext <<_ACEOF
35702 /* end confdefs.h. */
35703 $ac_includes_default
35704 typedef pid_t ac__type_new_;
35708 if ((ac__type_new_ *) 0)
35710 if (sizeof (ac__type_new_))
35716 rm -f conftest.$ac_objext
35717 if { (ac_try="$ac_compile"
35718 case "(($ac_try" in
35719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35720 *) ac_try_echo=$ac_try;;
35722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35723 (eval "$ac_compile") 2>conftest.er1
35725 grep -v '^ *+' conftest.er1 >conftest.err
35727 cat conftest.err >&5
35728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35729 (exit $ac_status); } && {
35730 test -z "$ac_c_werror_flag" ||
35731 test ! -s conftest.err
35732 } && test -s conftest.$ac_objext; then
35733 ac_cv_type_pid_t=yes
35735 echo "$as_me: failed program was:" >&5
35736 sed 's/^/| /' conftest.$ac_ext >&5
35738 ac_cv_type_pid_t=no
35741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35743 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35744 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35745 if test $ac_cv_type_pid_t = yes; then
35749 cat >>confdefs.h <<_ACEOF
35755 { echo "$as_me:$LINENO: checking for size_t" >&5
35756 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35757 if test "${ac_cv_type_size_t+set}" = set; then
35758 echo $ECHO_N "(cached) $ECHO_C" >&6
35760 cat >conftest.$ac_ext <<_ACEOF
35763 cat confdefs.h >>conftest.$ac_ext
35764 cat >>conftest.$ac_ext <<_ACEOF
35765 /* end confdefs.h. */
35766 $ac_includes_default
35767 typedef size_t ac__type_new_;
35771 if ((ac__type_new_ *) 0)
35773 if (sizeof (ac__type_new_))
35779 rm -f conftest.$ac_objext
35780 if { (ac_try="$ac_compile"
35781 case "(($ac_try" in
35782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35783 *) ac_try_echo=$ac_try;;
35785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35786 (eval "$ac_compile") 2>conftest.er1
35788 grep -v '^ *+' conftest.er1 >conftest.err
35790 cat conftest.err >&5
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); } && {
35793 test -z "$ac_c_werror_flag" ||
35794 test ! -s conftest.err
35795 } && test -s conftest.$ac_objext; then
35796 ac_cv_type_size_t=yes
35798 echo "$as_me: failed program was:" >&5
35799 sed 's/^/| /' conftest.$ac_ext >&5
35801 ac_cv_type_size_t=no
35804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35807 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35808 if test $ac_cv_type_size_t = yes; then
35812 cat >>confdefs.h <<_ACEOF
35813 #define size_t unsigned int
35819 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35820 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35821 if test "${ac_cv_type_ssize_t+set}" = set; then
35822 echo $ECHO_N "(cached) $ECHO_C" >&6
35824 cat >conftest.$ac_ext <<_ACEOF
35827 cat confdefs.h >>conftest.$ac_ext
35828 cat >>conftest.$ac_ext <<_ACEOF
35829 /* end confdefs.h. */
35830 $ac_includes_default
35831 typedef ssize_t ac__type_new_;
35835 if ((ac__type_new_ *) 0)
35837 if (sizeof (ac__type_new_))
35843 rm -f conftest.$ac_objext
35844 if { (ac_try="$ac_compile"
35845 case "(($ac_try" in
35846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35847 *) ac_try_echo=$ac_try;;
35849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35850 (eval "$ac_compile") 2>conftest.er1
35852 grep -v '^ *+' conftest.er1 >conftest.err
35854 cat conftest.err >&5
35855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35856 (exit $ac_status); } && {
35857 test -z "$ac_c_werror_flag" ||
35858 test ! -s conftest.err
35859 } && test -s conftest.$ac_objext; then
35860 ac_cv_type_ssize_t=yes
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35865 ac_cv_type_ssize_t=no
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35870 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35871 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35872 if test $ac_cv_type_ssize_t = yes; then
35874 cat >>confdefs.h <<_ACEOF
35875 #define HAVE_SSIZE_T 1
35883 ac_cpp='$CXXCPP $CPPFLAGS'
35884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35887 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35888 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35889 if test "${wx_cv_size_t_is_uint+set}" = set; then
35890 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. */
35899 #include <stddef.h>
35906 struct Foo { void foo(size_t); void foo(unsigned int); };
35914 rm -f conftest.$ac_objext
35915 if { (ac_try="$ac_compile"
35916 case "(($ac_try" in
35917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35918 *) ac_try_echo=$ac_try;;
35920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35921 (eval "$ac_compile") 2>conftest.er1
35923 grep -v '^ *+' conftest.er1 >conftest.err
35925 cat conftest.err >&5
35926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927 (exit $ac_status); } && {
35928 test -z "$ac_cxx_werror_flag" ||
35929 test ! -s conftest.err
35930 } && test -s conftest.$ac_objext; then
35931 wx_cv_size_t_is_uint=no
35933 echo "$as_me: failed program was:" >&5
35934 sed 's/^/| /' conftest.$ac_ext >&5
35936 wx_cv_size_t_is_uint=yes
35940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35944 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35945 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35947 if test "$wx_cv_size_t_is_uint" = "yes"; then
35948 cat >>confdefs.h <<\_ACEOF
35949 #define wxSIZE_T_IS_UINT 1
35953 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35954 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35955 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35956 echo $ECHO_N "(cached) $ECHO_C" >&6
35958 cat >conftest.$ac_ext <<_ACEOF
35961 cat confdefs.h >>conftest.$ac_ext
35962 cat >>conftest.$ac_ext <<_ACEOF
35963 /* end confdefs.h. */
35964 #include <stddef.h>
35971 struct Foo { void foo(size_t); void foo(unsigned long); };
35979 rm -f conftest.$ac_objext
35980 if { (ac_try="$ac_compile"
35981 case "(($ac_try" in
35982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35983 *) ac_try_echo=$ac_try;;
35985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35986 (eval "$ac_compile") 2>conftest.er1
35988 grep -v '^ *+' conftest.er1 >conftest.err
35990 cat conftest.err >&5
35991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35992 (exit $ac_status); } && {
35993 test -z "$ac_cxx_werror_flag" ||
35994 test ! -s conftest.err
35995 } && test -s conftest.$ac_objext; then
35996 wx_cv_size_t_is_ulong=no
35998 echo "$as_me: failed program was:" >&5
35999 sed 's/^/| /' conftest.$ac_ext >&5
36001 wx_cv_size_t_is_ulong=yes
36005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36008 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36009 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36011 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36012 cat >>confdefs.h <<\_ACEOF
36013 #define wxSIZE_T_IS_ULONG 1
36019 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36020 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36021 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36022 echo $ECHO_N "(cached) $ECHO_C" >&6
36024 cat >conftest.$ac_ext <<_ACEOF
36027 cat confdefs.h >>conftest.$ac_ext
36028 cat >>conftest.$ac_ext <<_ACEOF
36029 /* end confdefs.h. */
36037 struct Foo { void foo(wchar_t);
36038 void foo(unsigned short);
36039 void foo(unsigned int);
36040 void foo(unsigned long); };
36048 rm -f conftest.$ac_objext
36049 if { (ac_try="$ac_compile"
36050 case "(($ac_try" in
36051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36052 *) ac_try_echo=$ac_try;;
36054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36055 (eval "$ac_compile") 2>conftest.er1
36057 grep -v '^ *+' conftest.er1 >conftest.err
36059 cat conftest.err >&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); } && {
36062 test -z "$ac_cxx_werror_flag" ||
36063 test ! -s conftest.err
36064 } && test -s conftest.$ac_objext; then
36065 wx_cv_wchar_t_is_separate_type=yes
36067 echo "$as_me: failed program was:" >&5
36068 sed 's/^/| /' conftest.$ac_ext >&5
36070 wx_cv_wchar_t_is_separate_type=no
36074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36077 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36078 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36080 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36081 cat >>confdefs.h <<\_ACEOF
36082 #define wxWCHAR_T_IS_REAL_TYPE 1
36086 cat >>confdefs.h <<\_ACEOF
36087 #define wxWCHAR_T_IS_REAL_TYPE 0
36093 ac_cpp='$CPP $CPPFLAGS'
36094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36099 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36100 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36101 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36102 echo $ECHO_N "(cached) $ECHO_C" >&6
36105 cat >conftest.$ac_ext <<_ACEOF
36108 cat confdefs.h >>conftest.$ac_ext
36109 cat >>conftest.$ac_ext <<_ACEOF
36110 /* end confdefs.h. */
36124 rm -f conftest.$ac_objext
36125 if { (ac_try="$ac_compile"
36126 case "(($ac_try" in
36127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36128 *) ac_try_echo=$ac_try;;
36130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36131 (eval "$ac_compile") 2>conftest.er1
36133 grep -v '^ *+' conftest.er1 >conftest.err
36135 cat conftest.err >&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } && {
36138 test -z "$ac_c_werror_flag" ||
36139 test ! -s conftest.err
36140 } && test -s conftest.$ac_objext; then
36142 wx_cv_struct_pw_gecos=yes
36145 echo "$as_me: failed program was:" >&5
36146 sed 's/^/| /' conftest.$ac_ext >&5
36149 wx_cv_struct_pw_gecos=no
36154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36158 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36159 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36161 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36162 cat >>confdefs.h <<\_ACEOF
36163 #define HAVE_PW_GECOS 1
36172 for ac_func in wcslen
36174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36175 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36177 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36178 echo $ECHO_N "(cached) $ECHO_C" >&6
36180 cat >conftest.$ac_ext <<_ACEOF
36183 cat confdefs.h >>conftest.$ac_ext
36184 cat >>conftest.$ac_ext <<_ACEOF
36185 /* end confdefs.h. */
36186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36188 #define $ac_func innocuous_$ac_func
36190 /* System header to define __stub macros and hopefully few prototypes,
36191 which can conflict with char $ac_func (); below.
36192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36193 <limits.h> exists even on freestanding compilers. */
36196 # include <limits.h>
36198 # include <assert.h>
36203 /* Override any GCC internal prototype to avoid an error.
36204 Use char because int might match the return type of a GCC
36205 builtin and then its argument prototype would still apply. */
36210 /* The GNU C library defines this for functions which it implements
36211 to always fail with ENOSYS. Some functions are actually named
36212 something starting with __ and the normal name is an alias. */
36213 #if defined __stub_$ac_func || defined __stub___$ac_func
36220 return $ac_func ();
36225 rm -f conftest.$ac_objext conftest$ac_exeext
36226 if { (ac_try="$ac_link"
36227 case "(($ac_try" in
36228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36229 *) ac_try_echo=$ac_try;;
36231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36232 (eval "$ac_link") 2>conftest.er1
36234 grep -v '^ *+' conftest.er1 >conftest.err
36236 cat conftest.err >&5
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); } && {
36239 test -z "$ac_c_werror_flag" ||
36240 test ! -s conftest.err
36241 } && test -s conftest$ac_exeext &&
36242 $as_test_x conftest$ac_exeext; then
36243 eval "$as_ac_var=yes"
36245 echo "$as_me: failed program was:" >&5
36246 sed 's/^/| /' conftest.$ac_ext >&5
36248 eval "$as_ac_var=no"
36251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36252 conftest$ac_exeext conftest.$ac_ext
36254 ac_res=`eval echo '${'$as_ac_var'}'`
36255 { echo "$as_me:$LINENO: result: $ac_res" >&5
36256 echo "${ECHO_T}$ac_res" >&6; }
36257 if test `eval echo '${'$as_ac_var'}'` = yes; then
36258 cat >>confdefs.h <<_ACEOF
36259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36266 if test "$WCSLEN_FOUND" = 0; then
36267 if test "$TOOLKIT" = "MSW"; then
36268 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36269 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36270 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36271 echo $ECHO_N "(cached) $ECHO_C" >&6
36273 ac_check_lib_save_LIBS=$LIBS
36274 LIBS="-lmsvcrt $LIBS"
36275 cat >conftest.$ac_ext <<_ACEOF
36278 cat confdefs.h >>conftest.$ac_ext
36279 cat >>conftest.$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36282 /* Override any GCC internal prototype to avoid an error.
36283 Use char because int might match the return type of a GCC
36284 builtin and then its argument prototype would still apply. */
36297 rm -f conftest.$ac_objext conftest$ac_exeext
36298 if { (ac_try="$ac_link"
36299 case "(($ac_try" in
36300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36301 *) ac_try_echo=$ac_try;;
36303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36304 (eval "$ac_link") 2>conftest.er1
36306 grep -v '^ *+' conftest.er1 >conftest.err
36308 cat conftest.err >&5
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); } && {
36311 test -z "$ac_c_werror_flag" ||
36312 test ! -s conftest.err
36313 } && test -s conftest$ac_exeext &&
36314 $as_test_x conftest$ac_exeext; then
36315 ac_cv_lib_msvcrt_wcslen=yes
36317 echo "$as_me: failed program was:" >&5
36318 sed 's/^/| /' conftest.$ac_ext >&5
36320 ac_cv_lib_msvcrt_wcslen=no
36323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36324 conftest$ac_exeext conftest.$ac_ext
36325 LIBS=$ac_check_lib_save_LIBS
36327 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36328 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36329 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36334 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36335 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36336 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36337 echo $ECHO_N "(cached) $ECHO_C" >&6
36339 ac_check_lib_save_LIBS=$LIBS
36341 cat >conftest.$ac_ext <<_ACEOF
36344 cat confdefs.h >>conftest.$ac_ext
36345 cat >>conftest.$ac_ext <<_ACEOF
36346 /* end confdefs.h. */
36348 /* Override any GCC internal prototype to avoid an error.
36349 Use char because int might match the return type of a GCC
36350 builtin and then its argument prototype would still apply. */
36363 rm -f conftest.$ac_objext conftest$ac_exeext
36364 if { (ac_try="$ac_link"
36365 case "(($ac_try" in
36366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36367 *) ac_try_echo=$ac_try;;
36369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36370 (eval "$ac_link") 2>conftest.er1
36372 grep -v '^ *+' conftest.er1 >conftest.err
36374 cat conftest.err >&5
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); } && {
36377 test -z "$ac_c_werror_flag" ||
36378 test ! -s conftest.err
36379 } && test -s conftest$ac_exeext &&
36380 $as_test_x conftest$ac_exeext; then
36381 ac_cv_lib_w_wcslen=yes
36383 echo "$as_me: failed program was:" >&5
36384 sed 's/^/| /' conftest.$ac_ext >&5
36386 ac_cv_lib_w_wcslen=no
36389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36390 conftest$ac_exeext conftest.$ac_ext
36391 LIBS=$ac_check_lib_save_LIBS
36393 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36394 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36395 if test $ac_cv_lib_w_wcslen = yes; then
36405 if test "$WCSLEN_FOUND" = 1; then
36406 cat >>confdefs.h <<\_ACEOF
36407 #define HAVE_WCSLEN 1
36418 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36424 echo $ECHO_N "(cached) $ECHO_C" >&6
36426 cat >conftest.$ac_ext <<_ACEOF
36429 cat confdefs.h >>conftest.$ac_ext
36430 cat >>conftest.$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36434 #define $ac_func innocuous_$ac_func
36436 /* System header to define __stub macros and hopefully few prototypes,
36437 which can conflict with char $ac_func (); below.
36438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36439 <limits.h> exists even on freestanding compilers. */
36442 # include <limits.h>
36444 # include <assert.h>
36449 /* Override any GCC internal prototype to avoid an error.
36450 Use char because int might match the return type of a GCC
36451 builtin and then its argument prototype would still apply. */
36456 /* The GNU C library defines this for functions which it implements
36457 to always fail with ENOSYS. Some functions are actually named
36458 something starting with __ and the normal name is an alias. */
36459 #if defined __stub_$ac_func || defined __stub___$ac_func
36466 return $ac_func ();
36471 rm -f conftest.$ac_objext conftest$ac_exeext
36472 if { (ac_try="$ac_link"
36473 case "(($ac_try" in
36474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36475 *) ac_try_echo=$ac_try;;
36477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36478 (eval "$ac_link") 2>conftest.er1
36480 grep -v '^ *+' conftest.er1 >conftest.err
36482 cat conftest.err >&5
36483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 (exit $ac_status); } && {
36485 test -z "$ac_c_werror_flag" ||
36486 test ! -s conftest.err
36487 } && test -s conftest$ac_exeext &&
36488 $as_test_x conftest$ac_exeext; then
36489 eval "$as_ac_var=yes"
36491 echo "$as_me: failed program was:" >&5
36492 sed 's/^/| /' conftest.$ac_ext >&5
36494 eval "$as_ac_var=no"
36497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36498 conftest$ac_exeext conftest.$ac_ext
36500 ac_res=`eval echo '${'$as_ac_var'}'`
36501 { echo "$as_me:$LINENO: result: $ac_res" >&5
36502 echo "${ECHO_T}$ac_res" >&6; }
36503 if test `eval echo '${'$as_ac_var'}'` = yes; then
36504 cat >>confdefs.h <<_ACEOF
36505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36512 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36513 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36516 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36517 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36518 if test "${ac_cv_type_mbstate_t+set}" = set; then
36519 echo $ECHO_N "(cached) $ECHO_C" >&6
36521 cat >conftest.$ac_ext <<_ACEOF
36524 cat confdefs.h >>conftest.$ac_ext
36525 cat >>conftest.$ac_ext <<_ACEOF
36526 /* end confdefs.h. */
36529 typedef mbstate_t ac__type_new_;
36533 if ((ac__type_new_ *) 0)
36535 if (sizeof (ac__type_new_))
36541 rm -f conftest.$ac_objext
36542 if { (ac_try="$ac_compile"
36543 case "(($ac_try" in
36544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36545 *) ac_try_echo=$ac_try;;
36547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36548 (eval "$ac_compile") 2>conftest.er1
36550 grep -v '^ *+' conftest.er1 >conftest.err
36552 cat conftest.err >&5
36553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36554 (exit $ac_status); } && {
36555 test -z "$ac_c_werror_flag" ||
36556 test ! -s conftest.err
36557 } && test -s conftest.$ac_objext; then
36558 ac_cv_type_mbstate_t=yes
36560 echo "$as_me: failed program was:" >&5
36561 sed 's/^/| /' conftest.$ac_ext >&5
36563 ac_cv_type_mbstate_t=no
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36568 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36569 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36570 if test $ac_cv_type_mbstate_t = yes; then
36572 cat >>confdefs.h <<_ACEOF
36573 #define HAVE_MBSTATE_T 1
36577 for ac_func in wcsrtombs
36579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36583 echo $ECHO_N "(cached) $ECHO_C" >&6
36585 cat >conftest.$ac_ext <<_ACEOF
36588 cat confdefs.h >>conftest.$ac_ext
36589 cat >>conftest.$ac_ext <<_ACEOF
36590 /* end confdefs.h. */
36591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36593 #define $ac_func innocuous_$ac_func
36595 /* System header to define __stub macros and hopefully few prototypes,
36596 which can conflict with char $ac_func (); below.
36597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36598 <limits.h> exists even on freestanding compilers. */
36601 # include <limits.h>
36603 # include <assert.h>
36608 /* Override any GCC internal prototype to avoid an error.
36609 Use char because int might match the return type of a GCC
36610 builtin and then its argument prototype would still apply. */
36615 /* The GNU C library defines this for functions which it implements
36616 to always fail with ENOSYS. Some functions are actually named
36617 something starting with __ and the normal name is an alias. */
36618 #if defined __stub_$ac_func || defined __stub___$ac_func
36625 return $ac_func ();
36630 rm -f conftest.$ac_objext conftest$ac_exeext
36631 if { (ac_try="$ac_link"
36632 case "(($ac_try" in
36633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36634 *) ac_try_echo=$ac_try;;
36636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36637 (eval "$ac_link") 2>conftest.er1
36639 grep -v '^ *+' conftest.er1 >conftest.err
36641 cat conftest.err >&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } && {
36644 test -z "$ac_c_werror_flag" ||
36645 test ! -s conftest.err
36646 } && test -s conftest$ac_exeext &&
36647 $as_test_x conftest$ac_exeext; then
36648 eval "$as_ac_var=yes"
36650 echo "$as_me: failed program was:" >&5
36651 sed 's/^/| /' conftest.$ac_ext >&5
36653 eval "$as_ac_var=no"
36656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36657 conftest$ac_exeext conftest.$ac_ext
36659 ac_res=`eval echo '${'$as_ac_var'}'`
36660 { echo "$as_me:$LINENO: result: $ac_res" >&5
36661 echo "${ECHO_T}$ac_res" >&6; }
36662 if test `eval echo '${'$as_ac_var'}'` = yes; then
36663 cat >>confdefs.h <<_ACEOF
36664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36676 for ac_func in snprintf vsnprintf vsscanf
36678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36679 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36681 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36682 echo $ECHO_N "(cached) $ECHO_C" >&6
36684 cat >conftest.$ac_ext <<_ACEOF
36687 cat confdefs.h >>conftest.$ac_ext
36688 cat >>conftest.$ac_ext <<_ACEOF
36689 /* end confdefs.h. */
36690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36692 #define $ac_func innocuous_$ac_func
36694 /* System header to define __stub macros and hopefully few prototypes,
36695 which can conflict with char $ac_func (); below.
36696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36697 <limits.h> exists even on freestanding compilers. */
36700 # include <limits.h>
36702 # include <assert.h>
36707 /* Override any GCC internal prototype to avoid an error.
36708 Use char because int might match the return type of a GCC
36709 builtin and then its argument prototype would still apply. */
36714 /* The GNU C library defines this for functions which it implements
36715 to always fail with ENOSYS. Some functions are actually named
36716 something starting with __ and the normal name is an alias. */
36717 #if defined __stub_$ac_func || defined __stub___$ac_func
36724 return $ac_func ();
36729 rm -f conftest.$ac_objext conftest$ac_exeext
36730 if { (ac_try="$ac_link"
36731 case "(($ac_try" in
36732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36733 *) ac_try_echo=$ac_try;;
36735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36736 (eval "$ac_link") 2>conftest.er1
36738 grep -v '^ *+' conftest.er1 >conftest.err
36740 cat conftest.err >&5
36741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742 (exit $ac_status); } && {
36743 test -z "$ac_c_werror_flag" ||
36744 test ! -s conftest.err
36745 } && test -s conftest$ac_exeext &&
36746 $as_test_x conftest$ac_exeext; then
36747 eval "$as_ac_var=yes"
36749 echo "$as_me: failed program was:" >&5
36750 sed 's/^/| /' conftest.$ac_ext >&5
36752 eval "$as_ac_var=no"
36755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36756 conftest$ac_exeext conftest.$ac_ext
36758 ac_res=`eval echo '${'$as_ac_var'}'`
36759 { echo "$as_me:$LINENO: result: $ac_res" >&5
36760 echo "${ECHO_T}$ac_res" >&6; }
36761 if test `eval echo '${'$as_ac_var'}'` = yes; then
36762 cat >>confdefs.h <<_ACEOF
36763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36771 ac_cpp='$CXXCPP $CPPFLAGS'
36772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36776 if test "$ac_cv_func_vsnprintf" = "yes"; then
36777 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36778 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36779 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36780 echo $ECHO_N "(cached) $ECHO_C" >&6
36783 cat >conftest.$ac_ext <<_ACEOF
36786 cat confdefs.h >>conftest.$ac_ext
36787 cat >>conftest.$ac_ext <<_ACEOF
36788 /* end confdefs.h. */
36791 #include <stdarg.h>
36793 #if __MSL__ >= 0x6000
36795 using namespace std;
36805 vsnprintf(buf, 10u, "%s", ap);
36811 rm -f conftest.$ac_objext
36812 if { (ac_try="$ac_compile"
36813 case "(($ac_try" in
36814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36815 *) ac_try_echo=$ac_try;;
36817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36818 (eval "$ac_compile") 2>conftest.er1
36820 grep -v '^ *+' conftest.er1 >conftest.err
36822 cat conftest.err >&5
36823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824 (exit $ac_status); } && {
36825 test -z "$ac_cxx_werror_flag" ||
36826 test ! -s conftest.err
36827 } && test -s conftest.$ac_objext; then
36828 wx_cv_func_vsnprintf_decl=yes
36830 echo "$as_me: failed program was:" >&5
36831 sed 's/^/| /' conftest.$ac_ext >&5
36833 wx_cv_func_vsnprintf_decl=no
36837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36841 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36842 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36844 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36845 cat >>confdefs.h <<\_ACEOF
36846 #define HAVE_VSNPRINTF_DECL 1
36850 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36851 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36852 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36853 echo $ECHO_N "(cached) $ECHO_C" >&6
36856 cat >conftest.$ac_ext <<_ACEOF
36859 cat confdefs.h >>conftest.$ac_ext
36860 cat >>conftest.$ac_ext <<_ACEOF
36861 /* end confdefs.h. */
36864 #include <stdarg.h>
36866 #if __MSL__ >= 0x6000
36868 using namespace std;
36878 const char *fmt = "%s";
36879 vsnprintf(buf, 10u, fmt, ap);
36885 rm -f conftest.$ac_objext
36886 if { (ac_try="$ac_compile"
36887 case "(($ac_try" in
36888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36889 *) ac_try_echo=$ac_try;;
36891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36892 (eval "$ac_compile") 2>conftest.er1
36894 grep -v '^ *+' conftest.er1 >conftest.err
36896 cat conftest.err >&5
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); } && {
36899 test -z "$ac_cxx_werror_flag" ||
36900 test ! -s conftest.err
36901 } && test -s conftest.$ac_objext; then
36902 wx_cv_func_broken_vsnprintf_decl=no
36904 echo "$as_me: failed program was:" >&5
36905 sed 's/^/| /' conftest.$ac_ext >&5
36907 wx_cv_func_broken_vsnprintf_decl=yes
36911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36915 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36916 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36918 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36919 cat >>confdefs.h <<\_ACEOF
36920 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36927 if test "$ac_cv_func_snprintf" = "yes"; then
36928 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36929 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36930 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36931 echo $ECHO_N "(cached) $ECHO_C" >&6
36934 cat >conftest.$ac_ext <<_ACEOF
36937 cat confdefs.h >>conftest.$ac_ext
36938 cat >>conftest.$ac_ext <<_ACEOF
36939 /* end confdefs.h. */
36942 #include <stdarg.h>
36944 #if __MSL__ >= 0x6000
36946 using namespace std;
36955 snprintf(buf, 10u, "%s", "wx");
36961 rm -f conftest.$ac_objext
36962 if { (ac_try="$ac_compile"
36963 case "(($ac_try" in
36964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36965 *) ac_try_echo=$ac_try;;
36967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36968 (eval "$ac_compile") 2>conftest.er1
36970 grep -v '^ *+' conftest.er1 >conftest.err
36972 cat conftest.err >&5
36973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36974 (exit $ac_status); } && {
36975 test -z "$ac_cxx_werror_flag" ||
36976 test ! -s conftest.err
36977 } && test -s conftest.$ac_objext; then
36978 wx_cv_func_snprintf_decl=yes
36980 echo "$as_me: failed program was:" >&5
36981 sed 's/^/| /' conftest.$ac_ext >&5
36983 wx_cv_func_snprintf_decl=no
36987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36991 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36992 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36994 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36995 cat >>confdefs.h <<\_ACEOF
36996 #define HAVE_SNPRINTF_DECL 1
37001 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37003 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37004 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37005 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37006 echo $ECHO_N "(cached) $ECHO_C" >&6
37009 if test "$cross_compiling" = yes; then
37011 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37012 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37013 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37014 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37015 wx_cv_func_snprintf_pos_params=no
37019 cat >conftest.$ac_ext <<_ACEOF
37022 cat confdefs.h >>conftest.$ac_ext
37023 cat >>conftest.$ac_ext <<_ACEOF
37024 /* end confdefs.h. */
37031 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37032 if (strcmp ("2 3 1", buffer) == 0)
37038 rm -f conftest$ac_exeext
37039 if { (ac_try="$ac_link"
37040 case "(($ac_try" in
37041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37042 *) ac_try_echo=$ac_try;;
37044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37045 (eval "$ac_link") 2>&5
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37049 { (case "(($ac_try" in
37050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37051 *) ac_try_echo=$ac_try;;
37053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37054 (eval "$ac_try") 2>&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); }; }; then
37058 wx_cv_func_snprintf_pos_params=no
37060 echo "$as_me: program exited with status $ac_status" >&5
37061 echo "$as_me: failed program was:" >&5
37062 sed 's/^/| /' conftest.$ac_ext >&5
37064 ( exit $ac_status )
37065 wx_cv_func_snprintf_pos_params=yes
37067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37074 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37075 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37077 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37078 cat >>confdefs.h <<\_ACEOF
37079 #define HAVE_UNIX98_PRINTF 1
37086 if test "$ac_cv_func_vsscanf" = "yes"; then
37087 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37088 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37089 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37093 cat >conftest.$ac_ext <<_ACEOF
37096 cat confdefs.h >>conftest.$ac_ext
37097 cat >>conftest.$ac_ext <<_ACEOF
37098 /* end confdefs.h. */
37101 #include <stdarg.h>
37103 #if __MSL__ >= 0x6000
37105 using namespace std;
37115 vsscanf(buf, "%s", args);
37121 rm -f conftest.$ac_objext
37122 if { (ac_try="$ac_compile"
37123 case "(($ac_try" in
37124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37125 *) ac_try_echo=$ac_try;;
37127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37128 (eval "$ac_compile") 2>conftest.er1
37130 grep -v '^ *+' conftest.er1 >conftest.err
37132 cat conftest.err >&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } && {
37135 test -z "$ac_cxx_werror_flag" ||
37136 test ! -s conftest.err
37137 } && test -s conftest.$ac_objext; then
37138 wx_cv_func_vsscanf_decl=yes
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37143 wx_cv_func_vsscanf_decl=no
37147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37151 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37152 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37154 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37155 cat >>confdefs.h <<\_ACEOF
37156 #define HAVE_VSSCANF_DECL 1
37162 ac_cpp='$CPP $CPPFLAGS'
37163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37168 if test "$wxUSE_UNICODE" = yes; then
37170 wchar_headers="#include <stdio.h>
37171 #include <wchar.h>"
37175 for ac_header in widec.h
37177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37178 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37181 echo $ECHO_N "(cached) $ECHO_C" >&6
37183 cat >conftest.$ac_ext <<_ACEOF
37186 cat confdefs.h >>conftest.$ac_ext
37187 cat >>conftest.$ac_ext <<_ACEOF
37188 /* end confdefs.h. */
37189 $ac_includes_default
37191 #include <$ac_header>
37193 rm -f conftest.$ac_objext
37194 if { (ac_try="$ac_compile"
37195 case "(($ac_try" in
37196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37197 *) ac_try_echo=$ac_try;;
37199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37200 (eval "$ac_compile") 2>conftest.er1
37202 grep -v '^ *+' conftest.er1 >conftest.err
37204 cat conftest.err >&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); } && {
37207 test -z "$ac_c_werror_flag" ||
37208 test ! -s conftest.err
37209 } && test -s conftest.$ac_objext; then
37210 eval "$as_ac_Header=yes"
37212 echo "$as_me: failed program was:" >&5
37213 sed 's/^/| /' conftest.$ac_ext >&5
37215 eval "$as_ac_Header=no"
37218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37220 ac_res=`eval echo '${'$as_ac_Header'}'`
37221 { echo "$as_me:$LINENO: result: $ac_res" >&5
37222 echo "${ECHO_T}$ac_res" >&6; }
37223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37224 cat >>confdefs.h <<_ACEOF
37225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37232 if test "$ac_cv_header_widec_h" = "yes"; then
37233 wchar_headers="$wchar_headers
37234 #include <widec.h>"
37239 for wx_func in putws fputws wprintf vswprintf vswscanf
37241 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37242 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37243 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37244 echo $ECHO_N "(cached) $ECHO_C" >&6
37247 cat >conftest.$ac_ext <<_ACEOF
37251 cat confdefs.h >>conftest.$ac_ext
37252 cat >>conftest.$ac_ext <<_ACEOF
37253 /* end confdefs.h. */
37256 $ac_includes_default
37272 rm -f conftest.$ac_objext conftest$ac_exeext
37273 if { (ac_try="$ac_link"
37274 case "(($ac_try" in
37275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37276 *) ac_try_echo=$ac_try;;
37278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37279 (eval "$ac_link") 2>conftest.er1
37281 grep -v '^ *+' conftest.er1 >conftest.err
37283 cat conftest.err >&5
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); } && {
37286 test -z "$ac_c_werror_flag" ||
37287 test ! -s conftest.err
37288 } && test -s conftest$ac_exeext &&
37289 $as_test_x conftest$ac_exeext; then
37290 eval wx_cv_func_$wx_func=yes
37292 echo "$as_me: failed program was:" >&5
37293 sed 's/^/| /' conftest.$ac_ext >&5
37295 eval wx_cv_func_$wx_func=no
37298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37299 conftest$ac_exeext conftest.$ac_ext
37302 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37303 { echo "$as_me:$LINENO: result: $ac_res" >&5
37304 echo "${ECHO_T}$ac_res" >&6; }
37306 if eval test \$wx_cv_func_$wx_func = yes
37308 cat >>confdefs.h <<_ACEOF
37309 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37320 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37321 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37322 cat >conftest.$ac_ext <<_ACEOF
37325 cat confdefs.h >>conftest.$ac_ext
37326 cat >>conftest.$ac_ext <<_ACEOF
37327 /* end confdefs.h. */
37337 rm -f conftest.$ac_objext
37338 if { (ac_try="$ac_compile"
37339 case "(($ac_try" in
37340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37341 *) ac_try_echo=$ac_try;;
37343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37344 (eval "$ac_compile") 2>conftest.er1
37346 grep -v '^ *+' conftest.er1 >conftest.err
37348 cat conftest.err >&5
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); } && {
37351 test -z "$ac_c_werror_flag" ||
37352 test ! -s conftest.err
37353 } && test -s conftest.$ac_objext; then
37354 { echo "$as_me:$LINENO: result: yes" >&5
37355 echo "${ECHO_T}yes" >&6; }
37356 cat >>confdefs.h <<\_ACEOF
37357 #define HAVE__VSNWPRINTF 1
37361 echo "$as_me: failed program was:" >&5
37362 sed 's/^/| /' conftest.$ac_ext >&5
37364 { echo "$as_me:$LINENO: result: no" >&5
37365 echo "${ECHO_T}no" >&6; }
37368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37371 if test "$wxUSE_FILE" = "yes"; then
37373 for wx_func in fsync
37375 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37376 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37377 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37378 echo $ECHO_N "(cached) $ECHO_C" >&6
37381 cat >conftest.$ac_ext <<_ACEOF
37385 cat confdefs.h >>conftest.$ac_ext
37386 cat >>conftest.$ac_ext <<_ACEOF
37387 /* end confdefs.h. */
37390 $ac_includes_default
37406 rm -f conftest.$ac_objext conftest$ac_exeext
37407 if { (ac_try="$ac_link"
37408 case "(($ac_try" in
37409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37410 *) ac_try_echo=$ac_try;;
37412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37413 (eval "$ac_link") 2>conftest.er1
37415 grep -v '^ *+' conftest.er1 >conftest.err
37417 cat conftest.err >&5
37418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37419 (exit $ac_status); } && {
37420 test -z "$ac_c_werror_flag" ||
37421 test ! -s conftest.err
37422 } && test -s conftest$ac_exeext &&
37423 $as_test_x conftest$ac_exeext; then
37424 eval wx_cv_func_$wx_func=yes
37426 echo "$as_me: failed program was:" >&5
37427 sed 's/^/| /' conftest.$ac_ext >&5
37429 eval wx_cv_func_$wx_func=no
37432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37433 conftest$ac_exeext conftest.$ac_ext
37436 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37437 { echo "$as_me:$LINENO: result: $ac_res" >&5
37438 echo "${ECHO_T}$ac_res" >&6; }
37440 if eval test \$wx_cv_func_$wx_func = yes
37442 cat >>confdefs.h <<_ACEOF
37443 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37456 ac_cpp='$CXXCPP $CPPFLAGS'
37457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37462 for wx_func in round
37464 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37465 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37466 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37467 echo $ECHO_N "(cached) $ECHO_C" >&6
37470 cat >conftest.$ac_ext <<_ACEOF
37474 cat confdefs.h >>conftest.$ac_ext
37475 cat >>conftest.$ac_ext <<_ACEOF
37476 /* end confdefs.h. */
37479 $ac_includes_default
37495 rm -f conftest.$ac_objext conftest$ac_exeext
37496 if { (ac_try="$ac_link"
37497 case "(($ac_try" in
37498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37499 *) ac_try_echo=$ac_try;;
37501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37502 (eval "$ac_link") 2>conftest.er1
37504 grep -v '^ *+' conftest.er1 >conftest.err
37506 cat conftest.err >&5
37507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508 (exit $ac_status); } && {
37509 test -z "$ac_cxx_werror_flag" ||
37510 test ! -s conftest.err
37511 } && test -s conftest$ac_exeext &&
37512 $as_test_x conftest$ac_exeext; then
37513 eval wx_cv_func_$wx_func=yes
37515 echo "$as_me: failed program was:" >&5
37516 sed 's/^/| /' conftest.$ac_ext >&5
37518 eval wx_cv_func_$wx_func=no
37521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37522 conftest$ac_exeext conftest.$ac_ext
37525 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37526 { echo "$as_me:$LINENO: result: $ac_res" >&5
37527 echo "${ECHO_T}$ac_res" >&6; }
37529 if eval test \$wx_cv_func_$wx_func = yes
37531 cat >>confdefs.h <<_ACEOF
37532 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37543 ac_cpp='$CPP $CPPFLAGS'
37544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37549 if test "$TOOLKIT" != "MSW"; then
37551 if test "$wxUSE_LIBICONV" != "no" ; then
37555 # Check whether --with-libiconv-prefix was given.
37556 if test "${with_libiconv_prefix+set}" = set; then
37557 withval=$with_libiconv_prefix;
37558 for dir in `echo "$withval" | tr : ' '`; do
37559 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37560 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37566 { echo "$as_me:$LINENO: checking for iconv" >&5
37567 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37568 if test "${am_cv_func_iconv+set}" = set; then
37569 echo $ECHO_N "(cached) $ECHO_C" >&6
37572 am_cv_func_iconv="no, consider installing GNU libiconv"
37574 cat >conftest.$ac_ext <<_ACEOF
37577 cat confdefs.h >>conftest.$ac_ext
37578 cat >>conftest.$ac_ext <<_ACEOF
37579 /* end confdefs.h. */
37580 #include <stdlib.h>
37585 iconv_t cd = iconv_open("","");
37586 iconv(cd,NULL,NULL,NULL,NULL);
37592 rm -f conftest.$ac_objext conftest$ac_exeext
37593 if { (ac_try="$ac_link"
37594 case "(($ac_try" in
37595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37596 *) ac_try_echo=$ac_try;;
37598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37599 (eval "$ac_link") 2>conftest.er1
37601 grep -v '^ *+' conftest.er1 >conftest.err
37603 cat conftest.err >&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); } && {
37606 test -z "$ac_c_werror_flag" ||
37607 test ! -s conftest.err
37608 } && test -s conftest$ac_exeext &&
37609 $as_test_x conftest$ac_exeext; then
37610 am_cv_func_iconv=yes
37612 echo "$as_me: failed program was:" >&5
37613 sed 's/^/| /' conftest.$ac_ext >&5
37618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37619 conftest$ac_exeext conftest.$ac_ext
37620 if test "$am_cv_func_iconv" != yes; then
37621 am_save_LIBS="$LIBS"
37622 LIBS="$LIBS -liconv"
37623 cat >conftest.$ac_ext <<_ACEOF
37626 cat confdefs.h >>conftest.$ac_ext
37627 cat >>conftest.$ac_ext <<_ACEOF
37628 /* end confdefs.h. */
37629 #include <stdlib.h>
37634 iconv_t cd = iconv_open("","");
37635 iconv(cd,NULL,NULL,NULL,NULL);
37641 rm -f conftest.$ac_objext conftest$ac_exeext
37642 if { (ac_try="$ac_link"
37643 case "(($ac_try" in
37644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37645 *) ac_try_echo=$ac_try;;
37647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37648 (eval "$ac_link") 2>conftest.er1
37650 grep -v '^ *+' conftest.er1 >conftest.err
37652 cat conftest.err >&5
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); } && {
37655 test -z "$ac_c_werror_flag" ||
37656 test ! -s conftest.err
37657 } && test -s conftest$ac_exeext &&
37658 $as_test_x conftest$ac_exeext; then
37659 am_cv_lib_iconv=yes
37660 am_cv_func_iconv=yes
37662 echo "$as_me: failed program was:" >&5
37663 sed 's/^/| /' conftest.$ac_ext >&5
37668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37669 conftest$ac_exeext conftest.$ac_ext
37670 LIBS="$am_save_LIBS"
37674 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37675 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37676 if test "$am_cv_func_iconv" = yes; then
37678 cat >>confdefs.h <<\_ACEOF
37679 #define HAVE_ICONV 1
37682 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37683 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37684 if test "${wx_cv_func_iconv_const+set}" = set; then
37685 echo $ECHO_N "(cached) $ECHO_C" >&6
37687 cat >conftest.$ac_ext <<_ACEOF
37690 cat confdefs.h >>conftest.$ac_ext
37691 cat >>conftest.$ac_ext <<_ACEOF
37692 /* end confdefs.h. */
37694 #include <stdlib.h>
37700 #if defined(__STDC__) || defined(__cplusplus)
37701 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37714 rm -f conftest.$ac_objext
37715 if { (ac_try="$ac_compile"
37716 case "(($ac_try" in
37717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37718 *) ac_try_echo=$ac_try;;
37720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37721 (eval "$ac_compile") 2>conftest.er1
37723 grep -v '^ *+' conftest.er1 >conftest.err
37725 cat conftest.err >&5
37726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37727 (exit $ac_status); } && {
37728 test -z "$ac_c_werror_flag" ||
37729 test ! -s conftest.err
37730 } && test -s conftest.$ac_objext; then
37731 wx_cv_func_iconv_const="no"
37733 echo "$as_me: failed program was:" >&5
37734 sed 's/^/| /' conftest.$ac_ext >&5
37736 wx_cv_func_iconv_const="yes"
37740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37743 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37744 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37747 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37748 iconv_const="const"
37752 cat >>confdefs.h <<_ACEOF
37753 #define ICONV_CONST $iconv_const
37758 if test "$am_cv_lib_iconv" = yes; then
37763 LIBS="$LIBICONV $LIBS"
37766 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37768 for ac_func in sigaction
37770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37771 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37773 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37774 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 cat >conftest.$ac_ext <<_ACEOF
37779 cat confdefs.h >>conftest.$ac_ext
37780 cat >>conftest.$ac_ext <<_ACEOF
37781 /* end confdefs.h. */
37782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37784 #define $ac_func innocuous_$ac_func
37786 /* System header to define __stub macros and hopefully few prototypes,
37787 which can conflict with char $ac_func (); below.
37788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37789 <limits.h> exists even on freestanding compilers. */
37792 # include <limits.h>
37794 # include <assert.h>
37799 /* Override any GCC internal prototype to avoid an error.
37800 Use char because int might match the return type of a GCC
37801 builtin and then its argument prototype would still apply. */
37806 /* The GNU C library defines this for functions which it implements
37807 to always fail with ENOSYS. Some functions are actually named
37808 something starting with __ and the normal name is an alias. */
37809 #if defined __stub_$ac_func || defined __stub___$ac_func
37816 return $ac_func ();
37821 rm -f conftest.$ac_objext conftest$ac_exeext
37822 if { (ac_try="$ac_link"
37823 case "(($ac_try" in
37824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37825 *) ac_try_echo=$ac_try;;
37827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37828 (eval "$ac_link") 2>conftest.er1
37830 grep -v '^ *+' conftest.er1 >conftest.err
37832 cat conftest.err >&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } && {
37835 test -z "$ac_c_werror_flag" ||
37836 test ! -s conftest.err
37837 } && test -s conftest$ac_exeext &&
37838 $as_test_x conftest$ac_exeext; then
37839 eval "$as_ac_var=yes"
37841 echo "$as_me: failed program was:" >&5
37842 sed 's/^/| /' conftest.$ac_ext >&5
37844 eval "$as_ac_var=no"
37847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37848 conftest$ac_exeext conftest.$ac_ext
37850 ac_res=`eval echo '${'$as_ac_var'}'`
37851 { echo "$as_me:$LINENO: result: $ac_res" >&5
37852 echo "${ECHO_T}$ac_res" >&6; }
37853 if test `eval echo '${'$as_ac_var'}'` = yes; then
37854 cat >>confdefs.h <<_ACEOF
37855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37862 if test "$ac_cv_func_sigaction" = "no"; then
37863 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37864 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37865 wxUSE_ON_FATAL_EXCEPTION=no
37868 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37869 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37870 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37871 if test "${wx_cv_type_sa_handler+set}" = set; then
37872 echo $ECHO_N "(cached) $ECHO_C" >&6
37876 ac_cpp='$CXXCPP $CPPFLAGS'
37877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37881 cat >conftest.$ac_ext <<_ACEOF
37884 cat confdefs.h >>conftest.$ac_ext
37885 cat >>conftest.$ac_ext <<_ACEOF
37886 /* end confdefs.h. */
37887 #include <signal.h>
37892 extern void testSigHandler(int);
37894 struct sigaction sa;
37895 sa.sa_handler = testSigHandler;
37901 rm -f conftest.$ac_objext
37902 if { (ac_try="$ac_compile"
37903 case "(($ac_try" in
37904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37905 *) ac_try_echo=$ac_try;;
37907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37908 (eval "$ac_compile") 2>conftest.er1
37910 grep -v '^ *+' conftest.er1 >conftest.err
37912 cat conftest.err >&5
37913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914 (exit $ac_status); } && {
37915 test -z "$ac_cxx_werror_flag" ||
37916 test ! -s conftest.err
37917 } && test -s conftest.$ac_objext; then
37919 wx_cv_type_sa_handler=int
37922 echo "$as_me: failed program was:" >&5
37923 sed 's/^/| /' conftest.$ac_ext >&5
37926 wx_cv_type_sa_handler=void
37930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37932 ac_cpp='$CPP $CPPFLAGS'
37933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37939 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37940 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37942 cat >>confdefs.h <<_ACEOF
37943 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37949 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37950 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37951 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37952 if test "${wx_cv_func_backtrace+set}" = set; then
37953 echo $ECHO_N "(cached) $ECHO_C" >&6
37957 ac_cpp='$CXXCPP $CPPFLAGS'
37958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37962 cat >conftest.$ac_ext <<_ACEOF
37965 cat confdefs.h >>conftest.$ac_ext
37966 cat >>conftest.$ac_ext <<_ACEOF
37967 /* end confdefs.h. */
37968 #include <execinfo.h>
37976 backtrace(trace, 1);
37977 messages = backtrace_symbols(trace, 1);
37983 rm -f conftest.$ac_objext
37984 if { (ac_try="$ac_compile"
37985 case "(($ac_try" in
37986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37987 *) ac_try_echo=$ac_try;;
37989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37990 (eval "$ac_compile") 2>conftest.er1
37992 grep -v '^ *+' conftest.er1 >conftest.err
37994 cat conftest.err >&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } && {
37997 test -z "$ac_cxx_werror_flag" ||
37998 test ! -s conftest.err
37999 } && test -s conftest.$ac_objext; then
38000 wx_cv_func_backtrace=yes
38002 echo "$as_me: failed program was:" >&5
38003 sed 's/^/| /' conftest.$ac_ext >&5
38005 wx_cv_func_backtrace=no
38009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38011 ac_cpp='$CPP $CPPFLAGS'
38012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38019 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38020 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38023 if test "$wx_cv_func_backtrace" = "no"; then
38024 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38025 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38026 wxUSE_STACKWALKER=no
38028 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38029 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38030 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38035 ac_cpp='$CXXCPP $CPPFLAGS'
38036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38040 cat >conftest.$ac_ext <<_ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38046 #include <cxxabi.h>
38052 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38058 rm -f conftest.$ac_objext conftest$ac_exeext
38059 if { (ac_try="$ac_link"
38060 case "(($ac_try" in
38061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38062 *) ac_try_echo=$ac_try;;
38064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38065 (eval "$ac_link") 2>conftest.er1
38067 grep -v '^ *+' conftest.er1 >conftest.err
38069 cat conftest.err >&5
38070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071 (exit $ac_status); } && {
38072 test -z "$ac_cxx_werror_flag" ||
38073 test ! -s conftest.err
38074 } && test -s conftest$ac_exeext &&
38075 $as_test_x conftest$ac_exeext; then
38076 wx_cv_func_cxa_demangle=yes
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38081 wx_cv_func_cxa_demangle=no
38085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38086 conftest$ac_exeext conftest.$ac_ext
38088 ac_cpp='$CPP $CPPFLAGS'
38089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38096 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38097 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38099 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38100 cat >>confdefs.h <<\_ACEOF
38101 #define HAVE_CXA_DEMANGLE 1
38108 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38109 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38110 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38111 wxUSE_STACKWALKER=no
38117 for ac_func in mkstemp mktemp
38119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38123 echo $ECHO_N "(cached) $ECHO_C" >&6
38125 cat >conftest.$ac_ext <<_ACEOF
38128 cat confdefs.h >>conftest.$ac_ext
38129 cat >>conftest.$ac_ext <<_ACEOF
38130 /* end confdefs.h. */
38131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38133 #define $ac_func innocuous_$ac_func
38135 /* System header to define __stub macros and hopefully few prototypes,
38136 which can conflict with char $ac_func (); below.
38137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38138 <limits.h> exists even on freestanding compilers. */
38141 # include <limits.h>
38143 # include <assert.h>
38148 /* Override any GCC internal prototype to avoid an error.
38149 Use char because int might match the return type of a GCC
38150 builtin and then its argument prototype would still apply. */
38155 /* The GNU C library defines this for functions which it implements
38156 to always fail with ENOSYS. Some functions are actually named
38157 something starting with __ and the normal name is an alias. */
38158 #if defined __stub_$ac_func || defined __stub___$ac_func
38165 return $ac_func ();
38170 rm -f conftest.$ac_objext conftest$ac_exeext
38171 if { (ac_try="$ac_link"
38172 case "(($ac_try" in
38173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38174 *) ac_try_echo=$ac_try;;
38176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38177 (eval "$ac_link") 2>conftest.er1
38179 grep -v '^ *+' conftest.er1 >conftest.err
38181 cat conftest.err >&5
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); } && {
38184 test -z "$ac_c_werror_flag" ||
38185 test ! -s conftest.err
38186 } && test -s conftest$ac_exeext &&
38187 $as_test_x conftest$ac_exeext; then
38188 eval "$as_ac_var=yes"
38190 echo "$as_me: failed program was:" >&5
38191 sed 's/^/| /' conftest.$ac_ext >&5
38193 eval "$as_ac_var=no"
38196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38197 conftest$ac_exeext conftest.$ac_ext
38199 ac_res=`eval echo '${'$as_ac_var'}'`
38200 { echo "$as_me:$LINENO: result: $ac_res" >&5
38201 echo "${ECHO_T}$ac_res" >&6; }
38202 if test `eval echo '${'$as_ac_var'}'` = yes; then
38203 cat >>confdefs.h <<_ACEOF
38204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38211 { echo "$as_me:$LINENO: checking for statfs" >&5
38212 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38213 if test "${wx_cv_func_statfs+set}" = set; then
38214 echo $ECHO_N "(cached) $ECHO_C" >&6
38216 cat >conftest.$ac_ext <<_ACEOF
38219 cat confdefs.h >>conftest.$ac_ext
38220 cat >>conftest.$ac_ext <<_ACEOF
38221 /* end confdefs.h. */
38223 #if defined(__BSD__)
38224 #include <sys/param.h>
38225 #include <sys/mount.h>
38227 #include <sys/vfs.h>
38245 rm -f conftest.$ac_objext
38246 if { (ac_try="$ac_compile"
38247 case "(($ac_try" in
38248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38249 *) ac_try_echo=$ac_try;;
38251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38252 (eval "$ac_compile") 2>conftest.er1
38254 grep -v '^ *+' conftest.er1 >conftest.err
38256 cat conftest.err >&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); } && {
38259 test -z "$ac_c_werror_flag" ||
38260 test ! -s conftest.err
38261 } && test -s conftest.$ac_objext; then
38262 wx_cv_func_statfs=yes
38264 echo "$as_me: failed program was:" >&5
38265 sed 's/^/| /' conftest.$ac_ext >&5
38267 wx_cv_func_statfs=no
38271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38274 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38275 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38277 if test "$wx_cv_func_statfs" = "yes"; then
38278 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38279 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38280 if test "${wx_cv_func_statfs_decl+set}" = set; then
38281 echo $ECHO_N "(cached) $ECHO_C" >&6
38284 ac_cpp='$CXXCPP $CPPFLAGS'
38285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38289 cat >conftest.$ac_ext <<_ACEOF
38292 cat confdefs.h >>conftest.$ac_ext
38293 cat >>conftest.$ac_ext <<_ACEOF
38294 /* end confdefs.h. */
38296 #if defined(__BSD__)
38297 #include <sys/param.h>
38298 #include <sys/mount.h>
38300 #include <sys/vfs.h>
38314 rm -f conftest.$ac_objext
38315 if { (ac_try="$ac_compile"
38316 case "(($ac_try" in
38317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38318 *) ac_try_echo=$ac_try;;
38320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38321 (eval "$ac_compile") 2>conftest.er1
38323 grep -v '^ *+' conftest.er1 >conftest.err
38325 cat conftest.err >&5
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); } && {
38328 test -z "$ac_cxx_werror_flag" ||
38329 test ! -s conftest.err
38330 } && test -s conftest.$ac_objext; then
38331 wx_cv_func_statfs_decl=yes
38333 echo "$as_me: failed program was:" >&5
38334 sed 's/^/| /' conftest.$ac_ext >&5
38336 wx_cv_func_statfs_decl=no
38340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38342 ac_cpp='$CPP $CPPFLAGS'
38343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38349 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38350 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38352 if test "$wx_cv_func_statfs_decl" = "yes"; then
38353 cat >>confdefs.h <<\_ACEOF
38354 #define HAVE_STATFS_DECL 1
38359 wx_cv_type_statvfs_t="struct statfs"
38360 cat >>confdefs.h <<\_ACEOF
38361 #define HAVE_STATFS 1
38365 { echo "$as_me:$LINENO: checking for statvfs" >&5
38366 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38367 if test "${wx_cv_func_statvfs+set}" = set; then
38368 echo $ECHO_N "(cached) $ECHO_C" >&6
38370 cat >conftest.$ac_ext <<_ACEOF
38373 cat confdefs.h >>conftest.$ac_ext
38374 cat >>conftest.$ac_ext <<_ACEOF
38375 /* end confdefs.h. */
38377 #include <stddef.h>
38378 #include <sys/statvfs.h>
38384 statvfs("/", NULL);
38390 rm -f conftest.$ac_objext
38391 if { (ac_try="$ac_compile"
38392 case "(($ac_try" in
38393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38394 *) ac_try_echo=$ac_try;;
38396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38397 (eval "$ac_compile") 2>conftest.er1
38399 grep -v '^ *+' conftest.er1 >conftest.err
38401 cat conftest.err >&5
38402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38403 (exit $ac_status); } && {
38404 test -z "$ac_c_werror_flag" ||
38405 test ! -s conftest.err
38406 } && test -s conftest.$ac_objext; then
38407 wx_cv_func_statvfs=yes
38409 echo "$as_me: failed program was:" >&5
38410 sed 's/^/| /' conftest.$ac_ext >&5
38412 wx_cv_func_statvfs=no
38416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38419 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38420 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38422 if test "$wx_cv_func_statvfs" = "yes"; then
38423 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38424 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38425 if test "${wx_cv_type_statvfs_t+set}" = set; then
38426 echo $ECHO_N "(cached) $ECHO_C" >&6
38429 ac_cpp='$CXXCPP $CPPFLAGS'
38430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38434 cat >conftest.$ac_ext <<_ACEOF
38437 cat confdefs.h >>conftest.$ac_ext
38438 cat >>conftest.$ac_ext <<_ACEOF
38439 /* end confdefs.h. */
38441 #include <sys/statvfs.h>
38458 rm -f conftest.$ac_objext
38459 if { (ac_try="$ac_compile"
38460 case "(($ac_try" in
38461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38462 *) ac_try_echo=$ac_try;;
38464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38465 (eval "$ac_compile") 2>conftest.er1
38467 grep -v '^ *+' conftest.er1 >conftest.err
38469 cat conftest.err >&5
38470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38471 (exit $ac_status); } && {
38472 test -z "$ac_cxx_werror_flag" ||
38473 test ! -s conftest.err
38474 } && test -s conftest.$ac_objext; then
38475 wx_cv_type_statvfs_t=statvfs_t
38477 echo "$as_me: failed program was:" >&5
38478 sed 's/^/| /' conftest.$ac_ext >&5
38481 cat >conftest.$ac_ext <<_ACEOF
38484 cat confdefs.h >>conftest.$ac_ext
38485 cat >>conftest.$ac_ext <<_ACEOF
38486 /* end confdefs.h. */
38488 #include <sys/statvfs.h>
38505 rm -f conftest.$ac_objext
38506 if { (ac_try="$ac_compile"
38507 case "(($ac_try" in
38508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38509 *) ac_try_echo=$ac_try;;
38511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38512 (eval "$ac_compile") 2>conftest.er1
38514 grep -v '^ *+' conftest.er1 >conftest.err
38516 cat conftest.err >&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); } && {
38519 test -z "$ac_cxx_werror_flag" ||
38520 test ! -s conftest.err
38521 } && test -s conftest.$ac_objext; then
38522 wx_cv_type_statvfs_t="struct statvfs"
38524 echo "$as_me: failed program was:" >&5
38525 sed 's/^/| /' conftest.$ac_ext >&5
38527 wx_cv_type_statvfs_t="unknown"
38531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38538 ac_cpp='$CPP $CPPFLAGS'
38539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38545 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38546 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38548 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38549 cat >>confdefs.h <<\_ACEOF
38550 #define HAVE_STATVFS 1
38555 wx_cv_type_statvfs_t="unknown"
38559 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38560 cat >>confdefs.h <<_ACEOF
38561 #define WX_STATFS_T $wx_cv_type_statvfs_t
38565 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38566 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38569 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38572 for ac_func in fcntl flock
38574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38578 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 cat >conftest.$ac_ext <<_ACEOF
38583 cat confdefs.h >>conftest.$ac_ext
38584 cat >>conftest.$ac_ext <<_ACEOF
38585 /* end confdefs.h. */
38586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38588 #define $ac_func innocuous_$ac_func
38590 /* System header to define __stub macros and hopefully few prototypes,
38591 which can conflict with char $ac_func (); below.
38592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38593 <limits.h> exists even on freestanding compilers. */
38596 # include <limits.h>
38598 # include <assert.h>
38603 /* Override any GCC internal prototype to avoid an error.
38604 Use char because int might match the return type of a GCC
38605 builtin and then its argument prototype would still apply. */
38610 /* The GNU C library defines this for functions which it implements
38611 to always fail with ENOSYS. Some functions are actually named
38612 something starting with __ and the normal name is an alias. */
38613 #if defined __stub_$ac_func || defined __stub___$ac_func
38620 return $ac_func ();
38625 rm -f conftest.$ac_objext conftest$ac_exeext
38626 if { (ac_try="$ac_link"
38627 case "(($ac_try" in
38628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38629 *) ac_try_echo=$ac_try;;
38631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38632 (eval "$ac_link") 2>conftest.er1
38634 grep -v '^ *+' conftest.er1 >conftest.err
38636 cat conftest.err >&5
38637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38638 (exit $ac_status); } && {
38639 test -z "$ac_c_werror_flag" ||
38640 test ! -s conftest.err
38641 } && test -s conftest$ac_exeext &&
38642 $as_test_x conftest$ac_exeext; then
38643 eval "$as_ac_var=yes"
38645 echo "$as_me: failed program was:" >&5
38646 sed 's/^/| /' conftest.$ac_ext >&5
38648 eval "$as_ac_var=no"
38651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38652 conftest$ac_exeext conftest.$ac_ext
38654 ac_res=`eval echo '${'$as_ac_var'}'`
38655 { echo "$as_me:$LINENO: result: $ac_res" >&5
38656 echo "${ECHO_T}$ac_res" >&6; }
38657 if test `eval echo '${'$as_ac_var'}'` = yes; then
38658 cat >>confdefs.h <<_ACEOF
38659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38666 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38667 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38668 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38669 wxUSE_SNGLINST_CHECKER=no
38675 for ac_func in setenv putenv
38677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38681 echo $ECHO_N "(cached) $ECHO_C" >&6
38683 cat >conftest.$ac_ext <<_ACEOF
38686 cat confdefs.h >>conftest.$ac_ext
38687 cat >>conftest.$ac_ext <<_ACEOF
38688 /* end confdefs.h. */
38689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38691 #define $ac_func innocuous_$ac_func
38693 /* System header to define __stub macros and hopefully few prototypes,
38694 which can conflict with char $ac_func (); below.
38695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38696 <limits.h> exists even on freestanding compilers. */
38699 # include <limits.h>
38701 # include <assert.h>
38706 /* Override any GCC internal prototype to avoid an error.
38707 Use char because int might match the return type of a GCC
38708 builtin and then its argument prototype would still apply. */
38713 /* The GNU C library defines this for functions which it implements
38714 to always fail with ENOSYS. Some functions are actually named
38715 something starting with __ and the normal name is an alias. */
38716 #if defined __stub_$ac_func || defined __stub___$ac_func
38723 return $ac_func ();
38728 rm -f conftest.$ac_objext conftest$ac_exeext
38729 if { (ac_try="$ac_link"
38730 case "(($ac_try" in
38731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38732 *) ac_try_echo=$ac_try;;
38734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38735 (eval "$ac_link") 2>conftest.er1
38737 grep -v '^ *+' conftest.er1 >conftest.err
38739 cat conftest.err >&5
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); } && {
38742 test -z "$ac_c_werror_flag" ||
38743 test ! -s conftest.err
38744 } && test -s conftest$ac_exeext &&
38745 $as_test_x conftest$ac_exeext; then
38746 eval "$as_ac_var=yes"
38748 echo "$as_me: failed program was:" >&5
38749 sed 's/^/| /' conftest.$ac_ext >&5
38751 eval "$as_ac_var=no"
38754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38755 conftest$ac_exeext conftest.$ac_ext
38757 ac_res=`eval echo '${'$as_ac_var'}'`
38758 { echo "$as_me:$LINENO: result: $ac_res" >&5
38759 echo "${ECHO_T}$ac_res" >&6; }
38760 if test `eval echo '${'$as_ac_var'}'` = yes; then
38761 cat >>confdefs.h <<_ACEOF
38762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38768 if test "$ac_cv_func_setenv" = "yes"; then
38770 for ac_func in unsetenv
38772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38773 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38776 echo $ECHO_N "(cached) $ECHO_C" >&6
38778 cat >conftest.$ac_ext <<_ACEOF
38781 cat confdefs.h >>conftest.$ac_ext
38782 cat >>conftest.$ac_ext <<_ACEOF
38783 /* end confdefs.h. */
38784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38786 #define $ac_func innocuous_$ac_func
38788 /* System header to define __stub macros and hopefully few prototypes,
38789 which can conflict with char $ac_func (); below.
38790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38791 <limits.h> exists even on freestanding compilers. */
38794 # include <limits.h>
38796 # include <assert.h>
38801 /* Override any GCC internal prototype to avoid an error.
38802 Use char because int might match the return type of a GCC
38803 builtin and then its argument prototype would still apply. */
38808 /* The GNU C library defines this for functions which it implements
38809 to always fail with ENOSYS. Some functions are actually named
38810 something starting with __ and the normal name is an alias. */
38811 #if defined __stub_$ac_func || defined __stub___$ac_func
38818 return $ac_func ();
38823 rm -f conftest.$ac_objext conftest$ac_exeext
38824 if { (ac_try="$ac_link"
38825 case "(($ac_try" in
38826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38827 *) ac_try_echo=$ac_try;;
38829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38830 (eval "$ac_link") 2>conftest.er1
38832 grep -v '^ *+' conftest.er1 >conftest.err
38834 cat conftest.err >&5
38835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38836 (exit $ac_status); } && {
38837 test -z "$ac_c_werror_flag" ||
38838 test ! -s conftest.err
38839 } && test -s conftest$ac_exeext &&
38840 $as_test_x conftest$ac_exeext; then
38841 eval "$as_ac_var=yes"
38843 echo "$as_me: failed program was:" >&5
38844 sed 's/^/| /' conftest.$ac_ext >&5
38846 eval "$as_ac_var=no"
38849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38850 conftest$ac_exeext conftest.$ac_ext
38852 ac_res=`eval echo '${'$as_ac_var'}'`
38853 { echo "$as_me:$LINENO: result: $ac_res" >&5
38854 echo "${ECHO_T}$ac_res" >&6; }
38855 if test `eval echo '${'$as_ac_var'}'` = yes; then
38856 cat >>confdefs.h <<_ACEOF
38857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38865 HAVE_SOME_SLEEP_FUNC=0
38866 if test "$USE_BEOS" = 1; then
38867 cat >>confdefs.h <<\_ACEOF
38868 #define HAVE_SLEEP 1
38871 HAVE_SOME_SLEEP_FUNC=1
38874 if test "$USE_DARWIN" = 1; then
38875 cat >>confdefs.h <<\_ACEOF
38876 #define HAVE_USLEEP 1
38879 HAVE_SOME_SLEEP_FUNC=1
38882 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38885 for ac_func in nanosleep
38887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38888 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38890 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38891 echo $ECHO_N "(cached) $ECHO_C" >&6
38893 cat >conftest.$ac_ext <<_ACEOF
38896 cat confdefs.h >>conftest.$ac_ext
38897 cat >>conftest.$ac_ext <<_ACEOF
38898 /* end confdefs.h. */
38899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38901 #define $ac_func innocuous_$ac_func
38903 /* System header to define __stub macros and hopefully few prototypes,
38904 which can conflict with char $ac_func (); below.
38905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38906 <limits.h> exists even on freestanding compilers. */
38909 # include <limits.h>
38911 # include <assert.h>
38916 /* Override any GCC internal prototype to avoid an error.
38917 Use char because int might match the return type of a GCC
38918 builtin and then its argument prototype would still apply. */
38923 /* The GNU C library defines this for functions which it implements
38924 to always fail with ENOSYS. Some functions are actually named
38925 something starting with __ and the normal name is an alias. */
38926 #if defined __stub_$ac_func || defined __stub___$ac_func
38933 return $ac_func ();
38938 rm -f conftest.$ac_objext conftest$ac_exeext
38939 if { (ac_try="$ac_link"
38940 case "(($ac_try" in
38941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38942 *) ac_try_echo=$ac_try;;
38944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38945 (eval "$ac_link") 2>conftest.er1
38947 grep -v '^ *+' conftest.er1 >conftest.err
38949 cat conftest.err >&5
38950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38951 (exit $ac_status); } && {
38952 test -z "$ac_c_werror_flag" ||
38953 test ! -s conftest.err
38954 } && test -s conftest$ac_exeext &&
38955 $as_test_x conftest$ac_exeext; then
38956 eval "$as_ac_var=yes"
38958 echo "$as_me: failed program was:" >&5
38959 sed 's/^/| /' conftest.$ac_ext >&5
38961 eval "$as_ac_var=no"
38964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38965 conftest$ac_exeext conftest.$ac_ext
38967 ac_res=`eval echo '${'$as_ac_var'}'`
38968 { echo "$as_me:$LINENO: result: $ac_res" >&5
38969 echo "${ECHO_T}$ac_res" >&6; }
38970 if test `eval echo '${'$as_ac_var'}'` = yes; then
38971 cat >>confdefs.h <<_ACEOF
38972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38974 cat >>confdefs.h <<\_ACEOF
38975 #define HAVE_NANOSLEEP 1
38980 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38981 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38982 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38983 echo $ECHO_N "(cached) $ECHO_C" >&6
38985 ac_check_lib_save_LIBS=$LIBS
38986 LIBS="-lposix4 $LIBS"
38987 cat >conftest.$ac_ext <<_ACEOF
38990 cat confdefs.h >>conftest.$ac_ext
38991 cat >>conftest.$ac_ext <<_ACEOF
38992 /* end confdefs.h. */
38994 /* Override any GCC internal prototype to avoid an error.
38995 Use char because int might match the return type of a GCC
38996 builtin and then its argument prototype would still apply. */
39004 return nanosleep ();
39009 rm -f conftest.$ac_objext conftest$ac_exeext
39010 if { (ac_try="$ac_link"
39011 case "(($ac_try" in
39012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39013 *) ac_try_echo=$ac_try;;
39015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39016 (eval "$ac_link") 2>conftest.er1
39018 grep -v '^ *+' conftest.er1 >conftest.err
39020 cat conftest.err >&5
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); } && {
39023 test -z "$ac_c_werror_flag" ||
39024 test ! -s conftest.err
39025 } && test -s conftest$ac_exeext &&
39026 $as_test_x conftest$ac_exeext; then
39027 ac_cv_lib_posix4_nanosleep=yes
39029 echo "$as_me: failed program was:" >&5
39030 sed 's/^/| /' conftest.$ac_ext >&5
39032 ac_cv_lib_posix4_nanosleep=no
39035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39036 conftest$ac_exeext conftest.$ac_ext
39037 LIBS=$ac_check_lib_save_LIBS
39039 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39040 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39041 if test $ac_cv_lib_posix4_nanosleep = yes; then
39043 cat >>confdefs.h <<\_ACEOF
39044 #define HAVE_NANOSLEEP 1
39047 POSIX4_LINK=" -lposix4"
39052 for wx_func in usleep
39054 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39055 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39056 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39057 echo $ECHO_N "(cached) $ECHO_C" >&6
39060 cat >conftest.$ac_ext <<_ACEOF
39064 cat confdefs.h >>conftest.$ac_ext
39065 cat >>conftest.$ac_ext <<_ACEOF
39066 /* end confdefs.h. */
39069 $ac_includes_default
39085 rm -f conftest.$ac_objext conftest$ac_exeext
39086 if { (ac_try="$ac_link"
39087 case "(($ac_try" in
39088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39089 *) ac_try_echo=$ac_try;;
39091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39092 (eval "$ac_link") 2>conftest.er1
39094 grep -v '^ *+' conftest.er1 >conftest.err
39096 cat conftest.err >&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); } && {
39099 test -z "$ac_c_werror_flag" ||
39100 test ! -s conftest.err
39101 } && test -s conftest$ac_exeext &&
39102 $as_test_x conftest$ac_exeext; then
39103 eval wx_cv_func_$wx_func=yes
39105 echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.$ac_ext >&5
39108 eval wx_cv_func_$wx_func=no
39111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39112 conftest$ac_exeext conftest.$ac_ext
39115 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39116 { echo "$as_me:$LINENO: result: $ac_res" >&5
39117 echo "${ECHO_T}$ac_res" >&6; }
39119 if eval test \$wx_cv_func_$wx_func = yes
39121 cat >>confdefs.h <<_ACEOF
39122 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39128 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39129 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39146 for wx_func in uname
39148 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39149 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39150 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39151 echo $ECHO_N "(cached) $ECHO_C" >&6
39154 cat >conftest.$ac_ext <<_ACEOF
39158 cat confdefs.h >>conftest.$ac_ext
39159 cat >>conftest.$ac_ext <<_ACEOF
39160 /* end confdefs.h. */
39162 #include <sys/utsname.h>
39163 $ac_includes_default
39179 rm -f conftest.$ac_objext conftest$ac_exeext
39180 if { (ac_try="$ac_link"
39181 case "(($ac_try" in
39182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39183 *) ac_try_echo=$ac_try;;
39185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39186 (eval "$ac_link") 2>conftest.er1
39188 grep -v '^ *+' conftest.er1 >conftest.err
39190 cat conftest.err >&5
39191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39192 (exit $ac_status); } && {
39193 test -z "$ac_c_werror_flag" ||
39194 test ! -s conftest.err
39195 } && test -s conftest$ac_exeext &&
39196 $as_test_x conftest$ac_exeext; then
39197 eval wx_cv_func_$wx_func=yes
39199 echo "$as_me: failed program was:" >&5
39200 sed 's/^/| /' conftest.$ac_ext >&5
39202 eval wx_cv_func_$wx_func=no
39205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39206 conftest$ac_exeext conftest.$ac_ext
39209 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39210 { echo "$as_me:$LINENO: result: $ac_res" >&5
39211 echo "${ECHO_T}$ac_res" >&6; }
39213 if eval test \$wx_cv_func_$wx_func = yes
39215 cat >>confdefs.h <<_ACEOF
39216 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39226 if test "$wx_cv_func_uname" != yes; then
39228 for wx_func in gethostname
39230 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39231 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39232 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39233 echo $ECHO_N "(cached) $ECHO_C" >&6
39236 cat >conftest.$ac_ext <<_ACEOF
39240 cat confdefs.h >>conftest.$ac_ext
39241 cat >>conftest.$ac_ext <<_ACEOF
39242 /* end confdefs.h. */
39245 $ac_includes_default
39261 rm -f conftest.$ac_objext conftest$ac_exeext
39262 if { (ac_try="$ac_link"
39263 case "(($ac_try" in
39264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39265 *) ac_try_echo=$ac_try;;
39267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39268 (eval "$ac_link") 2>conftest.er1
39270 grep -v '^ *+' conftest.er1 >conftest.err
39272 cat conftest.err >&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); } && {
39275 test -z "$ac_c_werror_flag" ||
39276 test ! -s conftest.err
39277 } && test -s conftest$ac_exeext &&
39278 $as_test_x conftest$ac_exeext; then
39279 eval wx_cv_func_$wx_func=yes
39281 echo "$as_me: failed program was:" >&5
39282 sed 's/^/| /' conftest.$ac_ext >&5
39284 eval wx_cv_func_$wx_func=no
39287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39288 conftest$ac_exeext conftest.$ac_ext
39291 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39292 { echo "$as_me:$LINENO: result: $ac_res" >&5
39293 echo "${ECHO_T}$ac_res" >&6; }
39295 if eval test \$wx_cv_func_$wx_func = yes
39297 cat >>confdefs.h <<_ACEOF
39298 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39311 for wx_func in strtok_r
39313 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39314 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39315 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39316 echo $ECHO_N "(cached) $ECHO_C" >&6
39319 cat >conftest.$ac_ext <<_ACEOF
39323 cat confdefs.h >>conftest.$ac_ext
39324 cat >>conftest.$ac_ext <<_ACEOF
39325 /* end confdefs.h. */
39328 $ac_includes_default
39344 rm -f conftest.$ac_objext conftest$ac_exeext
39345 if { (ac_try="$ac_link"
39346 case "(($ac_try" in
39347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39348 *) ac_try_echo=$ac_try;;
39350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39351 (eval "$ac_link") 2>conftest.er1
39353 grep -v '^ *+' conftest.er1 >conftest.err
39355 cat conftest.err >&5
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); } && {
39358 test -z "$ac_c_werror_flag" ||
39359 test ! -s conftest.err
39360 } && test -s conftest$ac_exeext &&
39361 $as_test_x conftest$ac_exeext; then
39362 eval wx_cv_func_$wx_func=yes
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39367 eval wx_cv_func_$wx_func=no
39370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39371 conftest$ac_exeext conftest.$ac_ext
39374 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39375 { echo "$as_me:$LINENO: result: $ac_res" >&5
39376 echo "${ECHO_T}$ac_res" >&6; }
39378 if eval test \$wx_cv_func_$wx_func = yes
39380 cat >>confdefs.h <<_ACEOF
39381 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39394 for ac_func in inet_addr
39396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39399 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39400 echo $ECHO_N "(cached) $ECHO_C" >&6
39402 cat >conftest.$ac_ext <<_ACEOF
39405 cat confdefs.h >>conftest.$ac_ext
39406 cat >>conftest.$ac_ext <<_ACEOF
39407 /* end confdefs.h. */
39408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39410 #define $ac_func innocuous_$ac_func
39412 /* System header to define __stub macros and hopefully few prototypes,
39413 which can conflict with char $ac_func (); below.
39414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39415 <limits.h> exists even on freestanding compilers. */
39418 # include <limits.h>
39420 # include <assert.h>
39425 /* Override any GCC internal prototype to avoid an error.
39426 Use char because int might match the return type of a GCC
39427 builtin and then its argument prototype would still apply. */
39432 /* The GNU C library defines this for functions which it implements
39433 to always fail with ENOSYS. Some functions are actually named
39434 something starting with __ and the normal name is an alias. */
39435 #if defined __stub_$ac_func || defined __stub___$ac_func
39442 return $ac_func ();
39447 rm -f conftest.$ac_objext conftest$ac_exeext
39448 if { (ac_try="$ac_link"
39449 case "(($ac_try" in
39450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39451 *) ac_try_echo=$ac_try;;
39453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39454 (eval "$ac_link") 2>conftest.er1
39456 grep -v '^ *+' conftest.er1 >conftest.err
39458 cat conftest.err >&5
39459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460 (exit $ac_status); } && {
39461 test -z "$ac_c_werror_flag" ||
39462 test ! -s conftest.err
39463 } && test -s conftest$ac_exeext &&
39464 $as_test_x conftest$ac_exeext; then
39465 eval "$as_ac_var=yes"
39467 echo "$as_me: failed program was:" >&5
39468 sed 's/^/| /' conftest.$ac_ext >&5
39470 eval "$as_ac_var=no"
39473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39474 conftest$ac_exeext conftest.$ac_ext
39476 ac_res=`eval echo '${'$as_ac_var'}'`
39477 { echo "$as_me:$LINENO: result: $ac_res" >&5
39478 echo "${ECHO_T}$ac_res" >&6; }
39479 if test `eval echo '${'$as_ac_var'}'` = yes; then
39480 cat >>confdefs.h <<_ACEOF
39481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39483 cat >>confdefs.h <<\_ACEOF
39484 #define HAVE_INET_ADDR 1
39489 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39490 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39491 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39492 echo $ECHO_N "(cached) $ECHO_C" >&6
39494 ac_check_lib_save_LIBS=$LIBS
39496 cat >conftest.$ac_ext <<_ACEOF
39499 cat confdefs.h >>conftest.$ac_ext
39500 cat >>conftest.$ac_ext <<_ACEOF
39501 /* end confdefs.h. */
39503 /* Override any GCC internal prototype to avoid an error.
39504 Use char because int might match the return type of a GCC
39505 builtin and then its argument prototype would still apply. */
39513 return inet_addr ();
39518 rm -f conftest.$ac_objext conftest$ac_exeext
39519 if { (ac_try="$ac_link"
39520 case "(($ac_try" in
39521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39522 *) ac_try_echo=$ac_try;;
39524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39525 (eval "$ac_link") 2>conftest.er1
39527 grep -v '^ *+' conftest.er1 >conftest.err
39529 cat conftest.err >&5
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); } && {
39532 test -z "$ac_c_werror_flag" ||
39533 test ! -s conftest.err
39534 } && test -s conftest$ac_exeext &&
39535 $as_test_x conftest$ac_exeext; then
39536 ac_cv_lib_nsl_inet_addr=yes
39538 echo "$as_me: failed program was:" >&5
39539 sed 's/^/| /' conftest.$ac_ext >&5
39541 ac_cv_lib_nsl_inet_addr=no
39544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39545 conftest$ac_exeext conftest.$ac_ext
39546 LIBS=$ac_check_lib_save_LIBS
39548 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39549 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39550 if test $ac_cv_lib_nsl_inet_addr = yes; then
39554 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39555 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39556 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39557 echo $ECHO_N "(cached) $ECHO_C" >&6
39559 ac_check_lib_save_LIBS=$LIBS
39560 LIBS="-lresolv $LIBS"
39561 cat >conftest.$ac_ext <<_ACEOF
39564 cat confdefs.h >>conftest.$ac_ext
39565 cat >>conftest.$ac_ext <<_ACEOF
39566 /* end confdefs.h. */
39568 /* Override any GCC internal prototype to avoid an error.
39569 Use char because int might match the return type of a GCC
39570 builtin and then its argument prototype would still apply. */
39578 return inet_addr ();
39583 rm -f conftest.$ac_objext conftest$ac_exeext
39584 if { (ac_try="$ac_link"
39585 case "(($ac_try" in
39586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39587 *) ac_try_echo=$ac_try;;
39589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39590 (eval "$ac_link") 2>conftest.er1
39592 grep -v '^ *+' conftest.er1 >conftest.err
39594 cat conftest.err >&5
39595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39596 (exit $ac_status); } && {
39597 test -z "$ac_c_werror_flag" ||
39598 test ! -s conftest.err
39599 } && test -s conftest$ac_exeext &&
39600 $as_test_x conftest$ac_exeext; then
39601 ac_cv_lib_resolv_inet_addr=yes
39603 echo "$as_me: failed program was:" >&5
39604 sed 's/^/| /' conftest.$ac_ext >&5
39606 ac_cv_lib_resolv_inet_addr=no
39609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39610 conftest$ac_exeext conftest.$ac_ext
39611 LIBS=$ac_check_lib_save_LIBS
39613 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39614 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39615 if test $ac_cv_lib_resolv_inet_addr = yes; then
39619 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39620 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39621 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39622 echo $ECHO_N "(cached) $ECHO_C" >&6
39624 ac_check_lib_save_LIBS=$LIBS
39625 LIBS="-lsocket $LIBS"
39626 cat >conftest.$ac_ext <<_ACEOF
39629 cat confdefs.h >>conftest.$ac_ext
39630 cat >>conftest.$ac_ext <<_ACEOF
39631 /* end confdefs.h. */
39633 /* Override any GCC internal prototype to avoid an error.
39634 Use char because int might match the return type of a GCC
39635 builtin and then its argument prototype would still apply. */
39643 return inet_addr ();
39648 rm -f conftest.$ac_objext conftest$ac_exeext
39649 if { (ac_try="$ac_link"
39650 case "(($ac_try" in
39651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39652 *) ac_try_echo=$ac_try;;
39654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39655 (eval "$ac_link") 2>conftest.er1
39657 grep -v '^ *+' conftest.er1 >conftest.err
39659 cat conftest.err >&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); } && {
39662 test -z "$ac_c_werror_flag" ||
39663 test ! -s conftest.err
39664 } && test -s conftest$ac_exeext &&
39665 $as_test_x conftest$ac_exeext; then
39666 ac_cv_lib_socket_inet_addr=yes
39668 echo "$as_me: failed program was:" >&5
39669 sed 's/^/| /' conftest.$ac_ext >&5
39671 ac_cv_lib_socket_inet_addr=no
39674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39675 conftest$ac_exeext conftest.$ac_ext
39676 LIBS=$ac_check_lib_save_LIBS
39678 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39679 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39680 if test $ac_cv_lib_socket_inet_addr = yes; then
39700 for ac_func in inet_aton
39702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39706 echo $ECHO_N "(cached) $ECHO_C" >&6
39708 cat >conftest.$ac_ext <<_ACEOF
39711 cat confdefs.h >>conftest.$ac_ext
39712 cat >>conftest.$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39716 #define $ac_func innocuous_$ac_func
39718 /* System header to define __stub macros and hopefully few prototypes,
39719 which can conflict with char $ac_func (); below.
39720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39721 <limits.h> exists even on freestanding compilers. */
39724 # include <limits.h>
39726 # include <assert.h>
39731 /* Override any GCC internal prototype to avoid an error.
39732 Use char because int might match the return type of a GCC
39733 builtin and then its argument prototype would still apply. */
39738 /* The GNU C library defines this for functions which it implements
39739 to always fail with ENOSYS. Some functions are actually named
39740 something starting with __ and the normal name is an alias. */
39741 #if defined __stub_$ac_func || defined __stub___$ac_func
39748 return $ac_func ();
39753 rm -f conftest.$ac_objext conftest$ac_exeext
39754 if { (ac_try="$ac_link"
39755 case "(($ac_try" in
39756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39757 *) ac_try_echo=$ac_try;;
39759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39760 (eval "$ac_link") 2>conftest.er1
39762 grep -v '^ *+' conftest.er1 >conftest.err
39764 cat conftest.err >&5
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); } && {
39767 test -z "$ac_c_werror_flag" ||
39768 test ! -s conftest.err
39769 } && test -s conftest$ac_exeext &&
39770 $as_test_x conftest$ac_exeext; then
39771 eval "$as_ac_var=yes"
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39776 eval "$as_ac_var=no"
39779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39780 conftest$ac_exeext conftest.$ac_ext
39782 ac_res=`eval echo '${'$as_ac_var'}'`
39783 { echo "$as_me:$LINENO: result: $ac_res" >&5
39784 echo "${ECHO_T}$ac_res" >&6; }
39785 if test `eval echo '${'$as_ac_var'}'` = yes; then
39786 cat >>confdefs.h <<_ACEOF
39787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39789 cat >>confdefs.h <<\_ACEOF
39790 #define HAVE_INET_ATON 1
39795 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39796 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39797 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39798 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39799 echo $ECHO_N "(cached) $ECHO_C" >&6
39801 ac_check_lib_save_LIBS=$LIBS
39802 LIBS="-l$INET_LINK $LIBS"
39803 cat >conftest.$ac_ext <<_ACEOF
39806 cat confdefs.h >>conftest.$ac_ext
39807 cat >>conftest.$ac_ext <<_ACEOF
39808 /* end confdefs.h. */
39810 /* Override any GCC internal prototype to avoid an error.
39811 Use char because int might match the return type of a GCC
39812 builtin and then its argument prototype would still apply. */
39820 return inet_aton ();
39825 rm -f conftest.$ac_objext conftest$ac_exeext
39826 if { (ac_try="$ac_link"
39827 case "(($ac_try" in
39828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39829 *) ac_try_echo=$ac_try;;
39831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39832 (eval "$ac_link") 2>conftest.er1
39834 grep -v '^ *+' conftest.er1 >conftest.err
39836 cat conftest.err >&5
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); } && {
39839 test -z "$ac_c_werror_flag" ||
39840 test ! -s conftest.err
39841 } && test -s conftest$ac_exeext &&
39842 $as_test_x conftest$ac_exeext; then
39843 eval "$as_ac_Lib=yes"
39845 echo "$as_me: failed program was:" >&5
39846 sed 's/^/| /' conftest.$ac_ext >&5
39848 eval "$as_ac_Lib=no"
39851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39852 conftest$ac_exeext conftest.$ac_ext
39853 LIBS=$ac_check_lib_save_LIBS
39855 ac_res=`eval echo '${'$as_ac_Lib'}'`
39856 { echo "$as_me:$LINENO: result: $ac_res" >&5
39857 echo "${ECHO_T}$ac_res" >&6; }
39858 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39859 cat >>confdefs.h <<\_ACEOF
39860 #define HAVE_INET_ATON 1
39870 if test "x$INET_LINK" != "x"; then
39871 cat >>confdefs.h <<\_ACEOF
39872 #define HAVE_INET_ADDR 1
39875 INET_LINK=" -l$INET_LINK"
39879 for wx_func in fdopen
39881 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39882 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39883 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39884 echo $ECHO_N "(cached) $ECHO_C" >&6
39887 cat >conftest.$ac_ext <<_ACEOF
39891 cat confdefs.h >>conftest.$ac_ext
39892 cat >>conftest.$ac_ext <<_ACEOF
39893 /* end confdefs.h. */
39896 $ac_includes_default
39912 rm -f conftest.$ac_objext conftest$ac_exeext
39913 if { (ac_try="$ac_link"
39914 case "(($ac_try" in
39915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39916 *) ac_try_echo=$ac_try;;
39918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39919 (eval "$ac_link") 2>conftest.er1
39921 grep -v '^ *+' conftest.er1 >conftest.err
39923 cat conftest.err >&5
39924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39925 (exit $ac_status); } && {
39926 test -z "$ac_c_werror_flag" ||
39927 test ! -s conftest.err
39928 } && test -s conftest$ac_exeext &&
39929 $as_test_x conftest$ac_exeext; then
39930 eval wx_cv_func_$wx_func=yes
39932 echo "$as_me: failed program was:" >&5
39933 sed 's/^/| /' conftest.$ac_ext >&5
39935 eval wx_cv_func_$wx_func=no
39938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39939 conftest$ac_exeext conftest.$ac_ext
39942 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39943 { echo "$as_me:$LINENO: result: $ac_res" >&5
39944 echo "${ECHO_T}$ac_res" >&6; }
39946 if eval test \$wx_cv_func_$wx_func = yes
39948 cat >>confdefs.h <<_ACEOF
39949 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39960 if test "$wxUSE_TARSTREAM" = "yes"; then
39962 for wx_func in sysconf
39964 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39965 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39966 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39967 echo $ECHO_N "(cached) $ECHO_C" >&6
39970 cat >conftest.$ac_ext <<_ACEOF
39974 cat confdefs.h >>conftest.$ac_ext
39975 cat >>conftest.$ac_ext <<_ACEOF
39976 /* end confdefs.h. */
39979 $ac_includes_default
39995 rm -f conftest.$ac_objext conftest$ac_exeext
39996 if { (ac_try="$ac_link"
39997 case "(($ac_try" in
39998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39999 *) ac_try_echo=$ac_try;;
40001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40002 (eval "$ac_link") 2>conftest.er1
40004 grep -v '^ *+' conftest.er1 >conftest.err
40006 cat conftest.err >&5
40007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40008 (exit $ac_status); } && {
40009 test -z "$ac_c_werror_flag" ||
40010 test ! -s conftest.err
40011 } && test -s conftest$ac_exeext &&
40012 $as_test_x conftest$ac_exeext; then
40013 eval wx_cv_func_$wx_func=yes
40015 echo "$as_me: failed program was:" >&5
40016 sed 's/^/| /' conftest.$ac_ext >&5
40018 eval wx_cv_func_$wx_func=no
40021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40022 conftest$ac_exeext conftest.$ac_ext
40025 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40026 { echo "$as_me:$LINENO: result: $ac_res" >&5
40027 echo "${ECHO_T}$ac_res" >&6; }
40029 if eval test \$wx_cv_func_$wx_func = yes
40031 cat >>confdefs.h <<_ACEOF
40032 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40044 for wx_func in getpwuid_r
40046 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40047 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40048 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40049 echo $ECHO_N "(cached) $ECHO_C" >&6
40052 cat >conftest.$ac_ext <<_ACEOF
40056 cat confdefs.h >>conftest.$ac_ext
40057 cat >>conftest.$ac_ext <<_ACEOF
40058 /* end confdefs.h. */
40064 $ac_includes_default
40074 struct passwd pw, *ppw;
40076 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40084 rm -f conftest.$ac_objext conftest$ac_exeext
40085 if { (ac_try="$ac_link"
40086 case "(($ac_try" in
40087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40088 *) ac_try_echo=$ac_try;;
40090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40091 (eval "$ac_link") 2>conftest.er1
40093 grep -v '^ *+' conftest.er1 >conftest.err
40095 cat conftest.err >&5
40096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40097 (exit $ac_status); } && {
40098 test -z "$ac_c_werror_flag" ||
40099 test ! -s conftest.err
40100 } && test -s conftest$ac_exeext &&
40101 $as_test_x conftest$ac_exeext; then
40102 eval wx_cv_func_$wx_func=yes
40104 echo "$as_me: failed program was:" >&5
40105 sed 's/^/| /' conftest.$ac_ext >&5
40107 eval wx_cv_func_$wx_func=no
40110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40111 conftest$ac_exeext conftest.$ac_ext
40114 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40115 { echo "$as_me:$LINENO: result: $ac_res" >&5
40116 echo "${ECHO_T}$ac_res" >&6; }
40118 if eval test \$wx_cv_func_$wx_func = yes
40120 cat >>confdefs.h <<_ACEOF
40121 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40133 for wx_func in getgrgid_r
40135 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40136 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40137 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40138 echo $ECHO_N "(cached) $ECHO_C" >&6
40141 cat >conftest.$ac_ext <<_ACEOF
40145 cat confdefs.h >>conftest.$ac_ext
40146 cat >>conftest.$ac_ext <<_ACEOF
40147 /* end confdefs.h. */
40153 $ac_includes_default
40163 struct group grp, *pgrp;
40165 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40173 rm -f conftest.$ac_objext conftest$ac_exeext
40174 if { (ac_try="$ac_link"
40175 case "(($ac_try" in
40176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40177 *) ac_try_echo=$ac_try;;
40179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40180 (eval "$ac_link") 2>conftest.er1
40182 grep -v '^ *+' conftest.er1 >conftest.err
40184 cat conftest.err >&5
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); } && {
40187 test -z "$ac_c_werror_flag" ||
40188 test ! -s conftest.err
40189 } && test -s conftest$ac_exeext &&
40190 $as_test_x conftest$ac_exeext; then
40191 eval wx_cv_func_$wx_func=yes
40193 echo "$as_me: failed program was:" >&5
40194 sed 's/^/| /' conftest.$ac_ext >&5
40196 eval wx_cv_func_$wx_func=no
40199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40200 conftest$ac_exeext conftest.$ac_ext
40203 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40204 { echo "$as_me:$LINENO: result: $ac_res" >&5
40205 echo "${ECHO_T}$ac_res" >&6; }
40207 if eval test \$wx_cv_func_$wx_func = yes
40209 cat >>confdefs.h <<_ACEOF
40210 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40226 cat >confcache <<\_ACEOF
40227 # This file is a shell script that caches the results of configure
40228 # tests run on this system so they can be shared between configure
40229 # scripts and configure runs, see configure's option --config-cache.
40230 # It is not useful on other systems. If it contains results you don't
40231 # want to keep, you may remove or edit it.
40233 # config.status only pays attention to the cache file if you give it
40234 # the --recheck option to rerun configure.
40236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40238 # following values.
40242 # The following way of writing the cache mishandles newlines in values,
40243 # but we know of no workaround that is simple, portable, and efficient.
40244 # So, we kill variables containing newlines.
40245 # Ultrix sh set writes to stderr and can't be redirected directly,
40246 # and sets the high bit in the cache file unless we assign to the vars.
40248 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40249 eval ac_val=\$$ac_var
40253 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40254 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40257 _ | IFS | as_nl) ;; #(
40258 *) $as_unset $ac_var ;;
40264 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40265 *${as_nl}ac_space=\ *)
40266 # `set' does not quote correctly, so add quotes (double-quote
40267 # substitution turns \\\\ into \\, and sed turns \\ into \).
40270 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40273 # `set' quotes correctly as required by POSIX, so do not add quotes.
40274 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40283 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40285 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40287 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40288 if test -w "$cache_file"; then
40289 test "x$cache_file" != "x/dev/null" &&
40290 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40291 echo "$as_me: updating cache $cache_file" >&6;}
40292 cat confcache >$cache_file
40294 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40295 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40301 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40307 if test "$wxUSE_THREADS" = "yes" ; then
40308 if test "$USE_BEOS" = 1; then
40309 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40310 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40315 if test "$wxUSE_THREADS" = "yes" ; then
40318 THREAD_OPTS="-pthread"
40319 if test "x$SUNCXX" = xyes; then
40320 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40324 *-*-solaris2* | *-*-sunos4* )
40325 if test "x$GCC" = "xyes"; then
40326 THREAD_OPTS="-pthreads $THREAD_OPTS"
40330 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40332 *-*-darwin* | *-*-cygwin* )
40336 THREAD_OPTS="pthreads"
40339 if test "x$GCC" = "xyes"; then
40340 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40348 if test "x$GCC" = "xyes"; then
40358 if test "x$GCC" != "xyes"; then
40359 THREAD_OPTS="-Ethread"
40366 THREAD_OPTS="none pthread"
40370 THREAD_OPTS="$THREAD_OPTS pthread none"
40375 for flag in $THREAD_OPTS; do
40378 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40379 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40383 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40384 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40385 THREADS_CFLAGS="$flag"
40389 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40390 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40391 THREADS_LINK="-l$flag"
40396 save_CFLAGS="$CFLAGS"
40397 LIBS="$THREADS_LINK $LIBS"
40398 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40400 cat >conftest.$ac_ext <<_ACEOF
40403 cat confdefs.h >>conftest.$ac_ext
40404 cat >>conftest.$ac_ext <<_ACEOF
40405 /* end confdefs.h. */
40406 #include <pthread.h>
40410 pthread_create(0,0,0,0);
40415 rm -f conftest.$ac_objext conftest$ac_exeext
40416 if { (ac_try="$ac_link"
40417 case "(($ac_try" in
40418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40419 *) ac_try_echo=$ac_try;;
40421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40422 (eval "$ac_link") 2>conftest.er1
40424 grep -v '^ *+' conftest.er1 >conftest.err
40426 cat conftest.err >&5
40427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40428 (exit $ac_status); } && {
40429 test -z "$ac_c_werror_flag" ||
40430 test ! -s conftest.err
40431 } && test -s conftest$ac_exeext &&
40432 $as_test_x conftest$ac_exeext; then
40435 echo "$as_me: failed program was:" >&5
40436 sed 's/^/| /' conftest.$ac_ext >&5
40441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40442 conftest$ac_exeext conftest.$ac_ext
40445 CFLAGS="$save_CFLAGS"
40447 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40448 echo "${ECHO_T}$THREADS_OK" >&6; }
40449 if test "x$THREADS_OK" = "xyes"; then
40457 if test "x$THREADS_OK" != "xyes"; then
40459 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40460 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40462 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40463 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40464 LIBS="$THREADS_LINK $LIBS"
40466 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40467 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40471 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40472 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40473 flag="-D_THREAD_SAFE"
40476 flag="-D_THREAD_SAFE"
40479 flag="-D_REENTRANT"
40480 if test "x$GCC" != "xyes"; then
40481 flag="$flag -D_RWSTD_MULTI_THREAD"
40484 *solaris* | alpha*-osf*)
40485 flag="-D_REENTRANT"
40488 { echo "$as_me:$LINENO: result: ${flag}" >&5
40489 echo "${ECHO_T}${flag}" >&6; }
40490 if test "x$flag" != xno; then
40491 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40494 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40498 if test "$wxUSE_THREADS" = "yes" ; then
40500 for ac_func in thr_setconcurrency
40502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40506 echo $ECHO_N "(cached) $ECHO_C" >&6
40508 cat >conftest.$ac_ext <<_ACEOF
40511 cat confdefs.h >>conftest.$ac_ext
40512 cat >>conftest.$ac_ext <<_ACEOF
40513 /* end confdefs.h. */
40514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40516 #define $ac_func innocuous_$ac_func
40518 /* System header to define __stub macros and hopefully few prototypes,
40519 which can conflict with char $ac_func (); below.
40520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40521 <limits.h> exists even on freestanding compilers. */
40524 # include <limits.h>
40526 # include <assert.h>
40531 /* Override any GCC internal prototype to avoid an error.
40532 Use char because int might match the return type of a GCC
40533 builtin and then its argument prototype would still apply. */
40538 /* The GNU C library defines this for functions which it implements
40539 to always fail with ENOSYS. Some functions are actually named
40540 something starting with __ and the normal name is an alias. */
40541 #if defined __stub_$ac_func || defined __stub___$ac_func
40548 return $ac_func ();
40553 rm -f conftest.$ac_objext conftest$ac_exeext
40554 if { (ac_try="$ac_link"
40555 case "(($ac_try" in
40556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40557 *) ac_try_echo=$ac_try;;
40559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40560 (eval "$ac_link") 2>conftest.er1
40562 grep -v '^ *+' conftest.er1 >conftest.err
40564 cat conftest.err >&5
40565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40566 (exit $ac_status); } && {
40567 test -z "$ac_c_werror_flag" ||
40568 test ! -s conftest.err
40569 } && test -s conftest$ac_exeext &&
40570 $as_test_x conftest$ac_exeext; then
40571 eval "$as_ac_var=yes"
40573 echo "$as_me: failed program was:" >&5
40574 sed 's/^/| /' conftest.$ac_ext >&5
40576 eval "$as_ac_var=no"
40579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40580 conftest$ac_exeext conftest.$ac_ext
40582 ac_res=`eval echo '${'$as_ac_var'}'`
40583 { echo "$as_me:$LINENO: result: $ac_res" >&5
40584 echo "${ECHO_T}$ac_res" >&6; }
40585 if test `eval echo '${'$as_ac_var'}'` = yes; then
40586 cat >>confdefs.h <<_ACEOF
40587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40594 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40595 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40596 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40597 echo $ECHO_N "(cached) $ECHO_C" >&6
40601 ac_cpp='$CXXCPP $CPPFLAGS'
40602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40606 cat >conftest.$ac_ext <<_ACEOF
40609 cat confdefs.h >>conftest.$ac_ext
40610 cat >>conftest.$ac_ext <<_ACEOF
40611 /* end confdefs.h. */
40612 #include <pthread.h>
40613 void ThreadCleanupFunc(void *p);
40620 pthread_cleanup_push(ThreadCleanupFunc, p);
40621 pthread_cleanup_pop(0);
40627 rm -f conftest.$ac_objext
40628 if { (ac_try="$ac_compile"
40629 case "(($ac_try" in
40630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40631 *) ac_try_echo=$ac_try;;
40633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40634 (eval "$ac_compile") 2>conftest.er1
40636 grep -v '^ *+' conftest.er1 >conftest.err
40638 cat conftest.err >&5
40639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40640 (exit $ac_status); } && {
40641 test -z "$ac_cxx_werror_flag" ||
40642 test ! -s conftest.err
40643 } && test -s conftest.$ac_objext; then
40645 wx_cv_func_pthread_cleanup=yes
40648 echo "$as_me: failed program was:" >&5
40649 sed 's/^/| /' conftest.$ac_ext >&5
40652 wx_cv_func_pthread_cleanup=no
40657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40659 ac_cpp='$CPP $CPPFLAGS'
40660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40666 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40667 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40668 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40669 cat >>confdefs.h <<\_ACEOF
40670 #define wxHAVE_PTHREAD_CLEANUP 1
40676 for ac_header in sched.h
40678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40682 echo $ECHO_N "(cached) $ECHO_C" >&6
40684 cat >conftest.$ac_ext <<_ACEOF
40687 cat confdefs.h >>conftest.$ac_ext
40688 cat >>conftest.$ac_ext <<_ACEOF
40689 /* end confdefs.h. */
40690 $ac_includes_default
40692 #include <$ac_header>
40694 rm -f conftest.$ac_objext
40695 if { (ac_try="$ac_compile"
40696 case "(($ac_try" in
40697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40698 *) ac_try_echo=$ac_try;;
40700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40701 (eval "$ac_compile") 2>conftest.er1
40703 grep -v '^ *+' conftest.er1 >conftest.err
40705 cat conftest.err >&5
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); } && {
40708 test -z "$ac_c_werror_flag" ||
40709 test ! -s conftest.err
40710 } && test -s conftest.$ac_objext; then
40711 eval "$as_ac_Header=yes"
40713 echo "$as_me: failed program was:" >&5
40714 sed 's/^/| /' conftest.$ac_ext >&5
40716 eval "$as_ac_Header=no"
40719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40721 ac_res=`eval echo '${'$as_ac_Header'}'`
40722 { echo "$as_me:$LINENO: result: $ac_res" >&5
40723 echo "${ECHO_T}$ac_res" >&6; }
40724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40725 cat >>confdefs.h <<_ACEOF
40726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40733 if test "$ac_cv_header_sched_h" = "yes"; then
40734 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40735 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40736 if test "${ac_cv_func_sched_yield+set}" = set; then
40737 echo $ECHO_N "(cached) $ECHO_C" >&6
40739 cat >conftest.$ac_ext <<_ACEOF
40742 cat confdefs.h >>conftest.$ac_ext
40743 cat >>conftest.$ac_ext <<_ACEOF
40744 /* end confdefs.h. */
40745 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40747 #define sched_yield innocuous_sched_yield
40749 /* System header to define __stub macros and hopefully few prototypes,
40750 which can conflict with char sched_yield (); below.
40751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40752 <limits.h> exists even on freestanding compilers. */
40755 # include <limits.h>
40757 # include <assert.h>
40762 /* Override any GCC internal prototype to avoid an error.
40763 Use char because int might match the return type of a GCC
40764 builtin and then its argument prototype would still apply. */
40768 char sched_yield ();
40769 /* The GNU C library defines this for functions which it implements
40770 to always fail with ENOSYS. Some functions are actually named
40771 something starting with __ and the normal name is an alias. */
40772 #if defined __stub_sched_yield || defined __stub___sched_yield
40779 return sched_yield ();
40784 rm -f conftest.$ac_objext conftest$ac_exeext
40785 if { (ac_try="$ac_link"
40786 case "(($ac_try" in
40787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40788 *) ac_try_echo=$ac_try;;
40790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40791 (eval "$ac_link") 2>conftest.er1
40793 grep -v '^ *+' conftest.er1 >conftest.err
40795 cat conftest.err >&5
40796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40797 (exit $ac_status); } && {
40798 test -z "$ac_c_werror_flag" ||
40799 test ! -s conftest.err
40800 } && test -s conftest$ac_exeext &&
40801 $as_test_x conftest$ac_exeext; then
40802 ac_cv_func_sched_yield=yes
40804 echo "$as_me: failed program was:" >&5
40805 sed 's/^/| /' conftest.$ac_ext >&5
40807 ac_cv_func_sched_yield=no
40810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40811 conftest$ac_exeext conftest.$ac_ext
40813 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40814 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40815 if test $ac_cv_func_sched_yield = yes; then
40816 cat >>confdefs.h <<\_ACEOF
40817 #define HAVE_SCHED_YIELD 1
40822 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40823 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40824 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40825 echo $ECHO_N "(cached) $ECHO_C" >&6
40827 ac_check_lib_save_LIBS=$LIBS
40828 LIBS="-lposix4 $LIBS"
40829 cat >conftest.$ac_ext <<_ACEOF
40832 cat confdefs.h >>conftest.$ac_ext
40833 cat >>conftest.$ac_ext <<_ACEOF
40834 /* end confdefs.h. */
40836 /* Override any GCC internal prototype to avoid an error.
40837 Use char because int might match the return type of a GCC
40838 builtin and then its argument prototype would still apply. */
40842 char sched_yield ();
40846 return sched_yield ();
40851 rm -f conftest.$ac_objext conftest$ac_exeext
40852 if { (ac_try="$ac_link"
40853 case "(($ac_try" in
40854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40855 *) ac_try_echo=$ac_try;;
40857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40858 (eval "$ac_link") 2>conftest.er1
40860 grep -v '^ *+' conftest.er1 >conftest.err
40862 cat conftest.err >&5
40863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40864 (exit $ac_status); } && {
40865 test -z "$ac_c_werror_flag" ||
40866 test ! -s conftest.err
40867 } && test -s conftest$ac_exeext &&
40868 $as_test_x conftest$ac_exeext; then
40869 ac_cv_lib_posix4_sched_yield=yes
40871 echo "$as_me: failed program was:" >&5
40872 sed 's/^/| /' conftest.$ac_ext >&5
40874 ac_cv_lib_posix4_sched_yield=no
40877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40878 conftest$ac_exeext conftest.$ac_ext
40879 LIBS=$ac_check_lib_save_LIBS
40881 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40882 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40883 if test $ac_cv_lib_posix4_sched_yield = yes; then
40884 cat >>confdefs.h <<\_ACEOF
40885 #define HAVE_SCHED_YIELD 1
40887 POSIX4_LINK=" -lposix4"
40889 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40890 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40901 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40902 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40903 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40904 echo $ECHO_N "(cached) $ECHO_C" >&6
40906 cat >conftest.$ac_ext <<_ACEOF
40909 cat confdefs.h >>conftest.$ac_ext
40910 cat >>conftest.$ac_ext <<_ACEOF
40911 /* end confdefs.h. */
40912 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40914 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40916 /* System header to define __stub macros and hopefully few prototypes,
40917 which can conflict with char pthread_attr_getschedpolicy (); below.
40918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40919 <limits.h> exists even on freestanding compilers. */
40922 # include <limits.h>
40924 # include <assert.h>
40927 #undef pthread_attr_getschedpolicy
40929 /* Override any GCC internal prototype to avoid an error.
40930 Use char because int might match the return type of a GCC
40931 builtin and then its argument prototype would still apply. */
40935 char pthread_attr_getschedpolicy ();
40936 /* The GNU C library defines this for functions which it implements
40937 to always fail with ENOSYS. Some functions are actually named
40938 something starting with __ and the normal name is an alias. */
40939 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40946 return pthread_attr_getschedpolicy ();
40951 rm -f conftest.$ac_objext conftest$ac_exeext
40952 if { (ac_try="$ac_link"
40953 case "(($ac_try" in
40954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40955 *) ac_try_echo=$ac_try;;
40957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40958 (eval "$ac_link") 2>conftest.er1
40960 grep -v '^ *+' conftest.er1 >conftest.err
40962 cat conftest.err >&5
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); } && {
40965 test -z "$ac_c_werror_flag" ||
40966 test ! -s conftest.err
40967 } && test -s conftest$ac_exeext &&
40968 $as_test_x conftest$ac_exeext; then
40969 ac_cv_func_pthread_attr_getschedpolicy=yes
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.$ac_ext >&5
40974 ac_cv_func_pthread_attr_getschedpolicy=no
40977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40978 conftest$ac_exeext conftest.$ac_ext
40980 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40981 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40982 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40983 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40984 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40985 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40986 echo $ECHO_N "(cached) $ECHO_C" >&6
40988 cat >conftest.$ac_ext <<_ACEOF
40991 cat confdefs.h >>conftest.$ac_ext
40992 cat >>conftest.$ac_ext <<_ACEOF
40993 /* end confdefs.h. */
40994 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40996 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40998 /* System header to define __stub macros and hopefully few prototypes,
40999 which can conflict with char pthread_attr_setschedparam (); below.
41000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41001 <limits.h> exists even on freestanding compilers. */
41004 # include <limits.h>
41006 # include <assert.h>
41009 #undef pthread_attr_setschedparam
41011 /* Override any GCC internal prototype to avoid an error.
41012 Use char because int might match the return type of a GCC
41013 builtin and then its argument prototype would still apply. */
41017 char pthread_attr_setschedparam ();
41018 /* The GNU C library defines this for functions which it implements
41019 to always fail with ENOSYS. Some functions are actually named
41020 something starting with __ and the normal name is an alias. */
41021 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41028 return pthread_attr_setschedparam ();
41033 rm -f conftest.$ac_objext conftest$ac_exeext
41034 if { (ac_try="$ac_link"
41035 case "(($ac_try" in
41036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41037 *) ac_try_echo=$ac_try;;
41039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41040 (eval "$ac_link") 2>conftest.er1
41042 grep -v '^ *+' conftest.er1 >conftest.err
41044 cat conftest.err >&5
41045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046 (exit $ac_status); } && {
41047 test -z "$ac_c_werror_flag" ||
41048 test ! -s conftest.err
41049 } && test -s conftest$ac_exeext &&
41050 $as_test_x conftest$ac_exeext; then
41051 ac_cv_func_pthread_attr_setschedparam=yes
41053 echo "$as_me: failed program was:" >&5
41054 sed 's/^/| /' conftest.$ac_ext >&5
41056 ac_cv_func_pthread_attr_setschedparam=no
41059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41060 conftest$ac_exeext conftest.$ac_ext
41062 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41063 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41064 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41065 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41066 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41067 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41068 echo $ECHO_N "(cached) $ECHO_C" >&6
41070 cat >conftest.$ac_ext <<_ACEOF
41073 cat confdefs.h >>conftest.$ac_ext
41074 cat >>conftest.$ac_ext <<_ACEOF
41075 /* end confdefs.h. */
41076 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41078 #define sched_get_priority_max innocuous_sched_get_priority_max
41080 /* System header to define __stub macros and hopefully few prototypes,
41081 which can conflict with char sched_get_priority_max (); below.
41082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41083 <limits.h> exists even on freestanding compilers. */
41086 # include <limits.h>
41088 # include <assert.h>
41091 #undef sched_get_priority_max
41093 /* Override any GCC internal prototype to avoid an error.
41094 Use char because int might match the return type of a GCC
41095 builtin and then its argument prototype would still apply. */
41099 char sched_get_priority_max ();
41100 /* The GNU C library defines this for functions which it implements
41101 to always fail with ENOSYS. Some functions are actually named
41102 something starting with __ and the normal name is an alias. */
41103 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41110 return sched_get_priority_max ();
41115 rm -f conftest.$ac_objext conftest$ac_exeext
41116 if { (ac_try="$ac_link"
41117 case "(($ac_try" in
41118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41119 *) ac_try_echo=$ac_try;;
41121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41122 (eval "$ac_link") 2>conftest.er1
41124 grep -v '^ *+' conftest.er1 >conftest.err
41126 cat conftest.err >&5
41127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41128 (exit $ac_status); } && {
41129 test -z "$ac_c_werror_flag" ||
41130 test ! -s conftest.err
41131 } && test -s conftest$ac_exeext &&
41132 $as_test_x conftest$ac_exeext; then
41133 ac_cv_func_sched_get_priority_max=yes
41135 echo "$as_me: failed program was:" >&5
41136 sed 's/^/| /' conftest.$ac_ext >&5
41138 ac_cv_func_sched_get_priority_max=no
41141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41142 conftest$ac_exeext conftest.$ac_ext
41144 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41145 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41146 if test $ac_cv_func_sched_get_priority_max = yes; then
41149 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41150 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41151 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41152 echo $ECHO_N "(cached) $ECHO_C" >&6
41154 ac_check_lib_save_LIBS=$LIBS
41155 LIBS="-lposix4 $LIBS"
41156 cat >conftest.$ac_ext <<_ACEOF
41159 cat confdefs.h >>conftest.$ac_ext
41160 cat >>conftest.$ac_ext <<_ACEOF
41161 /* end confdefs.h. */
41163 /* Override any GCC internal prototype to avoid an error.
41164 Use char because int might match the return type of a GCC
41165 builtin and then its argument prototype would still apply. */
41169 char sched_get_priority_max ();
41173 return sched_get_priority_max ();
41178 rm -f conftest.$ac_objext conftest$ac_exeext
41179 if { (ac_try="$ac_link"
41180 case "(($ac_try" in
41181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41182 *) ac_try_echo=$ac_try;;
41184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41185 (eval "$ac_link") 2>conftest.er1
41187 grep -v '^ *+' conftest.er1 >conftest.err
41189 cat conftest.err >&5
41190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41191 (exit $ac_status); } && {
41192 test -z "$ac_c_werror_flag" ||
41193 test ! -s conftest.err
41194 } && test -s conftest$ac_exeext &&
41195 $as_test_x conftest$ac_exeext; then
41196 ac_cv_lib_posix4_sched_get_priority_max=yes
41198 echo "$as_me: failed program was:" >&5
41199 sed 's/^/| /' conftest.$ac_ext >&5
41201 ac_cv_lib_posix4_sched_get_priority_max=no
41204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41205 conftest$ac_exeext conftest.$ac_ext
41206 LIBS=$ac_check_lib_save_LIBS
41208 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41209 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41210 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41213 POSIX4_LINK=" -lposix4"
41227 if test "$HAVE_PRIOR_FUNCS" = 1; then
41228 cat >>confdefs.h <<\_ACEOF
41229 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41233 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41234 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41237 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41238 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41239 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41240 echo $ECHO_N "(cached) $ECHO_C" >&6
41242 cat >conftest.$ac_ext <<_ACEOF
41245 cat confdefs.h >>conftest.$ac_ext
41246 cat >>conftest.$ac_ext <<_ACEOF
41247 /* end confdefs.h. */
41248 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41250 #define pthread_cancel innocuous_pthread_cancel
41252 /* System header to define __stub macros and hopefully few prototypes,
41253 which can conflict with char pthread_cancel (); below.
41254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41255 <limits.h> exists even on freestanding compilers. */
41258 # include <limits.h>
41260 # include <assert.h>
41263 #undef pthread_cancel
41265 /* Override any GCC internal prototype to avoid an error.
41266 Use char because int might match the return type of a GCC
41267 builtin and then its argument prototype would still apply. */
41271 char pthread_cancel ();
41272 /* The GNU C library defines this for functions which it implements
41273 to always fail with ENOSYS. Some functions are actually named
41274 something starting with __ and the normal name is an alias. */
41275 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41282 return pthread_cancel ();
41287 rm -f conftest.$ac_objext conftest$ac_exeext
41288 if { (ac_try="$ac_link"
41289 case "(($ac_try" in
41290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41291 *) ac_try_echo=$ac_try;;
41293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41294 (eval "$ac_link") 2>conftest.er1
41296 grep -v '^ *+' conftest.er1 >conftest.err
41298 cat conftest.err >&5
41299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41300 (exit $ac_status); } && {
41301 test -z "$ac_c_werror_flag" ||
41302 test ! -s conftest.err
41303 } && test -s conftest$ac_exeext &&
41304 $as_test_x conftest$ac_exeext; then
41305 ac_cv_func_pthread_cancel=yes
41307 echo "$as_me: failed program was:" >&5
41308 sed 's/^/| /' conftest.$ac_ext >&5
41310 ac_cv_func_pthread_cancel=no
41313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41314 conftest$ac_exeext conftest.$ac_ext
41316 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41317 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41318 if test $ac_cv_func_pthread_cancel = yes; then
41319 cat >>confdefs.h <<\_ACEOF
41320 #define HAVE_PTHREAD_CANCEL 1
41324 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41325 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41329 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41330 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41331 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41332 echo $ECHO_N "(cached) $ECHO_C" >&6
41334 cat >conftest.$ac_ext <<_ACEOF
41337 cat confdefs.h >>conftest.$ac_ext
41338 cat >>conftest.$ac_ext <<_ACEOF
41339 /* end confdefs.h. */
41340 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41342 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41344 /* System header to define __stub macros and hopefully few prototypes,
41345 which can conflict with char pthread_mutex_timedlock (); below.
41346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41347 <limits.h> exists even on freestanding compilers. */
41350 # include <limits.h>
41352 # include <assert.h>
41355 #undef pthread_mutex_timedlock
41357 /* Override any GCC internal prototype to avoid an error.
41358 Use char because int might match the return type of a GCC
41359 builtin and then its argument prototype would still apply. */
41363 char pthread_mutex_timedlock ();
41364 /* The GNU C library defines this for functions which it implements
41365 to always fail with ENOSYS. Some functions are actually named
41366 something starting with __ and the normal name is an alias. */
41367 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41374 return pthread_mutex_timedlock ();
41379 rm -f conftest.$ac_objext conftest$ac_exeext
41380 if { (ac_try="$ac_link"
41381 case "(($ac_try" in
41382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41383 *) ac_try_echo=$ac_try;;
41385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41386 (eval "$ac_link") 2>conftest.er1
41388 grep -v '^ *+' conftest.er1 >conftest.err
41390 cat conftest.err >&5
41391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41392 (exit $ac_status); } && {
41393 test -z "$ac_c_werror_flag" ||
41394 test ! -s conftest.err
41395 } && test -s conftest$ac_exeext &&
41396 $as_test_x conftest$ac_exeext; then
41397 ac_cv_func_pthread_mutex_timedlock=yes
41399 echo "$as_me: failed program was:" >&5
41400 sed 's/^/| /' conftest.$ac_ext >&5
41402 ac_cv_func_pthread_mutex_timedlock=no
41405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41406 conftest$ac_exeext conftest.$ac_ext
41408 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41409 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41410 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41411 cat >>confdefs.h <<\_ACEOF
41412 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41416 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41417 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41421 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41422 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41423 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41424 echo $ECHO_N "(cached) $ECHO_C" >&6
41426 cat >conftest.$ac_ext <<_ACEOF
41429 cat confdefs.h >>conftest.$ac_ext
41430 cat >>conftest.$ac_ext <<_ACEOF
41431 /* end confdefs.h. */
41432 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41434 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41436 /* System header to define __stub macros and hopefully few prototypes,
41437 which can conflict with char pthread_attr_setstacksize (); below.
41438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41439 <limits.h> exists even on freestanding compilers. */
41442 # include <limits.h>
41444 # include <assert.h>
41447 #undef pthread_attr_setstacksize
41449 /* Override any GCC internal prototype to avoid an error.
41450 Use char because int might match the return type of a GCC
41451 builtin and then its argument prototype would still apply. */
41455 char pthread_attr_setstacksize ();
41456 /* The GNU C library defines this for functions which it implements
41457 to always fail with ENOSYS. Some functions are actually named
41458 something starting with __ and the normal name is an alias. */
41459 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41466 return pthread_attr_setstacksize ();
41471 rm -f conftest.$ac_objext conftest$ac_exeext
41472 if { (ac_try="$ac_link"
41473 case "(($ac_try" in
41474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41475 *) ac_try_echo=$ac_try;;
41477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41478 (eval "$ac_link") 2>conftest.er1
41480 grep -v '^ *+' conftest.er1 >conftest.err
41482 cat conftest.err >&5
41483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41484 (exit $ac_status); } && {
41485 test -z "$ac_c_werror_flag" ||
41486 test ! -s conftest.err
41487 } && test -s conftest$ac_exeext &&
41488 $as_test_x conftest$ac_exeext; then
41489 ac_cv_func_pthread_attr_setstacksize=yes
41491 echo "$as_me: failed program was:" >&5
41492 sed 's/^/| /' conftest.$ac_ext >&5
41494 ac_cv_func_pthread_attr_setstacksize=no
41497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41498 conftest$ac_exeext conftest.$ac_ext
41500 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41501 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41502 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41503 cat >>confdefs.h <<\_ACEOF
41504 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41511 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41512 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41513 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41514 echo $ECHO_N "(cached) $ECHO_C" >&6
41517 cat >conftest.$ac_ext <<_ACEOF
41520 cat confdefs.h >>conftest.$ac_ext
41521 cat >>conftest.$ac_ext <<_ACEOF
41522 /* end confdefs.h. */
41523 #include <pthread.h>
41528 pthread_mutexattr_t attr;
41529 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41535 rm -f conftest.$ac_objext
41536 if { (ac_try="$ac_compile"
41537 case "(($ac_try" in
41538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41539 *) ac_try_echo=$ac_try;;
41541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41542 (eval "$ac_compile") 2>conftest.er1
41544 grep -v '^ *+' conftest.er1 >conftest.err
41546 cat conftest.err >&5
41547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41548 (exit $ac_status); } && {
41549 test -z "$ac_c_werror_flag" ||
41550 test ! -s conftest.err
41551 } && test -s conftest.$ac_objext; then
41552 wx_cv_type_pthread_mutexattr_t=yes
41554 echo "$as_me: failed program was:" >&5
41555 sed 's/^/| /' conftest.$ac_ext >&5
41557 wx_cv_type_pthread_mutexattr_t=no
41561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41564 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41565 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41567 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41568 cat >>confdefs.h <<\_ACEOF
41569 #define HAVE_PTHREAD_MUTEXATTR_T 1
41573 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41574 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41575 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41576 echo $ECHO_N "(cached) $ECHO_C" >&6
41579 cat >conftest.$ac_ext <<_ACEOF
41582 cat confdefs.h >>conftest.$ac_ext
41583 cat >>conftest.$ac_ext <<_ACEOF
41584 /* end confdefs.h. */
41585 #include <pthread.h>
41590 pthread_mutexattr_t attr;
41591 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41597 rm -f conftest.$ac_objext
41598 if { (ac_try="$ac_compile"
41599 case "(($ac_try" in
41600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41601 *) ac_try_echo=$ac_try;;
41603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41604 (eval "$ac_compile") 2>conftest.er1
41606 grep -v '^ *+' conftest.er1 >conftest.err
41608 cat conftest.err >&5
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); } && {
41611 test -z "$ac_c_werror_flag" ||
41612 test ! -s conftest.err
41613 } && test -s conftest.$ac_objext; then
41614 wx_cv_func_pthread_mutexattr_settype_decl=yes
41616 echo "$as_me: failed program was:" >&5
41617 sed 's/^/| /' conftest.$ac_ext >&5
41619 wx_cv_func_pthread_mutexattr_settype_decl=no
41623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41626 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41627 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41628 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41629 cat >>confdefs.h <<\_ACEOF
41630 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41635 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41636 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41637 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41638 echo $ECHO_N "(cached) $ECHO_C" >&6
41641 cat >conftest.$ac_ext <<_ACEOF
41644 cat confdefs.h >>conftest.$ac_ext
41645 cat >>conftest.$ac_ext <<_ACEOF
41646 /* end confdefs.h. */
41647 #include <pthread.h>
41652 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41658 rm -f conftest.$ac_objext
41659 if { (ac_try="$ac_compile"
41660 case "(($ac_try" in
41661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41662 *) ac_try_echo=$ac_try;;
41664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41665 (eval "$ac_compile") 2>conftest.er1
41667 grep -v '^ *+' conftest.er1 >conftest.err
41669 cat conftest.err >&5
41670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41671 (exit $ac_status); } && {
41672 test -z "$ac_c_werror_flag" ||
41673 test ! -s conftest.err
41674 } && test -s conftest.$ac_objext; then
41676 wx_cv_type_pthread_rec_mutex_init=yes
41679 echo "$as_me: failed program was:" >&5
41680 sed 's/^/| /' conftest.$ac_ext >&5
41683 wx_cv_type_pthread_rec_mutex_init=no
41688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41691 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41692 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41693 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41694 cat >>confdefs.h <<\_ACEOF
41695 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41699 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41700 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41704 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41705 if test "$USE_NETBSD" = 1; then
41706 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41707 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41708 wxUSE_COMPILER_TLS=no
41710 wxUSE_COMPILER_TLS=yes
41714 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41715 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41716 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41717 if test "${wx_cv_cc___thread+set}" = set; then
41718 echo $ECHO_N "(cached) $ECHO_C" >&6
41721 cat >conftest.$ac_ext <<_ACEOF
41724 cat confdefs.h >>conftest.$ac_ext
41725 cat >>conftest.$ac_ext <<_ACEOF
41726 /* end confdefs.h. */
41727 #include <pthread.h>
41732 static __thread int n = 0;
41733 static __thread int *p = 0;
41739 rm -f conftest.$ac_objext
41740 if { (ac_try="$ac_compile"
41741 case "(($ac_try" in
41742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41743 *) ac_try_echo=$ac_try;;
41745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41746 (eval "$ac_compile") 2>conftest.er1
41748 grep -v '^ *+' conftest.er1 >conftest.err
41750 cat conftest.err >&5
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); } && {
41753 test -z "$ac_c_werror_flag" ||
41754 test ! -s conftest.err
41755 } && test -s conftest.$ac_objext; then
41756 wx_cv_cc___thread=yes
41758 echo "$as_me: failed program was:" >&5
41759 sed 's/^/| /' conftest.$ac_ext >&5
41761 wx_cv_cc___thread=no
41765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41769 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41770 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41772 if test "$wx_cv_cc___thread" = "yes"; then
41778 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41779 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41781 if test "x$GCC" = "xyes" ; then
41783 if test -z "" ; then
41785 ax_gcc_option_test="int main()
41792 ax_gcc_option_test=""
41797 # Dump the test program to file
41798 cat <<EOF > conftest.c
41799 $ax_gcc_option_test
41802 # Dump back the file to the log, useful for debugging purposes
41803 { ac_try='cat conftest.c 1>&5'
41804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41805 (eval $ac_try) 2>&5
41807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41808 (exit $ac_status); }; }
41810 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41812 (eval $ac_try) 2>&5
41814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815 (exit $ac_status); }; } ; then
41817 { echo "$as_me:$LINENO: result: yes" >&5
41818 echo "${ECHO_T}yes" >&6; }
41820 ax_gcc_version_option=yes
41825 { echo "$as_me:$LINENO: result: no" >&5
41826 echo "${ECHO_T}no" >&6; }
41828 ax_gcc_version_option=no
41836 { echo "$as_me:$LINENO: result: no gcc available" >&5
41837 echo "${ECHO_T}no gcc available" >&6; }
41842 if test "x$GXX" = "xyes"; then
41844 if test "x$ax_gxx_version_option" != "no"; then
41846 { echo "$as_me:$LINENO: checking gxx version" >&5
41847 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41848 if test "${ax_cv_gxx_version+set}" = set; then
41849 echo $ECHO_N "(cached) $ECHO_C" >&6
41852 ax_cv_gxx_version="`$CXX -dumpversion`"
41853 if test "x$ax_cv_gxx_version" = "x"; then
41855 ax_cv_gxx_version=""
41861 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41862 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41863 GXX_VERSION=$ax_cv_gxx_version
41872 if test -n "$ax_cv_gxx_version"; then
41873 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41874 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41875 case "$ax_cv_gxx_version" in
41877 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41878 echo "${ECHO_T}no, it's broken" >&6; }
41879 wx_cv_cc___thread=no
41882 { echo "$as_me:$LINENO: result: yes, it works" >&5
41883 echo "${ECHO_T}yes, it works" >&6; }
41889 if test "$wx_cv_cc___thread" = "yes"; then
41890 cat >>confdefs.h <<\_ACEOF
41891 #define HAVE___THREAD_KEYWORD 1
41899 if test "$wxUSE_THREADS" = "yes" ; then
41901 x86_64-*-mingw32* )
41904 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41905 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41906 if test "${wx_cv_cflags_mthread+set}" = set; then
41907 echo $ECHO_N "(cached) $ECHO_C" >&6
41910 CFLAGS_OLD="$CFLAGS"
41911 CFLAGS="-mthreads $CFLAGS"
41912 cat >conftest.$ac_ext <<_ACEOF
41915 cat confdefs.h >>conftest.$ac_ext
41916 cat >>conftest.$ac_ext <<_ACEOF
41917 /* end confdefs.h. */
41927 rm -f conftest.$ac_objext
41928 if { (ac_try="$ac_compile"
41929 case "(($ac_try" in
41930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41931 *) ac_try_echo=$ac_try;;
41933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41934 (eval "$ac_compile") 2>conftest.er1
41936 grep -v '^ *+' conftest.er1 >conftest.err
41938 cat conftest.err >&5
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); } && {
41941 test -z "$ac_c_werror_flag" ||
41942 test ! -s conftest.err
41943 } && test -s conftest.$ac_objext; then
41944 wx_cv_cflags_mthread=yes
41946 echo "$as_me: failed program was:" >&5
41947 sed 's/^/| /' conftest.$ac_ext >&5
41949 wx_cv_cflags_mthread=no
41953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41957 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41958 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41960 if test "$wx_cv_cflags_mthread" = "yes"; then
41961 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41962 LDFLAGS="$LDFLAGS -mthreads"
41964 CFLAGS="$CFLAGS_OLD"
41968 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41969 LDFLAGS="$LDFLAGS -Zmt"
41975 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41976 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41977 if test "${ac_cv_func_localtime_r+set}" = set; then
41978 echo $ECHO_N "(cached) $ECHO_C" >&6
41980 cat >conftest.$ac_ext <<_ACEOF
41983 cat confdefs.h >>conftest.$ac_ext
41984 cat >>conftest.$ac_ext <<_ACEOF
41985 /* end confdefs.h. */
41986 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41988 #define localtime_r innocuous_localtime_r
41990 /* System header to define __stub macros and hopefully few prototypes,
41991 which can conflict with char localtime_r (); below.
41992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41993 <limits.h> exists even on freestanding compilers. */
41996 # include <limits.h>
41998 # include <assert.h>
42003 /* Override any GCC internal prototype to avoid an error.
42004 Use char because int might match the return type of a GCC
42005 builtin and then its argument prototype would still apply. */
42009 char localtime_r ();
42010 /* The GNU C library defines this for functions which it implements
42011 to always fail with ENOSYS. Some functions are actually named
42012 something starting with __ and the normal name is an alias. */
42013 #if defined __stub_localtime_r || defined __stub___localtime_r
42020 return localtime_r ();
42025 rm -f conftest.$ac_objext conftest$ac_exeext
42026 if { (ac_try="$ac_link"
42027 case "(($ac_try" in
42028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42029 *) ac_try_echo=$ac_try;;
42031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42032 (eval "$ac_link") 2>conftest.er1
42034 grep -v '^ *+' conftest.er1 >conftest.err
42036 cat conftest.err >&5
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); } && {
42039 test -z "$ac_c_werror_flag" ||
42040 test ! -s conftest.err
42041 } && test -s conftest$ac_exeext &&
42042 $as_test_x conftest$ac_exeext; then
42043 ac_cv_func_localtime_r=yes
42045 echo "$as_me: failed program was:" >&5
42046 sed 's/^/| /' conftest.$ac_ext >&5
42048 ac_cv_func_localtime_r=no
42051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42052 conftest$ac_exeext conftest.$ac_ext
42054 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42055 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42056 if test $ac_cv_func_localtime_r = yes; then
42057 cat >>confdefs.h <<\_ACEOF
42058 #define HAVE_LOCALTIME_R 1
42063 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42064 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42065 if test "${ac_cv_func_gmtime_r+set}" = set; then
42066 echo $ECHO_N "(cached) $ECHO_C" >&6
42068 cat >conftest.$ac_ext <<_ACEOF
42071 cat confdefs.h >>conftest.$ac_ext
42072 cat >>conftest.$ac_ext <<_ACEOF
42073 /* end confdefs.h. */
42074 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42076 #define gmtime_r innocuous_gmtime_r
42078 /* System header to define __stub macros and hopefully few prototypes,
42079 which can conflict with char gmtime_r (); below.
42080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42081 <limits.h> exists even on freestanding compilers. */
42084 # include <limits.h>
42086 # include <assert.h>
42091 /* Override any GCC internal prototype to avoid an error.
42092 Use char because int might match the return type of a GCC
42093 builtin and then its argument prototype would still apply. */
42098 /* The GNU C library defines this for functions which it implements
42099 to always fail with ENOSYS. Some functions are actually named
42100 something starting with __ and the normal name is an alias. */
42101 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42108 return gmtime_r ();
42113 rm -f conftest.$ac_objext conftest$ac_exeext
42114 if { (ac_try="$ac_link"
42115 case "(($ac_try" in
42116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42117 *) ac_try_echo=$ac_try;;
42119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42120 (eval "$ac_link") 2>conftest.er1
42122 grep -v '^ *+' conftest.er1 >conftest.err
42124 cat conftest.err >&5
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); } && {
42127 test -z "$ac_c_werror_flag" ||
42128 test ! -s conftest.err
42129 } && test -s conftest$ac_exeext &&
42130 $as_test_x conftest$ac_exeext; then
42131 ac_cv_func_gmtime_r=yes
42133 echo "$as_me: failed program was:" >&5
42134 sed 's/^/| /' conftest.$ac_ext >&5
42136 ac_cv_func_gmtime_r=no
42139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42140 conftest$ac_exeext conftest.$ac_ext
42142 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42143 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42144 if test $ac_cv_func_gmtime_r = yes; then
42145 cat >>confdefs.h <<\_ACEOF
42146 #define HAVE_GMTIME_R 1
42155 ac_cpp='$CPP $CPPFLAGS'
42156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42160 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42161 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42163 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42164 echo $ECHO_N "(cached) $ECHO_C" >&6
42168 ################################################################
42170 ac_cv_func_which_gethostbyname_r=unknown
42173 # ONE ARGUMENT (sanity check)
42176 # This should fail, as there is no variant of gethostbyname_r() that takes
42177 # a single argument. If it actually compiles, then we can assume that
42178 # netdb.h is not declaring the function, and the compiler is thereby
42179 # assuming an implicit prototype. In which case, we're out of luck.
42181 cat >conftest.$ac_ext <<_ACEOF
42184 cat confdefs.h >>conftest.$ac_ext
42185 cat >>conftest.$ac_ext <<_ACEOF
42186 /* end confdefs.h. */
42192 char *name = "www.gnu.org";
42193 (void)gethostbyname_r(name) /* ; */
42199 rm -f conftest.$ac_objext
42200 if { (ac_try="$ac_compile"
42201 case "(($ac_try" in
42202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42203 *) ac_try_echo=$ac_try;;
42205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42206 (eval "$ac_compile") 2>conftest.er1
42208 grep -v '^ *+' conftest.er1 >conftest.err
42210 cat conftest.err >&5
42211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42212 (exit $ac_status); } && {
42213 test -z "$ac_c_werror_flag" ||
42214 test ! -s conftest.err
42215 } && test -s conftest.$ac_objext; then
42216 ac_cv_func_which_gethostbyname_r=no
42218 echo "$as_me: failed program was:" >&5
42219 sed 's/^/| /' conftest.$ac_ext >&5
42224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42231 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42233 cat >conftest.$ac_ext <<_ACEOF
42236 cat confdefs.h >>conftest.$ac_ext
42237 cat >>conftest.$ac_ext <<_ACEOF
42238 /* end confdefs.h. */
42244 char *name = "www.gnu.org";
42245 struct hostent ret, *retp;
42249 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42255 rm -f conftest.$ac_objext
42256 if { (ac_try="$ac_compile"
42257 case "(($ac_try" in
42258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42259 *) ac_try_echo=$ac_try;;
42261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42262 (eval "$ac_compile") 2>conftest.er1
42264 grep -v '^ *+' conftest.er1 >conftest.err
42266 cat conftest.err >&5
42267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42268 (exit $ac_status); } && {
42269 test -z "$ac_c_werror_flag" ||
42270 test ! -s conftest.err
42271 } && test -s conftest.$ac_objext; then
42272 ac_cv_func_which_gethostbyname_r=six
42274 echo "$as_me: failed program was:" >&5
42275 sed 's/^/| /' conftest.$ac_ext >&5
42280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42289 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42291 cat >conftest.$ac_ext <<_ACEOF
42294 cat confdefs.h >>conftest.$ac_ext
42295 cat >>conftest.$ac_ext <<_ACEOF
42296 /* end confdefs.h. */
42302 char *name = "www.gnu.org";
42303 struct hostent ret;
42307 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42313 rm -f conftest.$ac_objext
42314 if { (ac_try="$ac_compile"
42315 case "(($ac_try" in
42316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42317 *) ac_try_echo=$ac_try;;
42319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42320 (eval "$ac_compile") 2>conftest.er1
42322 grep -v '^ *+' conftest.er1 >conftest.err
42324 cat conftest.err >&5
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); } && {
42327 test -z "$ac_c_werror_flag" ||
42328 test ! -s conftest.err
42329 } && test -s conftest.$ac_objext; then
42330 ac_cv_func_which_gethostbyname_r=five
42332 echo "$as_me: failed program was:" >&5
42333 sed 's/^/| /' conftest.$ac_ext >&5
42338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42344 # (e.g. AIX, HP-UX, Tru64)
42347 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42349 cat >conftest.$ac_ext <<_ACEOF
42352 cat confdefs.h >>conftest.$ac_ext
42353 cat >>conftest.$ac_ext <<_ACEOF
42354 /* end confdefs.h. */
42360 char *name = "www.gnu.org";
42361 struct hostent ret;
42362 struct hostent_data data;
42363 (void)gethostbyname_r(name, &ret, &data) /* ; */
42369 rm -f conftest.$ac_objext
42370 if { (ac_try="$ac_compile"
42371 case "(($ac_try" in
42372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42373 *) ac_try_echo=$ac_try;;
42375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42376 (eval "$ac_compile") 2>conftest.er1
42378 grep -v '^ *+' conftest.er1 >conftest.err
42380 cat conftest.err >&5
42381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42382 (exit $ac_status); } && {
42383 test -z "$ac_c_werror_flag" ||
42384 test ! -s conftest.err
42385 } && test -s conftest.$ac_objext; then
42386 ac_cv_func_which_gethostbyname_r=three
42388 echo "$as_me: failed program was:" >&5
42389 sed 's/^/| /' conftest.$ac_ext >&5
42394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42398 ################################################################
42403 case "$ac_cv_func_which_gethostbyname_r" in
42405 { echo "$as_me:$LINENO: result: three" >&5
42406 echo "${ECHO_T}three" >&6; }
42407 cat >>confdefs.h <<\_ACEOF
42408 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42414 { echo "$as_me:$LINENO: result: five" >&5
42415 echo "${ECHO_T}five" >&6; }
42416 cat >>confdefs.h <<\_ACEOF
42417 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42423 { echo "$as_me:$LINENO: result: six" >&5
42424 echo "${ECHO_T}six" >&6; }
42425 cat >>confdefs.h <<\_ACEOF
42426 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42432 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42433 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42437 { echo "$as_me:$LINENO: result: can't tell" >&5
42438 echo "${ECHO_T}can't tell" >&6; }
42442 { { echo "$as_me:$LINENO: error: internal error" >&5
42443 echo "$as_me: error: internal error" >&2;}
42444 { (exit 1); exit 1; }; }
42449 ac_cpp='$CPP $CPPFLAGS'
42450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42456 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42457 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42458 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42459 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42460 if test "${ac_cv_func_gethostbyname+set}" = set; then
42461 echo $ECHO_N "(cached) $ECHO_C" >&6
42463 cat >conftest.$ac_ext <<_ACEOF
42466 cat confdefs.h >>conftest.$ac_ext
42467 cat >>conftest.$ac_ext <<_ACEOF
42468 /* end confdefs.h. */
42469 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42471 #define gethostbyname innocuous_gethostbyname
42473 /* System header to define __stub macros and hopefully few prototypes,
42474 which can conflict with char gethostbyname (); below.
42475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42476 <limits.h> exists even on freestanding compilers. */
42479 # include <limits.h>
42481 # include <assert.h>
42484 #undef gethostbyname
42486 /* Override any GCC internal prototype to avoid an error.
42487 Use char because int might match the return type of a GCC
42488 builtin and then its argument prototype would still apply. */
42492 char gethostbyname ();
42493 /* The GNU C library defines this for functions which it implements
42494 to always fail with ENOSYS. Some functions are actually named
42495 something starting with __ and the normal name is an alias. */
42496 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42503 return gethostbyname ();
42508 rm -f conftest.$ac_objext conftest$ac_exeext
42509 if { (ac_try="$ac_link"
42510 case "(($ac_try" in
42511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42512 *) ac_try_echo=$ac_try;;
42514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42515 (eval "$ac_link") 2>conftest.er1
42517 grep -v '^ *+' conftest.er1 >conftest.err
42519 cat conftest.err >&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); } && {
42522 test -z "$ac_c_werror_flag" ||
42523 test ! -s conftest.err
42524 } && test -s conftest$ac_exeext &&
42525 $as_test_x conftest$ac_exeext; then
42526 ac_cv_func_gethostbyname=yes
42528 echo "$as_me: failed program was:" >&5
42529 sed 's/^/| /' conftest.$ac_ext >&5
42531 ac_cv_func_gethostbyname=no
42534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42535 conftest$ac_exeext conftest.$ac_ext
42537 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42538 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42539 if test $ac_cv_func_gethostbyname = yes; then
42540 cat >>confdefs.h <<\_ACEOF
42541 #define HAVE_GETHOSTBYNAME 1
42548 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42549 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42550 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42551 echo $ECHO_N "(cached) $ECHO_C" >&6
42555 ac_cpp='$CXXCPP $CPPFLAGS'
42556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42561 cat >conftest.$ac_ext <<_ACEOF
42564 cat confdefs.h >>conftest.$ac_ext
42565 cat >>conftest.$ac_ext <<_ACEOF
42566 /* end confdefs.h. */
42574 struct servent *se, *res;
42577 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42583 rm -f conftest.$ac_objext
42584 if { (ac_try="$ac_compile"
42585 case "(($ac_try" in
42586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42587 *) ac_try_echo=$ac_try;;
42589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42590 (eval "$ac_compile") 2>conftest.er1
42592 grep -v '^ *+' conftest.er1 >conftest.err
42594 cat conftest.err >&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); } && {
42597 test -z "$ac_cxx_werror_flag" ||
42598 test ! -s conftest.err
42599 } && test -s conftest.$ac_objext; then
42600 ac_cv_func_which_getservbyname_r=six
42602 echo "$as_me: failed program was:" >&5
42603 sed 's/^/| /' conftest.$ac_ext >&5
42606 cat >conftest.$ac_ext <<_ACEOF
42609 cat confdefs.h >>conftest.$ac_ext
42610 cat >>conftest.$ac_ext <<_ACEOF
42611 /* end confdefs.h. */
42619 struct servent *se;
42622 (void) getservbyname_r(name, proto, se, buffer, buflen)
42628 rm -f conftest.$ac_objext
42629 if { (ac_try="$ac_compile"
42630 case "(($ac_try" in
42631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42632 *) ac_try_echo=$ac_try;;
42634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42635 (eval "$ac_compile") 2>conftest.er1
42637 grep -v '^ *+' conftest.er1 >conftest.err
42639 cat conftest.err >&5
42640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42641 (exit $ac_status); } && {
42642 test -z "$ac_cxx_werror_flag" ||
42643 test ! -s conftest.err
42644 } && test -s conftest.$ac_objext; then
42645 ac_cv_func_which_getservbyname_r=five
42647 echo "$as_me: failed program was:" >&5
42648 sed 's/^/| /' conftest.$ac_ext >&5
42651 cat >conftest.$ac_ext <<_ACEOF
42654 cat confdefs.h >>conftest.$ac_ext
42655 cat >>conftest.$ac_ext <<_ACEOF
42656 /* end confdefs.h. */
42664 struct servent *se;
42665 struct servent_data data;
42666 (void) getservbyname_r(name, proto, se, &data);
42672 rm -f conftest.$ac_objext
42673 if { (ac_try="$ac_compile"
42674 case "(($ac_try" in
42675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42676 *) ac_try_echo=$ac_try;;
42678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42679 (eval "$ac_compile") 2>conftest.er1
42681 grep -v '^ *+' conftest.er1 >conftest.err
42683 cat conftest.err >&5
42684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42685 (exit $ac_status); } && {
42686 test -z "$ac_cxx_werror_flag" ||
42687 test ! -s conftest.err
42688 } && test -s conftest.$ac_objext; then
42689 ac_cv_func_which_getservbyname_r=four
42691 echo "$as_me: failed program was:" >&5
42692 sed 's/^/| /' conftest.$ac_ext >&5
42694 ac_cv_func_which_getservbyname_r=no
42698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710 ac_cpp='$CPP $CPPFLAGS'
42711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42718 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42719 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42721 if test $ac_cv_func_which_getservbyname_r = six; then
42722 cat >>confdefs.h <<\_ACEOF
42723 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42726 elif test $ac_cv_func_which_getservbyname_r = five; then
42727 cat >>confdefs.h <<\_ACEOF
42728 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42731 elif test $ac_cv_func_which_getservbyname_r = four; then
42732 cat >>confdefs.h <<\_ACEOF
42733 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42739 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42740 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42742 for ac_func in getservbyname
42744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42745 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42747 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42748 echo $ECHO_N "(cached) $ECHO_C" >&6
42750 cat >conftest.$ac_ext <<_ACEOF
42753 cat confdefs.h >>conftest.$ac_ext
42754 cat >>conftest.$ac_ext <<_ACEOF
42755 /* end confdefs.h. */
42756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42758 #define $ac_func innocuous_$ac_func
42760 /* System header to define __stub macros and hopefully few prototypes,
42761 which can conflict with char $ac_func (); below.
42762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42763 <limits.h> exists even on freestanding compilers. */
42766 # include <limits.h>
42768 # include <assert.h>
42773 /* Override any GCC internal prototype to avoid an error.
42774 Use char because int might match the return type of a GCC
42775 builtin and then its argument prototype would still apply. */
42780 /* The GNU C library defines this for functions which it implements
42781 to always fail with ENOSYS. Some functions are actually named
42782 something starting with __ and the normal name is an alias. */
42783 #if defined __stub_$ac_func || defined __stub___$ac_func
42790 return $ac_func ();
42795 rm -f conftest.$ac_objext conftest$ac_exeext
42796 if { (ac_try="$ac_link"
42797 case "(($ac_try" in
42798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42799 *) ac_try_echo=$ac_try;;
42801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42802 (eval "$ac_link") 2>conftest.er1
42804 grep -v '^ *+' conftest.er1 >conftest.err
42806 cat conftest.err >&5
42807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42808 (exit $ac_status); } && {
42809 test -z "$ac_c_werror_flag" ||
42810 test ! -s conftest.err
42811 } && test -s conftest$ac_exeext &&
42812 $as_test_x conftest$ac_exeext; then
42813 eval "$as_ac_var=yes"
42815 echo "$as_me: failed program was:" >&5
42816 sed 's/^/| /' conftest.$ac_ext >&5
42818 eval "$as_ac_var=no"
42821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42822 conftest$ac_exeext conftest.$ac_ext
42824 ac_res=`eval echo '${'$as_ac_var'}'`
42825 { echo "$as_me:$LINENO: result: $ac_res" >&5
42826 echo "${ECHO_T}$ac_res" >&6; }
42827 if test `eval echo '${'$as_ac_var'}'` = yes; then
42828 cat >>confdefs.h <<_ACEOF
42829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42831 cat >>confdefs.h <<\_ACEOF
42832 #define HAVE_GETSERVBYNAME 1
42840 if test "$wxUSE_THREADS" = "yes"; then
42841 cat >>confdefs.h <<\_ACEOF
42842 #define wxUSE_THREADS 1
42846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42848 if test "$wx_cv_func_strtok_r" = "yes"; then
42849 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42850 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42851 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42852 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42853 { echo "$as_me:$LINENO: result: yes" >&5
42854 echo "${ECHO_T}yes" >&6; }
42856 { echo "$as_me:$LINENO: result: no" >&5
42857 echo "${ECHO_T}no" >&6; }
42862 if test "$WXGTK2" = 1 ; then
42863 cat >>confdefs.h <<_ACEOF
42864 #define __WXGTK20__ $WXGTK2
42870 if test "$WXGTK12" = 1 ; then
42871 cat >>confdefs.h <<_ACEOF
42872 #define __WXGTK12__ $WXGTK12
42877 if test "$WXGTK127" = 1 ; then
42878 cat >>confdefs.h <<_ACEOF
42879 #define __WXGTK127__ $WXGTK127
42884 if test "$WXGPE" = 1 ; then
42885 cat >>confdefs.h <<_ACEOF
42886 #define __WXGPE__ $WXGPE
42892 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42893 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42894 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42895 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42899 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42900 wxUSE_DEBUG_INFO=yes
42901 if test "$GCC" = yes; then
42902 DEBUG_CFLAGS="-ggdb"
42906 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42907 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42909 if test "$wxUSE_GTK" = 1 ; then
42910 if test "x$wxGTK_VERSION" = "x1" ; then
42911 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42916 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42917 cat >>confdefs.h <<\_ACEOF
42918 #define wxUSE_MEMORY_TRACING 1
42921 cat >>confdefs.h <<\_ACEOF
42922 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42925 cat >>confdefs.h <<\_ACEOF
42926 #define wxUSE_DEBUG_NEW_ALWAYS 1
42929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42932 if test "$wxUSE_DMALLOC" = "yes" ; then
42933 DMALLOC_LIBS="-ldmallocthcxx"
42937 if test "$wxUSE_PROFILE" = "yes" ; then
42938 PROFILE_FLAGS=" -pg"
42941 if test "$GCC" = "yes" ; then
42942 if test "$wxUSE_NO_RTTI" = "yes" ; then
42943 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42945 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42946 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42948 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42949 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42954 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42957 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42963 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42964 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42965 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42967 if test "$wxUSE_OPTIMISE" = "no" ; then
42968 if test "$GCC" = yes ; then
42969 OPTIMISE_CFLAGS="-O0"
42972 if test "$GCC" = yes ; then
42974 *-pc-os2_emx | *-pc-os2-emx )
42975 OPTIMISE_CFLAGS="-O2"
42978 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42982 OPTIMISE_CFLAGS="-O"
42988 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42989 cat >>confdefs.h <<\_ACEOF
42990 #define WXWIN_COMPATIBILITY_2_6 1
42994 WXWIN_COMPATIBILITY_2_8="yes"
42997 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42998 cat >>confdefs.h <<\_ACEOF
42999 #define WXWIN_COMPATIBILITY_2_8 1
43005 if test "$wxUSE_GUI" = "yes"; then
43006 cat >>confdefs.h <<\_ACEOF
43007 #define wxUSE_GUI 1
43014 if test "$wxUSE_UNIX" = "yes"; then
43015 cat >>confdefs.h <<\_ACEOF
43016 #define wxUSE_UNIX 1
43022 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43026 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43027 if test "$USE_DOS" = 1; then
43031 for ac_func in dlopen
43033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43034 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43036 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43037 echo $ECHO_N "(cached) $ECHO_C" >&6
43039 cat >conftest.$ac_ext <<_ACEOF
43042 cat confdefs.h >>conftest.$ac_ext
43043 cat >>conftest.$ac_ext <<_ACEOF
43044 /* end confdefs.h. */
43045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43047 #define $ac_func innocuous_$ac_func
43049 /* System header to define __stub macros and hopefully few prototypes,
43050 which can conflict with char $ac_func (); below.
43051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43052 <limits.h> exists even on freestanding compilers. */
43055 # include <limits.h>
43057 # include <assert.h>
43062 /* Override any GCC internal prototype to avoid an error.
43063 Use char because int might match the return type of a GCC
43064 builtin and then its argument prototype would still apply. */
43069 /* The GNU C library defines this for functions which it implements
43070 to always fail with ENOSYS. Some functions are actually named
43071 something starting with __ and the normal name is an alias. */
43072 #if defined __stub_$ac_func || defined __stub___$ac_func
43079 return $ac_func ();
43084 rm -f conftest.$ac_objext conftest$ac_exeext
43085 if { (ac_try="$ac_link"
43086 case "(($ac_try" in
43087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43088 *) ac_try_echo=$ac_try;;
43090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43091 (eval "$ac_link") 2>conftest.er1
43093 grep -v '^ *+' conftest.er1 >conftest.err
43095 cat conftest.err >&5
43096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43097 (exit $ac_status); } && {
43098 test -z "$ac_c_werror_flag" ||
43099 test ! -s conftest.err
43100 } && test -s conftest$ac_exeext &&
43101 $as_test_x conftest$ac_exeext; then
43102 eval "$as_ac_var=yes"
43104 echo "$as_me: failed program was:" >&5
43105 sed 's/^/| /' conftest.$ac_ext >&5
43107 eval "$as_ac_var=no"
43110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43111 conftest$ac_exeext conftest.$ac_ext
43113 ac_res=`eval echo '${'$as_ac_var'}'`
43114 { echo "$as_me:$LINENO: result: $ac_res" >&5
43115 echo "${ECHO_T}$ac_res" >&6; }
43116 if test `eval echo '${'$as_ac_var'}'` = yes; then
43117 cat >>confdefs.h <<_ACEOF
43118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43121 cat >>confdefs.h <<\_ACEOF
43122 #define HAVE_DLOPEN 1
43129 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43130 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43131 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43132 echo $ECHO_N "(cached) $ECHO_C" >&6
43134 ac_check_lib_save_LIBS=$LIBS
43136 cat >conftest.$ac_ext <<_ACEOF
43139 cat confdefs.h >>conftest.$ac_ext
43140 cat >>conftest.$ac_ext <<_ACEOF
43141 /* end confdefs.h. */
43143 /* Override any GCC internal prototype to avoid an error.
43144 Use char because int might match the return type of a GCC
43145 builtin and then its argument prototype would still apply. */
43158 rm -f conftest.$ac_objext conftest$ac_exeext
43159 if { (ac_try="$ac_link"
43160 case "(($ac_try" in
43161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43162 *) ac_try_echo=$ac_try;;
43164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43165 (eval "$ac_link") 2>conftest.er1
43167 grep -v '^ *+' conftest.er1 >conftest.err
43169 cat conftest.err >&5
43170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171 (exit $ac_status); } && {
43172 test -z "$ac_c_werror_flag" ||
43173 test ! -s conftest.err
43174 } && test -s conftest$ac_exeext &&
43175 $as_test_x conftest$ac_exeext; then
43176 ac_cv_lib_dl_dlopen=yes
43178 echo "$as_me: failed program was:" >&5
43179 sed 's/^/| /' conftest.$ac_ext >&5
43181 ac_cv_lib_dl_dlopen=no
43184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43185 conftest$ac_exeext conftest.$ac_ext
43186 LIBS=$ac_check_lib_save_LIBS
43188 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43189 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43190 if test $ac_cv_lib_dl_dlopen = yes; then
43192 cat >>confdefs.h <<\_ACEOF
43193 #define HAVE_DLOPEN 1
43197 DL_LINK=" -ldl$DL_LINK"
43202 for ac_func in shl_load
43204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43207 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43208 echo $ECHO_N "(cached) $ECHO_C" >&6
43210 cat >conftest.$ac_ext <<_ACEOF
43213 cat confdefs.h >>conftest.$ac_ext
43214 cat >>conftest.$ac_ext <<_ACEOF
43215 /* end confdefs.h. */
43216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43218 #define $ac_func innocuous_$ac_func
43220 /* System header to define __stub macros and hopefully few prototypes,
43221 which can conflict with char $ac_func (); below.
43222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43223 <limits.h> exists even on freestanding compilers. */
43226 # include <limits.h>
43228 # include <assert.h>
43233 /* Override any GCC internal prototype to avoid an error.
43234 Use char because int might match the return type of a GCC
43235 builtin and then its argument prototype would still apply. */
43240 /* The GNU C library defines this for functions which it implements
43241 to always fail with ENOSYS. Some functions are actually named
43242 something starting with __ and the normal name is an alias. */
43243 #if defined __stub_$ac_func || defined __stub___$ac_func
43250 return $ac_func ();
43255 rm -f conftest.$ac_objext conftest$ac_exeext
43256 if { (ac_try="$ac_link"
43257 case "(($ac_try" in
43258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43259 *) ac_try_echo=$ac_try;;
43261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43262 (eval "$ac_link") 2>conftest.er1
43264 grep -v '^ *+' conftest.er1 >conftest.err
43266 cat conftest.err >&5
43267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43268 (exit $ac_status); } && {
43269 test -z "$ac_c_werror_flag" ||
43270 test ! -s conftest.err
43271 } && test -s conftest$ac_exeext &&
43272 $as_test_x conftest$ac_exeext; then
43273 eval "$as_ac_var=yes"
43275 echo "$as_me: failed program was:" >&5
43276 sed 's/^/| /' conftest.$ac_ext >&5
43278 eval "$as_ac_var=no"
43281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43282 conftest$ac_exeext conftest.$ac_ext
43284 ac_res=`eval echo '${'$as_ac_var'}'`
43285 { echo "$as_me:$LINENO: result: $ac_res" >&5
43286 echo "${ECHO_T}$ac_res" >&6; }
43287 if test `eval echo '${'$as_ac_var'}'` = yes; then
43288 cat >>confdefs.h <<_ACEOF
43289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43292 cat >>confdefs.h <<\_ACEOF
43293 #define HAVE_SHL_LOAD 1
43300 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43301 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43302 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43303 echo $ECHO_N "(cached) $ECHO_C" >&6
43305 ac_check_lib_save_LIBS=$LIBS
43306 LIBS="-lshl_load $LIBS"
43307 cat >conftest.$ac_ext <<_ACEOF
43310 cat confdefs.h >>conftest.$ac_ext
43311 cat >>conftest.$ac_ext <<_ACEOF
43312 /* end confdefs.h. */
43314 /* Override any GCC internal prototype to avoid an error.
43315 Use char because int might match the return type of a GCC
43316 builtin and then its argument prototype would still apply. */
43329 rm -f conftest.$ac_objext conftest$ac_exeext
43330 if { (ac_try="$ac_link"
43331 case "(($ac_try" in
43332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43333 *) ac_try_echo=$ac_try;;
43335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43336 (eval "$ac_link") 2>conftest.er1
43338 grep -v '^ *+' conftest.er1 >conftest.err
43340 cat conftest.err >&5
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); } && {
43343 test -z "$ac_c_werror_flag" ||
43344 test ! -s conftest.err
43345 } && test -s conftest$ac_exeext &&
43346 $as_test_x conftest$ac_exeext; then
43347 ac_cv_lib_shl_load_dld=yes
43349 echo "$as_me: failed program was:" >&5
43350 sed 's/^/| /' conftest.$ac_ext >&5
43352 ac_cv_lib_shl_load_dld=no
43355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43356 conftest$ac_exeext conftest.$ac_ext
43357 LIBS=$ac_check_lib_save_LIBS
43359 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43360 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43361 if test $ac_cv_lib_shl_load_dld = yes; then
43364 DL_LINK=" -ldld$DL_LINK"
43380 if test "$HAVE_DL_FUNCS" = 1; then
43382 for ac_func in dlerror
43384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43385 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43387 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43388 echo $ECHO_N "(cached) $ECHO_C" >&6
43390 cat >conftest.$ac_ext <<_ACEOF
43393 cat confdefs.h >>conftest.$ac_ext
43394 cat >>conftest.$ac_ext <<_ACEOF
43395 /* end confdefs.h. */
43396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43398 #define $ac_func innocuous_$ac_func
43400 /* System header to define __stub macros and hopefully few prototypes,
43401 which can conflict with char $ac_func (); below.
43402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43403 <limits.h> exists even on freestanding compilers. */
43406 # include <limits.h>
43408 # include <assert.h>
43413 /* Override any GCC internal prototype to avoid an error.
43414 Use char because int might match the return type of a GCC
43415 builtin and then its argument prototype would still apply. */
43420 /* The GNU C library defines this for functions which it implements
43421 to always fail with ENOSYS. Some functions are actually named
43422 something starting with __ and the normal name is an alias. */
43423 #if defined __stub_$ac_func || defined __stub___$ac_func
43430 return $ac_func ();
43435 rm -f conftest.$ac_objext conftest$ac_exeext
43436 if { (ac_try="$ac_link"
43437 case "(($ac_try" in
43438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43439 *) ac_try_echo=$ac_try;;
43441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43442 (eval "$ac_link") 2>conftest.er1
43444 grep -v '^ *+' conftest.er1 >conftest.err
43446 cat conftest.err >&5
43447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43448 (exit $ac_status); } && {
43449 test -z "$ac_c_werror_flag" ||
43450 test ! -s conftest.err
43451 } && test -s conftest$ac_exeext &&
43452 $as_test_x conftest$ac_exeext; then
43453 eval "$as_ac_var=yes"
43455 echo "$as_me: failed program was:" >&5
43456 sed 's/^/| /' conftest.$ac_ext >&5
43458 eval "$as_ac_var=no"
43461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43462 conftest$ac_exeext conftest.$ac_ext
43464 ac_res=`eval echo '${'$as_ac_var'}'`
43465 { echo "$as_me:$LINENO: result: $ac_res" >&5
43466 echo "${ECHO_T}$ac_res" >&6; }
43467 if test `eval echo '${'$as_ac_var'}'` = yes; then
43468 cat >>confdefs.h <<_ACEOF
43469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43471 cat >>confdefs.h <<\_ACEOF
43472 #define HAVE_DLERROR 1
43477 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43478 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43479 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43480 echo $ECHO_N "(cached) $ECHO_C" >&6
43482 ac_check_lib_save_LIBS=$LIBS
43484 cat >conftest.$ac_ext <<_ACEOF
43487 cat confdefs.h >>conftest.$ac_ext
43488 cat >>conftest.$ac_ext <<_ACEOF
43489 /* end confdefs.h. */
43491 /* Override any GCC internal prototype to avoid an error.
43492 Use char because int might match the return type of a GCC
43493 builtin and then its argument prototype would still apply. */
43506 rm -f conftest.$ac_objext conftest$ac_exeext
43507 if { (ac_try="$ac_link"
43508 case "(($ac_try" in
43509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43510 *) ac_try_echo=$ac_try;;
43512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43513 (eval "$ac_link") 2>conftest.er1
43515 grep -v '^ *+' conftest.er1 >conftest.err
43517 cat conftest.err >&5
43518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43519 (exit $ac_status); } && {
43520 test -z "$ac_c_werror_flag" ||
43521 test ! -s conftest.err
43522 } && test -s conftest$ac_exeext &&
43523 $as_test_x conftest$ac_exeext; then
43524 ac_cv_lib_dl_dlerror=yes
43526 echo "$as_me: failed program was:" >&5
43527 sed 's/^/| /' conftest.$ac_ext >&5
43529 ac_cv_lib_dl_dlerror=no
43532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43533 conftest$ac_exeext conftest.$ac_ext
43534 LIBS=$ac_check_lib_save_LIBS
43536 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43537 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43538 if test $ac_cv_lib_dl_dlerror = yes; then
43539 cat >>confdefs.h <<\_ACEOF
43540 #define HAVE_DLERROR 1
43553 if test "$USE_DARWIN" = 1; then
43557 if test "$HAVE_DL_FUNCS" = 0; then
43558 if test "$HAVE_SHL_FUNCS" = 0; then
43559 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43560 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43561 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43562 wxUSE_DYNAMIC_LOADER=no
43563 wxUSE_DYNLIB_CLASS=no
43565 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43566 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43573 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43574 cat >>confdefs.h <<\_ACEOF
43575 #define wxUSE_DYNAMIC_LOADER 1
43579 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43580 cat >>confdefs.h <<\_ACEOF
43581 #define wxUSE_DYNLIB_CLASS 1
43588 if test "$wxUSE_PLUGINS" = "yes" ; then
43589 if test "$wxUSE_SHARED" = "no" ; then
43590 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43591 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43594 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43595 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43596 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43599 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43600 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43601 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43604 if test "$wxUSE_PLUGINS" = "yes" ; then
43605 cat >>confdefs.h <<\_ACEOF
43606 #define wxUSE_PLUGINS 1
43613 if test "$wxUSE_FSWATCHER" = "yes"; then
43614 if test "$wxUSE_MSW" != "1"; then
43615 if test "$wxUSE_UNIX" = "yes"; then
43617 for ac_header in sys/inotify.h
43619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43620 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43622 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43623 echo $ECHO_N "(cached) $ECHO_C" >&6
43625 cat >conftest.$ac_ext <<_ACEOF
43628 cat confdefs.h >>conftest.$ac_ext
43629 cat >>conftest.$ac_ext <<_ACEOF
43630 /* end confdefs.h. */
43631 $ac_includes_default
43633 #include <$ac_header>
43635 rm -f conftest.$ac_objext
43636 if { (ac_try="$ac_compile"
43637 case "(($ac_try" in
43638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43639 *) ac_try_echo=$ac_try;;
43641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43642 (eval "$ac_compile") 2>conftest.er1
43644 grep -v '^ *+' conftest.er1 >conftest.err
43646 cat conftest.err >&5
43647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43648 (exit $ac_status); } && {
43649 test -z "$ac_c_werror_flag" ||
43650 test ! -s conftest.err
43651 } && test -s conftest.$ac_objext; then
43652 eval "$as_ac_Header=yes"
43654 echo "$as_me: failed program was:" >&5
43655 sed 's/^/| /' conftest.$ac_ext >&5
43657 eval "$as_ac_Header=no"
43660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43662 ac_res=`eval echo '${'$as_ac_Header'}'`
43663 { echo "$as_me:$LINENO: result: $ac_res" >&5
43664 echo "${ECHO_T}$ac_res" >&6; }
43665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43666 cat >>confdefs.h <<_ACEOF
43667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43674 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43675 cat >>confdefs.h <<\_ACEOF
43676 #define wxHAS_INOTIFY 1
43681 for ac_header in sys/event.h
43683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43687 echo $ECHO_N "(cached) $ECHO_C" >&6
43689 cat >conftest.$ac_ext <<_ACEOF
43692 cat confdefs.h >>conftest.$ac_ext
43693 cat >>conftest.$ac_ext <<_ACEOF
43694 /* end confdefs.h. */
43695 $ac_includes_default
43697 #include <$ac_header>
43699 rm -f conftest.$ac_objext
43700 if { (ac_try="$ac_compile"
43701 case "(($ac_try" in
43702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43703 *) ac_try_echo=$ac_try;;
43705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43706 (eval "$ac_compile") 2>conftest.er1
43708 grep -v '^ *+' conftest.er1 >conftest.err
43710 cat conftest.err >&5
43711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43712 (exit $ac_status); } && {
43713 test -z "$ac_c_werror_flag" ||
43714 test ! -s conftest.err
43715 } && test -s conftest.$ac_objext; then
43716 eval "$as_ac_Header=yes"
43718 echo "$as_me: failed program was:" >&5
43719 sed 's/^/| /' conftest.$ac_ext >&5
43721 eval "$as_ac_Header=no"
43724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43726 ac_res=`eval echo '${'$as_ac_Header'}'`
43727 { echo "$as_me:$LINENO: result: $ac_res" >&5
43728 echo "${ECHO_T}$ac_res" >&6; }
43729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43730 cat >>confdefs.h <<_ACEOF
43731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43738 if test "$ac_cv_header_sys_event_h" = "yes"; then
43739 cat >>confdefs.h <<\_ACEOF
43740 #define wxHAS_KQUEUE 1
43752 if test "$wxUSE_FSWATCHER" = "yes"; then
43753 cat >>confdefs.h <<\_ACEOF
43754 #define wxUSE_FSWATCHER 1
43757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43759 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43760 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43765 if test "$wxUSE_STL" = "yes"; then
43766 cat >>confdefs.h <<\_ACEOF
43767 #define wxUSE_STL 1
43772 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43773 cat >>confdefs.h <<\_ACEOF
43774 #define wxUSE_EXTENDED_RTTI 1
43779 if test "$wxUSE_ANY" = "yes"; then
43780 cat >>confdefs.h <<\_ACEOF
43781 #define wxUSE_ANY 1
43786 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43787 cat >>confdefs.h <<\_ACEOF
43788 #define wxUSE_APPLE_IEEE 1
43793 if test "$wxUSE_TIMER" = "yes"; then
43794 cat >>confdefs.h <<\_ACEOF
43795 #define wxUSE_TIMER 1
43800 if test "$USE_UNIX" = 1 ; then
43801 if test "$wxUSE_MGL" != 1; then
43802 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43803 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43804 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43805 echo $ECHO_N "(cached) $ECHO_C" >&6
43808 cat >conftest.$ac_ext <<_ACEOF
43811 cat confdefs.h >>conftest.$ac_ext
43812 cat >>conftest.$ac_ext <<_ACEOF
43813 /* end confdefs.h. */
43815 #include <sys/ioctl.h>
43816 #include <sys/soundcard.h>
43822 ioctl(0, SNDCTL_DSP_SPEED, 0);
43828 rm -f conftest.$ac_objext conftest$ac_exeext
43829 if { (ac_try="$ac_link"
43830 case "(($ac_try" in
43831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43832 *) ac_try_echo=$ac_try;;
43834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43835 (eval "$ac_link") 2>conftest.er1
43837 grep -v '^ *+' conftest.er1 >conftest.err
43839 cat conftest.err >&5
43840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43841 (exit $ac_status); } && {
43842 test -z "$ac_c_werror_flag" ||
43843 test ! -s conftest.err
43844 } && test -s conftest$ac_exeext &&
43845 $as_test_x conftest$ac_exeext; then
43846 ac_cv_header_sys_soundcard=yes
43848 echo "$as_me: failed program was:" >&5
43849 sed 's/^/| /' conftest.$ac_ext >&5
43853 LIBS="$saveLibs -lossaudio"
43854 cat >conftest.$ac_ext <<_ACEOF
43857 cat confdefs.h >>conftest.$ac_ext
43858 cat >>conftest.$ac_ext <<_ACEOF
43859 /* end confdefs.h. */
43861 #include <sys/ioctl.h>
43862 #include <sys/soundcard.h>
43868 ioctl(0, SNDCTL_DSP_SPEED, 0);
43874 rm -f conftest.$ac_objext conftest$ac_exeext
43875 if { (ac_try="$ac_link"
43876 case "(($ac_try" in
43877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43878 *) ac_try_echo=$ac_try;;
43880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43881 (eval "$ac_link") 2>conftest.er1
43883 grep -v '^ *+' conftest.er1 >conftest.err
43885 cat conftest.err >&5
43886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43887 (exit $ac_status); } && {
43888 test -z "$ac_c_werror_flag" ||
43889 test ! -s conftest.err
43890 } && test -s conftest$ac_exeext &&
43891 $as_test_x conftest$ac_exeext; then
43892 ac_cv_header_sys_soundcard=yes
43894 echo "$as_me: failed program was:" >&5
43895 sed 's/^/| /' conftest.$ac_ext >&5
43899 ac_cv_header_sys_soundcard=no
43904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43905 conftest$ac_exeext conftest.$ac_ext
43910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43911 conftest$ac_exeext conftest.$ac_ext
43914 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43915 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43918 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43919 cat >>confdefs.h <<\_ACEOF
43920 #define HAVE_SYS_SOUNDCARD_H 1
43927 if test "$wxUSE_SOUND" = "yes"; then
43928 if test "$USE_UNIX" = 1 ; then
43929 if test "$wxUSE_LIBSDL" != "no"; then
43931 # Check whether --with-sdl-prefix was given.
43932 if test "${with_sdl_prefix+set}" = set; then
43933 withval=$with_sdl_prefix; sdl_prefix="$withval"
43939 # Check whether --with-sdl-exec-prefix was given.
43940 if test "${with_sdl_exec_prefix+set}" = set; then
43941 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43946 # Check whether --enable-sdltest was given.
43947 if test "${enable_sdltest+set}" = set; then
43948 enableval=$enable_sdltest;
43954 if test x$sdl_exec_prefix != x ; then
43955 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43956 if test x${SDL_CONFIG+set} != xset ; then
43957 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43960 if test x$sdl_prefix != x ; then
43961 sdl_args="$sdl_args --prefix=$sdl_prefix"
43962 if test x${SDL_CONFIG+set} != xset ; then
43963 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43967 if test "x$prefix" != xNONE; then
43968 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43970 # Extract the first word of "sdl-config", so it can be a program name with args.
43971 set dummy sdl-config; ac_word=$2
43972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43974 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43975 echo $ECHO_N "(cached) $ECHO_C" >&6
43977 case $SDL_CONFIG in
43979 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43983 for as_dir in $PATH
43986 test -z "$as_dir" && as_dir=.
43987 for ac_exec_ext in '' $ac_executable_extensions; do
43988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43989 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43997 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44001 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44002 if test -n "$SDL_CONFIG"; then
44003 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44004 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44006 { echo "$as_me:$LINENO: result: no" >&5
44007 echo "${ECHO_T}no" >&6; }
44011 min_sdl_version=1.2.0
44012 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44013 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44015 if test "$SDL_CONFIG" = "no" ; then
44018 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44019 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44021 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44022 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44023 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44024 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44025 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44027 if test "x$enable_sdltest" = "xyes" ; then
44028 ac_save_CFLAGS="$CFLAGS"
44029 ac_save_CXXFLAGS="$CXXFLAGS"
44030 ac_save_LIBS="$LIBS"
44031 CFLAGS="$CFLAGS $SDL_CFLAGS"
44032 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44033 LIBS="$LIBS $SDL_LIBS"
44035 if test "$cross_compiling" = yes; then
44036 echo $ac_n "cross compiling; assumed OK... $ac_c"
44038 cat >conftest.$ac_ext <<_ACEOF
44041 cat confdefs.h >>conftest.$ac_ext
44042 cat >>conftest.$ac_ext <<_ACEOF
44043 /* end confdefs.h. */
44046 #include <stdlib.h>
44047 #include <string.h>
44051 my_strdup (char *str)
44057 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44058 strcpy (new_str, str);
44066 int main (int argc, char *argv[])
44068 int major, minor, micro;
44071 /* This hangs on some systems (?)
44072 system ("touch conf.sdltest");
44074 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44076 /* HP/UX 9 (%@#!) writes to sscanf strings */
44077 tmp_version = my_strdup("$min_sdl_version");
44078 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44079 printf("%s, bad version string\n", "$min_sdl_version");
44083 if (($sdl_major_version > major) ||
44084 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44085 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44091 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44092 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44093 printf("*** best to upgrade to the required version.\n");
44094 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44095 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44096 printf("*** config.cache before re-running configure\n");
44103 rm -f conftest$ac_exeext
44104 if { (ac_try="$ac_link"
44105 case "(($ac_try" in
44106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44107 *) ac_try_echo=$ac_try;;
44109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44110 (eval "$ac_link") 2>&5
44112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44114 { (case "(($ac_try" in
44115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44116 *) ac_try_echo=$ac_try;;
44118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44119 (eval "$ac_try") 2>&5
44121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44122 (exit $ac_status); }; }; then
44125 echo "$as_me: program exited with status $ac_status" >&5
44126 echo "$as_me: failed program was:" >&5
44127 sed 's/^/| /' conftest.$ac_ext >&5
44129 ( exit $ac_status )
44132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44136 CFLAGS="$ac_save_CFLAGS"
44137 CXXFLAGS="$ac_save_CXXFLAGS"
44138 LIBS="$ac_save_LIBS"
44141 if test "x$no_sdl" = x ; then
44142 { echo "$as_me:$LINENO: result: yes" >&5
44143 echo "${ECHO_T}yes" >&6; }
44145 EXTRALIBS_SDL="$SDL_LIBS"
44146 CFLAGS="$SDL_CFLAGS $CFLAGS"
44147 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44148 cat >>confdefs.h <<\_ACEOF
44149 #define wxUSE_LIBSDL 1
44154 { echo "$as_me:$LINENO: result: no" >&5
44155 echo "${ECHO_T}no" >&6; }
44156 if test "$SDL_CONFIG" = "no" ; then
44157 echo "*** The sdl-config script installed by SDL could not be found"
44158 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44159 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44160 echo "*** full path to sdl-config."
44162 if test -f conf.sdltest ; then
44165 echo "*** Could not run SDL test program, checking why..."
44166 CFLAGS="$CFLAGS $SDL_CFLAGS"
44167 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44168 LIBS="$LIBS $SDL_LIBS"
44169 cat >conftest.$ac_ext <<_ACEOF
44172 cat confdefs.h >>conftest.$ac_ext
44173 cat >>conftest.$ac_ext <<_ACEOF
44174 /* end confdefs.h. */
44179 int main(int argc, char *argv[])
44182 #define main K_and_R_C_main
44192 rm -f conftest.$ac_objext conftest$ac_exeext
44193 if { (ac_try="$ac_link"
44194 case "(($ac_try" in
44195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44196 *) ac_try_echo=$ac_try;;
44198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44199 (eval "$ac_link") 2>conftest.er1
44201 grep -v '^ *+' conftest.er1 >conftest.err
44203 cat conftest.err >&5
44204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44205 (exit $ac_status); } && {
44206 test -z "$ac_c_werror_flag" ||
44207 test ! -s conftest.err
44208 } && test -s conftest$ac_exeext &&
44209 $as_test_x conftest$ac_exeext; then
44210 echo "*** The test program compiled, but did not run. This usually means"
44211 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44212 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44213 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44214 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44215 echo "*** is required on your system"
44217 echo "*** If you have an old version installed, it is best to remove it, although"
44218 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44220 echo "$as_me: failed program was:" >&5
44221 sed 's/^/| /' conftest.$ac_ext >&5
44223 echo "*** The test program failed to compile or link. See the file config.log for the"
44224 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44225 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44226 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44230 conftest$ac_exeext conftest.$ac_ext
44231 CFLAGS="$ac_save_CFLAGS"
44232 CXXFLAGS="$ac_save_CXXFLAGS"
44233 LIBS="$ac_save_LIBS"
44244 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44249 if test "$wxUSE_MGL" = 1; then
44250 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44251 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44257 if test "$wxUSE_SOUND" = "yes"; then
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_SOUND 1
44262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44265 if test "$WXGTK2" = 1; then
44268 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44269 if test -n "$ac_tool_prefix"; then
44270 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44271 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44275 echo $ECHO_N "(cached) $ECHO_C" >&6
44277 case $PKG_CONFIG in
44279 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44283 for as_dir in $PATH
44286 test -z "$as_dir" && as_dir=.
44287 for ac_exec_ext in '' $ac_executable_extensions; do
44288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44289 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44300 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44301 if test -n "$PKG_CONFIG"; then
44302 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44303 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44305 { echo "$as_me:$LINENO: result: no" >&5
44306 echo "${ECHO_T}no" >&6; }
44311 if test -z "$ac_cv_path_PKG_CONFIG"; then
44312 ac_pt_PKG_CONFIG=$PKG_CONFIG
44313 # Extract the first word of "pkg-config", so it can be a program name with args.
44314 set dummy pkg-config; ac_word=$2
44315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44317 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44318 echo $ECHO_N "(cached) $ECHO_C" >&6
44320 case $ac_pt_PKG_CONFIG in
44322 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44326 for as_dir in $PATH
44329 test -z "$as_dir" && as_dir=.
44330 for ac_exec_ext in '' $ac_executable_extensions; do
44331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44332 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44343 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44344 if test -n "$ac_pt_PKG_CONFIG"; then
44345 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44346 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44348 { echo "$as_me:$LINENO: result: no" >&5
44349 echo "${ECHO_T}no" >&6; }
44352 if test "x$ac_pt_PKG_CONFIG" = x; then
44355 case $cross_compiling:$ac_tool_warned in
44357 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44358 whose name does not start with the host triplet. If you think this
44359 configuration is useful to you, please write to autoconf@gnu.org." >&5
44360 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44361 whose name does not start with the host triplet. If you think this
44362 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44363 ac_tool_warned=yes ;;
44365 PKG_CONFIG=$ac_pt_PKG_CONFIG
44368 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44372 if test -n "$PKG_CONFIG"; then
44373 _pkg_min_version=0.9.0
44374 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44375 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44376 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44377 { echo "$as_me:$LINENO: result: yes" >&5
44378 echo "${ECHO_T}yes" >&6; }
44380 { echo "$as_me:$LINENO: result: no" >&5
44381 echo "${ECHO_T}no" >&6; }
44387 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44389 if test "$wxUSE_GTKPRINT" = "yes" ; then
44393 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44394 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44396 if test -n "$PKG_CONFIG"; then
44397 if test -n "$GTKPRINT_CFLAGS"; then
44398 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44400 if test -n "$PKG_CONFIG" && \
44401 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44402 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44405 (exit $ac_status); }; then
44406 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44414 if test -n "$PKG_CONFIG"; then
44415 if test -n "$GTKPRINT_LIBS"; then
44416 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44418 if test -n "$PKG_CONFIG" && \
44419 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44420 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423 (exit $ac_status); }; then
44424 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44435 if test $pkg_failed = yes; then
44437 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44438 _pkg_short_errors_supported=yes
44440 _pkg_short_errors_supported=no
44442 if test $_pkg_short_errors_supported = yes; then
44443 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44445 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44447 # Put the nasty error message in config.log where it belongs
44448 echo "$GTKPRINT_PKG_ERRORS" >&5
44451 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44452 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44453 wxUSE_GTKPRINT="no"
44456 elif test $pkg_failed = untried; then
44458 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44459 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44460 wxUSE_GTKPRINT="no"
44464 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44465 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44466 { echo "$as_me:$LINENO: result: yes" >&5
44467 echo "${ECHO_T}yes" >&6; }
44469 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44470 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44471 cat >>confdefs.h <<\_ACEOF
44472 #define wxUSE_GTKPRINT 1
44479 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44483 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44484 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44486 if test -n "$PKG_CONFIG"; then
44487 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44488 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44490 if test -n "$PKG_CONFIG" && \
44491 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44492 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44495 (exit $ac_status); }; then
44496 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44504 if test -n "$PKG_CONFIG"; then
44505 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44506 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44508 if test -n "$PKG_CONFIG" && \
44509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44510 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44513 (exit $ac_status); }; then
44514 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44525 if test $pkg_failed = yes; then
44527 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44528 _pkg_short_errors_supported=yes
44530 _pkg_short_errors_supported=no
44532 if test $_pkg_short_errors_supported = yes; then
44533 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44535 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44537 # Put the nasty error message in config.log where it belongs
44538 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44541 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44542 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44543 wxUSE_LIBGNOMEPRINT="no"
44546 elif test $pkg_failed = untried; then
44548 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44549 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44550 wxUSE_LIBGNOMEPRINT="no"
44554 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44555 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44556 { echo "$as_me:$LINENO: result: yes" >&5
44557 echo "${ECHO_T}yes" >&6; }
44559 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44560 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44561 cat >>confdefs.h <<\_ACEOF
44562 #define wxUSE_LIBGNOMEPRINT 1
44570 if test "$wxUSE_MIMETYPE" = "yes" ; then
44571 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44575 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44576 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44578 if test -n "$PKG_CONFIG"; then
44579 if test -n "$GNOMEVFS_CFLAGS"; then
44580 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44582 if test -n "$PKG_CONFIG" && \
44583 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44584 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); }; then
44588 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44596 if test -n "$PKG_CONFIG"; then
44597 if test -n "$GNOMEVFS_LIBS"; then
44598 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44600 if test -n "$PKG_CONFIG" && \
44601 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44602 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); }; then
44606 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44617 if test $pkg_failed = yes; then
44619 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44620 _pkg_short_errors_supported=yes
44622 _pkg_short_errors_supported=no
44624 if test $_pkg_short_errors_supported = yes; then
44625 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44627 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44629 # Put the nasty error message in config.log where it belongs
44630 echo "$GNOMEVFS_PKG_ERRORS" >&5
44633 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44634 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44635 wxUSE_LIBGNOMEVFS="no"
44638 elif test $pkg_failed = untried; then
44640 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44641 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44642 wxUSE_LIBGNOMEVFS="no"
44646 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44647 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44648 { echo "$as_me:$LINENO: result: yes" >&5
44649 echo "${ECHO_T}yes" >&6; }
44651 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44652 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44653 cat >>confdefs.h <<\_ACEOF
44654 #define wxUSE_LIBGNOMEVFS 1
44662 if test "$wxUSE_LIBHILDON" = "yes" ; then
44665 { echo "$as_me:$LINENO: checking for HILDON" >&5
44666 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44668 if test -n "$PKG_CONFIG"; then
44669 if test -n "$HILDON_CFLAGS"; then
44670 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44672 if test -n "$PKG_CONFIG" && \
44673 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44674 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); }; then
44678 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44686 if test -n "$PKG_CONFIG"; then
44687 if test -n "$HILDON_LIBS"; then
44688 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44690 if test -n "$PKG_CONFIG" && \
44691 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44692 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44695 (exit $ac_status); }; then
44696 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44707 if test $pkg_failed = yes; then
44709 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44710 _pkg_short_errors_supported=yes
44712 _pkg_short_errors_supported=no
44714 if test $_pkg_short_errors_supported = yes; then
44715 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44717 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44719 # Put the nasty error message in config.log where it belongs
44720 echo "$HILDON_PKG_ERRORS" >&5
44723 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44724 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44725 wxUSE_LIBHILDON="no"
44729 elif test $pkg_failed = untried; then
44731 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44732 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44733 wxUSE_LIBHILDON="no"
44738 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44739 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44740 { echo "$as_me:$LINENO: result: yes" >&5
44741 echo "${ECHO_T}yes" >&6; }
44743 EXTRALIBS_HILDON="$HILDON_LIBS"
44744 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44745 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44746 cat >>confdefs.h <<\_ACEOF
44747 #define wxUSE_LIBHILDON 1
44754 if test "$ac_hildon_lgpl" = 0 ; then
44757 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44758 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44760 if test -n "$PKG_CONFIG"; then
44761 if test -n "$HILDON2_CFLAGS"; then
44762 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44764 if test -n "$PKG_CONFIG" && \
44765 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44766 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44769 (exit $ac_status); }; then
44770 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44778 if test -n "$PKG_CONFIG"; then
44779 if test -n "$HILDON2_LIBS"; then
44780 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44782 if test -n "$PKG_CONFIG" && \
44783 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44784 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44787 (exit $ac_status); }; then
44788 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44799 if test $pkg_failed = yes; then
44801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44802 _pkg_short_errors_supported=yes
44804 _pkg_short_errors_supported=no
44806 if test $_pkg_short_errors_supported = yes; then
44807 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44809 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44811 # Put the nasty error message in config.log where it belongs
44812 echo "$HILDON2_PKG_ERRORS" >&5
44815 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44816 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44817 wxUSE_LIBHILDON2="no"
44820 elif test $pkg_failed = untried; then
44822 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44823 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44824 wxUSE_LIBHILDON2="no"
44828 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44829 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44830 { echo "$as_me:$LINENO: result: yes" >&5
44831 echo "${ECHO_T}yes" >&6; }
44833 EXTRALIBS_HILDON="$HILDON2_LIBS"
44834 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44835 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44836 cat >>confdefs.h <<\_ACEOF
44837 #define wxUSE_LIBHILDON2 1
44846 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_CMDLINE_PARSER 1
44853 if test "$wxUSE_STOPWATCH" = "yes"; then
44854 cat >>confdefs.h <<\_ACEOF
44855 #define wxUSE_STOPWATCH 1
44860 if test "$wxUSE_DATETIME" = "yes"; then
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_DATETIME 1
44867 if test "$wxUSE_FILE" = "yes"; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_FILE 1
44874 if test "$wxUSE_FFILE" = "yes"; then
44875 cat >>confdefs.h <<\_ACEOF
44876 #define wxUSE_FFILE 1
44881 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44882 if test "$wxUSE_STREAMS" != yes; then
44883 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44884 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44885 wxUSE_ARCHIVE_STREAMS=no
44887 cat >>confdefs.h <<\_ACEOF
44888 #define wxUSE_ARCHIVE_STREAMS 1
44894 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44895 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44896 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44897 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44898 elif test "$wxUSE_ZLIB" = "no"; then
44899 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44900 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_ZIPSTREAM 1
44909 if test "$wxUSE_TARSTREAM" = "yes"; then
44910 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44911 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44912 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44914 cat >>confdefs.h <<\_ACEOF
44915 #define wxUSE_TARSTREAM 1
44921 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44922 cat >>confdefs.h <<\_ACEOF
44923 #define wxUSE_FILE_HISTORY 1
44928 if test "$wxUSE_FILESYSTEM" = "yes"; then
44929 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44930 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44931 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44932 wxUSE_FILESYSTEM=no
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_FILESYSTEM 1
44941 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44942 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44943 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44944 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_FS_ARCHIVE 1
44953 if test "$wxUSE_FS_ZIP" = "yes"; then
44954 if test "$wxUSE_FS_ARCHIVE" != yes; then
44955 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44956 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44958 cat >>confdefs.h <<\_ACEOF
44959 #define wxUSE_FS_ZIP 1
44965 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44966 if test "$USE_UNIX" != 1; then
44967 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44968 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44969 wxUSE_ON_FATAL_EXCEPTION=no
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_ON_FATAL_EXCEPTION 1
44978 if test "$wxUSE_STACKWALKER" = "yes"; then
44979 cat >>confdefs.h <<\_ACEOF
44980 #define wxUSE_STACKWALKER 1
44985 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44986 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44987 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44988 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44989 wxUSE_DEBUGREPORT=no
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_DEBUGREPORT 1
44995 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45001 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45002 cat >>confdefs.h <<\_ACEOF
45003 #define wxUSE_SNGLINST_CHECKER 1
45008 if test "$wxUSE_BUSYINFO" = "yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_BUSYINFO 1
45015 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_STD_CONTAINERS 1
45022 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_STD_IOSTREAM 1
45029 if test "$wxUSE_STD_STRING" = "yes"; then
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_STD_STRING 1
45036 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45037 cat >>confdefs.h <<\_ACEOF
45038 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45043 if test "$wxUSE_STDPATHS" = "yes"; then
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_STDPATHS 1
45050 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_TEXTBUFFER 1
45057 if test "$wxUSE_TEXTFILE" = "yes"; then
45058 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45059 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45060 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_TEXTFILE 1
45069 if test "$wxUSE_CONFIG" = "yes" ; then
45070 if test "$wxUSE_TEXTFILE" != "yes"; then
45071 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45072 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_CONFIG 1
45078 cat >>confdefs.h <<\_ACEOF
45079 #define wxUSE_CONFIG_NATIVE 1
45082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45086 if test "$wxUSE_INTL" = "yes" ; then
45087 if test "$wxUSE_FILE" != "yes"; then
45088 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45089 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_INTL 1
45095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45096 GUIDIST="$GUIDIST INTL_DIST"
45100 if test "$wxUSE_XLOCALE" = "yes" ; then
45101 cat >>confdefs.h <<\_ACEOF
45102 #define wxUSE_XLOCALE 1
45105 { echo "$as_me:$LINENO: checking for locale_t" >&5
45106 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45107 if test "${ac_cv_type_locale_t+set}" = set; then
45108 echo $ECHO_N "(cached) $ECHO_C" >&6
45110 cat >conftest.$ac_ext <<_ACEOF
45113 cat confdefs.h >>conftest.$ac_ext
45114 cat >>conftest.$ac_ext <<_ACEOF
45115 /* end confdefs.h. */
45116 #include <xlocale.h>
45117 #include <locale.h>
45119 typedef locale_t ac__type_new_;
45123 if ((ac__type_new_ *) 0)
45125 if (sizeof (ac__type_new_))
45131 rm -f conftest.$ac_objext
45132 if { (ac_try="$ac_compile"
45133 case "(($ac_try" in
45134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45135 *) ac_try_echo=$ac_try;;
45137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45138 (eval "$ac_compile") 2>conftest.er1
45140 grep -v '^ *+' conftest.er1 >conftest.err
45142 cat conftest.err >&5
45143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45144 (exit $ac_status); } && {
45145 test -z "$ac_c_werror_flag" ||
45146 test ! -s conftest.err
45147 } && test -s conftest.$ac_objext; then
45148 ac_cv_type_locale_t=yes
45150 echo "$as_me: failed program was:" >&5
45151 sed 's/^/| /' conftest.$ac_ext >&5
45153 ac_cv_type_locale_t=no
45156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45158 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45159 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45160 if test $ac_cv_type_locale_t = yes; then
45162 cat >>confdefs.h <<_ACEOF
45163 #define HAVE_LOCALE_T 1
45171 if test "$wxUSE_LOG" = "yes"; then
45172 cat >>confdefs.h <<\_ACEOF
45173 #define wxUSE_LOG 1
45177 if test "$wxUSE_LOGGUI" = "yes"; then
45178 cat >>confdefs.h <<\_ACEOF
45179 #define wxUSE_LOGGUI 1
45184 if test "$wxUSE_LOGWINDOW" = "yes"; then
45185 cat >>confdefs.h <<\_ACEOF
45186 #define wxUSE_LOGWINDOW 1
45191 if test "$wxUSE_LOGDIALOG" = "yes"; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_LOG_DIALOG 1
45198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45201 if test "$wxUSE_LONGLONG" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_LONGLONG 1
45208 if test "$wxUSE_GEOMETRY" = "yes"; then
45209 cat >>confdefs.h <<\_ACEOF
45210 #define wxUSE_GEOMETRY 1
45215 if test "$wxUSE_BASE64" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_BASE64 1
45222 if test "$wxUSE_STREAMS" = "yes" ; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_STREAMS 1
45229 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45230 cat >>confdefs.h <<\_ACEOF
45231 #define wxUSE_PRINTF_POS_PARAMS 1
45236 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_OBJC_UNIQUIFYING 1
45244 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_CONSOLE_EVENTLOOP 1
45250 if test "$wxUSE_UNIX" = "yes"; then
45251 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45252 cat >>confdefs.h <<\_ACEOF
45253 #define wxUSE_SELECT_DISPATCHER 1
45258 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45260 for ac_header in sys/epoll.h
45262 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45263 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45265 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45266 echo $ECHO_N "(cached) $ECHO_C" >&6
45268 cat >conftest.$ac_ext <<_ACEOF
45271 cat confdefs.h >>conftest.$ac_ext
45272 cat >>conftest.$ac_ext <<_ACEOF
45273 /* end confdefs.h. */
45274 $ac_includes_default
45276 #include <$ac_header>
45278 rm -f conftest.$ac_objext
45279 if { (ac_try="$ac_compile"
45280 case "(($ac_try" in
45281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45282 *) ac_try_echo=$ac_try;;
45284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45285 (eval "$ac_compile") 2>conftest.er1
45287 grep -v '^ *+' conftest.er1 >conftest.err
45289 cat conftest.err >&5
45290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45291 (exit $ac_status); } && {
45292 test -z "$ac_c_werror_flag" ||
45293 test ! -s conftest.err
45294 } && test -s conftest.$ac_objext; then
45295 eval "$as_ac_Header=yes"
45297 echo "$as_me: failed program was:" >&5
45298 sed 's/^/| /' conftest.$ac_ext >&5
45300 eval "$as_ac_Header=no"
45303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45305 ac_res=`eval echo '${'$as_ac_Header'}'`
45306 { echo "$as_me:$LINENO: result: $ac_res" >&5
45307 echo "${ECHO_T}$ac_res" >&6; }
45308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45309 cat >>confdefs.h <<_ACEOF
45310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45317 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45318 cat >>confdefs.h <<\_ACEOF
45319 #define wxUSE_EPOLL_DISPATCHER 1
45323 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45324 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45333 for ac_func in gettimeofday ftime
45335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45339 echo $ECHO_N "(cached) $ECHO_C" >&6
45341 cat >conftest.$ac_ext <<_ACEOF
45344 cat confdefs.h >>conftest.$ac_ext
45345 cat >>conftest.$ac_ext <<_ACEOF
45346 /* end confdefs.h. */
45347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45349 #define $ac_func innocuous_$ac_func
45351 /* System header to define __stub macros and hopefully few prototypes,
45352 which can conflict with char $ac_func (); below.
45353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45354 <limits.h> exists even on freestanding compilers. */
45357 # include <limits.h>
45359 # include <assert.h>
45364 /* Override any GCC internal prototype to avoid an error.
45365 Use char because int might match the return type of a GCC
45366 builtin and then its argument prototype would still apply. */
45371 /* The GNU C library defines this for functions which it implements
45372 to always fail with ENOSYS. Some functions are actually named
45373 something starting with __ and the normal name is an alias. */
45374 #if defined __stub_$ac_func || defined __stub___$ac_func
45381 return $ac_func ();
45386 rm -f conftest.$ac_objext conftest$ac_exeext
45387 if { (ac_try="$ac_link"
45388 case "(($ac_try" in
45389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45390 *) ac_try_echo=$ac_try;;
45392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45393 (eval "$ac_link") 2>conftest.er1
45395 grep -v '^ *+' conftest.er1 >conftest.err
45397 cat conftest.err >&5
45398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399 (exit $ac_status); } && {
45400 test -z "$ac_c_werror_flag" ||
45401 test ! -s conftest.err
45402 } && test -s conftest$ac_exeext &&
45403 $as_test_x conftest$ac_exeext; then
45404 eval "$as_ac_var=yes"
45406 echo "$as_me: failed program was:" >&5
45407 sed 's/^/| /' conftest.$ac_ext >&5
45409 eval "$as_ac_var=no"
45412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45413 conftest$ac_exeext conftest.$ac_ext
45415 ac_res=`eval echo '${'$as_ac_var'}'`
45416 { echo "$as_me:$LINENO: result: $ac_res" >&5
45417 echo "${ECHO_T}$ac_res" >&6; }
45418 if test `eval echo '${'$as_ac_var'}'` = yes; then
45419 cat >>confdefs.h <<_ACEOF
45420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45427 if test "$ac_cv_func_gettimeofday" = "yes"; then
45428 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45429 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45430 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45431 echo $ECHO_N "(cached) $ECHO_C" >&6
45434 cat >conftest.$ac_ext <<_ACEOF
45437 cat confdefs.h >>conftest.$ac_ext
45438 cat >>conftest.$ac_ext <<_ACEOF
45439 /* end confdefs.h. */
45441 #include <sys/time.h>
45442 #include <unistd.h>
45449 gettimeofday(&tv, NULL);
45455 rm -f conftest.$ac_objext
45456 if { (ac_try="$ac_compile"
45457 case "(($ac_try" in
45458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45459 *) ac_try_echo=$ac_try;;
45461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45462 (eval "$ac_compile") 2>conftest.er1
45464 grep -v '^ *+' conftest.er1 >conftest.err
45466 cat conftest.err >&5
45467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45468 (exit $ac_status); } && {
45469 test -z "$ac_c_werror_flag" ||
45470 test ! -s conftest.err
45471 } && test -s conftest.$ac_objext; then
45472 wx_cv_func_gettimeofday_has_2_args=yes
45474 echo "$as_me: failed program was:" >&5
45475 sed 's/^/| /' conftest.$ac_ext >&5
45477 cat >conftest.$ac_ext <<_ACEOF
45480 cat confdefs.h >>conftest.$ac_ext
45481 cat >>conftest.$ac_ext <<_ACEOF
45482 /* end confdefs.h. */
45484 #include <sys/time.h>
45485 #include <unistd.h>
45498 rm -f conftest.$ac_objext
45499 if { (ac_try="$ac_compile"
45500 case "(($ac_try" in
45501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45502 *) ac_try_echo=$ac_try;;
45504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45505 (eval "$ac_compile") 2>conftest.er1
45507 grep -v '^ *+' conftest.er1 >conftest.err
45509 cat conftest.err >&5
45510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45511 (exit $ac_status); } && {
45512 test -z "$ac_c_werror_flag" ||
45513 test ! -s conftest.err
45514 } && test -s conftest.$ac_objext; then
45515 wx_cv_func_gettimeofday_has_2_args=no
45517 echo "$as_me: failed program was:" >&5
45518 sed 's/^/| /' conftest.$ac_ext >&5
45521 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45522 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45523 wx_cv_func_gettimeofday_has_2_args=unknown
45528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45535 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45536 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45538 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define WX_GETTIMEOFDAY_NO_TZ 1
45546 if test "$wxUSE_DATETIME" = "yes"; then
45547 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45548 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45549 if test "${wx_cv_var_timezone+set}" = set; then
45550 echo $ECHO_N "(cached) $ECHO_C" >&6
45554 ac_cpp='$CXXCPP $CPPFLAGS'
45555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45559 cat >conftest.$ac_ext <<_ACEOF
45562 cat confdefs.h >>conftest.$ac_ext
45563 cat >>conftest.$ac_ext <<_ACEOF
45564 /* end confdefs.h. */
45579 rm -f conftest.$ac_objext
45580 if { (ac_try="$ac_compile"
45581 case "(($ac_try" in
45582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45583 *) ac_try_echo=$ac_try;;
45585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45586 (eval "$ac_compile") 2>conftest.er1
45588 grep -v '^ *+' conftest.er1 >conftest.err
45590 cat conftest.err >&5
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); } && {
45593 test -z "$ac_cxx_werror_flag" ||
45594 test ! -s conftest.err
45595 } && test -s conftest.$ac_objext; then
45597 wx_cv_var_timezone=timezone
45600 echo "$as_me: failed program was:" >&5
45601 sed 's/^/| /' conftest.$ac_ext >&5
45604 cat >conftest.$ac_ext <<_ACEOF
45607 cat confdefs.h >>conftest.$ac_ext
45608 cat >>conftest.$ac_ext <<_ACEOF
45609 /* end confdefs.h. */
45624 rm -f conftest.$ac_objext
45625 if { (ac_try="$ac_compile"
45626 case "(($ac_try" in
45627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45628 *) ac_try_echo=$ac_try;;
45630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45631 (eval "$ac_compile") 2>conftest.er1
45633 grep -v '^ *+' conftest.er1 >conftest.err
45635 cat conftest.err >&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); } && {
45638 test -z "$ac_cxx_werror_flag" ||
45639 test ! -s conftest.err
45640 } && test -s conftest.$ac_objext; then
45642 wx_cv_var_timezone=_timezone
45645 echo "$as_me: failed program was:" >&5
45646 sed 's/^/| /' conftest.$ac_ext >&5
45649 cat >conftest.$ac_ext <<_ACEOF
45652 cat confdefs.h >>conftest.$ac_ext
45653 cat >>conftest.$ac_ext <<_ACEOF
45654 /* end confdefs.h. */
45669 rm -f conftest.$ac_objext
45670 if { (ac_try="$ac_compile"
45671 case "(($ac_try" in
45672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45673 *) ac_try_echo=$ac_try;;
45675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45676 (eval "$ac_compile") 2>conftest.er1
45678 grep -v '^ *+' conftest.er1 >conftest.err
45680 cat conftest.err >&5
45681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45682 (exit $ac_status); } && {
45683 test -z "$ac_cxx_werror_flag" ||
45684 test ! -s conftest.err
45685 } && test -s conftest.$ac_objext; then
45687 wx_cv_var_timezone=__timezone
45690 echo "$as_me: failed program was:" >&5
45691 sed 's/^/| /' conftest.$ac_ext >&5
45694 if test "$USE_DOS" = 0 ; then
45695 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45696 echo "$as_me: WARNING: no timezone variable" >&2;}
45702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45714 ac_cpp='$CPP $CPPFLAGS'
45715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45722 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45723 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45725 if test "x$wx_cv_var_timezone" != x ; then
45726 cat >>confdefs.h <<_ACEOF
45727 #define WX_TIMEZONE $wx_cv_var_timezone
45733 for ac_func in localtime
45735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45739 echo $ECHO_N "(cached) $ECHO_C" >&6
45741 cat >conftest.$ac_ext <<_ACEOF
45744 cat confdefs.h >>conftest.$ac_ext
45745 cat >>conftest.$ac_ext <<_ACEOF
45746 /* end confdefs.h. */
45747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45749 #define $ac_func innocuous_$ac_func
45751 /* System header to define __stub macros and hopefully few prototypes,
45752 which can conflict with char $ac_func (); below.
45753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45754 <limits.h> exists even on freestanding compilers. */
45757 # include <limits.h>
45759 # include <assert.h>
45764 /* Override any GCC internal prototype to avoid an error.
45765 Use char because int might match the return type of a GCC
45766 builtin and then its argument prototype would still apply. */
45771 /* The GNU C library defines this for functions which it implements
45772 to always fail with ENOSYS. Some functions are actually named
45773 something starting with __ and the normal name is an alias. */
45774 #if defined __stub_$ac_func || defined __stub___$ac_func
45781 return $ac_func ();
45786 rm -f conftest.$ac_objext conftest$ac_exeext
45787 if { (ac_try="$ac_link"
45788 case "(($ac_try" in
45789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45790 *) ac_try_echo=$ac_try;;
45792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45793 (eval "$ac_link") 2>conftest.er1
45795 grep -v '^ *+' conftest.er1 >conftest.err
45797 cat conftest.err >&5
45798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45799 (exit $ac_status); } && {
45800 test -z "$ac_c_werror_flag" ||
45801 test ! -s conftest.err
45802 } && test -s conftest$ac_exeext &&
45803 $as_test_x conftest$ac_exeext; then
45804 eval "$as_ac_var=yes"
45806 echo "$as_me: failed program was:" >&5
45807 sed 's/^/| /' conftest.$ac_ext >&5
45809 eval "$as_ac_var=no"
45812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45813 conftest$ac_exeext conftest.$ac_ext
45815 ac_res=`eval echo '${'$as_ac_var'}'`
45816 { echo "$as_me:$LINENO: result: $ac_res" >&5
45817 echo "${ECHO_T}$ac_res" >&6; }
45818 if test `eval echo '${'$as_ac_var'}'` = yes; then
45819 cat >>confdefs.h <<_ACEOF
45820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45827 if test "$ac_cv_func_localtime" = "yes"; then
45828 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45829 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45830 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45831 echo $ECHO_N "(cached) $ECHO_C" >&6
45834 cat >conftest.$ac_ext <<_ACEOF
45837 cat confdefs.h >>conftest.$ac_ext
45838 cat >>conftest.$ac_ext <<_ACEOF
45839 /* end confdefs.h. */
45854 rm -f conftest.$ac_objext
45855 if { (ac_try="$ac_compile"
45856 case "(($ac_try" in
45857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45858 *) ac_try_echo=$ac_try;;
45860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45861 (eval "$ac_compile") 2>conftest.er1
45863 grep -v '^ *+' conftest.er1 >conftest.err
45865 cat conftest.err >&5
45866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45867 (exit $ac_status); } && {
45868 test -z "$ac_c_werror_flag" ||
45869 test ! -s conftest.err
45870 } && test -s conftest.$ac_objext; then
45872 wx_cv_struct_tm_has_gmtoff=yes
45875 echo "$as_me: failed program was:" >&5
45876 sed 's/^/| /' conftest.$ac_ext >&5
45878 wx_cv_struct_tm_has_gmtoff=no
45882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45885 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45886 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45889 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45890 cat >>confdefs.h <<\_ACEOF
45891 #define WX_GMTOFF_IN_TM 1
45896 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45900 if test "$wxUSE_SOCKETS" = "yes"; then
45901 if test "$wxUSE_MGL" = 1; then
45902 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45903 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45908 if test "$wxUSE_SOCKETS" = "yes"; then
45909 if test "$TOOLKIT" != "MSW"; then
45910 { echo "$as_me:$LINENO: checking for socket" >&5
45911 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45912 if test "${ac_cv_func_socket+set}" = set; then
45913 echo $ECHO_N "(cached) $ECHO_C" >&6
45915 cat >conftest.$ac_ext <<_ACEOF
45918 cat confdefs.h >>conftest.$ac_ext
45919 cat >>conftest.$ac_ext <<_ACEOF
45920 /* end confdefs.h. */
45921 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45923 #define socket innocuous_socket
45925 /* System header to define __stub macros and hopefully few prototypes,
45926 which can conflict with char socket (); below.
45927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45928 <limits.h> exists even on freestanding compilers. */
45931 # include <limits.h>
45933 # include <assert.h>
45938 /* Override any GCC internal prototype to avoid an error.
45939 Use char because int might match the return type of a GCC
45940 builtin and then its argument prototype would still apply. */
45945 /* The GNU C library defines this for functions which it implements
45946 to always fail with ENOSYS. Some functions are actually named
45947 something starting with __ and the normal name is an alias. */
45948 #if defined __stub_socket || defined __stub___socket
45960 rm -f conftest.$ac_objext conftest$ac_exeext
45961 if { (ac_try="$ac_link"
45962 case "(($ac_try" in
45963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45964 *) ac_try_echo=$ac_try;;
45966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45967 (eval "$ac_link") 2>conftest.er1
45969 grep -v '^ *+' conftest.er1 >conftest.err
45971 cat conftest.err >&5
45972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45973 (exit $ac_status); } && {
45974 test -z "$ac_c_werror_flag" ||
45975 test ! -s conftest.err
45976 } && test -s conftest$ac_exeext &&
45977 $as_test_x conftest$ac_exeext; then
45978 ac_cv_func_socket=yes
45980 echo "$as_me: failed program was:" >&5
45981 sed 's/^/| /' conftest.$ac_ext >&5
45983 ac_cv_func_socket=no
45986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45987 conftest$ac_exeext conftest.$ac_ext
45989 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45990 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45991 if test $ac_cv_func_socket = yes; then
45995 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45996 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45997 if test "${ac_cv_lib_socket_socket+set}" = set; then
45998 echo $ECHO_N "(cached) $ECHO_C" >&6
46000 ac_check_lib_save_LIBS=$LIBS
46001 LIBS="-lsocket $LIBS"
46002 cat >conftest.$ac_ext <<_ACEOF
46005 cat confdefs.h >>conftest.$ac_ext
46006 cat >>conftest.$ac_ext <<_ACEOF
46007 /* end confdefs.h. */
46009 /* Override any GCC internal prototype to avoid an error.
46010 Use char because int might match the return type of a GCC
46011 builtin and then its argument prototype would still apply. */
46024 rm -f conftest.$ac_objext conftest$ac_exeext
46025 if { (ac_try="$ac_link"
46026 case "(($ac_try" in
46027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46028 *) ac_try_echo=$ac_try;;
46030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46031 (eval "$ac_link") 2>conftest.er1
46033 grep -v '^ *+' conftest.er1 >conftest.err
46035 cat conftest.err >&5
46036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46037 (exit $ac_status); } && {
46038 test -z "$ac_c_werror_flag" ||
46039 test ! -s conftest.err
46040 } && test -s conftest$ac_exeext &&
46041 $as_test_x conftest$ac_exeext; then
46042 ac_cv_lib_socket_socket=yes
46044 echo "$as_me: failed program was:" >&5
46045 sed 's/^/| /' conftest.$ac_ext >&5
46047 ac_cv_lib_socket_socket=no
46050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46051 conftest$ac_exeext conftest.$ac_ext
46052 LIBS=$ac_check_lib_save_LIBS
46054 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46055 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46056 if test $ac_cv_lib_socket_socket = yes; then
46057 if test "$INET_LINK" != " -lsocket"; then
46058 INET_LINK="$INET_LINK -lsocket"
46062 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46063 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46076 if test "$wxUSE_SOCKETS" = "yes" ; then
46077 if test "$TOOLKIT" != "MSW"; then
46078 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46079 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46080 if test "${wx_cv_type_getsockname3+set}" = set; then
46081 echo $ECHO_N "(cached) $ECHO_C" >&6
46085 ac_cpp='$CXXCPP $CPPFLAGS'
46086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46090 cat >conftest.$ac_ext <<_ACEOF
46093 cat confdefs.h >>conftest.$ac_ext
46094 cat >>conftest.$ac_ext <<_ACEOF
46095 /* end confdefs.h. */
46097 #include <sys/types.h>
46098 #include <sys/socket.h>
46105 getsockname(0, 0, &len);
46111 rm -f conftest.$ac_objext
46112 if { (ac_try="$ac_compile"
46113 case "(($ac_try" in
46114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46115 *) ac_try_echo=$ac_try;;
46117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46118 (eval "$ac_compile") 2>conftest.er1
46120 grep -v '^ *+' conftest.er1 >conftest.err
46122 cat conftest.err >&5
46123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46124 (exit $ac_status); } && {
46125 test -z "$ac_cxx_werror_flag" ||
46126 test ! -s conftest.err
46127 } && test -s conftest.$ac_objext; then
46128 wx_cv_type_getsockname3=socklen_t
46130 echo "$as_me: failed program was:" >&5
46131 sed 's/^/| /' conftest.$ac_ext >&5
46134 CFLAGS_OLD="$CFLAGS"
46135 if test "$GCC" = yes ; then
46136 CFLAGS="-Werror $CFLAGS"
46139 cat >conftest.$ac_ext <<_ACEOF
46142 cat confdefs.h >>conftest.$ac_ext
46143 cat >>conftest.$ac_ext <<_ACEOF
46144 /* end confdefs.h. */
46146 #include <sys/types.h>
46147 #include <sys/socket.h>
46154 getsockname(0, 0, &len);
46160 rm -f conftest.$ac_objext
46161 if { (ac_try="$ac_compile"
46162 case "(($ac_try" in
46163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46164 *) ac_try_echo=$ac_try;;
46166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46167 (eval "$ac_compile") 2>conftest.er1
46169 grep -v '^ *+' conftest.er1 >conftest.err
46171 cat conftest.err >&5
46172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46173 (exit $ac_status); } && {
46174 test -z "$ac_cxx_werror_flag" ||
46175 test ! -s conftest.err
46176 } && test -s conftest.$ac_objext; then
46177 wx_cv_type_getsockname3=size_t
46179 echo "$as_me: failed program was:" >&5
46180 sed 's/^/| /' conftest.$ac_ext >&5
46182 cat >conftest.$ac_ext <<_ACEOF
46185 cat confdefs.h >>conftest.$ac_ext
46186 cat >>conftest.$ac_ext <<_ACEOF
46187 /* end confdefs.h. */
46189 #include <sys/types.h>
46190 #include <sys/socket.h>
46197 getsockname(0, 0, &len);
46203 rm -f conftest.$ac_objext
46204 if { (ac_try="$ac_compile"
46205 case "(($ac_try" in
46206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46207 *) ac_try_echo=$ac_try;;
46209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46210 (eval "$ac_compile") 2>conftest.er1
46212 grep -v '^ *+' conftest.er1 >conftest.err
46214 cat conftest.err >&5
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); } && {
46217 test -z "$ac_cxx_werror_flag" ||
46218 test ! -s conftest.err
46219 } && test -s conftest.$ac_objext; then
46220 wx_cv_type_getsockname3=int
46222 echo "$as_me: failed program was:" >&5
46223 sed 's/^/| /' conftest.$ac_ext >&5
46225 wx_cv_type_getsockname3=unknown
46229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46235 CFLAGS="$CFLAGS_OLD"
46240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46242 ac_cpp='$CPP $CPPFLAGS'
46243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46249 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46250 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46252 if test "$wx_cv_type_getsockname3" = "unknown"; then
46254 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46255 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46257 cat >>confdefs.h <<_ACEOF
46258 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46262 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46263 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46264 if test "${wx_cv_type_getsockopt5+set}" = set; then
46265 echo $ECHO_N "(cached) $ECHO_C" >&6
46269 ac_cpp='$CXXCPP $CPPFLAGS'
46270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46274 cat >conftest.$ac_ext <<_ACEOF
46277 cat confdefs.h >>conftest.$ac_ext
46278 cat >>conftest.$ac_ext <<_ACEOF
46279 /* end confdefs.h. */
46281 #include <sys/types.h>
46282 #include <sys/socket.h>
46289 getsockopt(0, 0, 0, 0, &len);
46295 rm -f conftest.$ac_objext
46296 if { (ac_try="$ac_compile"
46297 case "(($ac_try" in
46298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46299 *) ac_try_echo=$ac_try;;
46301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46302 (eval "$ac_compile") 2>conftest.er1
46304 grep -v '^ *+' conftest.er1 >conftest.err
46306 cat conftest.err >&5
46307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46308 (exit $ac_status); } && {
46309 test -z "$ac_cxx_werror_flag" ||
46310 test ! -s conftest.err
46311 } && test -s conftest.$ac_objext; then
46312 wx_cv_type_getsockopt5=socklen_t
46314 echo "$as_me: failed program was:" >&5
46315 sed 's/^/| /' conftest.$ac_ext >&5
46318 cat >conftest.$ac_ext <<_ACEOF
46321 cat confdefs.h >>conftest.$ac_ext
46322 cat >>conftest.$ac_ext <<_ACEOF
46323 /* end confdefs.h. */
46325 #include <sys/types.h>
46326 #include <sys/socket.h>
46333 getsockopt(0, 0, 0, 0, &len);
46339 rm -f conftest.$ac_objext
46340 if { (ac_try="$ac_compile"
46341 case "(($ac_try" in
46342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46343 *) ac_try_echo=$ac_try;;
46345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46346 (eval "$ac_compile") 2>conftest.er1
46348 grep -v '^ *+' conftest.er1 >conftest.err
46350 cat conftest.err >&5
46351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46352 (exit $ac_status); } && {
46353 test -z "$ac_cxx_werror_flag" ||
46354 test ! -s conftest.err
46355 } && test -s conftest.$ac_objext; then
46356 wx_cv_type_getsockopt5=size_t
46358 echo "$as_me: failed program was:" >&5
46359 sed 's/^/| /' conftest.$ac_ext >&5
46361 cat >conftest.$ac_ext <<_ACEOF
46364 cat confdefs.h >>conftest.$ac_ext
46365 cat >>conftest.$ac_ext <<_ACEOF
46366 /* end confdefs.h. */
46368 #include <sys/types.h>
46369 #include <sys/socket.h>
46376 getsockopt(0, 0, 0, 0, &len);
46382 rm -f conftest.$ac_objext
46383 if { (ac_try="$ac_compile"
46384 case "(($ac_try" in
46385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46386 *) ac_try_echo=$ac_try;;
46388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46389 (eval "$ac_compile") 2>conftest.er1
46391 grep -v '^ *+' conftest.er1 >conftest.err
46393 cat conftest.err >&5
46394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46395 (exit $ac_status); } && {
46396 test -z "$ac_cxx_werror_flag" ||
46397 test ! -s conftest.err
46398 } && test -s conftest.$ac_objext; then
46399 wx_cv_type_getsockopt5=int
46401 echo "$as_me: failed program was:" >&5
46402 sed 's/^/| /' conftest.$ac_ext >&5
46404 wx_cv_type_getsockopt5=unknown
46408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46419 ac_cpp='$CPP $CPPFLAGS'
46420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46426 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46427 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46429 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46431 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46432 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46434 cat >>confdefs.h <<_ACEOF
46435 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46442 if test "$wxUSE_SOCKETS" = "yes" ; then
46443 if test "$wxUSE_IPV6" = "yes"; then
46444 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46445 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46446 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46447 echo $ECHO_N "(cached) $ECHO_C" >&6
46450 cat >conftest.$ac_ext <<_ACEOF
46453 cat confdefs.h >>conftest.$ac_ext
46454 cat >>conftest.$ac_ext <<_ACEOF
46455 /* end confdefs.h. */
46457 #include <sys/types.h>
46458 #include <sys/socket.h>
46459 #include <netinet/in.h>
46465 struct sockaddr_in6 sa6;
46471 rm -f conftest.$ac_objext
46472 if { (ac_try="$ac_compile"
46473 case "(($ac_try" in
46474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46475 *) ac_try_echo=$ac_try;;
46477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46478 (eval "$ac_compile") 2>conftest.er1
46480 grep -v '^ *+' conftest.er1 >conftest.err
46482 cat conftest.err >&5
46483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46484 (exit $ac_status); } && {
46485 test -z "$ac_c_werror_flag" ||
46486 test ! -s conftest.err
46487 } && test -s conftest.$ac_objext; then
46488 wx_cv_type_sockaddr_in6=yes
46490 echo "$as_me: failed program was:" >&5
46491 sed 's/^/| /' conftest.$ac_ext >&5
46493 wx_cv_type_sockaddr_in6=no
46497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46501 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46502 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46504 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_IPV6 1
46510 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46511 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46515 cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_SOCKETS 1
46519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46522 if test "$wxUSE_PROTOCOL" = "yes"; then
46523 if test "$wxUSE_SOCKETS" != "yes"; then
46524 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46525 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46530 if test "$wxUSE_PROTOCOL" = "yes"; then
46531 cat >>confdefs.h <<\_ACEOF
46532 #define wxUSE_PROTOCOL 1
46536 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46537 cat >>confdefs.h <<\_ACEOF
46538 #define wxUSE_PROTOCOL_HTTP 1
46542 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_PROTOCOL_FTP 1
46548 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46549 cat >>confdefs.h <<\_ACEOF
46550 #define wxUSE_PROTOCOL_FILE 1
46555 if test "$wxUSE_FS_INET" = "yes"; then
46556 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46557 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46562 if test "$wxUSE_URL" = "yes"; then
46563 if test "$wxUSE_PROTOCOL" != "yes"; then
46564 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46565 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46568 if test "$wxUSE_URL" = "yes"; then
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_URL 1
46576 if test "$wxUSE_VARIANT" = "yes"; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_VARIANT 1
46583 if test "$wxUSE_FS_INET" = "yes"; then
46584 cat >>confdefs.h <<\_ACEOF
46585 #define wxUSE_FS_INET 1
46591 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46594 if test "$TOOLKIT" = "MSW"; then
46597 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46598 if test "$USE_DARWIN" = 1; then
46599 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46600 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46602 ac_cpp='$CXXCPP $CPPFLAGS'
46603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46607 cat >conftest.$ac_ext <<_ACEOF
46610 cat confdefs.h >>conftest.$ac_ext
46611 cat >>conftest.$ac_ext <<_ACEOF
46612 /* end confdefs.h. */
46613 #include <IOKit/hid/IOHIDLib.h>
46617 IOHIDQueueInterface *qi = NULL;
46618 IOHIDCallbackFunction cb = NULL;
46619 qi->setEventCallout(NULL, cb, NULL, NULL);
46624 rm -f conftest.$ac_objext
46625 if { (ac_try="$ac_compile"
46626 case "(($ac_try" in
46627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46628 *) ac_try_echo=$ac_try;;
46630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46631 (eval "$ac_compile") 2>conftest.er1
46633 grep -v '^ *+' conftest.er1 >conftest.err
46635 cat conftest.err >&5
46636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46637 (exit $ac_status); } && {
46638 test -z "$ac_cxx_werror_flag" ||
46639 test ! -s conftest.err
46640 } && test -s conftest.$ac_objext; then
46644 echo "$as_me: failed program was:" >&5
46645 sed 's/^/| /' conftest.$ac_ext >&5
46650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46652 ac_cpp='$CPP $CPPFLAGS'
46653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46657 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46658 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46662 if test "$wxUSE_MGL" != 1; then
46664 for ac_header in linux/joystick.h
46666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46667 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46670 echo $ECHO_N "(cached) $ECHO_C" >&6
46672 cat >conftest.$ac_ext <<_ACEOF
46675 cat confdefs.h >>conftest.$ac_ext
46676 cat >>conftest.$ac_ext <<_ACEOF
46677 /* end confdefs.h. */
46678 $ac_includes_default
46680 #include <$ac_header>
46682 rm -f conftest.$ac_objext
46683 if { (ac_try="$ac_compile"
46684 case "(($ac_try" in
46685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46686 *) ac_try_echo=$ac_try;;
46688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46689 (eval "$ac_compile") 2>conftest.er1
46691 grep -v '^ *+' conftest.er1 >conftest.err
46693 cat conftest.err >&5
46694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46695 (exit $ac_status); } && {
46696 test -z "$ac_c_werror_flag" ||
46697 test ! -s conftest.err
46698 } && test -s conftest.$ac_objext; then
46699 eval "$as_ac_Header=yes"
46701 echo "$as_me: failed program was:" >&5
46702 sed 's/^/| /' conftest.$ac_ext >&5
46704 eval "$as_ac_Header=no"
46707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46709 ac_res=`eval echo '${'$as_ac_Header'}'`
46710 { echo "$as_me:$LINENO: result: $ac_res" >&5
46711 echo "${ECHO_T}$ac_res" >&6; }
46712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46713 cat >>confdefs.h <<_ACEOF
46714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46724 if test "$wxUSE_JOYSTICK" = "yes"; then
46725 cat >>confdefs.h <<\_ACEOF
46726 #define wxUSE_JOYSTICK 1
46729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46731 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46732 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46738 if test "$wxUSE_FONTENUM" = "yes" ; then
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_FONTENUM 1
46745 if test "$wxUSE_FONTMAP" = "yes" ; then
46746 cat >>confdefs.h <<\_ACEOF
46747 #define wxUSE_FONTMAP 1
46752 if test "$wxUSE_UNICODE" = "yes" ; then
46753 cat >>confdefs.h <<\_ACEOF
46754 #define wxUSE_UNICODE 1
46758 if test "$USE_WIN32" != 1; then
46759 wxUSE_UNICODE_MSLU=no
46762 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46763 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46764 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46765 if test "${ac_cv_lib_unicows_main+set}" = set; then
46766 echo $ECHO_N "(cached) $ECHO_C" >&6
46768 ac_check_lib_save_LIBS=$LIBS
46769 LIBS="-lunicows $LIBS"
46770 cat >conftest.$ac_ext <<_ACEOF
46773 cat confdefs.h >>conftest.$ac_ext
46774 cat >>conftest.$ac_ext <<_ACEOF
46775 /* end confdefs.h. */
46786 rm -f conftest.$ac_objext conftest$ac_exeext
46787 if { (ac_try="$ac_link"
46788 case "(($ac_try" in
46789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46790 *) ac_try_echo=$ac_try;;
46792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46793 (eval "$ac_link") 2>conftest.er1
46795 grep -v '^ *+' conftest.er1 >conftest.err
46797 cat conftest.err >&5
46798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46799 (exit $ac_status); } && {
46800 test -z "$ac_c_werror_flag" ||
46801 test ! -s conftest.err
46802 } && test -s conftest$ac_exeext &&
46803 $as_test_x conftest$ac_exeext; then
46804 ac_cv_lib_unicows_main=yes
46806 echo "$as_me: failed program was:" >&5
46807 sed 's/^/| /' conftest.$ac_ext >&5
46809 ac_cv_lib_unicows_main=no
46812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46813 conftest$ac_exeext conftest.$ac_ext
46814 LIBS=$ac_check_lib_save_LIBS
46816 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46817 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46818 if test $ac_cv_lib_unicows_main = yes; then
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_UNICODE_MSLU 1
46827 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46828 Applications will only run on Windows NT/2000/XP!" >&5
46829 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46830 Applications will only run on Windows NT/2000/XP!" >&2;}
46831 wxUSE_UNICODE_MSLU=no
46838 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46839 cat >>confdefs.h <<\_ACEOF
46840 #define wxUSE_UNICODE_UTF8 1
46844 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46845 cat >>confdefs.h <<\_ACEOF
46846 #define wxUSE_UTF8_LOCALE_ONLY 1
46853 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_CONSTRAINTS 1
46858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46861 if test "$wxUSE_MDI" = "yes"; then
46862 cat >>confdefs.h <<\_ACEOF
46863 #define wxUSE_MDI 1
46867 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_MDI_ARCHITECTURE 1
46872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46876 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46877 cat >>confdefs.h <<\_ACEOF
46878 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46884 if test "$wxUSE_HELP" = "yes"; then
46885 cat >>confdefs.h <<\_ACEOF
46886 #define wxUSE_HELP 1
46889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46891 if test "$wxUSE_MSW" = 1; then
46892 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46893 cat >>confdefs.h <<\_ACEOF
46894 #define wxUSE_MS_HTML_HELP 1
46900 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46901 if test "$wxUSE_HTML" = "yes"; then
46902 cat >>confdefs.h <<\_ACEOF
46903 #define wxUSE_WXHTML_HELP 1
46907 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46908 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46909 wxUSE_WXHTML_HELP=no
46914 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46915 cat >>confdefs.h <<\_ACEOF
46916 #define wxUSE_PRINTING_ARCHITECTURE 1
46919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46922 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46923 cat >>confdefs.h <<\_ACEOF
46924 #define wxUSE_POSTSCRIPT 1
46929 cat >>confdefs.h <<\_ACEOF
46930 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46934 if test "$wxUSE_SVG" = "yes"; then
46935 cat >>confdefs.h <<\_ACEOF
46936 #define wxUSE_SVG 1
46942 if test "$wxUSE_METAFILE" = "yes"; then
46943 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46944 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46945 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46951 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46952 -o "$wxUSE_CLIPBOARD" = "yes" \
46953 -o "$wxUSE_OLE" = "yes" \
46954 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46955 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46956 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46957 if test "${ac_cv_header_ole2_h+set}" = set; then
46958 echo $ECHO_N "(cached) $ECHO_C" >&6
46960 cat >conftest.$ac_ext <<_ACEOF
46963 cat confdefs.h >>conftest.$ac_ext
46964 cat >>conftest.$ac_ext <<_ACEOF
46965 /* end confdefs.h. */
46970 rm -f conftest.$ac_objext
46971 if { (ac_try="$ac_compile"
46972 case "(($ac_try" in
46973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46974 *) ac_try_echo=$ac_try;;
46976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46977 (eval "$ac_compile") 2>conftest.er1
46979 grep -v '^ *+' conftest.er1 >conftest.err
46981 cat conftest.err >&5
46982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46983 (exit $ac_status); } && {
46984 test -z "$ac_c_werror_flag" ||
46985 test ! -s conftest.err
46986 } && test -s conftest.$ac_objext; then
46987 ac_cv_header_ole2_h=yes
46989 echo "$as_me: failed program was:" >&5
46990 sed 's/^/| /' conftest.$ac_ext >&5
46992 ac_cv_header_ole2_h=no
46995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46997 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46998 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47002 if test "$ac_cv_header_ole2_h" = "yes" ; then
47003 if test "$GCC" = yes ; then
47004 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47005 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47006 cat >conftest.$ac_ext <<_ACEOF
47009 cat confdefs.h >>conftest.$ac_ext
47010 cat >>conftest.$ac_ext <<_ACEOF
47011 /* end confdefs.h. */
47012 #include <windows.h>
47022 rm -f conftest.$ac_objext
47023 if { (ac_try="$ac_compile"
47024 case "(($ac_try" in
47025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47026 *) ac_try_echo=$ac_try;;
47028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47029 (eval "$ac_compile") 2>conftest.er1
47031 grep -v '^ *+' conftest.er1 >conftest.err
47033 cat conftest.err >&5
47034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47035 (exit $ac_status); } && {
47036 test -z "$ac_c_werror_flag" ||
47037 test ! -s conftest.err
47038 } && test -s conftest.$ac_objext; then
47039 { echo "$as_me:$LINENO: result: no" >&5
47040 echo "${ECHO_T}no" >&6; }
47042 echo "$as_me: failed program was:" >&5
47043 sed 's/^/| /' conftest.$ac_ext >&5
47045 { echo "$as_me:$LINENO: result: yes" >&5
47046 echo "${ECHO_T}yes" >&6; }
47047 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47051 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47052 if test "$wxUSE_OLE" = "yes" ; then
47053 cat >>confdefs.h <<\_ACEOF
47054 #define wxUSE_OLE 1
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_OLE_AUTOMATION 1
47061 cat >>confdefs.h <<\_ACEOF
47062 #define wxUSE_ACTIVEX 1
47065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47069 if test "$wxUSE_DATAOBJ" = "yes" ; then
47070 cat >>confdefs.h <<\_ACEOF
47071 #define wxUSE_DATAOBJ 1
47076 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47077 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47080 wxUSE_DRAG_AND_DROP=no
47085 if test "$wxUSE_METAFILE" = "yes"; then
47086 cat >>confdefs.h <<\_ACEOF
47087 #define wxUSE_METAFILE 1
47091 cat >>confdefs.h <<\_ACEOF
47092 #define wxUSE_ENH_METAFILE 1
47098 if test "$wxUSE_IPC" = "yes"; then
47099 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47100 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47101 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47105 if test "$wxUSE_IPC" = "yes"; then
47106 cat >>confdefs.h <<\_ACEOF
47107 #define wxUSE_IPC 1
47110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47114 if test "$wxUSE_DATAOBJ" = "yes"; then
47115 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47116 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47117 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47120 cat >>confdefs.h <<\_ACEOF
47121 #define wxUSE_DATAOBJ 1
47126 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47127 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47129 wxUSE_DRAG_AND_DROP=no
47132 if test "$wxUSE_CLIPBOARD" = "yes"; then
47133 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47134 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47135 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47139 if test "$wxUSE_CLIPBOARD" = "yes"; then
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_CLIPBOARD 1
47147 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47148 if test "$wxUSE_GTK" = 1; then
47149 if test "$WXGTK12" != 1; then
47150 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47151 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47152 wxUSE_DRAG_AND_DROP=no
47156 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47157 "$wxUSE_DFB" = 1; then
47158 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47159 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47160 wxUSE_DRAG_AND_DROP=no
47163 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47164 cat >>confdefs.h <<\_ACEOF
47165 #define wxUSE_DRAG_AND_DROP 1
47172 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47176 if test "$wxUSE_CLIPBOARD" = "yes"; then
47177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47180 if test "$wxUSE_SPLINES" = "yes" ; then
47181 cat >>confdefs.h <<\_ACEOF
47182 #define wxUSE_SPLINES 1
47187 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47188 cat >>confdefs.h <<\_ACEOF
47189 #define wxUSE_MOUSEWHEEL 1
47194 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47195 cat >>confdefs.h <<\_ACEOF
47196 #define wxUSE_UIACTIONSIMULATOR 1
47199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47202 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47203 cat >>confdefs.h <<\_ACEOF
47204 #define wxUSE_DC_TRANSFORM_MATRIX 1
47211 if test "$wxUSE_CONTROLS" = "yes"; then
47215 if test "$wxUSE_MARKUP" = "yes"; then
47216 cat >>confdefs.h <<\_ACEOF
47217 #define wxUSE_MARKUP 1
47222 if test "$wxUSE_ACCEL" = "yes"; then
47223 cat >>confdefs.h <<\_ACEOF
47224 #define wxUSE_ACCEL 1
47230 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47231 cat >>confdefs.h <<\_ACEOF
47232 #define wxUSE_ANIMATIONCTRL 1
47236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47239 if test "$wxUSE_BUTTON" = "yes"; then
47240 cat >>confdefs.h <<\_ACEOF
47241 #define wxUSE_BUTTON 1
47247 if test "$wxUSE_BMPBUTTON" = "yes"; then
47248 cat >>confdefs.h <<\_ACEOF
47249 #define wxUSE_BMPBUTTON 1
47255 if test "$wxUSE_CALCTRL" = "yes"; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_CALENDARCTRL 1
47261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47264 if test "$wxUSE_CARET" = "yes"; then
47265 cat >>confdefs.h <<\_ACEOF
47266 #define wxUSE_CARET 1
47270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47273 if test "$wxUSE_COLLPANE" = "yes"; then
47274 cat >>confdefs.h <<\_ACEOF
47275 #define wxUSE_COLLPANE 1
47279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47282 if test "$wxUSE_COMBOBOX" = "yes"; then
47283 cat >>confdefs.h <<\_ACEOF
47284 #define wxUSE_COMBOBOX 1
47290 if test "$wxUSE_COMBOCTRL" = "yes"; then
47291 cat >>confdefs.h <<\_ACEOF
47292 #define wxUSE_COMBOCTRL 1
47298 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47299 cat >>confdefs.h <<\_ACEOF
47300 #define wxUSE_COMMANDLINKBUTTON 1
47306 if test "$wxUSE_CHOICE" = "yes"; then
47307 cat >>confdefs.h <<\_ACEOF
47308 #define wxUSE_CHOICE 1
47314 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47315 cat >>confdefs.h <<\_ACEOF
47316 #define wxUSE_CHOICEBOOK 1
47322 if test "$wxUSE_CHECKBOX" = "yes"; then
47323 cat >>confdefs.h <<\_ACEOF
47324 #define wxUSE_CHECKBOX 1
47330 if test "$wxUSE_CHECKLST" = "yes"; then
47331 cat >>confdefs.h <<\_ACEOF
47332 #define wxUSE_CHECKLISTBOX 1
47338 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_COLOURPICKERCTRL 1
47346 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47347 cat >>confdefs.h <<\_ACEOF
47348 #define wxUSE_DATEPICKCTRL 1
47354 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47355 cat >>confdefs.h <<\_ACEOF
47356 #define wxUSE_DIRPICKERCTRL 1
47362 if test "$wxUSE_FILECTRL" = "yes"; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_FILECTRL 1
47370 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47371 cat >>confdefs.h <<\_ACEOF
47372 #define wxUSE_FILEPICKERCTRL 1
47378 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_FONTPICKERCTRL 1
47386 if test "$wxUSE_DISPLAY" = "yes"; then
47387 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47388 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47389 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47392 cat >>confdefs.h <<\_ACEOF
47393 #define wxUSE_DISPLAY 1
47396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47400 if test "$wxUSE_DETECT_SM" = "yes"; then
47401 cat >>confdefs.h <<\_ACEOF
47402 #define wxUSE_DETECT_SM 1
47407 if test "$wxUSE_GAUGE" = "yes"; then
47408 cat >>confdefs.h <<\_ACEOF
47409 #define wxUSE_GAUGE 1
47415 if test "$wxUSE_GRID" = "yes"; then
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_GRID 1
47421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47424 if test "$wxUSE_HEADERCTRL" = "yes"; then
47425 cat >>confdefs.h <<\_ACEOF
47426 #define wxUSE_HEADERCTRL 1
47432 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_HYPERLINKCTRL 1
47440 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47441 cat >>confdefs.h <<\_ACEOF
47442 #define wxUSE_BITMAPCOMBOBOX 1
47448 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47449 cat >>confdefs.h <<\_ACEOF
47450 #define wxUSE_DATAVIEWCTRL 1
47454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47457 if test "$wxUSE_IMAGLIST" = "yes"; then
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_IMAGLIST 1
47464 if test "$wxUSE_INFOBAR" = "yes"; then
47465 cat >>confdefs.h <<\_ACEOF
47466 #define wxUSE_INFOBAR 1
47471 if test "$wxUSE_LISTBOOK" = "yes"; then
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_LISTBOOK 1
47479 if test "$wxUSE_LISTBOX" = "yes"; then
47480 cat >>confdefs.h <<\_ACEOF
47481 #define wxUSE_LISTBOX 1
47487 if test "$wxUSE_LISTCTRL" = "yes"; then
47488 if test "$wxUSE_IMAGLIST" = "yes"; then
47489 cat >>confdefs.h <<\_ACEOF
47490 #define wxUSE_LISTCTRL 1
47494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47496 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47497 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47501 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47502 cat >>confdefs.h <<\_ACEOF
47503 #define wxUSE_EDITABLELISTBOX 1
47509 if test "$wxUSE_NOTEBOOK" = "yes"; then
47510 cat >>confdefs.h <<\_ACEOF
47511 #define wxUSE_NOTEBOOK 1
47515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47518 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47519 cat >>confdefs.h <<\_ACEOF
47520 #define wxUSE_NOTIFICATION_MESSAGE 1
47525 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47526 cat >>confdefs.h <<\_ACEOF
47527 #define wxUSE_ODCOMBOBOX 1
47531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47534 if test "$wxUSE_RADIOBOX" = "yes"; then
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_RADIOBOX 1
47542 if test "$wxUSE_RADIOBTN" = "yes"; then
47543 cat >>confdefs.h <<\_ACEOF
47544 #define wxUSE_RADIOBTN 1
47550 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47551 cat >>confdefs.h <<\_ACEOF
47552 #define wxUSE_REARRANGECTRL 1
47557 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47558 cat >>confdefs.h <<\_ACEOF
47559 #define wxUSE_RICHMSGDLG 1
47564 if test "$wxUSE_SASH" = "yes"; then
47565 cat >>confdefs.h <<\_ACEOF
47566 #define wxUSE_SASH 1
47569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47572 if test "$wxUSE_SCROLLBAR" = "yes"; then
47573 cat >>confdefs.h <<\_ACEOF
47574 #define wxUSE_SCROLLBAR 1
47578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47581 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_SEARCHCTRL 1
47589 if test "$wxUSE_SLIDER" = "yes"; then
47590 cat >>confdefs.h <<\_ACEOF
47591 #define wxUSE_SLIDER 1
47597 if test "$wxUSE_SPINBTN" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_SPINBTN 1
47605 if test "$wxUSE_SPINCTRL" = "yes"; then
47606 cat >>confdefs.h <<\_ACEOF
47607 #define wxUSE_SPINCTRL 1
47613 if test "$wxUSE_SPLITTER" = "yes"; then
47614 cat >>confdefs.h <<\_ACEOF
47615 #define wxUSE_SPLITTER 1
47618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47621 if test "$wxUSE_STATBMP" = "yes"; then
47622 cat >>confdefs.h <<\_ACEOF
47623 #define wxUSE_STATBMP 1
47629 if test "$wxUSE_STATBOX" = "yes"; then
47630 cat >>confdefs.h <<\_ACEOF
47631 #define wxUSE_STATBOX 1
47637 if test "$wxUSE_STATTEXT" = "yes"; then
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_STATTEXT 1
47645 if test "$wxUSE_STATLINE" = "yes"; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_STATLINE 1
47653 if test "$wxUSE_STATUSBAR" = "yes"; then
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_NATIVE_STATUSBAR 1
47658 cat >>confdefs.h <<\_ACEOF
47659 #define wxUSE_STATUSBAR 1
47664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47667 if test "$wxUSE_TEXTCTRL" = "yes"; then
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_TEXTCTRL 1
47673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47675 cat >>confdefs.h <<\_ACEOF
47676 #define wxUSE_RICHEDIT 1
47679 cat >>confdefs.h <<\_ACEOF
47680 #define wxUSE_RICHEDIT2 1
47685 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47686 if test "$wxUSE_OLD_COCOA" = 1 ; then
47687 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47688 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47692 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47693 cat >>confdefs.h <<\_ACEOF
47694 #define wxUSE_TOGGLEBTN 1
47701 if test "$wxUSE_TOOLBAR" = "yes"; then
47702 cat >>confdefs.h <<\_ACEOF
47703 #define wxUSE_TOOLBAR 1
47708 if test "$wxUSE_UNIVERSAL" = "yes"; then
47709 wxUSE_TOOLBAR_NATIVE="no"
47711 wxUSE_TOOLBAR_NATIVE="yes"
47712 cat >>confdefs.h <<\_ACEOF
47713 #define wxUSE_TOOLBAR_NATIVE 1
47718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47721 if test "$wxUSE_TOOLTIPS" = "yes"; then
47722 if test "$wxUSE_MOTIF" = 1; then
47723 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47724 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47726 if test "$wxUSE_UNIVERSAL" = "yes"; then
47727 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47728 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_TOOLTIPS 1
47738 if test "$wxUSE_TREEBOOK" = "yes"; then
47739 cat >>confdefs.h <<\_ACEOF
47740 #define wxUSE_TREEBOOK 1
47746 if test "$wxUSE_TOOLBOOK" = "yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_TOOLBOOK 1
47754 if test "$wxUSE_TREECTRL" = "yes"; then
47755 if test "$wxUSE_IMAGLIST" = "yes"; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_TREECTRL 1
47761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47763 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47764 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47768 if test "$wxUSE_POPUPWIN" = "yes"; then
47769 if test "$wxUSE_OLD_COCOA" = 1 ; then
47770 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47771 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47773 if test "$wxUSE_PM" = 1; then
47774 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47775 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47777 cat >>confdefs.h <<\_ACEOF
47778 #define wxUSE_POPUPWIN 1
47781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47788 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47789 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47790 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47791 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47793 cat >>confdefs.h <<\_ACEOF
47794 #define wxUSE_DIALUP_MANAGER 1
47797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47801 if test "$wxUSE_TIPWINDOW" = "yes"; then
47802 if test "$wxUSE_PM" = 1; then
47803 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47804 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47806 cat >>confdefs.h <<\_ACEOF
47807 #define wxUSE_TIPWINDOW 1
47813 if test "$USES_CONTROLS" = 1; then
47814 cat >>confdefs.h <<\_ACEOF
47815 #define wxUSE_CONTROLS 1
47821 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47822 cat >>confdefs.h <<\_ACEOF
47823 #define wxUSE_ACCESSIBILITY 1
47826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47829 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47830 cat >>confdefs.h <<\_ACEOF
47831 #define wxUSE_ARTPROVIDER_STD 1
47836 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47837 if test "$wxUSE_GTK" != 1; then
47838 if test "$wxUSE_LIBPNG" != no -a \
47839 "$wxUSE_IMAGE" = yes -a \
47840 "$wxUSE_STREAMS" = yes; then
47841 wxUSE_ARTPROVIDER_TANGO="yes"
47846 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47847 cat >>confdefs.h <<\_ACEOF
47848 #define wxUSE_ARTPROVIDER_TANGO 1
47853 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47854 cat >>confdefs.h <<\_ACEOF
47855 #define wxUSE_DRAGIMAGE 1
47858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47861 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47862 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47863 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47864 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47866 cat >>confdefs.h <<\_ACEOF
47867 #define wxUSE_EXCEPTIONS 1
47870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47875 if test "$wxUSE_HTML" = "yes"; then
47876 cat >>confdefs.h <<\_ACEOF
47877 #define wxUSE_HTML 1
47881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47883 if test "$wxUSE_WEBKIT" = "yes"; then
47884 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47885 old_CPPFLAGS="$CPPFLAGS"
47886 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47887 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47888 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47889 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47890 echo $ECHO_N "(cached) $ECHO_C" >&6
47892 cat >conftest.$ac_ext <<_ACEOF
47895 cat confdefs.h >>conftest.$ac_ext
47896 cat >>conftest.$ac_ext <<_ACEOF
47897 /* end confdefs.h. */
47899 #include <Carbon/Carbon.h>
47900 #include <WebKit/WebKit.h>
47903 #include <WebKit/HIWebView.h>
47905 rm -f conftest.$ac_objext
47906 if { (ac_try="$ac_compile"
47907 case "(($ac_try" in
47908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47909 *) ac_try_echo=$ac_try;;
47911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47912 (eval "$ac_compile") 2>conftest.er1
47914 grep -v '^ *+' conftest.er1 >conftest.err
47916 cat conftest.err >&5
47917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47918 (exit $ac_status); } && {
47919 test -z "$ac_c_werror_flag" ||
47920 test ! -s conftest.err
47921 } && test -s conftest.$ac_objext; then
47922 ac_cv_header_WebKit_HIWebView_h=yes
47924 echo "$as_me: failed program was:" >&5
47925 sed 's/^/| /' conftest.$ac_ext >&5
47927 ac_cv_header_WebKit_HIWebView_h=no
47930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47932 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47933 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47934 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47936 cat >>confdefs.h <<\_ACEOF
47937 #define wxUSE_WEBKIT 1
47940 WEBKIT_LINK="-framework WebKit"
47944 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47945 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47951 CPPFLAGS="$old_CPPFLAGS"
47952 elif test "$wxUSE_OLD_COCOA" = 1; then
47953 cat >>confdefs.h <<\_ACEOF
47954 #define wxUSE_WEBKIT 1
47960 if test "$wxUSE_WEBKIT" = "yes"; then
47961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47966 if test "$wxUSE_XRC" = "yes"; then
47967 if test "$wxUSE_XML" != "yes"; then
47968 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47969 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_XRC 1
47977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47982 if test "$wxUSE_AUI" = "yes"; then
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_AUI 1
47988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47992 if test "$wxUSE_PROPGRID" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_PROPGRID 1
47998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48002 if test "$wxUSE_RIBBON" = "yes"; then
48003 cat >>confdefs.h <<\_ACEOF
48004 #define wxUSE_RIBBON 1
48008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48012 if test "$wxUSE_STC" = "yes"; then
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_STC 1
48018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48020 # Extract the first word of "python", so it can be a program name with args.
48021 set dummy python; ac_word=$2
48022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48024 if test "${ac_cv_path_PYTHON+set}" = set; then
48025 echo $ECHO_N "(cached) $ECHO_C" >&6
48029 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48033 for as_dir in $PATH
48036 test -z "$as_dir" && as_dir=.
48037 for ac_exec_ext in '' $ac_executable_extensions; do
48038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48039 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48050 PYTHON=$ac_cv_path_PYTHON
48051 if test -n "$PYTHON"; then
48052 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48053 echo "${ECHO_T}$PYTHON" >&6; }
48055 { echo "$as_me:$LINENO: result: no" >&5
48056 echo "${ECHO_T}no" >&6; }
48060 if test "x$PYTHON" = "x"; then
48066 if test "$wxUSE_MENUS" = "yes"; then
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_MENUS 1
48071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48074 if test "$wxUSE_METAFILE" = "yes"; then
48075 cat >>confdefs.h <<\_ACEOF
48076 #define wxUSE_METAFILE 1
48081 if test "$wxUSE_MIMETYPE" = "yes"; then
48082 cat >>confdefs.h <<\_ACEOF
48083 #define wxUSE_MIMETYPE 1
48088 if test "$wxUSE_MINIFRAME" = "yes"; then
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_MINIFRAME 1
48095 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48096 cat >>confdefs.h <<\_ACEOF
48097 #define wxUSE_SYSTEM_OPTIONS 1
48102 if test "$wxUSE_TASKBARICON" = "yes"; then
48103 cat >>confdefs.h <<\_ACEOF
48104 #define wxUSE_TASKBARICON 1
48107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48111 if test "$wxUSE_VALIDATORS" = "yes"; then
48112 cat >>confdefs.h <<\_ACEOF
48113 #define wxUSE_VALIDATORS 1
48116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48119 if test "$wxUSE_PALETTE" = "yes" ; then
48120 if test "$wxUSE_DFB" = 1; then
48121 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48122 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48125 cat >>confdefs.h <<\_ACEOF
48126 #define wxUSE_PALETTE 1
48132 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48133 LIBS=" -lunicows $LIBS"
48137 if test "$wxUSE_RICHTEXT" = "yes"; then
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_RICHTEXT 1
48143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48147 if test "$wxUSE_IMAGE" = "yes" ; then
48148 cat >>confdefs.h <<\_ACEOF
48149 #define wxUSE_IMAGE 1
48153 if test "$wxUSE_GIF" = "yes" ; then
48154 cat >>confdefs.h <<\_ACEOF
48155 #define wxUSE_GIF 1
48160 if test "$wxUSE_PCX" = "yes" ; then
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_PCX 1
48167 if test "$wxUSE_TGA" = "yes" ; then
48168 cat >>confdefs.h <<\_ACEOF
48169 #define wxUSE_TGA 1
48174 if test "$wxUSE_IFF" = "yes" ; then
48175 cat >>confdefs.h <<\_ACEOF
48176 #define wxUSE_IFF 1
48181 if test "$wxUSE_PNM" = "yes" ; then
48182 cat >>confdefs.h <<\_ACEOF
48183 #define wxUSE_PNM 1
48188 if test "$wxUSE_XPM" = "yes" ; then
48189 cat >>confdefs.h <<\_ACEOF
48190 #define wxUSE_XPM 1
48195 if test "$wxUSE_ICO_CUR" = "yes" ; then
48196 cat >>confdefs.h <<\_ACEOF
48197 #define wxUSE_ICO_CUR 1
48204 if test "$wxUSE_ABOUTDLG" = "yes"; then
48205 cat >>confdefs.h <<\_ACEOF
48206 #define wxUSE_ABOUTDLG 1
48211 if test "$wxUSE_CHOICEDLG" = "yes"; then
48212 cat >>confdefs.h <<\_ACEOF
48213 #define wxUSE_CHOICEDLG 1
48218 if test "$wxUSE_COLOURDLG" = "yes"; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_COLOURDLG 1
48225 if test "$wxUSE_FILEDLG" = "yes"; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_FILEDLG 1
48232 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_FINDREPLDLG 1
48239 if test "$wxUSE_FONTDLG" = "yes"; then
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_FONTDLG 1
48246 if test "$wxUSE_DIRDLG" = "yes"; then
48247 if test "$wxUSE_TREECTRL" != "yes"; then
48248 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48249 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48251 cat >>confdefs.h <<\_ACEOF
48252 #define wxUSE_DIRDLG 1
48258 if test "$wxUSE_MSGDLG" = "yes"; then
48259 cat >>confdefs.h <<\_ACEOF
48260 #define wxUSE_MSGDLG 1
48265 if test "$wxUSE_NUMBERDLG" = "yes"; then
48266 cat >>confdefs.h <<\_ACEOF
48267 #define wxUSE_NUMBERDLG 1
48272 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48273 cat >>confdefs.h <<\_ACEOF
48274 #define wxUSE_PROGRESSDLG 1
48279 if test "$wxUSE_SPLASH" = "yes"; then
48280 cat >>confdefs.h <<\_ACEOF
48281 #define wxUSE_SPLASH 1
48284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48287 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48288 cat >>confdefs.h <<\_ACEOF
48289 #define wxUSE_STARTUP_TIPS 1
48294 if test "$wxUSE_TEXTDLG" = "yes"; then
48295 cat >>confdefs.h <<\_ACEOF
48296 #define wxUSE_TEXTDLG 1
48301 if test "$wxUSE_WIZARDDLG" = "yes"; then
48302 cat >>confdefs.h <<\_ACEOF
48303 #define wxUSE_WIZARDDLG 1
48306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48310 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48311 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48312 cat >>confdefs.h <<\_ACEOF
48313 #define wxUSE_OWNER_DRAWN 1
48320 if test "$wxUSE_MSW" = 1 ; then
48322 if test "$wxUSE_DC_CACHEING" = "yes"; then
48323 cat >>confdefs.h <<\_ACEOF
48324 #define wxUSE_DC_CACHEING 1
48329 if test "$wxUSE_DIB" = "yes"; then
48330 cat >>confdefs.h <<\_ACEOF
48331 #define wxUSE_WXDIB 1
48336 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48337 cat >>confdefs.h <<\_ACEOF
48338 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48343 if test "$wxUSE_UXTHEME" = "yes"; then
48344 cat >>confdefs.h <<\_ACEOF
48345 #define wxUSE_UXTHEME 1
48352 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48353 cat >>confdefs.h <<\_ACEOF
48354 #define wxUSE_AUTOID_MANAGEMENT 1
48359 if test "$USE_WIN32" = 1 ; then
48360 if test "$wxUSE_INICONF" = "yes"; then
48361 cat >>confdefs.h <<\_ACEOF
48362 #define wxUSE_INICONF 1
48367 if test "$wxUSE_REGKEY" = "yes"; then
48368 cat >>confdefs.h <<\_ACEOF
48369 #define wxUSE_REGKEY 1
48376 if test "$wxUSE_MAC" = 1; then
48377 wxUSE_GRAPHICS_CONTEXT="yes"
48380 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48382 if test "$wxUSE_MSW" = 1; then
48383 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48384 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48385 if test "${wx_cv_lib_gdiplus+set}" = set; then
48386 echo $ECHO_N "(cached) $ECHO_C" >&6
48390 ac_cpp='$CXXCPP $CPPFLAGS'
48391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48395 cat >conftest.$ac_ext <<_ACEOF
48398 cat confdefs.h >>conftest.$ac_ext
48399 cat >>conftest.$ac_ext <<_ACEOF
48400 /* end confdefs.h. */
48401 #include <windows.h>
48402 #include <gdiplus.h>
48407 using namespace Gdiplus;
48413 rm -f conftest.$ac_objext
48414 if { (ac_try="$ac_compile"
48415 case "(($ac_try" in
48416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48417 *) ac_try_echo=$ac_try;;
48419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48420 (eval "$ac_compile") 2>conftest.er1
48422 grep -v '^ *+' conftest.er1 >conftest.err
48424 cat conftest.err >&5
48425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48426 (exit $ac_status); } && {
48427 test -z "$ac_cxx_werror_flag" ||
48428 test ! -s conftest.err
48429 } && test -s conftest.$ac_objext; then
48430 wx_cv_lib_gdiplus=yes
48432 echo "$as_me: failed program was:" >&5
48433 sed 's/^/| /' conftest.$ac_ext >&5
48435 wx_cv_lib_gdiplus=no
48439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48441 ac_cpp='$CPP $CPPFLAGS'
48442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48449 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48450 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48451 if test "$wx_cv_lib_gdiplus" = "yes"; then
48454 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48457 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48458 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48460 if test -n "$PKG_CONFIG"; then
48461 if test -n "$CAIRO_CFLAGS"; then
48462 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48464 if test -n "$PKG_CONFIG" && \
48465 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48466 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48469 (exit $ac_status); }; then
48470 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48478 if test -n "$PKG_CONFIG"; then
48479 if test -n "$CAIRO_LIBS"; then
48480 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48482 if test -n "$PKG_CONFIG" && \
48483 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48484 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48487 (exit $ac_status); }; then
48488 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48499 if test $pkg_failed = yes; then
48501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48502 _pkg_short_errors_supported=yes
48504 _pkg_short_errors_supported=no
48506 if test $_pkg_short_errors_supported = yes; then
48507 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48509 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48511 # Put the nasty error message in config.log where it belongs
48512 echo "$CAIRO_PKG_ERRORS" >&5
48514 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48515 echo "$as_me: WARNING: Cairo library not found" >&2;}
48517 elif test $pkg_failed = untried; then
48518 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48519 echo "$as_me: WARNING: Cairo library not found" >&2;}
48522 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48523 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48524 { echo "$as_me:$LINENO: result: yes" >&5
48525 echo "${ECHO_T}yes" >&6; }
48528 if test "$wx_has_graphics" = 1; then
48530 LIBS="$LIBS $CAIRO_LIBS"
48532 for ac_func in cairo_push_group
48534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48538 echo $ECHO_N "(cached) $ECHO_C" >&6
48540 cat >conftest.$ac_ext <<_ACEOF
48543 cat confdefs.h >>conftest.$ac_ext
48544 cat >>conftest.$ac_ext <<_ACEOF
48545 /* end confdefs.h. */
48546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48548 #define $ac_func innocuous_$ac_func
48550 /* System header to define __stub macros and hopefully few prototypes,
48551 which can conflict with char $ac_func (); below.
48552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48553 <limits.h> exists even on freestanding compilers. */
48556 # include <limits.h>
48558 # include <assert.h>
48563 /* Override any GCC internal prototype to avoid an error.
48564 Use char because int might match the return type of a GCC
48565 builtin and then its argument prototype would still apply. */
48570 /* The GNU C library defines this for functions which it implements
48571 to always fail with ENOSYS. Some functions are actually named
48572 something starting with __ and the normal name is an alias. */
48573 #if defined __stub_$ac_func || defined __stub___$ac_func
48580 return $ac_func ();
48585 rm -f conftest.$ac_objext conftest$ac_exeext
48586 if { (ac_try="$ac_link"
48587 case "(($ac_try" in
48588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48589 *) ac_try_echo=$ac_try;;
48591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48592 (eval "$ac_link") 2>conftest.er1
48594 grep -v '^ *+' conftest.er1 >conftest.err
48596 cat conftest.err >&5
48597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48598 (exit $ac_status); } && {
48599 test -z "$ac_c_werror_flag" ||
48600 test ! -s conftest.err
48601 } && test -s conftest$ac_exeext &&
48602 $as_test_x conftest$ac_exeext; then
48603 eval "$as_ac_var=yes"
48605 echo "$as_me: failed program was:" >&5
48606 sed 's/^/| /' conftest.$ac_ext >&5
48608 eval "$as_ac_var=no"
48611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48612 conftest$ac_exeext conftest.$ac_ext
48614 ac_res=`eval echo '${'$as_ac_var'}'`
48615 { echo "$as_me:$LINENO: result: $ac_res" >&5
48616 echo "${ECHO_T}$ac_res" >&6; }
48617 if test `eval echo '${'$as_ac_var'}'` = yes; then
48618 cat >>confdefs.h <<_ACEOF
48619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48626 if test "$ac_cv_func_cairo_push_group" = "no"; then
48628 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48629 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48631 cat >>confdefs.h <<\_ACEOF
48632 #define wxUSE_CAIRO 1
48636 if test "$wxUSE_GTK" != 1; then
48637 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48638 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48646 if test "$wx_has_graphics" = 1; then
48647 cat >>confdefs.h <<\_ACEOF
48648 #define wxUSE_GRAPHICS_CONTEXT 1
48652 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48653 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48660 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48663 if test "$wxUSE_GTK" = 1; then
48664 wxUSE_GSTREAMER="no"
48666 GST_VERSION_MAJOR=0
48667 GST_VERSION_MINOR=10
48668 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48670 if test "$wxUSE_GSTREAMER8" = "no"; then
48673 { echo "$as_me:$LINENO: checking for GST" >&5
48674 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48676 if test -n "$PKG_CONFIG"; then
48677 if test -n "$GST_CFLAGS"; then
48678 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48680 if test -n "$PKG_CONFIG" && \
48681 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48682 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48685 (exit $ac_status); }; then
48686 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48694 if test -n "$PKG_CONFIG"; then
48695 if test -n "$GST_LIBS"; then
48696 pkg_cv_GST_LIBS="$GST_LIBS"
48698 if test -n "$PKG_CONFIG" && \
48699 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48700 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48703 (exit $ac_status); }; then
48704 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48715 if test $pkg_failed = yes; then
48717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48718 _pkg_short_errors_supported=yes
48720 _pkg_short_errors_supported=no
48722 if test $_pkg_short_errors_supported = yes; then
48723 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48725 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48727 # Put the nasty error message in config.log where it belongs
48728 echo "$GST_PKG_ERRORS" >&5
48731 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48732 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48733 GST_VERSION_MINOR=8
48736 elif test $pkg_failed = untried; then
48738 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48739 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48740 GST_VERSION_MINOR=8
48744 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48745 GST_LIBS=$pkg_cv_GST_LIBS
48746 { echo "$as_me:$LINENO: result: yes" >&5
48747 echo "${ECHO_T}yes" >&6; }
48749 wxUSE_GSTREAMER="yes"
48750 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48754 GST_VERSION_MINOR=8
48757 if test $GST_VERSION_MINOR = "8"; then
48758 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48761 { echo "$as_me:$LINENO: checking for GST" >&5
48762 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48764 if test -n "$PKG_CONFIG"; then
48765 if test -n "$GST_CFLAGS"; then
48766 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48768 if test -n "$PKG_CONFIG" && \
48769 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48770 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48773 (exit $ac_status); }; then
48774 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48782 if test -n "$PKG_CONFIG"; then
48783 if test -n "$GST_LIBS"; then
48784 pkg_cv_GST_LIBS="$GST_LIBS"
48786 if test -n "$PKG_CONFIG" && \
48787 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48788 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48791 (exit $ac_status); }; then
48792 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48803 if test $pkg_failed = yes; then
48805 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48806 _pkg_short_errors_supported=yes
48808 _pkg_short_errors_supported=no
48810 if test $_pkg_short_errors_supported = yes; then
48811 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48813 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48815 # Put the nasty error message in config.log where it belongs
48816 echo "$GST_PKG_ERRORS" >&5
48819 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48820 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48822 elif test $pkg_failed = untried; then
48824 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48825 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48828 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48829 GST_LIBS=$pkg_cv_GST_LIBS
48830 { echo "$as_me:$LINENO: result: yes" >&5
48831 echo "${ECHO_T}yes" >&6; }
48832 wxUSE_GSTREAMER="yes"
48837 if test "$wxUSE_GSTREAMER" = "yes"; then
48838 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48839 EXTRALIBS_MEDIA="$GST_LIBS"
48841 cat >>confdefs.h <<\_ACEOF
48842 #define wxUSE_GSTREAMER 1
48850 if test $USE_MEDIA = 1; then
48851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48852 cat >>confdefs.h <<\_ACEOF
48853 #define wxUSE_MEDIACTRL 1
48857 if test "$wxUSE_MEDIACTRL" = "yes"; then
48858 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48859 echo "$as_me: error: GStreamer not available" >&2;}
48860 { (exit 1); exit 1; }; }
48862 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48863 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48869 if test "$cross_compiling" != "no"; then
48872 OSINFO=`uname -s -r -m`
48873 OSINFO="\"$OSINFO\""
48876 cat >>confdefs.h <<_ACEOF
48877 #define WXWIN_OS_DESCRIPTION $OSINFO
48882 if test "x$prefix" != "xNONE"; then
48885 wxPREFIX=$ac_default_prefix
48888 cat >>confdefs.h <<_ACEOF
48889 #define wxINSTALL_PREFIX "$wxPREFIX"
48895 STD_BASE_LIBS="base"
48897 BUILT_WX_LIBS="base"
48898 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48900 if test "$wxUSE_SOCKETS" = "yes" ; then
48901 STD_BASE_LIBS="net $STD_BASE_LIBS"
48902 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48904 if test "$wxUSE_XML" = "yes" ; then
48905 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48906 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48909 if test "$wxUSE_GUI" = "yes"; then
48910 STD_GUI_LIBS="adv core"
48911 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48913 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48914 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48915 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48917 if test "$wxUSE_HTML" = "yes" ; then
48918 STD_GUI_LIBS="html $STD_GUI_LIBS"
48919 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48921 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48922 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48924 if test "$wxUSE_OPENGL" = "yes" ; then
48925 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48927 if test "$wxUSE_AUI" = "yes" ; then
48928 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48930 if test "$wxUSE_PROPGRID" = "yes" ; then
48931 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48933 if test "$wxUSE_RIBBON" = "yes" ; then
48934 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48936 if test "$wxUSE_RICHTEXT" = "yes" ; then
48937 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48939 if test "$wxUSE_STC" = "yes" ; then
48940 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48942 if test "$wxUSE_XRC" = "yes" ; then
48943 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48944 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48955 if test "$wxUSE_MAC" = 1 ; then
48956 if test "$USE_DARWIN" = 1; then
48957 if test "$wxUSE_OSX_IPHONE" = 1; then
48958 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48960 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48964 if test "$wxUSE_OLD_COCOA" = 1 ; then
48965 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48966 if test "$wxUSE_MEDIACTRL" = "yes"; then
48967 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48970 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48971 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48974 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48975 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48977 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48979 if test "$wxUSE_GUI" = "yes"; then
48982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48983 erase event exec font image minimal render \
48984 shaped svg taborder vscroll widgets wrapsizer"
48986 if test "$wxUSE_MONOLITHIC" != "yes"; then
48987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48989 if test "$TOOLKIT" = "MSW"; then
48990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48991 if test "$wxUSE_UNIVERSAL" != "yes"; then
48992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48995 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48999 SAMPLES_SUBDIRS="console"
49000 if test "$wxUSE_SOCKETS" = "yes" ; then
49001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49003 if test "$wxUSE_IPC" = "yes" ; then
49004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49009 if test "x$INTELCC" = "xyes" ; then
49010 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49011 elif test "$GCC" = yes ; then
49012 CWARNINGS="-Wall -Wundef"
49015 if test "x$INTELCXX" = "xyes" ; then
49016 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49017 elif test "$GXX" = yes ; then
49018 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49019 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49020 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49021 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49022 echo $ECHO_N "(cached) $ECHO_C" >&6
49024 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49027 ac_cpp='$CXXCPP $CPPFLAGS'
49028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49032 ac_save_CXXFLAGS="$CXXFLAGS"
49033 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49034 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49035 cat >conftest.$ac_ext <<_ACEOF
49038 cat confdefs.h >>conftest.$ac_ext
49039 cat >>conftest.$ac_ext <<_ACEOF
49040 /* end confdefs.h. */
49050 rm -f conftest.$ac_objext
49051 if { (ac_try="$ac_compile"
49052 case "(($ac_try" in
49053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49054 *) ac_try_echo=$ac_try;;
49056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49057 (eval "$ac_compile") 2>conftest.er1
49059 grep -v '^ *+' conftest.er1 >conftest.err
49061 cat conftest.err >&5
49062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49063 (exit $ac_status); } && {
49064 test -z "$ac_cxx_werror_flag" ||
49065 test ! -s conftest.err
49066 } && test -s conftest.$ac_objext; then
49067 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49069 echo "$as_me: failed program was:" >&5
49070 sed 's/^/| /' conftest.$ac_ext >&5
49075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49077 CXXFLAGS="$ac_save_CXXFLAGS"
49079 ac_cpp='$CPP $CPPFLAGS'
49080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49086 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49087 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49088 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49092 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49093 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49094 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49097 (exit $ac_status); }
49098 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49099 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49102 (exit $ac_status); }
49103 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49109 if test "$wxUSE_MAC" = 1 ; then
49110 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49115 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49116 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49119 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49120 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49121 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49124 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49125 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49126 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49127 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49128 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49130 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49133 if test "x$MWCC" = "xyes"; then
49135 CC="$CC -cwd source -I-"
49136 CXX="$CXX -cwd source -I-"
49141 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49142 EXTRALIBS_XML="$EXPAT_LINK"
49143 EXTRALIBS_HTML="$MSPACK_LINK"
49144 EXTRALIBS_MEDIA="$GST_LIBS"
49145 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49146 if test "$wxUSE_GUI" = "yes"; then
49147 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49149 if test "$wxUSE_OPENGL" = "yes"; then
49150 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49153 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49155 WXCONFIG_LIBS="$LIBS"
49157 if test "$wxUSE_REGEX" = "builtin" ; then
49158 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49160 if test "$wxUSE_EXPAT" = "builtin" ; then
49161 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49163 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49164 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49166 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49167 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49169 if test "$wxUSE_LIBPNG" = "builtin" ; then
49170 wxconfig_3rdparty="png $wxconfig_3rdparty"
49172 if test "$wxUSE_ZLIB" = "builtin" ; then
49173 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49176 for i in $wxconfig_3rdparty ; do
49177 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49181 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49184 case "$wxUNIV_THEMES" in
49186 cat >>confdefs.h <<\_ACEOF
49187 #define wxUSE_ALL_THEMES 1
49193 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49194 cat >>confdefs.h <<_ACEOF
49195 #define wxUSE_THEME_$t 1
49211 if test $wxUSE_MONOLITHIC = "yes" ; then
49217 if test $wxUSE_PLUGINS = "yes" ; then
49223 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49229 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49261 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49274 TOOLKIT_DESC="GTK+"
49275 if test "$WXGTK2" = 1; then
49276 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49277 if test "$wxUSE_GTKPRINT" = "yes" ; then
49278 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49280 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49281 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49283 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49284 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49286 if test "$wxUSE_LIBHILDON" = "yes"; then
49287 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49289 if test "$wxUSE_LIBHILDON2" = "yes"; then
49290 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49293 if test "$TOOLKIT_EXTRA" != ""; then
49294 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49300 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49304 TOOLKIT_DESC="base only"
49308 if test "$wxUSE_WINE" = "yes"; then
49309 BAKEFILE_FORCE_PLATFORM=win32
49312 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49314 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49315 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49316 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49317 echo $ECHO_N "(cached) $ECHO_C" >&6
49320 echo '#include <stdio.h>
49321 const wchar_t test_var[] = L"awidetest";' > conftest.h
49323 echo '#include "conftest.h"
49326 printf("%ls", test_var);
49330 wx_cv_gcc_pch_bug="pch not supported"
49332 if $CXX conftest.h >/dev/null 2>&1
49336 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49338 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49339 grep awidetest >/dev/null
49341 wx_cv_gcc_pch_bug=no
49343 wx_cv_gcc_pch_bug=yes
49348 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49351 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49352 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49354 if test "$wx_cv_gcc_pch_bug" = yes; then
49365 if test "x$BAKEFILE_HOST" = "x"; then
49366 if test "x${host}" = "x" ; then
49367 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49368 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49369 { (exit 1); exit 1; }; }
49372 BAKEFILE_HOST="${host}"
49375 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49377 if test -n "$ac_tool_prefix"; then
49378 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49379 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49382 if test "${ac_cv_prog_RANLIB+set}" = set; then
49383 echo $ECHO_N "(cached) $ECHO_C" >&6
49385 if test -n "$RANLIB"; then
49386 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49389 for as_dir in $PATH
49392 test -z "$as_dir" && as_dir=.
49393 for ac_exec_ext in '' $ac_executable_extensions; do
49394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49395 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49405 RANLIB=$ac_cv_prog_RANLIB
49406 if test -n "$RANLIB"; then
49407 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49408 echo "${ECHO_T}$RANLIB" >&6; }
49410 { echo "$as_me:$LINENO: result: no" >&5
49411 echo "${ECHO_T}no" >&6; }
49416 if test -z "$ac_cv_prog_RANLIB"; then
49417 ac_ct_RANLIB=$RANLIB
49418 # Extract the first word of "ranlib", so it can be a program name with args.
49419 set dummy ranlib; ac_word=$2
49420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49422 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49423 echo $ECHO_N "(cached) $ECHO_C" >&6
49425 if test -n "$ac_ct_RANLIB"; then
49426 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49429 for as_dir in $PATH
49432 test -z "$as_dir" && as_dir=.
49433 for ac_exec_ext in '' $ac_executable_extensions; do
49434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49435 ac_cv_prog_ac_ct_RANLIB="ranlib"
49436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49445 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49446 if test -n "$ac_ct_RANLIB"; then
49447 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49448 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49450 { echo "$as_me:$LINENO: result: no" >&5
49451 echo "${ECHO_T}no" >&6; }
49454 if test "x$ac_ct_RANLIB" = x; then
49457 case $cross_compiling:$ac_tool_warned in
49459 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49460 whose name does not start with the host triplet. If you think this
49461 configuration is useful to you, please write to autoconf@gnu.org." >&5
49462 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49463 whose name does not start with the host triplet. If you think this
49464 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49465 ac_tool_warned=yes ;;
49467 RANLIB=$ac_ct_RANLIB
49470 RANLIB="$ac_cv_prog_RANLIB"
49473 # Find a good install program. We prefer a C program (faster),
49474 # so one script is as good as another. But avoid the broken or
49475 # incompatible versions:
49476 # SysV /etc/install, /usr/sbin/install
49477 # SunOS /usr/etc/install
49478 # IRIX /sbin/install
49480 # AmigaOS /C/install, which installs bootblocks on floppy discs
49481 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49482 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49483 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49484 # OS/2's system install, which has a completely different semantic
49485 # ./install, which can be erroneously created by make from ./install.sh.
49486 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49487 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49488 if test -z "$INSTALL"; then
49489 if test "${ac_cv_path_install+set}" = set; then
49490 echo $ECHO_N "(cached) $ECHO_C" >&6
49492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49493 for as_dir in $PATH
49496 test -z "$as_dir" && as_dir=.
49497 # Account for people who put trailing slashes in PATH elements.
49499 ./ | .// | /cC/* | \
49500 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49501 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49504 # OSF1 and SCO ODT 3.0 have their own names for install.
49505 # Don't use installbsd from OSF since it installs stuff as root
49507 for ac_prog in ginstall scoinst install; do
49508 for ac_exec_ext in '' $ac_executable_extensions; do
49509 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49510 if test $ac_prog = install &&
49511 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49512 # AIX install. It has an incompatible calling convention.
49514 elif test $ac_prog = install &&
49515 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49516 # program-specific install script used by HP pwplus--don't use.
49519 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49532 if test "${ac_cv_path_install+set}" = set; then
49533 INSTALL=$ac_cv_path_install
49535 # As a last resort, use the slow shell script. Don't cache a
49536 # value for INSTALL within a source directory, because that will
49537 # break other packages using the cache if that directory is
49538 # removed, or if the value is a relative name.
49539 INSTALL=$ac_install_sh
49542 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49543 echo "${ECHO_T}$INSTALL" >&6; }
49545 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49546 # It thinks the first close brace ends the variable substitution.
49547 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49549 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49551 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49553 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49554 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49556 if test "$LN_S" = "ln -s"; then
49557 { echo "$as_me:$LINENO: result: yes" >&5
49558 echo "${ECHO_T}yes" >&6; }
49560 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49561 echo "${ECHO_T}no, using $LN_S" >&6; }
49565 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49566 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49567 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49568 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49569 echo $ECHO_N "(cached) $ECHO_C" >&6
49571 cat >conftest.make <<\_ACEOF
49574 @echo '@@@%%%=$(MAKE)=@@@%%%'
49576 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49577 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49578 *@@@%%%=?*=@@@%%%*)
49579 eval ac_cv_prog_make_${ac_make}_set=yes;;
49581 eval ac_cv_prog_make_${ac_make}_set=no;;
49583 rm -f conftest.make
49585 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49586 { echo "$as_me:$LINENO: result: yes" >&5
49587 echo "${ECHO_T}yes" >&6; }
49590 { echo "$as_me:$LINENO: result: no" >&5
49591 echo "${ECHO_T}no" >&6; }
49592 SET_MAKE="MAKE=${MAKE-make}"
49597 if test "x$SUNCXX" = "xyes"; then
49599 AROPTIONS="-xar -o"
49601 elif test "x$SGICC" = "xyes"; then
49606 if test -n "$ac_tool_prefix"; then
49607 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49608 set dummy ${ac_tool_prefix}ar; ac_word=$2
49609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49611 if test "${ac_cv_prog_AR+set}" = set; then
49612 echo $ECHO_N "(cached) $ECHO_C" >&6
49614 if test -n "$AR"; then
49615 ac_cv_prog_AR="$AR" # Let the user override the test.
49617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49618 for as_dir in $PATH
49621 test -z "$as_dir" && as_dir=.
49622 for ac_exec_ext in '' $ac_executable_extensions; do
49623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49624 ac_cv_prog_AR="${ac_tool_prefix}ar"
49625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49635 if test -n "$AR"; then
49636 { echo "$as_me:$LINENO: result: $AR" >&5
49637 echo "${ECHO_T}$AR" >&6; }
49639 { echo "$as_me:$LINENO: result: no" >&5
49640 echo "${ECHO_T}no" >&6; }
49645 if test -z "$ac_cv_prog_AR"; then
49647 # Extract the first word of "ar", so it can be a program name with args.
49648 set dummy ar; ac_word=$2
49649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49651 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49652 echo $ECHO_N "(cached) $ECHO_C" >&6
49654 if test -n "$ac_ct_AR"; then
49655 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49658 for as_dir in $PATH
49661 test -z "$as_dir" && as_dir=.
49662 for ac_exec_ext in '' $ac_executable_extensions; do
49663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49664 ac_cv_prog_ac_ct_AR="ar"
49665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49674 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49675 if test -n "$ac_ct_AR"; then
49676 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49677 echo "${ECHO_T}$ac_ct_AR" >&6; }
49679 { echo "$as_me:$LINENO: result: no" >&5
49680 echo "${ECHO_T}no" >&6; }
49683 if test "x$ac_ct_AR" = x; then
49686 case $cross_compiling:$ac_tool_warned in
49688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49689 whose name does not start with the host triplet. If you think this
49690 configuration is useful to you, please write to autoconf@gnu.org." >&5
49691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49692 whose name does not start with the host triplet. If you think this
49693 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49694 ac_tool_warned=yes ;;
49699 AR="$ac_cv_prog_AR"
49706 if test -n "$ac_tool_prefix"; then
49707 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49708 set dummy ${ac_tool_prefix}strip; ac_word=$2
49709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49711 if test "${ac_cv_prog_STRIP+set}" = set; then
49712 echo $ECHO_N "(cached) $ECHO_C" >&6
49714 if test -n "$STRIP"; then
49715 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49718 for as_dir in $PATH
49721 test -z "$as_dir" && as_dir=.
49722 for ac_exec_ext in '' $ac_executable_extensions; do
49723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49724 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49734 STRIP=$ac_cv_prog_STRIP
49735 if test -n "$STRIP"; then
49736 { echo "$as_me:$LINENO: result: $STRIP" >&5
49737 echo "${ECHO_T}$STRIP" >&6; }
49739 { echo "$as_me:$LINENO: result: no" >&5
49740 echo "${ECHO_T}no" >&6; }
49745 if test -z "$ac_cv_prog_STRIP"; then
49747 # Extract the first word of "strip", so it can be a program name with args.
49748 set dummy strip; ac_word=$2
49749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49751 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49752 echo $ECHO_N "(cached) $ECHO_C" >&6
49754 if test -n "$ac_ct_STRIP"; then
49755 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49758 for as_dir in $PATH
49761 test -z "$as_dir" && as_dir=.
49762 for ac_exec_ext in '' $ac_executable_extensions; do
49763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49764 ac_cv_prog_ac_ct_STRIP="strip"
49765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49774 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49775 if test -n "$ac_ct_STRIP"; then
49776 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49777 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49779 { echo "$as_me:$LINENO: result: no" >&5
49780 echo "${ECHO_T}no" >&6; }
49783 if test "x$ac_ct_STRIP" = x; then
49786 case $cross_compiling:$ac_tool_warned in
49788 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49789 whose name does not start with the host triplet. If you think this
49790 configuration is useful to you, please write to autoconf@gnu.org." >&5
49791 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49792 whose name does not start with the host triplet. If you think this
49793 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49794 ac_tool_warned=yes ;;
49799 STRIP="$ac_cv_prog_STRIP"
49802 if test -n "$ac_tool_prefix"; then
49803 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49804 set dummy ${ac_tool_prefix}nm; ac_word=$2
49805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49807 if test "${ac_cv_prog_NM+set}" = set; then
49808 echo $ECHO_N "(cached) $ECHO_C" >&6
49810 if test -n "$NM"; then
49811 ac_cv_prog_NM="$NM" # Let the user override the test.
49813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49814 for as_dir in $PATH
49817 test -z "$as_dir" && as_dir=.
49818 for ac_exec_ext in '' $ac_executable_extensions; do
49819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49820 ac_cv_prog_NM="${ac_tool_prefix}nm"
49821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49831 if test -n "$NM"; then
49832 { echo "$as_me:$LINENO: result: $NM" >&5
49833 echo "${ECHO_T}$NM" >&6; }
49835 { echo "$as_me:$LINENO: result: no" >&5
49836 echo "${ECHO_T}no" >&6; }
49841 if test -z "$ac_cv_prog_NM"; then
49843 # Extract the first word of "nm", so it can be a program name with args.
49844 set dummy nm; ac_word=$2
49845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49847 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49848 echo $ECHO_N "(cached) $ECHO_C" >&6
49850 if test -n "$ac_ct_NM"; then
49851 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49854 for as_dir in $PATH
49857 test -z "$as_dir" && as_dir=.
49858 for ac_exec_ext in '' $ac_executable_extensions; do
49859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49860 ac_cv_prog_ac_ct_NM="nm"
49861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49870 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49871 if test -n "$ac_ct_NM"; then
49872 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49873 echo "${ECHO_T}$ac_ct_NM" >&6; }
49875 { echo "$as_me:$LINENO: result: no" >&5
49876 echo "${ECHO_T}no" >&6; }
49879 if test "x$ac_ct_NM" = x; then
49882 case $cross_compiling:$ac_tool_warned in
49884 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49885 whose name does not start with the host triplet. If you think this
49886 configuration is useful to you, please write to autoconf@gnu.org." >&5
49887 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49888 whose name does not start with the host triplet. If you think this
49889 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49890 ac_tool_warned=yes ;;
49895 NM="$ac_cv_prog_NM"
49899 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49900 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49901 INSTALL_TEST_DIR=acbftest$$
49902 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49903 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49904 rmdir $INSTALL_TEST_DIR
49905 INSTALL_DIR='$(INSTALL) -d'
49906 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49907 echo "${ECHO_T}$INSTALL -d" >&6; }
49909 INSTALL_DIR="mkdir -p"
49910 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49911 echo "${ECHO_T}mkdir -p" >&6; }
49916 case ${BAKEFILE_HOST} in
49917 *-*-cygwin* | *-*-mingw32* )
49918 LDFLAGS_GUI="-mwindows"
49924 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49925 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49926 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49930 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49931 egrep -s GNU > /dev/null); then
49932 bakefile_cv_prog_makeisgnu="yes"
49934 bakefile_cv_prog_makeisgnu="no"
49938 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49939 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49941 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49958 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49959 case "${BAKEFILE_HOST}" in
49966 *-pc-os2_emx | *-pc-os2-emx )
49976 powerpc-apple-macos* )
49985 case "$BAKEFILE_FORCE_PLATFORM" in
50006 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50007 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50008 { (exit 1); exit 1; }; }
50023 # Check whether --enable-omf was given.
50024 if test "${enable_omf+set}" = set; then
50025 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50029 case "${BAKEFILE_HOST}" in
50031 if test "x$GCC" = "xyes"; then
50032 CFLAGS="$CFLAGS -fno-common"
50033 CXXFLAGS="$CXXFLAGS -fno-common"
50035 if test "x$XLCC" = "xyes"; then
50036 CFLAGS="$CFLAGS -qnocommon"
50037 CXXFLAGS="$CXXFLAGS -qnocommon"
50041 *-pc-os2_emx | *-pc-os2-emx )
50042 if test "x$bk_os2_use_omf" = "xyes" ; then
50045 LDFLAGS="-Zomf $LDFLAGS"
50046 CFLAGS="-Zomf $CFLAGS"
50047 CXXFLAGS="-Zomf $CXXFLAGS"
50055 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50061 SO_SUFFIX_MODULE="so"
50066 DLLPREFIX_MODULE=""
50070 case "${BAKEFILE_HOST}" in
50075 SO_SUFFIX_MODULE="sl"
50079 SO_SUFFIX_MODULE="a"
50083 SO_SUFFIX_MODULE="dll"
50084 DLLIMP_SUFFIX="dll.a"
50091 SO_SUFFIX_MODULE="dll"
50092 DLLIMP_SUFFIX="dll.a"
50102 *-pc-os2_emx | *-pc-os2-emx )
50104 SO_SUFFIX_MODULE="dll"
50105 DLLIMP_SUFFIX=$OS2_LIBEXT
50109 LIBEXT=".$OS2_LIBEXT"
50114 SO_SUFFIX_MODULE="bundle"
50118 if test "x$DLLIMP_SUFFIX" = "x" ; then
50119 DLLIMP_SUFFIX="$SO_SUFFIX"
50134 if test "x$GCC" = "xyes"; then
50138 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50139 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50142 case "${BAKEFILE_HOST}" in
50144 if test "x$GCC" != "xyes"; then
50145 LDFLAGS="$LDFLAGS -L/usr/lib"
50147 SHARED_LD_CC="${CC} -b -o"
50148 SHARED_LD_CXX="${CXX} -b -o"
50154 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50156 elif test "x$SUNCXX" = "xyes"; then
50157 SHARED_LD_CC="${CC} -G -o"
50158 SHARED_LD_CXX="${CXX} -G -o"
50164 if test "x$SUNCXX" = xyes ; then
50165 SHARED_LD_CC="${CC} -G -o"
50166 SHARED_LD_CXX="${CXX} -G -o"
50174 cat <<EOF >shared-ld-sh
50176 #-----------------------------------------------------------------------------
50177 #-- Name: distrib/mac/shared-ld-sh
50178 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50179 #-- Author: Gilles Depeyrot
50180 #-- Copyright: (c) 2002 Gilles Depeyrot
50181 #-- Licence: any use permitted
50182 #-----------------------------------------------------------------------------
50187 linking_flag="-dynamiclib"
50188 ldargs="-r -keep_private_externs -nostdlib"
50190 if test "x${D}CXX" = "x"; then
50194 while test ${D}# -gt 0; do
50201 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50202 # collect these options and values
50203 args="${D}{args} ${D}1 ${D}2"
50208 # collect these options and values
50209 ldargs="${D}{ldargs} ${D}1 ${D}2"
50214 # collect these load args
50215 ldargs="${D}{ldargs} ${D}1"
50218 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50219 # collect these options
50220 args="${D}{args} ${D}1"
50223 -dynamiclib|-bundle)
50224 linking_flag="${D}1"
50228 echo "shared-ld: unhandled option '${D}1'"
50232 *.o | *.a | *.dylib)
50233 # collect object files
50234 objects="${D}{objects} ${D}1"
50238 echo "shared-ld: unhandled argument '${D}1'"
50249 # Link one module containing all the others
50251 if test ${D}{verbose} = 1; then
50252 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50254 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50258 # Link the shared library from the single module created, but only if the
50259 # previous command didn't fail:
50261 if test ${D}{status} = 0; then
50262 if test ${D}{verbose} = 1; then
50263 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50265 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50270 # Remove intermediate module
50272 rm -f master.${D}${D}.o
50277 chmod +x shared-ld-sh
50279 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50280 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50283 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50284 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50285 if test "${bakefile_cv_gcc31+set}" = set; then
50286 echo $ECHO_N "(cached) $ECHO_C" >&6
50289 cat >conftest.$ac_ext <<_ACEOF
50292 cat confdefs.h >>conftest.$ac_ext
50293 cat >>conftest.$ac_ext <<_ACEOF
50294 /* end confdefs.h. */
50300 #if (__GNUC__ < 3) || \
50301 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50309 rm -f conftest.$ac_objext
50310 if { (ac_try="$ac_compile"
50311 case "(($ac_try" in
50312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50313 *) ac_try_echo=$ac_try;;
50315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50316 (eval "$ac_compile") 2>conftest.er1
50318 grep -v '^ *+' conftest.er1 >conftest.err
50320 cat conftest.err >&5
50321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50322 (exit $ac_status); } && {
50323 test -z "$ac_c_werror_flag" ||
50324 test ! -s conftest.err
50325 } && test -s conftest.$ac_objext; then
50327 bakefile_cv_gcc31=yes
50330 echo "$as_me: failed program was:" >&5
50331 sed 's/^/| /' conftest.$ac_ext >&5
50334 bakefile_cv_gcc31=no
50339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50342 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50343 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50344 if test "$bakefile_cv_gcc31" = "no"; then
50345 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50346 SHARED_LD_CXX="$SHARED_LD_CC"
50348 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50349 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50352 if test "x$GCC" == "xyes"; then
50353 PIC_FLAG="-dynamic -fPIC"
50355 if test "x$XLCC" = "xyes"; then
50356 PIC_FLAG="-dynamic -DPIC"
50361 if test "x$GCC" = "xyes"; then
50364 case "${BAKEFILE_HOST}" in
50366 LD_EXPFULL="-Wl,-bexpfull"
50370 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50371 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50373 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50374 set dummy makeC++SharedLib; ac_word=$2
50375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50377 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50378 echo $ECHO_N "(cached) $ECHO_C" >&6
50380 if test -n "$AIX_CXX_LD"; then
50381 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50384 for as_dir in $PATH
50387 test -z "$as_dir" && as_dir=.
50388 for ac_exec_ext in '' $ac_executable_extensions; do
50389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50390 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50398 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50401 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50402 if test -n "$AIX_CXX_LD"; then
50403 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50404 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50406 { echo "$as_me:$LINENO: result: no" >&5
50407 echo "${ECHO_T}no" >&6; }
50411 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50412 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50417 SHARED_LD_CC="${LD} -nostart -o"
50418 SHARED_LD_CXX="${LD} -nostart -o"
50422 if test "x$GCC" != "xyes"; then
50427 *-*-cygwin* | *-*-mingw32* )
50429 SHARED_LD_CC="\$(CC) -shared -o"
50430 SHARED_LD_CXX="\$(CXX) -shared -o"
50434 *-pc-os2_emx | *-pc-os2-emx )
50435 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50436 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50440 cat <<EOF >dllar.sh
50443 # dllar - a tool to build both a .dll and an .a file
50444 # from a set of object (.o) files for EMX/OS2.
50446 # Written by Andrew Zabolotny, bit@freya.etu.ru
50447 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50449 # This script will accept a set of files on the command line.
50450 # All the public symbols from the .o files will be exported into
50451 # a .DEF file, then linker will be run (through gcc) against them to
50452 # build a shared library consisting of all given .o files. All libraries
50453 # (.a) will be first decompressed into component .o files then act as
50454 # described above. You can optionally give a description (-d "description")
50455 # which will be put into .DLL. To see the list of accepted options (as well
50456 # as command-line format) simply run this program without options. The .DLL
50457 # is built to be imported by name (there is no guarantee that new versions
50458 # of the library you build will have same ordinals for same symbols).
50460 # dllar is free software; you can redistribute it and/or modify
50461 # it under the terms of the GNU General Public License as published by
50462 # the Free Software Foundation; either version 2, or (at your option)
50463 # any later version.
50465 # dllar is distributed in the hope that it will be useful,
50466 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50467 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50468 # GNU General Public License for more details.
50470 # You should have received a copy of the GNU General Public License
50471 # along with dllar; see the file COPYING. If not, write to the Free
50472 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50475 # To successfuly run this program you will need:
50476 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50477 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50479 # (used to build the .dll)
50481 # (used to create .def file from .o files)
50483 # (used to create .a file from .def file)
50484 # - GNU text utilites (cat, sort, uniq)
50485 # used to process emxexp output
50486 # - GNU file utilities (mv, rm)
50488 # - lxlite (optional, see flag below)
50489 # (used for general .dll cleanup)
50496 # basnam, variant of basename, which does _not_ remove the path, _iff_
50497 # second argument (suffix to remove) is given
50501 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50504 echo ${D}1 | sed 's/'${D}2'${D}//'
50507 echo "error in basnam ${D}*"
50513 # Cleanup temporary files and output
50516 for i in ${D}inputFiles ; do
50519 rm -rf \`basnam ${D}i !\`
50526 # Kill result in case of failure as there is just to many stupid make/nmake
50527 # things out there which doesn't do this.
50528 if [ ${D}# -eq 0 ]; then
50529 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50533 # Print usage and exit script with rc=1.
50535 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50536 echo ' [-name-mangler-script script.sh]'
50537 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50538 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50539 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50540 echo ' [*.o] [*.a]'
50541 echo '*> "output_file" should have no extension.'
50542 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50543 echo ' The import library name is derived from this and is set to "name".a,'
50544 echo ' unless overridden by -import'
50545 echo '*> "importlib_name" should have no extension.'
50546 echo ' If it has the .o, or .a extension, it is automatically removed.'
50547 echo ' This name is used as the import library name and may be longer and'
50548 echo ' more descriptive than the DLL name which has to follow the old '
50549 echo ' 8.3 convention of FAT.'
50550 echo '*> "script.sh may be given to override the output_file name by a'
50551 echo ' different name. It is mainly useful if the regular make process'
50552 echo ' of some package does not take into account OS/2 restriction of'
50553 echo ' DLL name lengths. It takes the importlib name as input and is'
50554 echo ' supposed to procude a shorter name as output. The script should'
50555 echo ' expect to get importlib_name without extension and should produce'
50556 echo ' a (max.) 8 letter name without extension.'
50557 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50558 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50559 echo ' These flags will be put at the start of GCC command line.'
50560 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50561 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50562 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50563 echo ' If the last character of a symbol is "*", all symbols beginning'
50564 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50565 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50566 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50567 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50568 echo ' C runtime DLLs.'
50569 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50570 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50571 echo ' unchanged to GCC at the end of command line.'
50572 echo '*> If you create a DLL from a library and you do not specify -o,'
50573 echo ' the basename for DLL and import library will be set to library name,'
50574 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50575 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50576 echo ' library will be renamed into gcc_s.a.'
50579 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50580 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50585 # Execute a command.
50586 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50587 # @Uses Whatever CleanUp() uses.
50593 if [ ${D}rcCmd -ne 0 ]; then
50594 echo "command failed, exit code="${D}rcCmd
50609 CFLAGS="-s -Zcrtdll"
50611 EXPORT_BY_ORDINALS=0
50616 case ${D}curDirS in
50620 curDirS=${D}{curDirS}"/"
50623 # Parse commandline
50626 while [ ${D}1 ]; do
50629 EXPORT_BY_ORDINALS=1;
50639 -name-mangler-script)
50660 exclude_symbols=${D}{exclude_symbols}${D}1" "
50664 library_flags=${D}{library_flags}${D}1" "
50683 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50686 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50687 if [ ${D}omfLinking -eq 1 ]; then
50688 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50690 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50695 if [ ${D}libsToLink -ne 0 ]; then
50696 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50698 for file in ${D}1 ; do
50699 if [ -f ${D}file ]; then
50700 inputFiles="${D}{inputFiles} ${D}file"
50704 if [ ${D}found -eq 0 ]; then
50705 echo "ERROR: No file(s) found: "${D}1
50712 done # iterate cmdline words
50715 if [ -z "${D}inputFiles" ]; then
50716 echo "dllar: no input files"
50720 # Now extract all .o files from .a files
50722 for file in ${D}inputFiles ; do
50733 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50738 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50740 if [ ${D}? -ne 0 ]; then
50741 echo "Failed to create subdirectory ./${D}dirname"
50745 # Append '!' to indicate archive
50746 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50747 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50750 for subfile in ${D}dirname/*.o* ; do
50751 if [ -f ${D}subfile ]; then
50753 if [ -s ${D}subfile ]; then
50754 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50755 newInputFiles="${D}newInputFiles ${D}subfile"
50759 if [ ${D}found -eq 0 ]; then
50760 echo "WARNING: there are no files in archive \\'${D}file\\'"
50764 newInputFiles="${D}{newInputFiles} ${D}file"
50768 inputFiles="${D}newInputFiles"
50770 # Output filename(s).
50772 if [ -z ${D}outFile ]; then
50774 set outFile ${D}inputFiles; outFile=${D}2
50777 # If it is an archive, remove the '!' and the '_%' suffixes
50778 case ${D}outFile in
50780 outFile=\`basnam ${D}outFile _%!\`
50785 case ${D}outFile in
50787 outFile=\`basnam ${D}outFile .dll\`
50790 outFile=\`basnam ${D}outFile .DLL\`
50793 outFile=\`basnam ${D}outFile .o\`
50796 outFile=\`basnam ${D}outFile .obj\`
50799 outFile=\`basnam ${D}outFile .a\`
50802 outFile=\`basnam ${D}outFile .lib\`
50807 case ${D}outimpFile in
50809 outimpFile=\`basnam ${D}outimpFile .a\`
50812 outimpFile=\`basnam ${D}outimpFile .lib\`
50817 if [ -z ${D}outimpFile ]; then
50818 outimpFile=${D}outFile
50820 defFile="${D}{outFile}.def"
50821 arcFile="${D}{outimpFile}.a"
50822 arcFile2="${D}{outimpFile}.lib"
50824 #create ${D}dllFile as something matching 8.3 restrictions,
50825 if [ -z ${D}renameScript ] ; then
50826 dllFile="${D}outFile"
50828 dllFile=\`${D}renameScript ${D}outimpFile\`
50831 if [ ${D}do_backup -ne 0 ] ; then
50832 if [ -f ${D}arcFile ] ; then
50833 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50835 if [ -f ${D}arcFile2 ] ; then
50836 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50840 # Extract public symbols from all the object files.
50841 tmpdefFile=${D}{defFile}_%
50842 rm -f ${D}tmpdefFile
50843 for file in ${D}inputFiles ; do
50848 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50853 # Create the def file.
50855 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50856 dllFile="${D}{dllFile}.dll"
50857 if [ ! -z ${D}description ]; then
50858 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50860 echo "EXPORTS" >> ${D}defFile
50862 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50863 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50865 # Checks if the export is ok or not.
50866 for word in ${D}exclude_symbols; do
50867 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50868 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50872 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50873 sed "=" < ${D}tmpdefFile | \\
50877 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50879 ' > ${D}{tmpdefFile}%
50880 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50882 rm -f ${D}{tmpdefFile}%
50884 cat ${D}tmpdefFile >> ${D}defFile
50885 rm -f ${D}tmpdefFile
50887 # Do linking, create implib, and apply lxlite.
50889 for file in ${D}inputFiles ; do
50894 gccCmdl="${D}gccCmdl ${D}file"
50898 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50899 touch "${D}{outFile}.dll"
50901 doCommand "emximp -o ${D}arcFile ${D}defFile"
50902 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50904 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50907 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50909 doCommand "emxomf -s -l ${D}arcFile"
50919 powerpc-apple-macos* | \
50920 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50930 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50931 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50932 { (exit 1); exit 1; }; }
50935 if test "x$PIC_FLAG" != "x" ; then
50936 PIC_FLAG="$PIC_FLAG -DPIC"
50939 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50940 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50942 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50943 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50958 USE_SOTWOSYMLINKS=0
50962 case "${BAKEFILE_HOST}" in
50963 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50964 *-*-k*bsd*-gnu | *-*-mirbsd* )
50965 if test "x$SUNCXX" = "xyes"; then
50968 SONAME_FLAG="-Wl,-soname,"
50972 USE_SOTWOSYMLINKS=1
50984 USE_SOTWOSYMLINKS=1
51002 # Check whether --enable-dependency-tracking was given.
51003 if test "${enable_dependency_tracking+set}" = set; then
51004 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51008 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51009 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51012 if test "x$bk_use_trackdeps" = "xno" ; then
51014 { echo "$as_me:$LINENO: result: disabled" >&5
51015 echo "${ECHO_T}disabled" >&6; }
51019 if test "x$GCC" = "xyes"; then
51021 case "${BAKEFILE_HOST}" in
51023 DEPSFLAG="-no-cpp-precomp -MMD"
51029 { echo "$as_me:$LINENO: result: gcc" >&5
51030 echo "${ECHO_T}gcc" >&6; }
51031 elif test "x$MWCC" = "xyes"; then
51034 { echo "$as_me:$LINENO: result: mwcc" >&5
51035 echo "${ECHO_T}mwcc" >&6; }
51036 elif test "x$SUNCC" = "xyes"; then
51039 { echo "$as_me:$LINENO: result: Sun cc" >&5
51040 echo "${ECHO_T}Sun cc" >&6; }
51041 elif test "x$SGICC" = "xyes"; then
51044 { echo "$as_me:$LINENO: result: SGI cc" >&5
51045 echo "${ECHO_T}SGI cc" >&6; }
51046 elif test "x$HPCC" = "xyes"; then
51049 { echo "$as_me:$LINENO: result: HP cc" >&5
51050 echo "${ECHO_T}HP cc" >&6; }
51051 elif test "x$COMPAQCC" = "xyes"; then
51054 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51055 echo "${ECHO_T}Compaq cc" >&6; }
51058 { echo "$as_me:$LINENO: result: none" >&5
51059 echo "${ECHO_T}none" >&6; }
51062 if test $DEPS_TRACKING = 1 ; then
51068 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51069 # script. It is used to track C/C++ files dependencies in portable way.
51071 # Permission is given to use this file in any way.
51073 DEPSMODE=${DEPSMODE}
51074 DEPSFLAG="${DEPSFLAG}"
51077 if test ${D}DEPSMODE = gcc ; then
51078 ${D}* ${D}{DEPSFLAG}
51081 # determine location of created files:
51082 while test ${D}# -gt 0; do
51096 objfilebase=\`basename ${D}objfile\`
51097 builddir=\`dirname ${D}objfile\`
51098 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51099 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51100 depsdir=${D}builddir/${D}DEPSDIRBASE
51101 mkdir -p ${D}depsdir
51103 # if the compiler failed, we're done:
51104 if test ${D}{status} != 0 ; then
51109 # move created file to the location we want it in:
51110 if test -f ${D}depfile ; then
51111 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51114 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51115 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51116 if test ! -f ${D}depfile ; then
51117 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51118 depfile="${D}objfile.d"
51120 if test -f ${D}depfile ; then
51121 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51127 elif test ${D}DEPSMODE = mwcc ; then
51128 ${D}* || exit ${D}?
51129 # Run mwcc again with -MM and redirect into the dep file we want
51130 # NOTE: We can't use shift here because we need ${D}* to be valid
51132 for arg in ${D}* ; do
51133 if test "${D}prevarg" = "-o"; then
51147 objfilebase=\`basename ${D}objfile\`
51148 builddir=\`dirname ${D}objfile\`
51149 depsdir=${D}builddir/${D}DEPSDIRBASE
51150 mkdir -p ${D}depsdir
51152 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51155 elif test ${D}DEPSMODE = unixcc; then
51156 ${D}* || exit ${D}?
51157 # Run compiler again with deps flag and redirect into the dep file.
51158 # It doesn't work if the '-o FILE' option is used, but without it the
51159 # dependency file will contain the wrong name for the object. So it is
51160 # removed from the command line, and the dep file is fixed with sed.
51162 while test ${D}# -gt 0; do
51169 eval arg${D}#=\\${D}1
51170 cmd="${D}cmd \\${D}arg${D}#"
51176 objfilebase=\`basename ${D}objfile\`
51177 builddir=\`dirname ${D}objfile\`
51178 depsdir=${D}builddir/${D}DEPSDIRBASE
51179 mkdir -p ${D}depsdir
51181 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51191 BK_DEPS="`pwd`/bk-deps"
51199 case ${BAKEFILE_HOST} in
51200 *-*-cygwin* | *-*-mingw32* )
51201 if test -n "$ac_tool_prefix"; then
51202 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51203 set dummy ${ac_tool_prefix}windres; ac_word=$2
51204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51206 if test "${ac_cv_prog_WINDRES+set}" = set; then
51207 echo $ECHO_N "(cached) $ECHO_C" >&6
51209 if test -n "$WINDRES"; then
51210 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51213 for as_dir in $PATH
51216 test -z "$as_dir" && as_dir=.
51217 for ac_exec_ext in '' $ac_executable_extensions; do
51218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51219 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51229 WINDRES=$ac_cv_prog_WINDRES
51230 if test -n "$WINDRES"; then
51231 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51232 echo "${ECHO_T}$WINDRES" >&6; }
51234 { echo "$as_me:$LINENO: result: no" >&5
51235 echo "${ECHO_T}no" >&6; }
51240 if test -z "$ac_cv_prog_WINDRES"; then
51241 ac_ct_WINDRES=$WINDRES
51242 # Extract the first word of "windres", so it can be a program name with args.
51243 set dummy windres; ac_word=$2
51244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51246 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51247 echo $ECHO_N "(cached) $ECHO_C" >&6
51249 if test -n "$ac_ct_WINDRES"; then
51250 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51253 for as_dir in $PATH
51256 test -z "$as_dir" && as_dir=.
51257 for ac_exec_ext in '' $ac_executable_extensions; do
51258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51259 ac_cv_prog_ac_ct_WINDRES="windres"
51260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51269 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51270 if test -n "$ac_ct_WINDRES"; then
51271 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51272 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51274 { echo "$as_me:$LINENO: result: no" >&5
51275 echo "${ECHO_T}no" >&6; }
51278 if test "x$ac_ct_WINDRES" = x; then
51281 case $cross_compiling:$ac_tool_warned in
51283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51284 whose name does not start with the host triplet. If you think this
51285 configuration is useful to you, please write to autoconf@gnu.org." >&5
51286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51287 whose name does not start with the host triplet. If you think this
51288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51289 ac_tool_warned=yes ;;
51291 WINDRES=$ac_ct_WINDRES
51294 WINDRES="$ac_cv_prog_WINDRES"
51299 *-*-darwin* | powerpc-apple-macos* )
51300 # Extract the first word of "Rez", so it can be a program name with args.
51301 set dummy Rez; ac_word=$2
51302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51304 if test "${ac_cv_prog_REZ+set}" = set; then
51305 echo $ECHO_N "(cached) $ECHO_C" >&6
51307 if test -n "$REZ"; then
51308 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51311 for as_dir in $PATH
51314 test -z "$as_dir" && as_dir=.
51315 for ac_exec_ext in '' $ac_executable_extensions; do
51316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51317 ac_cv_prog_REZ="Rez"
51318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51325 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51328 REZ=$ac_cv_prog_REZ
51329 if test -n "$REZ"; then
51330 { echo "$as_me:$LINENO: result: $REZ" >&5
51331 echo "${ECHO_T}$REZ" >&6; }
51333 { echo "$as_me:$LINENO: result: no" >&5
51334 echo "${ECHO_T}no" >&6; }
51338 # Extract the first word of "SetFile", so it can be a program name with args.
51339 set dummy SetFile; ac_word=$2
51340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51342 if test "${ac_cv_prog_SETFILE+set}" = set; then
51343 echo $ECHO_N "(cached) $ECHO_C" >&6
51345 if test -n "$SETFILE"; then
51346 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51349 for as_dir in $PATH
51352 test -z "$as_dir" && as_dir=.
51353 for ac_exec_ext in '' $ac_executable_extensions; do
51354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51355 ac_cv_prog_SETFILE="SetFile"
51356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51363 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51366 SETFILE=$ac_cv_prog_SETFILE
51367 if test -n "$SETFILE"; then
51368 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51369 echo "${ECHO_T}$SETFILE" >&6; }
51371 { echo "$as_me:$LINENO: result: no" >&5
51372 echo "${ECHO_T}no" >&6; }
51387 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51390 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51394 # Check whether --enable-precomp-headers was given.
51395 if test "${enable_precomp_headers+set}" = set; then
51396 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51405 case ${BAKEFILE_HOST} in
51411 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51412 if test "x$GCC" = "xyes"; then
51413 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51414 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51415 cat >conftest.$ac_ext <<_ACEOF
51418 cat confdefs.h >>conftest.$ac_ext
51419 cat >>conftest.$ac_ext <<_ACEOF
51420 /* end confdefs.h. */
51426 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51427 There is no PCH support
51430 There is no PCH support
51432 #if (__GNUC__ == 3) && \
51433 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51434 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51435 ( defined(__INTEL_COMPILER) )
51436 There is no PCH support
51443 rm -f conftest.$ac_objext
51444 if { (ac_try="$ac_compile"
51445 case "(($ac_try" in
51446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51447 *) ac_try_echo=$ac_try;;
51449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51450 (eval "$ac_compile") 2>conftest.er1
51452 grep -v '^ *+' conftest.er1 >conftest.err
51454 cat conftest.err >&5
51455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51456 (exit $ac_status); } && {
51457 test -z "$ac_c_werror_flag" ||
51458 test ! -s conftest.err
51459 } && test -s conftest.$ac_objext; then
51461 { echo "$as_me:$LINENO: result: yes" >&5
51462 echo "${ECHO_T}yes" >&6; }
51466 echo "$as_me: failed program was:" >&5
51467 sed 's/^/| /' conftest.$ac_ext >&5
51470 if test "$INTELCXX8" = "yes"; then
51471 { echo "$as_me:$LINENO: result: yes" >&5
51472 echo "${ECHO_T}yes" >&6; }
51474 if test "$INTELCXX10" = "yes"; then
51475 ICC_PCH_CREATE_SWITCH="-pch-create"
51476 ICC_PCH_USE_SWITCH="-pch-use"
51478 ICC_PCH_CREATE_SWITCH="-create-pch"
51479 ICC_PCH_USE_SWITCH="-use-pch"
51482 { echo "$as_me:$LINENO: result: no" >&5
51483 echo "${ECHO_T}no" >&6; }
51488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51489 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51493 cat <<EOF >bk-make-pch
51496 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51497 # script. It is used to generated precompiled headers.
51499 # Permission is given to use this file in any way.
51506 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51511 while test ${D}{#} -gt 0; do
51515 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51516 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51517 headerfile="${D}{incdir}/${D}{header}"
51520 -use-pch|-use_pch|-pch-use )
51525 if test ${D}add_to_cmdline = 1 ; then
51526 compiler="${D}{compiler} ${D}{1}"
51531 if test "x${D}{headerfile}" = "x" ; then
51532 echo "error: can't find header ${D}{header} in include paths" >&2
51534 if test -f ${D}{outfile} ; then
51535 rm -f ${D}{outfile}
51537 mkdir -p \`dirname ${D}{outfile}\`
51539 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51540 mkdir -p ${D}{builddir}/.deps
51541 if test "x${GCC_PCH}" = "x1" ; then
51542 # can do this because gcc is >= 3.4:
51543 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51544 elif test "x${ICC_PCH}" = "x1" ; then
51545 filename=pch_gen-${D}${D}
51546 file=${D}{filename}.c
51547 dfile=${D}{filename}.d
51548 cat > ${D}file <<EOT
51549 #include "${D}header"
51551 # using -MF icc complains about differing command lines in creation/use
51552 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51553 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51554 rm -f ${D}file ${D}dfile ${D}{filename}.o
51560 chmod +x bk-make-pch
51561 BK_MAKE_PCH="`pwd`/bk-make-pch"
51572 COND_BUILD_DEBUG="#"
51573 if test "x$BUILD" = "xdebug" ; then
51574 COND_BUILD_DEBUG=""
51577 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51578 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51579 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51582 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51583 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51584 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51587 COND_BUILD_DEBUG_UNICODE_0="#"
51588 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51589 COND_BUILD_DEBUG_UNICODE_0=""
51592 COND_BUILD_DEBUG_UNICODE_1="#"
51593 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51594 COND_BUILD_DEBUG_UNICODE_1=""
51597 COND_BUILD_RELEASE="#"
51598 if test "x$BUILD" = "xrelease" ; then
51599 COND_BUILD_RELEASE=""
51602 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51603 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51604 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51607 COND_BUILD_RELEASE_UNICODE_0="#"
51608 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51609 COND_BUILD_RELEASE_UNICODE_0=""
51612 COND_BUILD_RELEASE_UNICODE_1="#"
51613 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51614 COND_BUILD_RELEASE_UNICODE_1=""
51617 COND_BUILD_debug="#"
51618 if test "x$BUILD" = "xdebug" ; then
51619 COND_BUILD_debug=""
51622 COND_BUILD_debug_DEBUG_FLAG_default="#"
51623 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51624 COND_BUILD_debug_DEBUG_FLAG_default=""
51627 COND_BUILD_debug_DEBUG_INFO_default="#"
51628 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51629 COND_BUILD_debug_DEBUG_INFO_default=""
51632 COND_BUILD_debug_UNICODE_0="#"
51633 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51634 COND_BUILD_debug_UNICODE_0=""
51637 COND_BUILD_debug_UNICODE_1="#"
51638 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51639 COND_BUILD_debug_UNICODE_1=""
51642 COND_BUILD_release="#"
51643 if test "x$BUILD" = "xrelease" ; then
51644 COND_BUILD_release=""
51647 COND_BUILD_release_DEBUG_INFO_default="#"
51648 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51649 COND_BUILD_release_DEBUG_INFO_default=""
51652 COND_BUILD_release_UNICODE_0="#"
51653 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51654 COND_BUILD_release_UNICODE_0=""
51657 COND_BUILD_release_UNICODE_1="#"
51658 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51659 COND_BUILD_release_UNICODE_1=""
51662 COND_DEBUG_FLAG_0="#"
51663 if test "x$DEBUG_FLAG" = "x0" ; then
51664 COND_DEBUG_FLAG_0=""
51667 COND_DEBUG_FLAG_1="#"
51668 if test "x$DEBUG_FLAG" = "x1" ; then
51669 COND_DEBUG_FLAG_1=""
51672 COND_DEBUG_INFO_0="#"
51673 if test "x$DEBUG_INFO" = "x0" ; then
51674 COND_DEBUG_INFO_0=""
51677 COND_DEBUG_INFO_1="#"
51678 if test "x$DEBUG_INFO" = "x1" ; then
51679 COND_DEBUG_INFO_1=""
51682 COND_DEPS_TRACKING_0="#"
51683 if test "x$DEPS_TRACKING" = "x0" ; then
51684 COND_DEPS_TRACKING_0=""
51687 COND_DEPS_TRACKING_1="#"
51688 if test "x$DEPS_TRACKING" = "x1" ; then
51689 COND_DEPS_TRACKING_1=""
51693 if test "x$GCC_PCH" = "x1" ; then
51698 if test "x$ICC_PCH" = "x1" ; then
51702 COND_MONOLITHIC_0="#"
51703 if test "x$MONOLITHIC" = "x0" ; then
51704 COND_MONOLITHIC_0=""
51707 COND_MONOLITHIC_0_SHARED_0="#"
51708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51709 COND_MONOLITHIC_0_SHARED_0=""
51712 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51714 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51717 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51719 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51722 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51724 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51727 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51729 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51732 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51734 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51737 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51739 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51742 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51744 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51747 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51749 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51752 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51754 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51757 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51759 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51762 COND_MONOLITHIC_0_SHARED_1="#"
51763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51764 COND_MONOLITHIC_0_SHARED_1=""
51767 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51769 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51772 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51774 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51777 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51779 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51782 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51784 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51787 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51789 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51792 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51794 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51797 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51799 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51802 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51804 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51807 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51809 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51812 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51814 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51817 COND_MONOLITHIC_0_USE_AUI_1="#"
51818 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51819 COND_MONOLITHIC_0_USE_AUI_1=""
51822 COND_MONOLITHIC_0_USE_GUI_1="#"
51823 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51824 COND_MONOLITHIC_0_USE_GUI_1=""
51827 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51828 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51829 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51832 COND_MONOLITHIC_0_USE_HTML_1="#"
51833 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51834 COND_MONOLITHIC_0_USE_HTML_1=""
51837 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51838 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51839 COND_MONOLITHIC_0_USE_MEDIA_1=""
51842 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51843 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51844 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51847 COND_MONOLITHIC_0_USE_QA_1="#"
51848 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51849 COND_MONOLITHIC_0_USE_QA_1=""
51852 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51853 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51854 COND_MONOLITHIC_0_USE_RIBBON_1=""
51857 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51858 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51859 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51862 COND_MONOLITHIC_0_USE_STC_1="#"
51863 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51864 COND_MONOLITHIC_0_USE_STC_1=""
51867 COND_MONOLITHIC_0_USE_XRC_1="#"
51868 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51869 COND_MONOLITHIC_0_USE_XRC_1=""
51872 COND_MONOLITHIC_1="#"
51873 if test "x$MONOLITHIC" = "x1" ; then
51874 COND_MONOLITHIC_1=""
51877 COND_MONOLITHIC_1_SHARED_0="#"
51878 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51879 COND_MONOLITHIC_1_SHARED_0=""
51882 COND_MONOLITHIC_1_SHARED_1="#"
51883 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51884 COND_MONOLITHIC_1_SHARED_1=""
51887 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51888 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51889 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51892 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51893 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51894 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51897 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51898 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51899 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51902 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51903 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51904 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51907 COND_PLATFORM_MACOSX_1="#"
51908 if test "x$PLATFORM_MACOSX" = "x1" ; then
51909 COND_PLATFORM_MACOSX_1=""
51912 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51913 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51914 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51917 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51918 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51919 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51922 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51923 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51924 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51927 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51928 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51929 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51932 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51933 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51934 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51937 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51938 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51939 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51942 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51943 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51944 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51947 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51948 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51949 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51952 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51953 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51954 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51957 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51958 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51959 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51962 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51963 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51964 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51967 COND_PLATFORM_MACOS_1="#"
51968 if test "x$PLATFORM_MACOS" = "x1" ; then
51969 COND_PLATFORM_MACOS_1=""
51972 COND_PLATFORM_MAC_0="#"
51973 if test "x$PLATFORM_MAC" = "x0" ; then
51974 COND_PLATFORM_MAC_0=""
51977 COND_PLATFORM_MAC_1="#"
51978 if test "x$PLATFORM_MAC" = "x1" ; then
51979 COND_PLATFORM_MAC_1=""
51982 COND_PLATFORM_MSDOS_0="#"
51983 if test "x$PLATFORM_MSDOS" = "x0" ; then
51984 COND_PLATFORM_MSDOS_0=""
51987 COND_PLATFORM_MSDOS_1="#"
51988 if test "x$PLATFORM_MSDOS" = "x1" ; then
51989 COND_PLATFORM_MSDOS_1=""
51992 COND_PLATFORM_OS2_1="#"
51993 if test "x$PLATFORM_OS2" = "x1" ; then
51994 COND_PLATFORM_OS2_1=""
51997 COND_PLATFORM_UNIX_0="#"
51998 if test "x$PLATFORM_UNIX" = "x0" ; then
51999 COND_PLATFORM_UNIX_0=""
52002 COND_PLATFORM_UNIX_1="#"
52003 if test "x$PLATFORM_UNIX" = "x1" ; then
52004 COND_PLATFORM_UNIX_1=""
52007 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52008 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52009 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52012 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52013 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52014 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52017 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52018 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52019 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52022 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52023 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52024 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52027 COND_PLATFORM_WIN32_0="#"
52028 if test "x$PLATFORM_WIN32" = "x0" ; then
52029 COND_PLATFORM_WIN32_0=""
52032 COND_PLATFORM_WIN32_1="#"
52033 if test "x$PLATFORM_WIN32" = "x1" ; then
52034 COND_PLATFORM_WIN32_1=""
52037 COND_PLATFORM_WIN32_1_SHARED_0="#"
52038 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52039 COND_PLATFORM_WIN32_1_SHARED_0=""
52043 if test "x$SHARED" = "x0" ; then
52047 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52048 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52049 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52052 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52053 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52054 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52057 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52058 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52059 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52062 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52063 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52064 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52067 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52068 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52069 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52072 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52073 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52074 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52077 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52078 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52079 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52082 COND_SHARED_0_USE_STC_1="#"
52083 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52084 COND_SHARED_0_USE_STC_1=""
52087 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52088 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52089 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52092 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52093 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52094 COND_SHARED_0_wxUSE_REGEX_builtin=""
52097 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52098 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52099 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52103 if test "x$SHARED" = "x1" ; then
52107 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52108 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52109 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52113 if test "x$TOOLKIT" = "x" ; then
52117 COND_TOOLKIT_COCOA="#"
52118 if test "x$TOOLKIT" = "xCOCOA" ; then
52119 COND_TOOLKIT_COCOA=""
52122 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52123 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52124 COND_TOOLKIT_COCOA_USE_GUI_1=""
52127 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52128 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52129 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52132 COND_TOOLKIT_DFB="#"
52133 if test "x$TOOLKIT" = "xDFB" ; then
52134 COND_TOOLKIT_DFB=""
52137 COND_TOOLKIT_DFB_USE_GUI_1="#"
52138 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52139 COND_TOOLKIT_DFB_USE_GUI_1=""
52142 COND_TOOLKIT_GTK="#"
52143 if test "x$TOOLKIT" = "xGTK" ; then
52144 COND_TOOLKIT_GTK=""
52147 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52148 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52149 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52152 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52153 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52154 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52157 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52158 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52159 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52162 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52163 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52164 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52167 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52168 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52169 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52172 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52173 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52174 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52177 COND_TOOLKIT_GTK_USE_GUI_1="#"
52178 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52179 COND_TOOLKIT_GTK_USE_GUI_1=""
52182 COND_TOOLKIT_MAC="#"
52183 if test "x$TOOLKIT" = "xMAC" ; then
52184 COND_TOOLKIT_MAC=""
52187 COND_TOOLKIT_MGL="#"
52188 if test "x$TOOLKIT" = "xMGL" ; then
52189 COND_TOOLKIT_MGL=""
52192 COND_TOOLKIT_MGL_USE_GUI_1="#"
52193 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52194 COND_TOOLKIT_MGL_USE_GUI_1=""
52197 COND_TOOLKIT_MOTIF="#"
52198 if test "x$TOOLKIT" = "xMOTIF" ; then
52199 COND_TOOLKIT_MOTIF=""
52202 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52203 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52204 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52207 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52208 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52209 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52212 COND_TOOLKIT_MSW="#"
52213 if test "x$TOOLKIT" = "xMSW" ; then
52214 COND_TOOLKIT_MSW=""
52217 COND_TOOLKIT_MSW_USE_GUI_1="#"
52218 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52219 COND_TOOLKIT_MSW_USE_GUI_1=""
52222 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52223 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52224 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52227 COND_TOOLKIT_MSW_WXUNIV_0="#"
52228 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52229 COND_TOOLKIT_MSW_WXUNIV_0=""
52232 COND_TOOLKIT_OSX_CARBON="#"
52233 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52234 COND_TOOLKIT_OSX_CARBON=""
52237 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52238 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52239 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52242 COND_TOOLKIT_OSX_COCOA="#"
52243 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52244 COND_TOOLKIT_OSX_COCOA=""
52247 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52248 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52249 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52252 COND_TOOLKIT_OSX_IPHONE="#"
52253 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52254 COND_TOOLKIT_OSX_IPHONE=""
52257 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52258 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52259 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52262 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52263 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52264 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52267 COND_TOOLKIT_PM="#"
52268 if test "x$TOOLKIT" = "xPM" ; then
52272 COND_TOOLKIT_PM_USE_GUI_1="#"
52273 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52274 COND_TOOLKIT_PM_USE_GUI_1=""
52277 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52278 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52279 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52282 COND_TOOLKIT_WINCE="#"
52283 if test "x$TOOLKIT" = "xWINCE" ; then
52284 COND_TOOLKIT_WINCE=""
52287 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52288 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52289 COND_TOOLKIT_WINCE_USE_GUI_1=""
52292 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52293 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52294 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52297 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52298 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52299 COND_TOOLKIT_WINCE_WXUNIV_0=""
52302 COND_TOOLKIT_X11="#"
52303 if test "x$TOOLKIT" = "xX11" ; then
52304 COND_TOOLKIT_X11=""
52307 COND_TOOLKIT_X11_USE_GUI_1="#"
52308 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52309 COND_TOOLKIT_X11_USE_GUI_1=""
52313 if test "x$UNICODE" = "x1" ; then
52317 COND_USE_CAIRO_1="#"
52318 if test "x$USE_CAIRO" = "x1" ; then
52319 COND_USE_CAIRO_1=""
52322 COND_USE_EXCEPTIONS_0="#"
52323 if test "x$USE_EXCEPTIONS" = "x0" ; then
52324 COND_USE_EXCEPTIONS_0=""
52327 COND_USE_EXCEPTIONS_1="#"
52328 if test "x$USE_EXCEPTIONS" = "x1" ; then
52329 COND_USE_EXCEPTIONS_1=""
52333 if test "x$USE_GUI" = "x0" ; then
52338 if test "x$USE_GUI" = "x1" ; then
52342 COND_USE_GUI_1_USE_OPENGL_1="#"
52343 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52344 COND_USE_GUI_1_USE_OPENGL_1=""
52347 COND_USE_GUI_1_WXUNIV_0="#"
52348 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52349 COND_USE_GUI_1_WXUNIV_0=""
52352 COND_USE_GUI_1_WXUNIV_1="#"
52353 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52354 COND_USE_GUI_1_WXUNIV_1=""
52357 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52358 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52359 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52362 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52363 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52364 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52367 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52368 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52369 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52372 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52373 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52374 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52377 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52378 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52379 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52382 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52383 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52384 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52387 COND_USE_OPENGL_1="#"
52388 if test "x$USE_OPENGL" = "x1" ; then
52389 COND_USE_OPENGL_1=""
52393 if test "x$USE_PCH" = "x1" ; then
52397 COND_USE_PLUGINS_0="#"
52398 if test "x$USE_PLUGINS" = "x0" ; then
52399 COND_USE_PLUGINS_0=""
52402 COND_USE_RTTI_0="#"
52403 if test "x$USE_RTTI" = "x0" ; then
52407 COND_USE_RTTI_1="#"
52408 if test "x$USE_RTTI" = "x1" ; then
52412 COND_USE_SOTWOSYMLINKS_1="#"
52413 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52414 COND_USE_SOTWOSYMLINKS_1=""
52417 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52418 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52419 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52422 COND_USE_SOVERLINUX_1="#"
52423 if test "x$USE_SOVERLINUX" = "x1" ; then
52424 COND_USE_SOVERLINUX_1=""
52427 COND_USE_SOVERSION_0="#"
52428 if test "x$USE_SOVERSION" = "x0" ; then
52429 COND_USE_SOVERSION_0=""
52432 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52433 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52434 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52437 COND_USE_SOVERSOLARIS_1="#"
52438 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52439 COND_USE_SOVERSOLARIS_1=""
52443 if test "x$USE_STC" = "x1" ; then
52447 COND_USE_THREADS_0="#"
52448 if test "x$USE_THREADS" = "x0" ; then
52449 COND_USE_THREADS_0=""
52452 COND_USE_THREADS_1="#"
52453 if test "x$USE_THREADS" = "x1" ; then
52454 COND_USE_THREADS_1=""
52458 if test "x$USE_XRC" = "x1" ; then
52462 COND_WINDOWS_IMPLIB_1="#"
52463 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52464 COND_WINDOWS_IMPLIB_1=""
52467 COND_WITH_PLUGIN_SDL_1="#"
52468 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52469 COND_WITH_PLUGIN_SDL_1=""
52473 if test "x$WXUNIV" = "x0" ; then
52478 if test "x$WXUNIV" = "x1" ; then
52482 COND_WXUSE_EXPAT_BUILTIN="#"
52483 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52484 COND_WXUSE_EXPAT_BUILTIN=""
52487 COND_WXUSE_LIBJPEG_BUILTIN="#"
52488 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52489 COND_WXUSE_LIBJPEG_BUILTIN=""
52492 COND_WXUSE_LIBPNG_BUILTIN="#"
52493 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52494 COND_WXUSE_LIBPNG_BUILTIN=""
52497 COND_WXUSE_LIBTIFF_BUILTIN="#"
52498 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52499 COND_WXUSE_LIBTIFF_BUILTIN=""
52502 COND_WXUSE_REGEX_BUILTIN="#"
52503 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52504 COND_WXUSE_REGEX_BUILTIN=""
52507 COND_WXUSE_ZLIB_BUILTIN="#"
52508 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52509 COND_WXUSE_ZLIB_BUILTIN=""
52512 COND_wxUSE_EXPAT_builtin="#"
52513 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52514 COND_wxUSE_EXPAT_builtin=""
52517 COND_wxUSE_LIBJPEG_builtin="#"
52518 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52519 COND_wxUSE_LIBJPEG_builtin=""
52522 COND_wxUSE_LIBPNG_builtin="#"
52523 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52524 COND_wxUSE_LIBPNG_builtin=""
52527 COND_wxUSE_LIBTIFF_builtin="#"
52528 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52529 COND_wxUSE_LIBTIFF_builtin=""
52532 COND_wxUSE_REGEX_builtin="#"
52533 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52534 COND_wxUSE_REGEX_builtin=""
52537 COND_wxUSE_ZLIB_builtin="#"
52538 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52539 COND_wxUSE_ZLIB_builtin=""
52544 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52545 { { 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
52546 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;}
52547 { (exit 1); exit 1; }; }
52550 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52551 { { 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
52552 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;}
52553 { (exit 1); exit 1; }; }
52560 ?:* ) # Drive letter, considered as absolute.
52563 INSTALL=`pwd`/${INSTALL} ;;
52566 if test "$wxUSE_GUI" = "yes"; then
52568 if test "$wxUSE_MSW" = 1 ; then
52569 if test "x$WINDRES" = "x"; then
52570 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52571 echo "$as_me: error: Required windres program not found" >&2;}
52572 { (exit 1); exit 1; }; }
52578 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52579 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52580 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52582 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52584 # Extract the first word of "DeRez", so it can be a program name with args.
52585 set dummy DeRez; ac_word=$2
52586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52588 if test "${ac_cv_prog_DEREZ+set}" = set; then
52589 echo $ECHO_N "(cached) $ECHO_C" >&6
52591 if test -n "$DEREZ"; then
52592 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52595 for as_dir in $PATH
52598 test -z "$as_dir" && as_dir=.
52599 for ac_exec_ext in '' $ac_executable_extensions; do
52600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52601 ac_cv_prog_DEREZ="DeRez"
52602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52609 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52612 DEREZ=$ac_cv_prog_DEREZ
52613 if test -n "$DEREZ"; then
52614 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52615 echo "${ECHO_T}$DEREZ" >&6; }
52617 { echo "$as_me:$LINENO: result: no" >&5
52618 echo "${ECHO_T}no" >&6; }
52623 MACSETFILE="\$(SETFILE)"
52625 if test "$wxUSE_OSX_CARBON" = 1; then
52626 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52628 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52630 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52631 RESCOMP="cat /dev/null \| $REZ"
52632 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52638 if test "$wxUSE_PM" = 1; then
52640 WXCONFIG_RESFLAGS="-ep"
52642 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52644 POSTLINK_COMMAND="@true"
52651 if test $GCC_PCH = 1
52653 if test "$wx_cv_gcc_pch_bug" = yes; then
52654 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52655 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52656 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52657 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52658 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52659 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52662 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52663 # the headers that benefit from precompilation are mostly C++ headers.
52664 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52665 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52666 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52670 if test "$wxUSE_MAC" = 1 ; then
52671 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52672 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52678 if test "$wxUSE_SHARED" = "yes"; then
52680 *-pc-os2_emx | *-pc-os2-emx )
52681 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52682 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52683 cp -p ${srcdir}/src/os2/dllnames.sh .
52684 cp -p ${srcdir}/src/os2/dllar.sh .
52688 if test "$wxUSE_OMF" = "yes"; then
52690 *-pc-os2_emx | *-pc-os2-emx )
52691 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52692 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52693 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52698 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52703 if test "$GCC" = yes; then
52704 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52705 LIBS=`echo $LIBS | sed 's/-mt//'`
52706 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52711 if test "x$SUNCXX" = xyes; then
52712 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52713 LIBS=`echo $LIBS | sed 's/-pthread//'`
52714 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52719 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52720 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52721 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52722 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52724 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52785 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52787 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52788 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52789 echo $ECHO_N "(cached) $ECHO_C" >&6
52791 cat >conftest.make <<\_ACEOF
52794 @echo '@@@%%%=$(MAKE)=@@@%%%'
52796 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52797 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52798 *@@@%%%=?*=@@@%%%*)
52799 eval ac_cv_prog_make_${ac_make}_set=yes;;
52801 eval ac_cv_prog_make_${ac_make}_set=no;;
52803 rm -f conftest.make
52805 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52806 { echo "$as_me:$LINENO: result: yes" >&5
52807 echo "${ECHO_T}yes" >&6; }
52810 { echo "$as_me:$LINENO: result: no" >&5
52811 echo "${ECHO_T}no" >&6; }
52812 SET_MAKE="MAKE=${MAKE-make}"
52817 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52820 if test "$USE_WIN32" = 1; then
52821 ac_config_commands="$ac_config_commands rcdefs.h"
52825 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52828 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52831 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52834 if test "$wx_cv_version_script" = "yes"; then
52835 ac_config_files="$ac_config_files version-script"
52838 ac_config_files="$ac_config_files Makefile"
52841 ac_config_commands="$ac_config_commands wx-config"
52845 if test "$wxWITH_SUBDIRS" != "no"; then
52846 if test "$wxUSE_GUI" = "yes"; then
52847 SUBDIRS="samples demos utils"
52849 SUBDIRS="samples utils"
52854 # Check whether --with-cppunit-prefix was given.
52855 if test "${with_cppunit_prefix+set}" = set; then
52856 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52858 cppunit_config_prefix=""
52862 # Check whether --with-cppunit-exec-prefix was given.
52863 if test "${with_cppunit_exec_prefix+set}" = set; then
52864 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52866 cppunit_config_exec_prefix=""
52870 if test x$cppunit_config_exec_prefix != x ; then
52871 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52872 if test x${CPPUNIT_CONFIG+set} != xset ; then
52873 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52876 if test x$cppunit_config_prefix != x ; then
52877 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52878 if test x${CPPUNIT_CONFIG+set} != xset ; then
52879 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52883 # Extract the first word of "cppunit-config", so it can be a program name with args.
52884 set dummy cppunit-config; ac_word=$2
52885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52887 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52888 echo $ECHO_N "(cached) $ECHO_C" >&6
52890 case $CPPUNIT_CONFIG in
52892 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52896 for as_dir in $PATH
52899 test -z "$as_dir" && as_dir=.
52900 for ac_exec_ext in '' $ac_executable_extensions; do
52901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52902 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52910 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52914 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52915 if test -n "$CPPUNIT_CONFIG"; then
52916 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52917 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52919 { echo "$as_me:$LINENO: result: no" >&5
52920 echo "${ECHO_T}no" >&6; }
52924 cppunit_version_min=1.8.0
52926 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52927 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52929 if test "$CPPUNIT_CONFIG" = "no" ; then
52930 { echo "$as_me:$LINENO: result: no" >&5
52931 echo "${ECHO_T}no" >&6; }
52934 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52935 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52936 cppunit_version=`$CPPUNIT_CONFIG --version`
52938 cppunit_major_version=`echo $cppunit_version | \
52939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52940 cppunit_minor_version=`echo $cppunit_version | \
52941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52942 cppunit_micro_version=`echo $cppunit_version | \
52943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52945 cppunit_major_min=`echo $cppunit_version_min | \
52946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52947 cppunit_minor_min=`echo $cppunit_version_min | \
52948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52949 cppunit_micro_min=`echo $cppunit_version_min | \
52950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52952 cppunit_version_proper=`expr \
52953 $cppunit_major_version \> $cppunit_major_min \| \
52954 $cppunit_major_version \= $cppunit_major_min \& \
52955 $cppunit_minor_version \> $cppunit_minor_min \| \
52956 $cppunit_major_version \= $cppunit_major_min \& \
52957 $cppunit_minor_version \= $cppunit_minor_min \& \
52958 $cppunit_micro_version \>= $cppunit_micro_min `
52960 if test "$cppunit_version_proper" = "1" ; then
52961 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52962 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52964 { echo "$as_me:$LINENO: result: no" >&5
52965 echo "${ECHO_T}no" >&6; }
52970 if test "x$no_cppunit" = x ; then
52971 SUBDIRS="$SUBDIRS tests"
52982 for subdir in $SUBDIRS; do
52983 if test -d ${srcdir}/${subdir} ; then
52984 if test "$wxUSE_GUI" = "yes"; then
52985 if test ${subdir} = "samples"; then
52986 makefiles="samples/Makefile.in $makefiles"
52987 for sample in $SAMPLES_SUBDIRS; do
52988 if test -d $srcdir/samples/$sample; then
52989 makefiles="samples/$sample/Makefile.in $makefiles"
52993 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52994 eval "disabled=\$$disabled_var"
52995 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52996 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52999 if test ${subdir} = "samples"; then
53000 makefiles="samples/Makefile.in $makefiles"
53001 for sample in `echo $SAMPLES_SUBDIRS`; do
53002 if test -d $srcdir/samples/$sample; then
53003 makefiles="samples/$sample/Makefile.in $makefiles"
53006 elif test ${subdir} = "utils"; then
53008 for util in ifacecheck ; do
53009 if test -d $srcdir/utils/$util ; then
53010 makefiles="utils/$util/src/Makefile.in \
53015 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53019 for mkin in $makefiles ; do
53020 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53021 ac_config_files="$ac_config_files $mk"
53027 cat >confcache <<\_ACEOF
53028 # This file is a shell script that caches the results of configure
53029 # tests run on this system so they can be shared between configure
53030 # scripts and configure runs, see configure's option --config-cache.
53031 # It is not useful on other systems. If it contains results you don't
53032 # want to keep, you may remove or edit it.
53034 # config.status only pays attention to the cache file if you give it
53035 # the --recheck option to rerun configure.
53037 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53038 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53039 # following values.
53043 # The following way of writing the cache mishandles newlines in values,
53044 # but we know of no workaround that is simple, portable, and efficient.
53045 # So, we kill variables containing newlines.
53046 # Ultrix sh set writes to stderr and can't be redirected directly,
53047 # and sets the high bit in the cache file unless we assign to the vars.
53049 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53050 eval ac_val=\$$ac_var
53054 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53055 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53058 _ | IFS | as_nl) ;; #(
53059 *) $as_unset $ac_var ;;
53065 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53066 *${as_nl}ac_space=\ *)
53067 # `set' does not quote correctly, so add quotes (double-quote
53068 # substitution turns \\\\ into \\, and sed turns \\ into \).
53071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53074 # `set' quotes correctly as required by POSIX, so do not add quotes.
53075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53086 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53088 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53089 if test -w "$cache_file"; then
53090 test "x$cache_file" != "x/dev/null" &&
53091 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53092 echo "$as_me: updating cache $cache_file" >&6;}
53093 cat confcache >$cache_file
53095 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53096 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53101 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53102 # Let make expand exec_prefix.
53103 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53105 DEFS=-DHAVE_CONFIG_H
53109 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53110 # 1. Remove the extension, and $U if already installed.
53111 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53112 ac_i=`echo "$ac_i" | sed "$ac_script"`
53113 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53114 # will be set to the directory where LIBOBJS objects are built.
53115 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53116 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53118 LIBOBJS=$ac_libobjs
53120 LTLIBOBJS=$ac_ltlibobjs
53124 : ${CONFIG_STATUS=./config.status}
53125 ac_clean_files_save=$ac_clean_files
53126 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53127 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53128 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53129 cat >$CONFIG_STATUS <<_ACEOF
53131 # Generated by $as_me.
53132 # Run this file to recreate the current configuration.
53133 # Compiler output produced by configure, useful for debugging
53134 # configure, is in config.log if it exists.
53137 ac_cs_recheck=false
53139 SHELL=\${CONFIG_SHELL-$SHELL}
53142 cat >>$CONFIG_STATUS <<\_ACEOF
53143 ## --------------------- ##
53144 ## M4sh Initialization. ##
53145 ## --------------------- ##
53147 # Be more Bourne compatible
53148 DUALCASE=1; export DUALCASE # for MKS sh
53149 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53152 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53153 # is contrary to our usage. Disable this feature.
53154 alias -g '${1+"$@"}'='"$@"'
53155 setopt NO_GLOB_SUBST
53157 case `(set -o) 2>/dev/null` in
53158 *posix*) set -o posix ;;
53167 # Avoid depending upon Character Ranges.
53168 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53169 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53170 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53171 as_cr_digits='0123456789'
53172 as_cr_alnum=$as_cr_Letters$as_cr_digits
53174 # The user is always right.
53175 if test "${PATH_SEPARATOR+set}" != set; then
53176 echo "#! /bin/sh" >conf$$.sh
53177 echo "exit 0" >>conf$$.sh
53179 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53187 # Support unset when possible.
53188 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53196 # We need space, tab and new line, in precisely that order. Quoting is
53197 # there to prevent editors from complaining about space-tab.
53198 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53199 # splitting by setting IFS to empty value.)
53204 # Find who we are. Look in the path if we contain no directory separator.
53206 *[\\/]* ) as_myself=$0 ;;
53207 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53208 for as_dir in $PATH
53211 test -z "$as_dir" && as_dir=.
53212 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53218 # We did not find ourselves, most probably we were run as `sh COMMAND'
53219 # in which case we are not to be found in the path.
53220 if test "x$as_myself" = x; then
53223 if test ! -f "$as_myself"; then
53224 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53225 { (exit 1); exit 1; }
53228 # Work around bugs in pre-3.0 UWIN ksh.
53229 for as_var in ENV MAIL MAILPATH
53230 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53238 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53239 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53240 LC_TELEPHONE LC_TIME
53242 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53243 eval $as_var=C; export $as_var
53245 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53249 # Required to use basename.
53250 if expr a : '\(a\)' >/dev/null 2>&1 &&
53251 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53257 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53258 as_basename=basename
53264 # Name of the executable.
53265 as_me=`$as_basename -- "$0" ||
53266 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53267 X"$0" : 'X\(//\)$' \| \
53268 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53270 sed '/^.*\/\([^/][^/]*\)\/*$/{
53289 as_lineno_1=$LINENO
53290 as_lineno_2=$LINENO
53291 test "x$as_lineno_1" != "x$as_lineno_2" &&
53292 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53294 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53295 # uniformly replaced by the line number. The first 'sed' inserts a
53296 # line-number line after each line using $LINENO; the second 'sed'
53297 # does the real work. The second script uses 'N' to pair each
53298 # line-number line with the line containing $LINENO, and appends
53299 # trailing '-' during substitution so that $LINENO is not a special
53300 # case at line end.
53301 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53302 # scripts with optimization help from Paolo Bonzini. Blame Lee
53303 # E. McMahon (1931-1989) for sed's syntax. :-)
53315 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53318 ' >$as_me.lineno &&
53319 chmod +x "$as_me.lineno" ||
53320 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53321 { (exit 1); exit 1; }; }
53323 # Don't try to exec as it changes $[0], causing all sort of problems
53324 # (the dirname of $[0] is not the place where we might find the
53325 # original and so on. Autoconf is especially sensitive to this).
53326 . "./$as_me.lineno"
53327 # Exit status is that of the last command.
53332 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53338 ECHO_C= ECHO_N= ECHO_T=
53339 case `echo -n x` in
53341 case `echo 'x\c'` in
53342 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53349 if expr a : '\(a\)' >/dev/null 2>&1 &&
53350 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53356 rm -f conf$$ conf$$.exe conf$$.file
53357 if test -d conf$$.dir; then
53358 rm -f conf$$.dir/conf$$.file
53364 if ln -s conf$$.file conf$$ 2>/dev/null; then
53366 # ... but there are two gotchas:
53367 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53368 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53369 # In both cases, we have to default to `cp -p'.
53370 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53372 elif ln conf$$.file conf$$ 2>/dev/null; then
53377 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53378 rmdir conf$$.dir 2>/dev/null
53380 if mkdir -p . 2>/dev/null; then
53383 test -d ./-p && rmdir ./-p
53387 if test -x / >/dev/null 2>&1; then
53388 as_test_x='test -x'
53390 if ls -dL / >/dev/null 2>&1; then
53397 if test -d "$1"; then
53403 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53404 ???[sx]*):;;*)false;;esac;fi
53408 as_executable_p=$as_test_x
53410 # Sed expression to map a string onto a valid CPP name.
53411 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53413 # Sed expression to map a string onto a valid variable name.
53414 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53419 # Save the log message, to keep $[0] and so on meaningful, and to
53420 # report actual input values of CONFIG_FILES etc. instead of their
53421 # values after options handling.
53423 This file was extended by wxWidgets $as_me 2.9.2, which was
53424 generated by GNU Autoconf 2.61. Invocation command line was
53426 CONFIG_FILES = $CONFIG_FILES
53427 CONFIG_HEADERS = $CONFIG_HEADERS
53428 CONFIG_LINKS = $CONFIG_LINKS
53429 CONFIG_COMMANDS = $CONFIG_COMMANDS
53432 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53437 cat >>$CONFIG_STATUS <<_ACEOF
53438 # Files that config.status was made for.
53439 config_files="$ac_config_files"
53440 config_headers="$ac_config_headers"
53441 config_commands="$ac_config_commands"
53445 cat >>$CONFIG_STATUS <<\_ACEOF
53447 \`$as_me' instantiates files from templates according to the
53448 current configuration.
53450 Usage: $0 [OPTIONS] [FILE]...
53452 -h, --help print this help, then exit
53453 -V, --version print version number and configuration settings, then exit
53454 -q, --quiet do not print progress messages
53455 -d, --debug don't remove temporary files
53456 --recheck update $as_me by reconfiguring in the same conditions
53457 --file=FILE[:TEMPLATE]
53458 instantiate the configuration file FILE
53459 --header=FILE[:TEMPLATE]
53460 instantiate the configuration header FILE
53462 Configuration files:
53465 Configuration headers:
53468 Configuration commands:
53471 Report bugs to <bug-autoconf@gnu.org>."
53474 cat >>$CONFIG_STATUS <<_ACEOF
53476 wxWidgets config.status 2.9.2
53477 configured by $0, generated by GNU Autoconf 2.61,
53478 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53480 Copyright (C) 2006 Free Software Foundation, Inc.
53481 This config.status script is free software; the Free Software Foundation
53482 gives unlimited permission to copy, distribute and modify it."
53489 cat >>$CONFIG_STATUS <<\_ACEOF
53490 # If no file are specified by the user, then we need to provide default
53491 # value. By we need to know if files were specified by the user.
53497 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53498 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53509 # Handling of the options.
53510 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53512 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53513 echo "$ac_cs_version"; exit ;;
53514 --debug | --debu | --deb | --de | --d | -d )
53516 --file | --fil | --fi | --f )
53518 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53519 ac_need_defaults=false;;
53520 --header | --heade | --head | --hea )
53522 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53523 ac_need_defaults=false;;
53525 # Conflict between --help and --header
53526 { echo "$as_me: error: ambiguous option: $1
53527 Try \`$0 --help' for more information." >&2
53528 { (exit 1); exit 1; }; };;
53529 --help | --hel | -h )
53530 echo "$ac_cs_usage"; exit ;;
53531 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53532 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53535 # This is an error.
53536 -*) { echo "$as_me: error: unrecognized option: $1
53537 Try \`$0 --help' for more information." >&2
53538 { (exit 1); exit 1; }; } ;;
53540 *) ac_config_targets="$ac_config_targets $1"
53541 ac_need_defaults=false ;;
53547 ac_configure_extra_args=
53549 if $ac_cs_silent; then
53551 ac_configure_extra_args="$ac_configure_extra_args --silent"
53555 cat >>$CONFIG_STATUS <<_ACEOF
53556 if \$ac_cs_recheck; then
53557 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53558 CONFIG_SHELL=$SHELL
53559 export CONFIG_SHELL
53560 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53564 cat >>$CONFIG_STATUS <<\_ACEOF
53568 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53569 ## Running $as_me. ##
53575 cat >>$CONFIG_STATUS <<_ACEOF
53581 infile="$srcdir/include/wx/msw/genrcdefs.h"
53582 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53585 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53586 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53587 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53593 cat >>$CONFIG_STATUS <<\_ACEOF
53595 # Handling of arguments.
53596 for ac_config_target in $ac_config_targets
53598 case $ac_config_target in
53599 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53600 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53601 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53602 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53603 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53604 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53605 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53606 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53607 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53609 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53610 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53611 { (exit 1); exit 1; }; };;
53616 # If the user did not use the arguments to specify the items to instantiate,
53617 # then the envvar interface is used. Set only those that are not.
53618 # We use the long form for the default assignment because of an extremely
53619 # bizarre bug on SunOS 4.1.3.
53620 if $ac_need_defaults; then
53621 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53622 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53623 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53626 # Have a temporary directory for convenience. Make it in the build tree
53627 # simply because there is no reason against having it here, and in addition,
53628 # creating and moving files from /tmp can sometimes cause problems.
53629 # Hook for its removal unless debugging.
53630 # Note that there is a small window in which the directory will not be cleaned:
53631 # after its creation but before its name has been assigned to `$tmp'.
53635 trap 'exit_status=$?
53636 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53638 trap '{ (exit 1); exit 1; }' 1 2 13 15
53640 # Create a (secure) tmp directory for tmp files.
53643 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53644 test -n "$tmp" && test -d "$tmp"
53647 tmp=./conf$$-$RANDOM
53648 (umask 077 && mkdir "$tmp")
53651 echo "$me: cannot create a temporary directory in ." >&2
53652 { (exit 1); exit 1; }
53656 # Set up the sed scripts for CONFIG_FILES section.
53659 # No need to generate the scripts if there are no CONFIG_FILES.
53660 # This happens for instance when ./config.status config.h
53661 if test -n "$CONFIG_FILES"; then
53668 for ac_last_try in false false false false false :; do
53669 cat >conf$$subs.sed <<_ACEOF
53670 SHELL!$SHELL$ac_delim
53671 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53672 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53673 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53674 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53675 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53676 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53677 exec_prefix!$exec_prefix$ac_delim
53678 prefix!$prefix$ac_delim
53679 program_transform_name!$program_transform_name$ac_delim
53680 bindir!$bindir$ac_delim
53681 sbindir!$sbindir$ac_delim
53682 libexecdir!$libexecdir$ac_delim
53683 datarootdir!$datarootdir$ac_delim
53684 datadir!$datadir$ac_delim
53685 sysconfdir!$sysconfdir$ac_delim
53686 sharedstatedir!$sharedstatedir$ac_delim
53687 localstatedir!$localstatedir$ac_delim
53688 includedir!$includedir$ac_delim
53689 oldincludedir!$oldincludedir$ac_delim
53690 docdir!$docdir$ac_delim
53691 infodir!$infodir$ac_delim
53692 htmldir!$htmldir$ac_delim
53693 dvidir!$dvidir$ac_delim
53694 pdfdir!$pdfdir$ac_delim
53695 psdir!$psdir$ac_delim
53696 libdir!$libdir$ac_delim
53697 localedir!$localedir$ac_delim
53698 mandir!$mandir$ac_delim
53699 DEFS!$DEFS$ac_delim
53700 ECHO_C!$ECHO_C$ac_delim
53701 ECHO_N!$ECHO_N$ac_delim
53702 ECHO_T!$ECHO_T$ac_delim
53703 LIBS!$LIBS$ac_delim
53704 build_alias!$build_alias$ac_delim
53705 host_alias!$host_alias$ac_delim
53706 target_alias!$target_alias$ac_delim
53707 build!$build$ac_delim
53708 build_cpu!$build_cpu$ac_delim
53709 build_vendor!$build_vendor$ac_delim
53710 build_os!$build_os$ac_delim
53711 host!$host$ac_delim
53712 host_cpu!$host_cpu$ac_delim
53713 host_vendor!$host_vendor$ac_delim
53714 host_os!$host_os$ac_delim
53715 wx_top_builddir!$wx_top_builddir$ac_delim
53717 CFLAGS!$CFLAGS$ac_delim
53718 LDFLAGS!$LDFLAGS$ac_delim
53719 CPPFLAGS!$CPPFLAGS$ac_delim
53720 ac_ct_CC!$ac_ct_CC$ac_delim
53721 EXEEXT!$EXEEXT$ac_delim
53722 OBJEXT!$OBJEXT$ac_delim
53724 GREP!$GREP$ac_delim
53725 EGREP!$EGREP$ac_delim
53727 CXXFLAGS!$CXXFLAGS$ac_delim
53728 ac_ct_CXX!$ac_ct_CXX$ac_delim
53730 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53731 CXXCPP!$CXXCPP$ac_delim
53732 subdirs!$subdirs$ac_delim
53733 PKG_CONFIG!$PKG_CONFIG$ac_delim
53734 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53735 GTK_LIBS!$GTK_LIBS$ac_delim
53736 GTK_CONFIG!$GTK_CONFIG$ac_delim
53737 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53738 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53739 XMKMF!$XMKMF$ac_delim
53740 X_CFLAGS!$X_CFLAGS$ac_delim
53741 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53742 X_LIBS!$X_LIBS$ac_delim
53743 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53744 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53745 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53746 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53747 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53748 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53749 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53750 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53751 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53752 LIBICONV!$LIBICONV$ac_delim
53753 GXX_VERSION!$GXX_VERSION$ac_delim
53754 SDL_CONFIG!$SDL_CONFIG$ac_delim
53755 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53756 SDL_LIBS!$SDL_LIBS$ac_delim
53757 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53758 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53759 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53760 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53761 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53762 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53763 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53764 HILDON_LIBS!$HILDON_LIBS$ac_delim
53765 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53766 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53769 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53771 elif $ac_last_try; then
53772 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53773 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53774 { (exit 1); exit 1; }; }
53776 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53780 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53781 if test -n "$ac_eof"; then
53782 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53783 ac_eof=`expr $ac_eof + 1`
53786 cat >>$CONFIG_STATUS <<_ACEOF
53787 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53788 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53791 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53792 s/^/s,@/; s/!/@,|#_!!_#|/
53795 s/'"$ac_delim"'$/,g/; t
53797 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53798 ' >>$CONFIG_STATUS <conf$$subs.sed
53799 rm -f conf$$subs.sed
53800 cat >>$CONFIG_STATUS <<_ACEOF
53806 for ac_last_try in false false false false false :; do
53807 cat >conf$$subs.sed <<_ACEOF
53808 PYTHON!$PYTHON$ac_delim
53809 COND_PYTHON!$COND_PYTHON$ac_delim
53810 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53811 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53812 GST_CFLAGS!$GST_CFLAGS$ac_delim
53813 GST_LIBS!$GST_LIBS$ac_delim
53814 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53815 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53816 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53817 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53818 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53819 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53820 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53821 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53822 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53823 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53824 VENDOR!$VENDOR$ac_delim
53825 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53826 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53827 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53828 WXUNIV!$WXUNIV$ac_delim
53829 MONOLITHIC!$MONOLITHIC$ac_delim
53830 USE_PLUGINS!$USE_PLUGINS$ac_delim
53831 CXXWARNINGS!$CXXWARNINGS$ac_delim
53832 EXTRALIBS!$EXTRALIBS$ac_delim
53833 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53834 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53835 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53836 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53837 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53838 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53839 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53840 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53841 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53842 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53843 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53844 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53845 UNICODE!$UNICODE$ac_delim
53846 DEBUG_INFO!$DEBUG_INFO$ac_delim
53847 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53848 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53849 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53850 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53851 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53852 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53853 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53854 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53855 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53856 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53857 RANLIB!$RANLIB$ac_delim
53858 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53859 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53860 INSTALL_DATA!$INSTALL_DATA$ac_delim
53861 LN_S!$LN_S$ac_delim
53862 SET_MAKE!$SET_MAKE$ac_delim
53863 MAKE_SET!$MAKE_SET$ac_delim
53864 AROPTIONS!$AROPTIONS$ac_delim
53865 STRIP!$STRIP$ac_delim
53867 INSTALL_DIR!$INSTALL_DIR$ac_delim
53868 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53869 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53870 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53871 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53872 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53873 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53874 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53875 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53876 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53877 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53878 SO_SUFFIX!$SO_SUFFIX$ac_delim
53879 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53880 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53881 LIBPREFIX!$LIBPREFIX$ac_delim
53882 LIBEXT!$LIBEXT$ac_delim
53883 DLLPREFIX!$DLLPREFIX$ac_delim
53884 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53885 dlldir!$dlldir$ac_delim
53886 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53887 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53888 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53889 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53890 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53891 PIC_FLAG!$PIC_FLAG$ac_delim
53892 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53893 USE_SOVERSION!$USE_SOVERSION$ac_delim
53894 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53895 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53896 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53897 USE_MACVERSION!$USE_MACVERSION$ac_delim
53898 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53899 SONAME_FLAG!$SONAME_FLAG$ac_delim
53900 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53901 BK_DEPS!$BK_DEPS$ac_delim
53902 WINDRES!$WINDRES$ac_delim
53904 SETFILE!$SETFILE$ac_delim
53907 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53909 elif $ac_last_try; then
53910 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53911 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53912 { (exit 1); exit 1; }; }
53914 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53918 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53919 if test -n "$ac_eof"; then
53920 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53921 ac_eof=`expr $ac_eof + 1`
53924 cat >>$CONFIG_STATUS <<_ACEOF
53925 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53926 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53929 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53930 s/^/s,@/; s/!/@,|#_!!_#|/
53933 s/'"$ac_delim"'$/,g/; t
53935 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53936 ' >>$CONFIG_STATUS <conf$$subs.sed
53937 rm -f conf$$subs.sed
53938 cat >>$CONFIG_STATUS <<_ACEOF
53944 for ac_last_try in false false false false false :; do
53945 cat >conf$$subs.sed <<_ACEOF
53946 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53947 GCC_PCH!$GCC_PCH$ac_delim
53948 ICC_PCH!$ICC_PCH$ac_delim
53949 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53950 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53951 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53952 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53953 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53954 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53955 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53956 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53957 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53958 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53959 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53960 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53961 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53962 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53963 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53964 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53965 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53966 COND_BUILD_release!$COND_BUILD_release$ac_delim
53967 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53968 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53969 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53970 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53971 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53972 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53973 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53974 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53975 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53976 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53977 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53978 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53979 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53980 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53981 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53982 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53984 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53985 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53986 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53987 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53988 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53989 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53990 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53991 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53992 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53993 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53994 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53995 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53996 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53997 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53998 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53999 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54000 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54001 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54002 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54003 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54004 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54005 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54006 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54007 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54008 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54009 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54010 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54011 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54012 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54013 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54014 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54015 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54016 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54017 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54018 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54019 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54020 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54021 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54022 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54023 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
54024 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54025 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
54026 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54027 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
54028 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54029 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54030 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54031 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54032 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54033 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54034 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54035 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54036 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54037 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54038 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54039 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54040 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54041 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54042 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54045 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54047 elif $ac_last_try; then
54048 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54049 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54050 { (exit 1); exit 1; }; }
54052 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54056 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54057 if test -n "$ac_eof"; then
54058 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54059 ac_eof=`expr $ac_eof + 1`
54062 cat >>$CONFIG_STATUS <<_ACEOF
54063 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54067 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54068 s/^/s,@/; s/!/@,|#_!!_#|/
54071 s/'"$ac_delim"'$/,g/; t
54073 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54074 ' >>$CONFIG_STATUS <conf$$subs.sed
54075 rm -f conf$$subs.sed
54076 cat >>$CONFIG_STATUS <<_ACEOF
54082 for ac_last_try in false false false false false :; do
54083 cat >conf$$subs.sed <<_ACEOF
54084 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54085 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54086 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54087 COND_SHARED_0!$COND_SHARED_0$ac_delim
54088 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54089 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54090 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54091 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54092 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54093 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54094 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54095 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54096 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54097 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54098 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54099 COND_SHARED_1!$COND_SHARED_1$ac_delim
54100 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54101 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54102 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54103 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54104 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54105 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54106 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54107 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54108 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54109 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54110 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54111 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54112 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54113 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54114 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54115 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54116 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54117 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54118 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54119 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54120 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54121 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54122 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54123 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54124 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54125 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54126 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54127 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54128 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54129 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54130 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54131 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54132 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54133 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54134 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54135 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54136 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54137 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54138 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54139 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54140 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54141 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54142 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54143 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54144 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54145 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54146 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54147 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54148 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54149 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54150 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54151 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54152 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54153 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54154 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54155 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54156 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54157 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54158 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54159 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54160 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54161 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54162 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54163 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54164 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54165 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54166 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54167 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54168 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54169 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54170 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54171 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54172 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54173 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54174 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54175 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54176 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54177 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54178 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54179 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54180 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54183 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54185 elif $ac_last_try; then
54186 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54187 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54188 { (exit 1); exit 1; }; }
54190 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54194 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54195 if test -n "$ac_eof"; then
54196 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54197 ac_eof=`expr $ac_eof + 1`
54200 cat >>$CONFIG_STATUS <<_ACEOF
54201 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54205 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54206 s/^/s,@/; s/!/@,|#_!!_#|/
54209 s/'"$ac_delim"'$/,g/; t
54211 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54212 ' >>$CONFIG_STATUS <conf$$subs.sed
54213 rm -f conf$$subs.sed
54214 cat >>$CONFIG_STATUS <<_ACEOF
54220 for ac_last_try in false false false false false :; do
54221 cat >conf$$subs.sed <<_ACEOF
54222 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54223 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54224 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54225 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54226 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54227 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54228 DEREZ!$DEREZ$ac_delim
54229 SHARED!$SHARED$ac_delim
54230 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54231 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54232 USE_GUI!$USE_GUI$ac_delim
54233 AFMINSTALL!$AFMINSTALL$ac_delim
54234 WIN32INSTALL!$WIN32INSTALL$ac_delim
54235 TOOLKIT!$TOOLKIT$ac_delim
54236 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54237 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54238 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54239 cross_compiling!$cross_compiling$ac_delim
54240 WIDGET_SET!$WIDGET_SET$ac_delim
54241 WX_RELEASE!$WX_RELEASE$ac_delim
54242 WX_VERSION!$WX_VERSION$ac_delim
54243 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54244 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54245 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54246 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54247 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54248 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54249 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54250 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54251 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54252 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54253 GUIDIST!$GUIDIST$ac_delim
54254 DISTDIR!$DISTDIR$ac_delim
54255 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54256 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54257 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54258 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54259 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54260 RESCOMP!$RESCOMP$ac_delim
54261 RESFLAGS!$RESFLAGS$ac_delim
54262 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54263 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54264 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54265 LIBWXMACRES!$LIBWXMACRES$ac_delim
54266 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54267 MACSETFILE!$MACSETFILE$ac_delim
54269 DLLTOOL!$DLLTOOL$ac_delim
54270 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54271 LIBOBJS!$LIBOBJS$ac_delim
54272 LTLIBOBJS!$LTLIBOBJS$ac_delim
54275 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54277 elif $ac_last_try; then
54278 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54279 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54280 { (exit 1); exit 1; }; }
54282 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54286 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54287 if test -n "$ac_eof"; then
54288 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54289 ac_eof=`expr $ac_eof + 1`
54292 cat >>$CONFIG_STATUS <<_ACEOF
54293 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54294 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54297 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54298 s/^/s,@/; s/!/@,|#_!!_#|/
54301 s/'"$ac_delim"'$/,g/; t
54303 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54304 ' >>$CONFIG_STATUS <conf$$subs.sed
54305 rm -f conf$$subs.sed
54306 cat >>$CONFIG_STATUS <<_ACEOF
54313 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54314 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54315 # trailing colons and then remove the whole line if VPATH becomes empty
54316 # (actually we leave an empty line to preserve line numbers).
54317 if test "x$srcdir" = x.; then
54318 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54319 s/:*\$(srcdir):*/:/
54320 s/:*\${srcdir}:*/:/
54322 s/^\([^=]*=[ ]*\):*/\1/
54328 cat >>$CONFIG_STATUS <<\_ACEOF
54329 fi # test -n "$CONFIG_FILES"
54332 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54335 :[FHLC]) ac_mode=$ac_tag; continue;;
54337 case $ac_mode$ac_tag in
54339 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54340 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54341 { (exit 1); exit 1; }; };;
54342 :[FH]-) ac_tag=-:-;;
54343 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54360 -) ac_f="$tmp/stdin";;
54361 *) # Look for the file first in the build tree, then in the source tree
54362 # (if the path is not absolute). The absolute path cannot be DOS-style,
54363 # because $ac_f cannot contain `:'.
54367 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54369 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54370 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54371 { (exit 1); exit 1; }; };;
54373 ac_file_inputs="$ac_file_inputs $ac_f"
54376 # Let's still pretend it is `configure' which instantiates (i.e., don't
54377 # use $as_me), people would be surprised to read:
54378 # /* config.h. Generated by config.status. */
54379 configure_input="Generated from "`IFS=:
54380 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54381 if test x"$ac_file" != x-; then
54382 configure_input="$ac_file. $configure_input"
54383 { echo "$as_me:$LINENO: creating $ac_file" >&5
54384 echo "$as_me: creating $ac_file" >&6;}
54388 *:-:* | *:-) cat >"$tmp/stdin";;
54393 ac_dir=`$as_dirname -- "$ac_file" ||
54394 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54395 X"$ac_file" : 'X\(//\)[^/]' \| \
54396 X"$ac_file" : 'X\(//\)$' \| \
54397 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54403 /^X\(\/\/\)[^/].*/{
54418 -*) as_dir=./$as_dir;;
54420 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54424 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54425 *) as_qdir=$as_dir;;
54427 as_dirs="'$as_qdir' $as_dirs"
54428 as_dir=`$as_dirname -- "$as_dir" ||
54429 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54430 X"$as_dir" : 'X\(//\)[^/]' \| \
54431 X"$as_dir" : 'X\(//\)$' \| \
54432 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54438 /^X\(\/\/\)[^/].*/{
54451 test -d "$as_dir" && break
54453 test -z "$as_dirs" || eval "mkdir $as_dirs"
54454 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54455 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54456 { (exit 1); exit 1; }; }; }
54460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54462 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54463 # A ".." for each directory in $ac_dir_suffix.
54464 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54465 case $ac_top_builddir_sub in
54466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54470 ac_abs_top_builddir=$ac_pwd
54471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54472 # for backward compatibility:
54473 ac_top_builddir=$ac_top_build_prefix
54476 .) # We are building in place.
54478 ac_top_srcdir=$ac_top_builddir_sub
54479 ac_abs_top_srcdir=$ac_pwd ;;
54480 [\\/]* | ?:[\\/]* ) # Absolute name.
54481 ac_srcdir=$srcdir$ac_dir_suffix;
54482 ac_top_srcdir=$srcdir
54483 ac_abs_top_srcdir=$srcdir ;;
54484 *) # Relative name.
54485 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54486 ac_top_srcdir=$ac_top_build_prefix$srcdir
54487 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54499 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54500 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54504 cat >>$CONFIG_STATUS <<\_ACEOF
54505 # If the template does not know about datarootdir, expand it.
54506 # FIXME: This hack should be removed a few years after 2.60.
54507 ac_datarootdir_hack=; ac_datarootdir_seen=
54509 case `sed -n '/datarootdir/ {
54518 ' $ac_file_inputs` in
54519 *datarootdir*) ac_datarootdir_seen=yes;;
54520 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54521 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54522 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54524 cat >>$CONFIG_STATUS <<_ACEOF
54525 ac_datarootdir_hack='
54526 s&@datadir@&$datadir&g
54527 s&@docdir@&$docdir&g
54528 s&@infodir@&$infodir&g
54529 s&@localedir@&$localedir&g
54530 s&@mandir@&$mandir&g
54531 s&\\\${datarootdir}&$datarootdir&g' ;;
54535 # Neutralize VPATH when `$srcdir' = `.'.
54536 # Shell code in configure.ac might set extrasub.
54537 # FIXME: do we really want to maintain this feature?
54538 cat >>$CONFIG_STATUS <<_ACEOF
54542 cat >>$CONFIG_STATUS <<\_ACEOF
54544 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54545 s&@configure_input@&$configure_input&;t t
54546 s&@top_builddir@&$ac_top_builddir_sub&;t t
54547 s&@srcdir@&$ac_srcdir&;t t
54548 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54549 s&@top_srcdir@&$ac_top_srcdir&;t t
54550 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54551 s&@builddir@&$ac_builddir&;t t
54552 s&@abs_builddir@&$ac_abs_builddir&;t t
54553 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54554 s&@INSTALL@&$ac_INSTALL&;t t
54555 $ac_datarootdir_hack
54556 " $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
54558 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54559 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54560 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54561 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54562 which seems to be undefined. Please make sure it is defined." >&5
54563 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54564 which seems to be undefined. Please make sure it is defined." >&2;}
54568 -) cat "$tmp/out"; rm -f "$tmp/out";;
54569 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54578 # Transform confdefs.h into a sed script `conftest.defines', that
54579 # substitutes the proper values into config.h.in to produce config.h.
54580 rm -f conftest.defines conftest.tail
54581 # First, append a space to every undef/define line, to ease matching.
54582 echo 's/$/ /' >conftest.defines
54583 # Then, protect against being on the right side of a sed subst, or in
54584 # an unquoted here document, in config.status. If some macros were
54585 # called several times there might be several #defines for the same
54586 # symbol, which is useless. But do not sort them, since the last
54587 # AC_DEFINE must be honored.
54588 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54589 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54590 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54591 # PARAMS is the parameter list in the macro definition--in most cases, it's
54592 # just an empty string.
54593 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54594 ac_dB='\\)[ (].*,\\1define\\2'
54602 s/^[ ]*#[ ]*define[ ][ ]*//
54607 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54608 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54609 ' >>conftest.defines
54611 # Remove the space that was appended to ease matching.
54612 # Then replace #undef with comments. This is necessary, for
54613 # example, in the case of _POSIX_SOURCE, which is predefined and required
54614 # on some systems where configure will not decide to define it.
54615 # (The regexp can be short, since the line contains either #define or #undef.)
54617 s,^[ #]*u.*,/* & */,' >>conftest.defines
54619 # Break up conftest.defines:
54620 ac_max_sed_lines=50
54622 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54623 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54624 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54626 ac_in='$ac_file_inputs'
54627 ac_out='"$tmp/out1"'
54628 ac_nxt='"$tmp/out2"'
54632 # Write a here document:
54633 cat >>$CONFIG_STATUS <<_ACEOF
54634 # First, check the format of the line:
54635 cat >"\$tmp/defines.sed" <<\\CEOF
54636 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54637 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54641 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54643 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54644 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54645 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54646 grep . conftest.tail >/dev/null || break
54647 rm -f conftest.defines
54648 mv conftest.tail conftest.defines
54650 rm -f conftest.defines conftest.tail
54652 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54653 cat >>$CONFIG_STATUS <<\_ACEOF
54654 if test x"$ac_file" != x-; then
54655 echo "/* $configure_input */" >"$tmp/config.h"
54656 cat "$ac_result" >>"$tmp/config.h"
54657 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54658 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54659 echo "$as_me: $ac_file is unchanged" >&6;}
54662 mv "$tmp/config.h" $ac_file
54665 echo "/* $configure_input */"
54671 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54672 echo "$as_me: executing $ac_file commands" >&6;}
54677 case $ac_file$ac_mode in
54679 mkdir -p $outdir &&
54680 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54682 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54683 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54684 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54685 "wx-config":C) rm -f wx-config
54686 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54693 { (exit 0); exit 0; }
54695 chmod +x $CONFIG_STATUS
54696 ac_clean_files=$ac_clean_files_save
54699 # configure is writing to config.log, and then calls config.status.
54700 # config.status does its own redirection, appending to config.log.
54701 # Unfortunately, on DOS this fails, as config.log is still kept open
54702 # by configure, so config.status won't be able to write to it; its
54703 # output is simply discarded. So we exec the FD to /dev/null,
54704 # effectively closing config.log, so it can be properly (re)opened and
54705 # appended to by config.status. When coming back to configure, we
54706 # need to make the FD available again.
54707 if test "$no_create" != yes; then
54709 ac_config_status_args=
54710 test "$silent" = yes &&
54711 ac_config_status_args="$ac_config_status_args --quiet"
54713 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54715 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54716 # would make configure fail if this is the last instruction.
54717 $ac_cs_success || { (exit 1); exit 1; }
54721 # CONFIG_SUBDIRS section.
54723 if test "$no_recursion" != yes; then
54725 # Remove --cache-file and --srcdir arguments so they do not pile up.
54726 ac_sub_configure_args=
54728 eval "set x $ac_configure_args"
54732 if test -n "$ac_prev"; then
54737 -cache-file | --cache-file | --cache-fil | --cache-fi \
54738 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54739 ac_prev=cache_file ;;
54740 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54741 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54744 --config-cache | -C)
54746 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54748 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54750 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54752 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54756 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54758 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54762 # Always prepend --prefix to ensure using the same prefix
54763 # in subdir configurations.
54764 ac_arg="--prefix=$prefix"
54766 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54768 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54771 if test "$silent" = yes; then
54772 ac_sub_configure_args="--silent $ac_sub_configure_args"
54776 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54778 # Do not complain, so a configure script can configure whichever
54779 # parts of a large source tree are present.
54780 test -d "$srcdir/$ac_dir" || continue
54782 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54783 echo "$as_me:$LINENO: $ac_msg" >&5
54787 -*) as_dir=./$as_dir;;
54789 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54793 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54794 *) as_qdir=$as_dir;;
54796 as_dirs="'$as_qdir' $as_dirs"
54797 as_dir=`$as_dirname -- "$as_dir" ||
54798 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54799 X"$as_dir" : 'X\(//\)[^/]' \| \
54800 X"$as_dir" : 'X\(//\)$' \| \
54801 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54807 /^X\(\/\/\)[^/].*/{
54820 test -d "$as_dir" && break
54822 test -z "$as_dirs" || eval "mkdir $as_dirs"
54823 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54824 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54825 { (exit 1); exit 1; }; }; }
54829 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54831 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54832 # A ".." for each directory in $ac_dir_suffix.
54833 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54834 case $ac_top_builddir_sub in
54835 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54836 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54839 ac_abs_top_builddir=$ac_pwd
54840 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54841 # for backward compatibility:
54842 ac_top_builddir=$ac_top_build_prefix
54845 .) # We are building in place.
54847 ac_top_srcdir=$ac_top_builddir_sub
54848 ac_abs_top_srcdir=$ac_pwd ;;
54849 [\\/]* | ?:[\\/]* ) # Absolute name.
54850 ac_srcdir=$srcdir$ac_dir_suffix;
54851 ac_top_srcdir=$srcdir
54852 ac_abs_top_srcdir=$srcdir ;;
54853 *) # Relative name.
54854 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54855 ac_top_srcdir=$ac_top_build_prefix$srcdir
54856 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54858 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54863 # Check for guested configure; otherwise get Cygnus style configure.
54864 if test -f "$ac_srcdir/configure.gnu"; then
54865 ac_sub_configure=$ac_srcdir/configure.gnu
54866 elif test -f "$ac_srcdir/configure"; then
54867 ac_sub_configure=$ac_srcdir/configure
54868 elif test -f "$ac_srcdir/configure.in"; then
54869 # This should be Cygnus configure.
54870 ac_sub_configure=$ac_aux_dir/configure
54872 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54873 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54877 # The recursion is here.
54878 if test -n "$ac_sub_configure"; then
54879 # Make the cache file name correct relative to the subdirectory.
54880 case $cache_file in
54881 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54882 *) # Relative name.
54883 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54886 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54887 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54888 # The eval makes quoting arguments work.
54889 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54890 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54891 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54892 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54893 { (exit 1); exit 1; }; }
54902 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54904 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54905 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54906 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54907 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54908 if test "$wxUSE_UNICODE" = "yes"; then
54909 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54910 echo " (using UTF-8)"
54912 echo " (using wchar_t)"
54918 echo " What level of wxWidgets compatibility should be enabled?"
54919 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54920 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54922 echo " Which libraries should wxWidgets use?"
54923 echo " STL ${wxUSE_STL}"
54924 echo " jpeg ${wxUSE_LIBJPEG-none}"
54925 echo " png ${wxUSE_LIBPNG-none}"
54926 echo " regex ${wxUSE_REGEX}"
54927 echo " tiff ${wxUSE_LIBTIFF-none}"
54928 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54929 echo " xpm ${wxUSE_LIBXPM-none}"
54931 echo " zlib ${wxUSE_ZLIB}"
54932 echo " expat ${wxUSE_EXPAT}"
54933 echo " libmspack ${wxUSE_LIBMSPACK}"
54934 echo " sdl ${wxUSE_LIBSDL}"