2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.3.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.3'
579 PACKAGE_STRING='wxWidgets 2.9.3'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
708 LIBGNOMEPRINTUI_CFLAGS
816 ICC_PCH_CREATE_SWITCH
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEB_1
853 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
855 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
856 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
857 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
858 COND_MONOLITHIC_0_SHARED_1
859 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
864 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEB_1
865 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
866 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
867 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
868 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
869 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
870 COND_MONOLITHIC_0_USE_AUI_1
871 COND_MONOLITHIC_0_USE_GUI_1
872 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_HTML_1
874 COND_MONOLITHIC_0_USE_MEDIA_1
875 COND_MONOLITHIC_0_USE_PROPGRID_1
876 COND_MONOLITHIC_0_USE_QA_1
877 COND_MONOLITHIC_0_USE_RIBBON_1
878 COND_MONOLITHIC_0_USE_RICHTEXT_1
879 COND_MONOLITHIC_0_USE_STC_1
880 COND_MONOLITHIC_0_USE_WEB_1
881 COND_MONOLITHIC_0_USE_XRC_1
883 COND_MONOLITHIC_1_SHARED_0
884 COND_MONOLITHIC_1_SHARED_1
885 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
886 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
887 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
888 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
889 COND_PLATFORM_MACOSX_1
890 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
891 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
895 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
896 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
897 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
898 COND_PLATFORM_MACOSX_1_USE_GUI_1
899 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
900 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
901 COND_PLATFORM_MACOS_1
904 COND_PLATFORM_MSDOS_0
905 COND_PLATFORM_MSDOS_1
909 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
910 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
911 COND_PLATFORM_UNIX_1_USE_GUI_1
912 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
913 COND_PLATFORM_WIN32_0
914 COND_PLATFORM_WIN32_1
915 COND_PLATFORM_WIN32_1_SHARED_0
917 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
918 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
919 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
920 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
921 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
922 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
923 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
924 COND_SHARED_0_USE_STC_1
925 COND_SHARED_0_wxUSE_EXPAT_builtin
926 COND_SHARED_0_wxUSE_REGEX_builtin
927 COND_SHARED_0_wxUSE_ZLIB_builtin
929 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
932 COND_TOOLKIT_COCOA_USE_GUI_1
933 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_DFB_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
940 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
942 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_GTK_USE_GUI_1
946 COND_TOOLKIT_MGL_USE_GUI_1
948 COND_TOOLKIT_MOTIF_USE_GUI_1
949 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_MSW_USE_GUI_1
952 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_MSW_WXUNIV_0
954 COND_TOOLKIT_OSX_CARBON
955 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
956 COND_TOOLKIT_OSX_COCOA
957 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
958 COND_TOOLKIT_OSX_IPHONE
959 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
960 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_PM_USE_GUI_1
963 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
965 COND_TOOLKIT_WINCE_USE_GUI_1
966 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
967 COND_TOOLKIT_WINCE_WXUNIV_0
969 COND_TOOLKIT_X11_USE_GUI_1
972 COND_USE_EXCEPTIONS_0
973 COND_USE_EXCEPTIONS_1
976 COND_USE_GUI_1_USE_OPENGL_1
977 COND_USE_GUI_1_WXUNIV_0
978 COND_USE_GUI_1_WXUNIV_1
979 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
980 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
981 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
982 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
983 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
984 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
990 COND_USE_SOTWOSYMLINKS_1
991 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
992 COND_USE_SOVERLINUX_1
994 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
995 COND_USE_SOVERSOLARIS_1
1000 COND_WINDOWS_IMPLIB_1
1001 COND_WITH_PLUGIN_SDL_1
1004 COND_WXUSE_EXPAT_BUILTIN
1005 COND_WXUSE_LIBJPEG_BUILTIN
1006 COND_WXUSE_LIBPNG_BUILTIN
1007 COND_WXUSE_LIBTIFF_BUILTIN
1008 COND_WXUSE_REGEX_BUILTIN
1009 COND_WXUSE_ZLIB_BUILTIN
1010 COND_wxUSE_EXPAT_builtin
1011 COND_wxUSE_LIBJPEG_builtin
1012 COND_wxUSE_LIBPNG_builtin
1013 COND_wxUSE_LIBTIFF_builtin
1014 COND_wxUSE_REGEX_builtin
1015 COND_wxUSE_ZLIB_builtin
1018 WX_LIBRARY_BASENAME_NOGUI
1019 WX_LIBRARY_BASENAME_GUI
1039 WXCONFIG_LDFLAGS_GUI
1051 WX_RESOURCES_MACOSX_ASCII
1052 WX_RESOURCES_MACOSX_DATA
1062 ac_precious_vars='build_alias
1087 LIBGNOMEPRINTUI_CFLAGS
1088 LIBGNOMEPRINTUI_LIBS
1099 ac_subdirs_all='src/tiff
1102 # Initialize some variables set by options.
1104 ac_init_version=false
1105 # The variables have the same names as the options, with
1106 # dashes changed to underlines.
1107 cache_file=/dev/null
1114 program_transform_name=s,x,x,
1122 # Installation directory options.
1123 # These are left unexpanded so users can "make install exec_prefix=/foo"
1124 # and all the variables that are supposed to be based on exec_prefix
1125 # by default will actually change.
1126 # Use braces instead of parens because sh, perl, etc. also accept them.
1127 # (The list follows the same order as the GNU Coding Standards.)
1128 bindir='${exec_prefix}/bin'
1129 sbindir='${exec_prefix}/sbin'
1130 libexecdir='${exec_prefix}/libexec'
1131 datarootdir='${prefix}/share'
1132 datadir='${datarootdir}'
1133 sysconfdir='${prefix}/etc'
1134 sharedstatedir='${prefix}/com'
1135 localstatedir='${prefix}/var'
1136 includedir='${prefix}/include'
1137 oldincludedir='/usr/include'
1138 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1139 infodir='${datarootdir}/info'
1144 libdir='${exec_prefix}/lib'
1145 localedir='${datarootdir}/locale'
1146 mandir='${datarootdir}/man'
1152 # If the previous option needs an argument, assign it.
1153 if test -n "$ac_prev"; then
1154 eval $ac_prev=\$ac_option
1160 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1164 # Accept the important Cygnus configure options, so we can diagnose typos.
1166 case $ac_dashdash$ac_option in
1170 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1172 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1173 bindir=$ac_optarg ;;
1175 -build | --build | --buil | --bui | --bu)
1176 ac_prev=build_alias ;;
1177 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1178 build_alias=$ac_optarg ;;
1180 -cache-file | --cache-file | --cache-fil | --cache-fi \
1181 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1182 ac_prev=cache_file ;;
1183 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1184 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1185 cache_file=$ac_optarg ;;
1187 --config-cache | -C)
1188 cache_file=config.cache ;;
1190 -datadir | --datadir | --datadi | --datad)
1192 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1193 datadir=$ac_optarg ;;
1195 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1196 | --dataroo | --dataro | --datar)
1197 ac_prev=datarootdir ;;
1198 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1199 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1200 datarootdir=$ac_optarg ;;
1202 -disable-* | --disable-*)
1203 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_$ac_feature=no ;;
1211 -docdir | --docdir | --docdi | --doc | --do)
1213 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1214 docdir=$ac_optarg ;;
1216 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1218 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1219 dvidir=$ac_optarg ;;
1221 -enable-* | --enable-*)
1222 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1225 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1228 eval enable_$ac_feature=\$ac_optarg ;;
1230 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1231 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1232 | --exec | --exe | --ex)
1233 ac_prev=exec_prefix ;;
1234 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1235 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1236 | --exec=* | --exe=* | --ex=*)
1237 exec_prefix=$ac_optarg ;;
1239 -gas | --gas | --ga | --g)
1240 # Obsolete; use --with-gas.
1243 -help | --help | --hel | --he | -h)
1244 ac_init_help=long ;;
1245 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1246 ac_init_help=recursive ;;
1247 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1248 ac_init_help=short ;;
1250 -host | --host | --hos | --ho)
1251 ac_prev=host_alias ;;
1252 -host=* | --host=* | --hos=* | --ho=*)
1253 host_alias=$ac_optarg ;;
1255 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1257 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1259 htmldir=$ac_optarg ;;
1261 -includedir | --includedir | --includedi | --included | --include \
1262 | --includ | --inclu | --incl | --inc)
1263 ac_prev=includedir ;;
1264 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1265 | --includ=* | --inclu=* | --incl=* | --inc=*)
1266 includedir=$ac_optarg ;;
1268 -infodir | --infodir | --infodi | --infod | --info | --inf)
1270 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1271 infodir=$ac_optarg ;;
1273 -libdir | --libdir | --libdi | --libd)
1275 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1276 libdir=$ac_optarg ;;
1278 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1279 | --libexe | --libex | --libe)
1280 ac_prev=libexecdir ;;
1281 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1282 | --libexe=* | --libex=* | --libe=*)
1283 libexecdir=$ac_optarg ;;
1285 -localedir | --localedir | --localedi | --localed | --locale)
1286 ac_prev=localedir ;;
1287 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1288 localedir=$ac_optarg ;;
1290 -localstatedir | --localstatedir | --localstatedi | --localstated \
1291 | --localstate | --localstat | --localsta | --localst | --locals)
1292 ac_prev=localstatedir ;;
1293 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1294 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1295 localstatedir=$ac_optarg ;;
1297 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1299 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1300 mandir=$ac_optarg ;;
1302 -nfp | --nfp | --nf)
1303 # Obsolete; use --without-fp.
1306 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1307 | --no-cr | --no-c | -n)
1310 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1311 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1314 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1315 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1316 | --oldin | --oldi | --old | --ol | --o)
1317 ac_prev=oldincludedir ;;
1318 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1319 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1320 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1321 oldincludedir=$ac_optarg ;;
1323 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1325 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1326 prefix=$ac_optarg ;;
1328 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1329 | --program-pre | --program-pr | --program-p)
1330 ac_prev=program_prefix ;;
1331 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1332 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1333 program_prefix=$ac_optarg ;;
1335 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1336 | --program-suf | --program-su | --program-s)
1337 ac_prev=program_suffix ;;
1338 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1339 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1340 program_suffix=$ac_optarg ;;
1342 -program-transform-name | --program-transform-name \
1343 | --program-transform-nam | --program-transform-na \
1344 | --program-transform-n | --program-transform- \
1345 | --program-transform | --program-transfor \
1346 | --program-transfo | --program-transf \
1347 | --program-trans | --program-tran \
1348 | --progr-tra | --program-tr | --program-t)
1349 ac_prev=program_transform_name ;;
1350 -program-transform-name=* | --program-transform-name=* \
1351 | --program-transform-nam=* | --program-transform-na=* \
1352 | --program-transform-n=* | --program-transform-=* \
1353 | --program-transform=* | --program-transfor=* \
1354 | --program-transfo=* | --program-transf=* \
1355 | --program-trans=* | --program-tran=* \
1356 | --progr-tra=* | --program-tr=* | --program-t=*)
1357 program_transform_name=$ac_optarg ;;
1359 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1361 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1362 pdfdir=$ac_optarg ;;
1364 -psdir | --psdir | --psdi | --psd | --ps)
1366 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1369 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1370 | -silent | --silent | --silen | --sile | --sil)
1373 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1375 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1377 sbindir=$ac_optarg ;;
1379 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1380 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1381 | --sharedst | --shareds | --shared | --share | --shar \
1383 ac_prev=sharedstatedir ;;
1384 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1385 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1386 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1388 sharedstatedir=$ac_optarg ;;
1390 -site | --site | --sit)
1392 -site=* | --site=* | --sit=*)
1395 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1397 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1398 srcdir=$ac_optarg ;;
1400 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1401 | --syscon | --sysco | --sysc | --sys | --sy)
1402 ac_prev=sysconfdir ;;
1403 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1404 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1405 sysconfdir=$ac_optarg ;;
1407 -target | --target | --targe | --targ | --tar | --ta | --t)
1408 ac_prev=target_alias ;;
1409 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1410 target_alias=$ac_optarg ;;
1412 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1415 -version | --version | --versio | --versi | --vers | -V)
1416 ac_init_version=: ;;
1419 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_$ac_package=\$ac_optarg ;;
1427 -without-* | --without-*)
1428 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1429 # Reject names that are not valid shell variable names.
1430 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1431 { echo "$as_me: error: invalid package name: $ac_package" >&2
1432 { (exit 1); exit 1; }; }
1433 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1434 eval with_$ac_package=no ;;
1437 # Obsolete; use --with-x.
1440 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1441 | --x-incl | --x-inc | --x-in | --x-i)
1442 ac_prev=x_includes ;;
1443 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1444 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1445 x_includes=$ac_optarg ;;
1447 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1448 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1449 ac_prev=x_libraries ;;
1450 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1451 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1452 x_libraries=$ac_optarg ;;
1454 -*) { echo "$as_me: error: unrecognized option: $ac_option
1455 Try \`$0 --help' for more information." >&2
1456 { (exit 1); exit 1; }; }
1460 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1461 # Reject names that are not valid shell variable names.
1462 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1463 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1464 { (exit 1); exit 1; }; }
1465 eval $ac_envvar=\$ac_optarg
1466 export $ac_envvar ;;
1469 # FIXME: should be removed in autoconf 3.0.
1470 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1471 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1472 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1473 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1479 if test -n "$ac_prev"; then
1480 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1481 { echo "$as_me: error: missing argument to $ac_option" >&2
1482 { (exit 1); exit 1; }; }
1485 # Be sure to have absolute directory names.
1486 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1487 datadir sysconfdir sharedstatedir localstatedir includedir \
1488 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1489 libdir localedir mandir
1491 eval ac_val=\$$ac_var
1493 [\\/$]* | ?:[\\/]* ) continue;;
1494 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1496 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1497 { (exit 1); exit 1; }; }
1500 # There might be people who depend on the old broken behavior: `$host'
1501 # used to hold the argument of --host etc.
1502 # FIXME: To remove some day.
1505 target=$target_alias
1507 # FIXME: To remove some day.
1508 if test "x$host_alias" != x; then
1509 if test "x$build_alias" = x; then
1510 cross_compiling=maybe
1511 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1512 If a cross compiler is detected then cross compile mode will be used." >&2
1513 elif test "x$build_alias" != "x$host_alias"; then
1519 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1521 test "$silent" = yes && exec 6>/dev/null
1524 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1525 ac_ls_di=`ls -di .` &&
1526 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1527 { echo "$as_me: error: Working directory cannot be determined" >&2
1528 { (exit 1); exit 1; }; }
1529 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1530 { echo "$as_me: error: pwd does not report name of working directory" >&2
1531 { (exit 1); exit 1; }; }
1534 # Find the source files, if location was not specified.
1535 if test -z "$srcdir"; then
1536 ac_srcdir_defaulted=yes
1537 # Try the directory containing this script, then the parent directory.
1538 ac_confdir=`$as_dirname -- "$0" ||
1539 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1540 X"$0" : 'X\(//\)[^/]' \| \
1541 X"$0" : 'X\(//\)$' \| \
1542 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1562 if test ! -r "$srcdir/$ac_unique_file"; then
1566 ac_srcdir_defaulted=no
1568 if test ! -r "$srcdir/$ac_unique_file"; then
1569 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1570 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1571 { (exit 1); exit 1; }; }
1573 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1575 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1576 { (exit 1); exit 1; }; }
1578 # When building in place, set srcdir=.
1579 if test "$ac_abs_confdir" = "$ac_pwd"; then
1582 # Remove unnecessary trailing slashes from srcdir.
1583 # Double slashes in file names in object file debugging info
1584 # mess up M-x gdb in Emacs.
1586 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1588 for ac_var in $ac_precious_vars; do
1589 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1590 eval ac_env_${ac_var}_value=\$${ac_var}
1591 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1592 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1596 # Report the --help message.
1598 if test "$ac_init_help" = "long"; then
1599 # Omit some internal or obsolete options to make the list less imposing.
1600 # This message is too long to be a string in the A/UX 3.1 sh.
1602 \`configure' configures wxWidgets 2.9.3 to adapt to many kinds of systems.
1604 Usage: $0 [OPTION]... [VAR=VALUE]...
1606 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1607 VAR=VALUE. See below for descriptions of some of the useful variables.
1609 Defaults for the options are specified in brackets.
1612 -h, --help display this help and exit
1613 --help=short display options specific to this package
1614 --help=recursive display the short help of all the included packages
1615 -V, --version display version information and exit
1616 -q, --quiet, --silent do not print \`checking...' messages
1617 --cache-file=FILE cache test results in FILE [disabled]
1618 -C, --config-cache alias for \`--cache-file=config.cache'
1619 -n, --no-create do not create output files
1620 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1622 Installation directories:
1623 --prefix=PREFIX install architecture-independent files in PREFIX
1624 [$ac_default_prefix]
1625 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1628 By default, \`make install' will install all the files in
1629 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1630 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1631 for instance \`--prefix=\$HOME'.
1633 For better control, use the options below.
1635 Fine tuning of the installation directories:
1636 --bindir=DIR user executables [EPREFIX/bin]
1637 --sbindir=DIR system admin executables [EPREFIX/sbin]
1638 --libexecdir=DIR program executables [EPREFIX/libexec]
1639 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1640 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1641 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1642 --libdir=DIR object code libraries [EPREFIX/lib]
1643 --includedir=DIR C header files [PREFIX/include]
1644 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1645 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1646 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1647 --infodir=DIR info documentation [DATAROOTDIR/info]
1648 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1649 --mandir=DIR man documentation [DATAROOTDIR/man]
1650 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1651 --htmldir=DIR html documentation [DOCDIR]
1652 --dvidir=DIR dvi documentation [DOCDIR]
1653 --pdfdir=DIR pdf documentation [DOCDIR]
1654 --psdir=DIR ps documentation [DOCDIR]
1660 --x-includes=DIR X include files are in DIR
1661 --x-libraries=DIR X library files are in DIR
1664 --build=BUILD configure for building on BUILD [guessed]
1665 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1669 if test -n "$ac_init_help"; then
1670 case $ac_init_help in
1671 short | recursive ) echo "Configuration of wxWidgets 2.9.3:";;
1676 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1677 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1678 --disable-gui don't build GUI parts of the library
1679 --enable-monolithic build wxWidgets as single library
1680 --enable-plugins build parts of wxWidgets as loadable components
1681 --enable-official_build official build of wxWidgets (win32 DLL only)
1682 --enable-vendor=VENDOR vendor name (win32 DLL only)
1683 --disable-all-features disable all optional features to build minimal library
1684 --enable-universal use wxWidgets GUI controls instead of native ones
1685 --enable-nanox use NanoX
1686 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1687 --enable-gpe use GNOME PDA Environment features if possible
1688 --enable-debug build library for debugging
1689 --disable-debug_flag disable all debugging support
1690 --enable-debug_info generate debug information
1691 --enable-debug_gdb create code with extra GDB debugging information
1692 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1693 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1694 --disable-shared create static library instead of shared
1695 --enable-stl use standard C++ classes for everything
1696 --enable-std_containers use standard C++ container classes
1697 --enable-std_iostreams use standard C++ stream classes
1698 --enable-std_string use standard C++ string classes
1699 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1700 --disable-unicode compile without Unicode support
1701 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1702 --enable-utf8 use UTF-8 representation for strings (Unix only)
1703 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1704 --enable-extended_rtti use extended RTTI (XTI)
1705 --enable-omf use OMF object format
1706 --disable-optimise compile without optimisations
1707 --enable-profile create code with profiling information
1708 --enable-no_rtti create code without RTTI information
1709 --enable-no_exceptions create code without C++ exceptions handling
1710 --enable-permissive compile code disregarding strict ANSI
1711 --enable-no_deps create code without dependency information
1712 --disable-vararg_macros don't use vararg macros, even if they are supported
1713 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1714 --enable-macosx_arch=ARCH build for just the specified architecture
1715 --enable-compat26 enable wxWidgets 2.6 compatibility
1716 --disable-compat28 disable wxWidgets 2.8 compatibility
1717 --disable-rpath disable use of rpath for uninstalled builds
1718 --enable-objc_uniquifying enable Objective-C class name uniquifying
1719 --disable-visibility disable use of ELF symbols visibility even if supported
1720 --disable-tls disable use of compiler TLS support
1721 --enable-intl use internationalization system
1722 --enable-xlocale use x-locale support (requires wxLocale)
1723 --enable-config use wxConfig (and derived) classes
1724 --enable-protocols use wxProtocol and derived classes
1725 --enable-ftp use wxFTP (requires wxProtocol
1726 --enable-http use wxHTTP (requires wxProtocol
1727 --enable-fileproto use wxFileProto class (requires wxProtocol
1728 --enable-sockets use socket/network classes
1729 --enable-ipv6 enable IPv6 support in wxSocket
1730 --enable-ole use OLE classes (Win32 only)
1731 --enable-dataobj use data object classes
1732 --enable-ipc use interprocess communication (wxSocket etc.)
1733 --enable-baseevtloop use event loop in console programs too
1734 --enable-epollloop use wxEpollDispatcher class (Linux only)
1735 --enable-selectloop use wxSelectDispatcher class
1736 --enable-any use wxAny class
1737 --enable-apple_ieee use the Apple IEEE codec
1738 --enable-arcstream use wxArchive streams
1739 --enable-base64 use base64 encoding/decoding functions
1740 --enable-backtrace use wxStackWalker class for getting backtraces
1741 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1742 --enable-cmdline use wxCmdLineParser class
1743 --enable-datetime use wxDateTime class
1744 --enable-debugreport use wxDebugReport class
1745 --enable-dialupman use dialup network classes
1746 --enable-dynlib use wxLibrary class for DLL loading
1747 --enable-dynamicloader use (new) wxDynamicLibrary class
1748 --enable-exceptions build exception-safe library
1749 --enable-ffile use wxFFile class
1750 --enable-file use wxFile class
1751 --enable-filehistory use wxFileHistory class
1752 --enable-filesystem use virtual file systems classes
1753 --enable-fontenum use wxFontEnumerator class
1754 --enable-fontmap use font encodings conversion classes
1755 --enable-fs_archive use virtual archive filesystems
1756 --enable-fs_inet use virtual HTTP/FTP filesystems
1757 --enable-fs_zip now replaced by fs_archive
1758 --enable-fswatcher use wxFileSystemWatcher class
1759 --enable-geometry use geometry class
1760 --enable-log use logging system
1761 --enable-longlong use wxLongLong class
1762 --enable-mimetype use wxMimeTypesManager
1763 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1764 --enable-snglinst use wxSingleInstanceChecker class
1765 --enable-sound use wxSound class
1766 --enable-stdpaths use wxStandardPaths class
1767 --enable-stopwatch use wxStopWatch class
1768 --enable-streams use wxStream etc classes
1769 --enable-sysoptions use wxSystemOptions
1770 --enable-tarstream use wxTar streams
1771 --enable-textbuf use wxTextBuffer class
1772 --enable-textfile use wxTextFile class
1773 --enable-timer use wxTimer class
1774 --enable-variant use wxVariant class
1775 --enable-zipstream use wxZip streams
1776 --enable-url use wxURL class
1777 --enable-protocol use wxProtocol class
1778 --enable-protocol-http HTTP support in wxProtocol
1779 --enable-protocol-ftp FTP support in wxProtocol
1780 --enable-protocol-file FILE support in wxProtocol
1781 --enable-threads use threads
1782 --enable-iniconf use wxIniConfig (Win32 only)
1783 --enable-regkey use wxRegKey class (Win32 only)
1784 --enable-docview use document view architecture
1785 --enable-help use help subsystem
1786 --enable-mshtmlhelp use MS HTML Help (win32)
1787 --enable-html use wxHTML sub-library
1788 --enable-htmlhelp use wxHTML-based help
1789 --enable-xrc use XRC resources sub-library
1790 --enable-aui use AUI docking library
1791 --enable-propgrid use wxPropertyGrid library
1792 --enable-ribbon use wxRibbon library
1793 --enable-stc use wxStyledTextCtrl library
1794 --enable-constraints use layout-constraints system
1795 --enable-loggui use standard GUI logger
1796 --enable-logwin use wxLogWindow
1797 --enable-logdialog use wxLogDialog
1798 --enable-mdi use multiple document interface architecture
1799 --enable-mdidoc use docview architecture with MDI
1800 --enable-mediactrl use wxMediaCtrl class
1801 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1802 --enable-webkit use wxWebKitCtrl (Mac)
1803 --enable-richtext use wxRichTextCtrl
1804 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1805 --enable-printarch use printing architecture
1806 --enable-svg use wxSVGFileDC device context
1807 --enable-web use wxWeb library
1808 --enable-graphics_ctx use graphics context 2D drawing API
1809 --enable-clipboard use wxClipboard class
1810 --enable-dnd use Drag'n'Drop classes
1811 --enable-metafile use win32 metafiles
1812 --disable-controls disable compilation of all standard controls
1813 --enable-markup support wxControl::SetLabelMarkup
1814 --enable-accel use accelerators
1815 --enable-animatectrl use wxAnimationCtrl class
1816 --enable-artstd use standard XPM icons in wxArtProvider
1817 --enable-arttango use Tango icons in wxArtProvider
1818 --enable-bmpbutton use wxBitmapButton class
1819 --enable-bmpcombobox use wxBitmapComboBox class
1820 --enable-button use wxButton class
1821 --enable-calendar use wxCalendarCtrl class
1822 --enable-caret use wxCaret class
1823 --enable-checkbox use wxCheckBox class
1824 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1825 --enable-choice use wxChoice class
1826 --enable-choicebook use wxChoicebook class
1827 --enable-collpane use wxCollapsiblePane class
1828 --enable-colourpicker use wxColourPickerCtrl class
1829 --enable-combobox use wxComboBox class
1830 --enable-comboctrl use wxComboCtrl class
1831 --enable-commandlinkbutton use wxCommmandLinkButton class
1832 --enable-dataviewctrl use wxDataViewCtrl class
1833 --enable-datepick use wxDatePickerCtrl class
1834 --enable-detect_sm use code to detect X11 session manager
1835 --enable-dirpicker use wxDirPickerCtrl class
1836 --enable-display use wxDisplay class
1837 --enable-editablebox use wxEditableListBox class
1838 --enable-filectrl use wxFileCtrl class
1839 --enable-filepicker use wxFilePickerCtrl class
1840 --enable-fontpicker use wxFontPickerCtrl class
1841 --enable-gauge use wxGauge class
1842 --enable-grid use wxGrid class
1843 --enable-headerctrl use wxHeaderCtrl class
1844 --enable-hyperlink use wxHyperlinkCtrl class
1845 --enable-imaglist use wxImageList class
1846 --enable-infobar use wxInfoBar class
1847 --enable-listbook use wxListbook class
1848 --enable-listbox use wxListBox class
1849 --enable-listctrl use wxListCtrl class
1850 --enable-notebook use wxNotebook class
1851 --enable-notifmsg use wxNotificationMessage class
1852 --enable-odcombobox use wxOwnerDrawnComboBox class
1853 --enable-popupwin use wxPopUpWindow class
1854 --enable-radiobox use wxRadioBox class
1855 --enable-radiobtn use wxRadioButton class
1856 --enable-richmsgdlg use wxRichMessageDialog class
1857 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1858 --enable-sash use wxSashWindow class
1859 --enable-scrollbar use wxScrollBar class and scrollable windows
1860 --enable-searchctrl use wxSearchCtrl class
1861 --enable-slider use wxSlider class
1862 --enable-spinbtn use wxSpinButton class
1863 --enable-spinctrl use wxSpinCtrl class
1864 --enable-splitter use wxSplitterWindow class
1865 --enable-statbmp use wxStaticBitmap class
1866 --enable-statbox use wxStaticBox class
1867 --enable-statline use wxStaticLine class
1868 --enable-stattext use wxStaticText class
1869 --enable-statusbar use wxStatusBar class
1870 --enable-taskbaricon use wxTaskBarIcon class
1871 --enable-tbarnative use native wxToolBar class
1872 --enable-textctrl use wxTextCtrl class
1873 --enable-tipwindow use wxTipWindow class
1874 --enable-togglebtn use wxToggleButton class
1875 --enable-toolbar use wxToolBar class
1876 --enable-toolbook use wxToolbook class
1877 --enable-treebook use wxTreebook class
1878 --enable-treectrl use wxTreeCtrl class
1879 --enable-commondlg use all common dialogs
1880 --enable-aboutdlg use wxAboutBox
1881 --enable-choicedlg use wxChoiceDialog
1882 --enable-coldlg use wxColourDialog
1883 --enable-filedlg use wxFileDialog
1884 --enable-finddlg use wxFindReplaceDialog
1885 --enable-fontdlg use wxFontDialog
1886 --enable-dirdlg use wxDirDialog
1887 --enable-msgdlg use wxMessageDialog
1888 --enable-numberdlg use wxNumberEntryDialog
1889 --enable-splash use wxSplashScreen
1890 --enable-textdlg use wxTextDialog
1891 --enable-tipdlg use startup tips
1892 --enable-progressdlg use wxProgressDialog
1893 --enable-wizarddlg use wxWizard
1894 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1895 --enable-miniframe use wxMiniFrame class
1896 --enable-tooltips use wxToolTip class
1897 --enable-splines use spline drawing code
1898 --enable-mousewheel use mousewheel
1899 --enable-validators use wxValidator and derived classes
1900 --enable-busyinfo use wxBusyInfo
1901 --enable-joystick use wxJoystick
1902 --enable-metafiles use wxMetaFile (Win32 only)
1903 --enable-dragimage use wxDragImage
1904 --enable-accessibility enable accessibility support
1905 --enable-uiactionsim use wxUIActionSimulator (experimental)
1906 --enable-dctransform use wxDC::SetTransformMatrix and related
1907 --enable-webview-webkit use wxWebView WebKit backend
1908 --enable-palette use wxPalette class
1909 --enable-image use wxImage class
1910 --enable-gif use gif images (GIF file format)
1911 --enable-pcx use pcx images (PCX file format)
1912 --enable-tga use tga images (TGA file format)
1913 --enable-iff use iff images (IFF file format)
1914 --enable-pnm use pnm images (PNM file format)
1915 --enable-xpm use xpm images (XPM file format)
1916 --enable-ico_cur use Windows ICO and CUR formats
1917 --enable-dccache cache temporary wxDC objects (Win32 only)
1918 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1919 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1920 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1921 --enable-wxdib use wxDIB class (Win32 only)
1922 --enable-webview-ie use wxWebView IE backend (Win32 only)
1923 --enable-autoidman use automatic ids management
1924 --disable-largefile omit support for large files
1925 --disable-gtktest do not try to compile and run a test GTK+ program
1926 --disable-gtktest Do not try to compile and run a test GTK program
1927 --disable-sdltest Do not try to compile and run a test SDL program
1928 --enable-omf use OMF object format (OS/2)
1929 --disable-dependency-tracking
1930 don't use dependency tracking even if the compiler
1932 --disable-precomp-headers
1933 don't use precompiled headers even if compiler can
1936 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1937 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1938 --without-subdirs don't generate makefiles for samples/demos/...
1939 --with-flavour=NAME specify a name to identify this build
1940 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1941 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1942 --with-motif use Motif/Lesstif
1943 --with-osx_carbon use Mac OS X (Carbon)
1944 --with-osx_cocoa use Mac OS X (Cocoa)
1945 --with-osx_iphone use iPhone OS X port
1946 --with-osx use Mac OS X (default port, currently Carbon)
1947 --with-carbon same as --with-osx_carbon
1948 --with-cocoa same as --with-osx_cocoa
1949 --with-iphone same as --with-osx_iphone
1950 --with-mac same as --with-osx
1951 --with-old_cocoa use old, deprecated, Cocoa port
1952 --with-wine use Wine
1953 --with-msw use MS-Windows
1954 --with-pm use OS/2 Presentation Manager
1955 --with-mgl use SciTech MGL
1956 --with-directfb use DirectFB
1957 --with-microwin use MicroWindows
1959 --with-libpng use libpng (PNG image format)
1960 --with-libjpeg use libjpeg (JPEG file format)
1961 --with-libtiff use libtiff (TIFF file format)
1962 --with-libxpm use libxpm (XPM file format)
1963 --with-libiconv use libiconv (character conversion)
1964 --with-libmspack use libmspack (CHM help files loading)
1965 --without-gtkprint don't use GTK printing support
1966 --without-gnomeprint don't use GNOME printing libraries
1967 --with-gnomevfs use GNOME VFS for associating MIME types
1968 --with-hildon use Hildon framework for Nokia 770/800/810
1969 --with-opengl use OpenGL (or Mesa)
1970 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1971 --with-sdl use SDL for audio on Unix
1972 --with-regex enable support for wxRegEx class
1973 --with-zlib use zlib for LZW compression
1974 --with-expat enable XML support using expat parser
1975 --with-macosx-sdk=PATH use an OS X SDK at PATH
1976 --with-macosx-version-min=VER build binaries which require at least this OS X version
1977 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1978 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1979 --with-x use the X Window System
1980 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1981 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1982 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1983 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1984 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1986 Some influential environment variables:
1987 CC C compiler command
1988 CFLAGS C compiler flags
1989 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1990 nonstandard directory <lib dir>
1991 LIBS libraries to pass to the linker, e.g. -l<library>
1992 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1993 you have headers in a nonstandard directory <include dir>
1995 CXX C++ compiler command
1996 CXXFLAGS C++ compiler flags
1997 CXXCPP C++ preprocessor
1998 PKG_CONFIG path to pkg-config utility
2000 C compiler flags for DIRECTFB, overriding pkg-config
2002 linker flags for DIRECTFB, overriding pkg-config
2003 XMKMF Path to xmkmf, Makefile generator for X Window System
2005 C compiler flags for PANGOX, overriding pkg-config
2006 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2008 C compiler flags for PANGOFT2, overriding pkg-config
2010 linker flags for PANGOFT2, overriding pkg-config
2012 C compiler flags for PANGOXFT, overriding pkg-config
2014 linker flags for PANGOXFT, overriding pkg-config
2016 C compiler flags for GTKPRINT, overriding pkg-config
2018 linker flags for GTKPRINT, overriding pkg-config
2019 LIBGNOMEPRINTUI_CFLAGS
2020 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2021 LIBGNOMEPRINTUI_LIBS
2022 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2024 C compiler flags for GNOMEVFS, overriding pkg-config
2026 linker flags for GNOMEVFS, overriding pkg-config
2028 C compiler flags for HILDON, overriding pkg-config
2029 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2031 C compiler flags for HILDON2, overriding pkg-config
2033 linker flags for HILDON2, overriding pkg-config
2035 C compiler flags for CAIRO, overriding pkg-config
2036 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2037 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2038 GST_LIBS linker flags for GST, overriding pkg-config
2040 Use these variables to override the choices made by `configure' or to help
2041 it to find libraries and programs with nonstandard names/locations.
2043 Report bugs to <wx-dev@lists.wxwidgets.org>.
2048 if test "$ac_init_help" = "recursive"; then
2049 # If there are subdirs, report their specific --help.
2050 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2051 test -d "$ac_dir" || continue
2055 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2057 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2058 # A ".." for each directory in $ac_dir_suffix.
2059 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2060 case $ac_top_builddir_sub in
2061 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2062 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2065 ac_abs_top_builddir=$ac_pwd
2066 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2067 # for backward compatibility:
2068 ac_top_builddir=$ac_top_build_prefix
2071 .) # We are building in place.
2073 ac_top_srcdir=$ac_top_builddir_sub
2074 ac_abs_top_srcdir=$ac_pwd ;;
2075 [\\/]* | ?:[\\/]* ) # Absolute name.
2076 ac_srcdir=$srcdir$ac_dir_suffix;
2077 ac_top_srcdir=$srcdir
2078 ac_abs_top_srcdir=$srcdir ;;
2080 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2081 ac_top_srcdir=$ac_top_build_prefix$srcdir
2082 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2084 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2086 cd "$ac_dir" || { ac_status=$?; continue; }
2087 # Check for guested configure.
2088 if test -f "$ac_srcdir/configure.gnu"; then
2090 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2091 elif test -f "$ac_srcdir/configure"; then
2093 $SHELL "$ac_srcdir/configure" --help=recursive
2095 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2097 cd "$ac_pwd" || { ac_status=$?; break; }
2101 test -n "$ac_init_help" && exit $ac_status
2102 if $ac_init_version; then
2104 wxWidgets configure 2.9.3
2105 generated by GNU Autoconf 2.61
2107 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2108 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2109 This configure script is free software; the Free Software Foundation
2110 gives unlimited permission to copy, distribute and modify it.
2114 cat >config.log <<_ACEOF
2115 This file contains any messages produced by compilers while
2116 running configure, to aid debugging if configure makes a mistake.
2118 It was created by wxWidgets $as_me 2.9.3, which was
2119 generated by GNU Autoconf 2.61. Invocation command line was
2131 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2132 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2133 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2134 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2135 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2137 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2138 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2140 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2141 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2142 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2143 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2144 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2145 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2146 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir=.
2155 echo "PATH: $as_dir"
2171 # Keep a trace of the command line.
2172 # Strip out --no-create and --no-recursion so they do not pile up.
2173 # Strip out --silent because we don't want to record it for future runs.
2174 # Also quote any args containing shell meta-characters.
2175 # Make two passes to allow for proper duplicate-argument suppression.
2179 ac_must_keep_next=false
2185 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2187 | -silent | --silent | --silen | --sile | --sil)
2190 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2193 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2195 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2196 if test $ac_must_keep_next = true; then
2197 ac_must_keep_next=false # Got value, back to normal.
2200 *=* | --config-cache | -C | -disable-* | --disable-* \
2201 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2202 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2203 | -with-* | --with-* | -without-* | --without-* | --x)
2204 case "$ac_configure_args0 " in
2205 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2208 -* ) ac_must_keep_next=true ;;
2211 ac_configure_args="$ac_configure_args '$ac_arg'"
2216 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2217 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2219 # When interrupted or exit'd, cleanup temporary files, and complete
2220 # config.log. We remove comments because anyway the quotes in there
2221 # would cause problems or look ugly.
2222 # WARNING: Use '\'' to represent an apostrophe within the trap.
2223 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2224 trap 'exit_status=$?
2225 # Save into config.log some information that might help in debugging.
2230 ## ---------------- ##
2231 ## Cache variables. ##
2232 ## ---------------- ##
2235 # The following way of writing the cache mishandles newlines in values,
2237 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2238 eval ac_val=\$$ac_var
2242 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2243 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2246 _ | IFS | as_nl) ;; #(
2247 *) $as_unset $ac_var ;;
2252 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2253 *${as_nl}ac_space=\ *)
2255 "s/'\''/'\''\\\\'\'''\''/g;
2256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2267 ## ----------------- ##
2268 ## Output variables. ##
2269 ## ----------------- ##
2272 for ac_var in $ac_subst_vars
2274 eval ac_val=\$$ac_var
2276 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2278 echo "$ac_var='\''$ac_val'\''"
2282 if test -n "$ac_subst_files"; then
2284 ## ------------------- ##
2285 ## File substitutions. ##
2286 ## ------------------- ##
2289 for ac_var in $ac_subst_files
2291 eval ac_val=\$$ac_var
2293 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2295 echo "$ac_var='\''$ac_val'\''"
2300 if test -s confdefs.h; then
2310 test "$ac_signal" != 0 &&
2311 echo "$as_me: caught signal $ac_signal"
2312 echo "$as_me: exit $exit_status"
2314 rm -f core *.core core.conftest.* &&
2315 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2318 for ac_signal in 1 2 13 15; do
2319 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2323 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2324 rm -f -r conftest* confdefs.h
2326 # Predefined preprocessor variables.
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_NAME "$PACKAGE_NAME"
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2338 cat >>confdefs.h <<_ACEOF
2339 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2343 cat >>confdefs.h <<_ACEOF
2344 #define PACKAGE_STRING "$PACKAGE_STRING"
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2353 # Let the site file select an alternate cache file if it wants to.
2354 # Prefer explicitly selected file to automatically selected ones.
2355 if test -n "$CONFIG_SITE"; then
2356 set x "$CONFIG_SITE"
2357 elif test "x$prefix" != xNONE; then
2358 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2360 set x "$ac_default_prefix/share/config.site" \
2361 "$ac_default_prefix/etc/config.site"
2366 if test -r "$ac_site_file"; then
2367 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2368 echo "$as_me: loading site script $ac_site_file" >&6;}
2369 sed 's/^/| /' "$ac_site_file" >&5
2374 if test -r "$cache_file"; then
2375 # Some versions of bash will fail to source /dev/null (special
2376 # files actually), so we avoid doing that.
2377 if test -f "$cache_file"; then
2378 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2379 echo "$as_me: loading cache $cache_file" >&6;}
2381 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2382 *) . "./$cache_file";;
2386 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2387 echo "$as_me: creating cache $cache_file" >&6;}
2391 # Check that the precious variables saved in the cache have kept the same
2393 ac_cache_corrupted=false
2394 for ac_var in $ac_precious_vars; do
2395 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2396 eval ac_new_set=\$ac_env_${ac_var}_set
2397 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2398 eval ac_new_val=\$ac_env_${ac_var}_value
2399 case $ac_old_set,$ac_new_set in
2401 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2402 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2403 ac_cache_corrupted=: ;;
2405 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2406 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2407 ac_cache_corrupted=: ;;
2410 if test "x$ac_old_val" != "x$ac_new_val"; then
2411 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2412 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2413 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2414 echo "$as_me: former value: $ac_old_val" >&2;}
2415 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2416 echo "$as_me: current value: $ac_new_val" >&2;}
2417 ac_cache_corrupted=:
2420 # Pass precious variables to config.status.
2421 if test "$ac_new_set" = set; then
2423 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2424 *) ac_arg=$ac_var=$ac_new_val ;;
2426 case " $ac_configure_args " in
2427 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2428 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2432 if $ac_cache_corrupted; then
2433 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2434 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2435 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2436 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2437 { (exit 1); exit 1; }; }
2465 ac_cpp='$CPP $CPPFLAGS'
2466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2475 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2476 if test -f "$ac_dir/install-sh"; then
2478 ac_install_sh="$ac_aux_dir/install-sh -c"
2480 elif test -f "$ac_dir/install.sh"; then
2482 ac_install_sh="$ac_aux_dir/install.sh -c"
2484 elif test -f "$ac_dir/shtool"; then
2486 ac_install_sh="$ac_aux_dir/shtool install -c"
2490 if test -z "$ac_aux_dir"; then
2491 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2492 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2493 { (exit 1); exit 1; }; }
2496 # These three variables are undocumented and unsupported,
2497 # and are intended to be withdrawn in a future Autoconf release.
2498 # They can cause serious problems if a builder's source tree is in a directory
2499 # whose full name contains unusual characters.
2500 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2501 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2502 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2505 # Make sure we can run config.sub.
2506 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2507 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2508 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2509 { (exit 1); exit 1; }; }
2511 { echo "$as_me:$LINENO: checking build system type" >&5
2512 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2513 if test "${ac_cv_build+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 ac_build_alias=$build_alias
2517 test "x$ac_build_alias" = x &&
2518 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2519 test "x$ac_build_alias" = x &&
2520 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2521 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2522 { (exit 1); exit 1; }; }
2523 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2524 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2525 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2526 { (exit 1); exit 1; }; }
2529 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2530 echo "${ECHO_T}$ac_cv_build" >&6; }
2531 case $ac_cv_build in
2533 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2534 echo "$as_me: error: invalid value of canonical build" >&2;}
2535 { (exit 1); exit 1; }; };;
2538 ac_save_IFS=$IFS; IFS='-'
2544 # Remember, the first character of IFS is used to create $*,
2545 # except with old shells:
2548 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2551 { echo "$as_me:$LINENO: checking host system type" >&5
2552 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2553 if test "${ac_cv_host+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 if test "x$host_alias" = x; then
2557 ac_cv_host=$ac_cv_build
2559 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2560 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2561 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2562 { (exit 1); exit 1; }; }
2566 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2567 echo "${ECHO_T}$ac_cv_host" >&6; }
2570 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2571 echo "$as_me: error: invalid value of canonical host" >&2;}
2572 { (exit 1); exit 1; }; };;
2575 ac_save_IFS=$IFS; IFS='-'
2581 # Remember, the first character of IFS is used to create $*,
2582 # except with old shells:
2585 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2589 if test "$cross_compiling" != "no"; then
2590 HOST_PREFIX="${host_alias}-"
2591 HOST_SUFFIX="-$host_alias"
2598 wx_major_version_number=2
2599 wx_minor_version_number=9
2601 wx_subrelease_number=0
2603 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2604 WX_VERSION=$WX_RELEASE.$wx_release_number
2605 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2607 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2610 wx_top_builddir="`pwd`"
2623 USE_BSD= USE_DARWIN= USE_FREEBSD=
2629 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2635 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2637 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2639 DEFAULT_wxUSE_OLD_COCOA=0
2641 DEFAULT_wxUSE_OSX_CARBON=0
2642 DEFAULT_wxUSE_OSX_COCOA=0
2643 DEFAULT_wxUSE_OSX_IPHONE=0
2645 DEFAULT_wxUSE_MICROWIN=0
2646 DEFAULT_wxUSE_MOTIF=0
2652 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2653 DEFAULT_DEFAULT_wxUSE_GTK=0
2654 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2655 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2656 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2657 DEFAULT_DEFAULT_wxUSE_MGL=0
2658 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2659 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2660 DEFAULT_DEFAULT_wxUSE_MSW=0
2661 DEFAULT_DEFAULT_wxUSE_PM=0
2662 DEFAULT_DEFAULT_wxUSE_X11=0
2663 DEFAULT_DEFAULT_wxUSE_DFB=0
2667 DYLIB_RPATH_INSTALL=
2668 DYLIB_RPATH_POSTLINK=
2670 DEFAULT_STD_FLAG=yes
2675 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2676 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2677 cat >>confdefs.h <<\_ACEOF
2682 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2686 cat >>confdefs.h <<\_ACEOF
2691 if test "x$TMP" = "xalpha"; then
2693 cat >>confdefs.h <<\_ACEOF
2698 DEFAULT_DEFAULT_wxUSE_GTK=1
2700 *-*-gnu* | *-*-k*bsd*-gnu )
2703 if test "x$TMP" = "xalpha"; then
2705 cat >>confdefs.h <<\_ACEOF
2710 DEFAULT_DEFAULT_wxUSE_GTK=1
2712 *-*-irix5* | *-*-irix6* )
2715 cat >>confdefs.h <<\_ACEOF
2719 cat >>confdefs.h <<\_ACEOF
2723 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2727 cat >>confdefs.h <<\_ACEOF
2731 DEFAULT_DEFAULT_wxUSE_X11=1
2737 cat >>confdefs.h <<\_ACEOF
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __SOLARIS__ 1
2745 cat >>confdefs.h <<\_ACEOF
2749 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2750 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2756 cat >>confdefs.h <<\_ACEOF
2760 cat >>confdefs.h <<\_ACEOF
2764 cat >>confdefs.h <<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __FREEBSD__ 1
2777 cat >>confdefs.h <<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_GTK=1
2783 *-*-openbsd*|*-*-mirbsd*)
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __OPENBSD__ 1
2790 cat >>confdefs.h <<\_ACEOF
2794 DEFAULT_DEFAULT_wxUSE_GTK=1
2799 cat >>confdefs.h <<\_ACEOF
2800 #define __NETBSD__ 1
2803 cat >>confdefs.h <<\_ACEOF
2807 DEFAULT_DEFAULT_wxUSE_GTK=1
2808 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2810 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2815 cat >>confdefs.h <<\_ACEOF
2819 cat >>confdefs.h <<\_ACEOF
2823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2824 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2829 cat >>confdefs.h <<\_ACEOF
2833 cat >>confdefs.h <<\_ACEOF
2837 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2842 cat >>confdefs.h <<\_ACEOF
2846 cat >>confdefs.h <<\_ACEOF
2850 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2856 cat >>confdefs.h <<\_ACEOF
2860 cat >>confdefs.h <<\_ACEOF
2864 cat >>confdefs.h <<\_ACEOF
2868 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __UNIXWARE__ 1
2881 *-*-cygwin* | *-*-mingw32* )
2883 DEFAULT_DEFAULT_wxUSE_MSW=1
2889 cat >>confdefs.h <<\_ACEOF
2894 DEFAULT_DEFAULT_wxUSE_MGL=1
2897 *-pc-os2_emx | *-pc-os2-emx )
2898 cat >>confdefs.h <<\_ACEOF
2903 cat >>confdefs.h <<\_ACEOF
2908 DEFAULT_DEFAULT_wxUSE_PM=1
2910 LDFLAGS="$LDFLAGS -Zcrtdll"
2911 ac_executable_extensions=".exe"
2912 export ac_executable_extensions
2916 for ac_dir in $PATH; do
2918 if test -z "$ac_TEMP_PATH"; then
2919 ac_TEMP_PATH="$ac_dir"
2921 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2924 export PATH="$ac_TEMP_PATH"
2932 cat >>confdefs.h <<\_ACEOF
2936 cat >>confdefs.h <<\_ACEOF
2937 #define __DARWIN__ 1
2940 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2946 cat >>confdefs.h <<\_ACEOF
2950 cat >>confdefs.h <<\_ACEOF
2951 #define __DARWIN__ 1
2954 cat >>confdefs.h <<\_ACEOF
2955 #define TARGET_CARBON 1
2958 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2963 cat >>confdefs.h <<\_ACEOF
2970 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2971 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2972 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2973 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2975 DEFAULT_DEFAULT_wxUSE_X11=1
2976 DEFAULT_wxUSE_SHARED=no
2981 DEFAULT_wxUSE_ALL_FEATURES=yes
2983 DEFAULT_wxUSE_STD_CONTAINERS=no
2984 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2985 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2987 DEFAULT_wxUSE_DMALLOC=no
2988 DEFAULT_wxUSE_LIBGNOMEVFS=no
2989 DEFAULT_wxUSE_LIBHILDON=no
2990 DEFAULT_wxUSE_LIBHILDON2=no
2991 DEFAULT_wxUSE_LIBMSPACK=no
2992 DEFAULT_wxUSE_LIBSDL=no
2994 DEFAULT_wxUSE_ACCESSIBILITY=no
2995 DEFAULT_wxUSE_IPV6=no
2996 DEFAULT_wxUSE_GSTREAMER8=no
2998 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2999 DEFAULT_wxUSE_UNICODE_UTF8=auto
3000 DEFAULT_wxUSE_OPENGL=auto
3001 DEFAULT_wxUSE_MEDIACTRL=auto
3002 DEFAULT_wxUSE_COMPILER_TLS=auto
3004 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3006 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3007 DEFAULT_wxUSE_MAC_ARCH=no
3009 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3011 DEFAULT_wxUSE_GTK2=yes
3013 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3019 enablestring=disable
3021 if test -z "$defaultval"; then
3022 if test x"$enablestring" = xdisable; then
3029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3030 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3031 # Check whether --enable-gui was given.
3032 if test "${enable_gui+set}" = set; then
3033 enableval=$enable_gui;
3034 if test "$enableval" = yes; then
3035 wx_cv_use_gui='wxUSE_GUI=yes'
3037 wx_cv_use_gui='wxUSE_GUI=no'
3042 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3047 eval "$wx_cv_use_gui"
3049 if test x"$enablestring" = xdisable; then
3050 if test $wxUSE_GUI = no; then
3059 { echo "$as_me:$LINENO: result: $result" >&5
3060 echo "${ECHO_T}$result" >&6; }
3065 if test -z "$defaultval"; then
3066 if test x"$enablestring" = xdisable; then
3073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3074 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3075 # Check whether --enable-monolithic was given.
3076 if test "${enable_monolithic+set}" = set; then
3077 enableval=$enable_monolithic;
3078 if test "$enableval" = yes; then
3079 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3081 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3086 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3091 eval "$wx_cv_use_monolithic"
3093 if test x"$enablestring" = xdisable; then
3094 if test $wxUSE_MONOLITHIC = no; then
3100 result=$wxUSE_MONOLITHIC
3103 { echo "$as_me:$LINENO: result: $result" >&5
3104 echo "${ECHO_T}$result" >&6; }
3109 if test -z "$defaultval"; then
3110 if test x"$enablestring" = xdisable; then
3117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3118 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3119 # Check whether --enable-plugins was given.
3120 if test "${enable_plugins+set}" = set; then
3121 enableval=$enable_plugins;
3122 if test "$enableval" = yes; then
3123 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3125 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3130 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3135 eval "$wx_cv_use_plugins"
3137 if test x"$enablestring" = xdisable; then
3138 if test $wxUSE_PLUGINS = no; then
3144 result=$wxUSE_PLUGINS
3147 { echo "$as_me:$LINENO: result: $result" >&5
3148 echo "${ECHO_T}$result" >&6; }
3152 defaultval=$wxUSE_ALL_FEATURES
3153 if test -z "$defaultval"; then
3154 if test x"$withstring" = xwithout; then
3160 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3161 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3163 # Check whether --with-subdirs was given.
3164 if test "${with_subdirs+set}" = set; then
3165 withval=$with_subdirs;
3166 if test "$withval" = yes; then
3167 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3169 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3174 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3179 eval "$wx_cv_use_subdirs"
3181 if test x"$withstring" = xwithout; then
3182 if test $wxWITH_SUBDIRS = yes; then
3188 result=$wxWITH_SUBDIRS
3191 { echo "$as_me:$LINENO: result: $result" >&5
3192 echo "${ECHO_T}$result" >&6; }
3195 # Check whether --with-flavour was given.
3196 if test "${with_flavour+set}" = set; then
3197 withval=$with_flavour; WX_FLAVOUR="$withval"
3203 if test -z "$defaultval"; then
3204 if test x"$enablestring" = xdisable; then
3211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3212 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3213 # Check whether --enable-official_build was given.
3214 if test "${enable_official_build+set}" = set; then
3215 enableval=$enable_official_build;
3216 if test "$enableval" = yes; then
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3219 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3224 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3229 eval "$wx_cv_use_official_build"
3231 if test x"$enablestring" = xdisable; then
3232 if test $wxUSE_OFFICIAL_BUILD = no; then
3238 result=$wxUSE_OFFICIAL_BUILD
3241 { echo "$as_me:$LINENO: result: $result" >&5
3242 echo "${ECHO_T}$result" >&6; }
3244 # Check whether --enable-vendor was given.
3245 if test "${enable_vendor+set}" = set; then
3246 enableval=$enable_vendor; VENDOR="$enableval"
3249 if test "x$VENDOR" = "x"; then
3254 enablestring=disable
3256 if test -z "$defaultval"; then
3257 if test x"$enablestring" = xdisable; then
3264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3265 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3266 # Check whether --enable-all-features was given.
3267 if test "${enable_all_features+set}" = set; then
3268 enableval=$enable_all_features;
3269 if test "$enableval" = yes; then
3270 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3272 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3277 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3282 eval "$wx_cv_use_all_features"
3284 if test x"$enablestring" = xdisable; then
3285 if test $wxUSE_ALL_FEATURES = no; then
3291 result=$wxUSE_ALL_FEATURES
3294 { echo "$as_me:$LINENO: result: $result" >&5
3295 echo "${ECHO_T}$result" >&6; }
3298 if test "$wxUSE_ALL_FEATURES" = "no"; then
3299 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3300 DEFAULT_wxUSE_MEDIACTRL=no
3304 if test "$wxUSE_GUI" = "yes"; then
3309 if test -z "$defaultval"; then
3310 if test x"$enablestring" = xdisable; then
3317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3318 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3319 # Check whether --enable-universal was given.
3320 if test "${enable_universal+set}" = set; then
3321 enableval=$enable_universal;
3322 if test "$enableval" = yes; then
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3325 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3330 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3335 eval "$wx_cv_use_universal"
3337 if test x"$enablestring" = xdisable; then
3338 if test $wxUSE_UNIVERSAL = no; then
3344 result=$wxUSE_UNIVERSAL
3347 { echo "$as_me:$LINENO: result: $result" >&5
3348 echo "${ECHO_T}$result" >&6; }
3350 if test "$wxUSE_UNIVERSAL" = "yes"; then
3352 # Check whether --with-themes was given.
3353 if test "${with_themes+set}" = set; then
3354 withval=$with_themes; wxUNIV_THEMES="$withval"
3360 # Check whether --with-gtk was given.
3361 if test "${with_gtk+set}" = set; then
3362 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3366 # Check whether --with-motif was given.
3367 if test "${with_motif+set}" = set; then
3368 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-osx_carbon was given.
3373 if test "${with_osx_carbon+set}" = set; then
3374 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-osx_cocoa was given.
3379 if test "${with_osx_cocoa+set}" = set; then
3380 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-osx_iphone was given.
3385 if test "${with_osx_iphone+set}" = set; then
3386 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-osx was given.
3391 if test "${with_osx+set}" = set; then
3392 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3396 # Check whether --with-carbon was given.
3397 if test "${with_carbon+set}" = set; then
3398 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3402 # Check whether --with-cocoa was given.
3403 if test "${with_cocoa+set}" = set; then
3404 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3408 # Check whether --with-iphone was given.
3409 if test "${with_iphone+set}" = set; then
3410 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3414 # Check whether --with-mac was given.
3415 if test "${with_mac+set}" = set; then
3416 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3420 # Check whether --with-old_cocoa was given.
3421 if test "${with_old_cocoa+set}" = set; then
3422 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3426 # Check whether --with-wine was given.
3427 if test "${with_wine+set}" = set; then
3428 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3432 # Check whether --with-msw was given.
3433 if test "${with_msw+set}" = set; then
3434 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3438 # Check whether --with-pm was given.
3439 if test "${with_pm+set}" = set; then
3440 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3444 # Check whether --with-mgl was given.
3445 if test "${with_mgl+set}" = set; then
3446 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3450 # Check whether --with-directfb was given.
3451 if test "${with_directfb+set}" = set; then
3452 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3456 # Check whether --with-microwin was given.
3457 if test "${with_microwin+set}" = set; then
3458 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3462 # Check whether --with-x11 was given.
3463 if test "${with_x11+set}" = set; then
3464 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3470 if test -z "$defaultval"; then
3471 if test x"$enablestring" = xdisable; then
3478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3479 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3480 # Check whether --enable-nanox was given.
3481 if test "${enable_nanox+set}" = set; then
3482 enableval=$enable_nanox;
3483 if test "$enableval" = yes; then
3484 wx_cv_use_nanox='wxUSE_NANOX=yes'
3486 wx_cv_use_nanox='wxUSE_NANOX=no'
3491 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3496 eval "$wx_cv_use_nanox"
3498 if test x"$enablestring" = xdisable; then
3499 if test $wxUSE_NANOX = no; then
3508 { echo "$as_me:$LINENO: result: $result" >&5
3509 echo "${ECHO_T}$result" >&6; }
3512 # Check whether --enable-gtk2 was given.
3513 if test "${enable_gtk2+set}" = set; then
3514 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3520 if test -z "$defaultval"; then
3521 if test x"$enablestring" = xdisable; then
3528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3529 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3530 # Check whether --enable-gpe was given.
3531 if test "${enable_gpe+set}" = set; then
3532 enableval=$enable_gpe;
3533 if test "$enableval" = yes; then
3534 wx_cv_use_gpe='wxUSE_GPE=yes'
3536 wx_cv_use_gpe='wxUSE_GPE=no'
3541 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3546 eval "$wx_cv_use_gpe"
3548 if test x"$enablestring" = xdisable; then
3549 if test $wxUSE_GPE = no; then
3558 { echo "$as_me:$LINENO: result: $result" >&5
3559 echo "${ECHO_T}$result" >&6; }
3563 { echo "$as_me:$LINENO: checking for toolkit" >&5
3564 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3568 # In Wine, we need to default to MSW, not GTK or MOTIF
3569 if test "$wxUSE_WINE" = "yes"; then
3570 DEFAULT_DEFAULT_wxUSE_GTK=0
3571 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3572 DEFAULT_DEFAULT_wxUSE_MSW=1
3579 if test "$wxUSE_GUI" = "yes"; then
3581 if test "$USE_BEOS" = 1; then
3582 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3583 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3584 { (exit 1); exit 1; }; }
3587 if test "$TOOLKIT_GIVEN" = 1; then
3588 for toolkit in $ALL_TOOLKITS; do
3590 eval "value=\$${var}"
3591 if test "x$value" = "xno"; then
3593 elif test "x$value" != "x"; then
3597 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3598 eval "wx${toolkit}_VERSION=$value"
3602 for toolkit in $ALL_TOOLKITS; do
3603 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3604 eval "wxUSE_$toolkit=\$${var}"
3608 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3609 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3610 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3613 *-pc-os2_emx | *-pc-os2-emx )
3614 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3617 case "$NUM_TOOLKITS" in
3621 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3622 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3623 { (exit 1); exit 1; }; }
3626 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3627 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3628 { (exit 1); exit 1; }; }
3631 # to be removed when --disable-gtk2 isn't needed
3632 if test "x$wxUSE_GTK2" = "xyes"; then
3635 elif test "x$wxUSE_GTK2" = "xno"; then
3640 for toolkit in $ALL_TOOLKITS; do
3642 eval "value=\$${var}"
3643 if test "$value" = 1; then
3644 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3645 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3646 echo "${ECHO_T}$toolkit_echo" >&6; }
3650 if test "x$host_alias" != "x"; then
3651 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3652 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3654 { echo "$as_me:$LINENO: result: base only" >&5
3655 echo "${ECHO_T}base only" >&6; }
3660 if test "$wxUSE_OSX_CARBON" = 1 \
3661 -o "$wxUSE_OSX_COCOA" = 1 \
3662 -o "$wxUSE_OSX_IPHONE" = 1; then
3668 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3669 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3671 # Check whether --with-libpng was given.
3672 if test "${with_libpng+set}" = set; then
3673 withval=$with_libpng;
3674 if test "$withval" = yes; then
3675 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3676 elif test "$withval" = no; then
3677 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3678 elif test "$withval" = sys; then
3679 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3680 elif test "$withval" = builtin; then
3681 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3690 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3695 eval "$wx_cv_use_libpng"
3697 if test "$wxUSE_LIBPNG" = yes; then
3698 { echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6; }
3700 elif test "$wxUSE_LIBPNG" = no; then
3701 { echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6; }
3703 elif test "$wxUSE_LIBPNG" = sys; then
3704 { echo "$as_me:$LINENO: result: system version" >&5
3705 echo "${ECHO_T}system version" >&6; }
3706 elif test "$wxUSE_LIBPNG" = builtin; then
3707 { echo "$as_me:$LINENO: result: builtin version" >&5
3708 echo "${ECHO_T}builtin version" >&6; }
3710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3711 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3712 { (exit 1); exit 1; }; }
3716 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3717 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3719 # Check whether --with-libjpeg was given.
3720 if test "${with_libjpeg+set}" = set; then
3721 withval=$with_libjpeg;
3722 if test "$withval" = yes; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3724 elif test "$withval" = no; then
3725 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3726 elif test "$withval" = sys; then
3727 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3728 elif test "$withval" = builtin; then
3729 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3738 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3743 eval "$wx_cv_use_libjpeg"
3745 if test "$wxUSE_LIBJPEG" = yes; then
3746 { echo "$as_me:$LINENO: result: yes" >&5
3747 echo "${ECHO_T}yes" >&6; }
3748 elif test "$wxUSE_LIBJPEG" = no; then
3749 { echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6; }
3751 elif test "$wxUSE_LIBJPEG" = sys; then
3752 { echo "$as_me:$LINENO: result: system version" >&5
3753 echo "${ECHO_T}system version" >&6; }
3754 elif test "$wxUSE_LIBJPEG" = builtin; then
3755 { echo "$as_me:$LINENO: result: builtin version" >&5
3756 echo "${ECHO_T}builtin version" >&6; }
3758 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3759 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3760 { (exit 1); exit 1; }; }
3764 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3765 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3767 # Check whether --with-libtiff was given.
3768 if test "${with_libtiff+set}" = set; then
3769 withval=$with_libtiff;
3770 if test "$withval" = yes; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3772 elif test "$withval" = no; then
3773 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3774 elif test "$withval" = sys; then
3775 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3776 elif test "$withval" = builtin; then
3777 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3786 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3791 eval "$wx_cv_use_libtiff"
3793 if test "$wxUSE_LIBTIFF" = yes; then
3794 { echo "$as_me:$LINENO: result: yes" >&5
3795 echo "${ECHO_T}yes" >&6; }
3796 elif test "$wxUSE_LIBTIFF" = no; then
3797 { echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6; }
3799 elif test "$wxUSE_LIBTIFF" = sys; then
3800 { echo "$as_me:$LINENO: result: system version" >&5
3801 echo "${ECHO_T}system version" >&6; }
3802 elif test "$wxUSE_LIBTIFF" = builtin; then
3803 { echo "$as_me:$LINENO: result: builtin version" >&5
3804 echo "${ECHO_T}builtin version" >&6; }
3806 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3807 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3808 { (exit 1); exit 1; }; }
3812 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3813 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3815 # Check whether --with-libxpm was given.
3816 if test "${with_libxpm+set}" = set; then
3817 withval=$with_libxpm;
3818 if test "$withval" = yes; then
3819 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3820 elif test "$withval" = no; then
3821 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3822 elif test "$withval" = sys; then
3823 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3824 elif test "$withval" = builtin; then
3825 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3828 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3829 { (exit 1); exit 1; }; }
3834 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3839 eval "$wx_cv_use_libxpm"
3841 if test "$wxUSE_LIBXPM" = yes; then
3842 { echo "$as_me:$LINENO: result: yes" >&5
3843 echo "${ECHO_T}yes" >&6; }
3844 elif test "$wxUSE_LIBXPM" = no; then
3845 { echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6; }
3847 elif test "$wxUSE_LIBXPM" = sys; then
3848 { echo "$as_me:$LINENO: result: system version" >&5
3849 echo "${ECHO_T}system version" >&6; }
3850 elif test "$wxUSE_LIBXPM" = builtin; then
3851 { echo "$as_me:$LINENO: result: builtin version" >&5
3852 echo "${ECHO_T}builtin version" >&6; }
3854 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3855 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3856 { (exit 1); exit 1; }; }
3861 defaultval=$wxUSE_ALL_FEATURES
3862 if test -z "$defaultval"; then
3863 if test x"$withstring" = xwithout; then
3869 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3870 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3872 # Check whether --with-libiconv was given.
3873 if test "${with_libiconv+set}" = set; then
3874 withval=$with_libiconv;
3875 if test "$withval" = yes; then
3876 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3878 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3883 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3888 eval "$wx_cv_use_libiconv"
3890 if test x"$withstring" = xwithout; then
3891 if test $wxUSE_LIBICONV = yes; then
3897 result=$wxUSE_LIBICONV
3900 { echo "$as_me:$LINENO: result: $result" >&5
3901 echo "${ECHO_T}$result" >&6; }
3905 defaultval=$wxUSE_ALL_FEATURES
3906 if test -z "$defaultval"; then
3907 if test x"$withstring" = xwithout; then
3913 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3914 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3916 # Check whether --with-libmspack was given.
3917 if test "${with_libmspack+set}" = set; then
3918 withval=$with_libmspack;
3919 if test "$withval" = yes; then
3920 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3922 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3927 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3932 eval "$wx_cv_use_libmspack"
3934 if test x"$withstring" = xwithout; then
3935 if test $wxUSE_LIBMSPACK = yes; then
3941 result=$wxUSE_LIBMSPACK
3944 { echo "$as_me:$LINENO: result: $result" >&5
3945 echo "${ECHO_T}$result" >&6; }
3949 defaultval=$wxUSE_ALL_FEATURES
3950 if test -z "$defaultval"; then
3951 if test x"$withstring" = xwithout; then
3957 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3958 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3960 # Check whether --with-gtkprint was given.
3961 if test "${with_gtkprint+set}" = set; then
3962 withval=$with_gtkprint;
3963 if test "$withval" = yes; then
3964 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3966 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3971 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3976 eval "$wx_cv_use_gtkprint"
3978 if test x"$withstring" = xwithout; then
3979 if test $wxUSE_GTKPRINT = yes; then
3985 result=$wxUSE_GTKPRINT
3988 { echo "$as_me:$LINENO: result: $result" >&5
3989 echo "${ECHO_T}$result" >&6; }
3993 defaultval=$wxUSE_ALL_FEATURES
3994 if test -z "$defaultval"; then
3995 if test x"$withstring" = xwithout; then
4001 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4002 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4004 # Check whether --with-gnomeprint was given.
4005 if test "${with_gnomeprint+set}" = set; then
4006 withval=$with_gnomeprint;
4007 if test "$withval" = yes; then
4008 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4010 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4015 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4020 eval "$wx_cv_use_gnomeprint"
4022 if test x"$withstring" = xwithout; then
4023 if test $wxUSE_LIBGNOMEPRINT = yes; then
4029 result=$wxUSE_LIBGNOMEPRINT
4032 { echo "$as_me:$LINENO: result: $result" >&5
4033 echo "${ECHO_T}$result" >&6; }
4037 defaultval=$wxUSE_ALL_FEATURES
4038 if test -z "$defaultval"; then
4039 if test x"$withstring" = xwithout; then
4045 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4046 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4048 # Check whether --with-gnomevfs was given.
4049 if test "${with_gnomevfs+set}" = set; then
4050 withval=$with_gnomevfs;
4051 if test "$withval" = yes; then
4052 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4054 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4059 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4064 eval "$wx_cv_use_gnomevfs"
4066 if test x"$withstring" = xwithout; then
4067 if test $wxUSE_LIBGNOMEVFS = yes; then
4073 result=$wxUSE_LIBGNOMEVFS
4076 { echo "$as_me:$LINENO: result: $result" >&5
4077 echo "${ECHO_T}$result" >&6; }
4081 defaultval=$wxUSE_ALL_FEATURES
4082 if test -z "$defaultval"; then
4083 if test x"$withstring" = xwithout; then
4089 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4090 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4092 # Check whether --with-hildon was given.
4093 if test "${with_hildon+set}" = set; then
4094 withval=$with_hildon;
4095 if test "$withval" = yes; then
4096 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4098 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4103 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4108 eval "$wx_cv_use_hildon"
4110 if test x"$withstring" = xwithout; then
4111 if test $wxUSE_LIBHILDON = yes; then
4117 result=$wxUSE_LIBHILDON
4120 { echo "$as_me:$LINENO: result: $result" >&5
4121 echo "${ECHO_T}$result" >&6; }
4125 defaultval=$wxUSE_ALL_FEATURES
4126 if test -z "$defaultval"; then
4127 if test x"$withstring" = xwithout; then
4133 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4134 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4136 # Check whether --with-opengl was given.
4137 if test "${with_opengl+set}" = set; then
4138 withval=$with_opengl;
4139 if test "$withval" = yes; then
4140 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4142 wx_cv_use_opengl='wxUSE_OPENGL=no'
4147 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4152 eval "$wx_cv_use_opengl"
4154 if test x"$withstring" = xwithout; then
4155 if test $wxUSE_OPENGL = yes; then
4161 result=$wxUSE_OPENGL
4164 { echo "$as_me:$LINENO: result: $result" >&5
4165 echo "${ECHO_T}$result" >&6; }
4172 defaultval=$wxUSE_ALL_FEATURES
4173 if test -z "$defaultval"; then
4174 if test x"$withstring" = xwithout; then
4180 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4181 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4183 # Check whether --with-dmalloc was given.
4184 if test "${with_dmalloc+set}" = set; then
4185 withval=$with_dmalloc;
4186 if test "$withval" = yes; then
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4189 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4194 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4199 eval "$wx_cv_use_dmalloc"
4201 if test x"$withstring" = xwithout; then
4202 if test $wxUSE_DMALLOC = yes; then
4208 result=$wxUSE_DMALLOC
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4216 defaultval=$wxUSE_ALL_FEATURES
4217 if test -z "$defaultval"; then
4218 if test x"$withstring" = xwithout; then
4224 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4225 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4227 # Check whether --with-sdl was given.
4228 if test "${with_sdl+set}" = set; then
4230 if test "$withval" = yes; then
4231 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4233 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4238 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4243 eval "$wx_cv_use_sdl"
4245 if test x"$withstring" = xwithout; then
4246 if test $wxUSE_LIBSDL = yes; then
4252 result=$wxUSE_LIBSDL
4255 { echo "$as_me:$LINENO: result: $result" >&5
4256 echo "${ECHO_T}$result" >&6; }
4259 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4260 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4262 # Check whether --with-regex was given.
4263 if test "${with_regex+set}" = set; then
4264 withval=$with_regex;
4265 if test "$withval" = yes; then
4266 wx_cv_use_regex='wxUSE_REGEX=yes'
4267 elif test "$withval" = no; then
4268 wx_cv_use_regex='wxUSE_REGEX=no'
4269 elif test "$withval" = sys; then
4270 wx_cv_use_regex='wxUSE_REGEX=sys'
4271 elif test "$withval" = builtin; then
4272 wx_cv_use_regex='wxUSE_REGEX=builtin'
4274 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4275 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4276 { (exit 1); exit 1; }; }
4281 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4286 eval "$wx_cv_use_regex"
4288 if test "$wxUSE_REGEX" = yes; then
4289 { echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6; }
4291 elif test "$wxUSE_REGEX" = no; then
4292 { echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6; }
4294 elif test "$wxUSE_REGEX" = sys; then
4295 { echo "$as_me:$LINENO: result: system version" >&5
4296 echo "${ECHO_T}system version" >&6; }
4297 elif test "$wxUSE_REGEX" = builtin; then
4298 { echo "$as_me:$LINENO: result: builtin version" >&5
4299 echo "${ECHO_T}builtin version" >&6; }
4301 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4302 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4303 { (exit 1); exit 1; }; }
4307 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4308 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4310 # Check whether --with-zlib was given.
4311 if test "${with_zlib+set}" = set; then
4313 if test "$withval" = yes; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4315 elif test "$withval" = no; then
4316 wx_cv_use_zlib='wxUSE_ZLIB=no'
4317 elif test "$withval" = sys; then
4318 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4319 elif test "$withval" = builtin; then
4320 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4322 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4323 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4324 { (exit 1); exit 1; }; }
4329 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4334 eval "$wx_cv_use_zlib"
4336 if test "$wxUSE_ZLIB" = yes; then
4337 { echo "$as_me:$LINENO: result: yes" >&5
4338 echo "${ECHO_T}yes" >&6; }
4339 elif test "$wxUSE_ZLIB" = no; then
4340 { echo "$as_me:$LINENO: result: no" >&5
4341 echo "${ECHO_T}no" >&6; }
4342 elif test "$wxUSE_ZLIB" = sys; then
4343 { echo "$as_me:$LINENO: result: system version" >&5
4344 echo "${ECHO_T}system version" >&6; }
4345 elif test "$wxUSE_ZLIB" = builtin; then
4346 { echo "$as_me:$LINENO: result: builtin version" >&5
4347 echo "${ECHO_T}builtin version" >&6; }
4349 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4350 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4351 { (exit 1); exit 1; }; }
4355 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4356 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4358 # Check whether --with-expat was given.
4359 if test "${with_expat+set}" = set; then
4360 withval=$with_expat;
4361 if test "$withval" = yes; then
4362 wx_cv_use_expat='wxUSE_EXPAT=yes'
4363 elif test "$withval" = no; then
4364 wx_cv_use_expat='wxUSE_EXPAT=no'
4365 elif test "$withval" = sys; then
4366 wx_cv_use_expat='wxUSE_EXPAT=sys'
4367 elif test "$withval" = builtin; then
4368 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4370 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4371 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4372 { (exit 1); exit 1; }; }
4377 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4382 eval "$wx_cv_use_expat"
4384 if test "$wxUSE_EXPAT" = yes; then
4385 { echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6; }
4387 elif test "$wxUSE_EXPAT" = no; then
4388 { echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6; }
4390 elif test "$wxUSE_EXPAT" = sys; then
4391 { echo "$as_me:$LINENO: result: system version" >&5
4392 echo "${ECHO_T}system version" >&6; }
4393 elif test "$wxUSE_EXPAT" = builtin; then
4394 { echo "$as_me:$LINENO: result: builtin version" >&5
4395 echo "${ECHO_T}builtin version" >&6; }
4397 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4398 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4399 { (exit 1); exit 1; }; }
4403 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4404 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4406 # Check whether --with-macosx-sdk was given.
4407 if test "${with_macosx_sdk+set}" = set; then
4408 withval=$with_macosx_sdk;
4409 wxUSE_MACOSX_SDK=$withval
4410 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4414 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4415 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4417 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4418 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4420 # Check whether --with-macosx-version-min was given.
4421 if test "${with_macosx_version_min+set}" = set; then
4422 withval=$with_macosx_version_min;
4423 wxUSE_MACOSX_VERSION_MIN=$withval
4424 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4428 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4429 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4432 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4433 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4434 # Check whether --enable-debug was given.
4435 if test "${enable_debug+set}" = set; then
4436 enableval=$enable_debug;
4437 if test "$enableval" = yes; then
4439 elif test "$enableval" = no; then
4441 elif test "$enableval" = max; then
4443 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4445 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4446 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4447 { (exit 1); exit 1; }; }
4456 case "$wxUSE_DEBUG" in
4458 DEFAULT_wxUSE_DEBUG_FLAG=yes
4459 DEFAULT_wxUSE_DEBUG_INFO=yes
4461 DEFAULT_wxUSE_OPTIMISE=no
4465 DEFAULT_wxUSE_DEBUG_FLAG=no
4466 DEFAULT_wxUSE_DEBUG_INFO=no
4470 DEFAULT_wxUSE_DEBUG_FLAG=yes
4471 DEFAULT_wxUSE_DEBUG_INFO=no
4476 enablestring=disable
4478 if test -z "$defaultval"; then
4479 if test x"$enablestring" = xdisable; then
4486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4487 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4488 # Check whether --enable-debug_flag was given.
4489 if test "${enable_debug_flag+set}" = set; then
4490 enableval=$enable_debug_flag;
4491 if test "$enableval" = yes; then
4492 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4494 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4499 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4504 eval "$wx_cv_use_debug_flag"
4506 if test x"$enablestring" = xdisable; then
4507 if test $wxUSE_DEBUG_FLAG = no; then
4513 result=$wxUSE_DEBUG_FLAG
4516 { echo "$as_me:$LINENO: result: $result" >&5
4517 echo "${ECHO_T}$result" >&6; }
4522 if test -z "$defaultval"; then
4523 if test x"$enablestring" = xdisable; then
4530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4532 # Check whether --enable-debug_info was given.
4533 if test "${enable_debug_info+set}" = set; then
4534 enableval=$enable_debug_info;
4535 if test "$enableval" = yes; then
4536 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4538 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4543 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4548 eval "$wx_cv_use_debug_info"
4550 if test x"$enablestring" = xdisable; then
4551 if test $wxUSE_DEBUG_INFO = no; then
4557 result=$wxUSE_DEBUG_INFO
4560 { echo "$as_me:$LINENO: result: $result" >&5
4561 echo "${ECHO_T}$result" >&6; }
4568 if test -z "$defaultval"; then
4569 if test x"$enablestring" = xdisable; then
4576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4577 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4578 # Check whether --enable-debug_gdb was given.
4579 if test "${enable_debug_gdb+set}" = set; then
4580 enableval=$enable_debug_gdb;
4581 if test "$enableval" = yes; then
4582 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4584 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4589 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4594 eval "$wx_cv_use_debug_gdb"
4596 if test x"$enablestring" = xdisable; then
4597 if test $wxUSE_DEBUG_GDB = no; then
4603 result=$wxUSE_DEBUG_GDB
4606 { echo "$as_me:$LINENO: result: $result" >&5
4607 echo "${ECHO_T}$result" >&6; }
4612 if test -z "$defaultval"; then
4613 if test x"$enablestring" = xdisable; then
4620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4622 # Check whether --enable-debug_cntxt was given.
4623 if test "${enable_debug_cntxt+set}" = set; then
4624 enableval=$enable_debug_cntxt;
4625 if test "$enableval" = yes; then
4626 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4628 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4633 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4638 eval "$wx_cv_use_debug_cntxt"
4640 if test x"$enablestring" = xdisable; then
4641 if test $wxUSE_DEBUG_CONTEXT = no; then
4647 result=$wxUSE_DEBUG_CONTEXT
4650 { echo "$as_me:$LINENO: result: $result" >&5
4651 echo "${ECHO_T}$result" >&6; }
4656 if test -z "$defaultval"; then
4657 if test x"$enablestring" = xdisable; then
4664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4665 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4666 # Check whether --enable-mem_tracing was given.
4667 if test "${enable_mem_tracing+set}" = set; then
4668 enableval=$enable_mem_tracing;
4669 if test "$enableval" = yes; then
4670 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4672 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4677 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4682 eval "$wx_cv_use_mem_tracing"
4684 if test x"$enablestring" = xdisable; then
4685 if test $wxUSE_MEM_TRACING = no; then
4691 result=$wxUSE_MEM_TRACING
4694 { echo "$as_me:$LINENO: result: $result" >&5
4695 echo "${ECHO_T}$result" >&6; }
4700 enablestring=disable
4702 if test -z "$defaultval"; then
4703 if test x"$enablestring" = xdisable; then
4710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4711 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4712 # Check whether --enable-shared was given.
4713 if test "${enable_shared+set}" = set; then
4714 enableval=$enable_shared;
4715 if test "$enableval" = yes; then
4716 wx_cv_use_shared='wxUSE_SHARED=yes'
4718 wx_cv_use_shared='wxUSE_SHARED=no'
4723 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4728 eval "$wx_cv_use_shared"
4730 if test x"$enablestring" = xdisable; then
4731 if test $wxUSE_SHARED = no; then
4737 result=$wxUSE_SHARED
4740 { echo "$as_me:$LINENO: result: $result" >&5
4741 echo "${ECHO_T}$result" >&6; }
4746 if test -z "$defaultval"; then
4747 if test x"$enablestring" = xdisable; then
4754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4755 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4756 # Check whether --enable-stl was given.
4757 if test "${enable_stl+set}" = set; then
4758 enableval=$enable_stl;
4759 if test "$enableval" = yes; then
4760 wx_cv_use_stl='wxUSE_STL=yes'
4762 wx_cv_use_stl='wxUSE_STL=no'
4767 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4772 eval "$wx_cv_use_stl"
4774 if test x"$enablestring" = xdisable; then
4775 if test $wxUSE_STL = no; then
4784 { echo "$as_me:$LINENO: result: $result" >&5
4785 echo "${ECHO_T}$result" >&6; }
4787 if test "$wxUSE_STL" = "yes"; then
4788 DEFAULT_wxUSE_STD_CONTAINERS=yes
4789 DEFAULT_wxUSE_STD_IOSTREAM=yes
4790 DEFAULT_wxUSE_STD_STRING=yes
4795 if test -z "$defaultval"; then
4796 if test x"$enablestring" = xdisable; then
4803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4804 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4805 # Check whether --enable-std_containers was given.
4806 if test "${enable_std_containers+set}" = set; then
4807 enableval=$enable_std_containers;
4808 if test "$enableval" = yes; then
4809 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4811 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4816 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4821 eval "$wx_cv_use_std_containers"
4823 if test x"$enablestring" = xdisable; then
4824 if test $wxUSE_STD_CONTAINERS = no; then
4830 result=$wxUSE_STD_CONTAINERS
4833 { echo "$as_me:$LINENO: result: $result" >&5
4834 echo "${ECHO_T}$result" >&6; }
4839 if test -z "$defaultval"; then
4840 if test x"$enablestring" = xdisable; then
4847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4849 # Check whether --enable-std_iostreams was given.
4850 if test "${enable_std_iostreams+set}" = set; then
4851 enableval=$enable_std_iostreams;
4852 if test "$enableval" = yes; then
4853 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4855 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4860 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4865 eval "$wx_cv_use_std_iostreams"
4867 if test x"$enablestring" = xdisable; then
4868 if test $wxUSE_STD_IOSTREAM = no; then
4874 result=$wxUSE_STD_IOSTREAM
4877 { echo "$as_me:$LINENO: result: $result" >&5
4878 echo "${ECHO_T}$result" >&6; }
4883 if test -z "$defaultval"; then
4884 if test x"$enablestring" = xdisable; then
4891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4892 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4893 # Check whether --enable-std_string was given.
4894 if test "${enable_std_string+set}" = set; then
4895 enableval=$enable_std_string;
4896 if test "$enableval" = yes; then
4897 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4899 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4904 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4909 eval "$wx_cv_use_std_string"
4911 if test x"$enablestring" = xdisable; then
4912 if test $wxUSE_STD_STRING = no; then
4918 result=$wxUSE_STD_STRING
4921 { echo "$as_me:$LINENO: result: $result" >&5
4922 echo "${ECHO_T}$result" >&6; }
4927 if test -z "$defaultval"; then
4928 if test x"$enablestring" = xdisable; then
4935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4936 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4937 # Check whether --enable-std_string_conv_in_wxstring was given.
4938 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4939 enableval=$enable_std_string_conv_in_wxstring;
4940 if test "$enableval" = yes; then
4941 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4943 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4948 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4953 eval "$wx_cv_use_std_string_conv_in_wxstring"
4955 if test x"$enablestring" = xdisable; then
4956 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4962 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4965 { echo "$as_me:$LINENO: result: $result" >&5
4966 echo "${ECHO_T}$result" >&6; }
4969 enablestring=disable
4971 if test -z "$defaultval"; then
4972 if test x"$enablestring" = xdisable; then
4979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4981 # Check whether --enable-unicode was given.
4982 if test "${enable_unicode+set}" = set; then
4983 enableval=$enable_unicode;
4984 if test "$enableval" = yes; then
4985 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4987 wx_cv_use_unicode='wxUSE_UNICODE=no'
4992 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4997 eval "$wx_cv_use_unicode"
4999 if test x"$enablestring" = xdisable; then
5000 if test $wxUSE_UNICODE = no; then
5006 result=$wxUSE_UNICODE
5009 { echo "$as_me:$LINENO: result: $result" >&5
5010 echo "${ECHO_T}$result" >&6; }
5015 if test -z "$defaultval"; then
5016 if test x"$enablestring" = xdisable; then
5023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5024 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5025 # Check whether --enable-mslu was given.
5026 if test "${enable_mslu+set}" = set; then
5027 enableval=$enable_mslu;
5028 if test "$enableval" = yes; then
5029 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5031 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5036 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5041 eval "$wx_cv_use_mslu"
5043 if test x"$enablestring" = xdisable; then
5044 if test $wxUSE_UNICODE_MSLU = no; then
5050 result=$wxUSE_UNICODE_MSLU
5053 { echo "$as_me:$LINENO: result: $result" >&5
5054 echo "${ECHO_T}$result" >&6; }
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5060 # Check whether --enable-utf8 was given.
5061 if test "${enable_utf8+set}" = set; then
5062 enableval=$enable_utf8;
5063 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5067 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5072 eval "$wx_cv_use_utf8"
5074 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5075 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5080 if test -z "$defaultval"; then
5081 if test x"$enablestring" = xdisable; then
5088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5090 # Check whether --enable-utf8only was given.
5091 if test "${enable_utf8only+set}" = set; then
5092 enableval=$enable_utf8only;
5093 if test "$enableval" = yes; then
5094 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5096 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5101 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5106 eval "$wx_cv_use_utf8only"
5108 if test x"$enablestring" = xdisable; then
5109 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5115 result=$wxUSE_UNICODE_UTF8_LOCALE
5118 { echo "$as_me:$LINENO: result: $result" >&5
5119 echo "${ECHO_T}$result" >&6; }
5124 if test -z "$defaultval"; then
5125 if test x"$enablestring" = xdisable; then
5132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5134 # Check whether --enable-extended_rtti was given.
5135 if test "${enable_extended_rtti+set}" = set; then
5136 enableval=$enable_extended_rtti;
5137 if test "$enableval" = yes; then
5138 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5140 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5145 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5150 eval "$wx_cv_use_extended_rtti"
5152 if test x"$enablestring" = xdisable; then
5153 if test $wxUSE_EXTENDED_RTTI = no; then
5159 result=$wxUSE_EXTENDED_RTTI
5162 { echo "$as_me:$LINENO: result: $result" >&5
5163 echo "${ECHO_T}$result" >&6; }
5165 if test "$USE_OS2" = 1; then
5166 DEFAULT_wxUSE_OMF=no
5170 if test -z "$defaultval"; then
5171 if test x"$enablestring" = xdisable; then
5178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5179 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5180 # Check whether --enable-omf was given.
5181 if test "${enable_omf+set}" = set; then
5182 enableval=$enable_omf;
5183 if test "$enableval" = yes; then
5184 wx_cv_use_omf='wxUSE_OMF=yes'
5186 wx_cv_use_omf='wxUSE_OMF=no'
5191 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5196 eval "$wx_cv_use_omf"
5198 if test x"$enablestring" = xdisable; then
5199 if test $wxUSE_OMF = no; then
5208 { echo "$as_me:$LINENO: result: $result" >&5
5209 echo "${ECHO_T}$result" >&6; }
5214 enablestring=disable
5216 if test -z "$defaultval"; then
5217 if test x"$enablestring" = xdisable; then
5224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5225 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5226 # Check whether --enable-optimise was given.
5227 if test "${enable_optimise+set}" = set; then
5228 enableval=$enable_optimise;
5229 if test "$enableval" = yes; then
5230 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5232 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5237 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5242 eval "$wx_cv_use_optimise"
5244 if test x"$enablestring" = xdisable; then
5245 if test $wxUSE_OPTIMISE = no; then
5251 result=$wxUSE_OPTIMISE
5254 { echo "$as_me:$LINENO: result: $result" >&5
5255 echo "${ECHO_T}$result" >&6; }
5261 if test -z "$defaultval"; then
5262 if test x"$enablestring" = xdisable; then
5269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5270 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5271 # Check whether --enable-profile was given.
5272 if test "${enable_profile+set}" = set; then
5273 enableval=$enable_profile;
5274 if test "$enableval" = yes; then
5275 wx_cv_use_profile='wxUSE_PROFILE=yes'
5277 wx_cv_use_profile='wxUSE_PROFILE=no'
5282 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5287 eval "$wx_cv_use_profile"
5289 if test x"$enablestring" = xdisable; then
5290 if test $wxUSE_PROFILE = no; then
5296 result=$wxUSE_PROFILE
5299 { echo "$as_me:$LINENO: result: $result" >&5
5300 echo "${ECHO_T}$result" >&6; }
5305 if test -z "$defaultval"; then
5306 if test x"$enablestring" = xdisable; then
5313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5314 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5315 # Check whether --enable-no_rtti was given.
5316 if test "${enable_no_rtti+set}" = set; then
5317 enableval=$enable_no_rtti;
5318 if test "$enableval" = yes; then
5319 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5321 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5326 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5331 eval "$wx_cv_use_no_rtti"
5333 if test x"$enablestring" = xdisable; then
5334 if test $wxUSE_NO_RTTI = no; then
5340 result=$wxUSE_NO_RTTI
5343 { echo "$as_me:$LINENO: result: $result" >&5
5344 echo "${ECHO_T}$result" >&6; }
5349 if test -z "$defaultval"; then
5350 if test x"$enablestring" = xdisable; then
5357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5358 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5359 # Check whether --enable-no_exceptions was given.
5360 if test "${enable_no_exceptions+set}" = set; then
5361 enableval=$enable_no_exceptions;
5362 if test "$enableval" = yes; then
5363 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5365 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5370 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5375 eval "$wx_cv_use_no_exceptions"
5377 if test x"$enablestring" = xdisable; then
5378 if test $wxUSE_NO_EXCEPTIONS = no; then
5384 result=$wxUSE_NO_EXCEPTIONS
5387 { echo "$as_me:$LINENO: result: $result" >&5
5388 echo "${ECHO_T}$result" >&6; }
5393 if test -z "$defaultval"; then
5394 if test x"$enablestring" = xdisable; then
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5403 # Check whether --enable-permissive was given.
5404 if test "${enable_permissive+set}" = set; then
5405 enableval=$enable_permissive;
5406 if test "$enableval" = yes; then
5407 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5409 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5414 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5419 eval "$wx_cv_use_permissive"
5421 if test x"$enablestring" = xdisable; then
5422 if test $wxUSE_PERMISSIVE = no; then
5428 result=$wxUSE_PERMISSIVE
5431 { echo "$as_me:$LINENO: result: $result" >&5
5432 echo "${ECHO_T}$result" >&6; }
5437 if test -z "$defaultval"; then
5438 if test x"$enablestring" = xdisable; then
5445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5446 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5447 # Check whether --enable-no_deps was given.
5448 if test "${enable_no_deps+set}" = set; then
5449 enableval=$enable_no_deps;
5450 if test "$enableval" = yes; then
5451 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5453 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5458 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5463 eval "$wx_cv_use_no_deps"
5465 if test x"$enablestring" = xdisable; then
5466 if test $wxUSE_NO_DEPS = no; then
5472 result=$wxUSE_NO_DEPS
5475 { echo "$as_me:$LINENO: result: $result" >&5
5476 echo "${ECHO_T}$result" >&6; }
5479 enablestring=disable
5481 if test -z "$defaultval"; then
5482 if test x"$enablestring" = xdisable; then
5489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5490 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5491 # Check whether --enable-vararg_macros was given.
5492 if test "${enable_vararg_macros+set}" = set; then
5493 enableval=$enable_vararg_macros;
5494 if test "$enableval" = yes; then
5495 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5497 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5502 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5507 eval "$wx_cv_use_vararg_macros"
5509 if test x"$enablestring" = xdisable; then
5510 if test $wxUSE_VARARG_MACROS = no; then
5516 result=$wxUSE_VARARG_MACROS
5519 { echo "$as_me:$LINENO: result: $result" >&5
5520 echo "${ECHO_T}$result" >&6; }
5525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5527 # Check whether --enable-universal_binary was given.
5528 if test "${enable_universal_binary+set}" = set; then
5529 enableval=$enable_universal_binary;
5530 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5534 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5539 eval "$wx_cv_use_universal_binary"
5541 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5542 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5548 # Check whether --enable-macosx_arch was given.
5549 if test "${enable_macosx_arch+set}" = set; then
5550 enableval=$enable_macosx_arch;
5551 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5555 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5560 eval "$wx_cv_use_macosx_arch"
5562 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5563 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5569 if test -z "$defaultval"; then
5570 if test x"$enablestring" = xdisable; then
5577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5578 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5579 # Check whether --enable-compat26 was given.
5580 if test "${enable_compat26+set}" = set; then
5581 enableval=$enable_compat26;
5582 if test "$enableval" = yes; then
5583 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5585 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5590 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5595 eval "$wx_cv_use_compat26"
5597 if test x"$enablestring" = xdisable; then
5598 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5604 result=$WXWIN_COMPATIBILITY_2_6
5607 { echo "$as_me:$LINENO: result: $result" >&5
5608 echo "${ECHO_T}$result" >&6; }
5611 enablestring=disable
5613 if test -z "$defaultval"; then
5614 if test x"$enablestring" = xdisable; then
5621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5623 # Check whether --enable-compat28 was given.
5624 if test "${enable_compat28+set}" = set; then
5625 enableval=$enable_compat28;
5626 if test "$enableval" = yes; then
5627 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5629 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5634 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5639 eval "$wx_cv_use_compat28"
5641 if test x"$enablestring" = xdisable; then
5642 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5648 result=$WXWIN_COMPATIBILITY_2_8
5651 { echo "$as_me:$LINENO: result: $result" >&5
5652 echo "${ECHO_T}$result" >&6; }
5656 enablestring=disable
5658 if test -z "$defaultval"; then
5659 if test x"$enablestring" = xdisable; then
5666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5668 # Check whether --enable-rpath was given.
5669 if test "${enable_rpath+set}" = set; then
5670 enableval=$enable_rpath;
5671 if test "$enableval" = yes; then
5672 wx_cv_use_rpath='wxUSE_RPATH=yes'
5674 wx_cv_use_rpath='wxUSE_RPATH=no'
5679 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5684 eval "$wx_cv_use_rpath"
5686 if test x"$enablestring" = xdisable; then
5687 if test $wxUSE_RPATH = no; then
5696 { echo "$as_me:$LINENO: result: $result" >&5
5697 echo "${ECHO_T}$result" >&6; }
5703 if test -z "$defaultval"; then
5704 if test x"$enablestring" = xdisable; then
5711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5712 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5713 # Check whether --enable-objc_uniquifying was given.
5714 if test "${enable_objc_uniquifying+set}" = set; then
5715 enableval=$enable_objc_uniquifying;
5716 if test "$enableval" = yes; then
5717 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5719 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5724 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5729 eval "$wx_cv_use_objc_uniquifying"
5731 if test x"$enablestring" = xdisable; then
5732 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5738 result=$wxUSE_OBJC_UNIQUIFYING
5741 { echo "$as_me:$LINENO: result: $result" >&5
5742 echo "${ECHO_T}$result" >&6; }
5746 enablestring=disable
5748 if test -z "$defaultval"; then
5749 if test x"$enablestring" = xdisable; then
5756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5757 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5758 # Check whether --enable-visibility was given.
5759 if test "${enable_visibility+set}" = set; then
5760 enableval=$enable_visibility;
5761 if test "$enableval" = yes; then
5762 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5764 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5769 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5774 eval "$wx_cv_use_visibility"
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_VISIBILITY = no; then
5783 result=$wxUSE_VISIBILITY
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5790 enablestring=disable
5792 if test -z "$defaultval"; then
5793 if test x"$enablestring" = xdisable; then
5800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5802 # Check whether --enable-tls was given.
5803 if test "${enable_tls+set}" = set; then
5804 enableval=$enable_tls;
5805 if test "$enableval" = yes; then
5806 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5808 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5813 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5818 eval "$wx_cv_use_tls"
5820 if test x"$enablestring" = xdisable; then
5821 if test $wxUSE_COMPILER_TLS = no; then
5827 result=$wxUSE_COMPILER_TLS
5830 { echo "$as_me:$LINENO: result: $result" >&5
5831 echo "${ECHO_T}$result" >&6; }
5837 defaultval=$wxUSE_ALL_FEATURES
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5848 # Check whether --enable-intl was given.
5849 if test "${enable_intl+set}" = set; then
5850 enableval=$enable_intl;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_intl='wxUSE_INTL=yes'
5854 wx_cv_use_intl='wxUSE_INTL=no'
5859 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5864 eval "$wx_cv_use_intl"
5866 if test x"$enablestring" = xdisable; then
5867 if test $wxUSE_INTL = no; then
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5881 defaultval=$wxUSE_ALL_FEATURES
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5892 # Check whether --enable-xlocale was given.
5893 if test "${enable_xlocale+set}" = set; then
5894 enableval=$enable_xlocale;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5898 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5903 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5908 eval "$wx_cv_use_xlocale"
5910 if test x"$enablestring" = xdisable; then
5911 if test $wxUSE_XLOCALE = no; then
5917 result=$wxUSE_XLOCALE
5920 { echo "$as_me:$LINENO: result: $result" >&5
5921 echo "${ECHO_T}$result" >&6; }
5925 defaultval=$wxUSE_ALL_FEATURES
5926 if test -z "$defaultval"; then
5927 if test x"$enablestring" = xdisable; then
5934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5935 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5936 # Check whether --enable-config was given.
5937 if test "${enable_config+set}" = set; then
5938 enableval=$enable_config;
5939 if test "$enableval" = yes; then
5940 wx_cv_use_config='wxUSE_CONFIG=yes'
5942 wx_cv_use_config='wxUSE_CONFIG=no'
5947 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5952 eval "$wx_cv_use_config"
5954 if test x"$enablestring" = xdisable; then
5955 if test $wxUSE_CONFIG = no; then
5961 result=$wxUSE_CONFIG
5964 { echo "$as_me:$LINENO: result: $result" >&5
5965 echo "${ECHO_T}$result" >&6; }
5970 defaultval=$wxUSE_ALL_FEATURES
5971 if test -z "$defaultval"; then
5972 if test x"$enablestring" = xdisable; then
5979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5981 # Check whether --enable-protocols was given.
5982 if test "${enable_protocols+set}" = set; then
5983 enableval=$enable_protocols;
5984 if test "$enableval" = yes; then
5985 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5987 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5992 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5997 eval "$wx_cv_use_protocols"
5999 if test x"$enablestring" = xdisable; then
6000 if test $wxUSE_PROTOCOL = no; then
6006 result=$wxUSE_PROTOCOL
6009 { echo "$as_me:$LINENO: result: $result" >&5
6010 echo "${ECHO_T}$result" >&6; }
6014 defaultval=$wxUSE_ALL_FEATURES
6015 if test -z "$defaultval"; then
6016 if test x"$enablestring" = xdisable; then
6023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6025 # Check whether --enable-ftp was given.
6026 if test "${enable_ftp+set}" = set; then
6027 enableval=$enable_ftp;
6028 if test "$enableval" = yes; then
6029 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6031 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6036 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6041 eval "$wx_cv_use_ftp"
6043 if test x"$enablestring" = xdisable; then
6044 if test $wxUSE_PROTOCOL_FTP = no; then
6050 result=$wxUSE_PROTOCOL_FTP
6053 { echo "$as_me:$LINENO: result: $result" >&5
6054 echo "${ECHO_T}$result" >&6; }
6058 defaultval=$wxUSE_ALL_FEATURES
6059 if test -z "$defaultval"; then
6060 if test x"$enablestring" = xdisable; then
6067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6069 # Check whether --enable-http was given.
6070 if test "${enable_http+set}" = set; then
6071 enableval=$enable_http;
6072 if test "$enableval" = yes; then
6073 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6075 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6080 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6085 eval "$wx_cv_use_http"
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_PROTOCOL_HTTP = no; then
6094 result=$wxUSE_PROTOCOL_HTTP
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6102 defaultval=$wxUSE_ALL_FEATURES
6103 if test -z "$defaultval"; then
6104 if test x"$enablestring" = xdisable; then
6111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6113 # Check whether --enable-fileproto was given.
6114 if test "${enable_fileproto+set}" = set; then
6115 enableval=$enable_fileproto;
6116 if test "$enableval" = yes; then
6117 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6119 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6124 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6129 eval "$wx_cv_use_fileproto"
6131 if test x"$enablestring" = xdisable; then
6132 if test $wxUSE_PROTOCOL_FILE = no; then
6138 result=$wxUSE_PROTOCOL_FILE
6141 { echo "$as_me:$LINENO: result: $result" >&5
6142 echo "${ECHO_T}$result" >&6; }
6146 defaultval=$wxUSE_ALL_FEATURES
6147 if test -z "$defaultval"; then
6148 if test x"$enablestring" = xdisable; then
6155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6157 # Check whether --enable-sockets was given.
6158 if test "${enable_sockets+set}" = set; then
6159 enableval=$enable_sockets;
6160 if test "$enableval" = yes; then
6161 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6163 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6168 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6173 eval "$wx_cv_use_sockets"
6175 if test x"$enablestring" = xdisable; then
6176 if test $wxUSE_SOCKETS = no; then
6182 result=$wxUSE_SOCKETS
6185 { echo "$as_me:$LINENO: result: $result" >&5
6186 echo "${ECHO_T}$result" >&6; }
6190 defaultval=$wxUSE_ALL_FEATURES
6191 if test -z "$defaultval"; then
6192 if test x"$enablestring" = xdisable; then
6199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6201 # Check whether --enable-ipv6 was given.
6202 if test "${enable_ipv6+set}" = set; then
6203 enableval=$enable_ipv6;
6204 if test "$enableval" = yes; then
6205 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6207 wx_cv_use_ipv6='wxUSE_IPV6=no'
6212 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6217 eval "$wx_cv_use_ipv6"
6219 if test x"$enablestring" = xdisable; then
6220 if test $wxUSE_IPV6 = no; then
6229 { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6234 defaultval=$wxUSE_ALL_FEATURES
6235 if test -z "$defaultval"; then
6236 if test x"$enablestring" = xdisable; then
6243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6245 # Check whether --enable-ole was given.
6246 if test "${enable_ole+set}" = set; then
6247 enableval=$enable_ole;
6248 if test "$enableval" = yes; then
6249 wx_cv_use_ole='wxUSE_OLE=yes'
6251 wx_cv_use_ole='wxUSE_OLE=no'
6256 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6261 eval "$wx_cv_use_ole"
6263 if test x"$enablestring" = xdisable; then
6264 if test $wxUSE_OLE = no; then
6273 { echo "$as_me:$LINENO: result: $result" >&5
6274 echo "${ECHO_T}$result" >&6; }
6278 defaultval=$wxUSE_ALL_FEATURES
6279 if test -z "$defaultval"; then
6280 if test x"$enablestring" = xdisable; then
6287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6288 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6289 # Check whether --enable-dataobj was given.
6290 if test "${enable_dataobj+set}" = set; then
6291 enableval=$enable_dataobj;
6292 if test "$enableval" = yes; then
6293 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6295 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6300 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6305 eval "$wx_cv_use_dataobj"
6307 if test x"$enablestring" = xdisable; then
6308 if test $wxUSE_DATAOBJ = no; then
6314 result=$wxUSE_DATAOBJ
6317 { echo "$as_me:$LINENO: result: $result" >&5
6318 echo "${ECHO_T}$result" >&6; }
6323 defaultval=$wxUSE_ALL_FEATURES
6324 if test -z "$defaultval"; then
6325 if test x"$enablestring" = xdisable; then
6332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6334 # Check whether --enable-ipc was given.
6335 if test "${enable_ipc+set}" = set; then
6336 enableval=$enable_ipc;
6337 if test "$enableval" = yes; then
6338 wx_cv_use_ipc='wxUSE_IPC=yes'
6340 wx_cv_use_ipc='wxUSE_IPC=no'
6345 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6350 eval "$wx_cv_use_ipc"
6352 if test x"$enablestring" = xdisable; then
6353 if test $wxUSE_IPC = no; then
6362 { echo "$as_me:$LINENO: result: $result" >&5
6363 echo "${ECHO_T}$result" >&6; }
6368 defaultval=$wxUSE_ALL_FEATURES
6369 if test -z "$defaultval"; then
6370 if test x"$enablestring" = xdisable; then
6377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6378 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6379 # Check whether --enable-baseevtloop was given.
6380 if test "${enable_baseevtloop+set}" = set; then
6381 enableval=$enable_baseevtloop;
6382 if test "$enableval" = yes; then
6383 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6385 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6390 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6395 eval "$wx_cv_use_baseevtloop"
6397 if test x"$enablestring" = xdisable; then
6398 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6404 result=$wxUSE_CONSOLE_EVENTLOOP
6407 { echo "$as_me:$LINENO: result: $result" >&5
6408 echo "${ECHO_T}$result" >&6; }
6412 defaultval=$wxUSE_ALL_FEATURES
6413 if test -z "$defaultval"; then
6414 if test x"$enablestring" = xdisable; then
6421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6422 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6423 # Check whether --enable-epollloop was given.
6424 if test "${enable_epollloop+set}" = set; then
6425 enableval=$enable_epollloop;
6426 if test "$enableval" = yes; then
6427 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6429 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6434 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6439 eval "$wx_cv_use_epollloop"
6441 if test x"$enablestring" = xdisable; then
6442 if test $wxUSE_EPOLL_DISPATCHER = no; then
6448 result=$wxUSE_EPOLL_DISPATCHER
6451 { echo "$as_me:$LINENO: result: $result" >&5
6452 echo "${ECHO_T}$result" >&6; }
6456 defaultval=$wxUSE_ALL_FEATURES
6457 if test -z "$defaultval"; then
6458 if test x"$enablestring" = xdisable; then
6465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6467 # Check whether --enable-selectloop was given.
6468 if test "${enable_selectloop+set}" = set; then
6469 enableval=$enable_selectloop;
6470 if test "$enableval" = yes; then
6471 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6473 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6478 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6483 eval "$wx_cv_use_selectloop"
6485 if test x"$enablestring" = xdisable; then
6486 if test $wxUSE_SELECT_DISPATCHER = no; then
6492 result=$wxUSE_SELECT_DISPATCHER
6495 { echo "$as_me:$LINENO: result: $result" >&5
6496 echo "${ECHO_T}$result" >&6; }
6501 defaultval=$wxUSE_ALL_FEATURES
6502 if test -z "$defaultval"; then
6503 if test x"$enablestring" = xdisable; then
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6512 # Check whether --enable-any was given.
6513 if test "${enable_any+set}" = set; then
6514 enableval=$enable_any;
6515 if test "$enableval" = yes; then
6516 wx_cv_use_any='wxUSE_ANY=yes'
6518 wx_cv_use_any='wxUSE_ANY=no'
6523 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6528 eval "$wx_cv_use_any"
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_ANY = no; then
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6545 defaultval=$wxUSE_ALL_FEATURES
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6556 # Check whether --enable-apple_ieee was given.
6557 if test "${enable_apple_ieee+set}" = set; then
6558 enableval=$enable_apple_ieee;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6562 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6567 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6572 eval "$wx_cv_use_apple_ieee"
6574 if test x"$enablestring" = xdisable; then
6575 if test $wxUSE_APPLE_IEEE = no; then
6581 result=$wxUSE_APPLE_IEEE
6584 { echo "$as_me:$LINENO: result: $result" >&5
6585 echo "${ECHO_T}$result" >&6; }
6589 defaultval=$wxUSE_ALL_FEATURES
6590 if test -z "$defaultval"; then
6591 if test x"$enablestring" = xdisable; then
6598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6599 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6600 # Check whether --enable-arcstream was given.
6601 if test "${enable_arcstream+set}" = set; then
6602 enableval=$enable_arcstream;
6603 if test "$enableval" = yes; then
6604 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6606 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6611 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6616 eval "$wx_cv_use_arcstream"
6618 if test x"$enablestring" = xdisable; then
6619 if test $wxUSE_ARCHIVE_STREAMS = no; then
6625 result=$wxUSE_ARCHIVE_STREAMS
6628 { echo "$as_me:$LINENO: result: $result" >&5
6629 echo "${ECHO_T}$result" >&6; }
6633 defaultval=$wxUSE_ALL_FEATURES
6634 if test -z "$defaultval"; then
6635 if test x"$enablestring" = xdisable; then
6642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6643 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6644 # Check whether --enable-base64 was given.
6645 if test "${enable_base64+set}" = set; then
6646 enableval=$enable_base64;
6647 if test "$enableval" = yes; then
6648 wx_cv_use_base64='wxUSE_BASE64=yes'
6650 wx_cv_use_base64='wxUSE_BASE64=no'
6655 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6660 eval "$wx_cv_use_base64"
6662 if test x"$enablestring" = xdisable; then
6663 if test $wxUSE_BASE64 = no; then
6669 result=$wxUSE_BASE64
6672 { echo "$as_me:$LINENO: result: $result" >&5
6673 echo "${ECHO_T}$result" >&6; }
6677 defaultval=$wxUSE_ALL_FEATURES
6678 if test -z "$defaultval"; then
6679 if test x"$enablestring" = xdisable; then
6686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6687 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6688 # Check whether --enable-backtrace was given.
6689 if test "${enable_backtrace+set}" = set; then
6690 enableval=$enable_backtrace;
6691 if test "$enableval" = yes; then
6692 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6694 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6699 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6704 eval "$wx_cv_use_backtrace"
6706 if test x"$enablestring" = xdisable; then
6707 if test $wxUSE_STACKWALKER = no; then
6713 result=$wxUSE_STACKWALKER
6716 { echo "$as_me:$LINENO: result: $result" >&5
6717 echo "${ECHO_T}$result" >&6; }
6721 defaultval=$wxUSE_ALL_FEATURES
6722 if test -z "$defaultval"; then
6723 if test x"$enablestring" = xdisable; then
6730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6732 # Check whether --enable-catch_segvs was given.
6733 if test "${enable_catch_segvs+set}" = set; then
6734 enableval=$enable_catch_segvs;
6735 if test "$enableval" = yes; then
6736 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6738 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6743 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6748 eval "$wx_cv_use_catch_segvs"
6750 if test x"$enablestring" = xdisable; then
6751 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6757 result=$wxUSE_ON_FATAL_EXCEPTION
6760 { echo "$as_me:$LINENO: result: $result" >&5
6761 echo "${ECHO_T}$result" >&6; }
6765 defaultval=$wxUSE_ALL_FEATURES
6766 if test -z "$defaultval"; then
6767 if test x"$enablestring" = xdisable; then
6774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6775 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6776 # Check whether --enable-cmdline was given.
6777 if test "${enable_cmdline+set}" = set; then
6778 enableval=$enable_cmdline;
6779 if test "$enableval" = yes; then
6780 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6782 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6787 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6792 eval "$wx_cv_use_cmdline"
6794 if test x"$enablestring" = xdisable; then
6795 if test $wxUSE_CMDLINE_PARSER = no; then
6801 result=$wxUSE_CMDLINE_PARSER
6804 { echo "$as_me:$LINENO: result: $result" >&5
6805 echo "${ECHO_T}$result" >&6; }
6809 defaultval=$wxUSE_ALL_FEATURES
6810 if test -z "$defaultval"; then
6811 if test x"$enablestring" = xdisable; then
6818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6820 # Check whether --enable-datetime was given.
6821 if test "${enable_datetime+set}" = set; then
6822 enableval=$enable_datetime;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6826 wx_cv_use_datetime='wxUSE_DATETIME=no'
6831 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6836 eval "$wx_cv_use_datetime"
6838 if test x"$enablestring" = xdisable; then
6839 if test $wxUSE_DATETIME = no; then
6845 result=$wxUSE_DATETIME
6848 { echo "$as_me:$LINENO: result: $result" >&5
6849 echo "${ECHO_T}$result" >&6; }
6853 defaultval=$wxUSE_ALL_FEATURES
6854 if test -z "$defaultval"; then
6855 if test x"$enablestring" = xdisable; then
6862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6864 # Check whether --enable-debugreport was given.
6865 if test "${enable_debugreport+set}" = set; then
6866 enableval=$enable_debugreport;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6870 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6875 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6880 eval "$wx_cv_use_debugreport"
6882 if test x"$enablestring" = xdisable; then
6883 if test $wxUSE_DEBUGREPORT = no; then
6889 result=$wxUSE_DEBUGREPORT
6892 { echo "$as_me:$LINENO: result: $result" >&5
6893 echo "${ECHO_T}$result" >&6; }
6897 defaultval=$wxUSE_ALL_FEATURES
6898 if test -z "$defaultval"; then
6899 if test x"$enablestring" = xdisable; then
6906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6907 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6908 # Check whether --enable-dialupman was given.
6909 if test "${enable_dialupman+set}" = set; then
6910 enableval=$enable_dialupman;
6911 if test "$enableval" = yes; then
6912 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6914 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6919 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6924 eval "$wx_cv_use_dialupman"
6926 if test x"$enablestring" = xdisable; then
6927 if test $wxUSE_DIALUP_MANAGER = no; then
6933 result=$wxUSE_DIALUP_MANAGER
6936 { echo "$as_me:$LINENO: result: $result" >&5
6937 echo "${ECHO_T}$result" >&6; }
6941 defaultval=$wxUSE_ALL_FEATURES
6942 if test -z "$defaultval"; then
6943 if test x"$enablestring" = xdisable; then
6950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6952 # Check whether --enable-dynlib was given.
6953 if test "${enable_dynlib+set}" = set; then
6954 enableval=$enable_dynlib;
6955 if test "$enableval" = yes; then
6956 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6958 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6963 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6968 eval "$wx_cv_use_dynlib"
6970 if test x"$enablestring" = xdisable; then
6971 if test $wxUSE_DYNLIB_CLASS = no; then
6977 result=$wxUSE_DYNLIB_CLASS
6980 { echo "$as_me:$LINENO: result: $result" >&5
6981 echo "${ECHO_T}$result" >&6; }
6985 defaultval=$wxUSE_ALL_FEATURES
6986 if test -z "$defaultval"; then
6987 if test x"$enablestring" = xdisable; then
6994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6995 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6996 # Check whether --enable-dynamicloader was given.
6997 if test "${enable_dynamicloader+set}" = set; then
6998 enableval=$enable_dynamicloader;
6999 if test "$enableval" = yes; then
7000 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7002 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7007 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7012 eval "$wx_cv_use_dynamicloader"
7014 if test x"$enablestring" = xdisable; then
7015 if test $wxUSE_DYNAMIC_LOADER = no; then
7021 result=$wxUSE_DYNAMIC_LOADER
7024 { echo "$as_me:$LINENO: result: $result" >&5
7025 echo "${ECHO_T}$result" >&6; }
7029 defaultval=$wxUSE_ALL_FEATURES
7030 if test -z "$defaultval"; then
7031 if test x"$enablestring" = xdisable; then
7038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7039 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7040 # Check whether --enable-exceptions was given.
7041 if test "${enable_exceptions+set}" = set; then
7042 enableval=$enable_exceptions;
7043 if test "$enableval" = yes; then
7044 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7046 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7051 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7056 eval "$wx_cv_use_exceptions"
7058 if test x"$enablestring" = xdisable; then
7059 if test $wxUSE_EXCEPTIONS = no; then
7065 result=$wxUSE_EXCEPTIONS
7068 { echo "$as_me:$LINENO: result: $result" >&5
7069 echo "${ECHO_T}$result" >&6; }
7073 defaultval=$wxUSE_ALL_FEATURES
7074 if test -z "$defaultval"; then
7075 if test x"$enablestring" = xdisable; then
7082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7083 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7084 # Check whether --enable-ffile was given.
7085 if test "${enable_ffile+set}" = set; then
7086 enableval=$enable_ffile;
7087 if test "$enableval" = yes; then
7088 wx_cv_use_ffile='wxUSE_FFILE=yes'
7090 wx_cv_use_ffile='wxUSE_FFILE=no'
7095 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7100 eval "$wx_cv_use_ffile"
7102 if test x"$enablestring" = xdisable; then
7103 if test $wxUSE_FFILE = no; then
7112 { echo "$as_me:$LINENO: result: $result" >&5
7113 echo "${ECHO_T}$result" >&6; }
7117 defaultval=$wxUSE_ALL_FEATURES
7118 if test -z "$defaultval"; then
7119 if test x"$enablestring" = xdisable; then
7126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7128 # Check whether --enable-file was given.
7129 if test "${enable_file+set}" = set; then
7130 enableval=$enable_file;
7131 if test "$enableval" = yes; then
7132 wx_cv_use_file='wxUSE_FILE=yes'
7134 wx_cv_use_file='wxUSE_FILE=no'
7139 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7144 eval "$wx_cv_use_file"
7146 if test x"$enablestring" = xdisable; then
7147 if test $wxUSE_FILE = no; then
7156 { echo "$as_me:$LINENO: result: $result" >&5
7157 echo "${ECHO_T}$result" >&6; }
7161 defaultval=$wxUSE_ALL_FEATURES
7162 if test -z "$defaultval"; then
7163 if test x"$enablestring" = xdisable; then
7170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7172 # Check whether --enable-filehistory was given.
7173 if test "${enable_filehistory+set}" = set; then
7174 enableval=$enable_filehistory;
7175 if test "$enableval" = yes; then
7176 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7178 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7183 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7188 eval "$wx_cv_use_filehistory"
7190 if test x"$enablestring" = xdisable; then
7191 if test $wxUSE_FILE_HISTORY = no; then
7197 result=$wxUSE_FILE_HISTORY
7200 { echo "$as_me:$LINENO: result: $result" >&5
7201 echo "${ECHO_T}$result" >&6; }
7205 defaultval=$wxUSE_ALL_FEATURES
7206 if test -z "$defaultval"; then
7207 if test x"$enablestring" = xdisable; then
7214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7216 # Check whether --enable-filesystem was given.
7217 if test "${enable_filesystem+set}" = set; then
7218 enableval=$enable_filesystem;
7219 if test "$enableval" = yes; then
7220 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7222 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7227 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7232 eval "$wx_cv_use_filesystem"
7234 if test x"$enablestring" = xdisable; then
7235 if test $wxUSE_FILESYSTEM = no; then
7241 result=$wxUSE_FILESYSTEM
7244 { echo "$as_me:$LINENO: result: $result" >&5
7245 echo "${ECHO_T}$result" >&6; }
7249 defaultval=$wxUSE_ALL_FEATURES
7250 if test -z "$defaultval"; then
7251 if test x"$enablestring" = xdisable; then
7258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7260 # Check whether --enable-fontenum was given.
7261 if test "${enable_fontenum+set}" = set; then
7262 enableval=$enable_fontenum;
7263 if test "$enableval" = yes; then
7264 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7266 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7271 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7276 eval "$wx_cv_use_fontenum"
7278 if test x"$enablestring" = xdisable; then
7279 if test $wxUSE_FONTENUM = no; then
7285 result=$wxUSE_FONTENUM
7288 { echo "$as_me:$LINENO: result: $result" >&5
7289 echo "${ECHO_T}$result" >&6; }
7293 defaultval=$wxUSE_ALL_FEATURES
7294 if test -z "$defaultval"; then
7295 if test x"$enablestring" = xdisable; then
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7304 # Check whether --enable-fontmap was given.
7305 if test "${enable_fontmap+set}" = set; then
7306 enableval=$enable_fontmap;
7307 if test "$enableval" = yes; then
7308 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7310 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7315 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7320 eval "$wx_cv_use_fontmap"
7322 if test x"$enablestring" = xdisable; then
7323 if test $wxUSE_FONTMAP = no; then
7329 result=$wxUSE_FONTMAP
7332 { echo "$as_me:$LINENO: result: $result" >&5
7333 echo "${ECHO_T}$result" >&6; }
7337 defaultval=$wxUSE_ALL_FEATURES
7338 if test -z "$defaultval"; then
7339 if test x"$enablestring" = xdisable; then
7346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7348 # Check whether --enable-fs_archive was given.
7349 if test "${enable_fs_archive+set}" = set; then
7350 enableval=$enable_fs_archive;
7351 if test "$enableval" = yes; then
7352 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7354 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7359 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7364 eval "$wx_cv_use_fs_archive"
7366 if test x"$enablestring" = xdisable; then
7367 if test $wxUSE_FS_ARCHIVE = no; then
7373 result=$wxUSE_FS_ARCHIVE
7376 { echo "$as_me:$LINENO: result: $result" >&5
7377 echo "${ECHO_T}$result" >&6; }
7381 defaultval=$wxUSE_ALL_FEATURES
7382 if test -z "$defaultval"; then
7383 if test x"$enablestring" = xdisable; then
7390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7392 # Check whether --enable-fs_inet was given.
7393 if test "${enable_fs_inet+set}" = set; then
7394 enableval=$enable_fs_inet;
7395 if test "$enableval" = yes; then
7396 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7398 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7403 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7408 eval "$wx_cv_use_fs_inet"
7410 if test x"$enablestring" = xdisable; then
7411 if test $wxUSE_FS_INET = no; then
7417 result=$wxUSE_FS_INET
7420 { echo "$as_me:$LINENO: result: $result" >&5
7421 echo "${ECHO_T}$result" >&6; }
7425 defaultval=$wxUSE_ALL_FEATURES
7426 if test -z "$defaultval"; then
7427 if test x"$enablestring" = xdisable; then
7434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7436 # Check whether --enable-fs_zip was given.
7437 if test "${enable_fs_zip+set}" = set; then
7438 enableval=$enable_fs_zip;
7439 if test "$enableval" = yes; then
7440 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7442 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7447 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7452 eval "$wx_cv_use_fs_zip"
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_FS_ZIP = no; then
7461 result=$wxUSE_FS_ZIP
7464 { echo "$as_me:$LINENO: result: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7480 # Check whether --enable-fswatcher was given.
7481 if test "${enable_fswatcher+set}" = set; then
7482 enableval=$enable_fswatcher;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7486 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7491 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7496 eval "$wx_cv_use_fswatcher"
7498 if test x"$enablestring" = xdisable; then
7499 if test $wxUSE_FSWATCHER = no; then
7505 result=$wxUSE_FSWATCHER
7508 { echo "$as_me:$LINENO: result: $result" >&5
7509 echo "${ECHO_T}$result" >&6; }
7513 defaultval=$wxUSE_ALL_FEATURES
7514 if test -z "$defaultval"; then
7515 if test x"$enablestring" = xdisable; then
7522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7524 # Check whether --enable-geometry was given.
7525 if test "${enable_geometry+set}" = set; then
7526 enableval=$enable_geometry;
7527 if test "$enableval" = yes; then
7528 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7530 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7535 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7540 eval "$wx_cv_use_geometry"
7542 if test x"$enablestring" = xdisable; then
7543 if test $wxUSE_GEOMETRY = no; then
7549 result=$wxUSE_GEOMETRY
7552 { echo "$as_me:$LINENO: result: $result" >&5
7553 echo "${ECHO_T}$result" >&6; }
7557 defaultval=$wxUSE_ALL_FEATURES
7558 if test -z "$defaultval"; then
7559 if test x"$enablestring" = xdisable; then
7566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7568 # Check whether --enable-log was given.
7569 if test "${enable_log+set}" = set; then
7570 enableval=$enable_log;
7571 if test "$enableval" = yes; then
7572 wx_cv_use_log='wxUSE_LOG=yes'
7574 wx_cv_use_log='wxUSE_LOG=no'
7579 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7584 eval "$wx_cv_use_log"
7586 if test x"$enablestring" = xdisable; then
7587 if test $wxUSE_LOG = no; then
7596 { echo "$as_me:$LINENO: result: $result" >&5
7597 echo "${ECHO_T}$result" >&6; }
7601 defaultval=$wxUSE_ALL_FEATURES
7602 if test -z "$defaultval"; then
7603 if test x"$enablestring" = xdisable; then
7610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7611 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7612 # Check whether --enable-longlong was given.
7613 if test "${enable_longlong+set}" = set; then
7614 enableval=$enable_longlong;
7615 if test "$enableval" = yes; then
7616 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7618 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7623 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7628 eval "$wx_cv_use_longlong"
7630 if test x"$enablestring" = xdisable; then
7631 if test $wxUSE_LONGLONG = no; then
7637 result=$wxUSE_LONGLONG
7640 { echo "$as_me:$LINENO: result: $result" >&5
7641 echo "${ECHO_T}$result" >&6; }
7645 defaultval=$wxUSE_ALL_FEATURES
7646 if test -z "$defaultval"; then
7647 if test x"$enablestring" = xdisable; then
7654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7655 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7656 # Check whether --enable-mimetype was given.
7657 if test "${enable_mimetype+set}" = set; then
7658 enableval=$enable_mimetype;
7659 if test "$enableval" = yes; then
7660 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7662 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7667 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7672 eval "$wx_cv_use_mimetype"
7674 if test x"$enablestring" = xdisable; then
7675 if test $wxUSE_MIMETYPE = no; then
7681 result=$wxUSE_MIMETYPE
7684 { echo "$as_me:$LINENO: result: $result" >&5
7685 echo "${ECHO_T}$result" >&6; }
7689 defaultval=$wxUSE_ALL_FEATURES
7690 if test -z "$defaultval"; then
7691 if test x"$enablestring" = xdisable; then
7698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7699 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7700 # Check whether --enable-printfposparam was given.
7701 if test "${enable_printfposparam+set}" = set; then
7702 enableval=$enable_printfposparam;
7703 if test "$enableval" = yes; then
7704 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7706 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7711 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7716 eval "$wx_cv_use_printfposparam"
7718 if test x"$enablestring" = xdisable; then
7719 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7725 result=$wxUSE_PRINTF_POS_PARAMS
7728 { echo "$as_me:$LINENO: result: $result" >&5
7729 echo "${ECHO_T}$result" >&6; }
7733 defaultval=$wxUSE_ALL_FEATURES
7734 if test -z "$defaultval"; then
7735 if test x"$enablestring" = xdisable; then
7742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7744 # Check whether --enable-snglinst was given.
7745 if test "${enable_snglinst+set}" = set; then
7746 enableval=$enable_snglinst;
7747 if test "$enableval" = yes; then
7748 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7750 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7755 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7760 eval "$wx_cv_use_snglinst"
7762 if test x"$enablestring" = xdisable; then
7763 if test $wxUSE_SNGLINST_CHECKER = no; then
7769 result=$wxUSE_SNGLINST_CHECKER
7772 { echo "$as_me:$LINENO: result: $result" >&5
7773 echo "${ECHO_T}$result" >&6; }
7777 defaultval=$wxUSE_ALL_FEATURES
7778 if test -z "$defaultval"; then
7779 if test x"$enablestring" = xdisable; then
7786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7788 # Check whether --enable-sound was given.
7789 if test "${enable_sound+set}" = set; then
7790 enableval=$enable_sound;
7791 if test "$enableval" = yes; then
7792 wx_cv_use_sound='wxUSE_SOUND=yes'
7794 wx_cv_use_sound='wxUSE_SOUND=no'
7799 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7804 eval "$wx_cv_use_sound"
7806 if test x"$enablestring" = xdisable; then
7807 if test $wxUSE_SOUND = no; then
7816 { echo "$as_me:$LINENO: result: $result" >&5
7817 echo "${ECHO_T}$result" >&6; }
7821 defaultval=$wxUSE_ALL_FEATURES
7822 if test -z "$defaultval"; then
7823 if test x"$enablestring" = xdisable; then
7830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7832 # Check whether --enable-stdpaths was given.
7833 if test "${enable_stdpaths+set}" = set; then
7834 enableval=$enable_stdpaths;
7835 if test "$enableval" = yes; then
7836 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7838 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7843 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7848 eval "$wx_cv_use_stdpaths"
7850 if test x"$enablestring" = xdisable; then
7851 if test $wxUSE_STDPATHS = no; then
7857 result=$wxUSE_STDPATHS
7860 { echo "$as_me:$LINENO: result: $result" >&5
7861 echo "${ECHO_T}$result" >&6; }
7865 defaultval=$wxUSE_ALL_FEATURES
7866 if test -z "$defaultval"; then
7867 if test x"$enablestring" = xdisable; then
7874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7876 # Check whether --enable-stopwatch was given.
7877 if test "${enable_stopwatch+set}" = set; then
7878 enableval=$enable_stopwatch;
7879 if test "$enableval" = yes; then
7880 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7882 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7887 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7892 eval "$wx_cv_use_stopwatch"
7894 if test x"$enablestring" = xdisable; then
7895 if test $wxUSE_STOPWATCH = no; then
7901 result=$wxUSE_STOPWATCH
7904 { echo "$as_me:$LINENO: result: $result" >&5
7905 echo "${ECHO_T}$result" >&6; }
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7920 # Check whether --enable-streams was given.
7921 if test "${enable_streams+set}" = set; then
7922 enableval=$enable_streams;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_streams='wxUSE_STREAMS=yes'
7926 wx_cv_use_streams='wxUSE_STREAMS=no'
7931 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7936 eval "$wx_cv_use_streams"
7938 if test x"$enablestring" = xdisable; then
7939 if test $wxUSE_STREAMS = no; then
7945 result=$wxUSE_STREAMS
7948 { echo "$as_me:$LINENO: result: $result" >&5
7949 echo "${ECHO_T}$result" >&6; }
7953 defaultval=$wxUSE_ALL_FEATURES
7954 if test -z "$defaultval"; then
7955 if test x"$enablestring" = xdisable; then
7962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7964 # Check whether --enable-sysoptions was given.
7965 if test "${enable_sysoptions+set}" = set; then
7966 enableval=$enable_sysoptions;
7967 if test "$enableval" = yes; then
7968 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7970 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7975 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7980 eval "$wx_cv_use_sysoptions"
7982 if test x"$enablestring" = xdisable; then
7983 if test $wxUSE_SYSTEM_OPTIONS = no; then
7989 result=$wxUSE_SYSTEM_OPTIONS
7992 { echo "$as_me:$LINENO: result: $result" >&5
7993 echo "${ECHO_T}$result" >&6; }
7997 defaultval=$wxUSE_ALL_FEATURES
7998 if test -z "$defaultval"; then
7999 if test x"$enablestring" = xdisable; then
8006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8008 # Check whether --enable-tarstream was given.
8009 if test "${enable_tarstream+set}" = set; then
8010 enableval=$enable_tarstream;
8011 if test "$enableval" = yes; then
8012 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8014 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8019 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8024 eval "$wx_cv_use_tarstream"
8026 if test x"$enablestring" = xdisable; then
8027 if test $wxUSE_TARSTREAM = no; then
8033 result=$wxUSE_TARSTREAM
8036 { echo "$as_me:$LINENO: result: $result" >&5
8037 echo "${ECHO_T}$result" >&6; }
8041 defaultval=$wxUSE_ALL_FEATURES
8042 if test -z "$defaultval"; then
8043 if test x"$enablestring" = xdisable; then
8050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8051 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8052 # Check whether --enable-textbuf was given.
8053 if test "${enable_textbuf+set}" = set; then
8054 enableval=$enable_textbuf;
8055 if test "$enableval" = yes; then
8056 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8058 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8063 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8068 eval "$wx_cv_use_textbuf"
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_TEXTBUFFER = no; then
8077 result=$wxUSE_TEXTBUFFER
8080 { echo "$as_me:$LINENO: result: $result" >&5
8081 echo "${ECHO_T}$result" >&6; }
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8096 # Check whether --enable-textfile was given.
8097 if test "${enable_textfile+set}" = set; then
8098 enableval=$enable_textfile;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8102 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8107 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8112 eval "$wx_cv_use_textfile"
8114 if test x"$enablestring" = xdisable; then
8115 if test $wxUSE_TEXTFILE = no; then
8121 result=$wxUSE_TEXTFILE
8124 { echo "$as_me:$LINENO: result: $result" >&5
8125 echo "${ECHO_T}$result" >&6; }
8129 defaultval=$wxUSE_ALL_FEATURES
8130 if test -z "$defaultval"; then
8131 if test x"$enablestring" = xdisable; then
8138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8139 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8140 # Check whether --enable-timer was given.
8141 if test "${enable_timer+set}" = set; then
8142 enableval=$enable_timer;
8143 if test "$enableval" = yes; then
8144 wx_cv_use_timer='wxUSE_TIMER=yes'
8146 wx_cv_use_timer='wxUSE_TIMER=no'
8151 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8156 eval "$wx_cv_use_timer"
8158 if test x"$enablestring" = xdisable; then
8159 if test $wxUSE_TIMER = no; then
8168 { echo "$as_me:$LINENO: result: $result" >&5
8169 echo "${ECHO_T}$result" >&6; }
8173 defaultval=$wxUSE_ALL_FEATURES
8174 if test -z "$defaultval"; then
8175 if test x"$enablestring" = xdisable; then
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8184 # Check whether --enable-variant was given.
8185 if test "${enable_variant+set}" = set; then
8186 enableval=$enable_variant;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_variant='wxUSE_VARIANT=yes'
8190 wx_cv_use_variant='wxUSE_VARIANT=no'
8195 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8200 eval "$wx_cv_use_variant"
8202 if test x"$enablestring" = xdisable; then
8203 if test $wxUSE_VARIANT = no; then
8209 result=$wxUSE_VARIANT
8212 { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8217 defaultval=$wxUSE_ALL_FEATURES
8218 if test -z "$defaultval"; then
8219 if test x"$enablestring" = xdisable; then
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8228 # Check whether --enable-zipstream was given.
8229 if test "${enable_zipstream+set}" = set; then
8230 enableval=$enable_zipstream;
8231 if test "$enableval" = yes; then
8232 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8234 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8239 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8244 eval "$wx_cv_use_zipstream"
8246 if test x"$enablestring" = xdisable; then
8247 if test $wxUSE_ZIPSTREAM = no; then
8253 result=$wxUSE_ZIPSTREAM
8256 { echo "$as_me:$LINENO: result: $result" >&5
8257 echo "${ECHO_T}$result" >&6; }
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8273 # Check whether --enable-url was given.
8274 if test "${enable_url+set}" = set; then
8275 enableval=$enable_url;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_url='wxUSE_URL=yes'
8279 wx_cv_use_url='wxUSE_URL=no'
8284 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8289 eval "$wx_cv_use_url"
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_URL = no; then
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8306 defaultval=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x"$enablestring" = xdisable; then
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8317 # Check whether --enable-protocol was given.
8318 if test "${enable_protocol+set}" = set; then
8319 enableval=$enable_protocol;
8320 if test "$enableval" = yes; then
8321 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8323 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8328 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8333 eval "$wx_cv_use_protocol"
8335 if test x"$enablestring" = xdisable; then
8336 if test $wxUSE_PROTOCOL = no; then
8342 result=$wxUSE_PROTOCOL
8345 { echo "$as_me:$LINENO: result: $result" >&5
8346 echo "${ECHO_T}$result" >&6; }
8350 defaultval=$wxUSE_ALL_FEATURES
8351 if test -z "$defaultval"; then
8352 if test x"$enablestring" = xdisable; then
8359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8361 # Check whether --enable-protocol_http was given.
8362 if test "${enable_protocol_http+set}" = set; then
8363 enableval=$enable_protocol_http;
8364 if test "$enableval" = yes; then
8365 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8367 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8372 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8377 eval "$wx_cv_use_protocol_http"
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_PROTOCOL_HTTP = no; then
8386 result=$wxUSE_PROTOCOL_HTTP
8389 { echo "$as_me:$LINENO: result: $result" >&5
8390 echo "${ECHO_T}$result" >&6; }
8394 defaultval=$wxUSE_ALL_FEATURES
8395 if test -z "$defaultval"; then
8396 if test x"$enablestring" = xdisable; then
8403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8405 # Check whether --enable-protocol_ftp was given.
8406 if test "${enable_protocol_ftp+set}" = set; then
8407 enableval=$enable_protocol_ftp;
8408 if test "$enableval" = yes; then
8409 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8411 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8416 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8421 eval "$wx_cv_use_protocol_ftp"
8423 if test x"$enablestring" = xdisable; then
8424 if test $wxUSE_PROTOCOL_FTP = no; then
8430 result=$wxUSE_PROTOCOL_FTP
8433 { echo "$as_me:$LINENO: result: $result" >&5
8434 echo "${ECHO_T}$result" >&6; }
8438 defaultval=$wxUSE_ALL_FEATURES
8439 if test -z "$defaultval"; then
8440 if test x"$enablestring" = xdisable; then
8447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8448 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8449 # Check whether --enable-protocol_file was given.
8450 if test "${enable_protocol_file+set}" = set; then
8451 enableval=$enable_protocol_file;
8452 if test "$enableval" = yes; then
8453 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8455 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8460 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8465 eval "$wx_cv_use_protocol_file"
8467 if test x"$enablestring" = xdisable; then
8468 if test $wxUSE_PROTOCOL_FILE = no; then
8474 result=$wxUSE_PROTOCOL_FILE
8477 { echo "$as_me:$LINENO: result: $result" >&5
8478 echo "${ECHO_T}$result" >&6; }
8483 defaultval=$wxUSE_ALL_FEATURES
8484 if test -z "$defaultval"; then
8485 if test x"$enablestring" = xdisable; then
8492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8493 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8494 # Check whether --enable-threads was given.
8495 if test "${enable_threads+set}" = set; then
8496 enableval=$enable_threads;
8497 if test "$enableval" = yes; then
8498 wx_cv_use_threads='wxUSE_THREADS=yes'
8500 wx_cv_use_threads='wxUSE_THREADS=no'
8505 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8510 eval "$wx_cv_use_threads"
8512 if test x"$enablestring" = xdisable; then
8513 if test $wxUSE_THREADS = no; then
8519 result=$wxUSE_THREADS
8522 { echo "$as_me:$LINENO: result: $result" >&5
8523 echo "${ECHO_T}$result" >&6; }
8529 if test -z "$defaultval"; then
8530 if test x"$enablestring" = xdisable; then
8537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8539 # Check whether --enable-iniconf was given.
8540 if test "${enable_iniconf+set}" = set; then
8541 enableval=$enable_iniconf;
8542 if test "$enableval" = yes; then
8543 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8545 wx_cv_use_iniconf='wxUSE_INICONF=no'
8550 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8555 eval "$wx_cv_use_iniconf"
8557 if test x"$enablestring" = xdisable; then
8558 if test $wxUSE_INICONF = no; then
8564 result=$wxUSE_INICONF
8567 { echo "$as_me:$LINENO: result: $result" >&5
8568 echo "${ECHO_T}$result" >&6; }
8572 defaultval=$wxUSE_ALL_FEATURES
8573 if test -z "$defaultval"; then
8574 if test x"$enablestring" = xdisable; then
8581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8583 # Check whether --enable-regkey was given.
8584 if test "${enable_regkey+set}" = set; then
8585 enableval=$enable_regkey;
8586 if test "$enableval" = yes; then
8587 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8589 wx_cv_use_regkey='wxUSE_REGKEY=no'
8594 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8599 eval "$wx_cv_use_regkey"
8601 if test x"$enablestring" = xdisable; then
8602 if test $wxUSE_REGKEY = no; then
8608 result=$wxUSE_REGKEY
8611 { echo "$as_me:$LINENO: result: $result" >&5
8612 echo "${ECHO_T}$result" >&6; }
8615 if test "$wxUSE_GUI" = "yes"; then
8620 defaultval=$wxUSE_ALL_FEATURES
8621 if test -z "$defaultval"; then
8622 if test x"$enablestring" = xdisable; then
8629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8631 # Check whether --enable-docview was given.
8632 if test "${enable_docview+set}" = set; then
8633 enableval=$enable_docview;
8634 if test "$enableval" = yes; then
8635 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8637 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8642 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8647 eval "$wx_cv_use_docview"
8649 if test x"$enablestring" = xdisable; then
8650 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8656 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8659 { echo "$as_me:$LINENO: result: $result" >&5
8660 echo "${ECHO_T}$result" >&6; }
8664 defaultval=$wxUSE_ALL_FEATURES
8665 if test -z "$defaultval"; then
8666 if test x"$enablestring" = xdisable; then
8673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8675 # Check whether --enable-help was given.
8676 if test "${enable_help+set}" = set; then
8677 enableval=$enable_help;
8678 if test "$enableval" = yes; then
8679 wx_cv_use_help='wxUSE_HELP=yes'
8681 wx_cv_use_help='wxUSE_HELP=no'
8686 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8691 eval "$wx_cv_use_help"
8693 if test x"$enablestring" = xdisable; then
8694 if test $wxUSE_HELP = no; then
8703 { echo "$as_me:$LINENO: result: $result" >&5
8704 echo "${ECHO_T}$result" >&6; }
8708 defaultval=$wxUSE_ALL_FEATURES
8709 if test -z "$defaultval"; then
8710 if test x"$enablestring" = xdisable; then
8717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8719 # Check whether --enable-mshtmlhelp was given.
8720 if test "${enable_mshtmlhelp+set}" = set; then
8721 enableval=$enable_mshtmlhelp;
8722 if test "$enableval" = yes; then
8723 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8725 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8730 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8735 eval "$wx_cv_use_mshtmlhelp"
8737 if test x"$enablestring" = xdisable; then
8738 if test $wxUSE_MS_HTML_HELP = no; then
8744 result=$wxUSE_MS_HTML_HELP
8747 { echo "$as_me:$LINENO: result: $result" >&5
8748 echo "${ECHO_T}$result" >&6; }
8752 defaultval=$wxUSE_ALL_FEATURES
8753 if test -z "$defaultval"; then
8754 if test x"$enablestring" = xdisable; then
8761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8763 # Check whether --enable-html was given.
8764 if test "${enable_html+set}" = set; then
8765 enableval=$enable_html;
8766 if test "$enableval" = yes; then
8767 wx_cv_use_html='wxUSE_HTML=yes'
8769 wx_cv_use_html='wxUSE_HTML=no'
8774 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8779 eval "$wx_cv_use_html"
8781 if test x"$enablestring" = xdisable; then
8782 if test $wxUSE_HTML = no; then
8791 { echo "$as_me:$LINENO: result: $result" >&5
8792 echo "${ECHO_T}$result" >&6; }
8796 defaultval=$wxUSE_ALL_FEATURES
8797 if test -z "$defaultval"; then
8798 if test x"$enablestring" = xdisable; then
8805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8806 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8807 # Check whether --enable-htmlhelp was given.
8808 if test "${enable_htmlhelp+set}" = set; then
8809 enableval=$enable_htmlhelp;
8810 if test "$enableval" = yes; then
8811 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8813 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8818 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8823 eval "$wx_cv_use_htmlhelp"
8825 if test x"$enablestring" = xdisable; then
8826 if test $wxUSE_WXHTML_HELP = no; then
8832 result=$wxUSE_WXHTML_HELP
8835 { echo "$as_me:$LINENO: result: $result" >&5
8836 echo "${ECHO_T}$result" >&6; }
8840 defaultval=$wxUSE_ALL_FEATURES
8841 if test -z "$defaultval"; then
8842 if test x"$enablestring" = xdisable; then
8849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8851 # Check whether --enable-xrc was given.
8852 if test "${enable_xrc+set}" = set; then
8853 enableval=$enable_xrc;
8854 if test "$enableval" = yes; then
8855 wx_cv_use_xrc='wxUSE_XRC=yes'
8857 wx_cv_use_xrc='wxUSE_XRC=no'
8862 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8867 eval "$wx_cv_use_xrc"
8869 if test x"$enablestring" = xdisable; then
8870 if test $wxUSE_XRC = no; then
8879 { echo "$as_me:$LINENO: result: $result" >&5
8880 echo "${ECHO_T}$result" >&6; }
8884 defaultval=$wxUSE_ALL_FEATURES
8885 if test -z "$defaultval"; then
8886 if test x"$enablestring" = xdisable; then
8893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8895 # Check whether --enable-aui was given.
8896 if test "${enable_aui+set}" = set; then
8897 enableval=$enable_aui;
8898 if test "$enableval" = yes; then
8899 wx_cv_use_aui='wxUSE_AUI=yes'
8901 wx_cv_use_aui='wxUSE_AUI=no'
8906 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8911 eval "$wx_cv_use_aui"
8913 if test x"$enablestring" = xdisable; then
8914 if test $wxUSE_AUI = no; then
8923 { echo "$as_me:$LINENO: result: $result" >&5
8924 echo "${ECHO_T}$result" >&6; }
8928 defaultval=$wxUSE_ALL_FEATURES
8929 if test -z "$defaultval"; then
8930 if test x"$enablestring" = xdisable; then
8937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8939 # Check whether --enable-propgrid was given.
8940 if test "${enable_propgrid+set}" = set; then
8941 enableval=$enable_propgrid;
8942 if test "$enableval" = yes; then
8943 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8945 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8950 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8955 eval "$wx_cv_use_propgrid"
8957 if test x"$enablestring" = xdisable; then
8958 if test $wxUSE_PROPGRID = no; then
8964 result=$wxUSE_PROPGRID
8967 { echo "$as_me:$LINENO: result: $result" >&5
8968 echo "${ECHO_T}$result" >&6; }
8972 defaultval=$wxUSE_ALL_FEATURES
8973 if test -z "$defaultval"; then
8974 if test x"$enablestring" = xdisable; then
8981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8983 # Check whether --enable-ribbon was given.
8984 if test "${enable_ribbon+set}" = set; then
8985 enableval=$enable_ribbon;
8986 if test "$enableval" = yes; then
8987 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8989 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8994 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8999 eval "$wx_cv_use_ribbon"
9001 if test x"$enablestring" = xdisable; then
9002 if test $wxUSE_RIBBON = no; then
9008 result=$wxUSE_RIBBON
9011 { echo "$as_me:$LINENO: result: $result" >&5
9012 echo "${ECHO_T}$result" >&6; }
9016 defaultval=$wxUSE_ALL_FEATURES
9017 if test -z "$defaultval"; then
9018 if test x"$enablestring" = xdisable; then
9025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9027 # Check whether --enable-stc was given.
9028 if test "${enable_stc+set}" = set; then
9029 enableval=$enable_stc;
9030 if test "$enableval" = yes; then
9031 wx_cv_use_stc='wxUSE_STC=yes'
9033 wx_cv_use_stc='wxUSE_STC=no'
9038 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9043 eval "$wx_cv_use_stc"
9045 if test x"$enablestring" = xdisable; then
9046 if test $wxUSE_STC = no; then
9055 { echo "$as_me:$LINENO: result: $result" >&5
9056 echo "${ECHO_T}$result" >&6; }
9060 defaultval=$wxUSE_ALL_FEATURES
9061 if test -z "$defaultval"; then
9062 if test x"$enablestring" = xdisable; then
9069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9071 # Check whether --enable-constraints was given.
9072 if test "${enable_constraints+set}" = set; then
9073 enableval=$enable_constraints;
9074 if test "$enableval" = yes; then
9075 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9077 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9082 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9087 eval "$wx_cv_use_constraints"
9089 if test x"$enablestring" = xdisable; then
9090 if test $wxUSE_CONSTRAINTS = no; then
9096 result=$wxUSE_CONSTRAINTS
9099 { echo "$as_me:$LINENO: result: $result" >&5
9100 echo "${ECHO_T}$result" >&6; }
9104 defaultval=$wxUSE_ALL_FEATURES
9105 if test -z "$defaultval"; then
9106 if test x"$enablestring" = xdisable; then
9113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9115 # Check whether --enable-loggui was given.
9116 if test "${enable_loggui+set}" = set; then
9117 enableval=$enable_loggui;
9118 if test "$enableval" = yes; then
9119 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9121 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9126 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9131 eval "$wx_cv_use_loggui"
9133 if test x"$enablestring" = xdisable; then
9134 if test $wxUSE_LOGGUI = no; then
9140 result=$wxUSE_LOGGUI
9143 { echo "$as_me:$LINENO: result: $result" >&5
9144 echo "${ECHO_T}$result" >&6; }
9148 defaultval=$wxUSE_ALL_FEATURES
9149 if test -z "$defaultval"; then
9150 if test x"$enablestring" = xdisable; then
9157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9159 # Check whether --enable-logwin was given.
9160 if test "${enable_logwin+set}" = set; then
9161 enableval=$enable_logwin;
9162 if test "$enableval" = yes; then
9163 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9165 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9170 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9175 eval "$wx_cv_use_logwin"
9177 if test x"$enablestring" = xdisable; then
9178 if test $wxUSE_LOGWINDOW = no; then
9184 result=$wxUSE_LOGWINDOW
9187 { echo "$as_me:$LINENO: result: $result" >&5
9188 echo "${ECHO_T}$result" >&6; }
9192 defaultval=$wxUSE_ALL_FEATURES
9193 if test -z "$defaultval"; then
9194 if test x"$enablestring" = xdisable; then
9201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9202 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9203 # Check whether --enable-logdialog was given.
9204 if test "${enable_logdialog+set}" = set; then
9205 enableval=$enable_logdialog;
9206 if test "$enableval" = yes; then
9207 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9209 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9214 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9219 eval "$wx_cv_use_logdialog"
9221 if test x"$enablestring" = xdisable; then
9222 if test $wxUSE_LOGDIALOG = no; then
9228 result=$wxUSE_LOGDIALOG
9231 { echo "$as_me:$LINENO: result: $result" >&5
9232 echo "${ECHO_T}$result" >&6; }
9236 defaultval=$wxUSE_ALL_FEATURES
9237 if test -z "$defaultval"; then
9238 if test x"$enablestring" = xdisable; then
9245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9247 # Check whether --enable-mdi was given.
9248 if test "${enable_mdi+set}" = set; then
9249 enableval=$enable_mdi;
9250 if test "$enableval" = yes; then
9251 wx_cv_use_mdi='wxUSE_MDI=yes'
9253 wx_cv_use_mdi='wxUSE_MDI=no'
9258 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9263 eval "$wx_cv_use_mdi"
9265 if test x"$enablestring" = xdisable; then
9266 if test $wxUSE_MDI = no; then
9275 { echo "$as_me:$LINENO: result: $result" >&5
9276 echo "${ECHO_T}$result" >&6; }
9280 defaultval=$wxUSE_ALL_FEATURES
9281 if test -z "$defaultval"; then
9282 if test x"$enablestring" = xdisable; then
9289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9290 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9291 # Check whether --enable-mdidoc was given.
9292 if test "${enable_mdidoc+set}" = set; then
9293 enableval=$enable_mdidoc;
9294 if test "$enableval" = yes; then
9295 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9297 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9302 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9307 eval "$wx_cv_use_mdidoc"
9309 if test x"$enablestring" = xdisable; then
9310 if test $wxUSE_MDI_ARCHITECTURE = no; then
9316 result=$wxUSE_MDI_ARCHITECTURE
9319 { echo "$as_me:$LINENO: result: $result" >&5
9320 echo "${ECHO_T}$result" >&6; }
9324 defaultval=$wxUSE_ALL_FEATURES
9325 if test -z "$defaultval"; then
9326 if test x"$enablestring" = xdisable; then
9333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9334 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9335 # Check whether --enable-mediactrl was given.
9336 if test "${enable_mediactrl+set}" = set; then
9337 enableval=$enable_mediactrl;
9338 if test "$enableval" = yes; then
9339 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9341 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9346 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9351 eval "$wx_cv_use_mediactrl"
9353 if test x"$enablestring" = xdisable; then
9354 if test $wxUSE_MEDIACTRL = no; then
9360 result=$wxUSE_MEDIACTRL
9363 { echo "$as_me:$LINENO: result: $result" >&5
9364 echo "${ECHO_T}$result" >&6; }
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9379 # Check whether --enable-gstreamer8 was given.
9380 if test "${enable_gstreamer8+set}" = set; then
9381 enableval=$enable_gstreamer8;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9385 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9390 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9395 eval "$wx_cv_use_gstreamer8"
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_GSTREAMER8 = no; then
9404 result=$wxUSE_GSTREAMER8
9407 { echo "$as_me:$LINENO: result: $result" >&5
9408 echo "${ECHO_T}$result" >&6; }
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9423 # Check whether --enable-webkit was given.
9424 if test "${enable_webkit+set}" = set; then
9425 enableval=$enable_webkit;
9426 if test "$enableval" = yes; then
9427 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9429 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9434 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9439 eval "$wx_cv_use_webkit"
9441 if test x"$enablestring" = xdisable; then
9442 if test $wxUSE_WEBKIT = no; then
9448 result=$wxUSE_WEBKIT
9451 { echo "$as_me:$LINENO: result: $result" >&5
9452 echo "${ECHO_T}$result" >&6; }
9456 defaultval=$wxUSE_ALL_FEATURES
9457 if test -z "$defaultval"; then
9458 if test x"$enablestring" = xdisable; then
9465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9467 # Check whether --enable-richtext was given.
9468 if test "${enable_richtext+set}" = set; then
9469 enableval=$enable_richtext;
9470 if test "$enableval" = yes; then
9471 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9473 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9478 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9483 eval "$wx_cv_use_richtext"
9485 if test x"$enablestring" = xdisable; then
9486 if test $wxUSE_RICHTEXT = no; then
9492 result=$wxUSE_RICHTEXT
9495 { echo "$as_me:$LINENO: result: $result" >&5
9496 echo "${ECHO_T}$result" >&6; }
9500 defaultval=$wxUSE_ALL_FEATURES
9501 if test -z "$defaultval"; then
9502 if test x"$enablestring" = xdisable; then
9509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9511 # Check whether --enable-postscript was given.
9512 if test "${enable_postscript+set}" = set; then
9513 enableval=$enable_postscript;
9514 if test "$enableval" = yes; then
9515 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9517 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9522 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9527 eval "$wx_cv_use_postscript"
9529 if test x"$enablestring" = xdisable; then
9530 if test $wxUSE_POSTSCRIPT = no; then
9536 result=$wxUSE_POSTSCRIPT
9539 { echo "$as_me:$LINENO: result: $result" >&5
9540 echo "${ECHO_T}$result" >&6; }
9544 defaultval=$wxUSE_ALL_FEATURES
9545 if test -z "$defaultval"; then
9546 if test x"$enablestring" = xdisable; then
9553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9554 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9555 # Check whether --enable-printarch was given.
9556 if test "${enable_printarch+set}" = set; then
9557 enableval=$enable_printarch;
9558 if test "$enableval" = yes; then
9559 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9561 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9566 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9571 eval "$wx_cv_use_printarch"
9573 if test x"$enablestring" = xdisable; then
9574 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9580 result=$wxUSE_PRINTING_ARCHITECTURE
9583 { echo "$as_me:$LINENO: result: $result" >&5
9584 echo "${ECHO_T}$result" >&6; }
9588 defaultval=$wxUSE_ALL_FEATURES
9589 if test -z "$defaultval"; then
9590 if test x"$enablestring" = xdisable; then
9597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9599 # Check whether --enable-svg was given.
9600 if test "${enable_svg+set}" = set; then
9601 enableval=$enable_svg;
9602 if test "$enableval" = yes; then
9603 wx_cv_use_svg='wxUSE_SVG=yes'
9605 wx_cv_use_svg='wxUSE_SVG=no'
9610 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9615 eval "$wx_cv_use_svg"
9617 if test x"$enablestring" = xdisable; then
9618 if test $wxUSE_SVG = no; then
9627 { echo "$as_me:$LINENO: result: $result" >&5
9628 echo "${ECHO_T}$result" >&6; }
9632 defaultval=$wxUSE_ALL_FEATURES
9633 if test -z "$defaultval"; then
9634 if test x"$enablestring" = xdisable; then
9641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-web" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-web... $ECHO_C" >&6; }
9643 # Check whether --enable-web was given.
9644 if test "${enable_web+set}" = set; then
9645 enableval=$enable_web;
9646 if test "$enableval" = yes; then
9647 wx_cv_use_web='wxUSE_WEB=yes'
9649 wx_cv_use_web='wxUSE_WEB=no'
9654 wx_cv_use_web='wxUSE_WEB=${'DEFAULT_wxUSE_WEB":-$defaultval}"
9659 eval "$wx_cv_use_web"
9661 if test x"$enablestring" = xdisable; then
9662 if test $wxUSE_WEB = no; then
9671 { echo "$as_me:$LINENO: result: $result" >&5
9672 echo "${ECHO_T}$result" >&6; }
9675 if test "$wxUSE_MAC" != 1; then
9678 defaultval=$wxUSE_ALL_FEATURES
9679 if test -z "$defaultval"; then
9680 if test x"$enablestring" = xdisable; then
9687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9688 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9689 # Check whether --enable-graphics_ctx was given.
9690 if test "${enable_graphics_ctx+set}" = set; then
9691 enableval=$enable_graphics_ctx;
9692 if test "$enableval" = yes; then
9693 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9695 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9700 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9705 eval "$wx_cv_use_graphics_ctx"
9707 if test x"$enablestring" = xdisable; then
9708 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9714 result=$wxUSE_GRAPHICS_CONTEXT
9717 { echo "$as_me:$LINENO: result: $result" >&5
9718 echo "${ECHO_T}$result" >&6; }
9725 defaultval=$wxUSE_ALL_FEATURES
9726 if test -z "$defaultval"; then
9727 if test x"$enablestring" = xdisable; then
9734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9735 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9736 # Check whether --enable-clipboard was given.
9737 if test "${enable_clipboard+set}" = set; then
9738 enableval=$enable_clipboard;
9739 if test "$enableval" = yes; then
9740 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9742 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9747 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9752 eval "$wx_cv_use_clipboard"
9754 if test x"$enablestring" = xdisable; then
9755 if test $wxUSE_CLIPBOARD = no; then
9761 result=$wxUSE_CLIPBOARD
9764 { echo "$as_me:$LINENO: result: $result" >&5
9765 echo "${ECHO_T}$result" >&6; }
9769 defaultval=$wxUSE_ALL_FEATURES
9770 if test -z "$defaultval"; then
9771 if test x"$enablestring" = xdisable; then
9778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9780 # Check whether --enable-dnd was given.
9781 if test "${enable_dnd+set}" = set; then
9782 enableval=$enable_dnd;
9783 if test "$enableval" = yes; then
9784 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9786 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9791 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9796 eval "$wx_cv_use_dnd"
9798 if test x"$enablestring" = xdisable; then
9799 if test $wxUSE_DRAG_AND_DROP = no; then
9805 result=$wxUSE_DRAG_AND_DROP
9808 { echo "$as_me:$LINENO: result: $result" >&5
9809 echo "${ECHO_T}$result" >&6; }
9813 defaultval=$wxUSE_ALL_FEATURES
9814 if test -z "$defaultval"; then
9815 if test x"$enablestring" = xdisable; then
9822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9823 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9824 # Check whether --enable-metafile was given.
9825 if test "${enable_metafile+set}" = set; then
9826 enableval=$enable_metafile;
9827 if test "$enableval" = yes; then
9828 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9830 wx_cv_use_metafile='wxUSE_METAFILE=no'
9835 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9840 eval "$wx_cv_use_metafile"
9842 if test x"$enablestring" = xdisable; then
9843 if test $wxUSE_METAFILE = no; then
9849 result=$wxUSE_METAFILE
9852 { echo "$as_me:$LINENO: result: $result" >&5
9853 echo "${ECHO_T}$result" >&6; }
9857 DEFAULT_wxUSE_CONTROLS=none
9859 enablestring=disable
9861 if test -z "$defaultval"; then
9862 if test x"$enablestring" = xdisable; then
9869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9870 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9871 # Check whether --enable-controls was given.
9872 if test "${enable_controls+set}" = set; then
9873 enableval=$enable_controls;
9874 if test "$enableval" = yes; then
9875 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9877 wx_cv_use_controls='wxUSE_CONTROLS=no'
9882 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9887 eval "$wx_cv_use_controls"
9889 if test x"$enablestring" = xdisable; then
9890 if test $wxUSE_CONTROLS = no; then
9896 result=$wxUSE_CONTROLS
9899 { echo "$as_me:$LINENO: result: $result" >&5
9900 echo "${ECHO_T}$result" >&6; }
9903 if test "$wxUSE_CONTROLS" = "no"; then
9904 DEFAULT_wxUSE_ACCEL=no
9905 DEFAULT_wxUSE_ANIMATIONCTRL=no
9906 DEFAULT_wxUSE_BMPBUTTON=no
9907 DEFAULT_wxUSE_BUTTON=no
9908 DEFAULT_wxUSE_CALCTRL=no
9909 DEFAULT_wxUSE_CARET=no
9910 DEFAULT_wxUSE_CHECKBOX=no
9911 DEFAULT_wxUSE_CHECKLISTBOX=no
9912 DEFAULT_wxUSE_CHOICE=no
9913 DEFAULT_wxUSE_CHOICEBOOK=no
9914 DEFAULT_wxUSE_COLLPANE=no
9915 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9916 DEFAULT_wxUSE_COMBOBOX=no
9917 DEFAULT_wxUSE_COMBOBOX=no
9918 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9919 DEFAULT_wxUSE_DATAVIEWCTRL=no
9920 DEFAULT_wxUSE_DATEPICKCTRL=no
9921 DEFAULT_wxUSE_DETECT_SM=no
9922 DEFAULT_wxUSE_DIRPICKERCTRL=no
9923 DEFAULT_wxUSE_DISPLAY=no
9924 DEFAULT_wxUSE_FILECTRL=no
9925 DEFAULT_wxUSE_FILEPICKERCTRL=no
9926 DEFAULT_wxUSE_FONTPICKERCTRL=no
9927 DEFAULT_wxUSE_GAUGE=no
9928 DEFAULT_wxUSE_GRID=no
9929 DEFAULT_wxUSE_HEADERCTRL=no
9930 DEFAULT_wxUSE_HYPERLINKCTRL=no
9931 DEFAULT_wxUSE_IMAGLIST=no
9932 DEFAULT_wxUSE_LISTBOOK=no
9933 DEFAULT_wxUSE_LISTBOX=no
9934 DEFAULT_wxUSE_LISTCTRL=no
9935 DEFAULT_wxUSE_MARKUP=no
9936 DEFAULT_wxUSE_NOTEBOOK=no
9937 DEFAULT_wxUSE_POPUPWIN=no
9938 DEFAULT_wxUSE_RADIOBOX=no
9939 DEFAULT_wxUSE_RADIOBTN=no
9940 DEFAULT_wxUSE_RICHMSGDLG=no
9941 DEFAULT_wxUSE_REARRANGECTRL=no
9942 DEFAULT_wxUSE_SASH=no
9943 DEFAULT_wxUSE_SCROLLBAR=no
9944 DEFAULT_wxUSE_SEARCHCTRL=no
9945 DEFAULT_wxUSE_SLIDER=no
9946 DEFAULT_wxUSE_SPINBTN=no
9947 DEFAULT_wxUSE_SPINCTRL=no
9948 DEFAULT_wxUSE_SPLITTER=no
9949 DEFAULT_wxUSE_STATBMP=no
9950 DEFAULT_wxUSE_STATBOX=no
9951 DEFAULT_wxUSE_STATLINE=no
9952 DEFAULT_wxUSE_STATUSBAR=no
9953 DEFAULT_wxUSE_TIPWINDOW=no
9954 DEFAULT_wxUSE_TOGGLEBTN=no
9955 DEFAULT_wxUSE_TOOLBAR=no
9956 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9957 DEFAULT_wxUSE_TOOLBOOK=no
9958 DEFAULT_wxUSE_TOOLTIPS=no
9959 DEFAULT_wxUSE_TREEBOOK=no
9960 DEFAULT_wxUSE_TREECTRL=no
9965 defaultval=$wxUSE_ALL_FEATURES
9966 if test -z "$defaultval"; then
9967 if test x"$enablestring" = xdisable; then
9974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9975 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9976 # Check whether --enable-markup was given.
9977 if test "${enable_markup+set}" = set; then
9978 enableval=$enable_markup;
9979 if test "$enableval" = yes; then
9980 wx_cv_use_markup='wxUSE_MARKUP=yes'
9982 wx_cv_use_markup='wxUSE_MARKUP=no'
9987 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9992 eval "$wx_cv_use_markup"
9994 if test x"$enablestring" = xdisable; then
9995 if test $wxUSE_MARKUP = no; then
10001 result=$wxUSE_MARKUP
10004 { echo "$as_me:$LINENO: result: $result" >&5
10005 echo "${ECHO_T}$result" >&6; }
10010 defaultval=$wxUSE_ALL_FEATURES
10011 if test -z "$defaultval"; then
10012 if test x"$enablestring" = xdisable; then
10019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10021 # Check whether --enable-accel was given.
10022 if test "${enable_accel+set}" = set; then
10023 enableval=$enable_accel;
10024 if test "$enableval" = yes; then
10025 wx_cv_use_accel='wxUSE_ACCEL=yes'
10027 wx_cv_use_accel='wxUSE_ACCEL=no'
10032 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10037 eval "$wx_cv_use_accel"
10039 if test x"$enablestring" = xdisable; then
10040 if test $wxUSE_ACCEL = no; then
10046 result=$wxUSE_ACCEL
10049 { echo "$as_me:$LINENO: result: $result" >&5
10050 echo "${ECHO_T}$result" >&6; }
10054 defaultval=$wxUSE_ALL_FEATURES
10055 if test -z "$defaultval"; then
10056 if test x"$enablestring" = xdisable; then
10063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10065 # Check whether --enable-animatectrl was given.
10066 if test "${enable_animatectrl+set}" = set; then
10067 enableval=$enable_animatectrl;
10068 if test "$enableval" = yes; then
10069 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10071 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10076 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10081 eval "$wx_cv_use_animatectrl"
10083 if test x"$enablestring" = xdisable; then
10084 if test $wxUSE_ANIMATIONCTRL = no; then
10090 result=$wxUSE_ANIMATIONCTRL
10093 { echo "$as_me:$LINENO: result: $result" >&5
10094 echo "${ECHO_T}$result" >&6; }
10098 defaultval=$wxUSE_ALL_FEATURES
10099 if test -z "$defaultval"; then
10100 if test x"$enablestring" = xdisable; then
10107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10109 # Check whether --enable-artstd was given.
10110 if test "${enable_artstd+set}" = set; then
10111 enableval=$enable_artstd;
10112 if test "$enableval" = yes; then
10113 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10115 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10120 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10125 eval "$wx_cv_use_artstd"
10127 if test x"$enablestring" = xdisable; then
10128 if test $wxUSE_ARTPROVIDER_STD = no; then
10134 result=$wxUSE_ARTPROVIDER_STD
10137 { echo "$as_me:$LINENO: result: $result" >&5
10138 echo "${ECHO_T}$result" >&6; }
10142 defaultval=$wxUSE_ALL_FEATURES
10143 if test -z "$defaultval"; then
10144 if test x"$enablestring" = xdisable; then
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10153 # Check whether --enable-arttango was given.
10154 if test "${enable_arttango+set}" = set; then
10155 enableval=$enable_arttango;
10156 if test "$enableval" = yes; then
10157 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10159 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10164 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10169 eval "$wx_cv_use_arttango"
10171 if test x"$enablestring" = xdisable; then
10172 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10178 result=$wxUSE_ARTPROVIDER_TANGO
10181 { echo "$as_me:$LINENO: result: $result" >&5
10182 echo "${ECHO_T}$result" >&6; }
10186 defaultval=$wxUSE_ALL_FEATURES
10187 if test -z "$defaultval"; then
10188 if test x"$enablestring" = xdisable; then
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10197 # Check whether --enable-bmpbutton was given.
10198 if test "${enable_bmpbutton+set}" = set; then
10199 enableval=$enable_bmpbutton;
10200 if test "$enableval" = yes; then
10201 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10203 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10208 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10213 eval "$wx_cv_use_bmpbutton"
10215 if test x"$enablestring" = xdisable; then
10216 if test $wxUSE_BMPBUTTON = no; then
10222 result=$wxUSE_BMPBUTTON
10225 { echo "$as_me:$LINENO: result: $result" >&5
10226 echo "${ECHO_T}$result" >&6; }
10230 defaultval=$wxUSE_ALL_FEATURES
10231 if test -z "$defaultval"; then
10232 if test x"$enablestring" = xdisable; then
10239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10241 # Check whether --enable-bmpcombobox was given.
10242 if test "${enable_bmpcombobox+set}" = set; then
10243 enableval=$enable_bmpcombobox;
10244 if test "$enableval" = yes; then
10245 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10247 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10252 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10257 eval "$wx_cv_use_bmpcombobox"
10259 if test x"$enablestring" = xdisable; then
10260 if test $wxUSE_BITMAPCOMBOBOX = no; then
10266 result=$wxUSE_BITMAPCOMBOBOX
10269 { echo "$as_me:$LINENO: result: $result" >&5
10270 echo "${ECHO_T}$result" >&6; }
10274 defaultval=$wxUSE_ALL_FEATURES
10275 if test -z "$defaultval"; then
10276 if test x"$enablestring" = xdisable; then
10283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10284 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10285 # Check whether --enable-button was given.
10286 if test "${enable_button+set}" = set; then
10287 enableval=$enable_button;
10288 if test "$enableval" = yes; then
10289 wx_cv_use_button='wxUSE_BUTTON=yes'
10291 wx_cv_use_button='wxUSE_BUTTON=no'
10296 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10301 eval "$wx_cv_use_button"
10303 if test x"$enablestring" = xdisable; then
10304 if test $wxUSE_BUTTON = no; then
10310 result=$wxUSE_BUTTON
10313 { echo "$as_me:$LINENO: result: $result" >&5
10314 echo "${ECHO_T}$result" >&6; }
10318 defaultval=$wxUSE_ALL_FEATURES
10319 if test -z "$defaultval"; then
10320 if test x"$enablestring" = xdisable; then
10327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10328 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10329 # Check whether --enable-calendar was given.
10330 if test "${enable_calendar+set}" = set; then
10331 enableval=$enable_calendar;
10332 if test "$enableval" = yes; then
10333 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10335 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10340 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10345 eval "$wx_cv_use_calendar"
10347 if test x"$enablestring" = xdisable; then
10348 if test $wxUSE_CALCTRL = no; then
10354 result=$wxUSE_CALCTRL
10357 { echo "$as_me:$LINENO: result: $result" >&5
10358 echo "${ECHO_T}$result" >&6; }
10362 defaultval=$wxUSE_ALL_FEATURES
10363 if test -z "$defaultval"; then
10364 if test x"$enablestring" = xdisable; then
10371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10373 # Check whether --enable-caret was given.
10374 if test "${enable_caret+set}" = set; then
10375 enableval=$enable_caret;
10376 if test "$enableval" = yes; then
10377 wx_cv_use_caret='wxUSE_CARET=yes'
10379 wx_cv_use_caret='wxUSE_CARET=no'
10384 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10389 eval "$wx_cv_use_caret"
10391 if test x"$enablestring" = xdisable; then
10392 if test $wxUSE_CARET = no; then
10398 result=$wxUSE_CARET
10401 { echo "$as_me:$LINENO: result: $result" >&5
10402 echo "${ECHO_T}$result" >&6; }
10406 defaultval=$wxUSE_ALL_FEATURES
10407 if test -z "$defaultval"; then
10408 if test x"$enablestring" = xdisable; then
10415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10417 # Check whether --enable-checkbox was given.
10418 if test "${enable_checkbox+set}" = set; then
10419 enableval=$enable_checkbox;
10420 if test "$enableval" = yes; then
10421 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10423 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10428 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10433 eval "$wx_cv_use_checkbox"
10435 if test x"$enablestring" = xdisable; then
10436 if test $wxUSE_CHECKBOX = no; then
10442 result=$wxUSE_CHECKBOX
10445 { echo "$as_me:$LINENO: result: $result" >&5
10446 echo "${ECHO_T}$result" >&6; }
10450 defaultval=$wxUSE_ALL_FEATURES
10451 if test -z "$defaultval"; then
10452 if test x"$enablestring" = xdisable; then
10459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10461 # Check whether --enable-checklst was given.
10462 if test "${enable_checklst+set}" = set; then
10463 enableval=$enable_checklst;
10464 if test "$enableval" = yes; then
10465 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10467 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10472 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10477 eval "$wx_cv_use_checklst"
10479 if test x"$enablestring" = xdisable; then
10480 if test $wxUSE_CHECKLST = no; then
10486 result=$wxUSE_CHECKLST
10489 { echo "$as_me:$LINENO: result: $result" >&5
10490 echo "${ECHO_T}$result" >&6; }
10494 defaultval=$wxUSE_ALL_FEATURES
10495 if test -z "$defaultval"; then
10496 if test x"$enablestring" = xdisable; then
10503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10504 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10505 # Check whether --enable-choice was given.
10506 if test "${enable_choice+set}" = set; then
10507 enableval=$enable_choice;
10508 if test "$enableval" = yes; then
10509 wx_cv_use_choice='wxUSE_CHOICE=yes'
10511 wx_cv_use_choice='wxUSE_CHOICE=no'
10516 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10521 eval "$wx_cv_use_choice"
10523 if test x"$enablestring" = xdisable; then
10524 if test $wxUSE_CHOICE = no; then
10530 result=$wxUSE_CHOICE
10533 { echo "$as_me:$LINENO: result: $result" >&5
10534 echo "${ECHO_T}$result" >&6; }
10538 defaultval=$wxUSE_ALL_FEATURES
10539 if test -z "$defaultval"; then
10540 if test x"$enablestring" = xdisable; then
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10549 # Check whether --enable-choicebook was given.
10550 if test "${enable_choicebook+set}" = set; then
10551 enableval=$enable_choicebook;
10552 if test "$enableval" = yes; then
10553 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10555 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10560 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10565 eval "$wx_cv_use_choicebook"
10567 if test x"$enablestring" = xdisable; then
10568 if test $wxUSE_CHOICEBOOK = no; then
10574 result=$wxUSE_CHOICEBOOK
10577 { echo "$as_me:$LINENO: result: $result" >&5
10578 echo "${ECHO_T}$result" >&6; }
10582 defaultval=$wxUSE_ALL_FEATURES
10583 if test -z "$defaultval"; then
10584 if test x"$enablestring" = xdisable; then
10591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10593 # Check whether --enable-collpane was given.
10594 if test "${enable_collpane+set}" = set; then
10595 enableval=$enable_collpane;
10596 if test "$enableval" = yes; then
10597 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10599 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10604 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10609 eval "$wx_cv_use_collpane"
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_COLLPANE = no; then
10618 result=$wxUSE_COLLPANE
10621 { echo "$as_me:$LINENO: result: $result" >&5
10622 echo "${ECHO_T}$result" >&6; }
10626 defaultval=$wxUSE_ALL_FEATURES
10627 if test -z "$defaultval"; then
10628 if test x"$enablestring" = xdisable; then
10635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10637 # Check whether --enable-colourpicker was given.
10638 if test "${enable_colourpicker+set}" = set; then
10639 enableval=$enable_colourpicker;
10640 if test "$enableval" = yes; then
10641 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10643 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10648 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10653 eval "$wx_cv_use_colourpicker"
10655 if test x"$enablestring" = xdisable; then
10656 if test $wxUSE_COLOURPICKERCTRL = no; then
10662 result=$wxUSE_COLOURPICKERCTRL
10665 { echo "$as_me:$LINENO: result: $result" >&5
10666 echo "${ECHO_T}$result" >&6; }
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10681 # Check whether --enable-combobox was given.
10682 if test "${enable_combobox+set}" = set; then
10683 enableval=$enable_combobox;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10687 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10692 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10697 eval "$wx_cv_use_combobox"
10699 if test x"$enablestring" = xdisable; then
10700 if test $wxUSE_COMBOBOX = no; then
10706 result=$wxUSE_COMBOBOX
10709 { echo "$as_me:$LINENO: result: $result" >&5
10710 echo "${ECHO_T}$result" >&6; }
10714 defaultval=$wxUSE_ALL_FEATURES
10715 if test -z "$defaultval"; then
10716 if test x"$enablestring" = xdisable; then
10723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10725 # Check whether --enable-comboctrl was given.
10726 if test "${enable_comboctrl+set}" = set; then
10727 enableval=$enable_comboctrl;
10728 if test "$enableval" = yes; then
10729 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10731 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10736 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10741 eval "$wx_cv_use_comboctrl"
10743 if test x"$enablestring" = xdisable; then
10744 if test $wxUSE_COMBOCTRL = no; then
10750 result=$wxUSE_COMBOCTRL
10753 { echo "$as_me:$LINENO: result: $result" >&5
10754 echo "${ECHO_T}$result" >&6; }
10758 defaultval=$wxUSE_ALL_FEATURES
10759 if test -z "$defaultval"; then
10760 if test x"$enablestring" = xdisable; then
10767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10769 # Check whether --enable-commandlinkbutton was given.
10770 if test "${enable_commandlinkbutton+set}" = set; then
10771 enableval=$enable_commandlinkbutton;
10772 if test "$enableval" = yes; then
10773 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10775 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10780 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10785 eval "$wx_cv_use_commandlinkbutton"
10787 if test x"$enablestring" = xdisable; then
10788 if test $wxUSE_COMMANDLINKBUTTON = no; then
10794 result=$wxUSE_COMMANDLINKBUTTON
10797 { echo "$as_me:$LINENO: result: $result" >&5
10798 echo "${ECHO_T}$result" >&6; }
10802 defaultval=$wxUSE_ALL_FEATURES
10803 if test -z "$defaultval"; then
10804 if test x"$enablestring" = xdisable; then
10811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10812 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10813 # Check whether --enable-dataviewctrl was given.
10814 if test "${enable_dataviewctrl+set}" = set; then
10815 enableval=$enable_dataviewctrl;
10816 if test "$enableval" = yes; then
10817 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10819 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10824 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10829 eval "$wx_cv_use_dataviewctrl"
10831 if test x"$enablestring" = xdisable; then
10832 if test $wxUSE_DATAVIEWCTRL = no; then
10838 result=$wxUSE_DATAVIEWCTRL
10841 { echo "$as_me:$LINENO: result: $result" >&5
10842 echo "${ECHO_T}$result" >&6; }
10846 defaultval=$wxUSE_ALL_FEATURES
10847 if test -z "$defaultval"; then
10848 if test x"$enablestring" = xdisable; then
10855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10856 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10857 # Check whether --enable-datepick was given.
10858 if test "${enable_datepick+set}" = set; then
10859 enableval=$enable_datepick;
10860 if test "$enableval" = yes; then
10861 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10863 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10868 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10873 eval "$wx_cv_use_datepick"
10875 if test x"$enablestring" = xdisable; then
10876 if test $wxUSE_DATEPICKCTRL = no; then
10882 result=$wxUSE_DATEPICKCTRL
10885 { echo "$as_me:$LINENO: result: $result" >&5
10886 echo "${ECHO_T}$result" >&6; }
10890 defaultval=$wxUSE_ALL_FEATURES
10891 if test -z "$defaultval"; then
10892 if test x"$enablestring" = xdisable; then
10899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10900 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10901 # Check whether --enable-detect_sm was given.
10902 if test "${enable_detect_sm+set}" = set; then
10903 enableval=$enable_detect_sm;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10907 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10912 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10917 eval "$wx_cv_use_detect_sm"
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_DETECT_SM = no; then
10926 result=$wxUSE_DETECT_SM
10929 { echo "$as_me:$LINENO: result: $result" >&5
10930 echo "${ECHO_T}$result" >&6; }
10934 defaultval=$wxUSE_ALL_FEATURES
10935 if test -z "$defaultval"; then
10936 if test x"$enablestring" = xdisable; then
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10945 # Check whether --enable-dirpicker was given.
10946 if test "${enable_dirpicker+set}" = set; then
10947 enableval=$enable_dirpicker;
10948 if test "$enableval" = yes; then
10949 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10951 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10956 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10961 eval "$wx_cv_use_dirpicker"
10963 if test x"$enablestring" = xdisable; then
10964 if test $wxUSE_DIRPICKERCTRL = no; then
10970 result=$wxUSE_DIRPICKERCTRL
10973 { echo "$as_me:$LINENO: result: $result" >&5
10974 echo "${ECHO_T}$result" >&6; }
10978 defaultval=$wxUSE_ALL_FEATURES
10979 if test -z "$defaultval"; then
10980 if test x"$enablestring" = xdisable; then
10987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10989 # Check whether --enable-display was given.
10990 if test "${enable_display+set}" = set; then
10991 enableval=$enable_display;
10992 if test "$enableval" = yes; then
10993 wx_cv_use_display='wxUSE_DISPLAY=yes'
10995 wx_cv_use_display='wxUSE_DISPLAY=no'
11000 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11005 eval "$wx_cv_use_display"
11007 if test x"$enablestring" = xdisable; then
11008 if test $wxUSE_DISPLAY = no; then
11014 result=$wxUSE_DISPLAY
11017 { echo "$as_me:$LINENO: result: $result" >&5
11018 echo "${ECHO_T}$result" >&6; }
11022 defaultval=$wxUSE_ALL_FEATURES
11023 if test -z "$defaultval"; then
11024 if test x"$enablestring" = xdisable; then
11031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11033 # Check whether --enable-editablebox was given.
11034 if test "${enable_editablebox+set}" = set; then
11035 enableval=$enable_editablebox;
11036 if test "$enableval" = yes; then
11037 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11039 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11044 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11049 eval "$wx_cv_use_editablebox"
11051 if test x"$enablestring" = xdisable; then
11052 if test $wxUSE_EDITABLELISTBOX = no; then
11058 result=$wxUSE_EDITABLELISTBOX
11061 { echo "$as_me:$LINENO: result: $result" >&5
11062 echo "${ECHO_T}$result" >&6; }
11066 defaultval=$wxUSE_ALL_FEATURES
11067 if test -z "$defaultval"; then
11068 if test x"$enablestring" = xdisable; then
11075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11077 # Check whether --enable-filectrl was given.
11078 if test "${enable_filectrl+set}" = set; then
11079 enableval=$enable_filectrl;
11080 if test "$enableval" = yes; then
11081 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11083 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11088 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11093 eval "$wx_cv_use_filectrl"
11095 if test x"$enablestring" = xdisable; then
11096 if test $wxUSE_FILECTRL = no; then
11102 result=$wxUSE_FILECTRL
11105 { echo "$as_me:$LINENO: result: $result" >&5
11106 echo "${ECHO_T}$result" >&6; }
11110 defaultval=$wxUSE_ALL_FEATURES
11111 if test -z "$defaultval"; then
11112 if test x"$enablestring" = xdisable; then
11119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11121 # Check whether --enable-filepicker was given.
11122 if test "${enable_filepicker+set}" = set; then
11123 enableval=$enable_filepicker;
11124 if test "$enableval" = yes; then
11125 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11127 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11132 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11137 eval "$wx_cv_use_filepicker"
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_FILEPICKERCTRL = no; then
11146 result=$wxUSE_FILEPICKERCTRL
11149 { echo "$as_me:$LINENO: result: $result" >&5
11150 echo "${ECHO_T}$result" >&6; }
11154 defaultval=$wxUSE_ALL_FEATURES
11155 if test -z "$defaultval"; then
11156 if test x"$enablestring" = xdisable; then
11163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11165 # Check whether --enable-fontpicker was given.
11166 if test "${enable_fontpicker+set}" = set; then
11167 enableval=$enable_fontpicker;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11171 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11176 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11181 eval "$wx_cv_use_fontpicker"
11183 if test x"$enablestring" = xdisable; then
11184 if test $wxUSE_FONTPICKERCTRL = no; then
11190 result=$wxUSE_FONTPICKERCTRL
11193 { echo "$as_me:$LINENO: result: $result" >&5
11194 echo "${ECHO_T}$result" >&6; }
11198 defaultval=$wxUSE_ALL_FEATURES
11199 if test -z "$defaultval"; then
11200 if test x"$enablestring" = xdisable; then
11207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11208 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11209 # Check whether --enable-gauge was given.
11210 if test "${enable_gauge+set}" = set; then
11211 enableval=$enable_gauge;
11212 if test "$enableval" = yes; then
11213 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11215 wx_cv_use_gauge='wxUSE_GAUGE=no'
11220 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11225 eval "$wx_cv_use_gauge"
11227 if test x"$enablestring" = xdisable; then
11228 if test $wxUSE_GAUGE = no; then
11234 result=$wxUSE_GAUGE
11237 { echo "$as_me:$LINENO: result: $result" >&5
11238 echo "${ECHO_T}$result" >&6; }
11242 defaultval=$wxUSE_ALL_FEATURES
11243 if test -z "$defaultval"; then
11244 if test x"$enablestring" = xdisable; then
11251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11252 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11253 # Check whether --enable-grid was given.
11254 if test "${enable_grid+set}" = set; then
11255 enableval=$enable_grid;
11256 if test "$enableval" = yes; then
11257 wx_cv_use_grid='wxUSE_GRID=yes'
11259 wx_cv_use_grid='wxUSE_GRID=no'
11264 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11269 eval "$wx_cv_use_grid"
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_GRID = no; then
11281 { echo "$as_me:$LINENO: result: $result" >&5
11282 echo "${ECHO_T}$result" >&6; }
11286 defaultval=$wxUSE_ALL_FEATURES
11287 if test -z "$defaultval"; then
11288 if test x"$enablestring" = xdisable; then
11295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11297 # Check whether --enable-headerctrl was given.
11298 if test "${enable_headerctrl+set}" = set; then
11299 enableval=$enable_headerctrl;
11300 if test "$enableval" = yes; then
11301 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11303 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11308 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11313 eval "$wx_cv_use_headerctrl"
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_HEADERCTRL = no; then
11322 result=$wxUSE_HEADERCTRL
11325 { echo "$as_me:$LINENO: result: $result" >&5
11326 echo "${ECHO_T}$result" >&6; }
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11341 # Check whether --enable-hyperlink was given.
11342 if test "${enable_hyperlink+set}" = set; then
11343 enableval=$enable_hyperlink;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11347 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11352 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11357 eval "$wx_cv_use_hyperlink"
11359 if test x"$enablestring" = xdisable; then
11360 if test $wxUSE_HYPERLINKCTRL = no; then
11366 result=$wxUSE_HYPERLINKCTRL
11369 { echo "$as_me:$LINENO: result: $result" >&5
11370 echo "${ECHO_T}$result" >&6; }
11374 defaultval=$wxUSE_ALL_FEATURES
11375 if test -z "$defaultval"; then
11376 if test x"$enablestring" = xdisable; then
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11385 # Check whether --enable-imaglist was given.
11386 if test "${enable_imaglist+set}" = set; then
11387 enableval=$enable_imaglist;
11388 if test "$enableval" = yes; then
11389 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11391 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11396 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11401 eval "$wx_cv_use_imaglist"
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_IMAGLIST = no; then
11410 result=$wxUSE_IMAGLIST
11413 { echo "$as_me:$LINENO: result: $result" >&5
11414 echo "${ECHO_T}$result" >&6; }
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11429 # Check whether --enable-infobar was given.
11430 if test "${enable_infobar+set}" = set; then
11431 enableval=$enable_infobar;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11435 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11440 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11445 eval "$wx_cv_use_infobar"
11447 if test x"$enablestring" = xdisable; then
11448 if test $wxUSE_INFOBAR = no; then
11454 result=$wxUSE_INFOBAR
11457 { echo "$as_me:$LINENO: result: $result" >&5
11458 echo "${ECHO_T}$result" >&6; }
11462 defaultval=$wxUSE_ALL_FEATURES
11463 if test -z "$defaultval"; then
11464 if test x"$enablestring" = xdisable; then
11471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11472 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11473 # Check whether --enable-listbook was given.
11474 if test "${enable_listbook+set}" = set; then
11475 enableval=$enable_listbook;
11476 if test "$enableval" = yes; then
11477 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11479 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11484 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11489 eval "$wx_cv_use_listbook"
11491 if test x"$enablestring" = xdisable; then
11492 if test $wxUSE_LISTBOOK = no; then
11498 result=$wxUSE_LISTBOOK
11501 { echo "$as_me:$LINENO: result: $result" >&5
11502 echo "${ECHO_T}$result" >&6; }
11506 defaultval=$wxUSE_ALL_FEATURES
11507 if test -z "$defaultval"; then
11508 if test x"$enablestring" = xdisable; then
11515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11516 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11517 # Check whether --enable-listbox was given.
11518 if test "${enable_listbox+set}" = set; then
11519 enableval=$enable_listbox;
11520 if test "$enableval" = yes; then
11521 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11523 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11528 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11533 eval "$wx_cv_use_listbox"
11535 if test x"$enablestring" = xdisable; then
11536 if test $wxUSE_LISTBOX = no; then
11542 result=$wxUSE_LISTBOX
11545 { echo "$as_me:$LINENO: result: $result" >&5
11546 echo "${ECHO_T}$result" >&6; }
11550 defaultval=$wxUSE_ALL_FEATURES
11551 if test -z "$defaultval"; then
11552 if test x"$enablestring" = xdisable; then
11559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11560 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11561 # Check whether --enable-listctrl was given.
11562 if test "${enable_listctrl+set}" = set; then
11563 enableval=$enable_listctrl;
11564 if test "$enableval" = yes; then
11565 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11567 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11572 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11577 eval "$wx_cv_use_listctrl"
11579 if test x"$enablestring" = xdisable; then
11580 if test $wxUSE_LISTCTRL = no; then
11586 result=$wxUSE_LISTCTRL
11589 { echo "$as_me:$LINENO: result: $result" >&5
11590 echo "${ECHO_T}$result" >&6; }
11594 defaultval=$wxUSE_ALL_FEATURES
11595 if test -z "$defaultval"; then
11596 if test x"$enablestring" = xdisable; then
11603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11605 # Check whether --enable-notebook was given.
11606 if test "${enable_notebook+set}" = set; then
11607 enableval=$enable_notebook;
11608 if test "$enableval" = yes; then
11609 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11611 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11616 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11621 eval "$wx_cv_use_notebook"
11623 if test x"$enablestring" = xdisable; then
11624 if test $wxUSE_NOTEBOOK = no; then
11630 result=$wxUSE_NOTEBOOK
11633 { echo "$as_me:$LINENO: result: $result" >&5
11634 echo "${ECHO_T}$result" >&6; }
11638 defaultval=$wxUSE_ALL_FEATURES
11639 if test -z "$defaultval"; then
11640 if test x"$enablestring" = xdisable; then
11647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11649 # Check whether --enable-notifmsg was given.
11650 if test "${enable_notifmsg+set}" = set; then
11651 enableval=$enable_notifmsg;
11652 if test "$enableval" = yes; then
11653 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11655 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11660 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11665 eval "$wx_cv_use_notifmsg"
11667 if test x"$enablestring" = xdisable; then
11668 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11674 result=$wxUSE_NOTIFICATION_MESSAGE
11677 { echo "$as_me:$LINENO: result: $result" >&5
11678 echo "${ECHO_T}$result" >&6; }
11682 defaultval=$wxUSE_ALL_FEATURES
11683 if test -z "$defaultval"; then
11684 if test x"$enablestring" = xdisable; then
11691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11693 # Check whether --enable-odcombobox was given.
11694 if test "${enable_odcombobox+set}" = set; then
11695 enableval=$enable_odcombobox;
11696 if test "$enableval" = yes; then
11697 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11699 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11704 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11709 eval "$wx_cv_use_odcombobox"
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_ODCOMBOBOX = no; then
11718 result=$wxUSE_ODCOMBOBOX
11721 { echo "$as_me:$LINENO: result: $result" >&5
11722 echo "${ECHO_T}$result" >&6; }
11726 defaultval=$wxUSE_ALL_FEATURES
11727 if test -z "$defaultval"; then
11728 if test x"$enablestring" = xdisable; then
11735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11736 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11737 # Check whether --enable-popupwin was given.
11738 if test "${enable_popupwin+set}" = set; then
11739 enableval=$enable_popupwin;
11740 if test "$enableval" = yes; then
11741 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11743 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11748 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11753 eval "$wx_cv_use_popupwin"
11755 if test x"$enablestring" = xdisable; then
11756 if test $wxUSE_POPUPWIN = no; then
11762 result=$wxUSE_POPUPWIN
11765 { echo "$as_me:$LINENO: result: $result" >&5
11766 echo "${ECHO_T}$result" >&6; }
11770 defaultval=$wxUSE_ALL_FEATURES
11771 if test -z "$defaultval"; then
11772 if test x"$enablestring" = xdisable; then
11779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11781 # Check whether --enable-radiobox was given.
11782 if test "${enable_radiobox+set}" = set; then
11783 enableval=$enable_radiobox;
11784 if test "$enableval" = yes; then
11785 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11787 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11792 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11797 eval "$wx_cv_use_radiobox"
11799 if test x"$enablestring" = xdisable; then
11800 if test $wxUSE_RADIOBOX = no; then
11806 result=$wxUSE_RADIOBOX
11809 { echo "$as_me:$LINENO: result: $result" >&5
11810 echo "${ECHO_T}$result" >&6; }
11814 defaultval=$wxUSE_ALL_FEATURES
11815 if test -z "$defaultval"; then
11816 if test x"$enablestring" = xdisable; then
11823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11824 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11825 # Check whether --enable-radiobtn was given.
11826 if test "${enable_radiobtn+set}" = set; then
11827 enableval=$enable_radiobtn;
11828 if test "$enableval" = yes; then
11829 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11831 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11836 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11841 eval "$wx_cv_use_radiobtn"
11843 if test x"$enablestring" = xdisable; then
11844 if test $wxUSE_RADIOBTN = no; then
11850 result=$wxUSE_RADIOBTN
11853 { echo "$as_me:$LINENO: result: $result" >&5
11854 echo "${ECHO_T}$result" >&6; }
11858 defaultval=$wxUSE_ALL_FEATURES
11859 if test -z "$defaultval"; then
11860 if test x"$enablestring" = xdisable; then
11867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11868 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11869 # Check whether --enable-richmsgdlg was given.
11870 if test "${enable_richmsgdlg+set}" = set; then
11871 enableval=$enable_richmsgdlg;
11872 if test "$enableval" = yes; then
11873 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11875 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11880 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11885 eval "$wx_cv_use_richmsgdlg"
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_RICHMSGDLG = no; then
11894 result=$wxUSE_RICHMSGDLG
11897 { echo "$as_me:$LINENO: result: $result" >&5
11898 echo "${ECHO_T}$result" >&6; }
11902 defaultval=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x"$enablestring" = xdisable; then
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11913 # Check whether --enable-rearrangectrl was given.
11914 if test "${enable_rearrangectrl+set}" = set; then
11915 enableval=$enable_rearrangectrl;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11919 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11924 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11929 eval "$wx_cv_use_rearrangectrl"
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_REARRANGECTRL = no; then
11938 result=$wxUSE_REARRANGECTRL
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11957 # Check whether --enable-sash was given.
11958 if test "${enable_sash+set}" = set; then
11959 enableval=$enable_sash;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_sash='wxUSE_SASH=yes'
11963 wx_cv_use_sash='wxUSE_SASH=no'
11968 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11973 eval "$wx_cv_use_sash"
11975 if test x"$enablestring" = xdisable; then
11976 if test $wxUSE_SASH = no; then
11985 { echo "$as_me:$LINENO: result: $result" >&5
11986 echo "${ECHO_T}$result" >&6; }
11990 defaultval=$wxUSE_ALL_FEATURES
11991 if test -z "$defaultval"; then
11992 if test x"$enablestring" = xdisable; then
11999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12000 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12001 # Check whether --enable-scrollbar was given.
12002 if test "${enable_scrollbar+set}" = set; then
12003 enableval=$enable_scrollbar;
12004 if test "$enableval" = yes; then
12005 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12007 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12012 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12017 eval "$wx_cv_use_scrollbar"
12019 if test x"$enablestring" = xdisable; then
12020 if test $wxUSE_SCROLLBAR = no; then
12026 result=$wxUSE_SCROLLBAR
12029 { echo "$as_me:$LINENO: result: $result" >&5
12030 echo "${ECHO_T}$result" >&6; }
12034 defaultval=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x"$enablestring" = xdisable; then
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12045 # Check whether --enable-searchctrl was given.
12046 if test "${enable_searchctrl+set}" = set; then
12047 enableval=$enable_searchctrl;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12051 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12056 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12061 eval "$wx_cv_use_searchctrl"
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_SEARCHCTRL = no; then
12070 result=$wxUSE_SEARCHCTRL
12073 { echo "$as_me:$LINENO: result: $result" >&5
12074 echo "${ECHO_T}$result" >&6; }
12078 defaultval=$wxUSE_ALL_FEATURES
12079 if test -z "$defaultval"; then
12080 if test x"$enablestring" = xdisable; then
12087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12088 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12089 # Check whether --enable-slider was given.
12090 if test "${enable_slider+set}" = set; then
12091 enableval=$enable_slider;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_slider='wxUSE_SLIDER=yes'
12095 wx_cv_use_slider='wxUSE_SLIDER=no'
12100 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12105 eval "$wx_cv_use_slider"
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_SLIDER = no; then
12114 result=$wxUSE_SLIDER
12117 { echo "$as_me:$LINENO: result: $result" >&5
12118 echo "${ECHO_T}$result" >&6; }
12122 defaultval=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x"$enablestring" = xdisable; then
12131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12132 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12133 # Check whether --enable-spinbtn was given.
12134 if test "${enable_spinbtn+set}" = set; then
12135 enableval=$enable_spinbtn;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12139 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12144 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12149 eval "$wx_cv_use_spinbtn"
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_SPINBTN = no; then
12158 result=$wxUSE_SPINBTN
12161 { echo "$as_me:$LINENO: result: $result" >&5
12162 echo "${ECHO_T}$result" >&6; }
12166 defaultval=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x"$enablestring" = xdisable; then
12175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12176 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12177 # Check whether --enable-spinctrl was given.
12178 if test "${enable_spinctrl+set}" = set; then
12179 enableval=$enable_spinctrl;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12183 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12188 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12193 eval "$wx_cv_use_spinctrl"
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_SPINCTRL = no; then
12202 result=$wxUSE_SPINCTRL
12205 { echo "$as_me:$LINENO: result: $result" >&5
12206 echo "${ECHO_T}$result" >&6; }
12210 defaultval=$wxUSE_ALL_FEATURES
12211 if test -z "$defaultval"; then
12212 if test x"$enablestring" = xdisable; then
12219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12220 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12221 # Check whether --enable-splitter was given.
12222 if test "${enable_splitter+set}" = set; then
12223 enableval=$enable_splitter;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12227 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12232 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12237 eval "$wx_cv_use_splitter"
12239 if test x"$enablestring" = xdisable; then
12240 if test $wxUSE_SPLITTER = no; then
12246 result=$wxUSE_SPLITTER
12249 { echo "$as_me:$LINENO: result: $result" >&5
12250 echo "${ECHO_T}$result" >&6; }
12254 defaultval=$wxUSE_ALL_FEATURES
12255 if test -z "$defaultval"; then
12256 if test x"$enablestring" = xdisable; then
12263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12264 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12265 # Check whether --enable-statbmp was given.
12266 if test "${enable_statbmp+set}" = set; then
12267 enableval=$enable_statbmp;
12268 if test "$enableval" = yes; then
12269 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12271 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12276 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12281 eval "$wx_cv_use_statbmp"
12283 if test x"$enablestring" = xdisable; then
12284 if test $wxUSE_STATBMP = no; then
12290 result=$wxUSE_STATBMP
12293 { echo "$as_me:$LINENO: result: $result" >&5
12294 echo "${ECHO_T}$result" >&6; }
12298 defaultval=$wxUSE_ALL_FEATURES
12299 if test -z "$defaultval"; then
12300 if test x"$enablestring" = xdisable; then
12307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12308 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12309 # Check whether --enable-statbox was given.
12310 if test "${enable_statbox+set}" = set; then
12311 enableval=$enable_statbox;
12312 if test "$enableval" = yes; then
12313 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12315 wx_cv_use_statbox='wxUSE_STATBOX=no'
12320 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12325 eval "$wx_cv_use_statbox"
12327 if test x"$enablestring" = xdisable; then
12328 if test $wxUSE_STATBOX = no; then
12334 result=$wxUSE_STATBOX
12337 { echo "$as_me:$LINENO: result: $result" >&5
12338 echo "${ECHO_T}$result" >&6; }
12342 defaultval=$wxUSE_ALL_FEATURES
12343 if test -z "$defaultval"; then
12344 if test x"$enablestring" = xdisable; then
12351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12352 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12353 # Check whether --enable-statline was given.
12354 if test "${enable_statline+set}" = set; then
12355 enableval=$enable_statline;
12356 if test "$enableval" = yes; then
12357 wx_cv_use_statline='wxUSE_STATLINE=yes'
12359 wx_cv_use_statline='wxUSE_STATLINE=no'
12364 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12369 eval "$wx_cv_use_statline"
12371 if test x"$enablestring" = xdisable; then
12372 if test $wxUSE_STATLINE = no; then
12378 result=$wxUSE_STATLINE
12381 { echo "$as_me:$LINENO: result: $result" >&5
12382 echo "${ECHO_T}$result" >&6; }
12386 defaultval=$wxUSE_ALL_FEATURES
12387 if test -z "$defaultval"; then
12388 if test x"$enablestring" = xdisable; then
12395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12396 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12397 # Check whether --enable-stattext was given.
12398 if test "${enable_stattext+set}" = set; then
12399 enableval=$enable_stattext;
12400 if test "$enableval" = yes; then
12401 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12403 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12408 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12413 eval "$wx_cv_use_stattext"
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_STATTEXT = no; then
12422 result=$wxUSE_STATTEXT
12425 { echo "$as_me:$LINENO: result: $result" >&5
12426 echo "${ECHO_T}$result" >&6; }
12430 defaultval=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x"$enablestring" = xdisable; then
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12441 # Check whether --enable-statusbar was given.
12442 if test "${enable_statusbar+set}" = set; then
12443 enableval=$enable_statusbar;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12447 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12452 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12457 eval "$wx_cv_use_statusbar"
12459 if test x"$enablestring" = xdisable; then
12460 if test $wxUSE_STATUSBAR = no; then
12466 result=$wxUSE_STATUSBAR
12469 { echo "$as_me:$LINENO: result: $result" >&5
12470 echo "${ECHO_T}$result" >&6; }
12474 defaultval=$wxUSE_ALL_FEATURES
12475 if test -z "$defaultval"; then
12476 if test x"$enablestring" = xdisable; then
12483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12485 # Check whether --enable-taskbaricon was given.
12486 if test "${enable_taskbaricon+set}" = set; then
12487 enableval=$enable_taskbaricon;
12488 if test "$enableval" = yes; then
12489 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12491 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12496 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12501 eval "$wx_cv_use_taskbaricon"
12503 if test x"$enablestring" = xdisable; then
12504 if test $wxUSE_TASKBARICON = no; then
12510 result=$wxUSE_TASKBARICON
12513 { echo "$as_me:$LINENO: result: $result" >&5
12514 echo "${ECHO_T}$result" >&6; }
12518 defaultval=$wxUSE_ALL_FEATURES
12519 if test -z "$defaultval"; then
12520 if test x"$enablestring" = xdisable; then
12527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12528 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12529 # Check whether --enable-tbarnative was given.
12530 if test "${enable_tbarnative+set}" = set; then
12531 enableval=$enable_tbarnative;
12532 if test "$enableval" = yes; then
12533 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12535 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12540 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12545 eval "$wx_cv_use_tbarnative"
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_TOOLBAR_NATIVE = no; then
12554 result=$wxUSE_TOOLBAR_NATIVE
12557 { echo "$as_me:$LINENO: result: $result" >&5
12558 echo "${ECHO_T}$result" >&6; }
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12573 # Check whether --enable-textctrl was given.
12574 if test "${enable_textctrl+set}" = set; then
12575 enableval=$enable_textctrl;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12579 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12584 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12589 eval "$wx_cv_use_textctrl"
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_TEXTCTRL = no; then
12598 result=$wxUSE_TEXTCTRL
12601 { echo "$as_me:$LINENO: result: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12617 # Check whether --enable-tipwindow was given.
12618 if test "${enable_tipwindow+set}" = set; then
12619 enableval=$enable_tipwindow;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12623 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12628 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12633 eval "$wx_cv_use_tipwindow"
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_TIPWINDOW = no; then
12642 result=$wxUSE_TIPWINDOW
12645 { echo "$as_me:$LINENO: result: $result" >&5
12646 echo "${ECHO_T}$result" >&6; }
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12661 # Check whether --enable-togglebtn was given.
12662 if test "${enable_togglebtn+set}" = set; then
12663 enableval=$enable_togglebtn;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12667 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12672 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12677 eval "$wx_cv_use_togglebtn"
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_TOGGLEBTN = no; then
12686 result=$wxUSE_TOGGLEBTN
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12705 # Check whether --enable-toolbar was given.
12706 if test "${enable_toolbar+set}" = set; then
12707 enableval=$enable_toolbar;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12711 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12716 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12721 eval "$wx_cv_use_toolbar"
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_TOOLBAR = no; then
12730 result=$wxUSE_TOOLBAR
12733 { echo "$as_me:$LINENO: result: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12749 # Check whether --enable-toolbook was given.
12750 if test "${enable_toolbook+set}" = set; then
12751 enableval=$enable_toolbook;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12755 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12760 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12765 eval "$wx_cv_use_toolbook"
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_TOOLBOOK = no; then
12774 result=$wxUSE_TOOLBOOK
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12793 # Check whether --enable-treebook was given.
12794 if test "${enable_treebook+set}" = set; then
12795 enableval=$enable_treebook;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12799 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12804 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12809 eval "$wx_cv_use_treebook"
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_TREEBOOK = no; then
12818 result=$wxUSE_TREEBOOK
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12837 # Check whether --enable-treectrl was given.
12838 if test "${enable_treectrl+set}" = set; then
12839 enableval=$enable_treectrl;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12843 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12848 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12853 eval "$wx_cv_use_treectrl"
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_TREECTRL = no; then
12862 result=$wxUSE_TREECTRL
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12882 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12883 # Check whether --enable-commondlg was given.
12884 if test "${enable_commondlg+set}" = set; then
12885 enableval=$enable_commondlg;
12886 if test "$enableval" = yes; then
12887 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12889 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12894 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12899 eval "$wx_cv_use_commondlg"
12901 if test x"$enablestring" = xdisable; then
12902 if test $wxUSE_COMMONDLGS = no; then
12908 result=$wxUSE_COMMONDLGS
12911 { echo "$as_me:$LINENO: result: $result" >&5
12912 echo "${ECHO_T}$result" >&6; }
12916 defaultval=$wxUSE_ALL_FEATURES
12917 if test -z "$defaultval"; then
12918 if test x"$enablestring" = xdisable; then
12925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12926 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12927 # Check whether --enable-aboutdlg was given.
12928 if test "${enable_aboutdlg+set}" = set; then
12929 enableval=$enable_aboutdlg;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12933 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12938 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12943 eval "$wx_cv_use_aboutdlg"
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_ABOUTDLG = no; then
12952 result=$wxUSE_ABOUTDLG
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12971 # Check whether --enable-choicedlg was given.
12972 if test "${enable_choicedlg+set}" = set; then
12973 enableval=$enable_choicedlg;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12977 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12982 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12987 eval "$wx_cv_use_choicedlg"
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_CHOICEDLG = no; then
12996 result=$wxUSE_CHOICEDLG
12999 { echo "$as_me:$LINENO: result: $result" >&5
13000 echo "${ECHO_T}$result" >&6; }
13004 defaultval=$wxUSE_ALL_FEATURES
13005 if test -z "$defaultval"; then
13006 if test x"$enablestring" = xdisable; then
13013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13014 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13015 # Check whether --enable-coldlg was given.
13016 if test "${enable_coldlg+set}" = set; then
13017 enableval=$enable_coldlg;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13021 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13026 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13031 eval "$wx_cv_use_coldlg"
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_COLOURDLG = no; then
13040 result=$wxUSE_COLOURDLG
13043 { echo "$as_me:$LINENO: result: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13048 defaultval=$wxUSE_ALL_FEATURES
13049 if test -z "$defaultval"; then
13050 if test x"$enablestring" = xdisable; then
13057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13058 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13059 # Check whether --enable-filedlg was given.
13060 if test "${enable_filedlg+set}" = set; then
13061 enableval=$enable_filedlg;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13065 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13070 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13075 eval "$wx_cv_use_filedlg"
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_FILEDLG = no; then
13084 result=$wxUSE_FILEDLG
13087 { echo "$as_me:$LINENO: result: $result" >&5
13088 echo "${ECHO_T}$result" >&6; }
13092 defaultval=$wxUSE_ALL_FEATURES
13093 if test -z "$defaultval"; then
13094 if test x"$enablestring" = xdisable; then
13101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13103 # Check whether --enable-finddlg was given.
13104 if test "${enable_finddlg+set}" = set; then
13105 enableval=$enable_finddlg;
13106 if test "$enableval" = yes; then
13107 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13109 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13114 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13119 eval "$wx_cv_use_finddlg"
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_FINDREPLDLG = no; then
13128 result=$wxUSE_FINDREPLDLG
13131 { echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13147 # Check whether --enable-fontdlg was given.
13148 if test "${enable_fontdlg+set}" = set; then
13149 enableval=$enable_fontdlg;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13153 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13158 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13163 eval "$wx_cv_use_fontdlg"
13165 if test x"$enablestring" = xdisable; then
13166 if test $wxUSE_FONTDLG = no; then
13172 result=$wxUSE_FONTDLG
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13180 defaultval=$wxUSE_ALL_FEATURES
13181 if test -z "$defaultval"; then
13182 if test x"$enablestring" = xdisable; then
13189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13190 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13191 # Check whether --enable-dirdlg was given.
13192 if test "${enable_dirdlg+set}" = set; then
13193 enableval=$enable_dirdlg;
13194 if test "$enableval" = yes; then
13195 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13197 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13202 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13207 eval "$wx_cv_use_dirdlg"
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_DIRDLG = no; then
13216 result=$wxUSE_DIRDLG
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13235 # Check whether --enable-msgdlg was given.
13236 if test "${enable_msgdlg+set}" = set; then
13237 enableval=$enable_msgdlg;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13241 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13246 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13251 eval "$wx_cv_use_msgdlg"
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_MSGDLG = no; then
13260 result=$wxUSE_MSGDLG
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13279 # Check whether --enable-numberdlg was given.
13280 if test "${enable_numberdlg+set}" = set; then
13281 enableval=$enable_numberdlg;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13285 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13290 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13295 eval "$wx_cv_use_numberdlg"
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_NUMBERDLG = no; then
13304 result=$wxUSE_NUMBERDLG
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13323 # Check whether --enable-splash was given.
13324 if test "${enable_splash+set}" = set; then
13325 enableval=$enable_splash;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_splash='wxUSE_SPLASH=yes'
13329 wx_cv_use_splash='wxUSE_SPLASH=no'
13334 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13339 eval "$wx_cv_use_splash"
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_SPLASH = no; then
13348 result=$wxUSE_SPLASH
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13367 # Check whether --enable-textdlg was given.
13368 if test "${enable_textdlg+set}" = set; then
13369 enableval=$enable_textdlg;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13373 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13378 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13383 eval "$wx_cv_use_textdlg"
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_TEXTDLG = no; then
13392 result=$wxUSE_TEXTDLG
13395 { echo "$as_me:$LINENO: result: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13411 # Check whether --enable-tipdlg was given.
13412 if test "${enable_tipdlg+set}" = set; then
13413 enableval=$enable_tipdlg;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13417 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13422 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13427 eval "$wx_cv_use_tipdlg"
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_STARTUP_TIPS = no; then
13436 result=$wxUSE_STARTUP_TIPS
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13444 defaultval=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x"$enablestring" = xdisable; then
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13455 # Check whether --enable-progressdlg was given.
13456 if test "${enable_progressdlg+set}" = set; then
13457 enableval=$enable_progressdlg;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13461 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13466 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13471 eval "$wx_cv_use_progressdlg"
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_PROGRESSDLG = no; then
13480 result=$wxUSE_PROGRESSDLG
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13499 # Check whether --enable-wizarddlg was given.
13500 if test "${enable_wizarddlg+set}" = set; then
13501 enableval=$enable_wizarddlg;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13505 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13510 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13515 eval "$wx_cv_use_wizarddlg"
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_WIZARDDLG = no; then
13524 result=$wxUSE_WIZARDDLG
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13545 # Check whether --enable-menus was given.
13546 if test "${enable_menus+set}" = set; then
13547 enableval=$enable_menus;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_menus='wxUSE_MENUS=yes'
13551 wx_cv_use_menus='wxUSE_MENUS=no'
13556 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13561 eval "$wx_cv_use_menus"
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_MENUS = no; then
13570 result=$wxUSE_MENUS
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13589 # Check whether --enable-miniframe was given.
13590 if test "${enable_miniframe+set}" = set; then
13591 enableval=$enable_miniframe;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13595 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13600 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13605 eval "$wx_cv_use_miniframe"
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_MINIFRAME = no; then
13614 result=$wxUSE_MINIFRAME
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13633 # Check whether --enable-tooltips was given.
13634 if test "${enable_tooltips+set}" = set; then
13635 enableval=$enable_tooltips;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13639 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13644 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13649 eval "$wx_cv_use_tooltips"
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_TOOLTIPS = no; then
13658 result=$wxUSE_TOOLTIPS
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13677 # Check whether --enable-splines was given.
13678 if test "${enable_splines+set}" = set; then
13679 enableval=$enable_splines;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_splines='wxUSE_SPLINES=yes'
13683 wx_cv_use_splines='wxUSE_SPLINES=no'
13688 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13693 eval "$wx_cv_use_splines"
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_SPLINES = no; then
13702 result=$wxUSE_SPLINES
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13710 defaultval=$wxUSE_ALL_FEATURES
13711 if test -z "$defaultval"; then
13712 if test x"$enablestring" = xdisable; then
13719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13721 # Check whether --enable-mousewheel was given.
13722 if test "${enable_mousewheel+set}" = set; then
13723 enableval=$enable_mousewheel;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13727 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13732 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13737 eval "$wx_cv_use_mousewheel"
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_MOUSEWHEEL = no; then
13746 result=$wxUSE_MOUSEWHEEL
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6; }
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13765 # Check whether --enable-validators was given.
13766 if test "${enable_validators+set}" = set; then
13767 enableval=$enable_validators;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13771 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13776 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13781 eval "$wx_cv_use_validators"
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_VALIDATORS = no; then
13790 result=$wxUSE_VALIDATORS
13793 { echo "$as_me:$LINENO: result: $result" >&5
13794 echo "${ECHO_T}$result" >&6; }
13798 defaultval=$wxUSE_ALL_FEATURES
13799 if test -z "$defaultval"; then
13800 if test x"$enablestring" = xdisable; then
13807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13809 # Check whether --enable-busyinfo was given.
13810 if test "${enable_busyinfo+set}" = set; then
13811 enableval=$enable_busyinfo;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13815 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13820 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13825 eval "$wx_cv_use_busyinfo"
13827 if test x"$enablestring" = xdisable; then
13828 if test $wxUSE_BUSYINFO = no; then
13834 result=$wxUSE_BUSYINFO
13837 { echo "$as_me:$LINENO: result: $result" >&5
13838 echo "${ECHO_T}$result" >&6; }
13842 defaultval=$wxUSE_ALL_FEATURES
13843 if test -z "$defaultval"; then
13844 if test x"$enablestring" = xdisable; then
13851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13852 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13853 # Check whether --enable-joystick was given.
13854 if test "${enable_joystick+set}" = set; then
13855 enableval=$enable_joystick;
13856 if test "$enableval" = yes; then
13857 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13859 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13864 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13869 eval "$wx_cv_use_joystick"
13871 if test x"$enablestring" = xdisable; then
13872 if test $wxUSE_JOYSTICK = no; then
13878 result=$wxUSE_JOYSTICK
13881 { echo "$as_me:$LINENO: result: $result" >&5
13882 echo "${ECHO_T}$result" >&6; }
13886 defaultval=$wxUSE_ALL_FEATURES
13887 if test -z "$defaultval"; then
13888 if test x"$enablestring" = xdisable; then
13895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13896 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13897 # Check whether --enable-metafile was given.
13898 if test "${enable_metafile+set}" = set; then
13899 enableval=$enable_metafile;
13900 if test "$enableval" = yes; then
13901 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13903 wx_cv_use_metafile='wxUSE_METAFILE=no'
13908 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13913 eval "$wx_cv_use_metafile"
13915 if test x"$enablestring" = xdisable; then
13916 if test $wxUSE_METAFILE = no; then
13922 result=$wxUSE_METAFILE
13925 { echo "$as_me:$LINENO: result: $result" >&5
13926 echo "${ECHO_T}$result" >&6; }
13930 defaultval=$wxUSE_ALL_FEATURES
13931 if test -z "$defaultval"; then
13932 if test x"$enablestring" = xdisable; then
13939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13940 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13941 # Check whether --enable-dragimage was given.
13942 if test "${enable_dragimage+set}" = set; then
13943 enableval=$enable_dragimage;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13947 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13952 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13957 eval "$wx_cv_use_dragimage"
13959 if test x"$enablestring" = xdisable; then
13960 if test $wxUSE_DRAGIMAGE = no; then
13966 result=$wxUSE_DRAGIMAGE
13969 { echo "$as_me:$LINENO: result: $result" >&5
13970 echo "${ECHO_T}$result" >&6; }
13974 defaultval=$wxUSE_ALL_FEATURES
13975 if test -z "$defaultval"; then
13976 if test x"$enablestring" = xdisable; then
13983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13984 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13985 # Check whether --enable-accessibility was given.
13986 if test "${enable_accessibility+set}" = set; then
13987 enableval=$enable_accessibility;
13988 if test "$enableval" = yes; then
13989 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13991 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13996 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14001 eval "$wx_cv_use_accessibility"
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_ACCESSIBILITY = no; then
14010 result=$wxUSE_ACCESSIBILITY
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14018 defaultval=$wxUSE_ALL_FEATURES
14019 if test -z "$defaultval"; then
14020 if test x"$enablestring" = xdisable; then
14027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14029 # Check whether --enable-uiactionsim was given.
14030 if test "${enable_uiactionsim+set}" = set; then
14031 enableval=$enable_uiactionsim;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14035 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14040 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14045 eval "$wx_cv_use_uiactionsim"
14047 if test x"$enablestring" = xdisable; then
14048 if test $wxUSE_UIACTIONSIMULATOR = no; then
14054 result=$wxUSE_UIACTIONSIMULATOR
14057 { echo "$as_me:$LINENO: result: $result" >&5
14058 echo "${ECHO_T}$result" >&6; }
14062 defaultval=$wxUSE_ALL_FEATURES
14063 if test -z "$defaultval"; then
14064 if test x"$enablestring" = xdisable; then
14071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14072 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14073 # Check whether --enable-dctransform was given.
14074 if test "${enable_dctransform+set}" = set; then
14075 enableval=$enable_dctransform;
14076 if test "$enableval" = yes; then
14077 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14079 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14084 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14089 eval "$wx_cv_use_dctransform"
14091 if test x"$enablestring" = xdisable; then
14092 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14098 result=$wxUSE_DC_TRANSFORM_MATRIX
14101 { echo "$as_me:$LINENO: result: $result" >&5
14102 echo "${ECHO_T}$result" >&6; }
14106 defaultval=$wxUSE_ALL_FEATURES
14107 if test -z "$defaultval"; then
14108 if test x"$enablestring" = xdisable; then
14115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14116 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14117 # Check whether --enable-webviewwebkit was given.
14118 if test "${enable_webviewwebkit+set}" = set; then
14119 enableval=$enable_webviewwebkit;
14120 if test "$enableval" = yes; then
14121 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
14123 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
14128 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14133 eval "$wx_cv_use_webviewwebkit"
14135 if test x"$enablestring" = xdisable; then
14136 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14142 result=$wxUSE_WEBVIEW_WEBKIT
14145 { echo "$as_me:$LINENO: result: $result" >&5
14146 echo "${ECHO_T}$result" >&6; }
14152 defaultval=$wxUSE_ALL_FEATURES
14153 if test -z "$defaultval"; then
14154 if test x"$enablestring" = xdisable; then
14161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14162 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14163 # Check whether --enable-palette was given.
14164 if test "${enable_palette+set}" = set; then
14165 enableval=$enable_palette;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_palette='wxUSE_PALETTE=yes'
14169 wx_cv_use_palette='wxUSE_PALETTE=no'
14174 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14179 eval "$wx_cv_use_palette"
14181 if test x"$enablestring" = xdisable; then
14182 if test $wxUSE_PALETTE = no; then
14188 result=$wxUSE_PALETTE
14191 { echo "$as_me:$LINENO: result: $result" >&5
14192 echo "${ECHO_T}$result" >&6; }
14196 defaultval=$wxUSE_ALL_FEATURES
14197 if test -z "$defaultval"; then
14198 if test x"$enablestring" = xdisable; then
14205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14207 # Check whether --enable-image was given.
14208 if test "${enable_image+set}" = set; then
14209 enableval=$enable_image;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_image='wxUSE_IMAGE=yes'
14213 wx_cv_use_image='wxUSE_IMAGE=no'
14218 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14223 eval "$wx_cv_use_image"
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_IMAGE = no; then
14232 result=$wxUSE_IMAGE
14235 { echo "$as_me:$LINENO: result: $result" >&5
14236 echo "${ECHO_T}$result" >&6; }
14240 defaultval=$wxUSE_ALL_FEATURES
14241 if test -z "$defaultval"; then
14242 if test x"$enablestring" = xdisable; then
14249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14251 # Check whether --enable-gif was given.
14252 if test "${enable_gif+set}" = set; then
14253 enableval=$enable_gif;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_gif='wxUSE_GIF=yes'
14257 wx_cv_use_gif='wxUSE_GIF=no'
14262 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14267 eval "$wx_cv_use_gif"
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_GIF = no; then
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14284 defaultval=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x"$enablestring" = xdisable; then
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14295 # Check whether --enable-pcx was given.
14296 if test "${enable_pcx+set}" = set; then
14297 enableval=$enable_pcx;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_pcx='wxUSE_PCX=yes'
14301 wx_cv_use_pcx='wxUSE_PCX=no'
14306 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14311 eval "$wx_cv_use_pcx"
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_PCX = no; then
14323 { echo "$as_me:$LINENO: result: $result" >&5
14324 echo "${ECHO_T}$result" >&6; }
14328 defaultval=$wxUSE_ALL_FEATURES
14329 if test -z "$defaultval"; then
14330 if test x"$enablestring" = xdisable; then
14337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14339 # Check whether --enable-tga was given.
14340 if test "${enable_tga+set}" = set; then
14341 enableval=$enable_tga;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_tga='wxUSE_TGA=yes'
14345 wx_cv_use_tga='wxUSE_TGA=no'
14350 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14355 eval "$wx_cv_use_tga"
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_TGA = no; then
14367 { echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14372 defaultval=$wxUSE_ALL_FEATURES
14373 if test -z "$defaultval"; then
14374 if test x"$enablestring" = xdisable; then
14381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14382 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14383 # Check whether --enable-iff was given.
14384 if test "${enable_iff+set}" = set; then
14385 enableval=$enable_iff;
14386 if test "$enableval" = yes; then
14387 wx_cv_use_iff='wxUSE_IFF=yes'
14389 wx_cv_use_iff='wxUSE_IFF=no'
14394 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14399 eval "$wx_cv_use_iff"
14401 if test x"$enablestring" = xdisable; then
14402 if test $wxUSE_IFF = no; then
14411 { echo "$as_me:$LINENO: result: $result" >&5
14412 echo "${ECHO_T}$result" >&6; }
14416 defaultval=$wxUSE_ALL_FEATURES
14417 if test -z "$defaultval"; then
14418 if test x"$enablestring" = xdisable; then
14425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14426 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14427 # Check whether --enable-pnm was given.
14428 if test "${enable_pnm+set}" = set; then
14429 enableval=$enable_pnm;
14430 if test "$enableval" = yes; then
14431 wx_cv_use_pnm='wxUSE_PNM=yes'
14433 wx_cv_use_pnm='wxUSE_PNM=no'
14438 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14443 eval "$wx_cv_use_pnm"
14445 if test x"$enablestring" = xdisable; then
14446 if test $wxUSE_PNM = no; then
14455 { echo "$as_me:$LINENO: result: $result" >&5
14456 echo "${ECHO_T}$result" >&6; }
14460 defaultval=$wxUSE_ALL_FEATURES
14461 if test -z "$defaultval"; then
14462 if test x"$enablestring" = xdisable; then
14469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14470 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14471 # Check whether --enable-xpm was given.
14472 if test "${enable_xpm+set}" = set; then
14473 enableval=$enable_xpm;
14474 if test "$enableval" = yes; then
14475 wx_cv_use_xpm='wxUSE_XPM=yes'
14477 wx_cv_use_xpm='wxUSE_XPM=no'
14482 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14487 eval "$wx_cv_use_xpm"
14489 if test x"$enablestring" = xdisable; then
14490 if test $wxUSE_XPM = no; then
14499 { echo "$as_me:$LINENO: result: $result" >&5
14500 echo "${ECHO_T}$result" >&6; }
14504 defaultval=$wxUSE_ALL_FEATURES
14505 if test -z "$defaultval"; then
14506 if test x"$enablestring" = xdisable; then
14513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14514 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14515 # Check whether --enable-ico_cur was given.
14516 if test "${enable_ico_cur+set}" = set; then
14517 enableval=$enable_ico_cur;
14518 if test "$enableval" = yes; then
14519 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14521 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14526 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14531 eval "$wx_cv_use_ico_cur"
14533 if test x"$enablestring" = xdisable; then
14534 if test $wxUSE_ICO_CUR = no; then
14540 result=$wxUSE_ICO_CUR
14543 { echo "$as_me:$LINENO: result: $result" >&5
14544 echo "${ECHO_T}$result" >&6; }
14550 defaultval=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x"$enablestring" = xdisable; then
14559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14560 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14561 # Check whether --enable-dccache was given.
14562 if test "${enable_dccache+set}" = set; then
14563 enableval=$enable_dccache;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14567 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14572 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14577 eval "$wx_cv_use_dccache"
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_DC_CACHEING = no; then
14586 result=$wxUSE_DC_CACHEING
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14605 # Check whether --enable-ps-in-msw was given.
14606 if test "${enable_ps_in_msw+set}" = set; then
14607 enableval=$enable_ps_in_msw;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14611 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14616 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14621 eval "$wx_cv_use_ps_in_msw"
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14630 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14633 { echo "$as_me:$LINENO: result: $result" >&5
14634 echo "${ECHO_T}$result" >&6; }
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14648 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14649 # Check whether --enable-ownerdrawn was given.
14650 if test "${enable_ownerdrawn+set}" = set; then
14651 enableval=$enable_ownerdrawn;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14655 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14660 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14665 eval "$wx_cv_use_ownerdrawn"
14667 if test x"$enablestring" = xdisable; then
14668 if test $wxUSE_OWNER_DRAWN = no; then
14674 result=$wxUSE_OWNER_DRAWN
14677 { echo "$as_me:$LINENO: result: $result" >&5
14678 echo "${ECHO_T}$result" >&6; }
14682 defaultval=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x"$enablestring" = xdisable; then
14691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14692 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14693 # Check whether --enable-uxtheme was given.
14694 if test "${enable_uxtheme+set}" = set; then
14695 enableval=$enable_uxtheme;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14699 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14704 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14709 eval "$wx_cv_use_uxtheme"
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_UXTHEME = no; then
14718 result=$wxUSE_UXTHEME
14721 { echo "$as_me:$LINENO: result: $result" >&5
14722 echo "${ECHO_T}$result" >&6; }
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14736 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14737 # Check whether --enable-wxdib was given.
14738 if test "${enable_wxdib+set}" = set; then
14739 enableval=$enable_wxdib;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_wxdib='wxUSE_DIB=yes'
14743 wx_cv_use_wxdib='wxUSE_DIB=no'
14748 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14753 eval "$wx_cv_use_wxdib"
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_DIB = no; then
14765 { echo "$as_me:$LINENO: result: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14770 defaultval=$wxUSE_ALL_FEATURES
14771 if test -z "$defaultval"; then
14772 if test x"$enablestring" = xdisable; then
14779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
14780 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
14781 # Check whether --enable-webviewie was given.
14782 if test "${enable_webviewie+set}" = set; then
14783 enableval=$enable_webviewie;
14784 if test "$enableval" = yes; then
14785 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
14787 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
14792 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
14797 eval "$wx_cv_use_webviewie"
14799 if test x"$enablestring" = xdisable; then
14800 if test $wxUSE_WEBVIEW_IE = no; then
14806 result=$wxUSE_WEBVIEW_IE
14809 { echo "$as_me:$LINENO: result: $result" >&5
14810 echo "${ECHO_T}$result" >&6; }
14813 if test "$wxUSE_MSW" != 1; then
14814 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14819 defaultval=$wxUSE_ALL_FEATURES
14820 if test -z "$defaultval"; then
14821 if test x"$enablestring" = xdisable; then
14828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14829 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14830 # Check whether --enable-autoidman was given.
14831 if test "${enable_autoidman+set}" = set; then
14832 enableval=$enable_autoidman;
14833 if test "$enableval" = yes; then
14834 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14836 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14841 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14846 eval "$wx_cv_use_autoidman"
14848 if test x"$enablestring" = xdisable; then
14849 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14855 result=$wxUSE_AUTOID_MANAGEMENT
14858 { echo "$as_me:$LINENO: result: $result" >&5
14859 echo "${ECHO_T}$result" >&6; }
14865 cat >confcache <<\_ACEOF
14866 # This file is a shell script that caches the results of configure
14867 # tests run on this system so they can be shared between configure
14868 # scripts and configure runs, see configure's option --config-cache.
14869 # It is not useful on other systems. If it contains results you don't
14870 # want to keep, you may remove or edit it.
14872 # config.status only pays attention to the cache file if you give it
14873 # the --recheck option to rerun configure.
14875 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14876 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14877 # following values.
14881 # The following way of writing the cache mishandles newlines in values,
14882 # but we know of no workaround that is simple, portable, and efficient.
14883 # So, we kill variables containing newlines.
14884 # Ultrix sh set writes to stderr and can't be redirected directly,
14885 # and sets the high bit in the cache file unless we assign to the vars.
14887 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14888 eval ac_val=\$$ac_var
14892 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14893 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14896 _ | IFS | as_nl) ;; #(
14897 *) $as_unset $ac_var ;;
14903 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14904 *${as_nl}ac_space=\ *)
14905 # `set' does not quote correctly, so add quotes (double-quote
14906 # substitution turns \\\\ into \\, and sed turns \\ into \).
14909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14912 # `set' quotes correctly as required by POSIX, so do not add quotes.
14913 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14922 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14924 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14926 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14927 if test -w "$cache_file"; then
14928 test "x$cache_file" != "x/dev/null" &&
14929 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14930 echo "$as_me: updating cache $cache_file" >&6;}
14931 cat confcache >$cache_file
14933 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14934 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14941 ac_cpp='$CPP $CPPFLAGS'
14942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14945 if test -n "$ac_tool_prefix"; then
14946 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14947 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14950 if test "${ac_cv_prog_CC+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14953 if test -n "$CC"; then
14954 ac_cv_prog_CC="$CC" # Let the user override the test.
14956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14957 for as_dir in $PATH
14960 test -z "$as_dir" && as_dir=.
14961 for ac_exec_ext in '' $ac_executable_extensions; do
14962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14963 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14974 if test -n "$CC"; then
14975 { echo "$as_me:$LINENO: result: $CC" >&5
14976 echo "${ECHO_T}$CC" >&6; }
14978 { echo "$as_me:$LINENO: result: no" >&5
14979 echo "${ECHO_T}no" >&6; }
14984 if test -z "$ac_cv_prog_CC"; then
14986 # Extract the first word of "gcc", so it can be a program name with args.
14987 set dummy gcc; ac_word=$2
14988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14990 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 if test -n "$ac_ct_CC"; then
14994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14997 for as_dir in $PATH
15000 test -z "$as_dir" && as_dir=.
15001 for ac_exec_ext in '' $ac_executable_extensions; do
15002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15003 ac_cv_prog_ac_ct_CC="gcc"
15004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15013 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15014 if test -n "$ac_ct_CC"; then
15015 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15016 echo "${ECHO_T}$ac_ct_CC" >&6; }
15018 { echo "$as_me:$LINENO: result: no" >&5
15019 echo "${ECHO_T}no" >&6; }
15022 if test "x$ac_ct_CC" = x; then
15025 case $cross_compiling:$ac_tool_warned in
15027 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15028 whose name does not start with the host triplet. If you think this
15029 configuration is useful to you, please write to autoconf@gnu.org." >&5
15030 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15031 whose name does not start with the host triplet. If you think this
15032 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15033 ac_tool_warned=yes ;;
15038 CC="$ac_cv_prog_CC"
15041 if test -z "$CC"; then
15042 if test -n "$ac_tool_prefix"; then
15043 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15044 set dummy ${ac_tool_prefix}cc; 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_CC+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15050 if test -n "$CC"; then
15051 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}cc"
15061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15071 if test -n "$CC"; then
15072 { echo "$as_me:$LINENO: result: $CC" >&5
15073 echo "${ECHO_T}$CC" >&6; }
15075 { echo "$as_me:$LINENO: result: no" >&5
15076 echo "${ECHO_T}no" >&6; }
15082 if test -z "$CC"; then
15083 # Extract the first word of "cc", so it can be a program name with args.
15084 set dummy cc; ac_word=$2
15085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15087 if test "${ac_cv_prog_CC+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6
15090 if test -n "$CC"; then
15091 ac_cv_prog_CC="$CC" # Let the user override the test.
15093 ac_prog_rejected=no
15094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15095 for as_dir in $PATH
15098 test -z "$as_dir" && as_dir=.
15099 for ac_exec_ext in '' $ac_executable_extensions; do
15100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15101 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15102 ac_prog_rejected=yes
15106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15113 if test $ac_prog_rejected = yes; then
15114 # We found a bogon in the path, so make sure we never use it.
15115 set dummy $ac_cv_prog_CC
15117 if test $# != 0; then
15118 # We chose a different compiler from the bogus one.
15119 # However, it has the same basename, so the bogon will be chosen
15120 # first if we set CC to just the basename; use the full file name.
15122 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15128 if test -n "$CC"; then
15129 { echo "$as_me:$LINENO: result: $CC" >&5
15130 echo "${ECHO_T}$CC" >&6; }
15132 { echo "$as_me:$LINENO: result: no" >&5
15133 echo "${ECHO_T}no" >&6; }
15138 if test -z "$CC"; then
15139 if test -n "$ac_tool_prefix"; then
15140 for ac_prog in cl.exe
15142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15146 if test "${ac_cv_prog_CC+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 if test -n "$CC"; then
15150 ac_cv_prog_CC="$CC" # Let the user override the test.
15152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15153 for as_dir in $PATH
15156 test -z "$as_dir" && as_dir=.
15157 for ac_exec_ext in '' $ac_executable_extensions; do
15158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15159 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15170 if test -n "$CC"; then
15171 { echo "$as_me:$LINENO: result: $CC" >&5
15172 echo "${ECHO_T}$CC" >&6; }
15174 { echo "$as_me:$LINENO: result: no" >&5
15175 echo "${ECHO_T}no" >&6; }
15179 test -n "$CC" && break
15182 if test -z "$CC"; then
15184 for ac_prog in cl.exe
15186 # Extract the first word of "$ac_prog", so it can be a program name with args.
15187 set dummy $ac_prog; ac_word=$2
15188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15191 echo $ECHO_N "(cached) $ECHO_C" >&6
15193 if test -n "$ac_ct_CC"; then
15194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15197 for as_dir in $PATH
15200 test -z "$as_dir" && as_dir=.
15201 for ac_exec_ext in '' $ac_executable_extensions; do
15202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15203 ac_cv_prog_ac_ct_CC="$ac_prog"
15204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15213 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15214 if test -n "$ac_ct_CC"; then
15215 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15216 echo "${ECHO_T}$ac_ct_CC" >&6; }
15218 { echo "$as_me:$LINENO: result: no" >&5
15219 echo "${ECHO_T}no" >&6; }
15223 test -n "$ac_ct_CC" && break
15226 if test "x$ac_ct_CC" = x; then
15229 case $cross_compiling:$ac_tool_warned in
15231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15232 whose name does not start with the host triplet. If you think this
15233 configuration is useful to you, please write to autoconf@gnu.org." >&5
15234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15235 whose name does not start with the host triplet. If you think this
15236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15237 ac_tool_warned=yes ;;
15246 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15247 See \`config.log' for more details." >&5
15248 echo "$as_me: error: no acceptable C compiler found in \$PATH
15249 See \`config.log' for more details." >&2;}
15250 { (exit 1); exit 1; }; }
15252 # Provide some information about the compiler.
15253 echo "$as_me:$LINENO: checking for C compiler version" >&5
15254 ac_compiler=`set X $ac_compile; echo $2`
15255 { (ac_try="$ac_compiler --version >&5"
15256 case "(($ac_try" in
15257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15261 (eval "$ac_compiler --version >&5") 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }
15265 { (ac_try="$ac_compiler -v >&5"
15266 case "(($ac_try" in
15267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15268 *) ac_try_echo=$ac_try;;
15270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15271 (eval "$ac_compiler -v >&5") 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }
15275 { (ac_try="$ac_compiler -V >&5"
15276 case "(($ac_try" in
15277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15278 *) ac_try_echo=$ac_try;;
15280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15281 (eval "$ac_compiler -V >&5") 2>&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); }
15286 cat >conftest.$ac_ext <<_ACEOF
15289 cat confdefs.h >>conftest.$ac_ext
15290 cat >>conftest.$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15301 ac_clean_files_save=$ac_clean_files
15302 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15303 # Try to create an executable without -o first, disregard a.out.
15304 # It will help us diagnose broken compilers, and finding out an intuition
15306 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15307 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15308 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15310 # List of possible output files, starting from the most likely.
15311 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15312 # only as a last resort. b.out is created by i960 compilers.
15313 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15315 # The IRIX 6 linker writes into existing files which may not be
15316 # executable, retaining their permissions. Remove them first so a
15317 # subsequent execution test works.
15319 for ac_file in $ac_files
15322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15323 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15328 if { (ac_try="$ac_link_default"
15329 case "(($ac_try" in
15330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15331 *) ac_try_echo=$ac_try;;
15333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15334 (eval "$ac_link_default") 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; then
15338 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15339 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15340 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15341 # so that the user can short-circuit this test for compilers unknown to
15343 for ac_file in $ac_files ''
15345 test -f "$ac_file" || continue
15347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15350 # We found the default executable, but exeext='' is most
15354 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15356 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15358 # We set ac_cv_exeext here because the later test for it is not
15359 # safe: cross compilers may not add the suffix if given an `-o'
15360 # argument, so we may need to know it at that point already.
15361 # Even if this section looks crufty: it has the advantage of
15362 # actually working.
15368 test "$ac_cv_exeext" = no && ac_cv_exeext=
15374 { echo "$as_me:$LINENO: result: $ac_file" >&5
15375 echo "${ECHO_T}$ac_file" >&6; }
15376 if test -z "$ac_file"; then
15377 echo "$as_me: failed program was:" >&5
15378 sed 's/^/| /' conftest.$ac_ext >&5
15380 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15381 See \`config.log' for more details." >&5
15382 echo "$as_me: error: C compiler cannot create executables
15383 See \`config.log' for more details." >&2;}
15384 { (exit 77); exit 77; }; }
15387 ac_exeext=$ac_cv_exeext
15389 # Check that the compiler produces executables we can run. If not, either
15390 # the compiler is broken, or we cross compile.
15391 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15392 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15393 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15394 # If not cross compiling, check that we can run a simple program.
15395 if test "$cross_compiling" != yes; then
15396 if { ac_try='./$ac_file'
15397 { (case "(($ac_try" in
15398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15399 *) ac_try_echo=$ac_try;;
15401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15402 (eval "$ac_try") 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15408 if test "$cross_compiling" = maybe; then
15409 cross_compiling=yes
15411 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15412 If you meant to cross compile, use \`--host'.
15413 See \`config.log' for more details." >&5
15414 echo "$as_me: error: cannot run C compiled programs.
15415 If you meant to cross compile, use \`--host'.
15416 See \`config.log' for more details." >&2;}
15417 { (exit 1); exit 1; }; }
15421 { echo "$as_me:$LINENO: result: yes" >&5
15422 echo "${ECHO_T}yes" >&6; }
15424 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15425 ac_clean_files=$ac_clean_files_save
15426 # Check that the compiler produces executables we can run. If not, either
15427 # the compiler is broken, or we cross compile.
15428 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15429 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15430 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15431 echo "${ECHO_T}$cross_compiling" >&6; }
15433 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15434 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15435 if { (ac_try="$ac_link"
15436 case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15441 (eval "$ac_link") 2>&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); }; then
15445 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15446 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15447 # work properly (i.e., refer to `conftest.exe'), while it won't with
15449 for ac_file in conftest.exe conftest conftest.*; do
15450 test -f "$ac_file" || continue
15452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15453 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15459 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15460 See \`config.log' for more details." >&5
15461 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15462 See \`config.log' for more details." >&2;}
15463 { (exit 1); exit 1; }; }
15466 rm -f conftest$ac_cv_exeext
15467 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15468 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15470 rm -f conftest.$ac_ext
15471 EXEEXT=$ac_cv_exeext
15473 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15474 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15475 if test "${ac_cv_objext+set}" = set; then
15476 echo $ECHO_N "(cached) $ECHO_C" >&6
15478 cat >conftest.$ac_ext <<_ACEOF
15481 cat confdefs.h >>conftest.$ac_ext
15482 cat >>conftest.$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15493 rm -f conftest.o conftest.obj
15494 if { (ac_try="$ac_compile"
15495 case "(($ac_try" in
15496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15497 *) ac_try_echo=$ac_try;;
15499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15500 (eval "$ac_compile") 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; then
15504 for ac_file in conftest.o conftest.obj conftest.*; do
15505 test -f "$ac_file" || continue;
15507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15508 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.$ac_ext >&5
15516 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15517 See \`config.log' for more details." >&5
15518 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15519 See \`config.log' for more details." >&2;}
15520 { (exit 1); exit 1; }; }
15523 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15525 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15526 echo "${ECHO_T}$ac_cv_objext" >&6; }
15527 OBJEXT=$ac_cv_objext
15529 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15530 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15531 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 cat >conftest.$ac_ext <<_ACEOF
15537 cat confdefs.h >>conftest.$ac_ext
15538 cat >>conftest.$ac_ext <<_ACEOF
15539 /* end confdefs.h. */
15552 rm -f conftest.$ac_objext
15553 if { (ac_try="$ac_compile"
15554 case "(($ac_try" in
15555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15556 *) ac_try_echo=$ac_try;;
15558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15559 (eval "$ac_compile") 2>conftest.er1
15561 grep -v '^ *+' conftest.er1 >conftest.err
15563 cat conftest.err >&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } && {
15566 test -z "$ac_c_werror_flag" ||
15567 test ! -s conftest.err
15568 } && test -s conftest.$ac_objext; then
15569 ac_compiler_gnu=yes
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.$ac_ext >&5
15577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15578 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15581 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15582 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15583 GCC=`test $ac_compiler_gnu = yes && echo yes`
15584 ac_test_CFLAGS=${CFLAGS+set}
15585 ac_save_CFLAGS=$CFLAGS
15586 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15587 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15588 if test "${ac_cv_prog_cc_g+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15591 ac_save_c_werror_flag=$ac_c_werror_flag
15592 ac_c_werror_flag=yes
15595 cat >conftest.$ac_ext <<_ACEOF
15598 cat confdefs.h >>conftest.$ac_ext
15599 cat >>conftest.$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15610 rm -f conftest.$ac_objext
15611 if { (ac_try="$ac_compile"
15612 case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_compile") 2>conftest.er1
15619 grep -v '^ *+' conftest.er1 >conftest.err
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } && {
15624 test -z "$ac_c_werror_flag" ||
15625 test ! -s conftest.err
15626 } && test -s conftest.$ac_objext; then
15627 ac_cv_prog_cc_g=yes
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15633 cat >conftest.$ac_ext <<_ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15648 rm -f conftest.$ac_objext
15649 if { (ac_try="$ac_compile"
15650 case "(($ac_try" in
15651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15652 *) ac_try_echo=$ac_try;;
15654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15655 (eval "$ac_compile") 2>conftest.er1
15657 grep -v '^ *+' conftest.er1 >conftest.err
15659 cat conftest.err >&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } && {
15662 test -z "$ac_c_werror_flag" ||
15663 test ! -s conftest.err
15664 } && test -s conftest.$ac_objext; then
15667 echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.$ac_ext >&5
15670 ac_c_werror_flag=$ac_save_c_werror_flag
15672 cat >conftest.$ac_ext <<_ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15687 rm -f conftest.$ac_objext
15688 if { (ac_try="$ac_compile"
15689 case "(($ac_try" in
15690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15691 *) ac_try_echo=$ac_try;;
15693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15694 (eval "$ac_compile") 2>conftest.er1
15696 grep -v '^ *+' conftest.er1 >conftest.err
15698 cat conftest.err >&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } && {
15701 test -z "$ac_c_werror_flag" ||
15702 test ! -s conftest.err
15703 } && test -s conftest.$ac_objext; then
15704 ac_cv_prog_cc_g=yes
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15719 ac_c_werror_flag=$ac_save_c_werror_flag
15721 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15722 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15723 if test "$ac_test_CFLAGS" = set; then
15724 CFLAGS=$ac_save_CFLAGS
15725 elif test $ac_cv_prog_cc_g = yes; then
15726 if test "$GCC" = yes; then
15732 if test "$GCC" = yes; then
15738 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15739 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15740 if test "${ac_cv_prog_cc_c89+set}" = set; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15743 ac_cv_prog_cc_c89=no
15745 cat >conftest.$ac_ext <<_ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751 #include <stdarg.h>
15753 #include <sys/types.h>
15754 #include <sys/stat.h>
15755 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15756 struct buf { int x; };
15757 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15758 static char *e (p, i)
15764 static char *f (char * (*g) (char **, int), char **p, ...)
15769 s = g (p, va_arg (v,int));
15774 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15775 function prototypes and stuff, but not '\xHH' hex character constants.
15776 These don't provoke an error unfortunately, instead are silently treated
15777 as 'x'. The following induces an error, until -std is added to get
15778 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15779 array size at least. It's necessary to write '\x00'==0 to get something
15780 that's true only with -std. */
15781 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15783 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15784 inside strings and character constants. */
15786 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15788 int test (int i, double x);
15789 struct s1 {int (*f) (int a);};
15790 struct s2 {int (*f) (double a);};
15791 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15797 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15802 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15803 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15805 CC="$ac_save_CC $ac_arg"
15806 rm -f conftest.$ac_objext
15807 if { (ac_try="$ac_compile"
15808 case "(($ac_try" in
15809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15810 *) ac_try_echo=$ac_try;;
15812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15813 (eval "$ac_compile") 2>conftest.er1
15815 grep -v '^ *+' conftest.er1 >conftest.err
15817 cat conftest.err >&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } && {
15820 test -z "$ac_c_werror_flag" ||
15821 test ! -s conftest.err
15822 } && test -s conftest.$ac_objext; then
15823 ac_cv_prog_cc_c89=$ac_arg
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.$ac_ext >&5
15831 rm -f core conftest.err conftest.$ac_objext
15832 test "x$ac_cv_prog_cc_c89" != "xno" && break
15834 rm -f conftest.$ac_ext
15839 case "x$ac_cv_prog_cc_c89" in
15841 { echo "$as_me:$LINENO: result: none needed" >&5
15842 echo "${ECHO_T}none needed" >&6; } ;;
15844 { echo "$as_me:$LINENO: result: unsupported" >&5
15845 echo "${ECHO_T}unsupported" >&6; } ;;
15847 CC="$CC $ac_cv_prog_cc_c89"
15848 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15849 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15854 ac_cpp='$CPP $CPPFLAGS'
15855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15867 ac_cpp='$CPP $CPPFLAGS'
15868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15872 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15873 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15874 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15875 echo $ECHO_N "(cached) $ECHO_C" >&6
15877 cat >conftest.$ac_ext <<_ACEOF
15880 cat confdefs.h >>conftest.$ac_ext
15881 cat >>conftest.$ac_ext <<_ACEOF
15882 /* end confdefs.h. */
15888 #ifndef __INTEL_COMPILER
15896 rm -f conftest.$ac_objext
15897 if { (ac_try="$ac_compile"
15898 case "(($ac_try" in
15899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15900 *) ac_try_echo=$ac_try;;
15902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15903 (eval "$ac_compile") 2>conftest.er1
15905 grep -v '^ *+' conftest.er1 >conftest.err
15907 cat conftest.err >&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); } && {
15910 test -z "$ac_c_werror_flag" ||
15911 test ! -s conftest.err
15912 } && test -s conftest.$ac_objext; then
15913 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15915 echo "$as_me: failed program was:" >&5
15916 sed 's/^/| /' conftest.$ac_ext >&5
15918 bakefile_cv_c_compiler___INTEL_COMPILER=no
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15926 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15927 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15928 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15934 ac_cpp='$CPP $CPPFLAGS'
15935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15942 if test "$INTELCC" = "yes"; then
15946 ac_cpp='$CPP $CPPFLAGS'
15947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15951 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15952 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15953 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15954 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 cat >conftest.$ac_ext <<_ACEOF
15959 cat confdefs.h >>conftest.$ac_ext
15960 cat >>conftest.$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15967 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15975 rm -f conftest.$ac_objext
15976 if { (ac_try="$ac_compile"
15977 case "(($ac_try" in
15978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15979 *) ac_try_echo=$ac_try;;
15981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15982 (eval "$ac_compile") 2>conftest.er1
15984 grep -v '^ *+' conftest.er1 >conftest.err
15986 cat conftest.err >&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } && {
15989 test -z "$ac_c_werror_flag" ||
15990 test ! -s conftest.err
15991 } && test -s conftest.$ac_objext; then
15992 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16005 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16006 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16007 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16013 ac_cpp='$CPP $CPPFLAGS'
16014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16023 ac_cpp='$CPP $CPPFLAGS'
16024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16028 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
16029 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
16030 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 cat >conftest.$ac_ext <<_ACEOF
16036 cat confdefs.h >>conftest.$ac_ext
16037 cat >>conftest.$ac_ext <<_ACEOF
16038 /* end confdefs.h. */
16044 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16052 rm -f conftest.$ac_objext
16053 if { (ac_try="$ac_compile"
16054 case "(($ac_try" in
16055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16056 *) ac_try_echo=$ac_try;;
16058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16059 (eval "$ac_compile") 2>conftest.er1
16061 grep -v '^ *+' conftest.er1 >conftest.err
16063 cat conftest.err >&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } && {
16066 test -z "$ac_c_werror_flag" ||
16067 test ! -s conftest.err
16068 } && test -s conftest.$ac_objext; then
16069 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16071 echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.$ac_ext >&5
16074 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16082 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16083 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16084 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16099 if test "x$GCC" != "xyes"; then
16100 if test "xCC" = "xC"; then
16101 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16102 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16103 if test "${bakefile_cv_c_exto+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
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 conftest.$ac_ext.o
16122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16123 (eval $ac_compile) 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; then
16127 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16129 conftest.$ac_ext.o)
16130 bakefile_cv_c_exto="-ext o"
16137 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16138 See \`config.log' for more details." >&5
16139 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16140 See \`config.log' for more details." >&2;}
16141 { (exit 1); exit 1; }; }
16145 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16148 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16149 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16150 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16151 if test "c" = "c"; then
16152 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16154 if test "c" = "cxx"; then
16155 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16159 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16160 unset ac_cv_prog_cc_g
16161 ac_test_CFLAGS=${CFLAGS+set}
16162 ac_save_CFLAGS=$CFLAGS
16163 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16164 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16165 if test "${ac_cv_prog_cc_g+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 ac_save_c_werror_flag=$ac_c_werror_flag
16169 ac_c_werror_flag=yes
16172 cat >conftest.$ac_ext <<_ACEOF
16175 cat confdefs.h >>conftest.$ac_ext
16176 cat >>conftest.$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16187 rm -f conftest.$ac_objext
16188 if { (ac_try="$ac_compile"
16189 case "(($ac_try" in
16190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16191 *) ac_try_echo=$ac_try;;
16193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16194 (eval "$ac_compile") 2>conftest.er1
16196 grep -v '^ *+' conftest.er1 >conftest.err
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } && {
16201 test -z "$ac_c_werror_flag" ||
16202 test ! -s conftest.err
16203 } && test -s conftest.$ac_objext; then
16204 ac_cv_prog_cc_g=yes
16206 echo "$as_me: failed program was:" >&5
16207 sed 's/^/| /' conftest.$ac_ext >&5
16210 cat >conftest.$ac_ext <<_ACEOF
16213 cat confdefs.h >>conftest.$ac_ext
16214 cat >>conftest.$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16225 rm -f conftest.$ac_objext
16226 if { (ac_try="$ac_compile"
16227 case "(($ac_try" in
16228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16229 *) ac_try_echo=$ac_try;;
16231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 (eval "$ac_compile") 2>conftest.er1
16234 grep -v '^ *+' conftest.er1 >conftest.err
16236 cat conftest.err >&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } && {
16239 test -z "$ac_c_werror_flag" ||
16240 test ! -s conftest.err
16241 } && test -s conftest.$ac_objext; then
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.$ac_ext >&5
16247 ac_c_werror_flag=$ac_save_c_werror_flag
16249 cat >conftest.$ac_ext <<_ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16264 rm -f conftest.$ac_objext
16265 if { (ac_try="$ac_compile"
16266 case "(($ac_try" in
16267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16268 *) ac_try_echo=$ac_try;;
16270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16271 (eval "$ac_compile") 2>conftest.er1
16273 grep -v '^ *+' conftest.er1 >conftest.err
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } && {
16278 test -z "$ac_c_werror_flag" ||
16279 test ! -s conftest.err
16280 } && test -s conftest.$ac_objext; then
16281 ac_cv_prog_cc_g=yes
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.$ac_ext >&5
16289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16296 ac_c_werror_flag=$ac_save_c_werror_flag
16298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16299 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16300 if test "$ac_test_CFLAGS" = set; then
16301 CFLAGS=$ac_save_CFLAGS
16302 elif test $ac_cv_prog_cc_g = yes; then
16303 if test "$GCC" = yes; then
16309 if test "$GCC" = yes; then
16323 ac_cpp='$CPP $CPPFLAGS'
16324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16328 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16329 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16330 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 cat >conftest.$ac_ext <<_ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16352 rm -f conftest.$ac_objext
16353 if { (ac_try="$ac_compile"
16354 case "(($ac_try" in
16355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16356 *) ac_try_echo=$ac_try;;
16358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16359 (eval "$ac_compile") 2>conftest.er1
16361 grep -v '^ *+' conftest.er1 >conftest.err
16363 cat conftest.err >&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); } && {
16366 test -z "$ac_c_werror_flag" ||
16367 test ! -s conftest.err
16368 } && test -s conftest.$ac_objext; then
16369 bakefile_cv_c_compiler___xlC__=yes
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16374 bakefile_cv_c_compiler___xlC__=no
16378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16382 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16383 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16384 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16390 ac_cpp='$CPP $CPPFLAGS'
16391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16403 ac_cpp='$CPP $CPPFLAGS'
16404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16408 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16409 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16410 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16411 echo $ECHO_N "(cached) $ECHO_C" >&6
16413 cat >conftest.$ac_ext <<_ACEOF
16416 cat confdefs.h >>conftest.$ac_ext
16417 cat >>conftest.$ac_ext <<_ACEOF
16418 /* end confdefs.h. */
16432 rm -f conftest.$ac_objext
16433 if { (ac_try="$ac_compile"
16434 case "(($ac_try" in
16435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16436 *) ac_try_echo=$ac_try;;
16438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16439 (eval "$ac_compile") 2>conftest.er1
16441 grep -v '^ *+' conftest.er1 >conftest.err
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } && {
16446 test -z "$ac_c_werror_flag" ||
16447 test ! -s conftest.err
16448 } && test -s conftest.$ac_objext; then
16449 bakefile_cv_c_compiler___MWERKS__=yes
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.$ac_ext >&5
16454 bakefile_cv_c_compiler___MWERKS__=no
16458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16462 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16463 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16464 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16470 ac_cpp='$CPP $CPPFLAGS'
16471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16477 if test "$MWCC" != "yes"; then
16481 ac_cpp='$CPP $CPPFLAGS'
16482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16487 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16488 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16489 echo $ECHO_N "(cached) $ECHO_C" >&6
16491 cat >conftest.$ac_ext <<_ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16510 rm -f conftest.$ac_objext
16511 if { (ac_try="$ac_compile"
16512 case "(($ac_try" in
16513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16514 *) ac_try_echo=$ac_try;;
16516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16517 (eval "$ac_compile") 2>conftest.er1
16519 grep -v '^ *+' conftest.er1 >conftest.err
16521 cat conftest.err >&5
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); } && {
16524 test -z "$ac_c_werror_flag" ||
16525 test ! -s conftest.err
16526 } && test -s conftest.$ac_objext; then
16527 bakefile_cv_c_compiler___xlC__=yes
16529 echo "$as_me: failed program was:" >&5
16530 sed 's/^/| /' conftest.$ac_ext >&5
16532 bakefile_cv_c_compiler___xlC__=no
16536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16540 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16541 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16542 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16548 ac_cpp='$CPP $CPPFLAGS'
16549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16562 ac_cpp='$CPP $CPPFLAGS'
16563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16567 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16568 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16569 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 cat >conftest.$ac_ext <<_ACEOF
16575 cat confdefs.h >>conftest.$ac_ext
16576 cat >>conftest.$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16583 #ifndef _SGI_COMPILER_VERSION
16591 rm -f conftest.$ac_objext
16592 if { (ac_try="$ac_compile"
16593 case "(($ac_try" in
16594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_compile") 2>conftest.er1
16600 grep -v '^ *+' conftest.er1 >conftest.err
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } && {
16605 test -z "$ac_c_werror_flag" ||
16606 test ! -s conftest.err
16607 } && test -s conftest.$ac_objext; then
16608 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.$ac_ext >&5
16613 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16621 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16622 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16623 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16629 ac_cpp='$CPP $CPPFLAGS'
16630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16639 if test "$INTELCC" != "yes"; then
16643 ac_cpp='$CPP $CPPFLAGS'
16644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16648 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16649 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16650 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 cat >conftest.$ac_ext <<_ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16672 rm -f conftest.$ac_objext
16673 if { (ac_try="$ac_compile"
16674 case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_compile") 2>conftest.er1
16681 grep -v '^ *+' conftest.er1 >conftest.err
16683 cat conftest.err >&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } && {
16686 test -z "$ac_c_werror_flag" ||
16687 test ! -s conftest.err
16688 } && test -s conftest.$ac_objext; then
16689 bakefile_cv_c_compiler___SUNPRO_C=yes
16691 echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16694 bakefile_cv_c_compiler___SUNPRO_C=no
16698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16702 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16703 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16704 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16710 ac_cpp='$CPP $CPPFLAGS'
16711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16724 ac_cpp='$CPP $CPPFLAGS'
16725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16729 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16730 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16731 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16732 echo $ECHO_N "(cached) $ECHO_C" >&6
16734 cat >conftest.$ac_ext <<_ACEOF
16737 cat confdefs.h >>conftest.$ac_ext
16738 cat >>conftest.$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16753 rm -f conftest.$ac_objext
16754 if { (ac_try="$ac_compile"
16755 case "(($ac_try" in
16756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16757 *) ac_try_echo=$ac_try;;
16759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16760 (eval "$ac_compile") 2>conftest.er1
16762 grep -v '^ *+' conftest.er1 >conftest.err
16764 cat conftest.err >&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); } && {
16767 test -z "$ac_c_werror_flag" ||
16768 test ! -s conftest.err
16769 } && test -s conftest.$ac_objext; then
16770 bakefile_cv_c_compiler___HP_cc=yes
16772 echo "$as_me: failed program was:" >&5
16773 sed 's/^/| /' conftest.$ac_ext >&5
16775 bakefile_cv_c_compiler___HP_cc=no
16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16784 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16785 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16791 ac_cpp='$CPP $CPPFLAGS'
16792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16804 ac_cpp='$CPP $CPPFLAGS'
16805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16809 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16810 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16811 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16814 cat >conftest.$ac_ext <<_ACEOF
16817 cat confdefs.h >>conftest.$ac_ext
16818 cat >>conftest.$ac_ext <<_ACEOF
16819 /* end confdefs.h. */
16833 rm -f conftest.$ac_objext
16834 if { (ac_try="$ac_compile"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_compile") 2>conftest.er1
16842 grep -v '^ *+' conftest.er1 >conftest.err
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } && {
16847 test -z "$ac_c_werror_flag" ||
16848 test ! -s conftest.err
16849 } && test -s conftest.$ac_objext; then
16850 bakefile_cv_c_compiler___DECC=yes
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16855 bakefile_cv_c_compiler___DECC=no
16859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16863 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16864 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16865 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16871 ac_cpp='$CPP $CPPFLAGS'
16872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16884 ac_cpp='$CPP $CPPFLAGS'
16885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16889 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16890 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16891 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 cat >conftest.$ac_ext <<_ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16913 rm -f conftest.$ac_objext
16914 if { (ac_try="$ac_compile"
16915 case "(($ac_try" in
16916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16917 *) ac_try_echo=$ac_try;;
16919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16920 (eval "$ac_compile") 2>conftest.er1
16922 grep -v '^ *+' conftest.er1 >conftest.err
16924 cat conftest.err >&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); } && {
16927 test -z "$ac_c_werror_flag" ||
16928 test ! -s conftest.err
16929 } && test -s conftest.$ac_objext; then
16930 bakefile_cv_c_compiler___SUNPRO_C=yes
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.$ac_ext >&5
16935 bakefile_cv_c_compiler___SUNPRO_C=no
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16943 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16944 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16945 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16951 ac_cpp='$CPP $CPPFLAGS'
16952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16965 ac_cpp='$CPP $CPPFLAGS'
16966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16969 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16970 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16971 # On Suns, sometimes $CPP names a directory.
16972 if test -n "$CPP" && test -d "$CPP"; then
16975 if test -z "$CPP"; then
16976 if test "${ac_cv_prog_CPP+set}" = set; then
16977 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 # Double quotes because CPP needs to be expanded
16980 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16982 ac_preproc_ok=false
16983 for ac_c_preproc_warn_flag in '' yes
16985 # Use a header file that comes with gcc, so configuring glibc
16986 # with a fresh cross-compiler works.
16987 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16988 # <limits.h> exists even on freestanding compilers.
16989 # On the NeXT, cc -E runs the code through the compiler's parser,
16990 # not just through cpp. "Syntax error" is here to catch this case.
16991 cat >conftest.$ac_ext <<_ACEOF
16994 cat confdefs.h >>conftest.$ac_ext
16995 cat >>conftest.$ac_ext <<_ACEOF
16996 /* end confdefs.h. */
16998 # include <limits.h>
17000 # include <assert.h>
17004 if { (ac_try="$ac_cpp conftest.$ac_ext"
17005 case "(($ac_try" in
17006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17007 *) ac_try_echo=$ac_try;;
17009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17012 grep -v '^ *+' conftest.er1 >conftest.err
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } >/dev/null && {
17017 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17018 test ! -s conftest.err
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17025 # Broken: fails on valid input.
17029 rm -f conftest.err conftest.$ac_ext
17031 # OK, works on sane cases. Now check whether nonexistent headers
17032 # can be detected and how.
17033 cat >conftest.$ac_ext <<_ACEOF
17036 cat confdefs.h >>conftest.$ac_ext
17037 cat >>conftest.$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039 #include <ac_nonexistent.h>
17041 if { (ac_try="$ac_cpp conftest.$ac_ext"
17042 case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17049 grep -v '^ *+' conftest.er1 >conftest.err
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } >/dev/null && {
17054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17055 test ! -s conftest.err
17057 # Broken: success on invalid input.
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 # Passes both tests.
17068 rm -f conftest.err conftest.$ac_ext
17071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17072 rm -f conftest.err conftest.$ac_ext
17073 if $ac_preproc_ok; then
17078 ac_cv_prog_CPP=$CPP
17081 CPP=$ac_cv_prog_CPP
17083 ac_cv_prog_CPP=$CPP
17085 { echo "$as_me:$LINENO: result: $CPP" >&5
17086 echo "${ECHO_T}$CPP" >&6; }
17087 ac_preproc_ok=false
17088 for ac_c_preproc_warn_flag in '' yes
17090 # Use a header file that comes with gcc, so configuring glibc
17091 # with a fresh cross-compiler works.
17092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17093 # <limits.h> exists even on freestanding compilers.
17094 # On the NeXT, cc -E runs the code through the compiler's parser,
17095 # not just through cpp. "Syntax error" is here to catch this case.
17096 cat >conftest.$ac_ext <<_ACEOF
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17103 # include <limits.h>
17105 # include <assert.h>
17109 if { (ac_try="$ac_cpp conftest.$ac_ext"
17110 case "(($ac_try" in
17111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17117 grep -v '^ *+' conftest.er1 >conftest.err
17119 cat conftest.err >&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } >/dev/null && {
17122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17123 test ! -s conftest.err
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.$ac_ext >&5
17130 # Broken: fails on valid input.
17134 rm -f conftest.err conftest.$ac_ext
17136 # OK, works on sane cases. Now check whether nonexistent headers
17137 # can be detected and how.
17138 cat >conftest.$ac_ext <<_ACEOF
17141 cat confdefs.h >>conftest.$ac_ext
17142 cat >>conftest.$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 #include <ac_nonexistent.h>
17146 if { (ac_try="$ac_cpp conftest.$ac_ext"
17147 case "(($ac_try" in
17148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17149 *) ac_try_echo=$ac_try;;
17151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17154 grep -v '^ *+' conftest.er1 >conftest.err
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } >/dev/null && {
17159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17160 test ! -s conftest.err
17162 # Broken: success on invalid input.
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17168 # Passes both tests.
17173 rm -f conftest.err conftest.$ac_ext
17176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17177 rm -f conftest.err conftest.$ac_ext
17178 if $ac_preproc_ok; then
17181 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17182 See \`config.log' for more details." >&5
17183 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17184 See \`config.log' for more details." >&2;}
17185 { (exit 1); exit 1; }; }
17189 ac_cpp='$CPP $CPPFLAGS'
17190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17195 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17196 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17197 if test "${ac_cv_path_GREP+set}" = set; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17200 # Extract the first word of "grep ggrep" to use in msg output
17201 if test -z "$GREP"; then
17202 set dummy grep ggrep; ac_prog_name=$2
17203 if test "${ac_cv_path_GREP+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 ac_path_GREP_found=false
17207 # Loop through the user's path and test for each of PROGNAME-LIST
17208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17209 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17212 test -z "$as_dir" && as_dir=.
17213 for ac_prog in grep ggrep; do
17214 for ac_exec_ext in '' $ac_executable_extensions; do
17215 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17216 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17217 # Check for GNU ac_path_GREP and select it if it is found.
17218 # Check for GNU $ac_path_GREP
17219 case `"$ac_path_GREP" --version 2>&1` in
17221 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17224 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17227 cat "conftest.in" "conftest.in" >"conftest.tmp"
17228 mv "conftest.tmp" "conftest.in"
17229 cp "conftest.in" "conftest.nl"
17230 echo 'GREP' >> "conftest.nl"
17231 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17232 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17233 ac_count=`expr $ac_count + 1`
17234 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17235 # Best one so far, save it but keep looking for a better one
17236 ac_cv_path_GREP="$ac_path_GREP"
17237 ac_path_GREP_max=$ac_count
17239 # 10*(2^10) chars as input seems more than enough
17240 test $ac_count -gt 10 && break
17242 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17246 $ac_path_GREP_found && break 3
17256 GREP="$ac_cv_path_GREP"
17257 if test -z "$GREP"; then
17258 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17259 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17260 { (exit 1); exit 1; }; }
17264 ac_cv_path_GREP=$GREP
17269 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17270 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17271 GREP="$ac_cv_path_GREP"
17274 { echo "$as_me:$LINENO: checking for egrep" >&5
17275 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17276 if test "${ac_cv_path_EGREP+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17279 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17280 then ac_cv_path_EGREP="$GREP -E"
17282 # Extract the first word of "egrep" to use in msg output
17283 if test -z "$EGREP"; then
17284 set dummy egrep; ac_prog_name=$2
17285 if test "${ac_cv_path_EGREP+set}" = set; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 ac_path_EGREP_found=false
17289 # Loop through the user's path and test for each of PROGNAME-LIST
17290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17291 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17294 test -z "$as_dir" && as_dir=.
17295 for ac_prog in egrep; do
17296 for ac_exec_ext in '' $ac_executable_extensions; do
17297 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17298 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17299 # Check for GNU ac_path_EGREP and select it if it is found.
17300 # Check for GNU $ac_path_EGREP
17301 case `"$ac_path_EGREP" --version 2>&1` in
17303 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17306 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17309 cat "conftest.in" "conftest.in" >"conftest.tmp"
17310 mv "conftest.tmp" "conftest.in"
17311 cp "conftest.in" "conftest.nl"
17312 echo 'EGREP' >> "conftest.nl"
17313 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17314 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17315 ac_count=`expr $ac_count + 1`
17316 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17317 # Best one so far, save it but keep looking for a better one
17318 ac_cv_path_EGREP="$ac_path_EGREP"
17319 ac_path_EGREP_max=$ac_count
17321 # 10*(2^10) chars as input seems more than enough
17322 test $ac_count -gt 10 && break
17324 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17328 $ac_path_EGREP_found && break 3
17338 EGREP="$ac_cv_path_EGREP"
17339 if test -z "$EGREP"; then
17340 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17341 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17342 { (exit 1); exit 1; }; }
17346 ac_cv_path_EGREP=$EGREP
17352 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17353 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17354 EGREP="$ac_cv_path_EGREP"
17357 if test $ac_cv_c_compiler_gnu = yes; then
17358 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17359 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17360 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 ac_pattern="Autoconf.*'x'"
17364 cat >conftest.$ac_ext <<_ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17374 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17375 ac_cv_prog_gcc_traditional=yes
17377 ac_cv_prog_gcc_traditional=no
17382 if test $ac_cv_prog_gcc_traditional = no; then
17383 cat >conftest.$ac_ext <<_ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389 #include <termio.h>
17392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17393 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17394 ac_cv_prog_gcc_traditional=yes
17400 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17401 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17402 if test $ac_cv_prog_gcc_traditional = yes; then
17403 CC="$CC -traditional"
17408 CXXFLAGS=${CXXFLAGS:=}
17410 ac_cpp='$CXXCPP $CPPFLAGS'
17411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17414 if test -z "$CXX"; then
17415 if test -n "$CCC"; then
17418 if test -n "$ac_tool_prefix"; then
17419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17421 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17422 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17425 if test "${ac_cv_prog_CXX+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 if test -n "$CXX"; then
17429 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17432 for as_dir in $PATH
17435 test -z "$as_dir" && as_dir=.
17436 for ac_exec_ext in '' $ac_executable_extensions; do
17437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17438 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17448 CXX=$ac_cv_prog_CXX
17449 if test -n "$CXX"; then
17450 { echo "$as_me:$LINENO: result: $CXX" >&5
17451 echo "${ECHO_T}$CXX" >&6; }
17453 { echo "$as_me:$LINENO: result: no" >&5
17454 echo "${ECHO_T}no" >&6; }
17458 test -n "$CXX" && break
17461 if test -z "$CXX"; then
17463 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17465 # Extract the first word of "$ac_prog", so it can be a program name with args.
17466 set dummy $ac_prog; ac_word=$2
17467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17469 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17470 echo $ECHO_N "(cached) $ECHO_C" >&6
17472 if test -n "$ac_ct_CXX"; then
17473 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17476 for as_dir in $PATH
17479 test -z "$as_dir" && as_dir=.
17480 for ac_exec_ext in '' $ac_executable_extensions; do
17481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17482 ac_cv_prog_ac_ct_CXX="$ac_prog"
17483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17492 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17493 if test -n "$ac_ct_CXX"; then
17494 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17495 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17497 { echo "$as_me:$LINENO: result: no" >&5
17498 echo "${ECHO_T}no" >&6; }
17502 test -n "$ac_ct_CXX" && break
17505 if test "x$ac_ct_CXX" = x; then
17508 case $cross_compiling:$ac_tool_warned in
17510 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17511 whose name does not start with the host triplet. If you think this
17512 configuration is useful to you, please write to autoconf@gnu.org." >&5
17513 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17514 whose name does not start with the host triplet. If you think this
17515 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17516 ac_tool_warned=yes ;;
17524 # Provide some information about the compiler.
17525 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17526 ac_compiler=`set X $ac_compile; echo $2`
17527 { (ac_try="$ac_compiler --version >&5"
17528 case "(($ac_try" in
17529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17530 *) ac_try_echo=$ac_try;;
17532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17533 (eval "$ac_compiler --version >&5") 2>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }
17537 { (ac_try="$ac_compiler -v >&5"
17538 case "(($ac_try" in
17539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17540 *) ac_try_echo=$ac_try;;
17542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17543 (eval "$ac_compiler -v >&5") 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }
17547 { (ac_try="$ac_compiler -V >&5"
17548 case "(($ac_try" in
17549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17550 *) ac_try_echo=$ac_try;;
17552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17553 (eval "$ac_compiler -V >&5") 2>&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }
17558 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17559 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17560 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17563 cat >conftest.$ac_ext <<_ACEOF
17566 cat confdefs.h >>conftest.$ac_ext
17567 cat >>conftest.$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17581 rm -f conftest.$ac_objext
17582 if { (ac_try="$ac_compile"
17583 case "(($ac_try" in
17584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17585 *) ac_try_echo=$ac_try;;
17587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17588 (eval "$ac_compile") 2>conftest.er1
17590 grep -v '^ *+' conftest.er1 >conftest.err
17592 cat conftest.err >&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } && {
17595 test -z "$ac_cxx_werror_flag" ||
17596 test ! -s conftest.err
17597 } && test -s conftest.$ac_objext; then
17598 ac_compiler_gnu=yes
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.$ac_ext >&5
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17610 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17611 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17612 GXX=`test $ac_compiler_gnu = yes && echo yes`
17613 ac_test_CXXFLAGS=${CXXFLAGS+set}
17614 ac_save_CXXFLAGS=$CXXFLAGS
17615 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17616 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17617 if test "${ac_cv_prog_cxx_g+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17621 ac_cxx_werror_flag=yes
17622 ac_cv_prog_cxx_g=no
17624 cat >conftest.$ac_ext <<_ACEOF
17627 cat confdefs.h >>conftest.$ac_ext
17628 cat >>conftest.$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17639 rm -f conftest.$ac_objext
17640 if { (ac_try="$ac_compile"
17641 case "(($ac_try" in
17642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17643 *) ac_try_echo=$ac_try;;
17645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17646 (eval "$ac_compile") 2>conftest.er1
17648 grep -v '^ *+' conftest.er1 >conftest.err
17650 cat conftest.err >&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } && {
17653 test -z "$ac_cxx_werror_flag" ||
17654 test ! -s conftest.err
17655 } && test -s conftest.$ac_objext; then
17656 ac_cv_prog_cxx_g=yes
17658 echo "$as_me: failed program was:" >&5
17659 sed 's/^/| /' conftest.$ac_ext >&5
17662 cat >conftest.$ac_ext <<_ACEOF
17665 cat confdefs.h >>conftest.$ac_ext
17666 cat >>conftest.$ac_ext <<_ACEOF
17667 /* end confdefs.h. */
17677 rm -f conftest.$ac_objext
17678 if { (ac_try="$ac_compile"
17679 case "(($ac_try" in
17680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17681 *) ac_try_echo=$ac_try;;
17683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17684 (eval "$ac_compile") 2>conftest.er1
17686 grep -v '^ *+' conftest.er1 >conftest.err
17688 cat conftest.err >&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } && {
17691 test -z "$ac_cxx_werror_flag" ||
17692 test ! -s conftest.err
17693 } && test -s conftest.$ac_objext; then
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17699 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17701 cat >conftest.$ac_ext <<_ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17716 rm -f conftest.$ac_objext
17717 if { (ac_try="$ac_compile"
17718 case "(($ac_try" in
17719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17720 *) ac_try_echo=$ac_try;;
17722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17723 (eval "$ac_compile") 2>conftest.er1
17725 grep -v '^ *+' conftest.er1 >conftest.err
17727 cat conftest.err >&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); } && {
17730 test -z "$ac_cxx_werror_flag" ||
17731 test ! -s conftest.err
17732 } && test -s conftest.$ac_objext; then
17733 ac_cv_prog_cxx_g=yes
17735 echo "$as_me: failed program was:" >&5
17736 sed 's/^/| /' conftest.$ac_ext >&5
17741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17750 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17751 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17752 if test "$ac_test_CXXFLAGS" = set; then
17753 CXXFLAGS=$ac_save_CXXFLAGS
17754 elif test $ac_cv_prog_cxx_g = yes; then
17755 if test "$GXX" = yes; then
17761 if test "$GXX" = yes; then
17768 ac_cpp='$CPP $CPPFLAGS'
17769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17781 ac_cpp='$CXXCPP $CPPFLAGS'
17782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17786 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17787 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17788 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17789 echo $ECHO_N "(cached) $ECHO_C" >&6
17791 cat >conftest.$ac_ext <<_ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17802 #ifndef __INTEL_COMPILER
17810 rm -f conftest.$ac_objext
17811 if { (ac_try="$ac_compile"
17812 case "(($ac_try" in
17813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17814 *) ac_try_echo=$ac_try;;
17816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17817 (eval "$ac_compile") 2>conftest.er1
17819 grep -v '^ *+' conftest.er1 >conftest.err
17821 cat conftest.err >&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } && {
17824 test -z "$ac_cxx_werror_flag" ||
17825 test ! -s conftest.err
17826 } && test -s conftest.$ac_objext; then
17827 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.$ac_ext >&5
17832 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17841 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17842 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17848 ac_cpp='$CPP $CPPFLAGS'
17849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17856 if test "$INTELCXX" = "yes"; then
17860 ac_cpp='$CXXCPP $CPPFLAGS'
17861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17865 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17866 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17867 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 cat >conftest.$ac_ext <<_ACEOF
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17881 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17889 rm -f conftest.$ac_objext
17890 if { (ac_try="$ac_compile"
17891 case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17893 *) ac_try_echo=$ac_try;;
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_compile") 2>conftest.er1
17898 grep -v '^ *+' conftest.er1 >conftest.err
17900 cat conftest.err >&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } && {
17903 test -z "$ac_cxx_werror_flag" ||
17904 test ! -s conftest.err
17905 } && test -s conftest.$ac_objext; then
17906 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17911 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17921 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17927 ac_cpp='$CPP $CPPFLAGS'
17928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17937 ac_cpp='$CXXCPP $CPPFLAGS'
17938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17942 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17943 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17944 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 cat >conftest.$ac_ext <<_ACEOF
17950 cat confdefs.h >>conftest.$ac_ext
17951 cat >>conftest.$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17958 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17966 rm -f conftest.$ac_objext
17967 if { (ac_try="$ac_compile"
17968 case "(($ac_try" in
17969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17970 *) ac_try_echo=$ac_try;;
17972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17973 (eval "$ac_compile") 2>conftest.er1
17975 grep -v '^ *+' conftest.er1 >conftest.err
17977 cat conftest.err >&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } && {
17980 test -z "$ac_cxx_werror_flag" ||
17981 test ! -s conftest.err
17982 } && test -s conftest.$ac_objext; then
17983 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.$ac_ext >&5
17988 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17996 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17997 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17998 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18013 if test "x$GCXX" != "xyes"; then
18014 if test "xCXX" = "xC"; then
18015 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18016 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18017 if test "${bakefile_cv_c_exto+set}" = set; then
18018 echo $ECHO_N "(cached) $ECHO_C" >&6
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 conftest.$ac_ext.o
18036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18037 (eval $ac_compile) 2>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; then
18041 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18043 conftest.$ac_ext.o)
18044 bakefile_cv_c_exto="-ext o"
18051 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18052 See \`config.log' for more details." >&5
18053 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18054 See \`config.log' for more details." >&2;}
18055 { (exit 1); exit 1; }; }
18059 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18062 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18063 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18064 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18065 if test "c" = "c"; then
18066 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18068 if test "c" = "cxx"; then
18069 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18073 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18074 unset ac_cv_prog_cc_g
18075 ac_test_CFLAGS=${CFLAGS+set}
18076 ac_save_CFLAGS=$CFLAGS
18077 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18078 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18079 if test "${ac_cv_prog_cc_g+set}" = set; then
18080 echo $ECHO_N "(cached) $ECHO_C" >&6
18082 ac_save_c_werror_flag=$ac_c_werror_flag
18083 ac_c_werror_flag=yes
18086 cat >conftest.$ac_ext <<_ACEOF
18089 cat confdefs.h >>conftest.$ac_ext
18090 cat >>conftest.$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18101 rm -f conftest.$ac_objext
18102 if { (ac_try="$ac_compile"
18103 case "(($ac_try" in
18104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18105 *) ac_try_echo=$ac_try;;
18107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18108 (eval "$ac_compile") 2>conftest.er1
18110 grep -v '^ *+' conftest.er1 >conftest.err
18112 cat conftest.err >&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } && {
18115 test -z "$ac_c_werror_flag" ||
18116 test ! -s conftest.err
18117 } && test -s conftest.$ac_objext; then
18118 ac_cv_prog_cc_g=yes
18120 echo "$as_me: failed program was:" >&5
18121 sed 's/^/| /' conftest.$ac_ext >&5
18124 cat >conftest.$ac_ext <<_ACEOF
18127 cat confdefs.h >>conftest.$ac_ext
18128 cat >>conftest.$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18139 rm -f conftest.$ac_objext
18140 if { (ac_try="$ac_compile"
18141 case "(($ac_try" in
18142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18143 *) ac_try_echo=$ac_try;;
18145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18146 (eval "$ac_compile") 2>conftest.er1
18148 grep -v '^ *+' conftest.er1 >conftest.err
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } && {
18153 test -z "$ac_c_werror_flag" ||
18154 test ! -s conftest.err
18155 } && test -s conftest.$ac_objext; then
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18161 ac_c_werror_flag=$ac_save_c_werror_flag
18163 cat >conftest.$ac_ext <<_ACEOF
18166 cat confdefs.h >>conftest.$ac_ext
18167 cat >>conftest.$ac_ext <<_ACEOF
18168 /* end confdefs.h. */
18178 rm -f conftest.$ac_objext
18179 if { (ac_try="$ac_compile"
18180 case "(($ac_try" in
18181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18182 *) ac_try_echo=$ac_try;;
18184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18185 (eval "$ac_compile") 2>conftest.er1
18187 grep -v '^ *+' conftest.er1 >conftest.err
18189 cat conftest.err >&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } && {
18192 test -z "$ac_c_werror_flag" ||
18193 test ! -s conftest.err
18194 } && test -s conftest.$ac_objext; then
18195 ac_cv_prog_cc_g=yes
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18210 ac_c_werror_flag=$ac_save_c_werror_flag
18212 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18213 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18214 if test "$ac_test_CFLAGS" = set; then
18215 CFLAGS=$ac_save_CFLAGS
18216 elif test $ac_cv_prog_cc_g = yes; then
18217 if test "$GCC" = yes; then
18223 if test "$GCC" = yes; then
18237 ac_cpp='$CXXCPP $CPPFLAGS'
18238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18242 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18243 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18244 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18245 echo $ECHO_N "(cached) $ECHO_C" >&6
18247 cat >conftest.$ac_ext <<_ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18266 rm -f conftest.$ac_objext
18267 if { (ac_try="$ac_compile"
18268 case "(($ac_try" in
18269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18270 *) ac_try_echo=$ac_try;;
18272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18273 (eval "$ac_compile") 2>conftest.er1
18275 grep -v '^ *+' conftest.er1 >conftest.err
18277 cat conftest.err >&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } && {
18280 test -z "$ac_cxx_werror_flag" ||
18281 test ! -s conftest.err
18282 } && test -s conftest.$ac_objext; then
18283 bakefile_cv_cxx_compiler___xlC__=yes
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.$ac_ext >&5
18288 bakefile_cv_cxx_compiler___xlC__=no
18292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18297 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18298 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18304 ac_cpp='$CPP $CPPFLAGS'
18305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18317 ac_cpp='$CXXCPP $CPPFLAGS'
18318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18322 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18323 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18324 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18327 cat >conftest.$ac_ext <<_ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18346 rm -f conftest.$ac_objext
18347 if { (ac_try="$ac_compile"
18348 case "(($ac_try" in
18349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18350 *) ac_try_echo=$ac_try;;
18352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18353 (eval "$ac_compile") 2>conftest.er1
18355 grep -v '^ *+' conftest.er1 >conftest.err
18357 cat conftest.err >&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } && {
18360 test -z "$ac_cxx_werror_flag" ||
18361 test ! -s conftest.err
18362 } && test -s conftest.$ac_objext; then
18363 bakefile_cv_cxx_compiler___MWERKS__=yes
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.$ac_ext >&5
18368 bakefile_cv_cxx_compiler___MWERKS__=no
18372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18376 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18377 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18378 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18384 ac_cpp='$CPP $CPPFLAGS'
18385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18391 if test "$MWCXX" != "yes"; then
18395 ac_cpp='$CXXCPP $CPPFLAGS'
18396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18400 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18401 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18402 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18403 echo $ECHO_N "(cached) $ECHO_C" >&6
18405 cat >conftest.$ac_ext <<_ACEOF
18408 cat confdefs.h >>conftest.$ac_ext
18409 cat >>conftest.$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18424 rm -f conftest.$ac_objext
18425 if { (ac_try="$ac_compile"
18426 case "(($ac_try" in
18427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18428 *) ac_try_echo=$ac_try;;
18430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18431 (eval "$ac_compile") 2>conftest.er1
18433 grep -v '^ *+' conftest.er1 >conftest.err
18435 cat conftest.err >&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } && {
18438 test -z "$ac_cxx_werror_flag" ||
18439 test ! -s conftest.err
18440 } && test -s conftest.$ac_objext; then
18441 bakefile_cv_cxx_compiler___xlC__=yes
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18446 bakefile_cv_cxx_compiler___xlC__=no
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18454 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18455 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18456 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18462 ac_cpp='$CPP $CPPFLAGS'
18463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18476 ac_cpp='$CXXCPP $CPPFLAGS'
18477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18481 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18482 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18483 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18484 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 cat >conftest.$ac_ext <<_ACEOF
18489 cat confdefs.h >>conftest.$ac_ext
18490 cat >>conftest.$ac_ext <<_ACEOF
18491 /* end confdefs.h. */
18497 #ifndef _SGI_COMPILER_VERSION
18505 rm -f conftest.$ac_objext
18506 if { (ac_try="$ac_compile"
18507 case "(($ac_try" in
18508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18509 *) ac_try_echo=$ac_try;;
18511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18512 (eval "$ac_compile") 2>conftest.er1
18514 grep -v '^ *+' conftest.er1 >conftest.err
18516 cat conftest.err >&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); } && {
18519 test -z "$ac_cxx_werror_flag" ||
18520 test ! -s conftest.err
18521 } && test -s conftest.$ac_objext; then
18522 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18527 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18536 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18537 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18543 ac_cpp='$CPP $CPPFLAGS'
18544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18553 if test "$INTELCXX" != "yes"; then
18557 ac_cpp='$CXXCPP $CPPFLAGS'
18558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18562 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18563 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18564 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18565 echo $ECHO_N "(cached) $ECHO_C" >&6
18567 cat >conftest.$ac_ext <<_ACEOF
18570 cat confdefs.h >>conftest.$ac_ext
18571 cat >>conftest.$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18578 #ifndef __SUNPRO_CC
18586 rm -f conftest.$ac_objext
18587 if { (ac_try="$ac_compile"
18588 case "(($ac_try" in
18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18590 *) ac_try_echo=$ac_try;;
18592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18593 (eval "$ac_compile") 2>conftest.er1
18595 grep -v '^ *+' conftest.er1 >conftest.err
18597 cat conftest.err >&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } && {
18600 test -z "$ac_cxx_werror_flag" ||
18601 test ! -s conftest.err
18602 } && test -s conftest.$ac_objext; then
18603 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18605 echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.$ac_ext >&5
18608 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18616 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18617 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18618 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18624 ac_cpp='$CPP $CPPFLAGS'
18625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18638 ac_cpp='$CXXCPP $CPPFLAGS'
18639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18643 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18644 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18645 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18648 cat >conftest.$ac_ext <<_ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18667 rm -f conftest.$ac_objext
18668 if { (ac_try="$ac_compile"
18669 case "(($ac_try" in
18670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671 *) ac_try_echo=$ac_try;;
18673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674 (eval "$ac_compile") 2>conftest.er1
18676 grep -v '^ *+' conftest.er1 >conftest.err
18678 cat conftest.err >&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } && {
18681 test -z "$ac_cxx_werror_flag" ||
18682 test ! -s conftest.err
18683 } && test -s conftest.$ac_objext; then
18684 bakefile_cv_cxx_compiler___HP_aCC=yes
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18689 bakefile_cv_cxx_compiler___HP_aCC=no
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18698 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18699 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18705 ac_cpp='$CPP $CPPFLAGS'
18706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18718 ac_cpp='$CXXCPP $CPPFLAGS'
18719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18723 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18724 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18725 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 cat >conftest.$ac_ext <<_ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18747 rm -f conftest.$ac_objext
18748 if { (ac_try="$ac_compile"
18749 case "(($ac_try" in
18750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18751 *) ac_try_echo=$ac_try;;
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_compile") 2>conftest.er1
18756 grep -v '^ *+' conftest.er1 >conftest.err
18758 cat conftest.err >&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } && {
18761 test -z "$ac_cxx_werror_flag" ||
18762 test ! -s conftest.err
18763 } && test -s conftest.$ac_objext; then
18764 bakefile_cv_cxx_compiler___DECCXX=yes
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.$ac_ext >&5
18769 bakefile_cv_cxx_compiler___DECCXX=no
18773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18777 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18778 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18779 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18785 ac_cpp='$CPP $CPPFLAGS'
18786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18798 ac_cpp='$CXXCPP $CPPFLAGS'
18799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18803 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18804 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18805 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18808 cat >conftest.$ac_ext <<_ACEOF
18811 cat confdefs.h >>conftest.$ac_ext
18812 cat >>conftest.$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18819 #ifndef __SUNPRO_CC
18827 rm -f conftest.$ac_objext
18828 if { (ac_try="$ac_compile"
18829 case "(($ac_try" in
18830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18831 *) ac_try_echo=$ac_try;;
18833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18834 (eval "$ac_compile") 2>conftest.er1
18836 grep -v '^ *+' conftest.er1 >conftest.err
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } && {
18841 test -z "$ac_cxx_werror_flag" ||
18842 test ! -s conftest.err
18843 } && test -s conftest.$ac_objext; then
18844 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18846 echo "$as_me: failed program was:" >&5
18847 sed 's/^/| /' conftest.$ac_ext >&5
18849 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18857 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18858 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18859 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18865 ac_cpp='$CPP $CPPFLAGS'
18866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18878 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18879 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18880 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18881 { (exit 1); exit 1; }; }
18884 if test "x$SUNCXX" != xyes; then
18885 if test -n "$ac_tool_prefix"; then
18886 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18887 set dummy ${ac_tool_prefix}ar; ac_word=$2
18888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18890 if test "${ac_cv_prog_AR+set}" = set; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 if test -n "$AR"; then
18894 ac_cv_prog_AR="$AR" # Let the user override the test.
18896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18897 for as_dir in $PATH
18900 test -z "$as_dir" && as_dir=.
18901 for ac_exec_ext in '' $ac_executable_extensions; do
18902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18903 ac_cv_prog_AR="${ac_tool_prefix}ar"
18904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18914 if test -n "$AR"; then
18915 { echo "$as_me:$LINENO: result: $AR" >&5
18916 echo "${ECHO_T}$AR" >&6; }
18918 { echo "$as_me:$LINENO: result: no" >&5
18919 echo "${ECHO_T}no" >&6; }
18924 if test -z "$ac_cv_prog_AR"; then
18926 # Extract the first word of "ar", so it can be a program name with args.
18927 set dummy ar; ac_word=$2
18928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18930 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18933 if test -n "$ac_ct_AR"; then
18934 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18937 for as_dir in $PATH
18940 test -z "$as_dir" && as_dir=.
18941 for ac_exec_ext in '' $ac_executable_extensions; do
18942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18943 ac_cv_prog_ac_ct_AR="ar"
18944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18953 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18954 if test -n "$ac_ct_AR"; then
18955 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18956 echo "${ECHO_T}$ac_ct_AR" >&6; }
18958 { echo "$as_me:$LINENO: result: no" >&5
18959 echo "${ECHO_T}no" >&6; }
18962 if test "x$ac_ct_AR" = x; then
18965 case $cross_compiling:$ac_tool_warned in
18967 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18968 whose name does not start with the host triplet. If you think this
18969 configuration is useful to you, please write to autoconf@gnu.org." >&5
18970 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18971 whose name does not start with the host triplet. If you think this
18972 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18973 ac_tool_warned=yes ;;
18978 AR="$ac_cv_prog_AR"
18981 if test "x$AR" = "x" ; then
18982 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18983 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18984 { (exit 1); exit 1; }; }
18989 if test "$wxUSE_MAC" = 1; then
18991 retest_macosx_linking=no
18994 if test "x$wxUSE_MAC_ARCH" != xno; then
18995 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18998 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18999 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19000 # Implicitly turn on the new --with-macosx-sdk using the default
19001 # SDK which provides the behaviour this option has always had.
19002 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19003 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19004 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19005 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19006 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19007 wxUSE_MACOSX_SDK=yes
19010 # Complain to user if he specified an argument to --enable-universal_binary
19011 # and also 1) specified --with-macosx-sdk using the default (yes) or
19012 # 2) specified --with-macosx-sdk using a path or 3) specified
19013 # --without-macosx-sdk (no).
19014 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19015 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19016 See \`config.log' for more details." >&5
19017 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19018 See \`config.log' for more details." >&2;}
19019 { (exit 1); exit 1; }; }
19021 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19022 # special-case the empty string because the below test simply
19023 # converts "no" to the empty string anyway.
19024 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19025 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19026 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19029 OSX_ARCH_OPTS="-arch ppc -arch i386"
19030 if test "$wxUSE_OSX_COCOA" = 1; then
19031 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
19033 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
19034 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
19035 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19036 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19038 retest_macosx_linking=yes
19040 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19041 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19045 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19046 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19047 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19048 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19049 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19051 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19053 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19054 # TODO: Search for most recent SDK and use it.
19055 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19059 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19060 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19061 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19062 if ! test -d "$wxUSE_MACOSX_SDK"; then
19063 { { echo "$as_me:$LINENO: error: not found
19064 See \`config.log' for more details." >&5
19065 echo "$as_me: error: not found
19066 See \`config.log' for more details." >&2;}
19067 { (exit 1); exit 1; }; }
19069 { echo "$as_me:$LINENO: result: exists" >&5
19070 echo "${ECHO_T}exists" >&6; }
19072 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19073 retest_macosx_linking=yes
19076 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19077 wxUSE_MACOSX_VERSION_MIN=
19078 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19079 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19080 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19081 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19083 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/'`
19085 # If that failed, try again with the new key
19086 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19088 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/'`
19092 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19093 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19094 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19095 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19097 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19098 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19099 wxUSE_MACOSX_VERSION_MIN=
19102 wxUSE_MACOSX_VERSION_MIN=
19104 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19105 for ac_prog in sw_vers
19107 # Extract the first word of "$ac_prog", so it can be a program name with args.
19108 set dummy $ac_prog; ac_word=$2
19109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19111 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 if test -n "$OSX_SW_VERS"; then
19115 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19118 for as_dir in $PATH
19121 test -z "$as_dir" && as_dir=.
19122 for ac_exec_ext in '' $ac_executable_extensions; do
19123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19124 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19134 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19135 if test -n "$OSX_SW_VERS"; then
19136 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19137 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19139 { echo "$as_me:$LINENO: result: no" >&5
19140 echo "${ECHO_T}no" >&6; }
19144 test -n "$OSX_SW_VERS" && break
19147 if test "$OSX_SW_VERS" != ""; then
19148 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19150 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19151 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19155 case "$OSX_VERSION" in
19157 wxUSE_MACOSX_VERSION_MIN=10.4
19161 if test "$wxUSE_OSX_CARBON" = 1; then
19162 # otherwise configure stops on leopard for universal_binary
19163 wxUSE_MACOSX_VERSION_MIN=10.4
19165 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19166 wxUSE_MACOSX_VERSION_MIN=10.5
19173 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19177 if test "$wxUSE_OSX_CARBON" = 1; then
19181 if test "x$NEEDS_GCC40" == "xyes"; then
19182 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19183 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19184 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19185 if test "x$CC" = "xgcc"; then
19186 CCVERSION=`$CC --version | grep 4.[2-9].`
19187 if test "x$CCVERSION" != "x"; then
19188 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19193 if test "x$CXX" = "xg++"; then
19194 CCVERSION=`$CXX --version | grep 4.[2-9].`
19195 if test "x$CCVERSION" != "x"; then
19201 if test "x$MACOSX_SDK_OPTS" != "x"; then
19202 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19203 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19204 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19207 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19208 if test "$wxUSE_OSX_IPHONE" = 1; then
19209 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19211 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19213 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19214 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19215 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19216 retest_macosx_linking=yes
19219 if test "x$retest_macosx_linking" = "xyes"; then
19221 ac_cpp='$CPP $CPPFLAGS'
19222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19226 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19227 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19228 cat >conftest.$ac_ext <<_ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19243 rm -f conftest.$ac_objext conftest$ac_exeext
19244 if { (ac_try="$ac_link"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_link") 2>conftest.er1
19252 grep -v '^ *+' conftest.er1 >conftest.err
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_c_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest$ac_exeext &&
19260 $as_test_x conftest$ac_exeext; then
19261 { echo "$as_me:$LINENO: result: yes" >&5
19262 echo "${ECHO_T}yes" >&6; }
19264 echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.$ac_ext >&5
19267 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19268 See \`config.log' for more details." >&5
19269 echo "$as_me: error: no. Try a different SDK
19270 See \`config.log' for more details." >&2;}
19271 { (exit 1); exit 1; }; }; exit 1
19274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19275 conftest$ac_exeext conftest.$ac_ext
19277 ac_cpp='$CPP $CPPFLAGS'
19278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19284 ac_cpp='$CXXCPP $CPPFLAGS'
19285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19289 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19290 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19291 cat >conftest.$ac_ext <<_ACEOF
19294 cat confdefs.h >>conftest.$ac_ext
19295 cat >>conftest.$ac_ext <<_ACEOF
19296 /* end confdefs.h. */
19306 rm -f conftest.$ac_objext conftest$ac_exeext
19307 if { (ac_try="$ac_link"
19308 case "(($ac_try" in
19309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19310 *) ac_try_echo=$ac_try;;
19312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19313 (eval "$ac_link") 2>conftest.er1
19315 grep -v '^ *+' conftest.er1 >conftest.err
19317 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } && {
19320 test -z "$ac_cxx_werror_flag" ||
19321 test ! -s conftest.err
19322 } && test -s conftest$ac_exeext &&
19323 $as_test_x conftest$ac_exeext; then
19324 { echo "$as_me:$LINENO: result: yes" >&5
19325 echo "${ECHO_T}yes" >&6; }
19327 echo "$as_me: failed program was:" >&5
19328 sed 's/^/| /' conftest.$ac_ext >&5
19330 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19331 See \`config.log' for more details." >&5
19332 echo "$as_me: error: no. Try a different SDK
19333 See \`config.log' for more details." >&2;}
19334 { (exit 1); exit 1; }; }; exit 1
19337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19338 conftest$ac_exeext conftest.$ac_ext
19340 ac_cpp='$CPP $CPPFLAGS'
19341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19351 INSTALL_PROGRAM="cp -fp"
19352 INSTALL_DATA="cp -fp"
19359 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19360 CXXFLAGS="-qunique $CXXFLAGS"
19364 powerpc-*-darwin* )
19365 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19366 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19367 cat >conftest.$ac_ext <<_ACEOF
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19377 #ifndef __POWERPC__
19378 choke me for lack of PowerPC
19385 rm -f conftest.$ac_objext
19386 if { (ac_try="$ac_compile"
19387 case "(($ac_try" in
19388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19389 *) ac_try_echo=$ac_try;;
19391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19392 (eval "$ac_compile") 2>conftest.er1
19394 grep -v '^ *+' conftest.er1 >conftest.err
19396 cat conftest.err >&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } && {
19399 test -z "$ac_c_werror_flag" ||
19400 test ! -s conftest.err
19401 } && test -s conftest.$ac_objext; then
19402 { echo "$as_me:$LINENO: result: yes" >&5
19403 echo "${ECHO_T}yes" >&6; }
19405 echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.$ac_ext >&5
19408 { echo "$as_me:$LINENO: result: no" >&5
19409 echo "${ECHO_T}no" >&6; }
19410 cat >>confdefs.h <<\_ACEOF
19411 #define __POWERPC__ 1
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19423 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19424 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19425 cat >conftest.$ac_ext <<_ACEOF
19428 cat confdefs.h >>conftest.$ac_ext
19429 cat >>conftest.$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19431 #include <CoreFoundation/CFBase.h>
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19450 grep -v '^ *+' conftest.er1 >conftest.err
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 { echo "$as_me:$LINENO: result: yes" >&5
19459 echo "${ECHO_T}yes" >&6; }
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19464 { echo "$as_me:$LINENO: result: no" >&5
19465 echo "${ECHO_T}no" >&6; }
19466 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19467 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19468 cat >conftest.$ac_ext <<_ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 #define __CF_USE_FRAMEWORK_INCLUDES__
19475 #include <CoreFoundation/CFBase.h>
19485 rm -f conftest.$ac_objext
19486 if { (ac_try="$ac_compile"
19487 case "(($ac_try" in
19488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19489 *) ac_try_echo=$ac_try;;
19491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19492 (eval "$ac_compile") 2>conftest.er1
19494 grep -v '^ *+' conftest.er1 >conftest.err
19496 cat conftest.err >&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); } && {
19499 test -z "$ac_c_werror_flag" ||
19500 test ! -s conftest.err
19501 } && test -s conftest.$ac_objext; then
19502 { echo "$as_me:$LINENO: result: yes" >&5
19503 echo "${ECHO_T}yes" >&6; }
19504 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19509 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19510 See \`config.log' for more details." >&5
19511 echo "$as_me: error: no. CoreFoundation not available.
19512 See \`config.log' for more details." >&2;}
19513 { (exit 1); exit 1; }; }
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19527 doesnt_want_win32=0
19530 if test "$wxUSE_MSW" = 1 ; then
19533 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19534 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19535 if test "${wx_cv_nocygwin+set}" = set; then
19536 echo $ECHO_N "(cached) $ECHO_C" >&6
19539 cat >conftest.$ac_ext <<_ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19567 grep -v '^ *+' conftest.er1 >conftest.err
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19588 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19589 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19591 if test "$wx_cv_nocygwin" = "yes"; then
19594 doesnt_want_win32=1
19597 if test "$wants_win32" = 1 ; then
19598 BAKEFILE_FORCE_PLATFORM=win32
19606 if test "$wxUSE_WINE" = "yes"; then
19608 LDFLAGS_GUI="-mwindows"
19611 if test "$wants_win32" = 1 ; then
19614 cat >>confdefs.h <<\_ACEOF
19615 #define __WIN32__ 1
19618 cat >>confdefs.h <<\_ACEOF
19619 #define __WIN95__ 1
19622 cat >>confdefs.h <<\_ACEOF
19623 #define __WINDOWS__ 1
19626 cat >>confdefs.h <<\_ACEOF
19627 #define __GNUWIN32__ 1
19630 cat >>confdefs.h <<\_ACEOF
19635 if test "$doesnt_want_win32" = 1 ; then
19640 if test "$USE_UNIX" = 1 ; then
19642 cat >>confdefs.h <<\_ACEOF
19649 *-pc-os2_emx | *-pc-os2-emx )
19650 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19651 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19652 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19653 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19654 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 ac_check_lib_save_LIBS=$LIBS
19657 LIBS="-lcExt $LIBS"
19658 cat >conftest.$ac_ext <<_ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19665 /* Override any GCC internal prototype to avoid an error.
19666 Use char because int might match the return type of a GCC
19667 builtin and then its argument prototype would still apply. */
19680 rm -f conftest.$ac_objext conftest$ac_exeext
19681 if { (ac_try="$ac_link"
19682 case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_link") 2>conftest.er1
19689 grep -v '^ *+' conftest.er1 >conftest.err
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } && {
19694 test -z "$ac_c_werror_flag" ||
19695 test ! -s conftest.err
19696 } && test -s conftest$ac_exeext &&
19697 $as_test_x conftest$ac_exeext; then
19698 ac_cv_lib_cExt_drand48=yes
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.$ac_ext >&5
19703 ac_cv_lib_cExt_drand48=no
19706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19707 conftest$ac_exeext conftest.$ac_ext
19708 LIBS=$ac_check_lib_save_LIBS
19710 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19711 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19712 if test $ac_cv_lib_cExt_drand48 = yes; then
19713 LIBS="$LIBS -lcExt"
19717 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19719 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19720 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19721 if test "${wx_cv_gccversion+set}" = set; then
19722 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 if test "$cross_compiling" = yes; then
19726 wx_cv_gccversion="EMX2"
19729 cat >conftest.$ac_ext <<_ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19740 FILE *f=fopen("conftestval", "w");
19745 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19747 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19757 rm -f conftest$ac_exeext
19758 if { (ac_try="$ac_link"
19759 case "(($ac_try" in
19760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19761 *) ac_try_echo=$ac_try;;
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764 (eval "$ac_link") 2>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19768 { (case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_try") 2>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 wx_cv_gccversion=`cat conftestval`
19779 echo "$as_me: program exited with status $ac_status" >&5
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19783 ( exit $ac_status )
19784 wx_cv_gccversion="EMX2"
19786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19792 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19793 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19794 if test "$wx_cv_gccversion" = "EMX2"; then
19795 LIBS="$LIBS -lstdcpp"
19796 LDFLAGS="$LDFLAGS -Zsysv-signals"
19798 if test "$wx_cv_gccversion" = "EMX3"; then
19799 LIBS="$LIBS -lstdcxx -lgcc"
19800 LDFLAGS="$LDFLAGS -Zsysv-signals"
19802 LIBS="$LIBS -lstdc++"
19805 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19806 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19807 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19814 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19815 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19816 if test "${ac_cv_string_strcasecmp+set}" = set; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 cat >conftest.$ac_ext <<_ACEOF
19823 cat confdefs.h >>conftest.$ac_ext
19824 cat >>conftest.$ac_ext <<_ACEOF
19825 /* end confdefs.h. */
19827 #include <string.h>
19833 strcasecmp("foo", "bar");
19839 rm -f conftest.$ac_objext conftest$ac_exeext
19840 if { (ac_try="$ac_link"
19841 case "(($ac_try" in
19842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19843 *) ac_try_echo=$ac_try;;
19845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19846 (eval "$ac_link") 2>conftest.er1
19848 grep -v '^ *+' conftest.er1 >conftest.err
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } && {
19853 test -z "$ac_c_werror_flag" ||
19854 test ! -s conftest.err
19855 } && test -s conftest$ac_exeext &&
19856 $as_test_x conftest$ac_exeext; then
19857 ac_cv_string_strcasecmp=yes
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19862 ac_cv_string_strcasecmp=no
19866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19867 conftest$ac_exeext conftest.$ac_ext
19870 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19871 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19873 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19874 cat >>confdefs.h <<\_ACEOF
19875 #define HAVE_STRCASECMP_IN_STRING_H 1
19879 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19880 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19881 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19882 echo $ECHO_N "(cached) $ECHO_C" >&6
19885 cat >conftest.$ac_ext <<_ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19892 #include <strings.h>
19898 strcasecmp("foo", "bar");
19904 rm -f conftest.$ac_objext conftest$ac_exeext
19905 if { (ac_try="$ac_link"
19906 case "(($ac_try" in
19907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19908 *) ac_try_echo=$ac_try;;
19910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19911 (eval "$ac_link") 2>conftest.er1
19913 grep -v '^ *+' conftest.er1 >conftest.err
19915 cat conftest.err >&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } && {
19918 test -z "$ac_c_werror_flag" ||
19919 test ! -s conftest.err
19920 } && test -s conftest$ac_exeext &&
19921 $as_test_x conftest$ac_exeext; then
19922 ac_cv_strings_strcasecmp=yes
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19927 ac_cv_strings_strcasecmp=no
19931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19932 conftest$ac_exeext conftest.$ac_ext
19935 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19936 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19938 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19939 cat >>confdefs.h <<\_ACEOF
19940 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19944 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19945 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19946 { (exit 1); exit 1; }; }
19954 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19955 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19956 if test "${ac_cv_header_stdc+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 cat >conftest.$ac_ext <<_ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 #include <stdlib.h>
19966 #include <stdarg.h>
19967 #include <string.h>
19978 rm -f conftest.$ac_objext
19979 if { (ac_try="$ac_compile"
19980 case "(($ac_try" in
19981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19982 *) ac_try_echo=$ac_try;;
19984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19985 (eval "$ac_compile") 2>conftest.er1
19987 grep -v '^ *+' conftest.er1 >conftest.err
19989 cat conftest.err >&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); } && {
19992 test -z "$ac_c_werror_flag" ||
19993 test ! -s conftest.err
19994 } && test -s conftest.$ac_objext; then
19995 ac_cv_header_stdc=yes
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.$ac_ext >&5
20000 ac_cv_header_stdc=no
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20005 if test $ac_cv_header_stdc = yes; then
20006 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20007 cat >conftest.$ac_ext <<_ACEOF
20010 cat confdefs.h >>conftest.$ac_ext
20011 cat >>conftest.$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013 #include <string.h>
20016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20017 $EGREP "memchr" >/dev/null 2>&1; then
20020 ac_cv_header_stdc=no
20026 if test $ac_cv_header_stdc = yes; then
20027 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20028 cat >conftest.$ac_ext <<_ACEOF
20031 cat confdefs.h >>conftest.$ac_ext
20032 cat >>conftest.$ac_ext <<_ACEOF
20033 /* end confdefs.h. */
20034 #include <stdlib.h>
20037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20038 $EGREP "free" >/dev/null 2>&1; then
20041 ac_cv_header_stdc=no
20047 if test $ac_cv_header_stdc = yes; then
20048 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20049 if test "$cross_compiling" = yes; then
20052 cat >conftest.$ac_ext <<_ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20059 #include <stdlib.h>
20060 #if ((' ' & 0x0FF) == 0x020)
20061 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20062 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20064 # define ISLOWER(c) \
20065 (('a' <= (c) && (c) <= 'i') \
20066 || ('j' <= (c) && (c) <= 'r') \
20067 || ('s' <= (c) && (c) <= 'z'))
20068 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20071 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20076 for (i = 0; i < 256; i++)
20077 if (XOR (islower (i), ISLOWER (i))
20078 || toupper (i) != TOUPPER (i))
20083 rm -f conftest$ac_exeext
20084 if { (ac_try="$ac_link"
20085 case "(($ac_try" in
20086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20087 *) ac_try_echo=$ac_try;;
20089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20090 (eval "$ac_link") 2>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20094 { (case "(($ac_try" in
20095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_try") 2>&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; }; then
20105 echo "$as_me: program exited with status $ac_status" >&5
20106 echo "$as_me: failed program was:" >&5
20107 sed 's/^/| /' conftest.$ac_ext >&5
20109 ( exit $ac_status )
20110 ac_cv_header_stdc=no
20112 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20118 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20119 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20120 if test $ac_cv_header_stdc = yes; then
20122 cat >>confdefs.h <<\_ACEOF
20123 #define STDC_HEADERS 1
20128 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20138 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20139 inttypes.h stdint.h unistd.h
20141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20142 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 cat >conftest.$ac_ext <<_ACEOF
20150 cat confdefs.h >>conftest.$ac_ext
20151 cat >>conftest.$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20153 $ac_includes_default
20155 #include <$ac_header>
20157 rm -f conftest.$ac_objext
20158 if { (ac_try="$ac_compile"
20159 case "(($ac_try" in
20160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20161 *) ac_try_echo=$ac_try;;
20163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20164 (eval "$ac_compile") 2>conftest.er1
20166 grep -v '^ *+' conftest.er1 >conftest.err
20168 cat conftest.err >&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } && {
20171 test -z "$ac_c_werror_flag" ||
20172 test ! -s conftest.err
20173 } && test -s conftest.$ac_objext; then
20174 eval "$as_ac_Header=yes"
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.$ac_ext >&5
20179 eval "$as_ac_Header=no"
20182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 ac_res=`eval echo '${'$as_ac_Header'}'`
20185 { echo "$as_me:$LINENO: result: $ac_res" >&5
20186 echo "${ECHO_T}$ac_res" >&6; }
20187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20188 cat >>confdefs.h <<_ACEOF
20189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20199 for ac_header in langinfo.h wchar.h
20201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20205 echo $ECHO_N "(cached) $ECHO_C" >&6
20207 cat >conftest.$ac_ext <<_ACEOF
20210 cat confdefs.h >>conftest.$ac_ext
20211 cat >>conftest.$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20213 $ac_includes_default
20215 #include <$ac_header>
20217 rm -f conftest.$ac_objext
20218 if { (ac_try="$ac_compile"
20219 case "(($ac_try" in
20220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20221 *) ac_try_echo=$ac_try;;
20223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20224 (eval "$ac_compile") 2>conftest.er1
20226 grep -v '^ *+' conftest.er1 >conftest.err
20228 cat conftest.err >&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } && {
20231 test -z "$ac_c_werror_flag" ||
20232 test ! -s conftest.err
20233 } && test -s conftest.$ac_objext; then
20234 eval "$as_ac_Header=yes"
20236 echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.$ac_ext >&5
20239 eval "$as_ac_Header=no"
20242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 ac_res=`eval echo '${'$as_ac_Header'}'`
20245 { echo "$as_me:$LINENO: result: $ac_res" >&5
20246 echo "${ECHO_T}$ac_res" >&6; }
20247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20248 cat >>confdefs.h <<_ACEOF
20249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20257 if test "$ac_cv_header_wchar_h" != "yes"; then
20259 for ac_header in wcstr.h
20261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20262 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20265 echo $ECHO_N "(cached) $ECHO_C" >&6
20267 cat >conftest.$ac_ext <<_ACEOF
20270 cat confdefs.h >>conftest.$ac_ext
20271 cat >>conftest.$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20273 $ac_includes_default
20275 #include <$ac_header>
20277 rm -f conftest.$ac_objext
20278 if { (ac_try="$ac_compile"
20279 case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_compile") 2>conftest.er1
20286 grep -v '^ *+' conftest.er1 >conftest.err
20288 cat conftest.err >&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest.$ac_objext; then
20294 eval "$as_ac_Header=yes"
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20299 eval "$as_ac_Header=no"
20302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20304 ac_res=`eval echo '${'$as_ac_Header'}'`
20305 { echo "$as_me:$LINENO: result: $ac_res" >&5
20306 echo "${ECHO_T}$ac_res" >&6; }
20307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20308 cat >>confdefs.h <<_ACEOF
20309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20319 *-pc-os2_emx | *-pc-os2-emx )
20320 if test $ac_cv_header_langinfo_h = "yes" \
20321 -a \( "$wx_cv_gccversion" = "EMX2" \
20322 -o "$wx_cv_gccversion" = "EMX3" \
20323 -o "$wx_cv_gccversion" = "Innotek5" \); then
20324 LIBS="$LIBS -lintl"
20329 if test "$USE_UNIX" = 1 ; then
20331 for ac_header in sys/select.h
20333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20337 echo $ECHO_N "(cached) $ECHO_C" >&6
20339 cat >conftest.$ac_ext <<_ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 $ac_includes_default
20347 #include <$ac_header>
20349 rm -f conftest.$ac_objext
20350 if { (ac_try="$ac_compile"
20351 case "(($ac_try" in
20352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20353 *) ac_try_echo=$ac_try;;
20355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20356 (eval "$ac_compile") 2>conftest.er1
20358 grep -v '^ *+' conftest.er1 >conftest.err
20360 cat conftest.err >&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } && {
20363 test -z "$ac_c_werror_flag" ||
20364 test ! -s conftest.err
20365 } && test -s conftest.$ac_objext; then
20366 eval "$as_ac_Header=yes"
20368 echo "$as_me: failed program was:" >&5
20369 sed 's/^/| /' conftest.$ac_ext >&5
20371 eval "$as_ac_Header=no"
20374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20376 ac_res=`eval echo '${'$as_ac_Header'}'`
20377 { echo "$as_me:$LINENO: result: $ac_res" >&5
20378 echo "${ECHO_T}$ac_res" >&6; }
20379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20380 cat >>confdefs.h <<_ACEOF
20381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20391 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20392 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20393 if test "${ac_cv_c_const+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20396 cat >conftest.$ac_ext <<_ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20406 /* FIXME: Include the comments suggested by Paul. */
20407 #ifndef __cplusplus
20408 /* Ultrix mips cc rejects this. */
20409 typedef int charset[2];
20411 /* SunOS 4.1.1 cc rejects this. */
20412 char const *const *pcpcc;
20414 /* NEC SVR4.0.2 mips cc rejects this. */
20415 struct point {int x, y;};
20416 static struct point const zero = {0,0};
20417 /* AIX XL C 1.02.0.0 rejects this.
20418 It does not let you subtract one const X* pointer from another in
20419 an arm of an if-expression whose if-part is not a constant
20421 const char *g = "string";
20422 pcpcc = &g + (g ? g-g : 0);
20423 /* HPUX 7.0 cc rejects these. */
20425 ppc = (char**) pcpcc;
20426 pcpcc = (char const *const *) ppc;
20427 { /* SCO 3.2v4 cc rejects this. */
20429 char const *s = 0 ? (char *) 0 : (char const *) 0;
20434 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20435 int x[] = {25, 17};
20436 const int *foo = &x[0];
20439 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20440 typedef const int *iptr;
20444 { /* AIX XL C 1.02.0.0 rejects this saying
20445 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20446 struct s { int j; const int *ap[3]; };
20447 struct s *b; b->j = 5;
20449 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20450 const int foo = 10;
20451 if (!foo) return 0;
20453 return !cs[0] && !zero.x;
20460 rm -f conftest.$ac_objext
20461 if { (ac_try="$ac_compile"
20462 case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20464 *) ac_try_echo=$ac_try;;
20466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_compile") 2>conftest.er1
20469 grep -v '^ *+' conftest.er1 >conftest.err
20471 cat conftest.err >&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } && {
20474 test -z "$ac_c_werror_flag" ||
20475 test ! -s conftest.err
20476 } && test -s conftest.$ac_objext; then
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20487 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20488 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20489 if test $ac_cv_c_const = no; then
20491 cat >>confdefs.h <<\_ACEOF
20497 { echo "$as_me:$LINENO: checking for inline" >&5
20498 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20499 if test "${ac_cv_c_inline+set}" = set; then
20500 echo $ECHO_N "(cached) $ECHO_C" >&6
20503 for ac_kw in inline __inline__ __inline; do
20504 cat >conftest.$ac_ext <<_ACEOF
20507 cat confdefs.h >>conftest.$ac_ext
20508 cat >>conftest.$ac_ext <<_ACEOF
20509 /* end confdefs.h. */
20510 #ifndef __cplusplus
20512 static $ac_kw foo_t static_foo () {return 0; }
20513 $ac_kw foo_t foo () {return 0; }
20517 rm -f conftest.$ac_objext
20518 if { (ac_try="$ac_compile"
20519 case "(($ac_try" in
20520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20521 *) ac_try_echo=$ac_try;;
20523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20524 (eval "$ac_compile") 2>conftest.er1
20526 grep -v '^ *+' conftest.er1 >conftest.err
20528 cat conftest.err >&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); } && {
20531 test -z "$ac_c_werror_flag" ||
20532 test ! -s conftest.err
20533 } && test -s conftest.$ac_objext; then
20534 ac_cv_c_inline=$ac_kw
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20543 test "$ac_cv_c_inline" != no && break
20547 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20548 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20551 case $ac_cv_c_inline in
20554 case $ac_cv_c_inline in
20556 *) ac_val=$ac_cv_c_inline;;
20558 cat >>confdefs.h <<_ACEOF
20559 #ifndef __cplusplus
20560 #define inline $ac_val
20567 { echo "$as_me:$LINENO: checking for short" >&5
20568 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20569 if test "${ac_cv_type_short+set}" = set; then
20570 echo $ECHO_N "(cached) $ECHO_C" >&6
20572 cat >conftest.$ac_ext <<_ACEOF
20575 cat confdefs.h >>conftest.$ac_ext
20576 cat >>conftest.$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 $ac_includes_default
20579 typedef short ac__type_new_;
20583 if ((ac__type_new_ *) 0)
20585 if (sizeof (ac__type_new_))
20591 rm -f conftest.$ac_objext
20592 if { (ac_try="$ac_compile"
20593 case "(($ac_try" in
20594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595 *) ac_try_echo=$ac_try;;
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_compile") 2>conftest.er1
20600 grep -v '^ *+' conftest.er1 >conftest.err
20602 cat conftest.err >&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } && {
20605 test -z "$ac_c_werror_flag" ||
20606 test ! -s conftest.err
20607 } && test -s conftest.$ac_objext; then
20608 ac_cv_type_short=yes
20610 echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20613 ac_cv_type_short=no
20616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20618 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20619 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20621 # The cast to long int works around a bug in the HP C Compiler
20622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20624 # This bug is HP SR number 8606223364.
20625 { echo "$as_me:$LINENO: checking size of short" >&5
20626 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20627 if test "${ac_cv_sizeof_short+set}" = set; then
20628 echo $ECHO_N "(cached) $ECHO_C" >&6
20630 if test "$cross_compiling" = yes; then
20631 # Depending upon the size, compute the lo and hi bounds.
20632 cat >conftest.$ac_ext <<_ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef short ac__type_sizeof_;
20643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20650 rm -f conftest.$ac_objext
20651 if { (ac_try="$ac_compile"
20652 case "(($ac_try" in
20653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20654 *) ac_try_echo=$ac_try;;
20656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20657 (eval "$ac_compile") 2>conftest.er1
20659 grep -v '^ *+' conftest.er1 >conftest.err
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && {
20664 test -z "$ac_c_werror_flag" ||
20665 test ! -s conftest.err
20666 } && test -s conftest.$ac_objext; then
20669 cat >conftest.$ac_ext <<_ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 $ac_includes_default
20676 typedef short ac__type_sizeof_;
20680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20687 rm -f conftest.$ac_objext
20688 if { (ac_try="$ac_compile"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_compile") 2>conftest.er1
20696 grep -v '^ *+' conftest.er1 >conftest.err
20698 cat conftest.err >&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_c_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest.$ac_objext; then
20704 ac_hi=$ac_mid; break
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20709 ac_lo=`expr $ac_mid + 1`
20710 if test $ac_lo -le $ac_mid; then
20714 ac_mid=`expr 2 '*' $ac_mid + 1`
20717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.$ac_ext >&5
20723 cat >conftest.$ac_ext <<_ACEOF
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729 $ac_includes_default
20730 typedef short ac__type_sizeof_;
20734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20741 rm -f conftest.$ac_objext
20742 if { (ac_try="$ac_compile"
20743 case "(($ac_try" in
20744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_compile") 2>conftest.er1
20750 grep -v '^ *+' conftest.er1 >conftest.err
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } && {
20755 test -z "$ac_c_werror_flag" ||
20756 test ! -s conftest.err
20757 } && test -s conftest.$ac_objext; then
20760 cat >conftest.$ac_ext <<_ACEOF
20763 cat confdefs.h >>conftest.$ac_ext
20764 cat >>conftest.$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20766 $ac_includes_default
20767 typedef short ac__type_sizeof_;
20771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20778 rm -f conftest.$ac_objext
20779 if { (ac_try="$ac_compile"
20780 case "(($ac_try" in
20781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20782 *) ac_try_echo=$ac_try;;
20784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20785 (eval "$ac_compile") 2>conftest.er1
20787 grep -v '^ *+' conftest.er1 >conftest.err
20789 cat conftest.err >&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } && {
20792 test -z "$ac_c_werror_flag" ||
20793 test ! -s conftest.err
20794 } && test -s conftest.$ac_objext; then
20795 ac_lo=$ac_mid; break
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.$ac_ext >&5
20800 ac_hi=`expr '(' $ac_mid ')' - 1`
20801 if test $ac_mid -le $ac_hi; then
20805 ac_mid=`expr 2 '*' $ac_mid`
20808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20821 # Binary search between lo and hi bounds.
20822 while test "x$ac_lo" != "x$ac_hi"; do
20823 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20824 cat >conftest.$ac_ext <<_ACEOF
20827 cat confdefs.h >>conftest.$ac_ext
20828 cat >>conftest.$ac_ext <<_ACEOF
20829 /* end confdefs.h. */
20830 $ac_includes_default
20831 typedef short ac__type_sizeof_;
20835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20842 rm -f conftest.$ac_objext
20843 if { (ac_try="$ac_compile"
20844 case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_compile") 2>conftest.er1
20851 grep -v '^ *+' conftest.er1 >conftest.err
20853 cat conftest.err >&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } && {
20856 test -z "$ac_c_werror_flag" ||
20857 test ! -s conftest.err
20858 } && test -s conftest.$ac_objext; then
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20864 ac_lo=`expr '(' $ac_mid ')' + 1`
20867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20870 ?*) ac_cv_sizeof_short=$ac_lo;;
20871 '') if test "$ac_cv_type_short" = yes; then
20872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20873 See \`config.log' for more details." >&5
20874 echo "$as_me: error: cannot compute sizeof (short)
20875 See \`config.log' for more details." >&2;}
20876 { (exit 77); exit 77; }; }
20878 ac_cv_sizeof_short=0
20882 cat >conftest.$ac_ext <<_ACEOF
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888 $ac_includes_default
20889 typedef short ac__type_sizeof_;
20890 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20891 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20893 #include <stdlib.h>
20898 FILE *f = fopen ("conftest.val", "w");
20901 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20903 long int i = longval ();
20904 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20906 fprintf (f, "%ld\n", i);
20910 unsigned long int i = ulongval ();
20911 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20913 fprintf (f, "%lu\n", i);
20915 return ferror (f) || fclose (f) != 0;
20921 rm -f conftest$ac_exeext
20922 if { (ac_try="$ac_link"
20923 case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20928 (eval "$ac_link") 2>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20932 { (case "(($ac_try" in
20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;;
20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_try") 2>&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; }; then
20941 ac_cv_sizeof_short=`cat conftest.val`
20943 echo "$as_me: program exited with status $ac_status" >&5
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20947 ( exit $ac_status )
20948 if test "$ac_cv_type_short" = yes; then
20949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20950 See \`config.log' for more details." >&5
20951 echo "$as_me: error: cannot compute sizeof (short)
20952 See \`config.log' for more details." >&2;}
20953 { (exit 77); exit 77; }; }
20955 ac_cv_sizeof_short=0
20958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20962 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20963 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20967 cat >>confdefs.h <<_ACEOF
20968 #define SIZEOF_SHORT $ac_cv_sizeof_short
20972 { echo "$as_me:$LINENO: checking for void *" >&5
20973 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20974 if test "${ac_cv_type_void_p+set}" = set; then
20975 echo $ECHO_N "(cached) $ECHO_C" >&6
20977 cat >conftest.$ac_ext <<_ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 $ac_includes_default
20984 typedef void * ac__type_new_;
20988 if ((ac__type_new_ *) 0)
20990 if (sizeof (ac__type_new_))
20996 rm -f conftest.$ac_objext
20997 if { (ac_try="$ac_compile"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_compile") 2>conftest.er1
21005 grep -v '^ *+' conftest.er1 >conftest.err
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest.$ac_objext; then
21013 ac_cv_type_void_p=yes
21015 echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21018 ac_cv_type_void_p=no
21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21023 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21024 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21026 # The cast to long int works around a bug in the HP C Compiler
21027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21029 # This bug is HP SR number 8606223364.
21030 { echo "$as_me:$LINENO: checking size of void *" >&5
21031 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21032 if test "${ac_cv_sizeof_void_p+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21035 if test "$cross_compiling" = yes; then
21036 # Depending upon the size, compute the lo and hi bounds.
21037 cat >conftest.$ac_ext <<_ACEOF
21040 cat confdefs.h >>conftest.$ac_ext
21041 cat >>conftest.$ac_ext <<_ACEOF
21042 /* end confdefs.h. */
21043 $ac_includes_default
21044 typedef void * ac__type_sizeof_;
21048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21055 rm -f conftest.$ac_objext
21056 if { (ac_try="$ac_compile"
21057 case "(($ac_try" in
21058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062 (eval "$ac_compile") 2>conftest.er1
21064 grep -v '^ *+' conftest.er1 >conftest.err
21066 cat conftest.err >&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } && {
21069 test -z "$ac_c_werror_flag" ||
21070 test ! -s conftest.err
21071 } && test -s conftest.$ac_objext; then
21074 cat >conftest.$ac_ext <<_ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 $ac_includes_default
21081 typedef void * ac__type_sizeof_;
21085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21092 rm -f conftest.$ac_objext
21093 if { (ac_try="$ac_compile"
21094 case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096 *) ac_try_echo=$ac_try;;
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_compile") 2>conftest.er1
21101 grep -v '^ *+' conftest.er1 >conftest.err
21103 cat conftest.err >&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } && {
21106 test -z "$ac_c_werror_flag" ||
21107 test ! -s conftest.err
21108 } && test -s conftest.$ac_objext; then
21109 ac_hi=$ac_mid; break
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.$ac_ext >&5
21114 ac_lo=`expr $ac_mid + 1`
21115 if test $ac_lo -le $ac_mid; then
21119 ac_mid=`expr 2 '*' $ac_mid + 1`
21122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21128 cat >conftest.$ac_ext <<_ACEOF
21131 cat confdefs.h >>conftest.$ac_ext
21132 cat >>conftest.$ac_ext <<_ACEOF
21133 /* end confdefs.h. */
21134 $ac_includes_default
21135 typedef void * ac__type_sizeof_;
21139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21146 rm -f conftest.$ac_objext
21147 if { (ac_try="$ac_compile"
21148 case "(($ac_try" in
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_compile") 2>conftest.er1
21155 grep -v '^ *+' conftest.er1 >conftest.err
21157 cat conftest.err >&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } && {
21160 test -z "$ac_c_werror_flag" ||
21161 test ! -s conftest.err
21162 } && test -s conftest.$ac_objext; then
21165 cat >conftest.$ac_ext <<_ACEOF
21168 cat confdefs.h >>conftest.$ac_ext
21169 cat >>conftest.$ac_ext <<_ACEOF
21170 /* end confdefs.h. */
21171 $ac_includes_default
21172 typedef void * ac__type_sizeof_;
21176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21183 rm -f conftest.$ac_objext
21184 if { (ac_try="$ac_compile"
21185 case "(($ac_try" in
21186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21187 *) ac_try_echo=$ac_try;;
21189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21190 (eval "$ac_compile") 2>conftest.er1
21192 grep -v '^ *+' conftest.er1 >conftest.err
21194 cat conftest.err >&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); } && {
21197 test -z "$ac_c_werror_flag" ||
21198 test ! -s conftest.err
21199 } && test -s conftest.$ac_objext; then
21200 ac_lo=$ac_mid; break
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.$ac_ext >&5
21205 ac_hi=`expr '(' $ac_mid ')' - 1`
21206 if test $ac_mid -le $ac_hi; then
21210 ac_mid=`expr 2 '*' $ac_mid`
21213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21226 # Binary search between lo and hi bounds.
21227 while test "x$ac_lo" != "x$ac_hi"; do
21228 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21229 cat >conftest.$ac_ext <<_ACEOF
21232 cat confdefs.h >>conftest.$ac_ext
21233 cat >>conftest.$ac_ext <<_ACEOF
21234 /* end confdefs.h. */
21235 $ac_includes_default
21236 typedef void * ac__type_sizeof_;
21240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21247 rm -f conftest.$ac_objext
21248 if { (ac_try="$ac_compile"
21249 case "(($ac_try" in
21250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21251 *) ac_try_echo=$ac_try;;
21253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21254 (eval "$ac_compile") 2>conftest.er1
21256 grep -v '^ *+' conftest.er1 >conftest.err
21258 cat conftest.err >&5
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); } && {
21261 test -z "$ac_c_werror_flag" ||
21262 test ! -s conftest.err
21263 } && test -s conftest.$ac_objext; then
21266 echo "$as_me: failed program was:" >&5
21267 sed 's/^/| /' conftest.$ac_ext >&5
21269 ac_lo=`expr '(' $ac_mid ')' + 1`
21272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21275 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21276 '') if test "$ac_cv_type_void_p" = yes; then
21277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21278 See \`config.log' for more details." >&5
21279 echo "$as_me: error: cannot compute sizeof (void *)
21280 See \`config.log' for more details." >&2;}
21281 { (exit 77); exit 77; }; }
21283 ac_cv_sizeof_void_p=0
21287 cat >conftest.$ac_ext <<_ACEOF
21290 cat confdefs.h >>conftest.$ac_ext
21291 cat >>conftest.$ac_ext <<_ACEOF
21292 /* end confdefs.h. */
21293 $ac_includes_default
21294 typedef void * ac__type_sizeof_;
21295 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21296 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21298 #include <stdlib.h>
21303 FILE *f = fopen ("conftest.val", "w");
21306 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21308 long int i = longval ();
21309 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21311 fprintf (f, "%ld\n", i);
21315 unsigned long int i = ulongval ();
21316 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21318 fprintf (f, "%lu\n", i);
21320 return ferror (f) || fclose (f) != 0;
21326 rm -f conftest$ac_exeext
21327 if { (ac_try="$ac_link"
21328 case "(($ac_try" in
21329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21330 *) ac_try_echo=$ac_try;;
21332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21333 (eval "$ac_link") 2>&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21337 { (case "(($ac_try" in
21338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21339 *) ac_try_echo=$ac_try;;
21341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_try") 2>&5
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; }; then
21346 ac_cv_sizeof_void_p=`cat conftest.val`
21348 echo "$as_me: program exited with status $ac_status" >&5
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21352 ( exit $ac_status )
21353 if test "$ac_cv_type_void_p" = yes; then
21354 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21355 See \`config.log' for more details." >&5
21356 echo "$as_me: error: cannot compute sizeof (void *)
21357 See \`config.log' for more details." >&2;}
21358 { (exit 77); exit 77; }; }
21360 ac_cv_sizeof_void_p=0
21363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21367 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21368 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21372 cat >>confdefs.h <<_ACEOF
21373 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21377 { echo "$as_me:$LINENO: checking for int" >&5
21378 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21379 if test "${ac_cv_type_int+set}" = set; then
21380 echo $ECHO_N "(cached) $ECHO_C" >&6
21382 cat >conftest.$ac_ext <<_ACEOF
21385 cat confdefs.h >>conftest.$ac_ext
21386 cat >>conftest.$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 $ac_includes_default
21389 typedef int ac__type_new_;
21393 if ((ac__type_new_ *) 0)
21395 if (sizeof (ac__type_new_))
21401 rm -f conftest.$ac_objext
21402 if { (ac_try="$ac_compile"
21403 case "(($ac_try" in
21404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21405 *) ac_try_echo=$ac_try;;
21407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21408 (eval "$ac_compile") 2>conftest.er1
21410 grep -v '^ *+' conftest.er1 >conftest.err
21412 cat conftest.err >&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); } && {
21415 test -z "$ac_c_werror_flag" ||
21416 test ! -s conftest.err
21417 } && test -s conftest.$ac_objext; then
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21428 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21429 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21431 # The cast to long int works around a bug in the HP C Compiler
21432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21434 # This bug is HP SR number 8606223364.
21435 { echo "$as_me:$LINENO: checking size of int" >&5
21436 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21437 if test "${ac_cv_sizeof_int+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21440 if test "$cross_compiling" = yes; then
21441 # Depending upon the size, compute the lo and hi bounds.
21442 cat >conftest.$ac_ext <<_ACEOF
21445 cat confdefs.h >>conftest.$ac_ext
21446 cat >>conftest.$ac_ext <<_ACEOF
21447 /* end confdefs.h. */
21448 $ac_includes_default
21449 typedef int ac__type_sizeof_;
21453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21460 rm -f conftest.$ac_objext
21461 if { (ac_try="$ac_compile"
21462 case "(($ac_try" in
21463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21464 *) ac_try_echo=$ac_try;;
21466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21467 (eval "$ac_compile") 2>conftest.er1
21469 grep -v '^ *+' conftest.er1 >conftest.err
21471 cat conftest.err >&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } && {
21474 test -z "$ac_c_werror_flag" ||
21475 test ! -s conftest.err
21476 } && test -s conftest.$ac_objext; then
21479 cat >conftest.$ac_ext <<_ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 typedef int ac__type_sizeof_;
21490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21506 grep -v '^ *+' conftest.er1 >conftest.err
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest.$ac_objext; then
21514 ac_hi=$ac_mid; break
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21519 ac_lo=`expr $ac_mid + 1`
21520 if test $ac_lo -le $ac_mid; then
21524 ac_mid=`expr 2 '*' $ac_mid + 1`
21527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.$ac_ext >&5
21533 cat >conftest.$ac_ext <<_ACEOF
21536 cat confdefs.h >>conftest.$ac_ext
21537 cat >>conftest.$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 $ac_includes_default
21540 typedef int ac__type_sizeof_;
21544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21551 rm -f conftest.$ac_objext
21552 if { (ac_try="$ac_compile"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_compile") 2>conftest.er1
21560 grep -v '^ *+' conftest.er1 >conftest.err
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } && {
21565 test -z "$ac_c_werror_flag" ||
21566 test ! -s conftest.err
21567 } && test -s conftest.$ac_objext; then
21570 cat >conftest.$ac_ext <<_ACEOF
21573 cat confdefs.h >>conftest.$ac_ext
21574 cat >>conftest.$ac_ext <<_ACEOF
21575 /* end confdefs.h. */
21576 $ac_includes_default
21577 typedef int ac__type_sizeof_;
21581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21588 rm -f conftest.$ac_objext
21589 if { (ac_try="$ac_compile"
21590 case "(($ac_try" in
21591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21592 *) ac_try_echo=$ac_try;;
21594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_compile") 2>conftest.er1
21597 grep -v '^ *+' conftest.er1 >conftest.err
21599 cat conftest.err >&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); } && {
21602 test -z "$ac_c_werror_flag" ||
21603 test ! -s conftest.err
21604 } && test -s conftest.$ac_objext; then
21605 ac_lo=$ac_mid; break
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21610 ac_hi=`expr '(' $ac_mid ')' - 1`
21611 if test $ac_mid -le $ac_hi; then
21615 ac_mid=`expr 2 '*' $ac_mid`
21618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21621 echo "$as_me: failed program was:" >&5
21622 sed 's/^/| /' conftest.$ac_ext >&5
21627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 # Binary search between lo and hi bounds.
21632 while test "x$ac_lo" != "x$ac_hi"; do
21633 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21634 cat >conftest.$ac_ext <<_ACEOF
21637 cat confdefs.h >>conftest.$ac_ext
21638 cat >>conftest.$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21640 $ac_includes_default
21641 typedef int ac__type_sizeof_;
21645 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21652 rm -f conftest.$ac_objext
21653 if { (ac_try="$ac_compile"
21654 case "(($ac_try" in
21655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656 *) ac_try_echo=$ac_try;;
21658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659 (eval "$ac_compile") 2>conftest.er1
21661 grep -v '^ *+' conftest.er1 >conftest.err
21663 cat conftest.err >&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } && {
21666 test -z "$ac_c_werror_flag" ||
21667 test ! -s conftest.err
21668 } && test -s conftest.$ac_objext; then
21671 echo "$as_me: failed program was:" >&5
21672 sed 's/^/| /' conftest.$ac_ext >&5
21674 ac_lo=`expr '(' $ac_mid ')' + 1`
21677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21680 ?*) ac_cv_sizeof_int=$ac_lo;;
21681 '') if test "$ac_cv_type_int" = yes; then
21682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21683 See \`config.log' for more details." >&5
21684 echo "$as_me: error: cannot compute sizeof (int)
21685 See \`config.log' for more details." >&2;}
21686 { (exit 77); exit 77; }; }
21692 cat >conftest.$ac_ext <<_ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21699 typedef int ac__type_sizeof_;
21700 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21701 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21703 #include <stdlib.h>
21708 FILE *f = fopen ("conftest.val", "w");
21711 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21713 long int i = longval ();
21714 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21716 fprintf (f, "%ld\n", i);
21720 unsigned long int i = ulongval ();
21721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21723 fprintf (f, "%lu\n", i);
21725 return ferror (f) || fclose (f) != 0;
21731 rm -f conftest$ac_exeext
21732 if { (ac_try="$ac_link"
21733 case "(($ac_try" in
21734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21735 *) ac_try_echo=$ac_try;;
21737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21738 (eval "$ac_link") 2>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21742 { (case "(($ac_try" in
21743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21744 *) ac_try_echo=$ac_try;;
21746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21747 (eval "$ac_try") 2>&5
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; }; then
21751 ac_cv_sizeof_int=`cat conftest.val`
21753 echo "$as_me: program exited with status $ac_status" >&5
21754 echo "$as_me: failed program was:" >&5
21755 sed 's/^/| /' conftest.$ac_ext >&5
21757 ( exit $ac_status )
21758 if test "$ac_cv_type_int" = yes; then
21759 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21760 See \`config.log' for more details." >&5
21761 echo "$as_me: error: cannot compute sizeof (int)
21762 See \`config.log' for more details." >&2;}
21763 { (exit 77); exit 77; }; }
21768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21772 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21773 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21777 cat >>confdefs.h <<_ACEOF
21778 #define SIZEOF_INT $ac_cv_sizeof_int
21782 { echo "$as_me:$LINENO: checking for long" >&5
21783 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21784 if test "${ac_cv_type_long+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21787 cat >conftest.$ac_ext <<_ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 $ac_includes_default
21794 typedef long ac__type_new_;
21798 if ((ac__type_new_ *) 0)
21800 if (sizeof (ac__type_new_))
21806 rm -f conftest.$ac_objext
21807 if { (ac_try="$ac_compile"
21808 case "(($ac_try" in
21809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21810 *) ac_try_echo=$ac_try;;
21812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21813 (eval "$ac_compile") 2>conftest.er1
21815 grep -v '^ *+' conftest.er1 >conftest.err
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } && {
21820 test -z "$ac_c_werror_flag" ||
21821 test ! -s conftest.err
21822 } && test -s conftest.$ac_objext; then
21823 ac_cv_type_long=yes
21825 echo "$as_me: failed program was:" >&5
21826 sed 's/^/| /' conftest.$ac_ext >&5
21831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21833 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21834 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21836 # The cast to long int works around a bug in the HP C Compiler
21837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21839 # This bug is HP SR number 8606223364.
21840 { echo "$as_me:$LINENO: checking size of long" >&5
21841 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21842 if test "${ac_cv_sizeof_long+set}" = set; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21845 if test "$cross_compiling" = yes; then
21846 # Depending upon the size, compute the lo and hi bounds.
21847 cat >conftest.$ac_ext <<_ACEOF
21850 cat confdefs.h >>conftest.$ac_ext
21851 cat >>conftest.$ac_ext <<_ACEOF
21852 /* end confdefs.h. */
21853 $ac_includes_default
21854 typedef long ac__type_sizeof_;
21858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21865 rm -f conftest.$ac_objext
21866 if { (ac_try="$ac_compile"
21867 case "(($ac_try" in
21868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21869 *) ac_try_echo=$ac_try;;
21871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21872 (eval "$ac_compile") 2>conftest.er1
21874 grep -v '^ *+' conftest.er1 >conftest.err
21876 cat conftest.err >&5
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); } && {
21879 test -z "$ac_c_werror_flag" ||
21880 test ! -s conftest.err
21881 } && test -s conftest.$ac_objext; then
21884 cat >conftest.$ac_ext <<_ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21891 typedef long ac__type_sizeof_;
21895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21902 rm -f conftest.$ac_objext
21903 if { (ac_try="$ac_compile"
21904 case "(($ac_try" in
21905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906 *) ac_try_echo=$ac_try;;
21908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_compile") 2>conftest.er1
21911 grep -v '^ *+' conftest.er1 >conftest.err
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } && {
21916 test -z "$ac_c_werror_flag" ||
21917 test ! -s conftest.err
21918 } && test -s conftest.$ac_objext; then
21919 ac_hi=$ac_mid; break
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.$ac_ext >&5
21924 ac_lo=`expr $ac_mid + 1`
21925 if test $ac_lo -le $ac_mid; then
21929 ac_mid=`expr 2 '*' $ac_mid + 1`
21932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21935 echo "$as_me: failed program was:" >&5
21936 sed 's/^/| /' conftest.$ac_ext >&5
21938 cat >conftest.$ac_ext <<_ACEOF
21941 cat confdefs.h >>conftest.$ac_ext
21942 cat >>conftest.$ac_ext <<_ACEOF
21943 /* end confdefs.h. */
21944 $ac_includes_default
21945 typedef long ac__type_sizeof_;
21949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21956 rm -f conftest.$ac_objext
21957 if { (ac_try="$ac_compile"
21958 case "(($ac_try" in
21959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21960 *) ac_try_echo=$ac_try;;
21962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21963 (eval "$ac_compile") 2>conftest.er1
21965 grep -v '^ *+' conftest.er1 >conftest.err
21967 cat conftest.err >&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } && {
21970 test -z "$ac_c_werror_flag" ||
21971 test ! -s conftest.err
21972 } && test -s conftest.$ac_objext; then
21975 cat >conftest.$ac_ext <<_ACEOF
21978 cat confdefs.h >>conftest.$ac_ext
21979 cat >>conftest.$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21981 $ac_includes_default
21982 typedef long ac__type_sizeof_;
21986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21993 rm -f conftest.$ac_objext
21994 if { (ac_try="$ac_compile"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_compile") 2>conftest.er1
22002 grep -v '^ *+' conftest.er1 >conftest.err
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } && {
22007 test -z "$ac_c_werror_flag" ||
22008 test ! -s conftest.err
22009 } && test -s conftest.$ac_objext; then
22010 ac_lo=$ac_mid; break
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.$ac_ext >&5
22015 ac_hi=`expr '(' $ac_mid ')' - 1`
22016 if test $ac_mid -le $ac_hi; then
22020 ac_mid=`expr 2 '*' $ac_mid`
22023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22036 # Binary search between lo and hi bounds.
22037 while test "x$ac_lo" != "x$ac_hi"; do
22038 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22039 cat >conftest.$ac_ext <<_ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 $ac_includes_default
22046 typedef long ac__type_sizeof_;
22050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
22059 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_compile") 2>conftest.er1
22066 grep -v '^ *+' conftest.er1 >conftest.err
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } && {
22071 test -z "$ac_c_werror_flag" ||
22072 test ! -s conftest.err
22073 } && test -s conftest.$ac_objext; then
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.$ac_ext >&5
22079 ac_lo=`expr '(' $ac_mid ')' + 1`
22082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22085 ?*) ac_cv_sizeof_long=$ac_lo;;
22086 '') if test "$ac_cv_type_long" = yes; then
22087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22088 See \`config.log' for more details." >&5
22089 echo "$as_me: error: cannot compute sizeof (long)
22090 See \`config.log' for more details." >&2;}
22091 { (exit 77); exit 77; }; }
22093 ac_cv_sizeof_long=0
22097 cat >conftest.$ac_ext <<_ACEOF
22100 cat confdefs.h >>conftest.$ac_ext
22101 cat >>conftest.$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 $ac_includes_default
22104 typedef long ac__type_sizeof_;
22105 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22106 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22108 #include <stdlib.h>
22113 FILE *f = fopen ("conftest.val", "w");
22116 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22118 long int i = longval ();
22119 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22121 fprintf (f, "%ld\n", i);
22125 unsigned long int i = ulongval ();
22126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22128 fprintf (f, "%lu\n", i);
22130 return ferror (f) || fclose (f) != 0;
22136 rm -f conftest$ac_exeext
22137 if { (ac_try="$ac_link"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_link") 2>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22147 { (case "(($ac_try" in
22148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22149 *) ac_try_echo=$ac_try;;
22151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152 (eval "$ac_try") 2>&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); }; }; then
22156 ac_cv_sizeof_long=`cat conftest.val`
22158 echo "$as_me: program exited with status $ac_status" >&5
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22162 ( exit $ac_status )
22163 if test "$ac_cv_type_long" = yes; then
22164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22165 See \`config.log' for more details." >&5
22166 echo "$as_me: error: cannot compute sizeof (long)
22167 See \`config.log' for more details." >&2;}
22168 { (exit 77); exit 77; }; }
22170 ac_cv_sizeof_long=0
22173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22178 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22182 cat >>confdefs.h <<_ACEOF
22183 #define SIZEOF_LONG $ac_cv_sizeof_long
22187 { echo "$as_me:$LINENO: checking for size_t" >&5
22188 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22189 if test "${ac_cv_type_size_t+set}" = set; then
22190 echo $ECHO_N "(cached) $ECHO_C" >&6
22192 cat >conftest.$ac_ext <<_ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198 $ac_includes_default
22199 typedef size_t ac__type_new_;
22203 if ((ac__type_new_ *) 0)
22205 if (sizeof (ac__type_new_))
22211 rm -f conftest.$ac_objext
22212 if { (ac_try="$ac_compile"
22213 case "(($ac_try" in
22214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22215 *) ac_try_echo=$ac_try;;
22217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22218 (eval "$ac_compile") 2>conftest.er1
22220 grep -v '^ *+' conftest.er1 >conftest.err
22222 cat conftest.err >&5
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); } && {
22225 test -z "$ac_c_werror_flag" ||
22226 test ! -s conftest.err
22227 } && test -s conftest.$ac_objext; then
22228 ac_cv_type_size_t=yes
22230 echo "$as_me: failed program was:" >&5
22231 sed 's/^/| /' conftest.$ac_ext >&5
22233 ac_cv_type_size_t=no
22236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22238 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22239 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22241 # The cast to long int works around a bug in the HP C Compiler
22242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22244 # This bug is HP SR number 8606223364.
22245 { echo "$as_me:$LINENO: checking size of size_t" >&5
22246 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22247 if test "${ac_cv_sizeof_size_t+set}" = set; then
22248 echo $ECHO_N "(cached) $ECHO_C" >&6
22250 if test "$cross_compiling" = yes; then
22251 # Depending upon the size, compute the lo and hi bounds.
22252 cat >conftest.$ac_ext <<_ACEOF
22255 cat confdefs.h >>conftest.$ac_ext
22256 cat >>conftest.$ac_ext <<_ACEOF
22257 /* end confdefs.h. */
22258 $ac_includes_default
22259 typedef size_t ac__type_sizeof_;
22263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22270 rm -f conftest.$ac_objext
22271 if { (ac_try="$ac_compile"
22272 case "(($ac_try" in
22273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22274 *) ac_try_echo=$ac_try;;
22276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22277 (eval "$ac_compile") 2>conftest.er1
22279 grep -v '^ *+' conftest.er1 >conftest.err
22281 cat conftest.err >&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); } && {
22284 test -z "$ac_c_werror_flag" ||
22285 test ! -s conftest.err
22286 } && test -s conftest.$ac_objext; then
22289 cat >conftest.$ac_ext <<_ACEOF
22292 cat confdefs.h >>conftest.$ac_ext
22293 cat >>conftest.$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 $ac_includes_default
22296 typedef size_t ac__type_sizeof_;
22300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22307 rm -f conftest.$ac_objext
22308 if { (ac_try="$ac_compile"
22309 case "(($ac_try" in
22310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22311 *) ac_try_echo=$ac_try;;
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_compile") 2>conftest.er1
22316 grep -v '^ *+' conftest.er1 >conftest.err
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } && {
22321 test -z "$ac_c_werror_flag" ||
22322 test ! -s conftest.err
22323 } && test -s conftest.$ac_objext; then
22324 ac_hi=$ac_mid; break
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22329 ac_lo=`expr $ac_mid + 1`
22330 if test $ac_lo -le $ac_mid; then
22334 ac_mid=`expr 2 '*' $ac_mid + 1`
22337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.$ac_ext >&5
22343 cat >conftest.$ac_ext <<_ACEOF
22346 cat confdefs.h >>conftest.$ac_ext
22347 cat >>conftest.$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22349 $ac_includes_default
22350 typedef size_t ac__type_sizeof_;
22354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22361 rm -f conftest.$ac_objext
22362 if { (ac_try="$ac_compile"
22363 case "(($ac_try" in
22364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22365 *) ac_try_echo=$ac_try;;
22367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22368 (eval "$ac_compile") 2>conftest.er1
22370 grep -v '^ *+' conftest.er1 >conftest.err
22372 cat conftest.err >&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } && {
22375 test -z "$ac_c_werror_flag" ||
22376 test ! -s conftest.err
22377 } && test -s conftest.$ac_objext; then
22380 cat >conftest.$ac_ext <<_ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 $ac_includes_default
22387 typedef size_t ac__type_sizeof_;
22391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22398 rm -f conftest.$ac_objext
22399 if { (ac_try="$ac_compile"
22400 case "(($ac_try" in
22401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22402 *) ac_try_echo=$ac_try;;
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_compile") 2>conftest.er1
22407 grep -v '^ *+' conftest.er1 >conftest.err
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } && {
22412 test -z "$ac_c_werror_flag" ||
22413 test ! -s conftest.err
22414 } && test -s conftest.$ac_objext; then
22415 ac_lo=$ac_mid; break
22417 echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.$ac_ext >&5
22420 ac_hi=`expr '(' $ac_mid ')' - 1`
22421 if test $ac_mid -le $ac_hi; then
22425 ac_mid=`expr 2 '*' $ac_mid`
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22431 echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.$ac_ext >&5
22437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 # Binary search between lo and hi bounds.
22442 while test "x$ac_lo" != "x$ac_hi"; do
22443 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22444 cat >conftest.$ac_ext <<_ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef size_t ac__type_sizeof_;
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22462 rm -f conftest.$ac_objext
22463 if { (ac_try="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22471 grep -v '^ *+' conftest.er1 >conftest.err
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22481 echo "$as_me: failed program was:" >&5
22482 sed 's/^/| /' conftest.$ac_ext >&5
22484 ac_lo=`expr '(' $ac_mid ')' + 1`
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22491 '') if test "$ac_cv_type_size_t" = yes; then
22492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22493 See \`config.log' for more details." >&5
22494 echo "$as_me: error: cannot compute sizeof (size_t)
22495 See \`config.log' for more details." >&2;}
22496 { (exit 77); exit 77; }; }
22498 ac_cv_sizeof_size_t=0
22502 cat >conftest.$ac_ext <<_ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 $ac_includes_default
22509 typedef size_t ac__type_sizeof_;
22510 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22511 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22513 #include <stdlib.h>
22518 FILE *f = fopen ("conftest.val", "w");
22521 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22523 long int i = longval ();
22524 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22526 fprintf (f, "%ld\n", i);
22530 unsigned long int i = ulongval ();
22531 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22533 fprintf (f, "%lu\n", i);
22535 return ferror (f) || fclose (f) != 0;
22541 rm -f conftest$ac_exeext
22542 if { (ac_try="$ac_link"
22543 case "(($ac_try" in
22544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22545 *) ac_try_echo=$ac_try;;
22547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22548 (eval "$ac_link") 2>&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22552 { (case "(($ac_try" in
22553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22554 *) ac_try_echo=$ac_try;;
22556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22557 (eval "$ac_try") 2>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; }; then
22561 ac_cv_sizeof_size_t=`cat conftest.val`
22563 echo "$as_me: program exited with status $ac_status" >&5
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.$ac_ext >&5
22567 ( exit $ac_status )
22568 if test "$ac_cv_type_size_t" = yes; then
22569 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22570 See \`config.log' for more details." >&5
22571 echo "$as_me: error: cannot compute sizeof (size_t)
22572 See \`config.log' for more details." >&2;}
22573 { (exit 77); exit 77; }; }
22575 ac_cv_sizeof_size_t=0
22578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22582 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22583 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22587 cat >>confdefs.h <<_ACEOF
22588 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22595 { echo "$as_me:$LINENO: checking for long long" >&5
22596 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22597 if test "${ac_cv_type_long_long+set}" = set; then
22598 echo $ECHO_N "(cached) $ECHO_C" >&6
22600 cat >conftest.$ac_ext <<_ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 $ac_includes_default
22607 typedef long long ac__type_new_;
22611 if ((ac__type_new_ *) 0)
22613 if (sizeof (ac__type_new_))
22619 rm -f conftest.$ac_objext
22620 if { (ac_try="$ac_compile"
22621 case "(($ac_try" in
22622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22623 *) ac_try_echo=$ac_try;;
22625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22626 (eval "$ac_compile") 2>conftest.er1
22628 grep -v '^ *+' conftest.er1 >conftest.err
22630 cat conftest.err >&5
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); } && {
22633 test -z "$ac_c_werror_flag" ||
22634 test ! -s conftest.err
22635 } && test -s conftest.$ac_objext; then
22636 ac_cv_type_long_long=yes
22638 echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.$ac_ext >&5
22641 ac_cv_type_long_long=no
22644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22646 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22647 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22649 # The cast to long int works around a bug in the HP C Compiler
22650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22652 # This bug is HP SR number 8606223364.
22653 { echo "$as_me:$LINENO: checking size of long long" >&5
22654 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22655 if test "${ac_cv_sizeof_long_long+set}" = set; then
22656 echo $ECHO_N "(cached) $ECHO_C" >&6
22658 if test "$cross_compiling" = yes; then
22659 # Depending upon the size, compute the lo and hi bounds.
22660 cat >conftest.$ac_ext <<_ACEOF
22663 cat confdefs.h >>conftest.$ac_ext
22664 cat >>conftest.$ac_ext <<_ACEOF
22665 /* end confdefs.h. */
22666 $ac_includes_default
22667 typedef long long ac__type_sizeof_;
22671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22678 rm -f conftest.$ac_objext
22679 if { (ac_try="$ac_compile"
22680 case "(($ac_try" in
22681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22682 *) ac_try_echo=$ac_try;;
22684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22685 (eval "$ac_compile") 2>conftest.er1
22687 grep -v '^ *+' conftest.er1 >conftest.err
22689 cat conftest.err >&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); } && {
22692 test -z "$ac_c_werror_flag" ||
22693 test ! -s conftest.err
22694 } && test -s conftest.$ac_objext; then
22697 cat >conftest.$ac_ext <<_ACEOF
22700 cat confdefs.h >>conftest.$ac_ext
22701 cat >>conftest.$ac_ext <<_ACEOF
22702 /* end confdefs.h. */
22703 $ac_includes_default
22704 typedef long long ac__type_sizeof_;
22708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22715 rm -f conftest.$ac_objext
22716 if { (ac_try="$ac_compile"
22717 case "(($ac_try" in
22718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22719 *) ac_try_echo=$ac_try;;
22721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22722 (eval "$ac_compile") 2>conftest.er1
22724 grep -v '^ *+' conftest.er1 >conftest.err
22726 cat conftest.err >&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); } && {
22729 test -z "$ac_c_werror_flag" ||
22730 test ! -s conftest.err
22731 } && test -s conftest.$ac_objext; then
22732 ac_hi=$ac_mid; break
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22737 ac_lo=`expr $ac_mid + 1`
22738 if test $ac_lo -le $ac_mid; then
22742 ac_mid=`expr 2 '*' $ac_mid + 1`
22745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22748 echo "$as_me: failed program was:" >&5
22749 sed 's/^/| /' conftest.$ac_ext >&5
22751 cat >conftest.$ac_ext <<_ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 $ac_includes_default
22758 typedef long long ac__type_sizeof_;
22762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22769 rm -f conftest.$ac_objext
22770 if { (ac_try="$ac_compile"
22771 case "(($ac_try" in
22772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22776 (eval "$ac_compile") 2>conftest.er1
22778 grep -v '^ *+' conftest.er1 >conftest.err
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } && {
22783 test -z "$ac_c_werror_flag" ||
22784 test ! -s conftest.err
22785 } && test -s conftest.$ac_objext; then
22788 cat >conftest.$ac_ext <<_ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 $ac_includes_default
22795 typedef long long ac__type_sizeof_;
22799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22806 rm -f conftest.$ac_objext
22807 if { (ac_try="$ac_compile"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_compile") 2>conftest.er1
22815 grep -v '^ *+' conftest.er1 >conftest.err
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } && {
22820 test -z "$ac_c_werror_flag" ||
22821 test ! -s conftest.err
22822 } && test -s conftest.$ac_objext; then
22823 ac_lo=$ac_mid; break
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.$ac_ext >&5
22828 ac_hi=`expr '(' $ac_mid ')' - 1`
22829 if test $ac_mid -le $ac_hi; then
22833 ac_mid=`expr 2 '*' $ac_mid`
22836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22839 echo "$as_me: failed program was:" >&5
22840 sed 's/^/| /' conftest.$ac_ext >&5
22845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22849 # Binary search between lo and hi bounds.
22850 while test "x$ac_lo" != "x$ac_hi"; do
22851 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22852 cat >conftest.$ac_ext <<_ACEOF
22855 cat confdefs.h >>conftest.$ac_ext
22856 cat >>conftest.$ac_ext <<_ACEOF
22857 /* end confdefs.h. */
22858 $ac_includes_default
22859 typedef long long ac__type_sizeof_;
22863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22870 rm -f conftest.$ac_objext
22871 if { (ac_try="$ac_compile"
22872 case "(($ac_try" in
22873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22874 *) ac_try_echo=$ac_try;;
22876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22877 (eval "$ac_compile") 2>conftest.er1
22879 grep -v '^ *+' conftest.er1 >conftest.err
22881 cat conftest.err >&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } && {
22884 test -z "$ac_c_werror_flag" ||
22885 test ! -s conftest.err
22886 } && test -s conftest.$ac_objext; then
22889 echo "$as_me: failed program was:" >&5
22890 sed 's/^/| /' conftest.$ac_ext >&5
22892 ac_lo=`expr '(' $ac_mid ')' + 1`
22895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22899 '') if test "$ac_cv_type_long_long" = yes; then
22900 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22901 See \`config.log' for more details." >&5
22902 echo "$as_me: error: cannot compute sizeof (long long)
22903 See \`config.log' for more details." >&2;}
22904 { (exit 77); exit 77; }; }
22906 ac_cv_sizeof_long_long=0
22910 cat >conftest.$ac_ext <<_ACEOF
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22916 $ac_includes_default
22917 typedef long long ac__type_sizeof_;
22918 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22919 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22921 #include <stdlib.h>
22926 FILE *f = fopen ("conftest.val", "w");
22929 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22931 long int i = longval ();
22932 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22934 fprintf (f, "%ld\n", i);
22938 unsigned long int i = ulongval ();
22939 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22941 fprintf (f, "%lu\n", i);
22943 return ferror (f) || fclose (f) != 0;
22949 rm -f conftest$ac_exeext
22950 if { (ac_try="$ac_link"
22951 case "(($ac_try" in
22952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_link") 2>&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22960 { (case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22962 *) ac_try_echo=$ac_try;;
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_try") 2>&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); }; }; then
22969 ac_cv_sizeof_long_long=`cat conftest.val`
22971 echo "$as_me: program exited with status $ac_status" >&5
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.$ac_ext >&5
22975 ( exit $ac_status )
22976 if test "$ac_cv_type_long_long" = yes; then
22977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22978 See \`config.log' for more details." >&5
22979 echo "$as_me: error: cannot compute sizeof (long long)
22980 See \`config.log' for more details." >&2;}
22981 { (exit 77); exit 77; }; }
22983 ac_cv_sizeof_long_long=0
22986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22990 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22991 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22995 cat >>confdefs.h <<_ACEOF
22996 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23002 { echo "$as_me:$LINENO: checking for long long" >&5
23003 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23004 if test "${ac_cv_type_long_long+set}" = set; then
23005 echo $ECHO_N "(cached) $ECHO_C" >&6
23007 cat >conftest.$ac_ext <<_ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013 $ac_includes_default
23014 typedef long long ac__type_new_;
23018 if ((ac__type_new_ *) 0)
23020 if (sizeof (ac__type_new_))
23026 rm -f conftest.$ac_objext
23027 if { (ac_try="$ac_compile"
23028 case "(($ac_try" in
23029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23030 *) ac_try_echo=$ac_try;;
23032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23033 (eval "$ac_compile") 2>conftest.er1
23035 grep -v '^ *+' conftest.er1 >conftest.err
23037 cat conftest.err >&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); } && {
23040 test -z "$ac_c_werror_flag" ||
23041 test ! -s conftest.err
23042 } && test -s conftest.$ac_objext; then
23043 ac_cv_type_long_long=yes
23045 echo "$as_me: failed program was:" >&5
23046 sed 's/^/| /' conftest.$ac_ext >&5
23048 ac_cv_type_long_long=no
23051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23053 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23054 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23056 # The cast to long int works around a bug in the HP C Compiler
23057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23059 # This bug is HP SR number 8606223364.
23060 { echo "$as_me:$LINENO: checking size of long long" >&5
23061 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23062 if test "${ac_cv_sizeof_long_long+set}" = set; then
23063 echo $ECHO_N "(cached) $ECHO_C" >&6
23065 if test "$cross_compiling" = yes; then
23066 # Depending upon the size, compute the lo and hi bounds.
23067 cat >conftest.$ac_ext <<_ACEOF
23070 cat confdefs.h >>conftest.$ac_ext
23071 cat >>conftest.$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23073 $ac_includes_default
23074 typedef long long ac__type_sizeof_;
23078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23085 rm -f conftest.$ac_objext
23086 if { (ac_try="$ac_compile"
23087 case "(($ac_try" in
23088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23089 *) ac_try_echo=$ac_try;;
23091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23092 (eval "$ac_compile") 2>conftest.er1
23094 grep -v '^ *+' conftest.er1 >conftest.err
23096 cat conftest.err >&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } && {
23099 test -z "$ac_c_werror_flag" ||
23100 test ! -s conftest.err
23101 } && test -s conftest.$ac_objext; then
23104 cat >conftest.$ac_ext <<_ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 typedef long long ac__type_sizeof_;
23115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23122 rm -f conftest.$ac_objext
23123 if { (ac_try="$ac_compile"
23124 case "(($ac_try" in
23125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23126 *) ac_try_echo=$ac_try;;
23128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23129 (eval "$ac_compile") 2>conftest.er1
23131 grep -v '^ *+' conftest.er1 >conftest.err
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } && {
23136 test -z "$ac_c_werror_flag" ||
23137 test ! -s conftest.err
23138 } && test -s conftest.$ac_objext; then
23139 ac_hi=$ac_mid; break
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23144 ac_lo=`expr $ac_mid + 1`
23145 if test $ac_lo -le $ac_mid; then
23149 ac_mid=`expr 2 '*' $ac_mid + 1`
23152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23155 echo "$as_me: failed program was:" >&5
23156 sed 's/^/| /' conftest.$ac_ext >&5
23158 cat >conftest.$ac_ext <<_ACEOF
23161 cat confdefs.h >>conftest.$ac_ext
23162 cat >>conftest.$ac_ext <<_ACEOF
23163 /* end confdefs.h. */
23164 $ac_includes_default
23165 typedef long long ac__type_sizeof_;
23169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23176 rm -f conftest.$ac_objext
23177 if { (ac_try="$ac_compile"
23178 case "(($ac_try" in
23179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23180 *) ac_try_echo=$ac_try;;
23182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23183 (eval "$ac_compile") 2>conftest.er1
23185 grep -v '^ *+' conftest.er1 >conftest.err
23187 cat conftest.err >&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); } && {
23190 test -z "$ac_c_werror_flag" ||
23191 test ! -s conftest.err
23192 } && test -s conftest.$ac_objext; then
23195 cat >conftest.$ac_ext <<_ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 $ac_includes_default
23202 typedef long long ac__type_sizeof_;
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23213 rm -f conftest.$ac_objext
23214 if { (ac_try="$ac_compile"
23215 case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_compile") 2>conftest.er1
23222 grep -v '^ *+' conftest.er1 >conftest.err
23224 cat conftest.err >&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.$ac_objext; then
23230 ac_lo=$ac_mid; break
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23235 ac_hi=`expr '(' $ac_mid ')' - 1`
23236 if test $ac_mid -le $ac_hi; then
23240 ac_mid=`expr 2 '*' $ac_mid`
23243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.$ac_ext >&5
23252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23256 # Binary search between lo and hi bounds.
23257 while test "x$ac_lo" != "x$ac_hi"; do
23258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23259 cat >conftest.$ac_ext <<_ACEOF
23262 cat confdefs.h >>conftest.$ac_ext
23263 cat >>conftest.$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 $ac_includes_default
23266 typedef long long ac__type_sizeof_;
23270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23277 rm -f conftest.$ac_objext
23278 if { (ac_try="$ac_compile"
23279 case "(($ac_try" in
23280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23281 *) ac_try_echo=$ac_try;;
23283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23284 (eval "$ac_compile") 2>conftest.er1
23286 grep -v '^ *+' conftest.er1 >conftest.err
23288 cat conftest.err >&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); } && {
23291 test -z "$ac_c_werror_flag" ||
23292 test ! -s conftest.err
23293 } && test -s conftest.$ac_objext; then
23296 echo "$as_me: failed program was:" >&5
23297 sed 's/^/| /' conftest.$ac_ext >&5
23299 ac_lo=`expr '(' $ac_mid ')' + 1`
23302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23306 '') if test "$ac_cv_type_long_long" = yes; then
23307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23308 See \`config.log' for more details." >&5
23309 echo "$as_me: error: cannot compute sizeof (long long)
23310 See \`config.log' for more details." >&2;}
23311 { (exit 77); exit 77; }; }
23313 ac_cv_sizeof_long_long=0
23317 cat >conftest.$ac_ext <<_ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323 $ac_includes_default
23324 typedef long long ac__type_sizeof_;
23325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23328 #include <stdlib.h>
23333 FILE *f = fopen ("conftest.val", "w");
23336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23338 long int i = longval ();
23339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23341 fprintf (f, "%ld\n", i);
23345 unsigned long int i = ulongval ();
23346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23348 fprintf (f, "%lu\n", i);
23350 return ferror (f) || fclose (f) != 0;
23356 rm -f conftest$ac_exeext
23357 if { (ac_try="$ac_link"
23358 case "(($ac_try" in
23359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23360 *) ac_try_echo=$ac_try;;
23362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23363 (eval "$ac_link") 2>&5
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23367 { (case "(($ac_try" in
23368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23369 *) ac_try_echo=$ac_try;;
23371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23372 (eval "$ac_try") 2>&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; }; then
23376 ac_cv_sizeof_long_long=`cat conftest.val`
23378 echo "$as_me: program exited with status $ac_status" >&5
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.$ac_ext >&5
23382 ( exit $ac_status )
23383 if test "$ac_cv_type_long_long" = yes; then
23384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23385 See \`config.log' for more details." >&5
23386 echo "$as_me: error: cannot compute sizeof (long long)
23387 See \`config.log' for more details." >&2;}
23388 { (exit 77); exit 77; }; }
23390 ac_cv_sizeof_long_long=0
23393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23398 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23402 cat >>confdefs.h <<_ACEOF
23403 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23407 if test "$ac_cv_sizeof_long_long" != 0; then
23408 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23412 { echo "$as_me:$LINENO: checking for long long" >&5
23413 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23414 if test "${ac_cv_type_long_long+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23417 cat >conftest.$ac_ext <<_ACEOF
23420 cat confdefs.h >>conftest.$ac_ext
23421 cat >>conftest.$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23423 $ac_includes_default
23424 typedef long long ac__type_new_;
23428 if ((ac__type_new_ *) 0)
23430 if (sizeof (ac__type_new_))
23436 rm -f conftest.$ac_objext
23437 if { (ac_try="$ac_compile"
23438 case "(($ac_try" in
23439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23440 *) ac_try_echo=$ac_try;;
23442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23443 (eval "$ac_compile") 2>conftest.er1
23445 grep -v '^ *+' conftest.er1 >conftest.err
23447 cat conftest.err >&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); } && {
23450 test -z "$ac_c_werror_flag" ||
23451 test ! -s conftest.err
23452 } && test -s conftest.$ac_objext; then
23453 ac_cv_type_long_long=yes
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23458 ac_cv_type_long_long=no
23461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23463 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23464 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23466 # The cast to long int works around a bug in the HP C Compiler
23467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23469 # This bug is HP SR number 8606223364.
23470 { echo "$as_me:$LINENO: checking size of long long" >&5
23471 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23472 if test "${ac_cv_sizeof_long_long+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 if test "$cross_compiling" = yes; then
23476 # Depending upon the size, compute the lo and hi bounds.
23477 cat >conftest.$ac_ext <<_ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 typedef long long ac__type_sizeof_;
23488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23495 rm -f conftest.$ac_objext
23496 if { (ac_try="$ac_compile"
23497 case "(($ac_try" in
23498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23499 *) ac_try_echo=$ac_try;;
23501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23502 (eval "$ac_compile") 2>conftest.er1
23504 grep -v '^ *+' conftest.er1 >conftest.err
23506 cat conftest.err >&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && {
23509 test -z "$ac_c_werror_flag" ||
23510 test ! -s conftest.err
23511 } && test -s conftest.$ac_objext; then
23514 cat >conftest.$ac_ext <<_ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 $ac_includes_default
23521 typedef long long ac__type_sizeof_;
23525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23532 rm -f conftest.$ac_objext
23533 if { (ac_try="$ac_compile"
23534 case "(($ac_try" in
23535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23536 *) ac_try_echo=$ac_try;;
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_compile") 2>conftest.er1
23541 grep -v '^ *+' conftest.er1 >conftest.err
23543 cat conftest.err >&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_c_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest.$ac_objext; then
23549 ac_hi=$ac_mid; break
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.$ac_ext >&5
23554 ac_lo=`expr $ac_mid + 1`
23555 if test $ac_lo -le $ac_mid; then
23559 ac_mid=`expr 2 '*' $ac_mid + 1`
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23568 cat >conftest.$ac_ext <<_ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef long long ac__type_sizeof_;
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23586 rm -f conftest.$ac_objext
23587 if { (ac_try="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23595 grep -v '^ *+' conftest.er1 >conftest.err
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23605 cat >conftest.$ac_ext <<_ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23612 typedef long long ac__type_sizeof_;
23616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23623 rm -f conftest.$ac_objext
23624 if { (ac_try="$ac_compile"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_compile") 2>conftest.er1
23632 grep -v '^ *+' conftest.er1 >conftest.err
23634 cat conftest.err >&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } && {
23637 test -z "$ac_c_werror_flag" ||
23638 test ! -s conftest.err
23639 } && test -s conftest.$ac_objext; then
23640 ac_lo=$ac_mid; break
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23645 ac_hi=`expr '(' $ac_mid ')' - 1`
23646 if test $ac_mid -le $ac_hi; then
23650 ac_mid=`expr 2 '*' $ac_mid`
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 # Binary search between lo and hi bounds.
23667 while test "x$ac_lo" != "x$ac_hi"; do
23668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23669 cat >conftest.$ac_ext <<_ACEOF
23672 cat confdefs.h >>conftest.$ac_ext
23673 cat >>conftest.$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23675 $ac_includes_default
23676 typedef long long ac__type_sizeof_;
23680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23687 rm -f conftest.$ac_objext
23688 if { (ac_try="$ac_compile"
23689 case "(($ac_try" in
23690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23691 *) ac_try_echo=$ac_try;;
23693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23694 (eval "$ac_compile") 2>conftest.er1
23696 grep -v '^ *+' conftest.er1 >conftest.err
23698 cat conftest.err >&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); } && {
23701 test -z "$ac_c_werror_flag" ||
23702 test ! -s conftest.err
23703 } && test -s conftest.$ac_objext; then
23706 echo "$as_me: failed program was:" >&5
23707 sed 's/^/| /' conftest.$ac_ext >&5
23709 ac_lo=`expr '(' $ac_mid ')' + 1`
23712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23715 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23716 '') if test "$ac_cv_type_long_long" = yes; then
23717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23718 See \`config.log' for more details." >&5
23719 echo "$as_me: error: cannot compute sizeof (long long)
23720 See \`config.log' for more details." >&2;}
23721 { (exit 77); exit 77; }; }
23723 ac_cv_sizeof_long_long=0
23727 cat >conftest.$ac_ext <<_ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23733 $ac_includes_default
23734 typedef long long ac__type_sizeof_;
23735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23738 #include <stdlib.h>
23743 FILE *f = fopen ("conftest.val", "w");
23746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23748 long int i = longval ();
23749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23751 fprintf (f, "%ld\n", i);
23755 unsigned long int i = ulongval ();
23756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23758 fprintf (f, "%lu\n", i);
23760 return ferror (f) || fclose (f) != 0;
23766 rm -f conftest$ac_exeext
23767 if { (ac_try="$ac_link"
23768 case "(($ac_try" in
23769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23770 *) ac_try_echo=$ac_try;;
23772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23773 (eval "$ac_link") 2>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23777 { (case "(($ac_try" in
23778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23779 *) ac_try_echo=$ac_try;;
23781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23782 (eval "$ac_try") 2>&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; }; then
23786 ac_cv_sizeof_long_long=`cat conftest.val`
23788 echo "$as_me: program exited with status $ac_status" >&5
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.$ac_ext >&5
23792 ( exit $ac_status )
23793 if test "$ac_cv_type_long_long" = yes; then
23794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23795 See \`config.log' for more details." >&5
23796 echo "$as_me: error: cannot compute sizeof (long long)
23797 See \`config.log' for more details." >&2;}
23798 { (exit 77); exit 77; }; }
23800 ac_cv_sizeof_long_long=0
23803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23808 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23812 cat >>confdefs.h <<_ACEOF
23813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23819 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23820 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23821 if test "${ac_cv_type_wchar_t+set}" = set; then
23822 echo $ECHO_N "(cached) $ECHO_C" >&6
23824 cat >conftest.$ac_ext <<_ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23831 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23832 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23833 # error "fake wchar_t"
23835 #ifdef HAVE_WCHAR_H
23837 # include <stddef.h>
23839 # include <wchar.h>
23841 #ifdef HAVE_STDLIB_H
23842 # include <stdlib.h>
23848 typedef wchar_t ac__type_new_;
23852 if ((ac__type_new_ *) 0)
23854 if (sizeof (ac__type_new_))
23860 rm -f conftest.$ac_objext
23861 if { (ac_try="$ac_compile"
23862 case "(($ac_try" in
23863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23864 *) ac_try_echo=$ac_try;;
23866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23867 (eval "$ac_compile") 2>conftest.er1
23869 grep -v '^ *+' conftest.er1 >conftest.err
23871 cat conftest.err >&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } && {
23874 test -z "$ac_c_werror_flag" ||
23875 test ! -s conftest.err
23876 } && test -s conftest.$ac_objext; then
23877 ac_cv_type_wchar_t=yes
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.$ac_ext >&5
23882 ac_cv_type_wchar_t=no
23885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23887 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23888 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23890 # The cast to long int works around a bug in the HP C Compiler
23891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23893 # This bug is HP SR number 8606223364.
23894 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23895 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23896 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23899 if test "$cross_compiling" = yes; then
23900 # Depending upon the size, compute the lo and hi bounds.
23901 cat >conftest.$ac_ext <<_ACEOF
23904 cat confdefs.h >>conftest.$ac_ext
23905 cat >>conftest.$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23908 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23909 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23910 # error "fake wchar_t"
23912 #ifdef HAVE_WCHAR_H
23914 # include <stddef.h>
23916 # include <wchar.h>
23918 #ifdef HAVE_STDLIB_H
23919 # include <stdlib.h>
23925 typedef wchar_t ac__type_sizeof_;
23929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23936 rm -f conftest.$ac_objext
23937 if { (ac_try="$ac_compile"
23938 case "(($ac_try" in
23939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940 *) ac_try_echo=$ac_try;;
23942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23943 (eval "$ac_compile") 2>conftest.er1
23945 grep -v '^ *+' conftest.er1 >conftest.err
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } && {
23950 test -z "$ac_c_werror_flag" ||
23951 test ! -s conftest.err
23952 } && test -s conftest.$ac_objext; then
23955 cat >conftest.$ac_ext <<_ACEOF
23958 cat confdefs.h >>conftest.$ac_ext
23959 cat >>conftest.$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23962 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23963 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23964 # error "fake wchar_t"
23966 #ifdef HAVE_WCHAR_H
23968 # include <stddef.h>
23970 # include <wchar.h>
23972 #ifdef HAVE_STDLIB_H
23973 # include <stdlib.h>
23979 typedef wchar_t ac__type_sizeof_;
23983 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23990 rm -f conftest.$ac_objext
23991 if { (ac_try="$ac_compile"
23992 case "(($ac_try" in
23993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23994 *) ac_try_echo=$ac_try;;
23996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23997 (eval "$ac_compile") 2>conftest.er1
23999 grep -v '^ *+' conftest.er1 >conftest.err
24001 cat conftest.err >&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); } && {
24004 test -z "$ac_c_werror_flag" ||
24005 test ! -s conftest.err
24006 } && test -s conftest.$ac_objext; then
24007 ac_hi=$ac_mid; break
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24012 ac_lo=`expr $ac_mid + 1`
24013 if test $ac_lo -le $ac_mid; then
24017 ac_mid=`expr 2 '*' $ac_mid + 1`
24020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.$ac_ext >&5
24026 cat >conftest.$ac_ext <<_ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24033 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24034 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24035 # error "fake wchar_t"
24037 #ifdef HAVE_WCHAR_H
24039 # include <stddef.h>
24041 # include <wchar.h>
24043 #ifdef HAVE_STDLIB_H
24044 # include <stdlib.h>
24050 typedef wchar_t ac__type_sizeof_;
24054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24061 rm -f conftest.$ac_objext
24062 if { (ac_try="$ac_compile"
24063 case "(($ac_try" in
24064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24065 *) ac_try_echo=$ac_try;;
24067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24068 (eval "$ac_compile") 2>conftest.er1
24070 grep -v '^ *+' conftest.er1 >conftest.err
24072 cat conftest.err >&5
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); } && {
24075 test -z "$ac_c_werror_flag" ||
24076 test ! -s conftest.err
24077 } && test -s conftest.$ac_objext; then
24080 cat >conftest.$ac_ext <<_ACEOF
24083 cat confdefs.h >>conftest.$ac_ext
24084 cat >>conftest.$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24089 # error "fake wchar_t"
24091 #ifdef HAVE_WCHAR_H
24093 # include <stddef.h>
24095 # include <wchar.h>
24097 #ifdef HAVE_STDLIB_H
24098 # include <stdlib.h>
24104 typedef wchar_t ac__type_sizeof_;
24108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24115 rm -f conftest.$ac_objext
24116 if { (ac_try="$ac_compile"
24117 case "(($ac_try" in
24118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24119 *) ac_try_echo=$ac_try;;
24121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24122 (eval "$ac_compile") 2>conftest.er1
24124 grep -v '^ *+' conftest.er1 >conftest.err
24126 cat conftest.err >&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } && {
24129 test -z "$ac_c_werror_flag" ||
24130 test ! -s conftest.err
24131 } && test -s conftest.$ac_objext; then
24132 ac_lo=$ac_mid; break
24134 echo "$as_me: failed program was:" >&5
24135 sed 's/^/| /' conftest.$ac_ext >&5
24137 ac_hi=`expr '(' $ac_mid ')' - 1`
24138 if test $ac_mid -le $ac_hi; then
24142 ac_mid=`expr 2 '*' $ac_mid`
24145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.$ac_ext >&5
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24158 # Binary search between lo and hi bounds.
24159 while test "x$ac_lo" != "x$ac_hi"; do
24160 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24161 cat >conftest.$ac_ext <<_ACEOF
24164 cat confdefs.h >>conftest.$ac_ext
24165 cat >>conftest.$ac_ext <<_ACEOF
24166 /* end confdefs.h. */
24168 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24169 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24170 # error "fake wchar_t"
24172 #ifdef HAVE_WCHAR_H
24174 # include <stddef.h>
24176 # include <wchar.h>
24178 #ifdef HAVE_STDLIB_H
24179 # include <stdlib.h>
24185 typedef wchar_t ac__type_sizeof_;
24189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24196 rm -f conftest.$ac_objext
24197 if { (ac_try="$ac_compile"
24198 case "(($ac_try" in
24199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24200 *) ac_try_echo=$ac_try;;
24202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24203 (eval "$ac_compile") 2>conftest.er1
24205 grep -v '^ *+' conftest.er1 >conftest.err
24207 cat conftest.err >&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); } && {
24210 test -z "$ac_c_werror_flag" ||
24211 test ! -s conftest.err
24212 } && test -s conftest.$ac_objext; then
24215 echo "$as_me: failed program was:" >&5
24216 sed 's/^/| /' conftest.$ac_ext >&5
24218 ac_lo=`expr '(' $ac_mid ')' + 1`
24221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24225 '') if test "$ac_cv_type_wchar_t" = yes; then
24226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24227 See \`config.log' for more details." >&5
24228 echo "$as_me: error: cannot compute sizeof (wchar_t)
24229 See \`config.log' for more details." >&2;}
24230 { (exit 77); exit 77; }; }
24232 ac_cv_sizeof_wchar_t=0
24236 cat >conftest.$ac_ext <<_ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24243 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24244 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24245 # error "fake wchar_t"
24247 #ifdef HAVE_WCHAR_H
24249 # include <stddef.h>
24251 # include <wchar.h>
24253 #ifdef HAVE_STDLIB_H
24254 # include <stdlib.h>
24260 typedef wchar_t ac__type_sizeof_;
24261 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24262 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24264 #include <stdlib.h>
24269 FILE *f = fopen ("conftest.val", "w");
24272 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24274 long int i = longval ();
24275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24277 fprintf (f, "%ld\n", i);
24281 unsigned long int i = ulongval ();
24282 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24284 fprintf (f, "%lu\n", i);
24286 return ferror (f) || fclose (f) != 0;
24292 rm -f conftest$ac_exeext
24293 if { (ac_try="$ac_link"
24294 case "(($ac_try" in
24295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24296 *) ac_try_echo=$ac_try;;
24298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299 (eval "$ac_link") 2>&5
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24303 { (case "(($ac_try" in
24304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24305 *) ac_try_echo=$ac_try;;
24307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24308 (eval "$ac_try") 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24312 ac_cv_sizeof_wchar_t=`cat conftest.val`
24314 echo "$as_me: program exited with status $ac_status" >&5
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.$ac_ext >&5
24318 ( exit $ac_status )
24319 if test "$ac_cv_type_wchar_t" = yes; then
24320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24321 See \`config.log' for more details." >&5
24322 echo "$as_me: error: cannot compute sizeof (wchar_t)
24323 See \`config.log' for more details." >&2;}
24324 { (exit 77); exit 77; }; }
24326 ac_cv_sizeof_wchar_t=0
24329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24333 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24334 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24338 cat >>confdefs.h <<_ACEOF
24339 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24343 if test "$ac_cv_sizeof_wchar_t" = 0; then
24344 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24345 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24346 { (exit 1); exit 1; }; }
24348 cat >>confdefs.h <<\_ACEOF
24349 #define wxUSE_WCHAR_T 1
24353 { echo "$as_me:$LINENO: checking for va_copy" >&5
24354 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24355 if test "${wx_cv_func_va_copy+set}" = set; then
24356 echo $ECHO_N "(cached) $ECHO_C" >&6
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24365 cat >conftest.$ac_ext <<_ACEOF
24367 #include <stdarg.h>
24368 void foo(char *f, ...)
24382 rm -f conftest.$ac_objext conftest$ac_exeext
24383 if { (ac_try="$ac_link"
24384 case "(($ac_try" in
24385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24386 *) ac_try_echo=$ac_try;;
24388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24389 (eval "$ac_link") 2>conftest.er1
24391 grep -v '^ *+' conftest.er1 >conftest.err
24393 cat conftest.err >&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); } && {
24396 test -z "$ac_cxx_werror_flag" ||
24397 test ! -s conftest.err
24398 } && test -s conftest$ac_exeext &&
24399 $as_test_x conftest$ac_exeext; then
24400 wx_cv_func_va_copy=yes
24402 echo "$as_me: failed program was:" >&5
24403 sed 's/^/| /' conftest.$ac_ext >&5
24405 wx_cv_func_va_copy=no
24409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24410 conftest$ac_exeext conftest.$ac_ext
24412 ac_cpp='$CPP $CPPFLAGS'
24413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24420 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24421 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24423 if test $wx_cv_func_va_copy = "yes"; then
24424 cat >>confdefs.h <<\_ACEOF
24425 #define HAVE_VA_COPY 1
24429 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24430 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24431 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24432 echo $ECHO_N "(cached) $ECHO_C" >&6
24435 if test "$cross_compiling" = yes; then
24436 wx_cv_type_va_list_lvalue=yes
24439 cat >conftest.$ac_ext <<_ACEOF
24441 #include <stdarg.h>
24442 int foo(char *f, ...)
24447 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24455 return foo("hi", 17);
24458 rm -f conftest$ac_exeext
24459 if { (ac_try="$ac_link"
24460 case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_link") 2>&5
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24469 { (case "(($ac_try" in
24470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24471 *) ac_try_echo=$ac_try;;
24473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24474 (eval "$ac_try") 2>&5
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); }; }; then
24478 wx_cv_type_va_list_lvalue=yes
24480 echo "$as_me: program exited with status $ac_status" >&5
24481 echo "$as_me: failed program was:" >&5
24482 sed 's/^/| /' conftest.$ac_ext >&5
24484 ( exit $ac_status )
24485 wx_cv_type_va_list_lvalue=no
24487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24494 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24495 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24497 if test $wx_cv_type_va_list_lvalue != "yes"; then
24498 cat >>confdefs.h <<\_ACEOF
24499 #define VA_LIST_IS_ARRAY 1
24505 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24507 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24508 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24509 if test "${wx_cv_have_variadic_macros+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24514 ac_cpp='$CXXCPP $CPPFLAGS'
24515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24519 cat >conftest.$ac_ext <<_ACEOF
24522 cat confdefs.h >>conftest.$ac_ext
24523 cat >>conftest.$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24527 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24533 test("%s %d %p", "test", 1, 0);
24540 rm -f conftest.$ac_objext
24541 if { (ac_try="$ac_compile"
24542 case "(($ac_try" in
24543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24544 *) ac_try_echo=$ac_try;;
24546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24547 (eval "$ac_compile") 2>conftest.er1
24549 grep -v '^ *+' conftest.er1 >conftest.err
24551 cat conftest.err >&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); } && {
24554 test -z "$ac_cxx_werror_flag" ||
24555 test ! -s conftest.err
24556 } && test -s conftest.$ac_objext; then
24557 wx_cv_have_variadic_macros=yes
24559 echo "$as_me: failed program was:" >&5
24560 sed 's/^/| /' conftest.$ac_ext >&5
24562 wx_cv_have_variadic_macros=no
24566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24568 ac_cpp='$CPP $CPPFLAGS'
24569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24576 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24577 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24579 if test $wx_cv_have_variadic_macros = "yes"; then
24580 cat >>confdefs.h <<\_ACEOF
24581 #define HAVE_VARIADIC_MACROS 1
24588 LARGEFILE_CPPFLAGS=
24589 # Check whether --enable-largefile was given.
24590 if test "${enable_largefile+set}" = set; then
24591 enableval=$enable_largefile;
24594 if test "$enable_largefile" != no; then
24597 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24598 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24599 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24603 cat >conftest.$ac_ext <<_ACEOF
24606 cat confdefs.h >>conftest.$ac_ext
24607 cat >>conftest.$ac_ext <<_ACEOF
24608 /* end confdefs.h. */
24609 #define _FILE_OFFSET_BITS 64
24610 #include <sys/types.h>
24615 unsigned int field: sizeof(off_t) == 8;
24622 rm -f conftest.$ac_objext
24623 if { (ac_try="$ac_compile"
24624 case "(($ac_try" in
24625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24626 *) ac_try_echo=$ac_try;;
24628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24629 (eval "$ac_compile") 2>conftest.er1
24631 grep -v '^ *+' conftest.er1 >conftest.err
24633 cat conftest.err >&5
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); } && {
24636 test -z "$ac_c_werror_flag" ||
24637 test ! -s conftest.err
24638 } && test -s conftest.$ac_objext; then
24639 ac_cv_sys_file_offset_bits=64
24641 echo "$as_me: failed program was:" >&5
24642 sed 's/^/| /' conftest.$ac_ext >&5
24644 ac_cv_sys_file_offset_bits=no
24647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24652 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24654 if test "$ac_cv_sys_file_offset_bits" != no; then
24656 cat >>confdefs.h <<_ACEOF
24657 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24662 if test "x$wx_largefile" != "xyes"; then
24664 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24665 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24666 if test "${ac_cv_sys_large_files+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24670 cat >conftest.$ac_ext <<_ACEOF
24673 cat confdefs.h >>conftest.$ac_ext
24674 cat >>conftest.$ac_ext <<_ACEOF
24675 /* end confdefs.h. */
24676 #define _LARGE_FILES 1
24677 #include <sys/types.h>
24682 unsigned int field: sizeof(off_t) == 8;
24689 rm -f conftest.$ac_objext
24690 if { (ac_try="$ac_compile"
24691 case "(($ac_try" in
24692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24693 *) ac_try_echo=$ac_try;;
24695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24696 (eval "$ac_compile") 2>conftest.er1
24698 grep -v '^ *+' conftest.er1 >conftest.err
24700 cat conftest.err >&5
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); } && {
24703 test -z "$ac_c_werror_flag" ||
24704 test ! -s conftest.err
24705 } && test -s conftest.$ac_objext; then
24706 ac_cv_sys_large_files=1
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24711 ac_cv_sys_large_files=no
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24718 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24719 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24721 if test "$ac_cv_sys_large_files" != no; then
24723 cat >>confdefs.h <<_ACEOF
24724 #define _LARGE_FILES $ac_cv_sys_large_files
24731 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24732 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24733 if test "x$wx_largefile" = "xyes"; then
24734 cat >>confdefs.h <<\_ACEOF
24735 #define HAVE_LARGEFILE_SUPPORT 1
24739 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24740 echo "${ECHO_T}$wx_largefile" >&6; }
24743 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24744 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24745 elif test "$ac_cv_sys_large_files" = 1; then
24746 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24749 if test -n "$LARGEFILE_CPPFLAGS"; then
24750 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24752 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24753 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24754 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24755 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24756 echo $ECHO_N "(cached) $ECHO_C" >&6
24760 ac_cpp='$CXXCPP $CPPFLAGS'
24761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24765 cat >conftest.$ac_ext <<_ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24776 #ifndef __STDC_EXT__
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24793 grep -v '^ *+' conftest.er1 >conftest.err
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 wx_cv_STDC_EXT_required=no
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24806 wx_cv_STDC_EXT_required=yes
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24812 ac_cpp='$CPP $CPPFLAGS'
24813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24820 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24821 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24822 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24823 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24829 ac_cpp='$CXXCPP $CPPFLAGS'
24830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24834 old_CPPFLAGS="$CPPFLAGS"
24835 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24836 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24837 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24838 if test "${ac_cv_sys_largefile_source+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 cat >conftest.$ac_ext <<_ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 #include <sys/types.h> /* for off_t */
24853 int (*fp) (FILE *, off_t, int) = fseeko;
24854 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24859 rm -f conftest.$ac_objext conftest$ac_exeext
24860 if { (ac_try="$ac_link"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_link") 2>conftest.er1
24868 grep -v '^ *+' conftest.er1 >conftest.err
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_cxx_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest$ac_exeext &&
24876 $as_test_x conftest$ac_exeext; then
24877 ac_cv_sys_largefile_source=no; break
24879 echo "$as_me: failed program was:" >&5
24880 sed 's/^/| /' conftest.$ac_ext >&5
24885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24886 conftest$ac_exeext conftest.$ac_ext
24887 cat >conftest.$ac_ext <<_ACEOF
24890 cat confdefs.h >>conftest.$ac_ext
24891 cat >>conftest.$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 #define _LARGEFILE_SOURCE 1
24894 #include <sys/types.h> /* for off_t */
24899 int (*fp) (FILE *, off_t, int) = fseeko;
24900 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24905 rm -f conftest.$ac_objext conftest$ac_exeext
24906 if { (ac_try="$ac_link"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_link") 2>conftest.er1
24914 grep -v '^ *+' conftest.er1 >conftest.err
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_cxx_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest$ac_exeext &&
24922 $as_test_x conftest$ac_exeext; then
24923 ac_cv_sys_largefile_source=1; break
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24932 conftest$ac_exeext conftest.$ac_ext
24933 ac_cv_sys_largefile_source=unknown
24937 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24938 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24939 case $ac_cv_sys_largefile_source in #(
24942 cat >>confdefs.h <<_ACEOF
24943 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24949 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24950 # in glibc 2.1.3, but that breaks too many other things.
24951 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24952 if test $ac_cv_sys_largefile_source != unknown; then
24954 cat >>confdefs.h <<\_ACEOF
24955 #define HAVE_FSEEKO 1
24960 CPPFLAGS="$old_CPPFLAGS"
24962 ac_cpp='$CPP $CPPFLAGS'
24963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24967 if test "$ac_cv_sys_largefile_source" != no; then
24968 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24971 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24972 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24973 if test "${ac_cv_c_bigendian+set}" = set; then
24974 echo $ECHO_N "(cached) $ECHO_C" >&6
24976 ac_cv_c_bigendian=unknown
24977 # See if sys/param.h defines the BYTE_ORDER macro.
24978 cat >conftest.$ac_ext <<_ACEOF
24981 cat confdefs.h >>conftest.$ac_ext
24982 cat >>conftest.$ac_ext <<_ACEOF
24983 /* end confdefs.h. */
24984 #include <sys/types.h>
24985 #include <sys/param.h>
24990 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24991 bogus endian macros
24997 rm -f conftest.$ac_objext
24998 if { (ac_try="$ac_compile"
24999 case "(($ac_try" in
25000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25001 *) ac_try_echo=$ac_try;;
25003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25004 (eval "$ac_compile") 2>conftest.er1
25006 grep -v '^ *+' conftest.er1 >conftest.err
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } && {
25011 test -z "$ac_c_werror_flag" ||
25012 test ! -s conftest.err
25013 } && test -s conftest.$ac_objext; then
25014 # It does; now see whether it defined to BIG_ENDIAN or not.
25015 cat >conftest.$ac_ext <<_ACEOF
25018 cat confdefs.h >>conftest.$ac_ext
25019 cat >>conftest.$ac_ext <<_ACEOF
25020 /* end confdefs.h. */
25021 #include <sys/types.h>
25022 #include <sys/param.h>
25027 #if BYTE_ORDER != BIG_ENDIAN
25034 rm -f conftest.$ac_objext
25035 if { (ac_try="$ac_compile"
25036 case "(($ac_try" in
25037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25038 *) ac_try_echo=$ac_try;;
25040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25041 (eval "$ac_compile") 2>conftest.er1
25043 grep -v '^ *+' conftest.er1 >conftest.err
25045 cat conftest.err >&5
25046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25047 (exit $ac_status); } && {
25048 test -z "$ac_c_werror_flag" ||
25049 test ! -s conftest.err
25050 } && test -s conftest.$ac_objext; then
25051 ac_cv_c_bigendian=yes
25053 echo "$as_me: failed program was:" >&5
25054 sed 's/^/| /' conftest.$ac_ext >&5
25056 ac_cv_c_bigendian=no
25059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25061 echo "$as_me: failed program was:" >&5
25062 sed 's/^/| /' conftest.$ac_ext >&5
25067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25068 if test $ac_cv_c_bigendian = unknown; then
25069 if test "$cross_compiling" = yes; then
25070 ac_cv_c_bigendian=unknown
25072 cat >conftest.$ac_ext <<_ACEOF
25075 cat confdefs.h >>conftest.$ac_ext
25076 cat >>conftest.$ac_ext <<_ACEOF
25077 /* end confdefs.h. */
25079 /* Are we little or big endian? From Harbison&Steele. */
25083 char c[sizeof (long)];
25086 exit (u.c[sizeof (long) - 1] == 1);
25089 rm -f conftest$ac_exeext
25090 if { (ac_try="$ac_link"
25091 case "(($ac_try" in
25092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25093 *) ac_try_echo=$ac_try;;
25095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25096 (eval "$ac_link") 2>&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25100 { (case "(($ac_try" in
25101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25102 *) ac_try_echo=$ac_try;;
25104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25105 (eval "$ac_try") 2>&5
25107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108 (exit $ac_status); }; }; then
25109 ac_cv_c_bigendian=no
25111 echo "$as_me: program exited with status $ac_status" >&5
25112 echo "$as_me: failed program was:" >&5
25113 sed 's/^/| /' conftest.$ac_ext >&5
25115 ( exit $ac_status )
25116 ac_cv_c_bigendian=yes
25118 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25124 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25125 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25126 if test $ac_cv_c_bigendian = unknown; then
25127 { 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
25128 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;}
25130 if test $ac_cv_c_bigendian = yes; then
25131 cat >>confdefs.h <<\_ACEOF
25132 #define WORDS_BIGENDIAN 1
25141 ac_cpp='$CXXCPP $CPPFLAGS'
25142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148 for ac_header in iostream
25150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25151 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25156 cat >conftest.$ac_ext <<_ACEOF
25159 cat confdefs.h >>conftest.$ac_ext
25160 cat >>conftest.$ac_ext <<_ACEOF
25161 /* end confdefs.h. */
25164 #include <$ac_header>
25166 rm -f conftest.$ac_objext
25167 if { (ac_try="$ac_compile"
25168 case "(($ac_try" in
25169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25170 *) ac_try_echo=$ac_try;;
25172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25173 (eval "$ac_compile") 2>conftest.er1
25175 grep -v '^ *+' conftest.er1 >conftest.err
25177 cat conftest.err >&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); } && {
25180 test -z "$ac_cxx_werror_flag" ||
25181 test ! -s conftest.err
25182 } && test -s conftest.$ac_objext; then
25183 eval "$as_ac_Header=yes"
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.$ac_ext >&5
25188 eval "$as_ac_Header=no"
25191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25193 ac_res=`eval echo '${'$as_ac_Header'}'`
25194 { echo "$as_me:$LINENO: result: $ac_res" >&5
25195 echo "${ECHO_T}$ac_res" >&6; }
25196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25197 cat >>confdefs.h <<_ACEOF
25198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25206 if test "$ac_cv_header_iostream" = "yes" ; then
25209 cat >>confdefs.h <<\_ACEOF
25210 #define wxUSE_IOSTREAMH 1
25216 ac_cpp='$CPP $CPPFLAGS'
25217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25224 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25225 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25226 if test "${wx_cv_explicit+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 ac_cpp='$CXXCPP $CPPFLAGS'
25233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25238 cat >conftest.$ac_ext <<_ACEOF
25241 cat confdefs.h >>conftest.$ac_ext
25242 cat >>conftest.$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25245 class Foo { public: explicit Foo(int) {} };
25257 rm -f conftest.$ac_objext
25258 if { (ac_try="$ac_compile"
25259 case "(($ac_try" in
25260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25261 *) ac_try_echo=$ac_try;;
25263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25264 (eval "$ac_compile") 2>conftest.er1
25266 grep -v '^ *+' conftest.er1 >conftest.err
25268 cat conftest.err >&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); } && {
25271 test -z "$ac_cxx_werror_flag" ||
25272 test ! -s conftest.err
25273 } && test -s conftest.$ac_objext; then
25275 cat >conftest.$ac_ext <<_ACEOF
25278 cat confdefs.h >>conftest.$ac_ext
25279 cat >>conftest.$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25282 class Foo { public: explicit Foo(int) {} };
25283 static void TakeFoo(const Foo& foo) { }
25296 rm -f conftest.$ac_objext
25297 if { (ac_try="$ac_compile"
25298 case "(($ac_try" in
25299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25300 *) ac_try_echo=$ac_try;;
25302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25303 (eval "$ac_compile") 2>conftest.er1
25305 grep -v '^ *+' conftest.er1 >conftest.err
25307 cat conftest.err >&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); } && {
25310 test -z "$ac_cxx_werror_flag" ||
25311 test ! -s conftest.err
25312 } && test -s conftest.$ac_objext; then
25315 echo "$as_me: failed program was:" >&5
25316 sed 's/^/| /' conftest.$ac_ext >&5
25322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25342 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25343 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25345 if test "$wx_cv_explicit" = "yes"; then
25346 cat >>confdefs.h <<\_ACEOF
25347 #define HAVE_EXPLICIT 1
25353 if test "x$SUNCXX" = xyes; then
25354 CXXFLAGS="-features=tmplife $CXXFLAGS"
25357 if test "x$SUNCC" = xyes; then
25358 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25361 if test "x$SGICC" = "xyes"; then
25362 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25363 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25364 if test "${wx_cv_prog_sgicc744+set}" = set; then
25365 echo $ECHO_N "(cached) $ECHO_C" >&6
25368 cat >conftest.$ac_ext <<_ACEOF
25371 cat confdefs.h >>conftest.$ac_ext
25372 cat >>conftest.$ac_ext <<_ACEOF
25373 /* end confdefs.h. */
25379 #if _SGI_COMPILER_VERSION >= 744
25380 chock me: mipsPro is 7.4.4 or later
25387 rm -f conftest.$ac_objext
25388 if { (ac_try="$ac_compile"
25389 case "(($ac_try" in
25390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25391 *) ac_try_echo=$ac_try;;
25393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25394 (eval "$ac_compile") 2>conftest.er1
25396 grep -v '^ *+' conftest.er1 >conftest.err
25398 cat conftest.err >&5
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); } && {
25401 test -z "$ac_c_werror_flag" ||
25402 test ! -s conftest.err
25403 } && test -s conftest.$ac_objext; then
25404 wx_cv_prog_sgicc744=no
25406 echo "$as_me: failed program was:" >&5
25407 sed 's/^/| /' conftest.$ac_ext >&5
25409 wx_cv_prog_sgicc744=yes
25413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25417 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25418 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25420 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25421 CFLAGS="-woff 3970 $CFLAGS"
25424 if test "x$SGICXX" = "xyes"; then
25425 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25426 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25427 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25428 echo $ECHO_N "(cached) $ECHO_C" >&6
25432 ac_cpp='$CXXCPP $CPPFLAGS'
25433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25437 cat >conftest.$ac_ext <<_ACEOF
25440 cat confdefs.h >>conftest.$ac_ext
25441 cat >>conftest.$ac_ext <<_ACEOF
25442 /* end confdefs.h. */
25448 #if _SGI_COMPILER_VERSION >= 744
25449 chock me: mipsPro is 7.4.4 or later
25456 rm -f conftest.$ac_objext
25457 if { (ac_try="$ac_compile"
25458 case "(($ac_try" in
25459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25460 *) ac_try_echo=$ac_try;;
25462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25463 (eval "$ac_compile") 2>conftest.er1
25465 grep -v '^ *+' conftest.er1 >conftest.err
25467 cat conftest.err >&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } && {
25470 test -z "$ac_cxx_werror_flag" ||
25471 test ! -s conftest.err
25472 } && test -s conftest.$ac_objext; then
25473 wx_cv_prog_sgicxx744=no
25475 echo "$as_me: failed program was:" >&5
25476 sed 's/^/| /' conftest.$ac_ext >&5
25478 wx_cv_prog_sgicxx744=yes
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25484 ac_cpp='$CPP $CPPFLAGS'
25485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25492 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25493 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25495 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25496 CXXFLAGS="-woff 3970 $CXXFLAGS"
25500 if test "x$HPCC" = "xyes"; then
25501 CFLAGS="+W 2011,2450 $CFLAGS"
25503 if test "x$HPCXX" = "xyes"; then
25504 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25507 if test "x$COMPAQCXX" = "xyes"; then
25508 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25512 ac_cpp='$CXXCPP $CPPFLAGS'
25513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25518 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25519 if test "$wxUSE_UNICODE" = "yes"; then
25520 std_string="std::wstring"
25521 char_type="wchar_t"
25523 std_string="std::string"
25527 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25528 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25529 if test "${wx_cv_class_stdstring+set}" = set; then
25530 echo $ECHO_N "(cached) $ECHO_C" >&6
25533 cat >conftest.$ac_ext <<_ACEOF
25536 cat confdefs.h >>conftest.$ac_ext
25537 cat >>conftest.$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25548 rm -f conftest.$ac_objext
25549 if { (ac_try="$ac_compile"
25550 case "(($ac_try" in
25551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25552 *) ac_try_echo=$ac_try;;
25554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25555 (eval "$ac_compile") 2>conftest.er1
25557 grep -v '^ *+' conftest.er1 >conftest.err
25559 cat conftest.err >&5
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); } && {
25562 test -z "$ac_cxx_werror_flag" ||
25563 test ! -s conftest.err
25564 } && test -s conftest.$ac_objext; then
25565 wx_cv_class_stdstring=yes
25567 echo "$as_me: failed program was:" >&5
25568 sed 's/^/| /' conftest.$ac_ext >&5
25570 wx_cv_class_stdstring=no
25574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25579 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25581 if test "$wx_cv_class_stdstring" = yes; then
25582 if test "$wxUSE_UNICODE" = "yes"; then
25583 cat >>confdefs.h <<\_ACEOF
25584 #define HAVE_STD_WSTRING 1
25589 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25590 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25591 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25592 echo $ECHO_N "(cached) $ECHO_C" >&6
25595 cat >conftest.$ac_ext <<_ACEOF
25598 cat confdefs.h >>conftest.$ac_ext
25599 cat >>conftest.$ac_ext <<_ACEOF
25600 /* end confdefs.h. */
25602 #ifdef HAVE_WCHAR_H
25604 # include <stddef.h>
25606 # include <wchar.h>
25608 #ifdef HAVE_STDLIB_H
25609 # include <stdlib.h>
25617 std::basic_string<$char_type> foo;
25618 const $char_type* dummy = foo.c_str();
25623 rm -f conftest.$ac_objext
25624 if { (ac_try="$ac_compile"
25625 case "(($ac_try" in
25626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25627 *) ac_try_echo=$ac_try;;
25629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25630 (eval "$ac_compile") 2>conftest.er1
25632 grep -v '^ *+' conftest.er1 >conftest.err
25634 cat conftest.err >&5
25635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636 (exit $ac_status); } && {
25637 test -z "$ac_cxx_werror_flag" ||
25638 test ! -s conftest.err
25639 } && test -s conftest.$ac_objext; then
25640 wx_cv_class_stdbasicstring=yes
25642 echo "$as_me: failed program was:" >&5
25643 sed 's/^/| /' conftest.$ac_ext >&5
25645 wx_cv_class_stdbasicstring=no
25649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25654 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25656 if test "$wx_cv_class_stdbasicstring" != yes; then
25657 if test "$wxUSE_STL" = "yes"; then
25658 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25659 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25660 { (exit 1); exit 1; }; }
25661 elif test "$wxUSE_STD_STRING" = "yes"; then
25662 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25663 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25664 { (exit 1); exit 1; }; }
25666 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25667 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25668 wxUSE_STD_STRING=no
25674 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25675 { echo "$as_me:$LINENO: checking for std::istream" >&5
25676 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25677 if test "${ac_cv_type_std__istream+set}" = set; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25680 cat >conftest.$ac_ext <<_ACEOF
25683 cat confdefs.h >>conftest.$ac_ext
25684 cat >>conftest.$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25686 #include <iostream>
25688 typedef std::istream ac__type_new_;
25692 if ((ac__type_new_ *) 0)
25694 if (sizeof (ac__type_new_))
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
25717 ac_cv_type_std__istream=yes
25719 echo "$as_me: failed program was:" >&5
25720 sed 's/^/| /' conftest.$ac_ext >&5
25722 ac_cv_type_std__istream=no
25725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25727 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25728 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25729 if test $ac_cv_type_std__istream = yes; then
25731 cat >>confdefs.h <<_ACEOF
25732 #define HAVE_STD__ISTREAM 1
25737 wxUSE_STD_IOSTREAM=no
25739 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25740 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25741 if test "${ac_cv_type_std__ostream+set}" = set; then
25742 echo $ECHO_N "(cached) $ECHO_C" >&6
25744 cat >conftest.$ac_ext <<_ACEOF
25747 cat confdefs.h >>conftest.$ac_ext
25748 cat >>conftest.$ac_ext <<_ACEOF
25749 /* end confdefs.h. */
25750 #include <iostream>
25752 typedef std::ostream ac__type_new_;
25756 if ((ac__type_new_ *) 0)
25758 if (sizeof (ac__type_new_))
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 ac_cv_type_std__ostream=yes
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.$ac_ext >&5
25786 ac_cv_type_std__ostream=no
25789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25791 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25792 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25793 if test $ac_cv_type_std__ostream = yes; then
25795 cat >>confdefs.h <<_ACEOF
25796 #define HAVE_STD__OSTREAM 1
25801 wxUSE_STD_IOSTREAM=no
25805 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25806 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25807 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25808 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25809 { (exit 1); exit 1; }; }
25811 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25812 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25817 if test "$wxUSE_STL" = "yes"; then
25818 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25819 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25820 if test "${wx_cv_lib_stl+set}" = set; then
25821 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 cat >conftest.$ac_ext <<_ACEOF
25826 cat confdefs.h >>conftest.$ac_ext
25827 cat >>conftest.$ac_ext <<_ACEOF
25828 /* end confdefs.h. */
25830 #include <functional>
25831 #include <algorithm>
25837 std::vector<int> moo;
25838 std::list<int> foo;
25839 std::vector<int>::iterator it =
25840 std::find_if(moo.begin(), moo.end(),
25841 std::bind2nd(std::less<int>(), 3));
25846 rm -f conftest.$ac_objext
25847 if { (ac_try="$ac_compile"
25848 case "(($ac_try" in
25849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25850 *) ac_try_echo=$ac_try;;
25852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25853 (eval "$ac_compile") 2>conftest.er1
25855 grep -v '^ *+' conftest.er1 >conftest.err
25857 cat conftest.err >&5
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); } && {
25860 test -z "$ac_cxx_werror_flag" ||
25861 test ! -s conftest.err
25862 } && test -s conftest.$ac_objext; then
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25875 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25876 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25878 if test "$wx_cv_lib_stl" != yes; then
25879 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25880 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25881 { (exit 1); exit 1; }; }
25884 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25885 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25886 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25887 echo $ECHO_N "(cached) $ECHO_C" >&6
25889 cat >conftest.$ac_ext <<_ACEOF
25892 cat confdefs.h >>conftest.$ac_ext
25893 cat >>conftest.$ac_ext <<_ACEOF
25894 /* end confdefs.h. */
25899 std::string foo, bar;
25901 foo.compare(1, 1, bar);
25902 foo.compare(1, 1, bar, 1, 1);
25904 foo.compare(1, 1, "");
25905 foo.compare(1, 1, "", 2);
25910 rm -f conftest.$ac_objext
25911 if { (ac_try="$ac_compile"
25912 case "(($ac_try" in
25913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25914 *) ac_try_echo=$ac_try;;
25916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25917 (eval "$ac_compile") 2>conftest.er1
25919 grep -v '^ *+' conftest.er1 >conftest.err
25921 cat conftest.err >&5
25922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25923 (exit $ac_status); } && {
25924 test -z "$ac_cxx_werror_flag" ||
25925 test ! -s conftest.err
25926 } && test -s conftest.$ac_objext; then
25927 wx_cv_func_stdstring_compare=yes
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25932 wx_cv_func_stdstring_compare=no
25936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25939 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25940 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25942 if test "$wx_cv_func_stdstring_compare" = yes; then
25943 cat >>confdefs.h <<\_ACEOF
25944 #define HAVE_STD_STRING_COMPARE 1
25949 if test "$wx_cv_class_gnuhashmapset" = yes; then
25950 cat >>confdefs.h <<\_ACEOF
25951 #define HAVE_EXT_HASH_MAP 1
25954 cat >>confdefs.h <<\_ACEOF
25955 #define HAVE_GNU_CXX_HASH_MAP 1
25960 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25961 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25962 if test "${ac_cv_header_unordered_map+set}" = set; then
25963 echo $ECHO_N "(cached) $ECHO_C" >&6
25965 cat >conftest.$ac_ext <<_ACEOF
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25974 #include <unordered_map>
25976 rm -f conftest.$ac_objext
25977 if { (ac_try="$ac_compile"
25978 case "(($ac_try" in
25979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25980 *) ac_try_echo=$ac_try;;
25982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25983 (eval "$ac_compile") 2>conftest.er1
25985 grep -v '^ *+' conftest.er1 >conftest.err
25987 cat conftest.err >&5
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); } && {
25990 test -z "$ac_cxx_werror_flag" ||
25991 test ! -s conftest.err
25992 } && test -s conftest.$ac_objext; then
25993 ac_cv_header_unordered_map=yes
25995 echo "$as_me: failed program was:" >&5
25996 sed 's/^/| /' conftest.$ac_ext >&5
25998 ac_cv_header_unordered_map=no
26001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26003 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26004 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26005 if test $ac_cv_header_unordered_map = yes; then
26006 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26007 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26008 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26009 echo $ECHO_N "(cached) $ECHO_C" >&6
26011 cat >conftest.$ac_ext <<_ACEOF
26014 cat confdefs.h >>conftest.$ac_ext
26015 cat >>conftest.$ac_ext <<_ACEOF
26016 /* end confdefs.h. */
26017 #include <unordered_map>
26018 #include <unordered_set>
26022 std::unordered_map<double*, char*> test1;
26023 std::unordered_set<char*> test2;
26028 rm -f conftest.$ac_objext
26029 if { (ac_try="$ac_compile"
26030 case "(($ac_try" in
26031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26032 *) ac_try_echo=$ac_try;;
26034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26035 (eval "$ac_compile") 2>conftest.er1
26037 grep -v '^ *+' conftest.er1 >conftest.err
26039 cat conftest.err >&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } && {
26042 test -z "$ac_cxx_werror_flag" ||
26043 test ! -s conftest.err
26044 } && test -s conftest.$ac_objext; then
26045 wx_cv_class_stdunorderedmapset=yes
26047 echo "$as_me: failed program was:" >&5
26048 sed 's/^/| /' conftest.$ac_ext >&5
26050 wx_cv_class_stdunorderedmapset=no
26053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26057 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26058 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26063 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26064 cat >>confdefs.h <<\_ACEOF
26065 #define HAVE_STD_UNORDERED_MAP 1
26068 cat >>confdefs.h <<\_ACEOF
26069 #define HAVE_STD_UNORDERED_SET 1
26073 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26074 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26075 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26076 echo $ECHO_N "(cached) $ECHO_C" >&6
26078 cat >conftest.$ac_ext <<_ACEOF
26081 cat confdefs.h >>conftest.$ac_ext
26082 cat >>conftest.$ac_ext <<_ACEOF
26083 /* end confdefs.h. */
26087 #include <tr1/unordered_map>
26089 rm -f conftest.$ac_objext
26090 if { (ac_try="$ac_compile"
26091 case "(($ac_try" in
26092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26093 *) ac_try_echo=$ac_try;;
26095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26096 (eval "$ac_compile") 2>conftest.er1
26098 grep -v '^ *+' conftest.er1 >conftest.err
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && {
26103 test -z "$ac_cxx_werror_flag" ||
26104 test ! -s conftest.err
26105 } && test -s conftest.$ac_objext; then
26106 ac_cv_header_tr1_unordered_map=yes
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.$ac_ext >&5
26111 ac_cv_header_tr1_unordered_map=no
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26116 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26117 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26118 if test $ac_cv_header_tr1_unordered_map = yes; then
26119 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26120 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26121 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26122 echo $ECHO_N "(cached) $ECHO_C" >&6
26124 cat >conftest.$ac_ext <<_ACEOF
26127 cat confdefs.h >>conftest.$ac_ext
26128 cat >>conftest.$ac_ext <<_ACEOF
26129 /* end confdefs.h. */
26130 #include <tr1/unordered_map>
26131 #include <tr1/unordered_set>
26135 std::tr1::unordered_map<double*, char*> test1;
26136 std::tr1::unordered_set<char*> test2;
26137 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26138 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26144 rm -f conftest.$ac_objext
26145 if { (ac_try="$ac_compile"
26146 case "(($ac_try" in
26147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26148 *) ac_try_echo=$ac_try;;
26150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26151 (eval "$ac_compile") 2>conftest.er1
26153 grep -v '^ *+' conftest.er1 >conftest.err
26155 cat conftest.err >&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } && {
26158 test -z "$ac_cxx_werror_flag" ||
26159 test ! -s conftest.err
26160 } && test -s conftest.$ac_objext; then
26161 wx_cv_class_tr1unorderedmapset=yes
26163 echo "$as_me: failed program was:" >&5
26164 sed 's/^/| /' conftest.$ac_ext >&5
26166 wx_cv_class_tr1unorderedmapset=no
26169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26173 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26174 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26179 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26180 cat >>confdefs.h <<\_ACEOF
26181 #define HAVE_TR1_UNORDERED_MAP 1
26184 cat >>confdefs.h <<\_ACEOF
26185 #define HAVE_TR1_UNORDERED_SET 1
26189 { echo "$as_me:$LINENO: checking for hash_map" >&5
26190 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26191 if test "${ac_cv_header_hash_map+set}" = set; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 cat >conftest.$ac_ext <<_ACEOF
26197 cat confdefs.h >>conftest.$ac_ext
26198 cat >>conftest.$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26203 #include <hash_map>
26205 rm -f conftest.$ac_objext
26206 if { (ac_try="$ac_compile"
26207 case "(($ac_try" in
26208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26209 *) ac_try_echo=$ac_try;;
26211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26212 (eval "$ac_compile") 2>conftest.er1
26214 grep -v '^ *+' conftest.er1 >conftest.err
26216 cat conftest.err >&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } && {
26219 test -z "$ac_cxx_werror_flag" ||
26220 test ! -s conftest.err
26221 } && test -s conftest.$ac_objext; then
26222 ac_cv_header_hash_map=yes
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.$ac_ext >&5
26227 ac_cv_header_hash_map=no
26230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26232 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26233 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26234 if test $ac_cv_header_hash_map = yes; then
26235 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26236 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26237 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26238 echo $ECHO_N "(cached) $ECHO_C" >&6
26240 cat >conftest.$ac_ext <<_ACEOF
26243 cat confdefs.h >>conftest.$ac_ext
26244 cat >>conftest.$ac_ext <<_ACEOF
26245 /* end confdefs.h. */
26246 #include <hash_map>
26247 #include <hash_set>
26251 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26252 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26257 rm -f conftest.$ac_objext
26258 if { (ac_try="$ac_compile"
26259 case "(($ac_try" in
26260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26261 *) ac_try_echo=$ac_try;;
26263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26264 (eval "$ac_compile") 2>conftest.er1
26266 grep -v '^ *+' conftest.er1 >conftest.err
26268 cat conftest.err >&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } && {
26271 test -z "$ac_cxx_werror_flag" ||
26272 test ! -s conftest.err
26273 } && test -s conftest.$ac_objext; then
26274 wx_cv_class_stdhashmapset=yes
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.$ac_ext >&5
26279 wx_cv_class_stdhashmapset=no
26282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26286 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26287 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26292 if test "$wx_cv_class_stdhashmapset" = yes; then
26293 cat >>confdefs.h <<\_ACEOF
26294 #define HAVE_HASH_MAP 1
26297 cat >>confdefs.h <<\_ACEOF
26298 #define HAVE_STD_HASH_MAP 1
26303 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26304 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26305 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26308 cat >conftest.$ac_ext <<_ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26317 #include <ext/hash_map>
26319 rm -f conftest.$ac_objext
26320 if { (ac_try="$ac_compile"
26321 case "(($ac_try" in
26322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26323 *) ac_try_echo=$ac_try;;
26325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26326 (eval "$ac_compile") 2>conftest.er1
26328 grep -v '^ *+' conftest.er1 >conftest.err
26330 cat conftest.err >&5
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); } && {
26333 test -z "$ac_cxx_werror_flag" ||
26334 test ! -s conftest.err
26335 } && test -s conftest.$ac_objext; then
26336 ac_cv_header_ext_hash_map=yes
26338 echo "$as_me: failed program was:" >&5
26339 sed 's/^/| /' conftest.$ac_ext >&5
26341 ac_cv_header_ext_hash_map=no
26344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26346 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26347 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26348 if test $ac_cv_header_ext_hash_map = yes; then
26349 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26350 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26351 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26354 cat >conftest.$ac_ext <<_ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26360 #include <ext/hash_map>
26361 #include <ext/hash_set>
26365 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26366 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26371 rm -f conftest.$ac_objext
26372 if { (ac_try="$ac_compile"
26373 case "(($ac_try" in
26374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26375 *) ac_try_echo=$ac_try;;
26377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26378 (eval "$ac_compile") 2>conftest.er1
26380 grep -v '^ *+' conftest.er1 >conftest.err
26382 cat conftest.err >&5
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); } && {
26385 test -z "$ac_cxx_werror_flag" ||
26386 test ! -s conftest.err
26387 } && test -s conftest.$ac_objext; then
26388 wx_cv_class_gnuhashmapset=yes
26390 echo "$as_me: failed program was:" >&5
26391 sed 's/^/| /' conftest.$ac_ext >&5
26393 wx_cv_class_gnuhashmapset=no
26396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26400 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26401 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26411 ac_cpp='$CXXCPP $CPPFLAGS'
26412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26415 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26416 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26417 if test -z "$CXXCPP"; then
26418 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26419 echo $ECHO_N "(cached) $ECHO_C" >&6
26421 # Double quotes because CXXCPP needs to be expanded
26422 for CXXCPP in "$CXX -E" "/lib/cpp"
26424 ac_preproc_ok=false
26425 for ac_cxx_preproc_warn_flag in '' yes
26427 # Use a header file that comes with gcc, so configuring glibc
26428 # with a fresh cross-compiler works.
26429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26430 # <limits.h> exists even on freestanding compilers.
26431 # On the NeXT, cc -E runs the code through the compiler's parser,
26432 # not just through cpp. "Syntax error" is here to catch this case.
26433 cat >conftest.$ac_ext <<_ACEOF
26436 cat confdefs.h >>conftest.$ac_ext
26437 cat >>conftest.$ac_ext <<_ACEOF
26438 /* end confdefs.h. */
26440 # include <limits.h>
26442 # include <assert.h>
26446 if { (ac_try="$ac_cpp conftest.$ac_ext"
26447 case "(($ac_try" in
26448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26449 *) ac_try_echo=$ac_try;;
26451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26454 grep -v '^ *+' conftest.er1 >conftest.err
26456 cat conftest.err >&5
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); } >/dev/null && {
26459 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26460 test ! -s conftest.err
26464 echo "$as_me: failed program was:" >&5
26465 sed 's/^/| /' conftest.$ac_ext >&5
26467 # Broken: fails on valid input.
26471 rm -f conftest.err conftest.$ac_ext
26473 # OK, works on sane cases. Now check whether nonexistent headers
26474 # can be detected and how.
26475 cat >conftest.$ac_ext <<_ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481 #include <ac_nonexistent.h>
26483 if { (ac_try="$ac_cpp conftest.$ac_ext"
26484 case "(($ac_try" in
26485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26486 *) ac_try_echo=$ac_try;;
26488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26491 grep -v '^ *+' conftest.er1 >conftest.err
26493 cat conftest.err >&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } >/dev/null && {
26496 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26497 test ! -s conftest.err
26499 # Broken: success on invalid input.
26502 echo "$as_me: failed program was:" >&5
26503 sed 's/^/| /' conftest.$ac_ext >&5
26505 # Passes both tests.
26510 rm -f conftest.err conftest.$ac_ext
26513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26514 rm -f conftest.err conftest.$ac_ext
26515 if $ac_preproc_ok; then
26520 ac_cv_prog_CXXCPP=$CXXCPP
26523 CXXCPP=$ac_cv_prog_CXXCPP
26525 ac_cv_prog_CXXCPP=$CXXCPP
26527 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26528 echo "${ECHO_T}$CXXCPP" >&6; }
26529 ac_preproc_ok=false
26530 for ac_cxx_preproc_warn_flag in '' yes
26532 # Use a header file that comes with gcc, so configuring glibc
26533 # with a fresh cross-compiler works.
26534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26535 # <limits.h> exists even on freestanding compilers.
26536 # On the NeXT, cc -E runs the code through the compiler's parser,
26537 # not just through cpp. "Syntax error" is here to catch this case.
26538 cat >conftest.$ac_ext <<_ACEOF
26541 cat confdefs.h >>conftest.$ac_ext
26542 cat >>conftest.$ac_ext <<_ACEOF
26543 /* end confdefs.h. */
26545 # include <limits.h>
26547 # include <assert.h>
26551 if { (ac_try="$ac_cpp conftest.$ac_ext"
26552 case "(($ac_try" in
26553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26554 *) ac_try_echo=$ac_try;;
26556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26559 grep -v '^ *+' conftest.er1 >conftest.err
26561 cat conftest.err >&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); } >/dev/null && {
26564 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26565 test ! -s conftest.err
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.$ac_ext >&5
26572 # Broken: fails on valid input.
26576 rm -f conftest.err conftest.$ac_ext
26578 # OK, works on sane cases. Now check whether nonexistent headers
26579 # can be detected and how.
26580 cat >conftest.$ac_ext <<_ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26586 #include <ac_nonexistent.h>
26588 if { (ac_try="$ac_cpp conftest.$ac_ext"
26589 case "(($ac_try" in
26590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26591 *) ac_try_echo=$ac_try;;
26593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26596 grep -v '^ *+' conftest.er1 >conftest.err
26598 cat conftest.err >&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); } >/dev/null && {
26601 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26602 test ! -s conftest.err
26604 # Broken: success on invalid input.
26607 echo "$as_me: failed program was:" >&5
26608 sed 's/^/| /' conftest.$ac_ext >&5
26610 # Passes both tests.
26615 rm -f conftest.err conftest.$ac_ext
26618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26619 rm -f conftest.err conftest.$ac_ext
26620 if $ac_preproc_ok; then
26623 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26624 See \`config.log' for more details." >&5
26625 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26626 See \`config.log' for more details." >&2;}
26627 { (exit 1); exit 1; }; }
26631 ac_cpp='$CXXCPP $CPPFLAGS'
26632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26639 for ac_header in type_traits tr1/type_traits
26641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26643 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 ac_res=`eval echo '${'$as_ac_Header'}'`
26649 { echo "$as_me:$LINENO: result: $ac_res" >&5
26650 echo "${ECHO_T}$ac_res" >&6; }
26652 # Is the header compilable?
26653 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26655 cat >conftest.$ac_ext <<_ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661 $ac_includes_default
26662 #include <$ac_header>
26664 rm -f conftest.$ac_objext
26665 if { (ac_try="$ac_compile"
26666 case "(($ac_try" in
26667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26668 *) ac_try_echo=$ac_try;;
26670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26671 (eval "$ac_compile") 2>conftest.er1
26673 grep -v '^ *+' conftest.er1 >conftest.err
26675 cat conftest.err >&5
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); } && {
26678 test -z "$ac_cxx_werror_flag" ||
26679 test ! -s conftest.err
26680 } && test -s conftest.$ac_objext; then
26681 ac_header_compiler=yes
26683 echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.$ac_ext >&5
26686 ac_header_compiler=no
26689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26690 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26691 echo "${ECHO_T}$ac_header_compiler" >&6; }
26693 # Is the header present?
26694 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26696 cat >conftest.$ac_ext <<_ACEOF
26699 cat confdefs.h >>conftest.$ac_ext
26700 cat >>conftest.$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26702 #include <$ac_header>
26704 if { (ac_try="$ac_cpp conftest.$ac_ext"
26705 case "(($ac_try" in
26706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26707 *) ac_try_echo=$ac_try;;
26709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26712 grep -v '^ *+' conftest.er1 >conftest.err
26714 cat conftest.err >&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); } >/dev/null && {
26717 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26718 test ! -s conftest.err
26720 ac_header_preproc=yes
26722 echo "$as_me: failed program was:" >&5
26723 sed 's/^/| /' conftest.$ac_ext >&5
26725 ac_header_preproc=no
26728 rm -f conftest.err conftest.$ac_ext
26729 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26730 echo "${ECHO_T}$ac_header_preproc" >&6; }
26732 # So? What about this header?
26733 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26739 ac_header_preproc=yes
26742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26755 ## ----------------------------------------- ##
26756 ## Report this to wx-dev@lists.wxwidgets.org ##
26757 ## ----------------------------------------- ##
26759 ) | sed "s/^/$as_me: WARNING: /" >&2
26762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26765 echo $ECHO_N "(cached) $ECHO_C" >&6
26767 eval "$as_ac_Header=\$ac_header_preproc"
26769 ac_res=`eval echo '${'$as_ac_Header'}'`
26770 { echo "$as_me:$LINENO: result: $ac_res" >&5
26771 echo "${ECHO_T}$ac_res" >&6; }
26774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26775 cat >>confdefs.h <<_ACEOF
26776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26786 if test -n "$GCC"; then
26787 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26788 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26789 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26790 echo $ECHO_N "(cached) $ECHO_C" >&6
26793 cat >conftest.$ac_ext <<_ACEOF
26796 cat confdefs.h >>conftest.$ac_ext
26797 cat >>conftest.$ac_ext <<_ACEOF
26798 /* end confdefs.h. */
26804 unsigned int value=0;
26805 /* wxAtomicInc doesn't use return value here */
26806 __sync_fetch_and_add(&value, 2);
26807 __sync_sub_and_fetch(&value, 1);
26808 /* but wxAtomicDec does, so mimic that: */
26809 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26815 rm -f conftest.$ac_objext conftest$ac_exeext
26816 if { (ac_try="$ac_link"
26817 case "(($ac_try" in
26818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26819 *) ac_try_echo=$ac_try;;
26821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26822 (eval "$ac_link") 2>conftest.er1
26824 grep -v '^ *+' conftest.er1 >conftest.err
26826 cat conftest.err >&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } && {
26829 test -z "$ac_cxx_werror_flag" ||
26830 test ! -s conftest.err
26831 } && test -s conftest$ac_exeext &&
26832 $as_test_x conftest$ac_exeext; then
26833 wx_cv_cc_gcc_atomic_builtins=yes
26835 echo "$as_me: failed program was:" >&5
26836 sed 's/^/| /' conftest.$ac_ext >&5
26838 wx_cv_cc_gcc_atomic_builtins=no
26841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26842 conftest$ac_exeext conftest.$ac_ext
26846 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26847 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26848 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26849 cat >>confdefs.h <<\_ACEOF
26850 #define HAVE_GCC_ATOMIC_BUILTINS 1
26858 ac_cpp='$CPP $CPPFLAGS'
26859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26866 /usr/local/include \
26867 /usr/local/X11/include \
26868 /usr/local/include/X11 \
26869 /usr/local/X11R7/include \
26870 /usr/local/X11R6/include \
26871 /usr/local/include/X11R7 \
26872 /usr/local/include/X11R6 \
26874 /usr/Motif-2.1/include \
26875 /usr/Motif-1.2/include \
26876 /usr/include/Motif1.2 \
26879 /usr/openwin/include \
26883 /usr/X11R7/include \
26884 /usr/X11R6/include \
26885 /usr/X11R6.4/include \
26887 /usr/include/X11R7 \
26888 /usr/include/X11R6 \
26893 /usr/XFree86/include/X11 \
26896 /usr/local/X1R5/include \
26897 /usr/local/include/X11R5 \
26898 /usr/X11R5/include \
26899 /usr/include/X11R5 \
26901 /usr/local/X11R4/include \
26902 /usr/local/include/X11R4 \
26903 /usr/X11R4/include \
26904 /usr/include/X11R4 \
26906 /usr/openwin/share/include"
26908 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26909 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26913 if test "${wx_cv_std_libpath+set}" = set; then
26914 echo $ECHO_N "(cached) $ECHO_C" >&6
26917 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26918 for e in a so sl dylib dll.a; do
26920 if test -f $libc; then
26923 cat >conftest.$ac_ext <<_ACEOF
26924 int main() { return 0; }
26926 rm -f conftest.$ac_objext conftest$ac_exeext
26927 if { (ac_try="$ac_link"
26928 case "(($ac_try" in
26929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26930 *) ac_try_echo=$ac_try;;
26932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26933 (eval "$ac_link") 2>conftest.er1
26935 grep -v '^ *+' conftest.er1 >conftest.err
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && {
26940 test -z "$ac_c_werror_flag" ||
26941 test ! -s conftest.err
26942 } && test -s conftest$ac_exeext &&
26943 $as_test_x conftest$ac_exeext; then
26944 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.$ac_ext >&5
26952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26953 conftest$ac_exeext conftest.$ac_ext
26955 if test "x$wx_cv_std_libpath" != "x"; then
26961 if test "x$wx_cv_std_libpath" = "x"; then
26962 wx_cv_std_libpath="lib"
26971 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26972 wx_cv_std_libpath="lib/64"
26974 wx_cv_std_libpath="lib"
26979 if test "$ac_cv_sizeof_void_p" = 8 -a \
26980 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26981 wx_cv_std_libpath="lib64"
26983 wx_cv_std_libpath="lib"
26988 wx_cv_std_libpath="lib";
26992 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26993 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26995 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26997 if test "$build" != "$host" -a "$GCC" = yes; then
26998 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26999 cross_root=`dirname $cross_root`
27000 cross_root=`dirname $cross_root`
27002 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27003 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27004 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27006 if test -z "$PKG_CONFIG_PATH"; then
27007 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27008 export PKG_CONFIG_PATH
27011 if test -z "$x_includes" -o "$x_includes" = NONE; then
27014 for ac_dir in $SEARCH_INCLUDE /usr/include
27016 if test -f "$ac_dir/X11/Intrinsic.h"; then
27017 ac_find_includes=$ac_dir
27022 x_includes=$ac_find_includes
27024 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27027 for ac_dir in $SEARCH_LIB
27029 for ac_extension in a so sl dylib dll.a; do
27030 if test -f "$ac_dir/libXt.$ac_extension"; then
27031 ac_find_libraries=$ac_dir
27037 x_libraries=$ac_find_libraries
27043 cat >confcache <<\_ACEOF
27044 # This file is a shell script that caches the results of configure
27045 # tests run on this system so they can be shared between configure
27046 # scripts and configure runs, see configure's option --config-cache.
27047 # It is not useful on other systems. If it contains results you don't
27048 # want to keep, you may remove or edit it.
27050 # config.status only pays attention to the cache file if you give it
27051 # the --recheck option to rerun configure.
27053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27055 # following values.
27059 # The following way of writing the cache mishandles newlines in values,
27060 # but we know of no workaround that is simple, portable, and efficient.
27061 # So, we kill variables containing newlines.
27062 # Ultrix sh set writes to stderr and can't be redirected directly,
27063 # and sets the high bit in the cache file unless we assign to the vars.
27065 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27066 eval ac_val=\$$ac_var
27070 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27071 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27074 _ | IFS | as_nl) ;; #(
27075 *) $as_unset $ac_var ;;
27081 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27082 *${as_nl}ac_space=\ *)
27083 # `set' does not quote correctly, so add quotes (double-quote
27084 # substitution turns \\\\ into \\, and sed turns \\ into \).
27087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27090 # `set' quotes correctly as required by POSIX, so do not add quotes.
27091 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27100 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27102 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27104 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27105 if test -w "$cache_file"; then
27106 test "x$cache_file" != "x/dev/null" &&
27107 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27108 echo "$as_me: updating cache $cache_file" >&6;}
27109 cat confcache >$cache_file
27111 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27112 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27117 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27118 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27119 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27120 if test "${wx_cv_lib_glibc21+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27124 cat >conftest.$ac_ext <<_ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27130 #include <features.h>
27135 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27143 rm -f conftest.$ac_objext
27144 if { (ac_try="$ac_compile"
27145 case "(($ac_try" in
27146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27147 *) ac_try_echo=$ac_try;;
27149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27150 (eval "$ac_compile") 2>conftest.er1
27152 grep -v '^ *+' conftest.er1 >conftest.err
27154 cat conftest.err >&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } && {
27157 test -z "$ac_c_werror_flag" ||
27158 test ! -s conftest.err
27159 } && test -s conftest.$ac_objext; then
27161 wx_cv_lib_glibc21=yes
27164 echo "$as_me: failed program was:" >&5
27165 sed 's/^/| /' conftest.$ac_ext >&5
27168 wx_cv_lib_glibc21=no
27173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27176 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27177 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27178 if test "$wx_cv_lib_glibc21" = "yes"; then
27179 cat >>confdefs.h <<\_ACEOF
27180 #define wxHAVE_GLIBC2 1
27186 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27187 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27188 cat >>confdefs.h <<\_ACEOF
27189 #define _GNU_SOURCE 1
27200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27201 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27204 echo $ECHO_N "(cached) $ECHO_C" >&6
27206 cat >conftest.$ac_ext <<_ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27214 #define $ac_func innocuous_$ac_func
27216 /* System header to define __stub macros and hopefully few prototypes,
27217 which can conflict with char $ac_func (); below.
27218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27219 <limits.h> exists even on freestanding compilers. */
27222 # include <limits.h>
27224 # include <assert.h>
27229 /* Override any GCC internal prototype to avoid an error.
27230 Use char because int might match the return type of a GCC
27231 builtin and then its argument prototype would still apply. */
27236 /* The GNU C library defines this for functions which it implements
27237 to always fail with ENOSYS. Some functions are actually named
27238 something starting with __ and the normal name is an alias. */
27239 #if defined __stub_$ac_func || defined __stub___$ac_func
27246 return $ac_func ();
27251 rm -f conftest.$ac_objext conftest$ac_exeext
27252 if { (ac_try="$ac_link"
27253 case "(($ac_try" in
27254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27255 *) ac_try_echo=$ac_try;;
27257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27258 (eval "$ac_link") 2>conftest.er1
27260 grep -v '^ *+' conftest.er1 >conftest.err
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } && {
27265 test -z "$ac_c_werror_flag" ||
27266 test ! -s conftest.err
27267 } && test -s conftest$ac_exeext &&
27268 $as_test_x conftest$ac_exeext; then
27269 eval "$as_ac_var=yes"
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27274 eval "$as_ac_var=no"
27277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27278 conftest$ac_exeext conftest.$ac_ext
27280 ac_res=`eval echo '${'$as_ac_var'}'`
27281 { echo "$as_me:$LINENO: result: $ac_res" >&5
27282 echo "${ECHO_T}$ac_res" >&6; }
27283 if test `eval echo '${'$as_ac_var'}'` = yes; then
27284 cat >>confdefs.h <<_ACEOF
27285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27292 for ac_func in floor
27294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27297 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 cat >conftest.$ac_ext <<_ACEOF
27303 cat confdefs.h >>conftest.$ac_ext
27304 cat >>conftest.$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27308 #define $ac_func innocuous_$ac_func
27310 /* System header to define __stub macros and hopefully few prototypes,
27311 which can conflict with char $ac_func (); below.
27312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27313 <limits.h> exists even on freestanding compilers. */
27316 # include <limits.h>
27318 # include <assert.h>
27323 /* Override any GCC internal prototype to avoid an error.
27324 Use char because int might match the return type of a GCC
27325 builtin and then its argument prototype would still apply. */
27330 /* The GNU C library defines this for functions which it implements
27331 to always fail with ENOSYS. Some functions are actually named
27332 something starting with __ and the normal name is an alias. */
27333 #if defined __stub_$ac_func || defined __stub___$ac_func
27340 return $ac_func ();
27345 rm -f conftest.$ac_objext conftest$ac_exeext
27346 if { (ac_try="$ac_link"
27347 case "(($ac_try" in
27348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27349 *) ac_try_echo=$ac_try;;
27351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27352 (eval "$ac_link") 2>conftest.er1
27354 grep -v '^ *+' conftest.er1 >conftest.err
27356 cat conftest.err >&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } && {
27359 test -z "$ac_c_werror_flag" ||
27360 test ! -s conftest.err
27361 } && test -s conftest$ac_exeext &&
27362 $as_test_x conftest$ac_exeext; then
27363 eval "$as_ac_var=yes"
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27368 eval "$as_ac_var=no"
27371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27372 conftest$ac_exeext conftest.$ac_ext
27374 ac_res=`eval echo '${'$as_ac_var'}'`
27375 { echo "$as_me:$LINENO: result: $ac_res" >&5
27376 echo "${ECHO_T}$ac_res" >&6; }
27377 if test `eval echo '${'$as_ac_var'}'` = yes; then
27378 cat >>confdefs.h <<_ACEOF
27379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27385 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27386 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27387 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27388 { echo "$as_me:$LINENO: result: yes" >&5
27389 echo "${ECHO_T}yes" >&6; }
27391 { echo "$as_me:$LINENO: result: no" >&5
27392 echo "${ECHO_T}no" >&6; }
27394 # use different functions to avoid configure caching
27400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27404 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 cat >conftest.$ac_ext <<_ACEOF
27409 cat confdefs.h >>conftest.$ac_ext
27410 cat >>conftest.$ac_ext <<_ACEOF
27411 /* end confdefs.h. */
27412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27414 #define $ac_func innocuous_$ac_func
27416 /* System header to define __stub macros and hopefully few prototypes,
27417 which can conflict with char $ac_func (); below.
27418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27419 <limits.h> exists even on freestanding compilers. */
27422 # include <limits.h>
27424 # include <assert.h>
27429 /* Override any GCC internal prototype to avoid an error.
27430 Use char because int might match the return type of a GCC
27431 builtin and then its argument prototype would still apply. */
27436 /* The GNU C library defines this for functions which it implements
27437 to always fail with ENOSYS. Some functions are actually named
27438 something starting with __ and the normal name is an alias. */
27439 #if defined __stub_$ac_func || defined __stub___$ac_func
27446 return $ac_func ();
27451 rm -f conftest.$ac_objext conftest$ac_exeext
27452 if { (ac_try="$ac_link"
27453 case "(($ac_try" in
27454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27455 *) ac_try_echo=$ac_try;;
27457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27458 (eval "$ac_link") 2>conftest.er1
27460 grep -v '^ *+' conftest.er1 >conftest.err
27462 cat conftest.err >&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } && {
27465 test -z "$ac_c_werror_flag" ||
27466 test ! -s conftest.err
27467 } && test -s conftest$ac_exeext &&
27468 $as_test_x conftest$ac_exeext; then
27469 eval "$as_ac_var=yes"
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27474 eval "$as_ac_var=no"
27477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27478 conftest$ac_exeext conftest.$ac_ext
27480 ac_res=`eval echo '${'$as_ac_var'}'`
27481 { echo "$as_me:$LINENO: result: $ac_res" >&5
27482 echo "${ECHO_T}$ac_res" >&6; }
27483 if test `eval echo '${'$as_ac_var'}'` = yes; then
27484 cat >>confdefs.h <<_ACEOF
27485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27492 for ac_func in ceil
27494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 cat >conftest.$ac_ext <<_ACEOF
27503 cat confdefs.h >>conftest.$ac_ext
27504 cat >>conftest.$ac_ext <<_ACEOF
27505 /* end confdefs.h. */
27506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27508 #define $ac_func innocuous_$ac_func
27510 /* System header to define __stub macros and hopefully few prototypes,
27511 which can conflict with char $ac_func (); below.
27512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27513 <limits.h> exists even on freestanding compilers. */
27516 # include <limits.h>
27518 # include <assert.h>
27523 /* Override any GCC internal prototype to avoid an error.
27524 Use char because int might match the return type of a GCC
27525 builtin and then its argument prototype would still apply. */
27530 /* The GNU C library defines this for functions which it implements
27531 to always fail with ENOSYS. Some functions are actually named
27532 something starting with __ and the normal name is an alias. */
27533 #if defined __stub_$ac_func || defined __stub___$ac_func
27540 return $ac_func ();
27545 rm -f conftest.$ac_objext conftest$ac_exeext
27546 if { (ac_try="$ac_link"
27547 case "(($ac_try" in
27548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27549 *) ac_try_echo=$ac_try;;
27551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27552 (eval "$ac_link") 2>conftest.er1
27554 grep -v '^ *+' conftest.er1 >conftest.err
27556 cat conftest.err >&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); } && {
27559 test -z "$ac_c_werror_flag" ||
27560 test ! -s conftest.err
27561 } && test -s conftest$ac_exeext &&
27562 $as_test_x conftest$ac_exeext; then
27563 eval "$as_ac_var=yes"
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.$ac_ext >&5
27568 eval "$as_ac_var=no"
27571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27572 conftest$ac_exeext conftest.$ac_ext
27574 ac_res=`eval echo '${'$as_ac_var'}'`
27575 { echo "$as_me:$LINENO: result: $ac_res" >&5
27576 echo "${ECHO_T}$ac_res" >&6; }
27577 if test `eval echo '${'$as_ac_var'}'` = yes; then
27578 cat >>confdefs.h <<_ACEOF
27579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27585 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27586 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27587 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27588 { echo "$as_me:$LINENO: result: yes" >&5
27589 echo "${ECHO_T}yes" >&6; }
27591 { echo "$as_me:$LINENO: result: no" >&5
27592 echo "${ECHO_T}no" >&6; }
27593 # not sure we should warn the user, crash, etc.
27598 ac_cpp='$CXXCPP $CPPFLAGS'
27599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27603 if test "wxUSE_UNICODE" = "yes"; then
27605 for wx_func in wcstoull
27607 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27608 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27609 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27610 echo $ECHO_N "(cached) $ECHO_C" >&6
27613 cat >conftest.$ac_ext <<_ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27622 $ac_includes_default
27638 rm -f conftest.$ac_objext conftest$ac_exeext
27639 if { (ac_try="$ac_link"
27640 case "(($ac_try" in
27641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27642 *) ac_try_echo=$ac_try;;
27644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27645 (eval "$ac_link") 2>conftest.er1
27647 grep -v '^ *+' conftest.er1 >conftest.err
27649 cat conftest.err >&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); } && {
27652 test -z "$ac_cxx_werror_flag" ||
27653 test ! -s conftest.err
27654 } && test -s conftest$ac_exeext &&
27655 $as_test_x conftest$ac_exeext; then
27656 eval wx_cv_func_$wx_func=yes
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27661 eval wx_cv_func_$wx_func=no
27664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27665 conftest$ac_exeext conftest.$ac_ext
27668 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27669 { echo "$as_me:$LINENO: result: $ac_res" >&5
27670 echo "${ECHO_T}$ac_res" >&6; }
27672 if eval test \$wx_cv_func_$wx_func = yes
27674 cat >>confdefs.h <<_ACEOF
27675 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27687 for wx_func in strtoull
27689 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27690 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27691 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27695 cat >conftest.$ac_ext <<_ACEOF
27699 cat confdefs.h >>conftest.$ac_ext
27700 cat >>conftest.$ac_ext <<_ACEOF
27701 /* end confdefs.h. */
27704 $ac_includes_default
27720 rm -f conftest.$ac_objext conftest$ac_exeext
27721 if { (ac_try="$ac_link"
27722 case "(($ac_try" in
27723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27724 *) ac_try_echo=$ac_try;;
27726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27727 (eval "$ac_link") 2>conftest.er1
27729 grep -v '^ *+' conftest.er1 >conftest.err
27731 cat conftest.err >&5
27732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27733 (exit $ac_status); } && {
27734 test -z "$ac_cxx_werror_flag" ||
27735 test ! -s conftest.err
27736 } && test -s conftest$ac_exeext &&
27737 $as_test_x conftest$ac_exeext; then
27738 eval wx_cv_func_$wx_func=yes
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27743 eval wx_cv_func_$wx_func=no
27746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27747 conftest$ac_exeext conftest.$ac_ext
27750 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27751 { echo "$as_me:$LINENO: result: $ac_res" >&5
27752 echo "${ECHO_T}$ac_res" >&6; }
27754 if eval test \$wx_cv_func_$wx_func = yes
27756 cat >>confdefs.h <<_ACEOF
27757 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27769 ac_cpp='$CPP $CPPFLAGS'
27770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27777 if test "$wxUSE_REGEX" != "no"; then
27778 cat >>confdefs.h <<\_ACEOF
27779 #define wxUSE_REGEX 1
27783 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27784 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27785 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27786 wxUSE_REGEX=builtin
27789 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27790 { echo "$as_me:$LINENO: checking for regex.h" >&5
27791 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27792 if test "${ac_cv_header_regex_h+set}" = set; then
27793 echo $ECHO_N "(cached) $ECHO_C" >&6
27795 cat >conftest.$ac_ext <<_ACEOF
27798 cat confdefs.h >>conftest.$ac_ext
27799 cat >>conftest.$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27805 rm -f conftest.$ac_objext
27806 if { (ac_try="$ac_compile"
27807 case "(($ac_try" in
27808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27809 *) ac_try_echo=$ac_try;;
27811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27812 (eval "$ac_compile") 2>conftest.er1
27814 grep -v '^ *+' conftest.er1 >conftest.err
27816 cat conftest.err >&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); } && {
27819 test -z "$ac_c_werror_flag" ||
27820 test ! -s conftest.err
27821 } && test -s conftest.$ac_objext; then
27822 ac_cv_header_regex_h=yes
27824 echo "$as_me: failed program was:" >&5
27825 sed 's/^/| /' conftest.$ac_ext >&5
27827 ac_cv_header_regex_h=no
27830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27832 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27833 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27834 if test $ac_cv_header_regex_h = yes; then
27837 for ac_func in regcomp re_search
27839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27843 echo $ECHO_N "(cached) $ECHO_C" >&6
27845 cat >conftest.$ac_ext <<_ACEOF
27848 cat confdefs.h >>conftest.$ac_ext
27849 cat >>conftest.$ac_ext <<_ACEOF
27850 /* end confdefs.h. */
27851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27853 #define $ac_func innocuous_$ac_func
27855 /* System header to define __stub macros and hopefully few prototypes,
27856 which can conflict with char $ac_func (); below.
27857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27858 <limits.h> exists even on freestanding compilers. */
27861 # include <limits.h>
27863 # include <assert.h>
27868 /* Override any GCC internal prototype to avoid an error.
27869 Use char because int might match the return type of a GCC
27870 builtin and then its argument prototype would still apply. */
27875 /* The GNU C library defines this for functions which it implements
27876 to always fail with ENOSYS. Some functions are actually named
27877 something starting with __ and the normal name is an alias. */
27878 #if defined __stub_$ac_func || defined __stub___$ac_func
27885 return $ac_func ();
27890 rm -f conftest.$ac_objext conftest$ac_exeext
27891 if { (ac_try="$ac_link"
27892 case "(($ac_try" in
27893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27894 *) ac_try_echo=$ac_try;;
27896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27897 (eval "$ac_link") 2>conftest.er1
27899 grep -v '^ *+' conftest.er1 >conftest.err
27901 cat conftest.err >&5
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); } && {
27904 test -z "$ac_c_werror_flag" ||
27905 test ! -s conftest.err
27906 } && test -s conftest$ac_exeext &&
27907 $as_test_x conftest$ac_exeext; then
27908 eval "$as_ac_var=yes"
27910 echo "$as_me: failed program was:" >&5
27911 sed 's/^/| /' conftest.$ac_ext >&5
27913 eval "$as_ac_var=no"
27916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27917 conftest$ac_exeext conftest.$ac_ext
27919 ac_res=`eval echo '${'$as_ac_var'}'`
27920 { echo "$as_me:$LINENO: result: $ac_res" >&5
27921 echo "${ECHO_T}$ac_res" >&6; }
27922 if test `eval echo '${'$as_ac_var'}'` = yes; then
27923 cat >>confdefs.h <<_ACEOF
27924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27934 if test "x$ac_cv_func_regcomp" != "xyes"; then
27935 if test "$wxUSE_REGEX" = "sys" ; then
27936 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27937 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27938 { (exit 1); exit 1; }; }
27940 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27941 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27942 wxUSE_REGEX=builtin
27946 cat >>confdefs.h <<\_ACEOF
27947 #define WX_NO_REGEX_ADVANCED 1
27956 if test "$wxUSE_ZLIB" != "no" ; then
27957 cat >>confdefs.h <<\_ACEOF
27958 #define wxUSE_ZLIB 1
27962 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27963 if test "$USE_DARWIN" = 1; then
27964 system_zlib_h_ok="yes"
27966 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27967 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27968 if test "${ac_cv_header_zlib_h+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27971 if test "$cross_compiling" = yes; then
27972 unset ac_cv_header_zlib_h
27975 cat >conftest.$ac_ext <<_ACEOF
27978 cat confdefs.h >>conftest.$ac_ext
27979 cat >>conftest.$ac_ext <<_ACEOF
27980 /* end confdefs.h. */
27987 FILE *f=fopen("conftestval", "w");
27990 ZLIB_VERSION[0] == '1' &&
27991 (ZLIB_VERSION[2] > '1' ||
27992 (ZLIB_VERSION[2] == '1' &&
27993 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27998 rm -f conftest$ac_exeext
27999 if { (ac_try="$ac_link"
28000 case "(($ac_try" in
28001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28002 *) ac_try_echo=$ac_try;;
28004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28005 (eval "$ac_link") 2>&5
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28009 { (case "(($ac_try" in
28010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28011 *) ac_try_echo=$ac_try;;
28013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28014 (eval "$ac_try") 2>&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); }; }; then
28018 ac_cv_header_zlib_h=`cat conftestval`
28020 echo "$as_me: program exited with status $ac_status" >&5
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28024 ( exit $ac_status )
28025 ac_cv_header_zlib_h=no
28027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28033 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28034 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28035 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28036 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28037 if test "${ac_cv_header_zlib_h+set}" = set; then
28038 echo $ECHO_N "(cached) $ECHO_C" >&6
28040 cat >conftest.$ac_ext <<_ACEOF
28043 cat confdefs.h >>conftest.$ac_ext
28044 cat >>conftest.$ac_ext <<_ACEOF
28045 /* end confdefs.h. */
28050 rm -f conftest.$ac_objext
28051 if { (ac_try="$ac_compile"
28052 case "(($ac_try" in
28053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28054 *) ac_try_echo=$ac_try;;
28056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28057 (eval "$ac_compile") 2>conftest.er1
28059 grep -v '^ *+' conftest.er1 >conftest.err
28061 cat conftest.err >&5
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); } && {
28064 test -z "$ac_c_werror_flag" ||
28065 test ! -s conftest.err
28066 } && test -s conftest.$ac_objext; then
28067 ac_cv_header_zlib_h=yes
28069 echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.$ac_ext >&5
28072 ac_cv_header_zlib_h=no
28075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28077 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28078 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28082 system_zlib_h_ok=$ac_cv_header_zlib_h
28085 if test "$system_zlib_h_ok" = "yes"; then
28086 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28087 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28088 if test "${ac_cv_lib_z_deflate+set}" = set; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28091 ac_check_lib_save_LIBS=$LIBS
28093 cat >conftest.$ac_ext <<_ACEOF
28096 cat confdefs.h >>conftest.$ac_ext
28097 cat >>conftest.$ac_ext <<_ACEOF
28098 /* end confdefs.h. */
28100 /* Override any GCC internal prototype to avoid an error.
28101 Use char because int might match the return type of a GCC
28102 builtin and then its argument prototype would still apply. */
28115 rm -f conftest.$ac_objext conftest$ac_exeext
28116 if { (ac_try="$ac_link"
28117 case "(($ac_try" in
28118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28119 *) ac_try_echo=$ac_try;;
28121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28122 (eval "$ac_link") 2>conftest.er1
28124 grep -v '^ *+' conftest.er1 >conftest.err
28126 cat conftest.err >&5
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); } && {
28129 test -z "$ac_c_werror_flag" ||
28130 test ! -s conftest.err
28131 } && test -s conftest$ac_exeext &&
28132 $as_test_x conftest$ac_exeext; then
28133 ac_cv_lib_z_deflate=yes
28135 echo "$as_me: failed program was:" >&5
28136 sed 's/^/| /' conftest.$ac_ext >&5
28138 ac_cv_lib_z_deflate=no
28141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28142 conftest$ac_exeext conftest.$ac_ext
28143 LIBS=$ac_check_lib_save_LIBS
28145 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28146 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28147 if test $ac_cv_lib_z_deflate = yes; then
28153 if test "x$ZLIB_LINK" = "x" ; then
28154 if test "$wxUSE_ZLIB" = "sys" ; then
28155 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28156 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28157 { (exit 1); exit 1; }; }
28159 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28160 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28171 if test "$wxUSE_LIBPNG" != "no" ; then
28172 cat >>confdefs.h <<\_ACEOF
28173 #define wxUSE_LIBPNG 1
28177 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28178 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28179 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28183 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28184 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28185 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28186 wxUSE_LIBPNG=builtin
28189 if test "$wxUSE_MGL" != 1 ; then
28190 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28191 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28192 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28193 if test "${ac_cv_header_png_h+set}" = set; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 if test "$cross_compiling" = yes; then
28197 unset ac_cv_header_png_h
28200 cat >conftest.$ac_ext <<_ACEOF
28203 cat confdefs.h >>conftest.$ac_ext
28204 cat >>conftest.$ac_ext <<_ACEOF
28205 /* end confdefs.h. */
28212 FILE *f=fopen("conftestval", "w");
28215 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28220 rm -f conftest$ac_exeext
28221 if { (ac_try="$ac_link"
28222 case "(($ac_try" in
28223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28224 *) ac_try_echo=$ac_try;;
28226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28227 (eval "$ac_link") 2>&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28231 { (case "(($ac_try" in
28232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28233 *) ac_try_echo=$ac_try;;
28235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28236 (eval "$ac_try") 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28240 ac_cv_header_png_h=`cat conftestval`
28242 echo "$as_me: program exited with status $ac_status" >&5
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.$ac_ext >&5
28246 ( exit $ac_status )
28247 ac_cv_header_png_h=no
28249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28255 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28256 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28257 { echo "$as_me:$LINENO: checking for png.h" >&5
28258 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28259 if test "${ac_cv_header_png_h+set}" = set; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28262 cat >conftest.$ac_ext <<_ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28272 rm -f conftest.$ac_objext
28273 if { (ac_try="$ac_compile"
28274 case "(($ac_try" in
28275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28276 *) ac_try_echo=$ac_try;;
28278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28279 (eval "$ac_compile") 2>conftest.er1
28281 grep -v '^ *+' conftest.er1 >conftest.err
28283 cat conftest.err >&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); } && {
28286 test -z "$ac_c_werror_flag" ||
28287 test ! -s conftest.err
28288 } && test -s conftest.$ac_objext; then
28289 ac_cv_header_png_h=yes
28291 echo "$as_me: failed program was:" >&5
28292 sed 's/^/| /' conftest.$ac_ext >&5
28294 ac_cv_header_png_h=no
28297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28299 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28300 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28304 if test "$ac_cv_header_png_h" = "yes"; then
28305 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28306 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28307 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28308 echo $ECHO_N "(cached) $ECHO_C" >&6
28310 ac_check_lib_save_LIBS=$LIBS
28311 LIBS="-lpng -lz -lm $LIBS"
28312 cat >conftest.$ac_ext <<_ACEOF
28315 cat confdefs.h >>conftest.$ac_ext
28316 cat >>conftest.$ac_ext <<_ACEOF
28317 /* end confdefs.h. */
28319 /* Override any GCC internal prototype to avoid an error.
28320 Use char because int might match the return type of a GCC
28321 builtin and then its argument prototype would still apply. */
28325 char png_sig_cmp ();
28329 return png_sig_cmp ();
28334 rm -f conftest.$ac_objext conftest$ac_exeext
28335 if { (ac_try="$ac_link"
28336 case "(($ac_try" in
28337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28338 *) ac_try_echo=$ac_try;;
28340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28341 (eval "$ac_link") 2>conftest.er1
28343 grep -v '^ *+' conftest.er1 >conftest.err
28345 cat conftest.err >&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); } && {
28348 test -z "$ac_c_werror_flag" ||
28349 test ! -s conftest.err
28350 } && test -s conftest$ac_exeext &&
28351 $as_test_x conftest$ac_exeext; then
28352 ac_cv_lib_png_png_sig_cmp=yes
28354 echo "$as_me: failed program was:" >&5
28355 sed 's/^/| /' conftest.$ac_ext >&5
28357 ac_cv_lib_png_png_sig_cmp=no
28360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28361 conftest$ac_exeext conftest.$ac_ext
28362 LIBS=$ac_check_lib_save_LIBS
28364 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28365 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28366 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28367 PNG_LINK=" -lpng -lz"
28372 if test "x$PNG_LINK" = "x" ; then
28373 if test "$wxUSE_LIBPNG" = "sys" ; then
28374 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28375 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28376 { (exit 1); exit 1; }; }
28378 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28379 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28380 wxUSE_LIBPNG=builtin
28391 if test "$wxUSE_LIBJPEG" != "no" ; then
28392 cat >>confdefs.h <<\_ACEOF
28393 #define wxUSE_LIBJPEG 1
28397 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28398 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28399 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28403 if test "$wxUSE_MGL" != 1 ; then
28404 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28405 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28406 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28407 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28408 echo $ECHO_N "(cached) $ECHO_C" >&6
28410 cat >conftest.$ac_ext <<_ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28417 #undef HAVE_STDLIB_H
28419 #include <jpeglib.h>
28430 rm -f conftest.$ac_objext
28431 if { (ac_try="$ac_compile"
28432 case "(($ac_try" in
28433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28434 *) ac_try_echo=$ac_try;;
28436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28437 (eval "$ac_compile") 2>conftest.er1
28439 grep -v '^ *+' conftest.er1 >conftest.err
28441 cat conftest.err >&5
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); } && {
28444 test -z "$ac_c_werror_flag" ||
28445 test ! -s conftest.err
28446 } && test -s conftest.$ac_objext; then
28447 ac_cv_header_jpeglib_h=yes
28449 echo "$as_me: failed program was:" >&5
28450 sed 's/^/| /' conftest.$ac_ext >&5
28452 ac_cv_header_jpeglib_h=no
28456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28460 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28461 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28463 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28464 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28465 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28466 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28467 echo $ECHO_N "(cached) $ECHO_C" >&6
28469 ac_check_lib_save_LIBS=$LIBS
28470 LIBS="-ljpeg $LIBS"
28471 cat >conftest.$ac_ext <<_ACEOF
28474 cat confdefs.h >>conftest.$ac_ext
28475 cat >>conftest.$ac_ext <<_ACEOF
28476 /* end confdefs.h. */
28478 /* Override any GCC internal prototype to avoid an error.
28479 Use char because int might match the return type of a GCC
28480 builtin and then its argument prototype would still apply. */
28484 char jpeg_read_header ();
28488 return jpeg_read_header ();
28493 rm -f conftest.$ac_objext conftest$ac_exeext
28494 if { (ac_try="$ac_link"
28495 case "(($ac_try" in
28496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28497 *) ac_try_echo=$ac_try;;
28499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28500 (eval "$ac_link") 2>conftest.er1
28502 grep -v '^ *+' conftest.er1 >conftest.err
28504 cat conftest.err >&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); } && {
28507 test -z "$ac_c_werror_flag" ||
28508 test ! -s conftest.err
28509 } && test -s conftest$ac_exeext &&
28510 $as_test_x conftest$ac_exeext; then
28511 ac_cv_lib_jpeg_jpeg_read_header=yes
28513 echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.$ac_ext >&5
28516 ac_cv_lib_jpeg_jpeg_read_header=no
28519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28520 conftest$ac_exeext conftest.$ac_ext
28521 LIBS=$ac_check_lib_save_LIBS
28523 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28524 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28525 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28526 JPEG_LINK=" -ljpeg"
28531 if test "x$JPEG_LINK" = "x" ; then
28532 if test "$wxUSE_LIBJPEG" = "sys" ; then
28533 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28534 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28535 { (exit 1); exit 1; }; }
28537 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28538 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28539 wxUSE_LIBJPEG=builtin
28544 if test "$wxUSE_MSW" = 1; then
28545 { echo "$as_me:$LINENO: checking for boolean" >&5
28546 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28547 if test "${ac_cv_type_boolean+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28550 cat >conftest.$ac_ext <<_ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556 #include <windows.h>
28558 typedef boolean ac__type_new_;
28562 if ((ac__type_new_ *) 0)
28564 if (sizeof (ac__type_new_))
28570 rm -f conftest.$ac_objext
28571 if { (ac_try="$ac_compile"
28572 case "(($ac_try" in
28573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28574 *) ac_try_echo=$ac_try;;
28576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28577 (eval "$ac_compile") 2>conftest.er1
28579 grep -v '^ *+' conftest.er1 >conftest.err
28581 cat conftest.err >&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); } && {
28584 test -z "$ac_c_werror_flag" ||
28585 test ! -s conftest.err
28586 } && test -s conftest.$ac_objext; then
28587 ac_cv_type_boolean=yes
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28592 ac_cv_type_boolean=no
28595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28597 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28598 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28599 if test $ac_cv_type_boolean = yes; then
28601 cat >>confdefs.h <<_ACEOF
28602 #define HAVE_BOOLEAN 1
28606 { echo "$as_me:$LINENO: checking for boolean" >&5
28607 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28608 if test "${ac_cv_type_boolean+set}" = set; then
28609 echo $ECHO_N "(cached) $ECHO_C" >&6
28611 cat >conftest.$ac_ext <<_ACEOF
28614 cat confdefs.h >>conftest.$ac_ext
28615 cat >>conftest.$ac_ext <<_ACEOF
28616 /* end confdefs.h. */
28618 #undef HAVE_BOOLEAN
28620 #include <jpeglib.h>
28623 typedef boolean ac__type_new_;
28627 if ((ac__type_new_ *) 0)
28629 if (sizeof (ac__type_new_))
28635 rm -f conftest.$ac_objext
28636 if { (ac_try="$ac_compile"
28637 case "(($ac_try" in
28638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28639 *) ac_try_echo=$ac_try;;
28641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28642 (eval "$ac_compile") 2>conftest.er1
28644 grep -v '^ *+' conftest.er1 >conftest.err
28646 cat conftest.err >&5
28647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 (exit $ac_status); } && {
28649 test -z "$ac_c_werror_flag" ||
28650 test ! -s conftest.err
28651 } && test -s conftest.$ac_objext; then
28652 ac_cv_type_boolean=yes
28654 echo "$as_me: failed program was:" >&5
28655 sed 's/^/| /' conftest.$ac_ext >&5
28657 ac_cv_type_boolean=no
28660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28662 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28663 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28665 # The cast to long int works around a bug in the HP C Compiler
28666 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28667 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28668 # This bug is HP SR number 8606223364.
28669 { echo "$as_me:$LINENO: checking size of boolean" >&5
28670 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28671 if test "${ac_cv_sizeof_boolean+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 if test "$cross_compiling" = yes; then
28675 # Depending upon the size, compute the lo and hi bounds.
28676 cat >conftest.$ac_ext <<_ACEOF
28679 cat confdefs.h >>conftest.$ac_ext
28680 cat >>conftest.$ac_ext <<_ACEOF
28681 /* end confdefs.h. */
28683 #undef HAVE_BOOLEAN
28685 #include <jpeglib.h>
28688 typedef boolean ac__type_sizeof_;
28692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28699 rm -f conftest.$ac_objext
28700 if { (ac_try="$ac_compile"
28701 case "(($ac_try" in
28702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28703 *) ac_try_echo=$ac_try;;
28705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28706 (eval "$ac_compile") 2>conftest.er1
28708 grep -v '^ *+' conftest.er1 >conftest.err
28710 cat conftest.err >&5
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); } && {
28713 test -z "$ac_c_werror_flag" ||
28714 test ! -s conftest.err
28715 } && test -s conftest.$ac_objext; then
28718 cat >conftest.$ac_ext <<_ACEOF
28721 cat confdefs.h >>conftest.$ac_ext
28722 cat >>conftest.$ac_ext <<_ACEOF
28723 /* end confdefs.h. */
28725 #undef HAVE_BOOLEAN
28727 #include <jpeglib.h>
28730 typedef boolean ac__type_sizeof_;
28734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28741 rm -f conftest.$ac_objext
28742 if { (ac_try="$ac_compile"
28743 case "(($ac_try" in
28744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28745 *) ac_try_echo=$ac_try;;
28747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28748 (eval "$ac_compile") 2>conftest.er1
28750 grep -v '^ *+' conftest.er1 >conftest.err
28752 cat conftest.err >&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); } && {
28755 test -z "$ac_c_werror_flag" ||
28756 test ! -s conftest.err
28757 } && test -s conftest.$ac_objext; then
28758 ac_hi=$ac_mid; break
28760 echo "$as_me: failed program was:" >&5
28761 sed 's/^/| /' conftest.$ac_ext >&5
28763 ac_lo=`expr $ac_mid + 1`
28764 if test $ac_lo -le $ac_mid; then
28768 ac_mid=`expr 2 '*' $ac_mid + 1`
28771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28774 echo "$as_me: failed program was:" >&5
28775 sed 's/^/| /' conftest.$ac_ext >&5
28777 cat >conftest.$ac_ext <<_ACEOF
28780 cat confdefs.h >>conftest.$ac_ext
28781 cat >>conftest.$ac_ext <<_ACEOF
28782 /* end confdefs.h. */
28784 #undef HAVE_BOOLEAN
28786 #include <jpeglib.h>
28789 typedef boolean ac__type_sizeof_;
28793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28800 rm -f conftest.$ac_objext
28801 if { (ac_try="$ac_compile"
28802 case "(($ac_try" in
28803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28804 *) ac_try_echo=$ac_try;;
28806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28807 (eval "$ac_compile") 2>conftest.er1
28809 grep -v '^ *+' conftest.er1 >conftest.err
28811 cat conftest.err >&5
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); } && {
28814 test -z "$ac_c_werror_flag" ||
28815 test ! -s conftest.err
28816 } && test -s conftest.$ac_objext; then
28819 cat >conftest.$ac_ext <<_ACEOF
28822 cat confdefs.h >>conftest.$ac_ext
28823 cat >>conftest.$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28826 #undef HAVE_BOOLEAN
28828 #include <jpeglib.h>
28831 typedef boolean ac__type_sizeof_;
28835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28842 rm -f conftest.$ac_objext
28843 if { (ac_try="$ac_compile"
28844 case "(($ac_try" in
28845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28846 *) ac_try_echo=$ac_try;;
28848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28849 (eval "$ac_compile") 2>conftest.er1
28851 grep -v '^ *+' conftest.er1 >conftest.err
28853 cat conftest.err >&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); } && {
28856 test -z "$ac_c_werror_flag" ||
28857 test ! -s conftest.err
28858 } && test -s conftest.$ac_objext; then
28859 ac_lo=$ac_mid; break
28861 echo "$as_me: failed program was:" >&5
28862 sed 's/^/| /' conftest.$ac_ext >&5
28864 ac_hi=`expr '(' $ac_mid ')' - 1`
28865 if test $ac_mid -le $ac_hi; then
28869 ac_mid=`expr 2 '*' $ac_mid`
28872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28885 # Binary search between lo and hi bounds.
28886 while test "x$ac_lo" != "x$ac_hi"; do
28887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28888 cat >conftest.$ac_ext <<_ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28895 #undef HAVE_BOOLEAN
28897 #include <jpeglib.h>
28900 typedef boolean ac__type_sizeof_;
28904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28911 rm -f conftest.$ac_objext
28912 if { (ac_try="$ac_compile"
28913 case "(($ac_try" in
28914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28915 *) ac_try_echo=$ac_try;;
28917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28918 (eval "$ac_compile") 2>conftest.er1
28920 grep -v '^ *+' conftest.er1 >conftest.err
28922 cat conftest.err >&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); } && {
28925 test -z "$ac_c_werror_flag" ||
28926 test ! -s conftest.err
28927 } && test -s conftest.$ac_objext; then
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28933 ac_lo=`expr '(' $ac_mid ')' + 1`
28936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28939 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28940 '') if test "$ac_cv_type_boolean" = yes; then
28941 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28942 See \`config.log' for more details." >&5
28943 echo "$as_me: error: cannot compute sizeof (boolean)
28944 See \`config.log' for more details." >&2;}
28945 { (exit 77); exit 77; }; }
28947 ac_cv_sizeof_boolean=0
28951 cat >conftest.$ac_ext <<_ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28958 #undef HAVE_BOOLEAN
28960 #include <jpeglib.h>
28963 typedef boolean ac__type_sizeof_;
28964 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28965 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28967 #include <stdlib.h>
28972 FILE *f = fopen ("conftest.val", "w");
28975 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28977 long int i = longval ();
28978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28980 fprintf (f, "%ld\n", i);
28984 unsigned long int i = ulongval ();
28985 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28987 fprintf (f, "%lu\n", i);
28989 return ferror (f) || fclose (f) != 0;
28995 rm -f conftest$ac_exeext
28996 if { (ac_try="$ac_link"
28997 case "(($ac_try" in
28998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28999 *) ac_try_echo=$ac_try;;
29001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29002 (eval "$ac_link") 2>&5
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29006 { (case "(($ac_try" in
29007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29008 *) ac_try_echo=$ac_try;;
29010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29011 (eval "$ac_try") 2>&5
29013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014 (exit $ac_status); }; }; then
29015 ac_cv_sizeof_boolean=`cat conftest.val`
29017 echo "$as_me: program exited with status $ac_status" >&5
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29021 ( exit $ac_status )
29022 if test "$ac_cv_type_boolean" = yes; then
29023 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29024 See \`config.log' for more details." >&5
29025 echo "$as_me: error: cannot compute sizeof (boolean)
29026 See \`config.log' for more details." >&2;}
29027 { (exit 77); exit 77; }; }
29029 ac_cv_sizeof_boolean=0
29032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29036 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29037 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29041 cat >>confdefs.h <<_ACEOF
29042 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29046 cat >>confdefs.h <<_ACEOF
29047 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29061 TIFF_PREREQ_LINKS=-lm
29062 if test "$wxUSE_LIBTIFF" != "no" ; then
29063 cat >>confdefs.h <<\_ACEOF
29064 #define wxUSE_LIBTIFF 1
29068 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29069 if test "$wxUSE_LIBJPEG" = "sys"; then
29070 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29072 if test "$wxUSE_ZLIB" = "sys"; then
29073 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29075 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29076 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29077 if test "${ac_cv_header_tiffio_h+set}" = set; then
29078 echo $ECHO_N "(cached) $ECHO_C" >&6
29080 cat >conftest.$ac_ext <<_ACEOF
29083 cat confdefs.h >>conftest.$ac_ext
29084 cat >>conftest.$ac_ext <<_ACEOF
29085 /* end confdefs.h. */
29089 #include <tiffio.h>
29091 rm -f conftest.$ac_objext
29092 if { (ac_try="$ac_compile"
29093 case "(($ac_try" in
29094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29095 *) ac_try_echo=$ac_try;;
29097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29098 (eval "$ac_compile") 2>conftest.er1
29100 grep -v '^ *+' conftest.er1 >conftest.err
29102 cat conftest.err >&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); } && {
29105 test -z "$ac_c_werror_flag" ||
29106 test ! -s conftest.err
29107 } && test -s conftest.$ac_objext; then
29108 ac_cv_header_tiffio_h=yes
29110 echo "$as_me: failed program was:" >&5
29111 sed 's/^/| /' conftest.$ac_ext >&5
29113 ac_cv_header_tiffio_h=no
29116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29118 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29119 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29120 if test $ac_cv_header_tiffio_h = yes; then
29122 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29123 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29124 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29125 echo $ECHO_N "(cached) $ECHO_C" >&6
29127 ac_check_lib_save_LIBS=$LIBS
29128 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29129 cat >conftest.$ac_ext <<_ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29136 /* Override any GCC internal prototype to avoid an error.
29137 Use char because int might match the return type of a GCC
29138 builtin and then its argument prototype would still apply. */
29146 return TIFFError ();
29151 rm -f conftest.$ac_objext conftest$ac_exeext
29152 if { (ac_try="$ac_link"
29153 case "(($ac_try" in
29154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29155 *) ac_try_echo=$ac_try;;
29157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29158 (eval "$ac_link") 2>conftest.er1
29160 grep -v '^ *+' conftest.er1 >conftest.err
29162 cat conftest.err >&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); } && {
29165 test -z "$ac_c_werror_flag" ||
29166 test ! -s conftest.err
29167 } && test -s conftest$ac_exeext &&
29168 $as_test_x conftest$ac_exeext; then
29169 ac_cv_lib_tiff_TIFFError=yes
29171 echo "$as_me: failed program was:" >&5
29172 sed 's/^/| /' conftest.$ac_ext >&5
29174 ac_cv_lib_tiff_TIFFError=no
29177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29178 conftest$ac_exeext conftest.$ac_ext
29179 LIBS=$ac_check_lib_save_LIBS
29181 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29182 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29183 if test $ac_cv_lib_tiff_TIFFError = yes; then
29184 TIFF_LINK=" -ltiff"
29192 if test "x$TIFF_LINK" = "x" ; then
29193 if test "$wxUSE_LIBTIFF" = "sys" ; then
29194 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29195 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29196 { (exit 1); exit 1; }; }
29198 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29199 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29200 wxUSE_LIBTIFF=builtin
29206 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29207 if test "$wxUSE_LIBJPEG" = "no"; then
29208 ac_configure_args="$ac_configure_args --disable-jpeg"
29210 subdirs="$subdirs src/tiff"
29216 if test "$wxUSE_EXPAT" != "no"; then
29218 cat >>confdefs.h <<\_ACEOF
29219 #define wxUSE_EXPAT 1
29222 cat >>confdefs.h <<\_ACEOF
29223 #define wxUSE_XML 1
29227 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29228 { echo "$as_me:$LINENO: checking for expat.h" >&5
29229 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29230 if test "${ac_cv_header_expat_h+set}" = set; then
29231 echo $ECHO_N "(cached) $ECHO_C" >&6
29233 cat >conftest.$ac_ext <<_ACEOF
29236 cat confdefs.h >>conftest.$ac_ext
29237 cat >>conftest.$ac_ext <<_ACEOF
29238 /* end confdefs.h. */
29243 rm -f conftest.$ac_objext
29244 if { (ac_try="$ac_compile"
29245 case "(($ac_try" in
29246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29247 *) ac_try_echo=$ac_try;;
29249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29250 (eval "$ac_compile") 2>conftest.er1
29252 grep -v '^ *+' conftest.er1 >conftest.err
29254 cat conftest.err >&5
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); } && {
29257 test -z "$ac_c_werror_flag" ||
29258 test ! -s conftest.err
29259 } && test -s conftest.$ac_objext; then
29260 ac_cv_header_expat_h=yes
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29265 ac_cv_header_expat_h=no
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29270 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29271 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29272 if test $ac_cv_header_expat_h = yes; then
29277 if test "x$found_expat_h" = "x1"; then
29278 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29279 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29280 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29281 echo $ECHO_N "(cached) $ECHO_C" >&6
29285 ac_cpp='$CXXCPP $CPPFLAGS'
29286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29290 cat >conftest.$ac_ext <<_ACEOF
29293 cat confdefs.h >>conftest.$ac_ext
29294 cat >>conftest.$ac_ext <<_ACEOF
29295 /* end confdefs.h. */
29305 rm -f conftest.$ac_objext
29306 if { (ac_try="$ac_compile"
29307 case "(($ac_try" in
29308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29309 *) ac_try_echo=$ac_try;;
29311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29312 (eval "$ac_compile") 2>conftest.er1
29314 grep -v '^ *+' conftest.er1 >conftest.err
29316 cat conftest.err >&5
29317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29318 (exit $ac_status); } && {
29319 test -z "$ac_cxx_werror_flag" ||
29320 test ! -s conftest.err
29321 } && test -s conftest.$ac_objext; then
29322 wx_cv_expat_is_not_broken=yes
29324 echo "$as_me: failed program was:" >&5
29325 sed 's/^/| /' conftest.$ac_ext >&5
29327 wx_cv_expat_is_not_broken=no
29331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29341 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29342 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29343 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29344 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29345 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29346 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29347 echo $ECHO_N "(cached) $ECHO_C" >&6
29349 ac_check_lib_save_LIBS=$LIBS
29350 LIBS="-lexpat $LIBS"
29351 cat >conftest.$ac_ext <<_ACEOF
29354 cat confdefs.h >>conftest.$ac_ext
29355 cat >>conftest.$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29358 /* Override any GCC internal prototype to avoid an error.
29359 Use char because int might match the return type of a GCC
29360 builtin and then its argument prototype would still apply. */
29364 char XML_ParserCreate ();
29368 return XML_ParserCreate ();
29373 rm -f conftest.$ac_objext conftest$ac_exeext
29374 if { (ac_try="$ac_link"
29375 case "(($ac_try" in
29376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29377 *) ac_try_echo=$ac_try;;
29379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29380 (eval "$ac_link") 2>conftest.er1
29382 grep -v '^ *+' conftest.er1 >conftest.err
29384 cat conftest.err >&5
29385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29386 (exit $ac_status); } && {
29387 test -z "$ac_c_werror_flag" ||
29388 test ! -s conftest.err
29389 } && test -s conftest$ac_exeext &&
29390 $as_test_x conftest$ac_exeext; then
29391 ac_cv_lib_expat_XML_ParserCreate=yes
29393 echo "$as_me: failed program was:" >&5
29394 sed 's/^/| /' conftest.$ac_ext >&5
29396 ac_cv_lib_expat_XML_ParserCreate=no
29399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29400 conftest$ac_exeext conftest.$ac_ext
29401 LIBS=$ac_check_lib_save_LIBS
29403 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29404 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29405 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29406 EXPAT_LINK=" -lexpat"
29411 if test "x$EXPAT_LINK" = "x" ; then
29412 if test "$wxUSE_EXPAT" = "sys" ; then
29413 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29414 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29415 { (exit 1); exit 1; }; }
29417 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29418 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29419 wxUSE_EXPAT=builtin
29425 if test "$wxUSE_EXPAT" = "builtin" ; then
29426 subdirs="$subdirs src/expat"
29433 if test "$wxUSE_LIBMSPACK" != "no"; then
29434 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29435 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29436 if test "${ac_cv_header_mspack_h+set}" = set; then
29437 echo $ECHO_N "(cached) $ECHO_C" >&6
29439 cat >conftest.$ac_ext <<_ACEOF
29442 cat confdefs.h >>conftest.$ac_ext
29443 cat >>conftest.$ac_ext <<_ACEOF
29444 /* end confdefs.h. */
29447 #include <mspack.h>
29449 rm -f conftest.$ac_objext
29450 if { (ac_try="$ac_compile"
29451 case "(($ac_try" in
29452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29453 *) ac_try_echo=$ac_try;;
29455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29456 (eval "$ac_compile") 2>conftest.er1
29458 grep -v '^ *+' conftest.er1 >conftest.err
29460 cat conftest.err >&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); } && {
29463 test -z "$ac_c_werror_flag" ||
29464 test ! -s conftest.err
29465 } && test -s conftest.$ac_objext; then
29466 ac_cv_header_mspack_h=yes
29468 echo "$as_me: failed program was:" >&5
29469 sed 's/^/| /' conftest.$ac_ext >&5
29471 ac_cv_header_mspack_h=no
29474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29476 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29477 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29478 if test $ac_cv_header_mspack_h = yes; then
29483 if test "x$found_mspack_h" = "x1"; then
29484 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29485 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29486 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 ac_check_lib_save_LIBS=$LIBS
29490 LIBS="-lmspack $LIBS"
29491 cat >conftest.$ac_ext <<_ACEOF
29494 cat confdefs.h >>conftest.$ac_ext
29495 cat >>conftest.$ac_ext <<_ACEOF
29496 /* end confdefs.h. */
29498 /* Override any GCC internal prototype to avoid an error.
29499 Use char because int might match the return type of a GCC
29500 builtin and then its argument prototype would still apply. */
29504 char mspack_create_chm_decompressor ();
29508 return mspack_create_chm_decompressor ();
29513 rm -f conftest.$ac_objext conftest$ac_exeext
29514 if { (ac_try="$ac_link"
29515 case "(($ac_try" in
29516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29517 *) ac_try_echo=$ac_try;;
29519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29520 (eval "$ac_link") 2>conftest.er1
29522 grep -v '^ *+' conftest.er1 >conftest.err
29524 cat conftest.err >&5
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); } && {
29527 test -z "$ac_c_werror_flag" ||
29528 test ! -s conftest.err
29529 } && test -s conftest$ac_exeext &&
29530 $as_test_x conftest$ac_exeext; then
29531 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29536 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29540 conftest$ac_exeext conftest.$ac_ext
29541 LIBS=$ac_check_lib_save_LIBS
29543 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29544 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29545 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29546 MSPACK_LINK=" -lmspack"
29550 if test "x$MSPACK_LINK" = "x" ; then
29555 if test "$wxUSE_LIBMSPACK" != "no"; then
29556 cat >>confdefs.h <<\_ACEOF
29557 #define wxUSE_LIBMSPACK 1
29571 if test "$USE_WIN32" = 1 ; then
29573 for ac_header in w32api.h
29575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29576 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29578 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29579 echo $ECHO_N "(cached) $ECHO_C" >&6
29581 cat >conftest.$ac_ext <<_ACEOF
29584 cat confdefs.h >>conftest.$ac_ext
29585 cat >>conftest.$ac_ext <<_ACEOF
29586 /* end confdefs.h. */
29589 #include <$ac_header>
29591 rm -f conftest.$ac_objext
29592 if { (ac_try="$ac_compile"
29593 case "(($ac_try" in
29594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29595 *) ac_try_echo=$ac_try;;
29597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29598 (eval "$ac_compile") 2>conftest.er1
29600 grep -v '^ *+' conftest.er1 >conftest.err
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } && {
29605 test -z "$ac_c_werror_flag" ||
29606 test ! -s conftest.err
29607 } && test -s conftest.$ac_objext; then
29608 eval "$as_ac_Header=yes"
29610 echo "$as_me: failed program was:" >&5
29611 sed 's/^/| /' conftest.$ac_ext >&5
29613 eval "$as_ac_Header=no"
29616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29618 ac_res=`eval echo '${'$as_ac_Header'}'`
29619 { echo "$as_me:$LINENO: result: $ac_res" >&5
29620 echo "${ECHO_T}$ac_res" >&6; }
29621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29622 cat >>confdefs.h <<_ACEOF
29623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29630 { echo "$as_me:$LINENO: checking for windows.h" >&5
29631 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29632 if test "${ac_cv_header_windows_h+set}" = set; then
29633 echo $ECHO_N "(cached) $ECHO_C" >&6
29635 cat >conftest.$ac_ext <<_ACEOF
29638 cat confdefs.h >>conftest.$ac_ext
29639 cat >>conftest.$ac_ext <<_ACEOF
29640 /* end confdefs.h. */
29643 #include <windows.h>
29645 rm -f conftest.$ac_objext
29646 if { (ac_try="$ac_compile"
29647 case "(($ac_try" in
29648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29649 *) ac_try_echo=$ac_try;;
29651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29652 (eval "$ac_compile") 2>conftest.er1
29654 grep -v '^ *+' conftest.er1 >conftest.err
29656 cat conftest.err >&5
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); } && {
29659 test -z "$ac_c_werror_flag" ||
29660 test ! -s conftest.err
29661 } && test -s conftest.$ac_objext; then
29662 ac_cv_header_windows_h=yes
29664 echo "$as_me: failed program was:" >&5
29665 sed 's/^/| /' conftest.$ac_ext >&5
29667 ac_cv_header_windows_h=no
29670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29672 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29673 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29674 if test $ac_cv_header_windows_h = yes; then
29678 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29679 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29680 { (exit 1); exit 1; }; }
29686 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29688 x86_64-*-mingw32* )
29689 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29692 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29693 LIBS="$LIBS -loleacc"
29698 LIBS="$LIBS -lkernel32 -luser32"
29701 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29702 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29704 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29706 WIN32INSTALL=win32install
29708 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29709 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29710 if test "${ac_cv_header_pbt_h+set}" = set; then
29711 echo $ECHO_N "(cached) $ECHO_C" >&6
29713 cat >conftest.$ac_ext <<_ACEOF
29716 cat confdefs.h >>conftest.$ac_ext
29717 cat >>conftest.$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29723 rm -f conftest.$ac_objext
29724 if { (ac_try="$ac_compile"
29725 case "(($ac_try" in
29726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29727 *) ac_try_echo=$ac_try;;
29729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29730 (eval "$ac_compile") 2>conftest.er1
29732 grep -v '^ *+' conftest.er1 >conftest.err
29734 cat conftest.err >&5
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); } && {
29737 test -z "$ac_c_werror_flag" ||
29738 test ! -s conftest.err
29739 } && test -s conftest.$ac_objext; then
29740 ac_cv_header_pbt_h=yes
29742 echo "$as_me: failed program was:" >&5
29743 sed 's/^/| /' conftest.$ac_ext >&5
29745 ac_cv_header_pbt_h=no
29748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29750 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29751 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29752 if test $ac_cv_header_pbt_h = yes; then
29755 cat >>confdefs.h <<\_ACEOF
29756 #define NEED_PBT_H 1
29764 if test "$wxUSE_GUI" = "yes"; then
29774 if test "$wxUSE_OLD_COCOA" = 1 ; then
29775 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29776 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29777 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29778 wxUSE_PRINTING_ARCHITECTURE=no
29780 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29781 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29782 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29783 wxUSE_DRAG_AND_DROP=no
29785 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29786 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29787 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29792 if test "$wxUSE_MSW" = 1 ; then
29798 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29802 if test "$wxUSE_GTK" = 1; then
29803 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29804 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29806 gtk_version_cached=1
29807 if test "${wx_cv_lib_gtk+set}" = set; then
29808 echo $ECHO_N "(cached) $ECHO_C" >&6
29811 gtk_version_cached=0
29812 { echo "$as_me:$LINENO: result: " >&5
29813 echo "${ECHO_T}" >&6; }
29816 if test "$wxUSE_THREADS" = "yes"; then
29817 GTK_MODULES=gthread
29821 if test "x$wxGTK_VERSION" != "x1"
29825 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29830 # Check whether --enable-gtktest was given.
29831 if test "${enable_gtktest+set}" = set; then
29832 enableval=$enable_gtktest;
29838 pkg_config_args=gtk+-2.0
29839 for module in . $GTK_MODULES
29843 pkg_config_args="$pkg_config_args gthread-2.0"
29850 # Extract the first word of "pkg-config", so it can be a program name with args.
29851 set dummy pkg-config; ac_word=$2
29852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29854 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29855 echo $ECHO_N "(cached) $ECHO_C" >&6
29857 case $PKG_CONFIG in
29859 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29863 for as_dir in $PATH
29866 test -z "$as_dir" && as_dir=.
29867 for ac_exec_ext in '' $ac_executable_extensions; do
29868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29869 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29877 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29881 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29882 if test -n "$PKG_CONFIG"; then
29883 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29884 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29886 { echo "$as_me:$LINENO: result: no" >&5
29887 echo "${ECHO_T}no" >&6; }
29892 if test x$PKG_CONFIG != xno ; then
29893 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29896 echo "*** pkg-config too old; version 0.7 or better required."
29904 min_gtk_version=2.4.0
29905 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29906 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29908 if test x$PKG_CONFIG != xno ; then
29909 ## don't try to run the test against uninstalled libtool libs
29910 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29911 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29915 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29922 if test x"$no_gtk" = x ; then
29923 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29924 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29925 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29927 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29929 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29931 if test "x$enable_gtktest" = "xyes" ; then
29932 ac_save_CFLAGS="$CFLAGS"
29933 ac_save_LIBS="$LIBS"
29934 CFLAGS="$CFLAGS $GTK_CFLAGS"
29935 LIBS="$GTK_LIBS $LIBS"
29937 if test "$cross_compiling" = yes; then
29938 echo $ac_n "cross compiling; assumed OK... $ac_c"
29940 cat >conftest.$ac_ext <<_ACEOF
29943 cat confdefs.h >>conftest.$ac_ext
29944 cat >>conftest.$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29947 #include <gtk/gtk.h>
29949 #include <stdlib.h>
29954 int major, minor, micro;
29957 system ("touch conf.gtktest");
29959 /* HP/UX 9 (%@#!) writes to sscanf strings */
29960 tmp_version = g_strdup("$min_gtk_version");
29961 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29962 printf("%s, bad version string\n", "$min_gtk_version");
29966 if ((gtk_major_version != $gtk_config_major_version) ||
29967 (gtk_minor_version != $gtk_config_minor_version) ||
29968 (gtk_micro_version != $gtk_config_micro_version))
29970 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29971 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29972 gtk_major_version, gtk_minor_version, gtk_micro_version);
29973 printf ("*** was found! If pkg-config was correct, then it is best\n");
29974 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29975 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29976 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29977 printf("*** required on your system.\n");
29978 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29979 printf("*** to point to the correct configuration files\n");
29981 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29982 (gtk_minor_version != GTK_MINOR_VERSION) ||
29983 (gtk_micro_version != GTK_MICRO_VERSION))
29985 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29986 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29987 printf("*** library (version %d.%d.%d)\n",
29988 gtk_major_version, gtk_minor_version, gtk_micro_version);
29992 if ((gtk_major_version > major) ||
29993 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29994 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30000 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30001 gtk_major_version, gtk_minor_version, gtk_micro_version);
30002 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30003 major, minor, micro);
30004 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30006 printf("*** If you have already installed a sufficiently new version, this error\n");
30007 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30008 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30009 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30010 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30011 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30012 printf("*** so that the correct libraries are found at run-time))\n");
30019 rm -f conftest$ac_exeext
30020 if { (ac_try="$ac_link"
30021 case "(($ac_try" in
30022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30023 *) ac_try_echo=$ac_try;;
30025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30026 (eval "$ac_link") 2>&5
30028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30030 { (case "(($ac_try" in
30031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30032 *) ac_try_echo=$ac_try;;
30034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30035 (eval "$ac_try") 2>&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); }; }; then
30041 echo "$as_me: program exited with status $ac_status" >&5
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.$ac_ext >&5
30045 ( exit $ac_status )
30048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30052 CFLAGS="$ac_save_CFLAGS"
30053 LIBS="$ac_save_LIBS"
30056 if test "x$no_gtk" = x ; then
30057 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30058 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30061 { echo "$as_me:$LINENO: result: no" >&5
30062 echo "${ECHO_T}no" >&6; }
30063 if test "$PKG_CONFIG" = "no" ; then
30064 echo "*** A new enough version of pkg-config was not found."
30065 echo "*** See http://pkgconfig.sourceforge.net"
30067 if test -f conf.gtktest ; then
30070 echo "*** Could not run GTK+ test program, checking why..."
30071 ac_save_CFLAGS="$CFLAGS"
30072 ac_save_LIBS="$LIBS"
30073 CFLAGS="$CFLAGS $GTK_CFLAGS"
30074 LIBS="$LIBS $GTK_LIBS"
30075 cat >conftest.$ac_ext <<_ACEOF
30078 cat confdefs.h >>conftest.$ac_ext
30079 cat >>conftest.$ac_ext <<_ACEOF
30080 /* end confdefs.h. */
30082 #include <gtk/gtk.h>
30088 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30093 rm -f conftest.$ac_objext conftest$ac_exeext
30094 if { (ac_try="$ac_link"
30095 case "(($ac_try" in
30096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30097 *) ac_try_echo=$ac_try;;
30099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30100 (eval "$ac_link") 2>conftest.er1
30102 grep -v '^ *+' conftest.er1 >conftest.err
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } && {
30107 test -z "$ac_c_werror_flag" ||
30108 test ! -s conftest.err
30109 } && test -s conftest$ac_exeext &&
30110 $as_test_x conftest$ac_exeext; then
30111 echo "*** The test program compiled, but did not run. This usually means"
30112 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30113 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30114 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30115 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30116 echo "*** is required on your system"
30118 echo "*** If you have an old version installed, it is best to remove it, although"
30119 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30124 echo "*** The test program failed to compile or link. See the file config.log for the"
30125 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30129 conftest$ac_exeext conftest.$ac_ext
30130 CFLAGS="$ac_save_CFLAGS"
30131 LIBS="$ac_save_LIBS"
30143 GTK_LIBS="$GTK_LIBS -lX11"
30146 if test -z "$wx_cv_lib_gtk"; then
30147 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30149 # Check whether --with-gtk-prefix was given.
30150 if test "${with_gtk_prefix+set}" = set; then
30151 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30153 gtk_config_prefix=""
30157 # Check whether --with-gtk-exec-prefix was given.
30158 if test "${with_gtk_exec_prefix+set}" = set; then
30159 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30161 gtk_config_exec_prefix=""
30164 # Check whether --enable-gtktest was given.
30165 if test "${enable_gtktest+set}" = set; then
30166 enableval=$enable_gtktest;
30172 for module in . $GTK_MODULES
30176 gtk_config_args="$gtk_config_args gthread"
30181 if test x$gtk_config_exec_prefix != x ; then
30182 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30183 if test x${GTK_CONFIG+set} != xset ; then
30184 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30187 if test x$gtk_config_prefix != x ; then
30188 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30189 if test x${GTK_CONFIG+set} != xset ; then
30190 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30194 # Extract the first word of "gtk-config", so it can be a program name with args.
30195 set dummy gtk-config; ac_word=$2
30196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30198 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30199 echo $ECHO_N "(cached) $ECHO_C" >&6
30201 case $GTK_CONFIG in
30203 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30207 for as_dir in $PATH
30210 test -z "$as_dir" && as_dir=.
30211 for ac_exec_ext in '' $ac_executable_extensions; do
30212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30213 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30221 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30225 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30226 if test -n "$GTK_CONFIG"; then
30227 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30228 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30230 { echo "$as_me:$LINENO: result: no" >&5
30231 echo "${ECHO_T}no" >&6; }
30235 min_gtk_version=1.2.7
30236 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30237 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30239 if test "$GTK_CONFIG" = "no" ; then
30242 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30243 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30244 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30246 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30248 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30250 if test "x$enable_gtktest" = "xyes" ; then
30251 ac_save_CFLAGS="$CFLAGS"
30252 ac_save_LIBS="$LIBS"
30253 CFLAGS="$CFLAGS $GTK_CFLAGS"
30254 LIBS="$GTK_LIBS $LIBS"
30256 if test "$cross_compiling" = yes; then
30257 echo $ac_n "cross compiling; assumed OK... $ac_c"
30259 cat >conftest.$ac_ext <<_ACEOF
30262 cat confdefs.h >>conftest.$ac_ext
30263 cat >>conftest.$ac_ext <<_ACEOF
30264 /* end confdefs.h. */
30266 #include <gtk/gtk.h>
30268 #include <stdlib.h>
30273 int major, minor, micro;
30276 system ("touch conf.gtktest");
30278 /* HP/UX 9 (%@#!) writes to sscanf strings */
30279 tmp_version = g_strdup("$min_gtk_version");
30280 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30281 printf("%s, bad version string\n", "$min_gtk_version");
30285 if ((gtk_major_version != $gtk_config_major_version) ||
30286 (gtk_minor_version != $gtk_config_minor_version) ||
30287 (gtk_micro_version != $gtk_config_micro_version))
30289 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30290 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30291 gtk_major_version, gtk_minor_version, gtk_micro_version);
30292 printf ("*** was found! If gtk-config was correct, then it is best\n");
30293 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30294 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30295 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30296 printf("*** required on your system.\n");
30297 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30298 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30299 printf("*** before re-running configure\n");
30301 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30302 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30303 (gtk_minor_version != GTK_MINOR_VERSION) ||
30304 (gtk_micro_version != GTK_MICRO_VERSION))
30306 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30307 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30308 printf("*** library (version %d.%d.%d)\n",
30309 gtk_major_version, gtk_minor_version, gtk_micro_version);
30311 #endif /* defined (GTK_MAJOR_VERSION) ... */
30314 if ((gtk_major_version > major) ||
30315 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30316 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30322 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30323 gtk_major_version, gtk_minor_version, gtk_micro_version);
30324 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30325 major, minor, micro);
30326 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30328 printf("*** If you have already installed a sufficiently new version, this error\n");
30329 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30330 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30331 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30332 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30333 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30334 printf("*** so that the correct libraries are found at run-time))\n");
30341 rm -f conftest$ac_exeext
30342 if { (ac_try="$ac_link"
30343 case "(($ac_try" in
30344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30345 *) ac_try_echo=$ac_try;;
30347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30348 (eval "$ac_link") 2>&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30352 { (case "(($ac_try" in
30353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30354 *) ac_try_echo=$ac_try;;
30356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30357 (eval "$ac_try") 2>&5
30359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360 (exit $ac_status); }; }; then
30363 echo "$as_me: program exited with status $ac_status" >&5
30364 echo "$as_me: failed program was:" >&5
30365 sed 's/^/| /' conftest.$ac_ext >&5
30367 ( exit $ac_status )
30370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30374 CFLAGS="$ac_save_CFLAGS"
30375 LIBS="$ac_save_LIBS"
30378 if test "x$no_gtk" = x ; then
30379 { echo "$as_me:$LINENO: result: yes" >&5
30380 echo "${ECHO_T}yes" >&6; }
30381 wx_cv_lib_gtk=1.2.7
30383 { echo "$as_me:$LINENO: result: no" >&5
30384 echo "${ECHO_T}no" >&6; }
30385 if test "$GTK_CONFIG" = "no" ; then
30386 echo "*** The gtk-config script installed by GTK could not be found"
30387 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30388 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30389 echo "*** full path to gtk-config."
30391 if test -f conf.gtktest ; then
30394 echo "*** Could not run GTK test program, checking why..."
30395 CFLAGS="$CFLAGS $GTK_CFLAGS"
30396 LIBS="$LIBS $GTK_LIBS"
30397 cat >conftest.$ac_ext <<_ACEOF
30400 cat confdefs.h >>conftest.$ac_ext
30401 cat >>conftest.$ac_ext <<_ACEOF
30402 /* end confdefs.h. */
30404 #include <gtk/gtk.h>
30410 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (ac_try="$ac_link"
30417 case "(($ac_try" in
30418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30419 *) ac_try_echo=$ac_try;;
30421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30422 (eval "$ac_link") 2>conftest.er1
30424 grep -v '^ *+' conftest.er1 >conftest.err
30426 cat conftest.err >&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); } && {
30429 test -z "$ac_c_werror_flag" ||
30430 test ! -s conftest.err
30431 } && test -s conftest$ac_exeext &&
30432 $as_test_x conftest$ac_exeext; then
30433 echo "*** The test program compiled, but did not run. This usually means"
30434 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30435 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30436 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30437 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30438 echo "*** is required on your system"
30440 echo "*** If you have an old version installed, it is best to remove it, although"
30441 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30443 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30444 echo "*** came with the system with the command"
30446 echo "*** rpm --erase --nodeps gtk gtk-devel"
30448 echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.$ac_ext >&5
30451 echo "*** The test program failed to compile or link. See the file config.log for the"
30452 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30453 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30454 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30458 conftest$ac_exeext conftest.$ac_ext
30459 CFLAGS="$ac_save_CFLAGS"
30460 LIBS="$ac_save_LIBS"
30472 if test -z "$wx_cv_lib_gtk"; then
30474 # Check whether --with-gtk-prefix was given.
30475 if test "${with_gtk_prefix+set}" = set; then
30476 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30478 gtk_config_prefix=""
30482 # Check whether --with-gtk-exec-prefix was given.
30483 if test "${with_gtk_exec_prefix+set}" = set; then
30484 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30486 gtk_config_exec_prefix=""
30489 # Check whether --enable-gtktest was given.
30490 if test "${enable_gtktest+set}" = set; then
30491 enableval=$enable_gtktest;
30497 for module in . $GTK_MODULES
30501 gtk_config_args="$gtk_config_args gthread"
30506 if test x$gtk_config_exec_prefix != x ; then
30507 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30508 if test x${GTK_CONFIG+set} != xset ; then
30509 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30512 if test x$gtk_config_prefix != x ; then
30513 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30514 if test x${GTK_CONFIG+set} != xset ; then
30515 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30519 # Extract the first word of "gtk-config", so it can be a program name with args.
30520 set dummy gtk-config; ac_word=$2
30521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30523 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30524 echo $ECHO_N "(cached) $ECHO_C" >&6
30526 case $GTK_CONFIG in
30528 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30532 for as_dir in $PATH
30535 test -z "$as_dir" && as_dir=.
30536 for ac_exec_ext in '' $ac_executable_extensions; do
30537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30538 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30546 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30550 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30551 if test -n "$GTK_CONFIG"; then
30552 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30553 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30555 { echo "$as_me:$LINENO: result: no" >&5
30556 echo "${ECHO_T}no" >&6; }
30560 min_gtk_version=1.2.3
30561 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30562 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30564 if test "$GTK_CONFIG" = "no" ; then
30567 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30568 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30569 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30571 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30573 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30575 if test "x$enable_gtktest" = "xyes" ; then
30576 ac_save_CFLAGS="$CFLAGS"
30577 ac_save_LIBS="$LIBS"
30578 CFLAGS="$CFLAGS $GTK_CFLAGS"
30579 LIBS="$GTK_LIBS $LIBS"
30581 if test "$cross_compiling" = yes; then
30582 echo $ac_n "cross compiling; assumed OK... $ac_c"
30584 cat >conftest.$ac_ext <<_ACEOF
30587 cat confdefs.h >>conftest.$ac_ext
30588 cat >>conftest.$ac_ext <<_ACEOF
30589 /* end confdefs.h. */
30591 #include <gtk/gtk.h>
30593 #include <stdlib.h>
30598 int major, minor, micro;
30601 system ("touch conf.gtktest");
30603 /* HP/UX 9 (%@#!) writes to sscanf strings */
30604 tmp_version = g_strdup("$min_gtk_version");
30605 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30606 printf("%s, bad version string\n", "$min_gtk_version");
30610 if ((gtk_major_version != $gtk_config_major_version) ||
30611 (gtk_minor_version != $gtk_config_minor_version) ||
30612 (gtk_micro_version != $gtk_config_micro_version))
30614 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30615 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30616 gtk_major_version, gtk_minor_version, gtk_micro_version);
30617 printf ("*** was found! If gtk-config was correct, then it is best\n");
30618 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30619 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30620 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30621 printf("*** required on your system.\n");
30622 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30623 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30624 printf("*** before re-running configure\n");
30626 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30627 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30628 (gtk_minor_version != GTK_MINOR_VERSION) ||
30629 (gtk_micro_version != GTK_MICRO_VERSION))
30631 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30632 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30633 printf("*** library (version %d.%d.%d)\n",
30634 gtk_major_version, gtk_minor_version, gtk_micro_version);
30636 #endif /* defined (GTK_MAJOR_VERSION) ... */
30639 if ((gtk_major_version > major) ||
30640 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30641 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30647 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30648 gtk_major_version, gtk_minor_version, gtk_micro_version);
30649 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30650 major, minor, micro);
30651 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30653 printf("*** If you have already installed a sufficiently new version, this error\n");
30654 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30655 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30656 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30657 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30658 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30659 printf("*** so that the correct libraries are found at run-time))\n");
30666 rm -f conftest$ac_exeext
30667 if { (ac_try="$ac_link"
30668 case "(($ac_try" in
30669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30670 *) ac_try_echo=$ac_try;;
30672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30673 (eval "$ac_link") 2>&5
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30677 { (case "(($ac_try" in
30678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30679 *) ac_try_echo=$ac_try;;
30681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30682 (eval "$ac_try") 2>&5
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); }; }; then
30688 echo "$as_me: program exited with status $ac_status" >&5
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.$ac_ext >&5
30692 ( exit $ac_status )
30695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30699 CFLAGS="$ac_save_CFLAGS"
30700 LIBS="$ac_save_LIBS"
30703 if test "x$no_gtk" = x ; then
30704 { echo "$as_me:$LINENO: result: yes" >&5
30705 echo "${ECHO_T}yes" >&6; }
30706 wx_cv_lib_gtk=1.2.3
30708 { echo "$as_me:$LINENO: result: no" >&5
30709 echo "${ECHO_T}no" >&6; }
30710 if test "$GTK_CONFIG" = "no" ; then
30711 echo "*** The gtk-config script installed by GTK could not be found"
30712 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30713 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30714 echo "*** full path to gtk-config."
30716 if test -f conf.gtktest ; then
30719 echo "*** Could not run GTK test program, checking why..."
30720 CFLAGS="$CFLAGS $GTK_CFLAGS"
30721 LIBS="$LIBS $GTK_LIBS"
30722 cat >conftest.$ac_ext <<_ACEOF
30725 cat confdefs.h >>conftest.$ac_ext
30726 cat >>conftest.$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30729 #include <gtk/gtk.h>
30735 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30740 rm -f conftest.$ac_objext conftest$ac_exeext
30741 if { (ac_try="$ac_link"
30742 case "(($ac_try" in
30743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30744 *) ac_try_echo=$ac_try;;
30746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30747 (eval "$ac_link") 2>conftest.er1
30749 grep -v '^ *+' conftest.er1 >conftest.err
30751 cat conftest.err >&5
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); } && {
30754 test -z "$ac_c_werror_flag" ||
30755 test ! -s conftest.err
30756 } && test -s conftest$ac_exeext &&
30757 $as_test_x conftest$ac_exeext; then
30758 echo "*** The test program compiled, but did not run. This usually means"
30759 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30760 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30761 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30762 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30763 echo "*** is required on your system"
30765 echo "*** If you have an old version installed, it is best to remove it, although"
30766 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30768 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30769 echo "*** came with the system with the command"
30771 echo "*** rpm --erase --nodeps gtk gtk-devel"
30773 echo "$as_me: failed program was:" >&5
30774 sed 's/^/| /' conftest.$ac_ext >&5
30776 echo "*** The test program failed to compile or link. See the file config.log for the"
30777 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30778 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30779 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30783 conftest$ac_exeext conftest.$ac_ext
30784 CFLAGS="$ac_save_CFLAGS"
30785 LIBS="$ac_save_LIBS"
30800 if test -z "$wx_cv_lib_gtk"; then
30803 wx_cv_cflags_gtk=$GTK_CFLAGS
30804 wx_cv_libs_gtk=$GTK_LIBS
30811 if test "$gtk_version_cached" = 1; then
30812 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30813 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30816 case "$wx_cv_lib_gtk" in
30825 *) { { echo "$as_me:$LINENO: error:
30826 The development files for GTK+ were not found. For GTK+ 2, please
30827 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30828 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30829 and that the version is 1.2.3 or above. Also check that the
30830 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30831 --libs' are in the LD_LIBRARY_PATH or equivalent.
30833 echo "$as_me: error:
30834 The development files for GTK+ were not found. For GTK+ 2, please
30835 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30836 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30837 and that the version is 1.2.3 or above. Also check that the
30838 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30839 --libs' are in the LD_LIBRARY_PATH or equivalent.
30841 { (exit 1); exit 1; }; }
30845 if test "$WXGTK2" = 1; then
30846 save_CFLAGS="$CFLAGS"
30848 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30849 LIBS="$LIBS $wx_cv_libs_gtk"
30851 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30852 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30853 cat >conftest.$ac_ext <<_ACEOF
30856 cat confdefs.h >>conftest.$ac_ext
30857 cat >>conftest.$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30860 #include <gtk/gtk.h>
30866 #if !GTK_CHECK_VERSION(2,18,0)
30874 rm -f conftest.$ac_objext
30875 if { (ac_try="$ac_compile"
30876 case "(($ac_try" in
30877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30878 *) ac_try_echo=$ac_try;;
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_compile") 2>conftest.er1
30883 grep -v '^ *+' conftest.er1 >conftest.err
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } && {
30888 test -z "$ac_c_werror_flag" ||
30889 test ! -s conftest.err
30890 } && test -s conftest.$ac_objext; then
30892 cat >>confdefs.h <<\_ACEOF
30893 #define __WXGTK218__ 1
30896 cat >>confdefs.h <<\_ACEOF
30897 #define __WXGTK210__ 1
30900 cat >>confdefs.h <<\_ACEOF
30901 #define __WXGTK26__ 1
30904 { echo "$as_me:$LINENO: result: yes" >&5
30905 echo "${ECHO_T}yes" >&6; }
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30913 { echo "$as_me:$LINENO: result: no" >&5
30914 echo "${ECHO_T}no" >&6; }
30919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30921 if test "$ac_wxgtk218" = 0; then
30922 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30923 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30924 cat >conftest.$ac_ext <<_ACEOF
30927 cat confdefs.h >>conftest.$ac_ext
30928 cat >>conftest.$ac_ext <<_ACEOF
30929 /* end confdefs.h. */
30931 #include <gtk/gtk.h>
30937 #if !GTK_CHECK_VERSION(2,10,0)
30945 rm -f conftest.$ac_objext
30946 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
30963 cat >>confdefs.h <<\_ACEOF
30964 #define __WXGTK210__ 1
30967 cat >>confdefs.h <<\_ACEOF
30968 #define __WXGTK26__ 1
30971 { echo "$as_me:$LINENO: result: yes" >&5
30972 echo "${ECHO_T}yes" >&6; }
30976 echo "$as_me: failed program was:" >&5
30977 sed 's/^/| /' conftest.$ac_ext >&5
30980 { echo "$as_me:$LINENO: result: no" >&5
30981 echo "${ECHO_T}no" >&6; }
30986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30988 if test "$ac_wxgtk210" = 0; then
30989 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30990 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30991 cat >conftest.$ac_ext <<_ACEOF
30994 cat confdefs.h >>conftest.$ac_ext
30995 cat >>conftest.$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
30998 #include <gtk/gtk.h>
31004 #if !GTK_CHECK_VERSION(2,6,0)
31012 rm -f conftest.$ac_objext
31013 if { (ac_try="$ac_compile"
31014 case "(($ac_try" in
31015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31016 *) ac_try_echo=$ac_try;;
31018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31019 (eval "$ac_compile") 2>conftest.er1
31021 grep -v '^ *+' conftest.er1 >conftest.err
31023 cat conftest.err >&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } && {
31026 test -z "$ac_c_werror_flag" ||
31027 test ! -s conftest.err
31028 } && test -s conftest.$ac_objext; then
31030 cat >>confdefs.h <<\_ACEOF
31031 #define __WXGTK26__ 1
31034 { echo "$as_me:$LINENO: result: yes" >&5
31035 echo "${ECHO_T}yes" >&6; }
31039 echo "$as_me: failed program was:" >&5
31040 sed 's/^/| /' conftest.$ac_ext >&5
31043 { echo "$as_me:$LINENO: result: no" >&5
31044 echo "${ECHO_T}no" >&6; }
31049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31053 CFLAGS="$save_CFLAGS"
31056 if test "$wxUSE_UNICODE" = "yes"; then
31057 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31058 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31062 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31063 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31064 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 ac_check_lib_save_LIBS=$LIBS
31069 cat >conftest.$ac_ext <<_ACEOF
31072 cat confdefs.h >>conftest.$ac_ext
31073 cat >>conftest.$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31076 /* Override any GCC internal prototype to avoid an error.
31077 Use char because int might match the return type of a GCC
31078 builtin and then its argument prototype would still apply. */
31082 char gdk_im_open ();
31086 return gdk_im_open ();
31091 rm -f conftest.$ac_objext conftest$ac_exeext
31092 if { (ac_try="$ac_link"
31093 case "(($ac_try" in
31094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31095 *) ac_try_echo=$ac_try;;
31097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31098 (eval "$ac_link") 2>conftest.er1
31100 grep -v '^ *+' conftest.er1 >conftest.err
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } && {
31105 test -z "$ac_c_werror_flag" ||
31106 test ! -s conftest.err
31107 } && test -s conftest$ac_exeext &&
31108 $as_test_x conftest$ac_exeext; then
31109 ac_cv_lib_gdk_gdk_im_open=yes
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31114 ac_cv_lib_gdk_gdk_im_open=no
31117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31118 conftest$ac_exeext conftest.$ac_ext
31119 LIBS=$ac_check_lib_save_LIBS
31121 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31122 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31123 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31124 cat >>confdefs.h <<\_ACEOF
31131 if test "$USE_DARWIN" != 1; then
31133 for ac_func in poll
31135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31139 echo $ECHO_N "(cached) $ECHO_C" >&6
31141 cat >conftest.$ac_ext <<_ACEOF
31144 cat confdefs.h >>conftest.$ac_ext
31145 cat >>conftest.$ac_ext <<_ACEOF
31146 /* end confdefs.h. */
31147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31149 #define $ac_func innocuous_$ac_func
31151 /* System header to define __stub macros and hopefully few prototypes,
31152 which can conflict with char $ac_func (); below.
31153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31154 <limits.h> exists even on freestanding compilers. */
31157 # include <limits.h>
31159 # include <assert.h>
31164 /* Override any GCC internal prototype to avoid an error.
31165 Use char because int might match the return type of a GCC
31166 builtin and then its argument prototype would still apply. */
31171 /* The GNU C library defines this for functions which it implements
31172 to always fail with ENOSYS. Some functions are actually named
31173 something starting with __ and the normal name is an alias. */
31174 #if defined __stub_$ac_func || defined __stub___$ac_func
31181 return $ac_func ();
31186 rm -f conftest.$ac_objext conftest$ac_exeext
31187 if { (ac_try="$ac_link"
31188 case "(($ac_try" in
31189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31190 *) ac_try_echo=$ac_try;;
31192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31193 (eval "$ac_link") 2>conftest.er1
31195 grep -v '^ *+' conftest.er1 >conftest.err
31197 cat conftest.err >&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } && {
31200 test -z "$ac_c_werror_flag" ||
31201 test ! -s conftest.err
31202 } && test -s conftest$ac_exeext &&
31203 $as_test_x conftest$ac_exeext; then
31204 eval "$as_ac_var=yes"
31206 echo "$as_me: failed program was:" >&5
31207 sed 's/^/| /' conftest.$ac_ext >&5
31209 eval "$as_ac_var=no"
31212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31213 conftest$ac_exeext conftest.$ac_ext
31215 ac_res=`eval echo '${'$as_ac_var'}'`
31216 { echo "$as_me:$LINENO: result: $ac_res" >&5
31217 echo "${ECHO_T}$ac_res" >&6; }
31218 if test `eval echo '${'$as_ac_var'}'` = yes; then
31219 cat >>confdefs.h <<_ACEOF
31220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31229 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31230 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31232 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31234 AFMINSTALL=afminstall
31238 if test "$wxUSE_GPE" = "yes"; then
31239 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31240 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31243 for ac_dir in $SEARCH_LIB
31245 for ac_extension in a so sl dylib dll.a; do
31246 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31247 ac_find_libraries=$ac_dir
31253 if test "$ac_find_libraries" != "" ; then
31255 if test "$ac_find_libraries" = "default location"; then
31258 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31260 if test $result = 0; then
31263 ac_path_to_link=" -L$ac_find_libraries"
31267 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31269 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31270 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31272 { echo "$as_me:$LINENO: result: not found" >&5
31273 echo "${ECHO_T}not found" >&6; }
31279 if test "$wxUSE_MGL" = 1; then
31280 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31281 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31282 if test "x$MGL_ROOT" = x ; then
31283 { echo "$as_me:$LINENO: result: not found" >&5
31284 echo "${ECHO_T}not found" >&6; }
31285 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31286 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31287 { (exit 1); exit 1; }; }
31289 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31290 echo "${ECHO_T}$MGL_ROOT" >&6; }
31293 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31294 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31297 if test "x$wxUSE_SHARED" = xyes ; then
31298 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31300 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31304 mgl_os_candidates="dos32/dj2"
31307 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31308 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31309 { (exit 1); exit 1; }; }
31315 for mgl_os_i in $mgl_os_candidates ; do
31316 if test "x$mgl_os" = x ; then
31317 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31318 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31319 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31324 if test "x$mgl_lib_type" = x ; then
31325 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31326 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31327 mgl_lib_type=release
31334 if test "x$mgl_os" = x ; then
31335 { echo "$as_me:$LINENO: result: not found" >&5
31336 echo "${ECHO_T}not found" >&6; }
31337 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31338 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31339 { (exit 1); exit 1; }; }
31341 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31342 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31344 wxUSE_UNIVERSAL="yes"
31346 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31347 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31349 AFMINSTALL=afminstall
31354 if test "$wxUSE_DFB" = 1; then
31357 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31358 if test -n "$ac_tool_prefix"; then
31359 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31360 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31363 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31364 echo $ECHO_N "(cached) $ECHO_C" >&6
31366 case $PKG_CONFIG in
31368 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31372 for as_dir in $PATH
31375 test -z "$as_dir" && as_dir=.
31376 for ac_exec_ext in '' $ac_executable_extensions; do
31377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31378 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31389 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31390 if test -n "$PKG_CONFIG"; then
31391 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31392 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31394 { echo "$as_me:$LINENO: result: no" >&5
31395 echo "${ECHO_T}no" >&6; }
31400 if test -z "$ac_cv_path_PKG_CONFIG"; then
31401 ac_pt_PKG_CONFIG=$PKG_CONFIG
31402 # Extract the first word of "pkg-config", so it can be a program name with args.
31403 set dummy pkg-config; ac_word=$2
31404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31406 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31407 echo $ECHO_N "(cached) $ECHO_C" >&6
31409 case $ac_pt_PKG_CONFIG in
31411 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31415 for as_dir in $PATH
31418 test -z "$as_dir" && as_dir=.
31419 for ac_exec_ext in '' $ac_executable_extensions; do
31420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31421 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31432 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31433 if test -n "$ac_pt_PKG_CONFIG"; then
31434 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31435 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31437 { echo "$as_me:$LINENO: result: no" >&5
31438 echo "${ECHO_T}no" >&6; }
31441 if test "x$ac_pt_PKG_CONFIG" = x; then
31444 case $cross_compiling:$ac_tool_warned in
31446 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31447 whose name does not start with the host triplet. If you think this
31448 configuration is useful to you, please write to autoconf@gnu.org." >&5
31449 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31450 whose name does not start with the host triplet. If you think this
31451 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31452 ac_tool_warned=yes ;;
31454 PKG_CONFIG=$ac_pt_PKG_CONFIG
31457 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31461 if test -n "$PKG_CONFIG"; then
31462 _pkg_min_version=0.9.0
31463 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31464 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31465 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31466 { echo "$as_me:$LINENO: result: yes" >&5
31467 echo "${ECHO_T}yes" >&6; }
31469 { echo "$as_me:$LINENO: result: no" >&5
31470 echo "${ECHO_T}no" >&6; }
31478 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31479 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31481 if test -n "$PKG_CONFIG"; then
31482 if test -n "$DIRECTFB_CFLAGS"; then
31483 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31485 if test -n "$PKG_CONFIG" && \
31486 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31487 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; then
31491 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31499 if test -n "$PKG_CONFIG"; then
31500 if test -n "$DIRECTFB_LIBS"; then
31501 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31503 if test -n "$PKG_CONFIG" && \
31504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31505 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); }; then
31509 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31520 if test $pkg_failed = yes; then
31522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31523 _pkg_short_errors_supported=yes
31525 _pkg_short_errors_supported=no
31527 if test $_pkg_short_errors_supported = yes; then
31528 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31530 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31532 # Put the nasty error message in config.log where it belongs
31533 echo "$DIRECTFB_PKG_ERRORS" >&5
31536 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31537 echo "$as_me: error: DirectFB not found." >&2;}
31538 { (exit 1); exit 1; }; }
31541 elif test $pkg_failed = untried; then
31543 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31544 echo "$as_me: error: DirectFB not found." >&2;}
31545 { (exit 1); exit 1; }; }
31549 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31550 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31551 { echo "$as_me:$LINENO: result: yes" >&5
31552 echo "${ECHO_T}yes" >&6; }
31554 wxUSE_UNIVERSAL="yes"
31555 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31556 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31563 if test "$wxUSE_MICROWIN" = 1; then
31564 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31565 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31566 if test "x$MICROWINDOWS" = x ; then
31567 { echo "$as_me:$LINENO: result: not found" >&5
31568 echo "${ECHO_T}not found" >&6; }
31569 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31570 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31571 { (exit 1); exit 1; }; }
31573 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31574 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31577 if test -f $MICROWINDOWS/lib/libmwin.a; then
31578 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31579 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31581 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31582 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31583 { (exit 1); exit 1; }; }
31586 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31587 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31589 wxUSE_UNIVERSAL="yes"
31591 AFMINSTALL=afminstall
31593 GUIDIST=MICROWIN_DIST
31595 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31598 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31599 { echo "$as_me:$LINENO: checking for X" >&5
31600 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31603 # Check whether --with-x was given.
31604 if test "${with_x+set}" = set; then
31608 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31609 if test "x$with_x" = xno; then
31610 # The user explicitly disabled X.
31613 case $x_includes,$x_libraries in #(
31614 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31615 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31616 { (exit 1); exit 1; }; };; #(
31617 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31618 echo $ECHO_N "(cached) $ECHO_C" >&6
31620 # One or both of the vars are not set, and there is no cached value.
31621 ac_x_includes=no ac_x_libraries=no
31622 rm -f -r conftest.dir
31623 if mkdir conftest.dir; then
31625 cat >Imakefile <<'_ACEOF'
31627 @echo incroot='${INCROOT}'
31629 @echo usrlibdir='${USRLIBDIR}'
31631 @echo libdir='${LIBDIR}'
31633 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31634 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31635 for ac_var in incroot usrlibdir libdir; do
31636 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31638 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31639 for ac_extension in a so sl; do
31640 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31641 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31642 ac_im_usrlibdir=$ac_im_libdir; break
31645 # Screen out bogus values from the imake configuration. They are
31646 # bogus both because they are the default anyway, and because
31647 # using them would break gcc on systems where it needs fixed includes.
31648 case $ac_im_incroot in
31649 /usr/include) ac_x_includes= ;;
31650 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31652 case $ac_im_usrlibdir in
31653 /usr/lib | /lib) ;;
31654 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31658 rm -f -r conftest.dir
31661 # Standard set of common directories for X headers.
31662 # Check X11 before X11Rn because it is often a symlink to the current release.
31674 /usr/local/X11/include
31675 /usr/local/X11R6/include
31676 /usr/local/X11R5/include
31677 /usr/local/X11R4/include
31679 /usr/local/include/X11
31680 /usr/local/include/X11R6
31681 /usr/local/include/X11R5
31682 /usr/local/include/X11R4
31686 /usr/XFree86/include/X11
31690 /usr/unsupported/include
31691 /usr/athena/include
31692 /usr/local/x11r5/include
31693 /usr/lpp/Xamples/include
31695 /usr/openwin/include
31696 /usr/openwin/share/include'
31698 if test "$ac_x_includes" = no; then
31699 # Guess where to find include files, by looking for Xlib.h.
31700 # First, try using that file with no special directory specified.
31701 cat >conftest.$ac_ext <<_ACEOF
31704 cat confdefs.h >>conftest.$ac_ext
31705 cat >>conftest.$ac_ext <<_ACEOF
31706 /* end confdefs.h. */
31707 #include <X11/Xlib.h>
31709 if { (ac_try="$ac_cpp conftest.$ac_ext"
31710 case "(($ac_try" in
31711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31712 *) ac_try_echo=$ac_try;;
31714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31717 grep -v '^ *+' conftest.er1 >conftest.err
31719 cat conftest.err >&5
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); } >/dev/null && {
31722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31723 test ! -s conftest.err
31725 # We can compile using X headers with no special include directory.
31728 echo "$as_me: failed program was:" >&5
31729 sed 's/^/| /' conftest.$ac_ext >&5
31731 for ac_dir in $ac_x_header_dirs; do
31732 if test -r "$ac_dir/X11/Xlib.h"; then
31733 ac_x_includes=$ac_dir
31739 rm -f conftest.err conftest.$ac_ext
31740 fi # $ac_x_includes = no
31742 if test "$ac_x_libraries" = no; then
31743 # Check for the libraries.
31744 # See if we find them without any special options.
31745 # Don't add to $LIBS permanently.
31748 cat >conftest.$ac_ext <<_ACEOF
31751 cat confdefs.h >>conftest.$ac_ext
31752 cat >>conftest.$ac_ext <<_ACEOF
31753 /* end confdefs.h. */
31754 #include <X11/Xlib.h>
31763 rm -f conftest.$ac_objext conftest$ac_exeext
31764 if { (ac_try="$ac_link"
31765 case "(($ac_try" in
31766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31767 *) ac_try_echo=$ac_try;;
31769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31770 (eval "$ac_link") 2>conftest.er1
31772 grep -v '^ *+' conftest.er1 >conftest.err
31774 cat conftest.err >&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } && {
31777 test -z "$ac_c_werror_flag" ||
31778 test ! -s conftest.err
31779 } && test -s conftest$ac_exeext &&
31780 $as_test_x conftest$ac_exeext; then
31782 # We can link X programs with no special library path.
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.$ac_ext >&5
31789 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31791 # Don't even attempt the hair of trying to link an X program!
31792 for ac_extension in a so sl; do
31793 if test -r "$ac_dir/libX11.$ac_extension"; then
31794 ac_x_libraries=$ac_dir
31801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31802 conftest$ac_exeext conftest.$ac_ext
31803 fi # $ac_x_libraries = no
31805 case $ac_x_includes,$ac_x_libraries in #(
31806 no,* | *,no | *\'*)
31807 # Didn't find X, or a directory has "'" in its name.
31808 ac_cv_have_x="have_x=no";; #(
31810 # Record where we found X for the cache.
31811 ac_cv_have_x="have_x=yes\
31812 ac_x_includes='$ac_x_includes'\
31813 ac_x_libraries='$ac_x_libraries'"
31819 eval "$ac_cv_have_x"
31822 if test "$have_x" != yes; then
31823 { echo "$as_me:$LINENO: result: $have_x" >&5
31824 echo "${ECHO_T}$have_x" >&6; }
31827 # If each of the values was on the command line, it overrides each guess.
31828 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31829 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31830 # Update the cache value to reflect the command line values.
31831 ac_cv_have_x="have_x=yes\
31832 ac_x_includes='$x_includes'\
31833 ac_x_libraries='$x_libraries'"
31834 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31835 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31838 if test "$no_x" = yes; then
31839 # Not all programs may use this symbol, but it does not hurt to define it.
31841 cat >>confdefs.h <<\_ACEOF
31842 #define X_DISPLAY_MISSING 1
31845 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31847 if test -n "$x_includes"; then
31848 X_CFLAGS="$X_CFLAGS -I$x_includes"
31851 # It would also be nice to do this for all -L options, not just this one.
31852 if test -n "$x_libraries"; then
31853 X_LIBS="$X_LIBS -L$x_libraries"
31854 # For Solaris; some versions of Sun CC require a space after -R and
31855 # others require no space. Words are not sufficient . . . .
31856 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31857 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31858 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31859 ac_xsave_c_werror_flag=$ac_c_werror_flag
31860 ac_c_werror_flag=yes
31861 cat >conftest.$ac_ext <<_ACEOF
31864 cat confdefs.h >>conftest.$ac_ext
31865 cat >>conftest.$ac_ext <<_ACEOF
31866 /* end confdefs.h. */
31876 rm -f conftest.$ac_objext conftest$ac_exeext
31877 if { (ac_try="$ac_link"
31878 case "(($ac_try" in
31879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31880 *) ac_try_echo=$ac_try;;
31882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31883 (eval "$ac_link") 2>conftest.er1
31885 grep -v '^ *+' conftest.er1 >conftest.err
31887 cat conftest.err >&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); } && {
31890 test -z "$ac_c_werror_flag" ||
31891 test ! -s conftest.err
31892 } && test -s conftest$ac_exeext &&
31893 $as_test_x conftest$ac_exeext; then
31894 { echo "$as_me:$LINENO: result: no" >&5
31895 echo "${ECHO_T}no" >&6; }
31896 X_LIBS="$X_LIBS -R$x_libraries"
31898 echo "$as_me: failed program was:" >&5
31899 sed 's/^/| /' conftest.$ac_ext >&5
31901 LIBS="$ac_xsave_LIBS -R $x_libraries"
31902 cat >conftest.$ac_ext <<_ACEOF
31905 cat confdefs.h >>conftest.$ac_ext
31906 cat >>conftest.$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31917 rm -f conftest.$ac_objext conftest$ac_exeext
31918 if { (ac_try="$ac_link"
31919 case "(($ac_try" in
31920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31921 *) ac_try_echo=$ac_try;;
31923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31924 (eval "$ac_link") 2>conftest.er1
31926 grep -v '^ *+' conftest.er1 >conftest.err
31928 cat conftest.err >&5
31929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930 (exit $ac_status); } && {
31931 test -z "$ac_c_werror_flag" ||
31932 test ! -s conftest.err
31933 } && test -s conftest$ac_exeext &&
31934 $as_test_x conftest$ac_exeext; then
31935 { echo "$as_me:$LINENO: result: yes" >&5
31936 echo "${ECHO_T}yes" >&6; }
31937 X_LIBS="$X_LIBS -R $x_libraries"
31939 echo "$as_me: failed program was:" >&5
31940 sed 's/^/| /' conftest.$ac_ext >&5
31942 { echo "$as_me:$LINENO: result: neither works" >&5
31943 echo "${ECHO_T}neither works" >&6; }
31946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31947 conftest$ac_exeext conftest.$ac_ext
31950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31951 conftest$ac_exeext conftest.$ac_ext
31952 ac_c_werror_flag=$ac_xsave_c_werror_flag
31953 LIBS=$ac_xsave_LIBS
31956 # Check for system-dependent libraries X programs must link with.
31957 # Do this before checking for the system-independent R6 libraries
31958 # (-lICE), since we may need -lsocket or whatever for X linking.
31960 if test "$ISC" = yes; then
31961 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31963 # Martyn Johnson says this is needed for Ultrix, if the X
31964 # libraries were built with DECnet support. And Karl Berry says
31965 # the Alpha needs dnet_stub (dnet does not exist).
31966 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31967 cat >conftest.$ac_ext <<_ACEOF
31970 cat confdefs.h >>conftest.$ac_ext
31971 cat >>conftest.$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31974 /* Override any GCC internal prototype to avoid an error.
31975 Use char because int might match the return type of a GCC
31976 builtin and then its argument prototype would still apply. */
31980 char XOpenDisplay ();
31984 return XOpenDisplay ();
31989 rm -f conftest.$ac_objext conftest$ac_exeext
31990 if { (ac_try="$ac_link"
31991 case "(($ac_try" in
31992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31993 *) ac_try_echo=$ac_try;;
31995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31996 (eval "$ac_link") 2>conftest.er1
31998 grep -v '^ *+' conftest.er1 >conftest.err
32000 cat conftest.err >&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); } && {
32003 test -z "$ac_c_werror_flag" ||
32004 test ! -s conftest.err
32005 } && test -s conftest$ac_exeext &&
32006 $as_test_x conftest$ac_exeext; then
32009 echo "$as_me: failed program was:" >&5
32010 sed 's/^/| /' conftest.$ac_ext >&5
32012 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32013 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32014 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32015 echo $ECHO_N "(cached) $ECHO_C" >&6
32017 ac_check_lib_save_LIBS=$LIBS
32018 LIBS="-ldnet $LIBS"
32019 cat >conftest.$ac_ext <<_ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h. */
32026 /* Override any GCC internal prototype to avoid an error.
32027 Use char because int might match the return type of a GCC
32028 builtin and then its argument prototype would still apply. */
32036 return dnet_ntoa ();
32041 rm -f conftest.$ac_objext conftest$ac_exeext
32042 if { (ac_try="$ac_link"
32043 case "(($ac_try" in
32044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32045 *) ac_try_echo=$ac_try;;
32047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32048 (eval "$ac_link") 2>conftest.er1
32050 grep -v '^ *+' conftest.er1 >conftest.err
32052 cat conftest.err >&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); } && {
32055 test -z "$ac_c_werror_flag" ||
32056 test ! -s conftest.err
32057 } && test -s conftest$ac_exeext &&
32058 $as_test_x conftest$ac_exeext; then
32059 ac_cv_lib_dnet_dnet_ntoa=yes
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32064 ac_cv_lib_dnet_dnet_ntoa=no
32067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32068 conftest$ac_exeext conftest.$ac_ext
32069 LIBS=$ac_check_lib_save_LIBS
32071 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32072 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32073 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32074 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32077 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32078 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32079 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32080 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32083 ac_check_lib_save_LIBS=$LIBS
32084 LIBS="-ldnet_stub $LIBS"
32085 cat >conftest.$ac_ext <<_ACEOF
32088 cat confdefs.h >>conftest.$ac_ext
32089 cat >>conftest.$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32092 /* Override any GCC internal prototype to avoid an error.
32093 Use char because int might match the return type of a GCC
32094 builtin and then its argument prototype would still apply. */
32102 return dnet_ntoa ();
32107 rm -f conftest.$ac_objext conftest$ac_exeext
32108 if { (ac_try="$ac_link"
32109 case "(($ac_try" in
32110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32111 *) ac_try_echo=$ac_try;;
32113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32114 (eval "$ac_link") 2>conftest.er1
32116 grep -v '^ *+' conftest.er1 >conftest.err
32118 cat conftest.err >&5
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); } && {
32121 test -z "$ac_c_werror_flag" ||
32122 test ! -s conftest.err
32123 } && test -s conftest$ac_exeext &&
32124 $as_test_x conftest$ac_exeext; then
32125 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32127 echo "$as_me: failed program was:" >&5
32128 sed 's/^/| /' conftest.$ac_ext >&5
32130 ac_cv_lib_dnet_stub_dnet_ntoa=no
32133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32134 conftest$ac_exeext conftest.$ac_ext
32135 LIBS=$ac_check_lib_save_LIBS
32137 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32138 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32139 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32140 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32147 conftest$ac_exeext conftest.$ac_ext
32148 LIBS="$ac_xsave_LIBS"
32150 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32151 # to get the SysV transport functions.
32152 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32154 # The nsl library prevents programs from opening the X display
32155 # on Irix 5.2, according to T.E. Dickey.
32156 # The functions gethostbyname, getservbyname, and inet_addr are
32157 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32158 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32159 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32160 if test "${ac_cv_func_gethostbyname+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32163 cat >conftest.$ac_ext <<_ACEOF
32166 cat confdefs.h >>conftest.$ac_ext
32167 cat >>conftest.$ac_ext <<_ACEOF
32168 /* end confdefs.h. */
32169 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32171 #define gethostbyname innocuous_gethostbyname
32173 /* System header to define __stub macros and hopefully few prototypes,
32174 which can conflict with char gethostbyname (); below.
32175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32176 <limits.h> exists even on freestanding compilers. */
32179 # include <limits.h>
32181 # include <assert.h>
32184 #undef gethostbyname
32186 /* Override any GCC internal prototype to avoid an error.
32187 Use char because int might match the return type of a GCC
32188 builtin and then its argument prototype would still apply. */
32192 char gethostbyname ();
32193 /* The GNU C library defines this for functions which it implements
32194 to always fail with ENOSYS. Some functions are actually named
32195 something starting with __ and the normal name is an alias. */
32196 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32203 return gethostbyname ();
32208 rm -f conftest.$ac_objext conftest$ac_exeext
32209 if { (ac_try="$ac_link"
32210 case "(($ac_try" in
32211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32212 *) ac_try_echo=$ac_try;;
32214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32215 (eval "$ac_link") 2>conftest.er1
32217 grep -v '^ *+' conftest.er1 >conftest.err
32219 cat conftest.err >&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } && {
32222 test -z "$ac_c_werror_flag" ||
32223 test ! -s conftest.err
32224 } && test -s conftest$ac_exeext &&
32225 $as_test_x conftest$ac_exeext; then
32226 ac_cv_func_gethostbyname=yes
32228 echo "$as_me: failed program was:" >&5
32229 sed 's/^/| /' conftest.$ac_ext >&5
32231 ac_cv_func_gethostbyname=no
32234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32235 conftest$ac_exeext conftest.$ac_ext
32237 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32238 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32240 if test $ac_cv_func_gethostbyname = no; then
32241 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32242 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32243 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32244 echo $ECHO_N "(cached) $ECHO_C" >&6
32246 ac_check_lib_save_LIBS=$LIBS
32248 cat >conftest.$ac_ext <<_ACEOF
32251 cat confdefs.h >>conftest.$ac_ext
32252 cat >>conftest.$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32255 /* Override any GCC internal prototype to avoid an error.
32256 Use char because int might match the return type of a GCC
32257 builtin and then its argument prototype would still apply. */
32261 char gethostbyname ();
32265 return gethostbyname ();
32270 rm -f conftest.$ac_objext conftest$ac_exeext
32271 if { (ac_try="$ac_link"
32272 case "(($ac_try" in
32273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32274 *) ac_try_echo=$ac_try;;
32276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32277 (eval "$ac_link") 2>conftest.er1
32279 grep -v '^ *+' conftest.er1 >conftest.err
32281 cat conftest.err >&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); } && {
32284 test -z "$ac_c_werror_flag" ||
32285 test ! -s conftest.err
32286 } && test -s conftest$ac_exeext &&
32287 $as_test_x conftest$ac_exeext; then
32288 ac_cv_lib_nsl_gethostbyname=yes
32290 echo "$as_me: failed program was:" >&5
32291 sed 's/^/| /' conftest.$ac_ext >&5
32293 ac_cv_lib_nsl_gethostbyname=no
32296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32297 conftest$ac_exeext conftest.$ac_ext
32298 LIBS=$ac_check_lib_save_LIBS
32300 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32301 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32302 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32306 if test $ac_cv_lib_nsl_gethostbyname = no; then
32307 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32308 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32309 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32310 echo $ECHO_N "(cached) $ECHO_C" >&6
32312 ac_check_lib_save_LIBS=$LIBS
32314 cat >conftest.$ac_ext <<_ACEOF
32317 cat confdefs.h >>conftest.$ac_ext
32318 cat >>conftest.$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32321 /* Override any GCC internal prototype to avoid an error.
32322 Use char because int might match the return type of a GCC
32323 builtin and then its argument prototype would still apply. */
32327 char gethostbyname ();
32331 return gethostbyname ();
32336 rm -f conftest.$ac_objext conftest$ac_exeext
32337 if { (ac_try="$ac_link"
32338 case "(($ac_try" in
32339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32340 *) ac_try_echo=$ac_try;;
32342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32343 (eval "$ac_link") 2>conftest.er1
32345 grep -v '^ *+' conftest.er1 >conftest.err
32347 cat conftest.err >&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } && {
32350 test -z "$ac_c_werror_flag" ||
32351 test ! -s conftest.err
32352 } && test -s conftest$ac_exeext &&
32353 $as_test_x conftest$ac_exeext; then
32354 ac_cv_lib_bsd_gethostbyname=yes
32356 echo "$as_me: failed program was:" >&5
32357 sed 's/^/| /' conftest.$ac_ext >&5
32359 ac_cv_lib_bsd_gethostbyname=no
32362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32363 conftest$ac_exeext conftest.$ac_ext
32364 LIBS=$ac_check_lib_save_LIBS
32366 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32367 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32368 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32375 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32376 # socket/setsockopt and other routines are undefined under SCO ODT
32377 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32378 # on later versions), says Simon Leinen: it contains gethostby*
32379 # variants that don't use the name server (or something). -lsocket
32380 # must be given before -lnsl if both are needed. We assume that
32381 # if connect needs -lnsl, so does gethostbyname.
32382 { echo "$as_me:$LINENO: checking for connect" >&5
32383 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32384 if test "${ac_cv_func_connect+set}" = set; then
32385 echo $ECHO_N "(cached) $ECHO_C" >&6
32387 cat >conftest.$ac_ext <<_ACEOF
32390 cat confdefs.h >>conftest.$ac_ext
32391 cat >>conftest.$ac_ext <<_ACEOF
32392 /* end confdefs.h. */
32393 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32395 #define connect innocuous_connect
32397 /* System header to define __stub macros and hopefully few prototypes,
32398 which can conflict with char connect (); below.
32399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32400 <limits.h> exists even on freestanding compilers. */
32403 # include <limits.h>
32405 # include <assert.h>
32410 /* Override any GCC internal prototype to avoid an error.
32411 Use char because int might match the return type of a GCC
32412 builtin and then its argument prototype would still apply. */
32417 /* The GNU C library defines this for functions which it implements
32418 to always fail with ENOSYS. Some functions are actually named
32419 something starting with __ and the normal name is an alias. */
32420 #if defined __stub_connect || defined __stub___connect
32432 rm -f conftest.$ac_objext conftest$ac_exeext
32433 if { (ac_try="$ac_link"
32434 case "(($ac_try" in
32435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32436 *) ac_try_echo=$ac_try;;
32438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32439 (eval "$ac_link") 2>conftest.er1
32441 grep -v '^ *+' conftest.er1 >conftest.err
32443 cat conftest.err >&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } && {
32446 test -z "$ac_c_werror_flag" ||
32447 test ! -s conftest.err
32448 } && test -s conftest$ac_exeext &&
32449 $as_test_x conftest$ac_exeext; then
32450 ac_cv_func_connect=yes
32452 echo "$as_me: failed program was:" >&5
32453 sed 's/^/| /' conftest.$ac_ext >&5
32455 ac_cv_func_connect=no
32458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32459 conftest$ac_exeext conftest.$ac_ext
32461 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32462 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32464 if test $ac_cv_func_connect = no; then
32465 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32466 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32467 if test "${ac_cv_lib_socket_connect+set}" = set; then
32468 echo $ECHO_N "(cached) $ECHO_C" >&6
32470 ac_check_lib_save_LIBS=$LIBS
32471 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32472 cat >conftest.$ac_ext <<_ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32479 /* Override any GCC internal prototype to avoid an error.
32480 Use char because int might match the return type of a GCC
32481 builtin and then its argument prototype would still apply. */
32494 rm -f conftest.$ac_objext conftest$ac_exeext
32495 if { (ac_try="$ac_link"
32496 case "(($ac_try" in
32497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32498 *) ac_try_echo=$ac_try;;
32500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32501 (eval "$ac_link") 2>conftest.er1
32503 grep -v '^ *+' conftest.er1 >conftest.err
32505 cat conftest.err >&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } && {
32508 test -z "$ac_c_werror_flag" ||
32509 test ! -s conftest.err
32510 } && test -s conftest$ac_exeext &&
32511 $as_test_x conftest$ac_exeext; then
32512 ac_cv_lib_socket_connect=yes
32514 echo "$as_me: failed program was:" >&5
32515 sed 's/^/| /' conftest.$ac_ext >&5
32517 ac_cv_lib_socket_connect=no
32520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32521 conftest$ac_exeext conftest.$ac_ext
32522 LIBS=$ac_check_lib_save_LIBS
32524 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32525 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32526 if test $ac_cv_lib_socket_connect = yes; then
32527 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32532 # Guillermo Gomez says -lposix is necessary on A/UX.
32533 { echo "$as_me:$LINENO: checking for remove" >&5
32534 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32535 if test "${ac_cv_func_remove+set}" = set; then
32536 echo $ECHO_N "(cached) $ECHO_C" >&6
32538 cat >conftest.$ac_ext <<_ACEOF
32541 cat confdefs.h >>conftest.$ac_ext
32542 cat >>conftest.$ac_ext <<_ACEOF
32543 /* end confdefs.h. */
32544 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32546 #define remove innocuous_remove
32548 /* System header to define __stub macros and hopefully few prototypes,
32549 which can conflict with char remove (); below.
32550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32551 <limits.h> exists even on freestanding compilers. */
32554 # include <limits.h>
32556 # include <assert.h>
32561 /* Override any GCC internal prototype to avoid an error.
32562 Use char because int might match the return type of a GCC
32563 builtin and then its argument prototype would still apply. */
32568 /* The GNU C library defines this for functions which it implements
32569 to always fail with ENOSYS. Some functions are actually named
32570 something starting with __ and the normal name is an alias. */
32571 #if defined __stub_remove || defined __stub___remove
32583 rm -f conftest.$ac_objext conftest$ac_exeext
32584 if { (ac_try="$ac_link"
32585 case "(($ac_try" in
32586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32587 *) ac_try_echo=$ac_try;;
32589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32590 (eval "$ac_link") 2>conftest.er1
32592 grep -v '^ *+' conftest.er1 >conftest.err
32594 cat conftest.err >&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); } && {
32597 test -z "$ac_c_werror_flag" ||
32598 test ! -s conftest.err
32599 } && test -s conftest$ac_exeext &&
32600 $as_test_x conftest$ac_exeext; then
32601 ac_cv_func_remove=yes
32603 echo "$as_me: failed program was:" >&5
32604 sed 's/^/| /' conftest.$ac_ext >&5
32606 ac_cv_func_remove=no
32609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32610 conftest$ac_exeext conftest.$ac_ext
32612 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32613 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32615 if test $ac_cv_func_remove = no; then
32616 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32617 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32618 if test "${ac_cv_lib_posix_remove+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
32621 ac_check_lib_save_LIBS=$LIBS
32622 LIBS="-lposix $LIBS"
32623 cat >conftest.$ac_ext <<_ACEOF
32626 cat confdefs.h >>conftest.$ac_ext
32627 cat >>conftest.$ac_ext <<_ACEOF
32628 /* end confdefs.h. */
32630 /* Override any GCC internal prototype to avoid an error.
32631 Use char because int might match the return type of a GCC
32632 builtin and then its argument prototype would still apply. */
32645 rm -f conftest.$ac_objext conftest$ac_exeext
32646 if { (ac_try="$ac_link"
32647 case "(($ac_try" in
32648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32649 *) ac_try_echo=$ac_try;;
32651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32652 (eval "$ac_link") 2>conftest.er1
32654 grep -v '^ *+' conftest.er1 >conftest.err
32656 cat conftest.err >&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } && {
32659 test -z "$ac_c_werror_flag" ||
32660 test ! -s conftest.err
32661 } && test -s conftest$ac_exeext &&
32662 $as_test_x conftest$ac_exeext; then
32663 ac_cv_lib_posix_remove=yes
32665 echo "$as_me: failed program was:" >&5
32666 sed 's/^/| /' conftest.$ac_ext >&5
32668 ac_cv_lib_posix_remove=no
32671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32672 conftest$ac_exeext conftest.$ac_ext
32673 LIBS=$ac_check_lib_save_LIBS
32675 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32676 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32677 if test $ac_cv_lib_posix_remove = yes; then
32678 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32683 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32684 { echo "$as_me:$LINENO: checking for shmat" >&5
32685 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32686 if test "${ac_cv_func_shmat+set}" = set; then
32687 echo $ECHO_N "(cached) $ECHO_C" >&6
32689 cat >conftest.$ac_ext <<_ACEOF
32692 cat confdefs.h >>conftest.$ac_ext
32693 cat >>conftest.$ac_ext <<_ACEOF
32694 /* end confdefs.h. */
32695 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32697 #define shmat innocuous_shmat
32699 /* System header to define __stub macros and hopefully few prototypes,
32700 which can conflict with char shmat (); below.
32701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32702 <limits.h> exists even on freestanding compilers. */
32705 # include <limits.h>
32707 # include <assert.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. */
32719 /* The GNU C library defines this for functions which it implements
32720 to always fail with ENOSYS. Some functions are actually named
32721 something starting with __ and the normal name is an alias. */
32722 #if defined __stub_shmat || defined __stub___shmat
32734 rm -f conftest.$ac_objext conftest$ac_exeext
32735 if { (ac_try="$ac_link"
32736 case "(($ac_try" in
32737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32738 *) ac_try_echo=$ac_try;;
32740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32741 (eval "$ac_link") 2>conftest.er1
32743 grep -v '^ *+' conftest.er1 >conftest.err
32745 cat conftest.err >&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); } && {
32748 test -z "$ac_c_werror_flag" ||
32749 test ! -s conftest.err
32750 } && test -s conftest$ac_exeext &&
32751 $as_test_x conftest$ac_exeext; then
32752 ac_cv_func_shmat=yes
32754 echo "$as_me: failed program was:" >&5
32755 sed 's/^/| /' conftest.$ac_ext >&5
32757 ac_cv_func_shmat=no
32760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32761 conftest$ac_exeext conftest.$ac_ext
32763 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32764 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32766 if test $ac_cv_func_shmat = no; then
32767 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32768 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32769 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32770 echo $ECHO_N "(cached) $ECHO_C" >&6
32772 ac_check_lib_save_LIBS=$LIBS
32774 cat >conftest.$ac_ext <<_ACEOF
32777 cat confdefs.h >>conftest.$ac_ext
32778 cat >>conftest.$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32781 /* Override any GCC internal prototype to avoid an error.
32782 Use char because int might match the return type of a GCC
32783 builtin and then its argument prototype would still apply. */
32796 rm -f conftest.$ac_objext conftest$ac_exeext
32797 if { (ac_try="$ac_link"
32798 case "(($ac_try" in
32799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32800 *) ac_try_echo=$ac_try;;
32802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32803 (eval "$ac_link") 2>conftest.er1
32805 grep -v '^ *+' conftest.er1 >conftest.err
32807 cat conftest.err >&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); } && {
32810 test -z "$ac_c_werror_flag" ||
32811 test ! -s conftest.err
32812 } && test -s conftest$ac_exeext &&
32813 $as_test_x conftest$ac_exeext; then
32814 ac_cv_lib_ipc_shmat=yes
32816 echo "$as_me: failed program was:" >&5
32817 sed 's/^/| /' conftest.$ac_ext >&5
32819 ac_cv_lib_ipc_shmat=no
32822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32823 conftest$ac_exeext conftest.$ac_ext
32824 LIBS=$ac_check_lib_save_LIBS
32826 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32827 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32828 if test $ac_cv_lib_ipc_shmat = yes; then
32829 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32835 # Check for libraries that X11R6 Xt/Xaw programs need.
32836 ac_save_LDFLAGS=$LDFLAGS
32837 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32838 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32839 # check for ICE first), but we must link in the order -lSM -lICE or
32840 # we get undefined symbols. So assume we have SM if we have ICE.
32841 # These have to be linked with before -lX11, unlike the other
32842 # libraries we check for below, so use a different variable.
32843 # John Interrante, Karl Berry
32844 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32845 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32846 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32847 echo $ECHO_N "(cached) $ECHO_C" >&6
32849 ac_check_lib_save_LIBS=$LIBS
32850 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32851 cat >conftest.$ac_ext <<_ACEOF
32854 cat confdefs.h >>conftest.$ac_ext
32855 cat >>conftest.$ac_ext <<_ACEOF
32856 /* end confdefs.h. */
32858 /* Override any GCC internal prototype to avoid an error.
32859 Use char because int might match the return type of a GCC
32860 builtin and then its argument prototype would still apply. */
32864 char IceConnectionNumber ();
32868 return IceConnectionNumber ();
32873 rm -f conftest.$ac_objext conftest$ac_exeext
32874 if { (ac_try="$ac_link"
32875 case "(($ac_try" in
32876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32877 *) ac_try_echo=$ac_try;;
32879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32880 (eval "$ac_link") 2>conftest.er1
32882 grep -v '^ *+' conftest.er1 >conftest.err
32884 cat conftest.err >&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } && {
32887 test -z "$ac_c_werror_flag" ||
32888 test ! -s conftest.err
32889 } && test -s conftest$ac_exeext &&
32890 $as_test_x conftest$ac_exeext; then
32891 ac_cv_lib_ICE_IceConnectionNumber=yes
32893 echo "$as_me: failed program was:" >&5
32894 sed 's/^/| /' conftest.$ac_ext >&5
32896 ac_cv_lib_ICE_IceConnectionNumber=no
32899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32900 conftest$ac_exeext conftest.$ac_ext
32901 LIBS=$ac_check_lib_save_LIBS
32903 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32904 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32905 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32906 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32909 LDFLAGS=$ac_save_LDFLAGS
32914 if test "$no_x" = "yes"; then
32915 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32916 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32917 { (exit 1); exit 1; }; }
32920 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32921 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32922 AFMINSTALL=afminstall
32923 COMPILED_X_PROGRAM=0
32927 if test "$wxUSE_X11" = 1; then
32928 if test "$wxUSE_NANOX" = "yes"; then
32929 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32930 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32931 if test "x$MICROWIN" = x ; then
32932 { echo "$as_me:$LINENO: result: not found" >&5
32933 echo "${ECHO_T}not found" >&6; }
32934 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32935 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32936 { (exit 1); exit 1; }; }
32938 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32939 echo "${ECHO_T}$MICROWIN" >&6; }
32940 cat >>confdefs.h <<\_ACEOF
32941 #define wxUSE_NANOX 1
32947 if test "$wxUSE_UNICODE" = "yes"; then
32950 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32951 if test -n "$ac_tool_prefix"; then
32952 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32953 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32956 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32957 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 case $PKG_CONFIG in
32961 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32965 for as_dir in $PATH
32968 test -z "$as_dir" && as_dir=.
32969 for ac_exec_ext in '' $ac_executable_extensions; do
32970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32971 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32982 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32983 if test -n "$PKG_CONFIG"; then
32984 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32985 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32987 { echo "$as_me:$LINENO: result: no" >&5
32988 echo "${ECHO_T}no" >&6; }
32993 if test -z "$ac_cv_path_PKG_CONFIG"; then
32994 ac_pt_PKG_CONFIG=$PKG_CONFIG
32995 # Extract the first word of "pkg-config", so it can be a program name with args.
32996 set dummy pkg-config; ac_word=$2
32997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32999 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33002 case $ac_pt_PKG_CONFIG in
33004 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33008 for as_dir in $PATH
33011 test -z "$as_dir" && as_dir=.
33012 for ac_exec_ext in '' $ac_executable_extensions; do
33013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33014 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33025 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33026 if test -n "$ac_pt_PKG_CONFIG"; then
33027 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33028 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33030 { echo "$as_me:$LINENO: result: no" >&5
33031 echo "${ECHO_T}no" >&6; }
33034 if test "x$ac_pt_PKG_CONFIG" = x; then
33037 case $cross_compiling:$ac_tool_warned in
33039 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33040 whose name does not start with the host triplet. If you think this
33041 configuration is useful to you, please write to autoconf@gnu.org." >&5
33042 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33043 whose name does not start with the host triplet. If you think this
33044 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33045 ac_tool_warned=yes ;;
33047 PKG_CONFIG=$ac_pt_PKG_CONFIG
33050 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33054 if test -n "$PKG_CONFIG"; then
33055 _pkg_min_version=0.9.0
33056 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33057 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33058 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33059 { echo "$as_me:$LINENO: result: yes" >&5
33060 echo "${ECHO_T}yes" >&6; }
33062 { echo "$as_me:$LINENO: result: no" >&5
33063 echo "${ECHO_T}no" >&6; }
33071 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33072 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33074 if test -n "$PKG_CONFIG"; then
33075 if test -n "$PANGOX_CFLAGS"; then
33076 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33078 if test -n "$PKG_CONFIG" && \
33079 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33080 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33083 (exit $ac_status); }; then
33084 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33092 if test -n "$PKG_CONFIG"; then
33093 if test -n "$PANGOX_LIBS"; then
33094 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33096 if test -n "$PKG_CONFIG" && \
33097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33098 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; then
33102 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33113 if test $pkg_failed = yes; then
33115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33116 _pkg_short_errors_supported=yes
33118 _pkg_short_errors_supported=no
33120 if test $_pkg_short_errors_supported = yes; then
33121 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33123 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33125 # Put the nasty error message in config.log where it belongs
33126 echo "$PANGOX_PKG_ERRORS" >&5
33129 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33130 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33131 { (exit 1); exit 1; }; }
33134 elif test $pkg_failed = untried; then
33136 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33137 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33138 { (exit 1); exit 1; }; }
33142 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33143 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33144 { echo "$as_me:$LINENO: result: yes" >&5
33145 echo "${ECHO_T}yes" >&6; }
33147 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33148 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33149 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33154 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33155 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33157 if test -n "$PKG_CONFIG"; then
33158 if test -n "$PANGOFT2_CFLAGS"; then
33159 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33161 if test -n "$PKG_CONFIG" && \
33162 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33163 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); }; then
33167 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33175 if test -n "$PKG_CONFIG"; then
33176 if test -n "$PANGOFT2_LIBS"; then
33177 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33179 if test -n "$PKG_CONFIG" && \
33180 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33181 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33184 (exit $ac_status); }; then
33185 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33196 if test $pkg_failed = yes; then
33198 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33199 _pkg_short_errors_supported=yes
33201 _pkg_short_errors_supported=no
33203 if test $_pkg_short_errors_supported = yes; then
33204 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33206 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33208 # Put the nasty error message in config.log where it belongs
33209 echo "$PANGOFT2_PKG_ERRORS" >&5
33212 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33213 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33214 wxUSE_PRINTING_ARCHITECTURE="no"
33217 elif test $pkg_failed = untried; then
33219 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33220 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33221 wxUSE_PRINTING_ARCHITECTURE="no"
33225 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33226 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33227 { echo "$as_me:$LINENO: result: yes" >&5
33228 echo "${ECHO_T}yes" >&6; }
33230 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33231 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33232 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33237 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33238 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33240 if test -n "$PKG_CONFIG"; then
33241 if test -n "$PANGOXFT_CFLAGS"; then
33242 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33244 if test -n "$PKG_CONFIG" && \
33245 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33246 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249 (exit $ac_status); }; then
33250 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33258 if test -n "$PKG_CONFIG"; then
33259 if test -n "$PANGOXFT_LIBS"; then
33260 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33262 if test -n "$PKG_CONFIG" && \
33263 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33264 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; then
33268 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33279 if test $pkg_failed = yes; then
33281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33282 _pkg_short_errors_supported=yes
33284 _pkg_short_errors_supported=no
33286 if test $_pkg_short_errors_supported = yes; then
33287 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33289 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33291 # Put the nasty error message in config.log where it belongs
33292 echo "$PANGOXFT_PKG_ERRORS" >&5
33295 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33296 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33299 elif test $pkg_failed = untried; then
33301 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33302 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33306 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33307 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33308 { echo "$as_me:$LINENO: result: yes" >&5
33309 echo "${ECHO_T}yes" >&6; }
33311 cat >>confdefs.h <<\_ACEOF
33312 #define HAVE_PANGO_XFT 1
33315 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33316 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33317 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33321 LIBS="$LIBS $PANGOX_LIBS"
33323 for ac_func in pango_font_family_is_monospace
33325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33329 echo $ECHO_N "(cached) $ECHO_C" >&6
33331 cat >conftest.$ac_ext <<_ACEOF
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33339 #define $ac_func innocuous_$ac_func
33341 /* System header to define __stub macros and hopefully few prototypes,
33342 which can conflict with char $ac_func (); below.
33343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33344 <limits.h> exists even on freestanding compilers. */
33347 # include <limits.h>
33349 # include <assert.h>
33354 /* Override any GCC internal prototype to avoid an error.
33355 Use char because int might match the return type of a GCC
33356 builtin and then its argument prototype would still apply. */
33361 /* The GNU C library defines this for functions which it implements
33362 to always fail with ENOSYS. Some functions are actually named
33363 something starting with __ and the normal name is an alias. */
33364 #if defined __stub_$ac_func || defined __stub___$ac_func
33371 return $ac_func ();
33376 rm -f conftest.$ac_objext conftest$ac_exeext
33377 if { (ac_try="$ac_link"
33378 case "(($ac_try" in
33379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33380 *) ac_try_echo=$ac_try;;
33382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33383 (eval "$ac_link") 2>conftest.er1
33385 grep -v '^ *+' conftest.er1 >conftest.err
33387 cat conftest.err >&5
33388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389 (exit $ac_status); } && {
33390 test -z "$ac_c_werror_flag" ||
33391 test ! -s conftest.err
33392 } && test -s conftest$ac_exeext &&
33393 $as_test_x conftest$ac_exeext; then
33394 eval "$as_ac_var=yes"
33396 echo "$as_me: failed program was:" >&5
33397 sed 's/^/| /' conftest.$ac_ext >&5
33399 eval "$as_ac_var=no"
33402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33403 conftest$ac_exeext conftest.$ac_ext
33405 ac_res=`eval echo '${'$as_ac_var'}'`
33406 { echo "$as_me:$LINENO: result: $ac_res" >&5
33407 echo "${ECHO_T}$ac_res" >&6; }
33408 if test `eval echo '${'$as_ac_var'}'` = yes; then
33409 cat >>confdefs.h <<_ACEOF
33410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33419 wxUSE_UNIVERSAL="yes"
33421 if test "$wxUSE_NANOX" = "yes"; then
33422 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33423 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"
33424 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33426 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33433 if test "$wxUSE_MOTIF" = 1; then
33434 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33435 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33438 for ac_dir in $SEARCH_INCLUDE /usr/include
33440 if test -f "$ac_dir/Xm/Xm.h"; then
33441 ac_find_includes=$ac_dir
33446 if test "$ac_find_includes" != "" ; then
33447 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33448 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33450 if test "x$ac_find_includes" = "x/usr/include"; then
33451 ac_path_to_include=""
33453 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33455 if test $result = 0; then
33456 ac_path_to_include=""
33458 ac_path_to_include=" -I$ac_find_includes"
33462 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33464 save_CFLAGS=$CFLAGS
33465 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33467 cat >conftest.$ac_ext <<_ACEOF
33470 cat confdefs.h >>conftest.$ac_ext
33471 cat >>conftest.$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33481 version = xmUseVersion;
33487 rm -f conftest.$ac_objext
33488 if { (ac_try="$ac_compile"
33489 case "(($ac_try" in
33490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33491 *) ac_try_echo=$ac_try;;
33493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33494 (eval "$ac_compile") 2>conftest.er1
33496 grep -v '^ *+' conftest.er1 >conftest.err
33498 cat conftest.err >&5
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); } && {
33501 test -z "$ac_c_werror_flag" ||
33502 test ! -s conftest.err
33503 } && test -s conftest.$ac_objext; then
33505 { echo "$as_me:$LINENO: result: found in default search path" >&5
33506 echo "${ECHO_T}found in default search path" >&6; }
33507 COMPILED_X_PROGRAM=1
33510 echo "$as_me: failed program was:" >&5
33511 sed 's/^/| /' conftest.$ac_ext >&5
33514 { echo "$as_me:$LINENO: result: no" >&5
33515 echo "${ECHO_T}no" >&6; }
33516 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33517 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33518 { (exit 1); exit 1; }; }
33523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33525 CFLAGS=$save_CFLAGS
33529 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33530 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33533 for ac_dir in $SEARCH_LIB
33535 for ac_extension in a so sl dylib dll.a; do
33536 if test -f "$ac_dir/libXm.$ac_extension"; then
33537 ac_find_libraries=$ac_dir
33544 if test "x$ac_find_libraries" != "x" ; then
33545 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33546 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33549 if test "$ac_find_libraries" = "default location"; then
33552 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33554 if test $result = 0; then
33557 ac_path_to_link=" -L$ac_find_libraries"
33561 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33563 save_CFLAGS=$CFLAGS
33564 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33566 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33568 cat >conftest.$ac_ext <<_ACEOF
33571 cat confdefs.h >>conftest.$ac_ext
33572 cat >>conftest.$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33582 version = xmUseVersion;
33588 rm -f conftest.$ac_objext conftest$ac_exeext
33589 if { (ac_try="$ac_link"
33590 case "(($ac_try" in
33591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33592 *) ac_try_echo=$ac_try;;
33594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33595 (eval "$ac_link") 2>conftest.er1
33597 grep -v '^ *+' conftest.er1 >conftest.err
33599 cat conftest.err >&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); } && {
33602 test -z "$ac_c_werror_flag" ||
33603 test ! -s conftest.err
33604 } && test -s conftest$ac_exeext &&
33605 $as_test_x conftest$ac_exeext; then
33607 { echo "$as_me:$LINENO: result: found in default search path" >&5
33608 echo "${ECHO_T}found in default search path" >&6; }
33609 COMPILED_X_PROGRAM=1
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.$ac_ext >&5
33616 { echo "$as_me:$LINENO: result: no" >&5
33617 echo "${ECHO_T}no" >&6; }
33618 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33619 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33620 { (exit 1); exit 1; }; }
33625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33626 conftest$ac_exeext conftest.$ac_ext
33628 CFLAGS=$save_CFLAGS
33632 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33633 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33637 for libp in "" " -lXp"; do
33638 if test "$libs_found" = 0; then
33639 for libsm_ice in "" " -lSM -lICE"; do
33640 if test "$libs_found" = 0; then
33642 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33643 save_CFLAGS=$CFLAGS
33644 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33646 cat >conftest.$ac_ext <<_ACEOF
33649 cat confdefs.h >>conftest.$ac_ext
33650 cat >>conftest.$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33654 #include <Xm/List.h>
33660 XmString string = NULL;
33663 XmListAddItem(w, string, position);
33669 rm -f conftest.$ac_objext conftest$ac_exeext
33670 if { (ac_try="$ac_link"
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_link") 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_exeext &&
33686 $as_test_x conftest$ac_exeext; then
33689 libsm_ice_link="$libsm_ice"
33690 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33691 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33695 echo "$as_me: failed program was:" >&5
33696 sed 's/^/| /' conftest.$ac_ext >&5
33702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33703 conftest$ac_exeext conftest.$ac_ext
33706 CFLAGS=$save_CFLAGS
33712 if test "$libs_found" = 0; then
33713 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33714 echo "${ECHO_T}can't find the right libraries" >&6; }
33715 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33716 echo "$as_me: error: can't link a simple motif program" >&2;}
33717 { (exit 1); exit 1; }; }
33720 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33721 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33722 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33723 echo $ECHO_N "(cached) $ECHO_C" >&6
33725 ac_check_lib_save_LIBS=$LIBS
33727 cat >conftest.$ac_ext <<_ACEOF
33730 cat confdefs.h >>conftest.$ac_ext
33731 cat >>conftest.$ac_ext <<_ACEOF
33732 /* end confdefs.h. */
33734 /* Override any GCC internal prototype to avoid an error.
33735 Use char because int might match the return type of a GCC
33736 builtin and then its argument prototype would still apply. */
33740 char SgCreateList ();
33744 return SgCreateList ();
33749 rm -f conftest.$ac_objext conftest$ac_exeext
33750 if { (ac_try="$ac_link"
33751 case "(($ac_try" in
33752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33753 *) ac_try_echo=$ac_try;;
33755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33756 (eval "$ac_link") 2>conftest.er1
33758 grep -v '^ *+' conftest.er1 >conftest.err
33760 cat conftest.err >&5
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); } && {
33763 test -z "$ac_c_werror_flag" ||
33764 test ! -s conftest.err
33765 } && test -s conftest$ac_exeext &&
33766 $as_test_x conftest$ac_exeext; then
33767 ac_cv_lib_Sgm_SgCreateList=yes
33769 echo "$as_me: failed program was:" >&5
33770 sed 's/^/| /' conftest.$ac_ext >&5
33772 ac_cv_lib_Sgm_SgCreateList=no
33775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33776 conftest$ac_exeext conftest.$ac_ext
33777 LIBS=$ac_check_lib_save_LIBS
33779 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33780 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33781 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33782 libsgm_link=" -lSgm"
33786 save_CFLAGS=$CFLAGS
33787 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33789 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33790 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33791 if test "${wx_cv_lib_motif2+set}" = set; then
33792 echo $ECHO_N "(cached) $ECHO_C" >&6
33794 cat >conftest.$ac_ext <<_ACEOF
33797 cat confdefs.h >>conftest.$ac_ext
33798 cat >>conftest.$ac_ext <<_ACEOF
33799 /* end confdefs.h. */
33807 #if XmVersion < 2000
33815 rm -f conftest.$ac_objext
33816 if { (ac_try="$ac_compile"
33817 case "(($ac_try" in
33818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33819 *) ac_try_echo=$ac_try;;
33821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33822 (eval "$ac_compile") 2>conftest.er1
33824 grep -v '^ *+' conftest.er1 >conftest.err
33826 cat conftest.err >&5
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); } && {
33829 test -z "$ac_c_werror_flag" ||
33830 test ! -s conftest.err
33831 } && test -s conftest.$ac_objext; then
33832 wx_cv_lib_motif2="yes"
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33837 wx_cv_lib_motif2="no"
33840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33842 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33843 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33844 if test "$wx_cv_lib_motif2" = "yes"; then
33845 cat >>confdefs.h <<\_ACEOF
33846 #define __WXMOTIF20__ 1
33850 cat >>confdefs.h <<\_ACEOF
33851 #define __WXMOTIF20__ 0
33856 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33857 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33858 if test "${wx_cv_lib_lesstif+set}" = set; then
33859 echo $ECHO_N "(cached) $ECHO_C" >&6
33861 cat >conftest.$ac_ext <<_ACEOF
33864 cat confdefs.h >>conftest.$ac_ext
33865 cat >>conftest.$ac_ext <<_ACEOF
33866 /* end confdefs.h. */
33874 #if !defined(LesstifVersion) || LesstifVersion <= 0
33882 rm -f conftest.$ac_objext
33883 if { (ac_try="$ac_compile"
33884 case "(($ac_try" in
33885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33886 *) ac_try_echo=$ac_try;;
33888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33889 (eval "$ac_compile") 2>conftest.er1
33891 grep -v '^ *+' conftest.er1 >conftest.err
33893 cat conftest.err >&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } && {
33896 test -z "$ac_c_werror_flag" ||
33897 test ! -s conftest.err
33898 } && test -s conftest.$ac_objext; then
33899 wx_cv_lib_lesstif="yes"
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.$ac_ext >&5
33904 wx_cv_lib_lesstif="no"
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33910 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33911 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33912 if test "$wx_cv_lib_lesstif" = "yes"; then
33913 cat >>confdefs.h <<\_ACEOF
33914 #define __WXLESSTIF__ 1
33918 cat >>confdefs.h <<\_ACEOF
33919 #define __WXLESSTIF__ 0
33924 CFLAGS=$save_CFLAGS
33926 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33931 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33932 if test "$wxUSE_LIBXPM" = "sys"; then
33933 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33934 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33937 for ac_dir in $SEARCH_LIB
33939 for ac_extension in a so sl dylib dll.a; do
33940 if test -f "$ac_dir/libXpm.$ac_extension"; then
33941 ac_find_libraries=$ac_dir
33947 if test "$ac_find_libraries" != "" ; then
33949 if test "$ac_find_libraries" = "default location"; then
33952 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33954 if test $result = 0; then
33957 ac_path_to_link=" -L$ac_find_libraries"
33961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33962 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33963 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33965 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33966 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33967 if test "${wx_cv_x11_xpm_h+set}" = set; then
33968 echo $ECHO_N "(cached) $ECHO_C" >&6
33971 save_CFLAGS=$CFLAGS
33972 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33974 cat >conftest.$ac_ext <<_ACEOF
33977 cat confdefs.h >>conftest.$ac_ext
33978 cat >>conftest.$ac_ext <<_ACEOF
33979 /* end confdefs.h. */
33981 #include <X11/xpm.h>
33988 version = XpmLibraryVersion();
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
34011 wx_cv_x11_xpm_h=yes
34013 echo "$as_me: failed program was:" >&5
34014 sed 's/^/| /' conftest.$ac_ext >&5
34020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34022 CFLAGS=$save_CFLAGS
34026 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34027 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34029 if test $wx_cv_x11_xpm_h = "yes"; then
34030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34031 cat >>confdefs.h <<\_ACEOF
34032 #define wxHAVE_LIB_XPM 1
34036 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34037 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34043 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34044 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34045 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34048 ac_check_lib_save_LIBS=$LIBS
34049 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34050 cat >conftest.$ac_ext <<_ACEOF
34053 cat confdefs.h >>conftest.$ac_ext
34054 cat >>conftest.$ac_ext <<_ACEOF
34055 /* end confdefs.h. */
34057 /* Override any GCC internal prototype to avoid an error.
34058 Use char because int might match the return type of a GCC
34059 builtin and then its argument prototype would still apply. */
34063 char XShapeQueryExtension ();
34067 return XShapeQueryExtension ();
34072 rm -f conftest.$ac_objext conftest$ac_exeext
34073 if { (ac_try="$ac_link"
34074 case "(($ac_try" in
34075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34076 *) ac_try_echo=$ac_try;;
34078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34079 (eval "$ac_link") 2>conftest.er1
34081 grep -v '^ *+' conftest.er1 >conftest.err
34083 cat conftest.err >&5
34084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34085 (exit $ac_status); } && {
34086 test -z "$ac_c_werror_flag" ||
34087 test ! -s conftest.err
34088 } && test -s conftest$ac_exeext &&
34089 $as_test_x conftest$ac_exeext; then
34090 ac_cv_lib_Xext_XShapeQueryExtension=yes
34092 echo "$as_me: failed program was:" >&5
34093 sed 's/^/| /' conftest.$ac_ext >&5
34095 ac_cv_lib_Xext_XShapeQueryExtension=no
34098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34099 conftest$ac_exeext conftest.$ac_ext
34100 LIBS=$ac_check_lib_save_LIBS
34102 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34103 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34104 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34106 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34112 if test "$wxHAVE_XEXT_LIB" = 1; then
34113 save_CFLAGS="$CFLAGS"
34114 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34116 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34117 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34118 cat >conftest.$ac_ext <<_ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34125 #include <X11/Xlib.h>
34126 #include <X11/extensions/shape.h>
34132 int dummy1, dummy2;
34133 XShapeQueryExtension((Display*)NULL,
34134 (int*)NULL, (int*)NULL);
34140 rm -f conftest.$ac_objext
34141 if { (ac_try="$ac_compile"
34142 case "(($ac_try" in
34143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34144 *) ac_try_echo=$ac_try;;
34146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34147 (eval "$ac_compile") 2>conftest.er1
34149 grep -v '^ *+' conftest.er1 >conftest.err
34151 cat conftest.err >&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); } && {
34154 test -z "$ac_c_werror_flag" ||
34155 test ! -s conftest.err
34156 } && test -s conftest.$ac_objext; then
34158 cat >>confdefs.h <<\_ACEOF
34159 #define HAVE_XSHAPE 1
34162 { echo "$as_me:$LINENO: result: found" >&5
34163 echo "${ECHO_T}found" >&6; }
34166 echo "$as_me: failed program was:" >&5
34167 sed 's/^/| /' conftest.$ac_ext >&5
34170 { echo "$as_me:$LINENO: result: not found" >&5
34171 echo "${ECHO_T}not found" >&6; }
34175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34176 CFLAGS="$save_CFLAGS"
34181 if test "$wxUSE_OSX_CARBON" = 1; then
34182 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34183 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34184 if test "$GCC" = yes; then
34185 { echo "$as_me:$LINENO: result: gcc" >&5
34186 echo "${ECHO_T}gcc" >&6; }
34187 CPPFLAGS_PASCAL="-fpascal-strings"
34188 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34189 { echo "$as_me:$LINENO: result: xlc" >&5
34190 echo "${ECHO_T}xlc" >&6; }
34191 CPPFLAGS_PASCAL="-qmacpstr"
34193 { echo "$as_me:$LINENO: result: none" >&5
34194 echo "${ECHO_T}none" >&6; }
34197 if test "x$wxUSE_UNIX" = "xyes"; then
34198 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34200 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34204 GUIDIST=OSX_CARBON_DIST
34205 WXBASEPORT="_carbon"
34207 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34210 if test "$wxUSE_OSX_COCOA" = 1; then
34212 GUIDIST=OSX_COCOA_DIST
34214 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34217 if test "$wxUSE_OSX_IPHONE" = 1; then
34221 if test "$wxUSE_OLD_COCOA" = 1; then
34226 if test "$wxUSE_PM" = 1; then
34229 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34230 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34231 if test "${wx_cv_spbcdata+set}" = set; then
34232 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 cat >conftest.$ac_ext <<_ACEOF
34238 cat confdefs.h >>conftest.$ac_ext
34239 cat >>conftest.$ac_ext <<_ACEOF
34240 /* end confdefs.h. */
34255 rm -f conftest.$ac_objext
34256 if { (ac_try="$ac_compile"
34257 case "(($ac_try" in
34258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34259 *) ac_try_echo=$ac_try;;
34261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34262 (eval "$ac_compile") 2>conftest.er1
34264 grep -v '^ *+' conftest.er1 >conftest.err
34266 cat conftest.err >&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); } && {
34269 test -z "$ac_c_werror_flag" ||
34270 test ! -s conftest.err
34271 } && test -s conftest.$ac_objext; then
34274 echo "$as_me: failed program was:" >&5
34275 sed 's/^/| /' conftest.$ac_ext >&5
34281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34285 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34286 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34288 if test $wx_cv_spbcdata = "yes"; then
34289 cat >>confdefs.h <<\_ACEOF
34290 #define HAVE_SPBCDATA 1
34296 if test "$TOOLKIT" = "PM" ; then
34299 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34302 if test "$wxUSE_UNIVERSAL" = "yes"; then
34303 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34307 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34308 DISTDIR="wx\$(TOOLKIT)"
34314 if test "$USE_WIN32" = 1 ; then
34318 GUIDIST="BASE_DIST"
34324 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34325 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34326 wxUSE_UNICODE_UTF8=yes
34327 elif test "$USE_OS2" = 1 ; then
34328 wxUSE_UNICODE_UTF8=yes
34330 wxUSE_UNICODE_UTF8=no
34335 if test "$wxUSE_GUI" = "yes"; then
34336 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34338 for ac_header in X11/Xlib.h
34340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34341 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34344 echo $ECHO_N "(cached) $ECHO_C" >&6
34346 cat >conftest.$ac_ext <<_ACEOF
34349 cat confdefs.h >>conftest.$ac_ext
34350 cat >>conftest.$ac_ext <<_ACEOF
34351 /* end confdefs.h. */
34354 #include <$ac_header>
34356 rm -f conftest.$ac_objext
34357 if { (ac_try="$ac_compile"
34358 case "(($ac_try" in
34359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34360 *) ac_try_echo=$ac_try;;
34362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34363 (eval "$ac_compile") 2>conftest.er1
34365 grep -v '^ *+' conftest.er1 >conftest.err
34367 cat conftest.err >&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } && {
34370 test -z "$ac_c_werror_flag" ||
34371 test ! -s conftest.err
34372 } && test -s conftest.$ac_objext; then
34373 eval "$as_ac_Header=yes"
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.$ac_ext >&5
34378 eval "$as_ac_Header=no"
34381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34383 ac_res=`eval echo '${'$as_ac_Header'}'`
34384 { echo "$as_me:$LINENO: result: $ac_res" >&5
34385 echo "${ECHO_T}$ac_res" >&6; }
34386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34387 cat >>confdefs.h <<_ACEOF
34388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34396 for ac_header in X11/XKBlib.h
34398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34402 echo $ECHO_N "(cached) $ECHO_C" >&6
34404 cat >conftest.$ac_ext <<_ACEOF
34407 cat confdefs.h >>conftest.$ac_ext
34408 cat >>conftest.$ac_ext <<_ACEOF
34409 /* end confdefs.h. */
34411 #if HAVE_X11_XLIB_H
34412 #include <X11/Xlib.h>
34416 #include <$ac_header>
34418 rm -f conftest.$ac_objext
34419 if { (ac_try="$ac_compile"
34420 case "(($ac_try" in
34421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34422 *) ac_try_echo=$ac_try;;
34424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34425 (eval "$ac_compile") 2>conftest.er1
34427 grep -v '^ *+' conftest.er1 >conftest.err
34429 cat conftest.err >&5
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); } && {
34432 test -z "$ac_c_werror_flag" ||
34433 test ! -s conftest.err
34434 } && test -s conftest.$ac_objext; then
34435 eval "$as_ac_Header=yes"
34437 echo "$as_me: failed program was:" >&5
34438 sed 's/^/| /' conftest.$ac_ext >&5
34440 eval "$as_ac_Header=no"
34443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34445 ac_res=`eval echo '${'$as_ac_Header'}'`
34446 { echo "$as_me:$LINENO: result: $ac_res" >&5
34447 echo "${ECHO_T}$ac_res" >&6; }
34448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34449 cat >>confdefs.h <<_ACEOF
34450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34463 if test "$wxUSE_DISPLAY" = "yes"; then
34464 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34465 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34466 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34469 for ac_dir in $SEARCH_LIB
34471 for ac_extension in a so sl dylib dll.a; do
34472 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34473 ac_find_libraries=$ac_dir
34479 if test "$ac_find_libraries" != "" ; then
34481 if test "$ac_find_libraries" = "default location"; then
34484 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34486 if test $result = 0; then
34489 ac_path_to_link=" -L$ac_find_libraries"
34493 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34494 LDFLAGS="$LDFLAGS $ac_path_to_link"
34497 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34498 { echo "$as_me:$LINENO: result: yes" >&5
34499 echo "${ECHO_T}yes" >&6; }
34501 { echo "$as_me:$LINENO: result: no" >&5
34502 echo "${ECHO_T}no" >&6; }
34503 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34504 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34507 elif test "$wxUSE_MSW" = 1; then
34508 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34509 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34510 if test "${ac_cv_header_ddraw_h+set}" = set; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
34513 cat >conftest.$ac_ext <<_ACEOF
34516 cat confdefs.h >>conftest.$ac_ext
34517 cat >>conftest.$ac_ext <<_ACEOF
34518 /* end confdefs.h. */
34519 #include <windows.h>
34523 rm -f conftest.$ac_objext
34524 if { (ac_try="$ac_compile"
34525 case "(($ac_try" in
34526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34527 *) ac_try_echo=$ac_try;;
34529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34530 (eval "$ac_compile") 2>conftest.er1
34532 grep -v '^ *+' conftest.er1 >conftest.err
34534 cat conftest.err >&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); } && {
34537 test -z "$ac_c_werror_flag" ||
34538 test ! -s conftest.err
34539 } && test -s conftest.$ac_objext; then
34540 ac_cv_header_ddraw_h=yes
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34545 ac_cv_header_ddraw_h=no
34548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34550 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34551 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34557 if test "$wxUSE_DISPLAY" = "yes"; then
34558 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34559 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34560 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34563 for ac_dir in $SEARCH_LIB
34565 for ac_extension in a so sl dylib dll.a; do
34566 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34567 ac_find_libraries=$ac_dir
34573 if test "$ac_find_libraries" != "" ; then
34574 { echo "$as_me:$LINENO: result: yes" >&5
34575 echo "${ECHO_T}yes" >&6; }
34577 for ac_header in X11/extensions/xf86vmode.h
34579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34580 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34583 echo $ECHO_N "(cached) $ECHO_C" >&6
34585 cat >conftest.$ac_ext <<_ACEOF
34588 cat confdefs.h >>conftest.$ac_ext
34589 cat >>conftest.$ac_ext <<_ACEOF
34590 /* end confdefs.h. */
34592 #if HAVE_X11_XLIB_H
34593 #include <X11/Xlib.h>
34597 #include <$ac_header>
34599 rm -f conftest.$ac_objext
34600 if { (ac_try="$ac_compile"
34601 case "(($ac_try" in
34602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34603 *) ac_try_echo=$ac_try;;
34605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34606 (eval "$ac_compile") 2>conftest.er1
34608 grep -v '^ *+' conftest.er1 >conftest.err
34610 cat conftest.err >&5
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); } && {
34613 test -z "$ac_c_werror_flag" ||
34614 test ! -s conftest.err
34615 } && test -s conftest.$ac_objext; then
34616 eval "$as_ac_Header=yes"
34618 echo "$as_me: failed program was:" >&5
34619 sed 's/^/| /' conftest.$ac_ext >&5
34621 eval "$as_ac_Header=no"
34624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34626 ac_res=`eval echo '${'$as_ac_Header'}'`
34627 { echo "$as_me:$LINENO: result: $ac_res" >&5
34628 echo "${ECHO_T}$ac_res" >&6; }
34629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34630 cat >>confdefs.h <<_ACEOF
34631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34634 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34641 { echo "$as_me:$LINENO: result: no" >&5
34642 echo "${ECHO_T}no" >&6; }
34647 if test "$wxUSE_DETECT_SM" = "yes"; then
34648 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34649 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34650 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34653 for ac_dir in $SEARCH_LIB
34655 for ac_extension in a so sl dylib dll.a; do
34656 if test -f "$ac_dir/libSM.$ac_extension"; then
34657 ac_find_libraries=$ac_dir
34663 if test "$ac_find_libraries" != "" ; then
34665 if test "$ac_find_libraries" = "default location"; then
34668 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34670 if test $result = 0; then
34673 ac_path_to_link=" -L$ac_find_libraries"
34677 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34678 LDFLAGS="$LDFLAGS $ac_path_to_link"
34680 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34681 { echo "$as_me:$LINENO: result: yes" >&5
34682 echo "${ECHO_T}yes" >&6; }
34684 { echo "$as_me:$LINENO: result: no" >&5
34685 echo "${ECHO_T}no" >&6; }
34686 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34687 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34688 wxUSE_DETECT_SM="no"
34691 wxUSE_DETECT_SM="no"
34698 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34701 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34702 OPENGL_LIBS="-framework OpenGL -framework AGL"
34703 elif test "$wxUSE_MSW" = 1; then
34704 OPENGL_LIBS="-lopengl32 -lglu32"
34705 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34707 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34708 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34711 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34713 if test -f "$ac_dir/GL/gl.h"; then
34714 ac_find_includes=$ac_dir
34719 if test "$ac_find_includes" != "" ; then
34720 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34721 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34723 if test "x$ac_find_includes" = "x/usr/include"; then
34724 ac_path_to_include=""
34726 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34728 if test $result = 0; then
34729 ac_path_to_include=""
34731 ac_path_to_include=" -I$ac_find_includes"
34735 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34737 { echo "$as_me:$LINENO: result: not found" >&5
34738 echo "${ECHO_T}not found" >&6; }
34741 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34742 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34743 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34744 echo $ECHO_N "(cached) $ECHO_C" >&6
34746 cat >conftest.$ac_ext <<_ACEOF
34749 cat confdefs.h >>conftest.$ac_ext
34750 cat >>conftest.$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34756 rm -f conftest.$ac_objext
34757 if { (ac_try="$ac_compile"
34758 case "(($ac_try" in
34759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34760 *) ac_try_echo=$ac_try;;
34762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34763 (eval "$ac_compile") 2>conftest.er1
34765 grep -v '^ *+' conftest.er1 >conftest.err
34767 cat conftest.err >&5
34768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34769 (exit $ac_status); } && {
34770 test -z "$ac_c_werror_flag" ||
34771 test ! -s conftest.err
34772 } && test -s conftest.$ac_objext; then
34773 ac_cv_header_GL_gl_h=yes
34775 echo "$as_me: failed program was:" >&5
34776 sed 's/^/| /' conftest.$ac_ext >&5
34778 ac_cv_header_GL_gl_h=no
34781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34783 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34784 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34785 if test $ac_cv_header_GL_gl_h = yes; then
34787 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34788 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34789 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34790 echo $ECHO_N "(cached) $ECHO_C" >&6
34792 cat >conftest.$ac_ext <<_ACEOF
34795 cat confdefs.h >>conftest.$ac_ext
34796 cat >>conftest.$ac_ext <<_ACEOF
34797 /* end confdefs.h. */
34800 #include <GL/glu.h>
34802 rm -f conftest.$ac_objext
34803 if { (ac_try="$ac_compile"
34804 case "(($ac_try" in
34805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34806 *) ac_try_echo=$ac_try;;
34808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34809 (eval "$ac_compile") 2>conftest.er1
34811 grep -v '^ *+' conftest.er1 >conftest.err
34813 cat conftest.err >&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); } && {
34816 test -z "$ac_c_werror_flag" ||
34817 test ! -s conftest.err
34818 } && test -s conftest.$ac_objext; then
34819 ac_cv_header_GL_glu_h=yes
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.$ac_ext >&5
34824 ac_cv_header_GL_glu_h=no
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34829 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34830 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34831 if test $ac_cv_header_GL_glu_h = yes; then
34835 { echo "$as_me:$LINENO: checking for -lGL" >&5
34836 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34839 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34841 for ac_extension in a so sl dylib dll.a; do
34842 if test -f "$ac_dir/libGL.$ac_extension"; then
34843 ac_find_libraries=$ac_dir
34849 if test "$ac_find_libraries" != "" ; then
34850 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34851 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34854 if test "$ac_find_libraries" = "default location"; then
34857 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34859 if test $result = 0; then
34862 ac_path_to_link=" -L$ac_find_libraries"
34866 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34867 LDFLAGS_GL="$ac_path_to_link"
34870 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34871 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34874 for ac_dir in $SEARCH_LIB
34876 for ac_extension in a so sl dylib dll.a; do
34877 if test -f "$ac_dir/libGLU.$ac_extension"; then
34878 ac_find_libraries=$ac_dir
34884 if test "$ac_find_libraries" != "" ; then
34886 if test "$ac_find_libraries" = "default location"; then
34889 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34891 if test $result = 0; then
34894 ac_path_to_link=" -L$ac_find_libraries"
34898 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34899 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34900 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34904 OPENGL_LIBS="-lGL -lGLU"
34905 { echo "$as_me:$LINENO: result: yes" >&5
34906 echo "${ECHO_T}yes" >&6; }
34908 { echo "$as_me:$LINENO: result: no" >&5
34909 echo "${ECHO_T}no" >&6; }
34912 { echo "$as_me:$LINENO: result: no" >&5
34913 echo "${ECHO_T}no" >&6; }
34916 if test "$found_gl" != 1; then
34917 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34918 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34921 for ac_dir in $SEARCH_LIB
34923 for ac_extension in a so sl dylib dll.a; do
34924 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34925 ac_find_libraries=$ac_dir
34931 if test "$ac_find_libraries" != "" ; then
34933 if test "$ac_find_libraries" = "default location"; then
34936 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34938 if test $result = 0; then
34941 ac_path_to_link=" -L$ac_find_libraries"
34945 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34946 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34947 { echo "$as_me:$LINENO: result: yes" >&5
34948 echo "${ECHO_T}yes" >&6; }
34950 { echo "$as_me:$LINENO: result: no" >&5
34951 echo "${ECHO_T}no" >&6; }
34963 if test "x$OPENGL_LIBS" = "x"; then
34964 if test "$wxUSE_OPENGL" = "yes"; then
34965 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34966 echo "$as_me: error: OpenGL libraries not available" >&2;}
34967 { (exit 1); exit 1; }; }
34969 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34970 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34976 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34977 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34981 if test "$wxUSE_OPENGL" = "auto"; then
34985 if test "$wxUSE_OPENGL" = "yes"; then
34987 cat >>confdefs.h <<\_ACEOF
34988 #define wxUSE_OPENGL 1
34991 cat >>confdefs.h <<\_ACEOF
34992 #define wxUSE_GLCANVAS 1
34995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35000 if test -n "$TOOLKIT" ; then
35001 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35006 if test "$wxUSE_SHARED" = "yes"; then
35010 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35011 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35016 if test "$wxUSE_SHARED" = "yes"; then
35020 *-*-cygwin* | *-*-mingw* )
35021 wx_cv_version_script=no
35025 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35026 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35027 if test "${wx_cv_version_script+set}" = set; then
35028 echo $ECHO_N "(cached) $ECHO_C" >&6
35031 echo "VER_1 { *; };" >conftest.sym
35032 echo "int main() { return 0; }" >conftest.cpp
35035 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35036 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35038 (eval $ac_try) 2>&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); }; } ; then
35042 if test -s conftest.stderr ; then
35043 wx_cv_version_script=no
35045 wx_cv_version_script=yes
35048 wx_cv_version_script=no
35051 if test $wx_cv_version_script = yes
35053 echo "struct B { virtual ~B() { } }; \
35054 struct D : public B { }; \
35055 void F() { D d; }" > conftest.cpp
35058 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35059 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35061 (eval $ac_try) 2>&5
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); }; } &&
35066 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35067 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069 (eval $ac_try) 2>&5
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); }; }
35075 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35076 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; }
35083 wx_cv_version_script=yes
35085 wx_cv_version_script=no
35090 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35091 rm -f conftest1.output conftest2.output conftest3.output
35094 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35095 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35097 if test $wx_cv_version_script = yes ; then
35098 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35104 if test "$wxUSE_VISIBILITY" != "no"; then
35107 if test -n "$GCC"; then
35108 CFLAGS_VISIBILITY="-fvisibility=hidden"
35109 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35110 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35111 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35112 if test "${wx_cv_cc_visibility+set}" = set; then
35113 echo $ECHO_N "(cached) $ECHO_C" >&6
35116 wx_save_CXXFLAGS="$CXXFLAGS"
35117 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35119 ac_cpp='$CXXCPP $CPPFLAGS'
35120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35124 cat >conftest.$ac_ext <<_ACEOF
35127 cat confdefs.h >>conftest.$ac_ext
35128 cat >>conftest.$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35131 /* we need gcc >= 4.0, older versions with visibility support
35132 didn't have class visibility: */
35133 #if defined(__GNUC__) && __GNUC__ < 4
35134 error this gcc is too old;
35137 /* visibility only makes sense for ELF shared libs: */
35138 #if !defined(__ELF__) && !defined(__APPLE__)
35139 error this platform has no visibility;
35142 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35143 #if defined(__clang__)
35144 clang compiler is still broken w.r.t. visibility;
35147 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35148 extern __attribute__((__visibility__("default"))) int exportedvar;
35149 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35150 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35151 class __attribute__((__visibility__("default"))) Foo {
35163 rm -f conftest.$ac_objext
35164 if { (ac_try="$ac_compile"
35165 case "(($ac_try" in
35166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35167 *) ac_try_echo=$ac_try;;
35169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35170 (eval "$ac_compile") 2>conftest.er1
35172 grep -v '^ *+' conftest.er1 >conftest.err
35174 cat conftest.err >&5
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); } && {
35177 test -z "$ac_cxx_werror_flag" ||
35178 test ! -s conftest.err
35179 } && test -s conftest.$ac_objext; then
35180 wx_cv_cc_visibility=yes
35182 echo "$as_me: failed program was:" >&5
35183 sed 's/^/| /' conftest.$ac_ext >&5
35185 wx_cv_cc_visibility=no
35188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35190 ac_cpp='$CPP $CPPFLAGS'
35191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35195 CXXFLAGS="$wx_save_CXXFLAGS"
35198 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35199 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35200 if test $wx_cv_cc_visibility = yes; then
35201 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35202 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35203 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35207 wx_save_CXXFLAGS="$CXXFLAGS"
35208 wx_save_LDFLAGS="$LDFLAGS"
35209 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35210 LDFLAGS="$LDFLAGS -shared -fPIC"
35212 ac_cpp='$CXXCPP $CPPFLAGS'
35213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35217 cat >conftest.$ac_ext <<_ACEOF
35220 cat confdefs.h >>conftest.$ac_ext
35221 cat >>conftest.$ac_ext <<_ACEOF
35222 /* end confdefs.h. */
35230 std::string s("hello");
35237 rm -f conftest.$ac_objext conftest$ac_exeext
35238 if { (ac_try="$ac_link"
35239 case "(($ac_try" in
35240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35241 *) ac_try_echo=$ac_try;;
35243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35244 (eval "$ac_link") 2>conftest.er1
35246 grep -v '^ *+' conftest.er1 >conftest.err
35248 cat conftest.err >&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } && {
35251 test -z "$ac_cxx_werror_flag" ||
35252 test ! -s conftest.err
35253 } && test -s conftest$ac_exeext &&
35254 $as_test_x conftest$ac_exeext; then
35255 wx_cv_cc_broken_libstdcxx_visibility=no
35257 echo "$as_me: failed program was:" >&5
35258 sed 's/^/| /' conftest.$ac_ext >&5
35260 wx_cv_cc_broken_libstdcxx_visibility=yes
35263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35264 conftest$ac_exeext conftest.$ac_ext
35266 ac_cpp='$CPP $CPPFLAGS'
35267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271 CXXFLAGS="$wx_save_CXXFLAGS"
35272 LDFLAGS="$wx_save_LDFLAGS"
35275 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35276 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35278 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35279 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35280 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35281 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 ac_cpp='$CXXCPP $CPPFLAGS'
35287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35291 cat >conftest.$ac_ext <<_ACEOF
35294 cat confdefs.h >>conftest.$ac_ext
35295 cat >>conftest.$ac_ext <<_ACEOF
35296 /* end confdefs.h. */
35298 #pragma GCC visibility push(default)
35300 #pragma GCC visibility pop
35306 std::string s("hello");
35313 rm -f conftest.$ac_objext conftest$ac_exeext
35314 if { (ac_try="$ac_link"
35315 case "(($ac_try" in
35316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35317 *) ac_try_echo=$ac_try;;
35319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35320 (eval "$ac_link") 2>conftest.er1
35322 grep -v '^ *+' conftest.er1 >conftest.err
35324 cat conftest.err >&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); } && {
35327 test -z "$ac_cxx_werror_flag" ||
35328 test ! -s conftest.err
35329 } && test -s conftest$ac_exeext &&
35330 $as_test_x conftest$ac_exeext; then
35331 wx_cv_cc_visibility_workaround=no
35333 echo "$as_me: failed program was:" >&5
35334 sed 's/^/| /' conftest.$ac_ext >&5
35336 wx_cv_cc_visibility_workaround=yes
35339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35340 conftest$ac_exeext conftest.$ac_ext
35342 ac_cpp='$CPP $CPPFLAGS'
35343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35350 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35351 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35353 if test $wx_cv_cc_visibility_workaround = no; then
35354 wx_cv_cc_visibility=no
35359 if test $wx_cv_cc_visibility = yes; then
35360 cat >>confdefs.h <<\_ACEOF
35361 #define HAVE_VISIBILITY 1
35364 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35365 cat >>confdefs.h <<\_ACEOF
35366 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35371 CFLAGS_VISIBILITY=""
35372 CXXFLAGS_VISIBILITY=""
35380 if test "x$SUNCXX" = xyes; then
35381 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35382 WXCONFIG_RPATH="-R\$libdir"
35385 *-*-linux* | *-*-gnu* )
35386 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35387 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35392 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35394 saveLdflags="$LDFLAGS"
35395 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35396 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35397 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35398 cat >conftest.$ac_ext <<_ACEOF
35401 cat confdefs.h >>conftest.$ac_ext
35402 cat >>conftest.$ac_ext <<_ACEOF
35403 /* end confdefs.h. */
35413 rm -f conftest.$ac_objext conftest$ac_exeext
35414 if { (ac_try="$ac_link"
35415 case "(($ac_try" in
35416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35417 *) ac_try_echo=$ac_try;;
35419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35420 (eval "$ac_link") 2>conftest.er1
35422 grep -v '^ *+' conftest.er1 >conftest.err
35424 cat conftest.err >&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } && {
35427 test -z "$ac_c_werror_flag" ||
35428 test ! -s conftest.err
35429 } && test -s conftest$ac_exeext &&
35430 $as_test_x conftest$ac_exeext; then
35432 { echo "$as_me:$LINENO: result: yes" >&5
35433 echo "${ECHO_T}yes" >&6; }
35434 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35435 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35438 echo "$as_me: failed program was:" >&5
35439 sed 's/^/| /' conftest.$ac_ext >&5
35442 { echo "$as_me:$LINENO: result: no" >&5
35443 echo "${ECHO_T}no" >&6; }
35444 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35445 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35446 LDFLAGS="$saveLdflags -Wl,-R,/"
35447 cat >conftest.$ac_ext <<_ACEOF
35450 cat confdefs.h >>conftest.$ac_ext
35451 cat >>conftest.$ac_ext <<_ACEOF
35452 /* end confdefs.h. */
35462 rm -f conftest.$ac_objext conftest$ac_exeext
35463 if { (ac_try="$ac_link"
35464 case "(($ac_try" in
35465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35466 *) ac_try_echo=$ac_try;;
35468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35469 (eval "$ac_link") 2>conftest.er1
35471 grep -v '^ *+' conftest.er1 >conftest.err
35473 cat conftest.err >&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } && {
35476 test -z "$ac_c_werror_flag" ||
35477 test ! -s conftest.err
35478 } && test -s conftest$ac_exeext &&
35479 $as_test_x conftest$ac_exeext; then
35481 { echo "$as_me:$LINENO: result: yes" >&5
35482 echo "${ECHO_T}yes" >&6; }
35483 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35484 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35487 echo "$as_me: failed program was:" >&5
35488 sed 's/^/| /' conftest.$ac_ext >&5
35491 { echo "$as_me:$LINENO: result: no" >&5
35492 echo "${ECHO_T}no" >&6; }
35496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35497 conftest$ac_exeext conftest.$ac_ext
35501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35502 conftest$ac_exeext conftest.$ac_ext
35503 LDFLAGS="$saveLdflags"
35507 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35508 if test "$install_name_tool" -a -x "$install_name_tool"; then
35509 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35510 cat <<EOF >change-install-names
35512 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35513 for i in \${libnames} ; do
35514 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35515 for dep in \${libnames} ; do
35516 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35520 chmod +x change-install-names
35521 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35524 HEADER_PAD_OPTION="-headerpad_max_install_names"
35527 *-*-cygwin* | *-*-mingw32* )
35531 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35532 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35538 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35540 if test $wxUSE_RPATH = "no"; then
35541 SAMPLES_RPATH_FLAG=''
35542 DYLIB_PATH_POSTLINK=''
35550 config_linkage_component="-static"
35557 lib_unicode_suffix=
35559 if test "$wxUSE_UNICODE" = "yes"; then
35560 lib_unicode_suffix=u
35561 WX_CHARTYPE="unicode"
35565 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35566 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35569 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35573 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35575 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35577 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35580 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35581 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35583 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35585 if test "${TOOLKIT_DIR}" = "os2"; then
35586 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35588 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35593 if test "$wxUSE_OLD_COCOA" = 1; then
35596 ac_cpp='$CPP $CPPFLAGS'
35597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35603 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35604 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35605 cat >conftest.$ac_ext <<_ACEOF
35608 cat confdefs.h >>conftest.$ac_ext
35609 cat >>conftest.$ac_ext <<_ACEOF
35610 /* end confdefs.h. */
35611 #include <AppKit/NSEvent.h>
35612 #include <CoreFoundation/CoreFoundation.h>
35622 rm -f conftest.$ac_objext
35623 if { (ac_try="$ac_compile"
35624 case "(($ac_try" in
35625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35626 *) ac_try_echo=$ac_try;;
35628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35629 (eval "$ac_compile") 2>conftest.er1
35631 grep -v '^ *+' conftest.er1 >conftest.err
35633 cat conftest.err >&5
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); } && {
35636 test -z "$ac_c_werror_flag" ||
35637 test ! -s conftest.err
35638 } && test -s conftest.$ac_objext; then
35639 { echo "$as_me:$LINENO: result: no" >&5
35640 echo "${ECHO_T}no" >&6; }
35642 echo "$as_me: failed program was:" >&5
35643 sed 's/^/| /' conftest.$ac_ext >&5
35645 { echo "$as_me:$LINENO: result: yes" >&5
35646 echo "${ECHO_T}yes" >&6; }
35647 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35648 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35649 cat >conftest.$ac_ext <<_ACEOF
35652 cat confdefs.h >>conftest.$ac_ext
35653 cat >>conftest.$ac_ext <<_ACEOF
35654 /* end confdefs.h. */
35655 #define __Point__ 1
35656 #include <AppKit/NSEvent.h>
35657 #include <CoreFoundation/CoreFoundation.h>
35667 rm -f conftest.$ac_objext
35668 if { (ac_try="$ac_compile"
35669 case "(($ac_try" in
35670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35671 *) ac_try_echo=$ac_try;;
35673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35674 (eval "$ac_compile") 2>conftest.er1
35676 grep -v '^ *+' conftest.er1 >conftest.err
35678 cat conftest.err >&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } && {
35681 test -z "$ac_c_werror_flag" ||
35682 test ! -s conftest.err
35683 } && test -s conftest.$ac_objext; then
35684 { echo "$as_me:$LINENO: result: yes" >&5
35685 echo "${ECHO_T}yes" >&6; }
35686 cat >>confdefs.h <<\_ACEOF
35687 #define __Point__ 1
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35695 { { echo "$as_me:$LINENO: error: no
35696 See \`config.log' for more details." >&5
35697 echo "$as_me: error: no
35698 See \`config.log' for more details." >&2;}
35699 { (exit 1); exit 1; }; }
35703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35709 ac_cpp='$CPP $CPPFLAGS'
35710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35717 { echo "$as_me:$LINENO: checking for mode_t" >&5
35718 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35719 if test "${ac_cv_type_mode_t+set}" = set; then
35720 echo $ECHO_N "(cached) $ECHO_C" >&6
35722 cat >conftest.$ac_ext <<_ACEOF
35725 cat confdefs.h >>conftest.$ac_ext
35726 cat >>conftest.$ac_ext <<_ACEOF
35727 /* end confdefs.h. */
35728 $ac_includes_default
35729 typedef mode_t ac__type_new_;
35733 if ((ac__type_new_ *) 0)
35735 if (sizeof (ac__type_new_))
35741 rm -f conftest.$ac_objext
35742 if { (ac_try="$ac_compile"
35743 case "(($ac_try" in
35744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35745 *) ac_try_echo=$ac_try;;
35747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35748 (eval "$ac_compile") 2>conftest.er1
35750 grep -v '^ *+' conftest.er1 >conftest.err
35752 cat conftest.err >&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); } && {
35755 test -z "$ac_c_werror_flag" ||
35756 test ! -s conftest.err
35757 } && test -s conftest.$ac_objext; then
35758 ac_cv_type_mode_t=yes
35760 echo "$as_me: failed program was:" >&5
35761 sed 's/^/| /' conftest.$ac_ext >&5
35763 ac_cv_type_mode_t=no
35766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35768 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35769 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35770 if test $ac_cv_type_mode_t = yes; then
35774 cat >>confdefs.h <<_ACEOF
35780 { echo "$as_me:$LINENO: checking for off_t" >&5
35781 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35782 if test "${ac_cv_type_off_t+set}" = set; then
35783 echo $ECHO_N "(cached) $ECHO_C" >&6
35785 cat >conftest.$ac_ext <<_ACEOF
35788 cat confdefs.h >>conftest.$ac_ext
35789 cat >>conftest.$ac_ext <<_ACEOF
35790 /* end confdefs.h. */
35791 $ac_includes_default
35792 typedef off_t ac__type_new_;
35796 if ((ac__type_new_ *) 0)
35798 if (sizeof (ac__type_new_))
35804 rm -f conftest.$ac_objext
35805 if { (ac_try="$ac_compile"
35806 case "(($ac_try" in
35807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35808 *) ac_try_echo=$ac_try;;
35810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35811 (eval "$ac_compile") 2>conftest.er1
35813 grep -v '^ *+' conftest.er1 >conftest.err
35815 cat conftest.err >&5
35816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35817 (exit $ac_status); } && {
35818 test -z "$ac_c_werror_flag" ||
35819 test ! -s conftest.err
35820 } && test -s conftest.$ac_objext; then
35821 ac_cv_type_off_t=yes
35823 echo "$as_me: failed program was:" >&5
35824 sed 's/^/| /' conftest.$ac_ext >&5
35826 ac_cv_type_off_t=no
35829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35831 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35832 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35833 if test $ac_cv_type_off_t = yes; then
35837 cat >>confdefs.h <<_ACEOF
35838 #define off_t long int
35843 { echo "$as_me:$LINENO: checking for pid_t" >&5
35844 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35845 if test "${ac_cv_type_pid_t+set}" = set; then
35846 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 cat >conftest.$ac_ext <<_ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854 $ac_includes_default
35855 typedef pid_t ac__type_new_;
35859 if ((ac__type_new_ *) 0)
35861 if (sizeof (ac__type_new_))
35867 rm -f conftest.$ac_objext
35868 if { (ac_try="$ac_compile"
35869 case "(($ac_try" in
35870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35871 *) ac_try_echo=$ac_try;;
35873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35874 (eval "$ac_compile") 2>conftest.er1
35876 grep -v '^ *+' conftest.er1 >conftest.err
35878 cat conftest.err >&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } && {
35881 test -z "$ac_c_werror_flag" ||
35882 test ! -s conftest.err
35883 } && test -s conftest.$ac_objext; then
35884 ac_cv_type_pid_t=yes
35886 echo "$as_me: failed program was:" >&5
35887 sed 's/^/| /' conftest.$ac_ext >&5
35889 ac_cv_type_pid_t=no
35892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35894 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35895 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35896 if test $ac_cv_type_pid_t = yes; then
35900 cat >>confdefs.h <<_ACEOF
35906 { echo "$as_me:$LINENO: checking for size_t" >&5
35907 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35908 if test "${ac_cv_type_size_t+set}" = set; then
35909 echo $ECHO_N "(cached) $ECHO_C" >&6
35911 cat >conftest.$ac_ext <<_ACEOF
35914 cat confdefs.h >>conftest.$ac_ext
35915 cat >>conftest.$ac_ext <<_ACEOF
35916 /* end confdefs.h. */
35917 $ac_includes_default
35918 typedef size_t ac__type_new_;
35922 if ((ac__type_new_ *) 0)
35924 if (sizeof (ac__type_new_))
35930 rm -f conftest.$ac_objext
35931 if { (ac_try="$ac_compile"
35932 case "(($ac_try" in
35933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35934 *) ac_try_echo=$ac_try;;
35936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35937 (eval "$ac_compile") 2>conftest.er1
35939 grep -v '^ *+' conftest.er1 >conftest.err
35941 cat conftest.err >&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); } && {
35944 test -z "$ac_c_werror_flag" ||
35945 test ! -s conftest.err
35946 } && test -s conftest.$ac_objext; then
35947 ac_cv_type_size_t=yes
35949 echo "$as_me: failed program was:" >&5
35950 sed 's/^/| /' conftest.$ac_ext >&5
35952 ac_cv_type_size_t=no
35955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35957 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35958 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35959 if test $ac_cv_type_size_t = yes; then
35963 cat >>confdefs.h <<_ACEOF
35964 #define size_t unsigned int
35970 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35971 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35972 if test "${ac_cv_type_ssize_t+set}" = set; then
35973 echo $ECHO_N "(cached) $ECHO_C" >&6
35975 cat >conftest.$ac_ext <<_ACEOF
35978 cat confdefs.h >>conftest.$ac_ext
35979 cat >>conftest.$ac_ext <<_ACEOF
35980 /* end confdefs.h. */
35981 $ac_includes_default
35982 typedef ssize_t ac__type_new_;
35986 if ((ac__type_new_ *) 0)
35988 if (sizeof (ac__type_new_))
35994 rm -f conftest.$ac_objext
35995 if { (ac_try="$ac_compile"
35996 case "(($ac_try" in
35997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35998 *) ac_try_echo=$ac_try;;
36000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36001 (eval "$ac_compile") 2>conftest.er1
36003 grep -v '^ *+' conftest.er1 >conftest.err
36005 cat conftest.err >&5
36006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007 (exit $ac_status); } && {
36008 test -z "$ac_c_werror_flag" ||
36009 test ! -s conftest.err
36010 } && test -s conftest.$ac_objext; then
36011 ac_cv_type_ssize_t=yes
36013 echo "$as_me: failed program was:" >&5
36014 sed 's/^/| /' conftest.$ac_ext >&5
36016 ac_cv_type_ssize_t=no
36019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36021 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36022 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36023 if test $ac_cv_type_ssize_t = yes; then
36025 cat >>confdefs.h <<_ACEOF
36026 #define HAVE_SSIZE_T 1
36034 ac_cpp='$CXXCPP $CPPFLAGS'
36035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36038 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36039 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36040 if test "${wx_cv_size_t_is_uint+set}" = set; then
36041 echo $ECHO_N "(cached) $ECHO_C" >&6
36044 cat >conftest.$ac_ext <<_ACEOF
36047 cat confdefs.h >>conftest.$ac_ext
36048 cat >>conftest.$ac_ext <<_ACEOF
36049 /* end confdefs.h. */
36050 #include <stddef.h>
36057 struct Foo { void foo(size_t); void foo(unsigned int); };
36065 rm -f conftest.$ac_objext
36066 if { (ac_try="$ac_compile"
36067 case "(($ac_try" in
36068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36069 *) ac_try_echo=$ac_try;;
36071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36072 (eval "$ac_compile") 2>conftest.er1
36074 grep -v '^ *+' conftest.er1 >conftest.err
36076 cat conftest.err >&5
36077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078 (exit $ac_status); } && {
36079 test -z "$ac_cxx_werror_flag" ||
36080 test ! -s conftest.err
36081 } && test -s conftest.$ac_objext; then
36082 wx_cv_size_t_is_uint=no
36084 echo "$as_me: failed program was:" >&5
36085 sed 's/^/| /' conftest.$ac_ext >&5
36087 wx_cv_size_t_is_uint=yes
36091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36095 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36096 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36098 if test "$wx_cv_size_t_is_uint" = "yes"; then
36099 cat >>confdefs.h <<\_ACEOF
36100 #define wxSIZE_T_IS_UINT 1
36104 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36105 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36106 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36107 echo $ECHO_N "(cached) $ECHO_C" >&6
36109 cat >conftest.$ac_ext <<_ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36115 #include <stddef.h>
36122 struct Foo { void foo(size_t); void foo(unsigned long); };
36130 rm -f conftest.$ac_objext
36131 if { (ac_try="$ac_compile"
36132 case "(($ac_try" in
36133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36134 *) ac_try_echo=$ac_try;;
36136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36137 (eval "$ac_compile") 2>conftest.er1
36139 grep -v '^ *+' conftest.er1 >conftest.err
36141 cat conftest.err >&5
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); } && {
36144 test -z "$ac_cxx_werror_flag" ||
36145 test ! -s conftest.err
36146 } && test -s conftest.$ac_objext; then
36147 wx_cv_size_t_is_ulong=no
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.$ac_ext >&5
36152 wx_cv_size_t_is_ulong=yes
36156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36159 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36160 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36162 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36163 cat >>confdefs.h <<\_ACEOF
36164 #define wxSIZE_T_IS_ULONG 1
36170 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36171 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36172 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36173 echo $ECHO_N "(cached) $ECHO_C" >&6
36175 cat >conftest.$ac_ext <<_ACEOF
36178 cat confdefs.h >>conftest.$ac_ext
36179 cat >>conftest.$ac_ext <<_ACEOF
36180 /* end confdefs.h. */
36188 struct Foo { void foo(wchar_t);
36189 void foo(unsigned short);
36190 void foo(unsigned int);
36191 void foo(unsigned long); };
36199 rm -f conftest.$ac_objext
36200 if { (ac_try="$ac_compile"
36201 case "(($ac_try" in
36202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36203 *) ac_try_echo=$ac_try;;
36205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36206 (eval "$ac_compile") 2>conftest.er1
36208 grep -v '^ *+' conftest.er1 >conftest.err
36210 cat conftest.err >&5
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); } && {
36213 test -z "$ac_cxx_werror_flag" ||
36214 test ! -s conftest.err
36215 } && test -s conftest.$ac_objext; then
36216 wx_cv_wchar_t_is_separate_type=yes
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36221 wx_cv_wchar_t_is_separate_type=no
36225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36228 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36229 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36231 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36232 cat >>confdefs.h <<\_ACEOF
36233 #define wxWCHAR_T_IS_REAL_TYPE 1
36237 cat >>confdefs.h <<\_ACEOF
36238 #define wxWCHAR_T_IS_REAL_TYPE 0
36244 ac_cpp='$CPP $CPPFLAGS'
36245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36250 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36251 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36252 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36253 echo $ECHO_N "(cached) $ECHO_C" >&6
36256 cat >conftest.$ac_ext <<_ACEOF
36259 cat confdefs.h >>conftest.$ac_ext
36260 cat >>conftest.$ac_ext <<_ACEOF
36261 /* end confdefs.h. */
36275 rm -f conftest.$ac_objext
36276 if { (ac_try="$ac_compile"
36277 case "(($ac_try" in
36278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36279 *) ac_try_echo=$ac_try;;
36281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36282 (eval "$ac_compile") 2>conftest.er1
36284 grep -v '^ *+' conftest.er1 >conftest.err
36286 cat conftest.err >&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); } && {
36289 test -z "$ac_c_werror_flag" ||
36290 test ! -s conftest.err
36291 } && test -s conftest.$ac_objext; then
36293 wx_cv_struct_pw_gecos=yes
36296 echo "$as_me: failed program was:" >&5
36297 sed 's/^/| /' conftest.$ac_ext >&5
36300 wx_cv_struct_pw_gecos=no
36305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36309 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36310 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36312 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36313 cat >>confdefs.h <<\_ACEOF
36314 #define HAVE_PW_GECOS 1
36323 for ac_func in wcslen
36325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36329 echo $ECHO_N "(cached) $ECHO_C" >&6
36331 cat >conftest.$ac_ext <<_ACEOF
36334 cat confdefs.h >>conftest.$ac_ext
36335 cat >>conftest.$ac_ext <<_ACEOF
36336 /* end confdefs.h. */
36337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36339 #define $ac_func innocuous_$ac_func
36341 /* System header to define __stub macros and hopefully few prototypes,
36342 which can conflict with char $ac_func (); below.
36343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36344 <limits.h> exists even on freestanding compilers. */
36347 # include <limits.h>
36349 # include <assert.h>
36354 /* Override any GCC internal prototype to avoid an error.
36355 Use char because int might match the return type of a GCC
36356 builtin and then its argument prototype would still apply. */
36361 /* The GNU C library defines this for functions which it implements
36362 to always fail with ENOSYS. Some functions are actually named
36363 something starting with __ and the normal name is an alias. */
36364 #if defined __stub_$ac_func || defined __stub___$ac_func
36371 return $ac_func ();
36376 rm -f conftest.$ac_objext conftest$ac_exeext
36377 if { (ac_try="$ac_link"
36378 case "(($ac_try" in
36379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36380 *) ac_try_echo=$ac_try;;
36382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36383 (eval "$ac_link") 2>conftest.er1
36385 grep -v '^ *+' conftest.er1 >conftest.err
36387 cat conftest.err >&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); } && {
36390 test -z "$ac_c_werror_flag" ||
36391 test ! -s conftest.err
36392 } && test -s conftest$ac_exeext &&
36393 $as_test_x conftest$ac_exeext; then
36394 eval "$as_ac_var=yes"
36396 echo "$as_me: failed program was:" >&5
36397 sed 's/^/| /' conftest.$ac_ext >&5
36399 eval "$as_ac_var=no"
36402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36403 conftest$ac_exeext conftest.$ac_ext
36405 ac_res=`eval echo '${'$as_ac_var'}'`
36406 { echo "$as_me:$LINENO: result: $ac_res" >&5
36407 echo "${ECHO_T}$ac_res" >&6; }
36408 if test `eval echo '${'$as_ac_var'}'` = yes; then
36409 cat >>confdefs.h <<_ACEOF
36410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36417 if test "$WCSLEN_FOUND" = 0; then
36418 if test "$TOOLKIT" = "MSW"; then
36419 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36420 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36421 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36422 echo $ECHO_N "(cached) $ECHO_C" >&6
36424 ac_check_lib_save_LIBS=$LIBS
36425 LIBS="-lmsvcrt $LIBS"
36426 cat >conftest.$ac_ext <<_ACEOF
36429 cat confdefs.h >>conftest.$ac_ext
36430 cat >>conftest.$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36433 /* Override any GCC internal prototype to avoid an error.
36434 Use char because int might match the return type of a GCC
36435 builtin and then its argument prototype would still apply. */
36448 rm -f conftest.$ac_objext conftest$ac_exeext
36449 if { (ac_try="$ac_link"
36450 case "(($ac_try" in
36451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36452 *) ac_try_echo=$ac_try;;
36454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36455 (eval "$ac_link") 2>conftest.er1
36457 grep -v '^ *+' conftest.er1 >conftest.err
36459 cat conftest.err >&5
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); } && {
36462 test -z "$ac_c_werror_flag" ||
36463 test ! -s conftest.err
36464 } && test -s conftest$ac_exeext &&
36465 $as_test_x conftest$ac_exeext; then
36466 ac_cv_lib_msvcrt_wcslen=yes
36468 echo "$as_me: failed program was:" >&5
36469 sed 's/^/| /' conftest.$ac_ext >&5
36471 ac_cv_lib_msvcrt_wcslen=no
36474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36475 conftest$ac_exeext conftest.$ac_ext
36476 LIBS=$ac_check_lib_save_LIBS
36478 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36479 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36480 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36485 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36486 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36487 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36488 echo $ECHO_N "(cached) $ECHO_C" >&6
36490 ac_check_lib_save_LIBS=$LIBS
36492 cat >conftest.$ac_ext <<_ACEOF
36495 cat confdefs.h >>conftest.$ac_ext
36496 cat >>conftest.$ac_ext <<_ACEOF
36497 /* end confdefs.h. */
36499 /* Override any GCC internal prototype to avoid an error.
36500 Use char because int might match the return type of a GCC
36501 builtin and then its argument prototype would still apply. */
36514 rm -f conftest.$ac_objext conftest$ac_exeext
36515 if { (ac_try="$ac_link"
36516 case "(($ac_try" in
36517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36518 *) ac_try_echo=$ac_try;;
36520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36521 (eval "$ac_link") 2>conftest.er1
36523 grep -v '^ *+' conftest.er1 >conftest.err
36525 cat conftest.err >&5
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); } && {
36528 test -z "$ac_c_werror_flag" ||
36529 test ! -s conftest.err
36530 } && test -s conftest$ac_exeext &&
36531 $as_test_x conftest$ac_exeext; then
36532 ac_cv_lib_w_wcslen=yes
36534 echo "$as_me: failed program was:" >&5
36535 sed 's/^/| /' conftest.$ac_ext >&5
36537 ac_cv_lib_w_wcslen=no
36540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36541 conftest$ac_exeext conftest.$ac_ext
36542 LIBS=$ac_check_lib_save_LIBS
36544 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36545 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36546 if test $ac_cv_lib_w_wcslen = yes; then
36556 if test "$WCSLEN_FOUND" = 1; then
36557 cat >>confdefs.h <<\_ACEOF
36558 #define HAVE_WCSLEN 1
36569 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36572 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36574 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36575 echo $ECHO_N "(cached) $ECHO_C" >&6
36577 cat >conftest.$ac_ext <<_ACEOF
36580 cat confdefs.h >>conftest.$ac_ext
36581 cat >>conftest.$ac_ext <<_ACEOF
36582 /* end confdefs.h. */
36583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36585 #define $ac_func innocuous_$ac_func
36587 /* System header to define __stub macros and hopefully few prototypes,
36588 which can conflict with char $ac_func (); below.
36589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36590 <limits.h> exists even on freestanding compilers. */
36593 # include <limits.h>
36595 # include <assert.h>
36600 /* Override any GCC internal prototype to avoid an error.
36601 Use char because int might match the return type of a GCC
36602 builtin and then its argument prototype would still apply. */
36607 /* The GNU C library defines this for functions which it implements
36608 to always fail with ENOSYS. Some functions are actually named
36609 something starting with __ and the normal name is an alias. */
36610 #if defined __stub_$ac_func || defined __stub___$ac_func
36617 return $ac_func ();
36622 rm -f conftest.$ac_objext conftest$ac_exeext
36623 if { (ac_try="$ac_link"
36624 case "(($ac_try" in
36625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36626 *) ac_try_echo=$ac_try;;
36628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36629 (eval "$ac_link") 2>conftest.er1
36631 grep -v '^ *+' conftest.er1 >conftest.err
36633 cat conftest.err >&5
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); } && {
36636 test -z "$ac_c_werror_flag" ||
36637 test ! -s conftest.err
36638 } && test -s conftest$ac_exeext &&
36639 $as_test_x conftest$ac_exeext; then
36640 eval "$as_ac_var=yes"
36642 echo "$as_me: failed program was:" >&5
36643 sed 's/^/| /' conftest.$ac_ext >&5
36645 eval "$as_ac_var=no"
36648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36649 conftest$ac_exeext conftest.$ac_ext
36651 ac_res=`eval echo '${'$as_ac_var'}'`
36652 { echo "$as_me:$LINENO: result: $ac_res" >&5
36653 echo "${ECHO_T}$ac_res" >&6; }
36654 if test `eval echo '${'$as_ac_var'}'` = yes; then
36655 cat >>confdefs.h <<_ACEOF
36656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36663 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36664 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36667 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36668 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36669 if test "${ac_cv_type_mbstate_t+set}" = set; then
36670 echo $ECHO_N "(cached) $ECHO_C" >&6
36672 cat >conftest.$ac_ext <<_ACEOF
36675 cat confdefs.h >>conftest.$ac_ext
36676 cat >>conftest.$ac_ext <<_ACEOF
36677 /* end confdefs.h. */
36680 typedef mbstate_t ac__type_new_;
36684 if ((ac__type_new_ *) 0)
36686 if (sizeof (ac__type_new_))
36692 rm -f conftest.$ac_objext
36693 if { (ac_try="$ac_compile"
36694 case "(($ac_try" in
36695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36696 *) ac_try_echo=$ac_try;;
36698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36699 (eval "$ac_compile") 2>conftest.er1
36701 grep -v '^ *+' conftest.er1 >conftest.err
36703 cat conftest.err >&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); } && {
36706 test -z "$ac_c_werror_flag" ||
36707 test ! -s conftest.err
36708 } && test -s conftest.$ac_objext; then
36709 ac_cv_type_mbstate_t=yes
36711 echo "$as_me: failed program was:" >&5
36712 sed 's/^/| /' conftest.$ac_ext >&5
36714 ac_cv_type_mbstate_t=no
36717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36719 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36720 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36721 if test $ac_cv_type_mbstate_t = yes; then
36723 cat >>confdefs.h <<_ACEOF
36724 #define HAVE_MBSTATE_T 1
36728 for ac_func in wcsrtombs
36730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36734 echo $ECHO_N "(cached) $ECHO_C" >&6
36736 cat >conftest.$ac_ext <<_ACEOF
36739 cat confdefs.h >>conftest.$ac_ext
36740 cat >>conftest.$ac_ext <<_ACEOF
36741 /* end confdefs.h. */
36742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36744 #define $ac_func innocuous_$ac_func
36746 /* System header to define __stub macros and hopefully few prototypes,
36747 which can conflict with char $ac_func (); below.
36748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36749 <limits.h> exists even on freestanding compilers. */
36752 # include <limits.h>
36754 # include <assert.h>
36759 /* Override any GCC internal prototype to avoid an error.
36760 Use char because int might match the return type of a GCC
36761 builtin and then its argument prototype would still apply. */
36766 /* The GNU C library defines this for functions which it implements
36767 to always fail with ENOSYS. Some functions are actually named
36768 something starting with __ and the normal name is an alias. */
36769 #if defined __stub_$ac_func || defined __stub___$ac_func
36776 return $ac_func ();
36781 rm -f conftest.$ac_objext conftest$ac_exeext
36782 if { (ac_try="$ac_link"
36783 case "(($ac_try" in
36784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36785 *) ac_try_echo=$ac_try;;
36787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36788 (eval "$ac_link") 2>conftest.er1
36790 grep -v '^ *+' conftest.er1 >conftest.err
36792 cat conftest.err >&5
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); } && {
36795 test -z "$ac_c_werror_flag" ||
36796 test ! -s conftest.err
36797 } && test -s conftest$ac_exeext &&
36798 $as_test_x conftest$ac_exeext; then
36799 eval "$as_ac_var=yes"
36801 echo "$as_me: failed program was:" >&5
36802 sed 's/^/| /' conftest.$ac_ext >&5
36804 eval "$as_ac_var=no"
36807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36808 conftest$ac_exeext conftest.$ac_ext
36810 ac_res=`eval echo '${'$as_ac_var'}'`
36811 { echo "$as_me:$LINENO: result: $ac_res" >&5
36812 echo "${ECHO_T}$ac_res" >&6; }
36813 if test `eval echo '${'$as_ac_var'}'` = yes; then
36814 cat >>confdefs.h <<_ACEOF
36815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36827 for ac_func in snprintf vsnprintf vsscanf
36829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36833 echo $ECHO_N "(cached) $ECHO_C" >&6
36835 cat >conftest.$ac_ext <<_ACEOF
36838 cat confdefs.h >>conftest.$ac_ext
36839 cat >>conftest.$ac_ext <<_ACEOF
36840 /* end confdefs.h. */
36841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36843 #define $ac_func innocuous_$ac_func
36845 /* System header to define __stub macros and hopefully few prototypes,
36846 which can conflict with char $ac_func (); below.
36847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36848 <limits.h> exists even on freestanding compilers. */
36851 # include <limits.h>
36853 # include <assert.h>
36858 /* Override any GCC internal prototype to avoid an error.
36859 Use char because int might match the return type of a GCC
36860 builtin and then its argument prototype would still apply. */
36865 /* The GNU C library defines this for functions which it implements
36866 to always fail with ENOSYS. Some functions are actually named
36867 something starting with __ and the normal name is an alias. */
36868 #if defined __stub_$ac_func || defined __stub___$ac_func
36875 return $ac_func ();
36880 rm -f conftest.$ac_objext conftest$ac_exeext
36881 if { (ac_try="$ac_link"
36882 case "(($ac_try" in
36883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36884 *) ac_try_echo=$ac_try;;
36886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36887 (eval "$ac_link") 2>conftest.er1
36889 grep -v '^ *+' conftest.er1 >conftest.err
36891 cat conftest.err >&5
36892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36893 (exit $ac_status); } && {
36894 test -z "$ac_c_werror_flag" ||
36895 test ! -s conftest.err
36896 } && test -s conftest$ac_exeext &&
36897 $as_test_x conftest$ac_exeext; then
36898 eval "$as_ac_var=yes"
36900 echo "$as_me: failed program was:" >&5
36901 sed 's/^/| /' conftest.$ac_ext >&5
36903 eval "$as_ac_var=no"
36906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36907 conftest$ac_exeext conftest.$ac_ext
36909 ac_res=`eval echo '${'$as_ac_var'}'`
36910 { echo "$as_me:$LINENO: result: $ac_res" >&5
36911 echo "${ECHO_T}$ac_res" >&6; }
36912 if test `eval echo '${'$as_ac_var'}'` = yes; then
36913 cat >>confdefs.h <<_ACEOF
36914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36927 if test "$ac_cv_func_vsnprintf" = "yes"; then
36928 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36929 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36930 if test "${wx_cv_func_vsnprintf_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;
36956 vsnprintf(buf, 10u, "%s", ap);
36962 rm -f conftest.$ac_objext
36963 if { (ac_try="$ac_compile"
36964 case "(($ac_try" in
36965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36966 *) ac_try_echo=$ac_try;;
36968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36969 (eval "$ac_compile") 2>conftest.er1
36971 grep -v '^ *+' conftest.er1 >conftest.err
36973 cat conftest.err >&5
36974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36975 (exit $ac_status); } && {
36976 test -z "$ac_cxx_werror_flag" ||
36977 test ! -s conftest.err
36978 } && test -s conftest.$ac_objext; then
36979 wx_cv_func_vsnprintf_decl=yes
36981 echo "$as_me: failed program was:" >&5
36982 sed 's/^/| /' conftest.$ac_ext >&5
36984 wx_cv_func_vsnprintf_decl=no
36988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36992 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36993 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36995 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36996 cat >>confdefs.h <<\_ACEOF
36997 #define HAVE_VSNPRINTF_DECL 1
37001 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37002 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37003 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37007 cat >conftest.$ac_ext <<_ACEOF
37010 cat confdefs.h >>conftest.$ac_ext
37011 cat >>conftest.$ac_ext <<_ACEOF
37012 /* end confdefs.h. */
37015 #include <stdarg.h>
37017 #if __MSL__ >= 0x6000
37019 using namespace std;
37029 const char *fmt = "%s";
37030 vsnprintf(buf, 10u, fmt, ap);
37036 rm -f conftest.$ac_objext
37037 if { (ac_try="$ac_compile"
37038 case "(($ac_try" in
37039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37040 *) ac_try_echo=$ac_try;;
37042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37043 (eval "$ac_compile") 2>conftest.er1
37045 grep -v '^ *+' conftest.er1 >conftest.err
37047 cat conftest.err >&5
37048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049 (exit $ac_status); } && {
37050 test -z "$ac_cxx_werror_flag" ||
37051 test ! -s conftest.err
37052 } && test -s conftest.$ac_objext; then
37053 wx_cv_func_broken_vsnprintf_decl=no
37055 echo "$as_me: failed program was:" >&5
37056 sed 's/^/| /' conftest.$ac_ext >&5
37058 wx_cv_func_broken_vsnprintf_decl=yes
37062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37066 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37067 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37069 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37070 cat >>confdefs.h <<\_ACEOF
37071 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37078 if test "$ac_cv_func_snprintf" = "yes"; then
37079 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37080 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37081 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37082 echo $ECHO_N "(cached) $ECHO_C" >&6
37085 cat >conftest.$ac_ext <<_ACEOF
37088 cat confdefs.h >>conftest.$ac_ext
37089 cat >>conftest.$ac_ext <<_ACEOF
37090 /* end confdefs.h. */
37093 #include <stdarg.h>
37095 #if __MSL__ >= 0x6000
37097 using namespace std;
37106 snprintf(buf, 10u, "%s", "wx");
37112 rm -f conftest.$ac_objext
37113 if { (ac_try="$ac_compile"
37114 case "(($ac_try" in
37115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37116 *) ac_try_echo=$ac_try;;
37118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37119 (eval "$ac_compile") 2>conftest.er1
37121 grep -v '^ *+' conftest.er1 >conftest.err
37123 cat conftest.err >&5
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); } && {
37126 test -z "$ac_cxx_werror_flag" ||
37127 test ! -s conftest.err
37128 } && test -s conftest.$ac_objext; then
37129 wx_cv_func_snprintf_decl=yes
37131 echo "$as_me: failed program was:" >&5
37132 sed 's/^/| /' conftest.$ac_ext >&5
37134 wx_cv_func_snprintf_decl=no
37138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37142 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37143 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37145 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37146 cat >>confdefs.h <<\_ACEOF
37147 #define HAVE_SNPRINTF_DECL 1
37152 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37154 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37155 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37156 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37160 if test "$cross_compiling" = yes; then
37162 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37163 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37164 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37165 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37166 wx_cv_func_snprintf_pos_params=no
37170 cat >conftest.$ac_ext <<_ACEOF
37173 cat confdefs.h >>conftest.$ac_ext
37174 cat >>conftest.$ac_ext <<_ACEOF
37175 /* end confdefs.h. */
37182 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37183 if (strcmp ("2 3 1", buffer) == 0)
37189 rm -f conftest$ac_exeext
37190 if { (ac_try="$ac_link"
37191 case "(($ac_try" in
37192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37193 *) ac_try_echo=$ac_try;;
37195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37196 (eval "$ac_link") 2>&5
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37200 { (case "(($ac_try" in
37201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37202 *) ac_try_echo=$ac_try;;
37204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37205 (eval "$ac_try") 2>&5
37207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208 (exit $ac_status); }; }; then
37209 wx_cv_func_snprintf_pos_params=no
37211 echo "$as_me: program exited with status $ac_status" >&5
37212 echo "$as_me: failed program was:" >&5
37213 sed 's/^/| /' conftest.$ac_ext >&5
37215 ( exit $ac_status )
37216 wx_cv_func_snprintf_pos_params=yes
37218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37225 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37226 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37228 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37229 cat >>confdefs.h <<\_ACEOF
37230 #define HAVE_UNIX98_PRINTF 1
37237 if test "$ac_cv_func_vsscanf" = "yes"; then
37238 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37239 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37240 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37241 echo $ECHO_N "(cached) $ECHO_C" >&6
37244 cat >conftest.$ac_ext <<_ACEOF
37247 cat confdefs.h >>conftest.$ac_ext
37248 cat >>conftest.$ac_ext <<_ACEOF
37249 /* end confdefs.h. */
37252 #include <stdarg.h>
37254 #if __MSL__ >= 0x6000
37256 using namespace std;
37266 vsscanf(buf, "%s", args);
37272 rm -f conftest.$ac_objext
37273 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
37287 test ! -s conftest.err
37288 } && test -s conftest.$ac_objext; then
37289 wx_cv_func_vsscanf_decl=yes
37291 echo "$as_me: failed program was:" >&5
37292 sed 's/^/| /' conftest.$ac_ext >&5
37294 wx_cv_func_vsscanf_decl=no
37298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37302 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37303 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37305 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37306 cat >>confdefs.h <<\_ACEOF
37307 #define HAVE_VSSCANF_DECL 1
37313 ac_cpp='$CPP $CPPFLAGS'
37314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37319 if test "$wxUSE_UNICODE" = yes; then
37321 wchar_headers="#include <stdio.h>
37322 #include <wchar.h>"
37326 for ac_header in widec.h
37328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37332 echo $ECHO_N "(cached) $ECHO_C" >&6
37334 cat >conftest.$ac_ext <<_ACEOF
37337 cat confdefs.h >>conftest.$ac_ext
37338 cat >>conftest.$ac_ext <<_ACEOF
37339 /* end confdefs.h. */
37340 $ac_includes_default
37342 #include <$ac_header>
37344 rm -f conftest.$ac_objext
37345 if { (ac_try="$ac_compile"
37346 case "(($ac_try" in
37347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37348 *) ac_try_echo=$ac_try;;
37350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37351 (eval "$ac_compile") 2>conftest.er1
37353 grep -v '^ *+' conftest.er1 >conftest.err
37355 cat conftest.err >&5
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); } && {
37358 test -z "$ac_c_werror_flag" ||
37359 test ! -s conftest.err
37360 } && test -s conftest.$ac_objext; then
37361 eval "$as_ac_Header=yes"
37363 echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37366 eval "$as_ac_Header=no"
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37371 ac_res=`eval echo '${'$as_ac_Header'}'`
37372 { echo "$as_me:$LINENO: result: $ac_res" >&5
37373 echo "${ECHO_T}$ac_res" >&6; }
37374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37375 cat >>confdefs.h <<_ACEOF
37376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37383 if test "$ac_cv_header_widec_h" = "yes"; then
37384 wchar_headers="$wchar_headers
37385 #include <widec.h>"
37390 for wx_func in putws fputws wprintf vswprintf vswscanf
37392 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37393 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37394 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37395 echo $ECHO_N "(cached) $ECHO_C" >&6
37398 cat >conftest.$ac_ext <<_ACEOF
37402 cat confdefs.h >>conftest.$ac_ext
37403 cat >>conftest.$ac_ext <<_ACEOF
37404 /* end confdefs.h. */
37407 $ac_includes_default
37423 rm -f conftest.$ac_objext conftest$ac_exeext
37424 if { (ac_try="$ac_link"
37425 case "(($ac_try" in
37426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37427 *) ac_try_echo=$ac_try;;
37429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37430 (eval "$ac_link") 2>conftest.er1
37432 grep -v '^ *+' conftest.er1 >conftest.err
37434 cat conftest.err >&5
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); } && {
37437 test -z "$ac_c_werror_flag" ||
37438 test ! -s conftest.err
37439 } && test -s conftest$ac_exeext &&
37440 $as_test_x conftest$ac_exeext; then
37441 eval wx_cv_func_$wx_func=yes
37443 echo "$as_me: failed program was:" >&5
37444 sed 's/^/| /' conftest.$ac_ext >&5
37446 eval wx_cv_func_$wx_func=no
37449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37450 conftest$ac_exeext conftest.$ac_ext
37453 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37454 { echo "$as_me:$LINENO: result: $ac_res" >&5
37455 echo "${ECHO_T}$ac_res" >&6; }
37457 if eval test \$wx_cv_func_$wx_func = yes
37459 cat >>confdefs.h <<_ACEOF
37460 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37471 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37472 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37473 cat >conftest.$ac_ext <<_ACEOF
37476 cat confdefs.h >>conftest.$ac_ext
37477 cat >>conftest.$ac_ext <<_ACEOF
37478 /* end confdefs.h. */
37488 rm -f conftest.$ac_objext
37489 if { (ac_try="$ac_compile"
37490 case "(($ac_try" in
37491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37492 *) ac_try_echo=$ac_try;;
37494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37495 (eval "$ac_compile") 2>conftest.er1
37497 grep -v '^ *+' conftest.er1 >conftest.err
37499 cat conftest.err >&5
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); } && {
37502 test -z "$ac_c_werror_flag" ||
37503 test ! -s conftest.err
37504 } && test -s conftest.$ac_objext; then
37505 { echo "$as_me:$LINENO: result: yes" >&5
37506 echo "${ECHO_T}yes" >&6; }
37507 cat >>confdefs.h <<\_ACEOF
37508 #define HAVE__VSNWPRINTF 1
37512 echo "$as_me: failed program was:" >&5
37513 sed 's/^/| /' conftest.$ac_ext >&5
37515 { echo "$as_me:$LINENO: result: no" >&5
37516 echo "${ECHO_T}no" >&6; }
37519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37522 if test "$wxUSE_FILE" = "yes"; then
37524 for wx_func in fsync
37526 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37527 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37528 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37529 echo $ECHO_N "(cached) $ECHO_C" >&6
37532 cat >conftest.$ac_ext <<_ACEOF
37536 cat confdefs.h >>conftest.$ac_ext
37537 cat >>conftest.$ac_ext <<_ACEOF
37538 /* end confdefs.h. */
37541 $ac_includes_default
37557 rm -f conftest.$ac_objext conftest$ac_exeext
37558 if { (ac_try="$ac_link"
37559 case "(($ac_try" in
37560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37561 *) ac_try_echo=$ac_try;;
37563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37564 (eval "$ac_link") 2>conftest.er1
37566 grep -v '^ *+' conftest.er1 >conftest.err
37568 cat conftest.err >&5
37569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37570 (exit $ac_status); } && {
37571 test -z "$ac_c_werror_flag" ||
37572 test ! -s conftest.err
37573 } && test -s conftest$ac_exeext &&
37574 $as_test_x conftest$ac_exeext; then
37575 eval wx_cv_func_$wx_func=yes
37577 echo "$as_me: failed program was:" >&5
37578 sed 's/^/| /' conftest.$ac_ext >&5
37580 eval wx_cv_func_$wx_func=no
37583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37584 conftest$ac_exeext conftest.$ac_ext
37587 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37588 { echo "$as_me:$LINENO: result: $ac_res" >&5
37589 echo "${ECHO_T}$ac_res" >&6; }
37591 if eval test \$wx_cv_func_$wx_func = yes
37593 cat >>confdefs.h <<_ACEOF
37594 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37607 ac_cpp='$CXXCPP $CPPFLAGS'
37608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37613 for wx_func in round
37615 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37616 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37617 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37618 echo $ECHO_N "(cached) $ECHO_C" >&6
37621 cat >conftest.$ac_ext <<_ACEOF
37625 cat confdefs.h >>conftest.$ac_ext
37626 cat >>conftest.$ac_ext <<_ACEOF
37627 /* end confdefs.h. */
37630 $ac_includes_default
37646 rm -f conftest.$ac_objext conftest$ac_exeext
37647 if { (ac_try="$ac_link"
37648 case "(($ac_try" in
37649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37650 *) ac_try_echo=$ac_try;;
37652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37653 (eval "$ac_link") 2>conftest.er1
37655 grep -v '^ *+' conftest.er1 >conftest.err
37657 cat conftest.err >&5
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); } && {
37660 test -z "$ac_cxx_werror_flag" ||
37661 test ! -s conftest.err
37662 } && test -s conftest$ac_exeext &&
37663 $as_test_x conftest$ac_exeext; then
37664 eval wx_cv_func_$wx_func=yes
37666 echo "$as_me: failed program was:" >&5
37667 sed 's/^/| /' conftest.$ac_ext >&5
37669 eval wx_cv_func_$wx_func=no
37672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37673 conftest$ac_exeext conftest.$ac_ext
37676 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37677 { echo "$as_me:$LINENO: result: $ac_res" >&5
37678 echo "${ECHO_T}$ac_res" >&6; }
37680 if eval test \$wx_cv_func_$wx_func = yes
37682 cat >>confdefs.h <<_ACEOF
37683 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37694 ac_cpp='$CPP $CPPFLAGS'
37695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37700 if test "$TOOLKIT" != "MSW"; then
37702 if test "$wxUSE_LIBICONV" != "no" ; then
37706 # Check whether --with-libiconv-prefix was given.
37707 if test "${with_libiconv_prefix+set}" = set; then
37708 withval=$with_libiconv_prefix;
37709 for dir in `echo "$withval" | tr : ' '`; do
37710 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37711 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37717 { echo "$as_me:$LINENO: checking for iconv" >&5
37718 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37719 if test "${am_cv_func_iconv+set}" = set; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37723 am_cv_func_iconv="no, consider installing GNU libiconv"
37725 cat >conftest.$ac_ext <<_ACEOF
37728 cat confdefs.h >>conftest.$ac_ext
37729 cat >>conftest.$ac_ext <<_ACEOF
37730 /* end confdefs.h. */
37731 #include <stdlib.h>
37736 iconv_t cd = iconv_open("","");
37737 iconv(cd,NULL,NULL,NULL,NULL);
37743 rm -f conftest.$ac_objext conftest$ac_exeext
37744 if { (ac_try="$ac_link"
37745 case "(($ac_try" in
37746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37747 *) ac_try_echo=$ac_try;;
37749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37750 (eval "$ac_link") 2>conftest.er1
37752 grep -v '^ *+' conftest.er1 >conftest.err
37754 cat conftest.err >&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } && {
37757 test -z "$ac_c_werror_flag" ||
37758 test ! -s conftest.err
37759 } && test -s conftest$ac_exeext &&
37760 $as_test_x conftest$ac_exeext; then
37761 am_cv_func_iconv=yes
37763 echo "$as_me: failed program was:" >&5
37764 sed 's/^/| /' conftest.$ac_ext >&5
37769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37770 conftest$ac_exeext conftest.$ac_ext
37771 if test "$am_cv_func_iconv" != yes; then
37772 am_save_LIBS="$LIBS"
37773 LIBS="$LIBS -liconv"
37774 cat >conftest.$ac_ext <<_ACEOF
37777 cat confdefs.h >>conftest.$ac_ext
37778 cat >>conftest.$ac_ext <<_ACEOF
37779 /* end confdefs.h. */
37780 #include <stdlib.h>
37785 iconv_t cd = iconv_open("","");
37786 iconv(cd,NULL,NULL,NULL,NULL);
37792 rm -f conftest.$ac_objext conftest$ac_exeext
37793 if { (ac_try="$ac_link"
37794 case "(($ac_try" in
37795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37796 *) ac_try_echo=$ac_try;;
37798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37799 (eval "$ac_link") 2>conftest.er1
37801 grep -v '^ *+' conftest.er1 >conftest.err
37803 cat conftest.err >&5
37804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805 (exit $ac_status); } && {
37806 test -z "$ac_c_werror_flag" ||
37807 test ! -s conftest.err
37808 } && test -s conftest$ac_exeext &&
37809 $as_test_x conftest$ac_exeext; then
37810 am_cv_lib_iconv=yes
37811 am_cv_func_iconv=yes
37813 echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.$ac_ext >&5
37819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37820 conftest$ac_exeext conftest.$ac_ext
37821 LIBS="$am_save_LIBS"
37825 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37826 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37827 if test "$am_cv_func_iconv" = yes; then
37829 cat >>confdefs.h <<\_ACEOF
37830 #define HAVE_ICONV 1
37833 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37834 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37835 if test "${wx_cv_func_iconv_const+set}" = set; then
37836 echo $ECHO_N "(cached) $ECHO_C" >&6
37838 cat >conftest.$ac_ext <<_ACEOF
37841 cat confdefs.h >>conftest.$ac_ext
37842 cat >>conftest.$ac_ext <<_ACEOF
37843 /* end confdefs.h. */
37845 #include <stdlib.h>
37851 #if defined(__STDC__) || defined(__cplusplus)
37852 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37865 rm -f conftest.$ac_objext
37866 if { (ac_try="$ac_compile"
37867 case "(($ac_try" in
37868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37869 *) ac_try_echo=$ac_try;;
37871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37872 (eval "$ac_compile") 2>conftest.er1
37874 grep -v '^ *+' conftest.er1 >conftest.err
37876 cat conftest.err >&5
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); } && {
37879 test -z "$ac_c_werror_flag" ||
37880 test ! -s conftest.err
37881 } && test -s conftest.$ac_objext; then
37882 wx_cv_func_iconv_const="no"
37884 echo "$as_me: failed program was:" >&5
37885 sed 's/^/| /' conftest.$ac_ext >&5
37887 wx_cv_func_iconv_const="yes"
37891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37894 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37895 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37898 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37899 iconv_const="const"
37903 cat >>confdefs.h <<_ACEOF
37904 #define ICONV_CONST $iconv_const
37909 if test "$am_cv_lib_iconv" = yes; then
37914 LIBS="$LIBICONV $LIBS"
37917 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37919 for ac_func in sigaction
37921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37922 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37924 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37925 echo $ECHO_N "(cached) $ECHO_C" >&6
37927 cat >conftest.$ac_ext <<_ACEOF
37930 cat confdefs.h >>conftest.$ac_ext
37931 cat >>conftest.$ac_ext <<_ACEOF
37932 /* end confdefs.h. */
37933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37935 #define $ac_func innocuous_$ac_func
37937 /* System header to define __stub macros and hopefully few prototypes,
37938 which can conflict with char $ac_func (); below.
37939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37940 <limits.h> exists even on freestanding compilers. */
37943 # include <limits.h>
37945 # include <assert.h>
37950 /* Override any GCC internal prototype to avoid an error.
37951 Use char because int might match the return type of a GCC
37952 builtin and then its argument prototype would still apply. */
37957 /* The GNU C library defines this for functions which it implements
37958 to always fail with ENOSYS. Some functions are actually named
37959 something starting with __ and the normal name is an alias. */
37960 #if defined __stub_$ac_func || defined __stub___$ac_func
37967 return $ac_func ();
37972 rm -f conftest.$ac_objext conftest$ac_exeext
37973 if { (ac_try="$ac_link"
37974 case "(($ac_try" in
37975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37976 *) ac_try_echo=$ac_try;;
37978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37979 (eval "$ac_link") 2>conftest.er1
37981 grep -v '^ *+' conftest.er1 >conftest.err
37983 cat conftest.err >&5
37984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37985 (exit $ac_status); } && {
37986 test -z "$ac_c_werror_flag" ||
37987 test ! -s conftest.err
37988 } && test -s conftest$ac_exeext &&
37989 $as_test_x conftest$ac_exeext; then
37990 eval "$as_ac_var=yes"
37992 echo "$as_me: failed program was:" >&5
37993 sed 's/^/| /' conftest.$ac_ext >&5
37995 eval "$as_ac_var=no"
37998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37999 conftest$ac_exeext conftest.$ac_ext
38001 ac_res=`eval echo '${'$as_ac_var'}'`
38002 { echo "$as_me:$LINENO: result: $ac_res" >&5
38003 echo "${ECHO_T}$ac_res" >&6; }
38004 if test `eval echo '${'$as_ac_var'}'` = yes; then
38005 cat >>confdefs.h <<_ACEOF
38006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38013 if test "$ac_cv_func_sigaction" = "no"; then
38014 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38015 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38016 wxUSE_ON_FATAL_EXCEPTION=no
38019 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38020 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38021 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38022 if test "${wx_cv_type_sa_handler+set}" = set; then
38023 echo $ECHO_N "(cached) $ECHO_C" >&6
38027 ac_cpp='$CXXCPP $CPPFLAGS'
38028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38032 cat >conftest.$ac_ext <<_ACEOF
38035 cat confdefs.h >>conftest.$ac_ext
38036 cat >>conftest.$ac_ext <<_ACEOF
38037 /* end confdefs.h. */
38038 #include <signal.h>
38043 extern void testSigHandler(int);
38045 struct sigaction sa;
38046 sa.sa_handler = testSigHandler;
38052 rm -f conftest.$ac_objext
38053 if { (ac_try="$ac_compile"
38054 case "(($ac_try" in
38055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38056 *) ac_try_echo=$ac_try;;
38058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38059 (eval "$ac_compile") 2>conftest.er1
38061 grep -v '^ *+' conftest.er1 >conftest.err
38063 cat conftest.err >&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); } && {
38066 test -z "$ac_cxx_werror_flag" ||
38067 test ! -s conftest.err
38068 } && test -s conftest.$ac_objext; then
38070 wx_cv_type_sa_handler=int
38073 echo "$as_me: failed program was:" >&5
38074 sed 's/^/| /' conftest.$ac_ext >&5
38077 wx_cv_type_sa_handler=void
38081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38083 ac_cpp='$CPP $CPPFLAGS'
38084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38090 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38091 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38093 cat >>confdefs.h <<_ACEOF
38094 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38100 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38101 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38102 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38103 if test "${wx_cv_func_backtrace+set}" = set; then
38104 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 ac_cpp='$CXXCPP $CPPFLAGS'
38109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38113 cat >conftest.$ac_ext <<_ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38119 #include <execinfo.h>
38127 backtrace(trace, 1);
38128 messages = backtrace_symbols(trace, 1);
38134 rm -f conftest.$ac_objext
38135 if { (ac_try="$ac_compile"
38136 case "(($ac_try" in
38137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38138 *) ac_try_echo=$ac_try;;
38140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38141 (eval "$ac_compile") 2>conftest.er1
38143 grep -v '^ *+' conftest.er1 >conftest.err
38145 cat conftest.err >&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); } && {
38148 test -z "$ac_cxx_werror_flag" ||
38149 test ! -s conftest.err
38150 } && test -s conftest.$ac_objext; then
38151 wx_cv_func_backtrace=yes
38153 echo "$as_me: failed program was:" >&5
38154 sed 's/^/| /' conftest.$ac_ext >&5
38156 wx_cv_func_backtrace=no
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38162 ac_cpp='$CPP $CPPFLAGS'
38163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38170 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38171 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38174 if test "$wx_cv_func_backtrace" = "no"; then
38175 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38176 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38177 wxUSE_STACKWALKER=no
38179 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38180 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38181 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38182 echo $ECHO_N "(cached) $ECHO_C" >&6
38186 ac_cpp='$CXXCPP $CPPFLAGS'
38187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38191 cat >conftest.$ac_ext <<_ACEOF
38194 cat confdefs.h >>conftest.$ac_ext
38195 cat >>conftest.$ac_ext <<_ACEOF
38196 /* end confdefs.h. */
38197 #include <cxxabi.h>
38203 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38209 rm -f conftest.$ac_objext conftest$ac_exeext
38210 if { (ac_try="$ac_link"
38211 case "(($ac_try" in
38212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38213 *) ac_try_echo=$ac_try;;
38215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38216 (eval "$ac_link") 2>conftest.er1
38218 grep -v '^ *+' conftest.er1 >conftest.err
38220 cat conftest.err >&5
38221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222 (exit $ac_status); } && {
38223 test -z "$ac_cxx_werror_flag" ||
38224 test ! -s conftest.err
38225 } && test -s conftest$ac_exeext &&
38226 $as_test_x conftest$ac_exeext; then
38227 wx_cv_func_cxa_demangle=yes
38229 echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.$ac_ext >&5
38232 wx_cv_func_cxa_demangle=no
38236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38237 conftest$ac_exeext conftest.$ac_ext
38239 ac_cpp='$CPP $CPPFLAGS'
38240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38247 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38248 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38250 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38251 cat >>confdefs.h <<\_ACEOF
38252 #define HAVE_CXA_DEMANGLE 1
38259 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38260 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38261 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38262 wxUSE_STACKWALKER=no
38268 for ac_func in mkstemp mktemp
38270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38273 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38274 echo $ECHO_N "(cached) $ECHO_C" >&6
38276 cat >conftest.$ac_ext <<_ACEOF
38279 cat confdefs.h >>conftest.$ac_ext
38280 cat >>conftest.$ac_ext <<_ACEOF
38281 /* end confdefs.h. */
38282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38284 #define $ac_func innocuous_$ac_func
38286 /* System header to define __stub macros and hopefully few prototypes,
38287 which can conflict with char $ac_func (); below.
38288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38289 <limits.h> exists even on freestanding compilers. */
38292 # include <limits.h>
38294 # include <assert.h>
38299 /* Override any GCC internal prototype to avoid an error.
38300 Use char because int might match the return type of a GCC
38301 builtin and then its argument prototype would still apply. */
38306 /* The GNU C library defines this for functions which it implements
38307 to always fail with ENOSYS. Some functions are actually named
38308 something starting with __ and the normal name is an alias. */
38309 #if defined __stub_$ac_func || defined __stub___$ac_func
38316 return $ac_func ();
38321 rm -f conftest.$ac_objext conftest$ac_exeext
38322 if { (ac_try="$ac_link"
38323 case "(($ac_try" in
38324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38325 *) ac_try_echo=$ac_try;;
38327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38328 (eval "$ac_link") 2>conftest.er1
38330 grep -v '^ *+' conftest.er1 >conftest.err
38332 cat conftest.err >&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } && {
38335 test -z "$ac_c_werror_flag" ||
38336 test ! -s conftest.err
38337 } && test -s conftest$ac_exeext &&
38338 $as_test_x conftest$ac_exeext; then
38339 eval "$as_ac_var=yes"
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38344 eval "$as_ac_var=no"
38347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38348 conftest$ac_exeext conftest.$ac_ext
38350 ac_res=`eval echo '${'$as_ac_var'}'`
38351 { echo "$as_me:$LINENO: result: $ac_res" >&5
38352 echo "${ECHO_T}$ac_res" >&6; }
38353 if test `eval echo '${'$as_ac_var'}'` = yes; then
38354 cat >>confdefs.h <<_ACEOF
38355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38362 { echo "$as_me:$LINENO: checking for statfs" >&5
38363 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38364 if test "${wx_cv_func_statfs+set}" = set; then
38365 echo $ECHO_N "(cached) $ECHO_C" >&6
38367 cat >conftest.$ac_ext <<_ACEOF
38370 cat confdefs.h >>conftest.$ac_ext
38371 cat >>conftest.$ac_ext <<_ACEOF
38372 /* end confdefs.h. */
38374 #if defined(__BSD__)
38375 #include <sys/param.h>
38376 #include <sys/mount.h>
38378 #include <sys/vfs.h>
38396 rm -f conftest.$ac_objext
38397 if { (ac_try="$ac_compile"
38398 case "(($ac_try" in
38399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38400 *) ac_try_echo=$ac_try;;
38402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38403 (eval "$ac_compile") 2>conftest.er1
38405 grep -v '^ *+' conftest.er1 >conftest.err
38407 cat conftest.err >&5
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); } && {
38410 test -z "$ac_c_werror_flag" ||
38411 test ! -s conftest.err
38412 } && test -s conftest.$ac_objext; then
38413 wx_cv_func_statfs=yes
38415 echo "$as_me: failed program was:" >&5
38416 sed 's/^/| /' conftest.$ac_ext >&5
38418 wx_cv_func_statfs=no
38422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38425 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38426 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38428 if test "$wx_cv_func_statfs" = "yes"; then
38429 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38430 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38431 if test "${wx_cv_func_statfs_decl+set}" = set; then
38432 echo $ECHO_N "(cached) $ECHO_C" >&6
38435 ac_cpp='$CXXCPP $CPPFLAGS'
38436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38440 cat >conftest.$ac_ext <<_ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38447 #if defined(__BSD__)
38448 #include <sys/param.h>
38449 #include <sys/mount.h>
38451 #include <sys/vfs.h>
38465 rm -f conftest.$ac_objext
38466 if { (ac_try="$ac_compile"
38467 case "(($ac_try" in
38468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38469 *) ac_try_echo=$ac_try;;
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_compile") 2>conftest.er1
38474 grep -v '^ *+' conftest.er1 >conftest.err
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_cxx_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest.$ac_objext; then
38482 wx_cv_func_statfs_decl=yes
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38487 wx_cv_func_statfs_decl=no
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38500 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38501 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38503 if test "$wx_cv_func_statfs_decl" = "yes"; then
38504 cat >>confdefs.h <<\_ACEOF
38505 #define HAVE_STATFS_DECL 1
38510 wx_cv_type_statvfs_t="struct statfs"
38511 cat >>confdefs.h <<\_ACEOF
38512 #define HAVE_STATFS 1
38516 { echo "$as_me:$LINENO: checking for statvfs" >&5
38517 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38518 if test "${wx_cv_func_statvfs+set}" = set; then
38519 echo $ECHO_N "(cached) $ECHO_C" >&6
38521 cat >conftest.$ac_ext <<_ACEOF
38524 cat confdefs.h >>conftest.$ac_ext
38525 cat >>conftest.$ac_ext <<_ACEOF
38526 /* end confdefs.h. */
38528 #include <stddef.h>
38529 #include <sys/statvfs.h>
38535 statvfs("/", NULL);
38541 rm -f conftest.$ac_objext
38542 if { (ac_try="$ac_compile"
38543 case "(($ac_try" in
38544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38545 *) ac_try_echo=$ac_try;;
38547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38548 (eval "$ac_compile") 2>conftest.er1
38550 grep -v '^ *+' conftest.er1 >conftest.err
38552 cat conftest.err >&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } && {
38555 test -z "$ac_c_werror_flag" ||
38556 test ! -s conftest.err
38557 } && test -s conftest.$ac_objext; then
38558 wx_cv_func_statvfs=yes
38560 echo "$as_me: failed program was:" >&5
38561 sed 's/^/| /' conftest.$ac_ext >&5
38563 wx_cv_func_statvfs=no
38567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38570 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38571 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38573 if test "$wx_cv_func_statvfs" = "yes"; then
38574 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38575 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38576 if test "${wx_cv_type_statvfs_t+set}" = set; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 ac_cpp='$CXXCPP $CPPFLAGS'
38581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38585 cat >conftest.$ac_ext <<_ACEOF
38588 cat confdefs.h >>conftest.$ac_ext
38589 cat >>conftest.$ac_ext <<_ACEOF
38590 /* end confdefs.h. */
38592 #include <sys/statvfs.h>
38609 rm -f conftest.$ac_objext
38610 if { (ac_try="$ac_compile"
38611 case "(($ac_try" in
38612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38613 *) ac_try_echo=$ac_try;;
38615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38616 (eval "$ac_compile") 2>conftest.er1
38618 grep -v '^ *+' conftest.er1 >conftest.err
38620 cat conftest.err >&5
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); } && {
38623 test -z "$ac_cxx_werror_flag" ||
38624 test ! -s conftest.err
38625 } && test -s conftest.$ac_objext; then
38626 wx_cv_type_statvfs_t=statvfs_t
38628 echo "$as_me: failed program was:" >&5
38629 sed 's/^/| /' conftest.$ac_ext >&5
38632 cat >conftest.$ac_ext <<_ACEOF
38635 cat confdefs.h >>conftest.$ac_ext
38636 cat >>conftest.$ac_ext <<_ACEOF
38637 /* end confdefs.h. */
38639 #include <sys/statvfs.h>
38656 rm -f conftest.$ac_objext
38657 if { (ac_try="$ac_compile"
38658 case "(($ac_try" in
38659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38660 *) ac_try_echo=$ac_try;;
38662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38663 (eval "$ac_compile") 2>conftest.er1
38665 grep -v '^ *+' conftest.er1 >conftest.err
38667 cat conftest.err >&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } && {
38670 test -z "$ac_cxx_werror_flag" ||
38671 test ! -s conftest.err
38672 } && test -s conftest.$ac_objext; then
38673 wx_cv_type_statvfs_t="struct statvfs"
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38678 wx_cv_type_statvfs_t="unknown"
38682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38689 ac_cpp='$CPP $CPPFLAGS'
38690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38696 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38697 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38699 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38700 cat >>confdefs.h <<\_ACEOF
38701 #define HAVE_STATVFS 1
38706 wx_cv_type_statvfs_t="unknown"
38710 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38711 cat >>confdefs.h <<_ACEOF
38712 #define WX_STATFS_T $wx_cv_type_statvfs_t
38716 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38717 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38720 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38723 for ac_func in fcntl flock
38725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38726 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38728 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 cat >conftest.$ac_ext <<_ACEOF
38734 cat confdefs.h >>conftest.$ac_ext
38735 cat >>conftest.$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38739 #define $ac_func innocuous_$ac_func
38741 /* System header to define __stub macros and hopefully few prototypes,
38742 which can conflict with char $ac_func (); below.
38743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38744 <limits.h> exists even on freestanding compilers. */
38747 # include <limits.h>
38749 # include <assert.h>
38754 /* Override any GCC internal prototype to avoid an error.
38755 Use char because int might match the return type of a GCC
38756 builtin and then its argument prototype would still apply. */
38761 /* The GNU C library defines this for functions which it implements
38762 to always fail with ENOSYS. Some functions are actually named
38763 something starting with __ and the normal name is an alias. */
38764 #if defined __stub_$ac_func || defined __stub___$ac_func
38771 return $ac_func ();
38776 rm -f conftest.$ac_objext conftest$ac_exeext
38777 if { (ac_try="$ac_link"
38778 case "(($ac_try" in
38779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38780 *) ac_try_echo=$ac_try;;
38782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38783 (eval "$ac_link") 2>conftest.er1
38785 grep -v '^ *+' conftest.er1 >conftest.err
38787 cat conftest.err >&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } && {
38790 test -z "$ac_c_werror_flag" ||
38791 test ! -s conftest.err
38792 } && test -s conftest$ac_exeext &&
38793 $as_test_x conftest$ac_exeext; then
38794 eval "$as_ac_var=yes"
38796 echo "$as_me: failed program was:" >&5
38797 sed 's/^/| /' conftest.$ac_ext >&5
38799 eval "$as_ac_var=no"
38802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38803 conftest$ac_exeext conftest.$ac_ext
38805 ac_res=`eval echo '${'$as_ac_var'}'`
38806 { echo "$as_me:$LINENO: result: $ac_res" >&5
38807 echo "${ECHO_T}$ac_res" >&6; }
38808 if test `eval echo '${'$as_ac_var'}'` = yes; then
38809 cat >>confdefs.h <<_ACEOF
38810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38817 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38818 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38819 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38820 wxUSE_SNGLINST_CHECKER=no
38826 for ac_func in setenv putenv
38828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38831 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38832 echo $ECHO_N "(cached) $ECHO_C" >&6
38834 cat >conftest.$ac_ext <<_ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38842 #define $ac_func innocuous_$ac_func
38844 /* System header to define __stub macros and hopefully few prototypes,
38845 which can conflict with char $ac_func (); below.
38846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38847 <limits.h> exists even on freestanding compilers. */
38850 # include <limits.h>
38852 # include <assert.h>
38857 /* Override any GCC internal prototype to avoid an error.
38858 Use char because int might match the return type of a GCC
38859 builtin and then its argument prototype would still apply. */
38864 /* The GNU C library defines this for functions which it implements
38865 to always fail with ENOSYS. Some functions are actually named
38866 something starting with __ and the normal name is an alias. */
38867 #if defined __stub_$ac_func || defined __stub___$ac_func
38874 return $ac_func ();
38879 rm -f conftest.$ac_objext conftest$ac_exeext
38880 if { (ac_try="$ac_link"
38881 case "(($ac_try" in
38882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38883 *) ac_try_echo=$ac_try;;
38885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38886 (eval "$ac_link") 2>conftest.er1
38888 grep -v '^ *+' conftest.er1 >conftest.err
38890 cat conftest.err >&5
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); } && {
38893 test -z "$ac_c_werror_flag" ||
38894 test ! -s conftest.err
38895 } && test -s conftest$ac_exeext &&
38896 $as_test_x conftest$ac_exeext; then
38897 eval "$as_ac_var=yes"
38899 echo "$as_me: failed program was:" >&5
38900 sed 's/^/| /' conftest.$ac_ext >&5
38902 eval "$as_ac_var=no"
38905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38906 conftest$ac_exeext conftest.$ac_ext
38908 ac_res=`eval echo '${'$as_ac_var'}'`
38909 { echo "$as_me:$LINENO: result: $ac_res" >&5
38910 echo "${ECHO_T}$ac_res" >&6; }
38911 if test `eval echo '${'$as_ac_var'}'` = yes; then
38912 cat >>confdefs.h <<_ACEOF
38913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38919 if test "$ac_cv_func_setenv" = "yes"; then
38921 for ac_func in unsetenv
38923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38927 echo $ECHO_N "(cached) $ECHO_C" >&6
38929 cat >conftest.$ac_ext <<_ACEOF
38932 cat confdefs.h >>conftest.$ac_ext
38933 cat >>conftest.$ac_ext <<_ACEOF
38934 /* end confdefs.h. */
38935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38937 #define $ac_func innocuous_$ac_func
38939 /* System header to define __stub macros and hopefully few prototypes,
38940 which can conflict with char $ac_func (); below.
38941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38942 <limits.h> exists even on freestanding compilers. */
38945 # include <limits.h>
38947 # include <assert.h>
38952 /* Override any GCC internal prototype to avoid an error.
38953 Use char because int might match the return type of a GCC
38954 builtin and then its argument prototype would still apply. */
38959 /* The GNU C library defines this for functions which it implements
38960 to always fail with ENOSYS. Some functions are actually named
38961 something starting with __ and the normal name is an alias. */
38962 #if defined __stub_$ac_func || defined __stub___$ac_func
38969 return $ac_func ();
38974 rm -f conftest.$ac_objext conftest$ac_exeext
38975 if { (ac_try="$ac_link"
38976 case "(($ac_try" in
38977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38978 *) ac_try_echo=$ac_try;;
38980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38981 (eval "$ac_link") 2>conftest.er1
38983 grep -v '^ *+' conftest.er1 >conftest.err
38985 cat conftest.err >&5
38986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987 (exit $ac_status); } && {
38988 test -z "$ac_c_werror_flag" ||
38989 test ! -s conftest.err
38990 } && test -s conftest$ac_exeext &&
38991 $as_test_x conftest$ac_exeext; then
38992 eval "$as_ac_var=yes"
38994 echo "$as_me: failed program was:" >&5
38995 sed 's/^/| /' conftest.$ac_ext >&5
38997 eval "$as_ac_var=no"
39000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39001 conftest$ac_exeext conftest.$ac_ext
39003 ac_res=`eval echo '${'$as_ac_var'}'`
39004 { echo "$as_me:$LINENO: result: $ac_res" >&5
39005 echo "${ECHO_T}$ac_res" >&6; }
39006 if test `eval echo '${'$as_ac_var'}'` = yes; then
39007 cat >>confdefs.h <<_ACEOF
39008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39016 HAVE_SOME_SLEEP_FUNC=0
39017 if test "$USE_BEOS" = 1; then
39018 cat >>confdefs.h <<\_ACEOF
39019 #define HAVE_SLEEP 1
39022 HAVE_SOME_SLEEP_FUNC=1
39025 if test "$USE_DARWIN" = 1; then
39026 cat >>confdefs.h <<\_ACEOF
39027 #define HAVE_USLEEP 1
39030 HAVE_SOME_SLEEP_FUNC=1
39033 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39036 for ac_func in nanosleep
39038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39042 echo $ECHO_N "(cached) $ECHO_C" >&6
39044 cat >conftest.$ac_ext <<_ACEOF
39047 cat confdefs.h >>conftest.$ac_ext
39048 cat >>conftest.$ac_ext <<_ACEOF
39049 /* end confdefs.h. */
39050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39052 #define $ac_func innocuous_$ac_func
39054 /* System header to define __stub macros and hopefully few prototypes,
39055 which can conflict with char $ac_func (); below.
39056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39057 <limits.h> exists even on freestanding compilers. */
39060 # include <limits.h>
39062 # include <assert.h>
39067 /* Override any GCC internal prototype to avoid an error.
39068 Use char because int might match the return type of a GCC
39069 builtin and then its argument prototype would still apply. */
39074 /* The GNU C library defines this for functions which it implements
39075 to always fail with ENOSYS. Some functions are actually named
39076 something starting with __ and the normal name is an alias. */
39077 #if defined __stub_$ac_func || defined __stub___$ac_func
39084 return $ac_func ();
39089 rm -f conftest.$ac_objext conftest$ac_exeext
39090 if { (ac_try="$ac_link"
39091 case "(($ac_try" in
39092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39093 *) ac_try_echo=$ac_try;;
39095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39096 (eval "$ac_link") 2>conftest.er1
39098 grep -v '^ *+' conftest.er1 >conftest.err
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } && {
39103 test -z "$ac_c_werror_flag" ||
39104 test ! -s conftest.err
39105 } && test -s conftest$ac_exeext &&
39106 $as_test_x conftest$ac_exeext; then
39107 eval "$as_ac_var=yes"
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.$ac_ext >&5
39112 eval "$as_ac_var=no"
39115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39116 conftest$ac_exeext conftest.$ac_ext
39118 ac_res=`eval echo '${'$as_ac_var'}'`
39119 { echo "$as_me:$LINENO: result: $ac_res" >&5
39120 echo "${ECHO_T}$ac_res" >&6; }
39121 if test `eval echo '${'$as_ac_var'}'` = yes; then
39122 cat >>confdefs.h <<_ACEOF
39123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39125 cat >>confdefs.h <<\_ACEOF
39126 #define HAVE_NANOSLEEP 1
39131 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39132 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39133 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39134 echo $ECHO_N "(cached) $ECHO_C" >&6
39136 ac_check_lib_save_LIBS=$LIBS
39137 LIBS="-lposix4 $LIBS"
39138 cat >conftest.$ac_ext <<_ACEOF
39141 cat confdefs.h >>conftest.$ac_ext
39142 cat >>conftest.$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39145 /* Override any GCC internal prototype to avoid an error.
39146 Use char because int might match the return type of a GCC
39147 builtin and then its argument prototype would still apply. */
39155 return nanosleep ();
39160 rm -f conftest.$ac_objext conftest$ac_exeext
39161 if { (ac_try="$ac_link"
39162 case "(($ac_try" in
39163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39164 *) ac_try_echo=$ac_try;;
39166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39167 (eval "$ac_link") 2>conftest.er1
39169 grep -v '^ *+' conftest.er1 >conftest.err
39171 cat conftest.err >&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); } && {
39174 test -z "$ac_c_werror_flag" ||
39175 test ! -s conftest.err
39176 } && test -s conftest$ac_exeext &&
39177 $as_test_x conftest$ac_exeext; then
39178 ac_cv_lib_posix4_nanosleep=yes
39180 echo "$as_me: failed program was:" >&5
39181 sed 's/^/| /' conftest.$ac_ext >&5
39183 ac_cv_lib_posix4_nanosleep=no
39186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39187 conftest$ac_exeext conftest.$ac_ext
39188 LIBS=$ac_check_lib_save_LIBS
39190 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39191 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39192 if test $ac_cv_lib_posix4_nanosleep = yes; then
39194 cat >>confdefs.h <<\_ACEOF
39195 #define HAVE_NANOSLEEP 1
39198 POSIX4_LINK=" -lposix4"
39203 for wx_func in usleep
39205 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39206 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39207 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39208 echo $ECHO_N "(cached) $ECHO_C" >&6
39211 cat >conftest.$ac_ext <<_ACEOF
39215 cat confdefs.h >>conftest.$ac_ext
39216 cat >>conftest.$ac_ext <<_ACEOF
39217 /* end confdefs.h. */
39220 $ac_includes_default
39236 rm -f conftest.$ac_objext conftest$ac_exeext
39237 if { (ac_try="$ac_link"
39238 case "(($ac_try" in
39239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39240 *) ac_try_echo=$ac_try;;
39242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39243 (eval "$ac_link") 2>conftest.er1
39245 grep -v '^ *+' conftest.er1 >conftest.err
39247 cat conftest.err >&5
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); } && {
39250 test -z "$ac_c_werror_flag" ||
39251 test ! -s conftest.err
39252 } && test -s conftest$ac_exeext &&
39253 $as_test_x conftest$ac_exeext; then
39254 eval wx_cv_func_$wx_func=yes
39256 echo "$as_me: failed program was:" >&5
39257 sed 's/^/| /' conftest.$ac_ext >&5
39259 eval wx_cv_func_$wx_func=no
39262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39263 conftest$ac_exeext conftest.$ac_ext
39266 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39267 { echo "$as_me:$LINENO: result: $ac_res" >&5
39268 echo "${ECHO_T}$ac_res" >&6; }
39270 if eval test \$wx_cv_func_$wx_func = yes
39272 cat >>confdefs.h <<_ACEOF
39273 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39279 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39280 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39297 for wx_func in uname
39299 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39300 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39301 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39302 echo $ECHO_N "(cached) $ECHO_C" >&6
39305 cat >conftest.$ac_ext <<_ACEOF
39309 cat confdefs.h >>conftest.$ac_ext
39310 cat >>conftest.$ac_ext <<_ACEOF
39311 /* end confdefs.h. */
39313 #include <sys/utsname.h>
39314 $ac_includes_default
39330 rm -f conftest.$ac_objext conftest$ac_exeext
39331 if { (ac_try="$ac_link"
39332 case "(($ac_try" in
39333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39334 *) ac_try_echo=$ac_try;;
39336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39337 (eval "$ac_link") 2>conftest.er1
39339 grep -v '^ *+' conftest.er1 >conftest.err
39341 cat conftest.err >&5
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); } && {
39344 test -z "$ac_c_werror_flag" ||
39345 test ! -s conftest.err
39346 } && test -s conftest$ac_exeext &&
39347 $as_test_x conftest$ac_exeext; then
39348 eval wx_cv_func_$wx_func=yes
39350 echo "$as_me: failed program was:" >&5
39351 sed 's/^/| /' conftest.$ac_ext >&5
39353 eval wx_cv_func_$wx_func=no
39356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39357 conftest$ac_exeext conftest.$ac_ext
39360 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39361 { echo "$as_me:$LINENO: result: $ac_res" >&5
39362 echo "${ECHO_T}$ac_res" >&6; }
39364 if eval test \$wx_cv_func_$wx_func = yes
39366 cat >>confdefs.h <<_ACEOF
39367 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39377 if test "$wx_cv_func_uname" != yes; then
39379 for wx_func in gethostname
39381 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39382 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39383 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39384 echo $ECHO_N "(cached) $ECHO_C" >&6
39387 cat >conftest.$ac_ext <<_ACEOF
39391 cat confdefs.h >>conftest.$ac_ext
39392 cat >>conftest.$ac_ext <<_ACEOF
39393 /* end confdefs.h. */
39396 $ac_includes_default
39412 rm -f conftest.$ac_objext conftest$ac_exeext
39413 if { (ac_try="$ac_link"
39414 case "(($ac_try" in
39415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39416 *) ac_try_echo=$ac_try;;
39418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39419 (eval "$ac_link") 2>conftest.er1
39421 grep -v '^ *+' conftest.er1 >conftest.err
39423 cat conftest.err >&5
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); } && {
39426 test -z "$ac_c_werror_flag" ||
39427 test ! -s conftest.err
39428 } && test -s conftest$ac_exeext &&
39429 $as_test_x conftest$ac_exeext; then
39430 eval wx_cv_func_$wx_func=yes
39432 echo "$as_me: failed program was:" >&5
39433 sed 's/^/| /' conftest.$ac_ext >&5
39435 eval wx_cv_func_$wx_func=no
39438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39439 conftest$ac_exeext conftest.$ac_ext
39442 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39443 { echo "$as_me:$LINENO: result: $ac_res" >&5
39444 echo "${ECHO_T}$ac_res" >&6; }
39446 if eval test \$wx_cv_func_$wx_func = yes
39448 cat >>confdefs.h <<_ACEOF
39449 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39462 for wx_func in strtok_r
39464 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39465 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39466 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39467 echo $ECHO_N "(cached) $ECHO_C" >&6
39470 cat >conftest.$ac_ext <<_ACEOF
39474 cat confdefs.h >>conftest.$ac_ext
39475 cat >>conftest.$ac_ext <<_ACEOF
39476 /* end confdefs.h. */
39479 $ac_includes_default
39495 rm -f conftest.$ac_objext conftest$ac_exeext
39496 if { (ac_try="$ac_link"
39497 case "(($ac_try" in
39498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39499 *) ac_try_echo=$ac_try;;
39501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39502 (eval "$ac_link") 2>conftest.er1
39504 grep -v '^ *+' conftest.er1 >conftest.err
39506 cat conftest.err >&5
39507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39508 (exit $ac_status); } && {
39509 test -z "$ac_c_werror_flag" ||
39510 test ! -s conftest.err
39511 } && test -s conftest$ac_exeext &&
39512 $as_test_x conftest$ac_exeext; then
39513 eval wx_cv_func_$wx_func=yes
39515 echo "$as_me: failed program was:" >&5
39516 sed 's/^/| /' conftest.$ac_ext >&5
39518 eval wx_cv_func_$wx_func=no
39521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39522 conftest$ac_exeext conftest.$ac_ext
39525 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39526 { echo "$as_me:$LINENO: result: $ac_res" >&5
39527 echo "${ECHO_T}$ac_res" >&6; }
39529 if eval test \$wx_cv_func_$wx_func = yes
39531 cat >>confdefs.h <<_ACEOF
39532 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39545 for ac_func in inet_addr
39547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39548 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39550 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39553 cat >conftest.$ac_ext <<_ACEOF
39556 cat confdefs.h >>conftest.$ac_ext
39557 cat >>conftest.$ac_ext <<_ACEOF
39558 /* end confdefs.h. */
39559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39561 #define $ac_func innocuous_$ac_func
39563 /* System header to define __stub macros and hopefully few prototypes,
39564 which can conflict with char $ac_func (); below.
39565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39566 <limits.h> exists even on freestanding compilers. */
39569 # include <limits.h>
39571 # include <assert.h>
39576 /* Override any GCC internal prototype to avoid an error.
39577 Use char because int might match the return type of a GCC
39578 builtin and then its argument prototype would still apply. */
39583 /* The GNU C library defines this for functions which it implements
39584 to always fail with ENOSYS. Some functions are actually named
39585 something starting with __ and the normal name is an alias. */
39586 #if defined __stub_$ac_func || defined __stub___$ac_func
39593 return $ac_func ();
39598 rm -f conftest.$ac_objext conftest$ac_exeext
39599 if { (ac_try="$ac_link"
39600 case "(($ac_try" in
39601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39602 *) ac_try_echo=$ac_try;;
39604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39605 (eval "$ac_link") 2>conftest.er1
39607 grep -v '^ *+' conftest.er1 >conftest.err
39609 cat conftest.err >&5
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); } && {
39612 test -z "$ac_c_werror_flag" ||
39613 test ! -s conftest.err
39614 } && test -s conftest$ac_exeext &&
39615 $as_test_x conftest$ac_exeext; then
39616 eval "$as_ac_var=yes"
39618 echo "$as_me: failed program was:" >&5
39619 sed 's/^/| /' conftest.$ac_ext >&5
39621 eval "$as_ac_var=no"
39624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39625 conftest$ac_exeext conftest.$ac_ext
39627 ac_res=`eval echo '${'$as_ac_var'}'`
39628 { echo "$as_me:$LINENO: result: $ac_res" >&5
39629 echo "${ECHO_T}$ac_res" >&6; }
39630 if test `eval echo '${'$as_ac_var'}'` = yes; then
39631 cat >>confdefs.h <<_ACEOF
39632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39634 cat >>confdefs.h <<\_ACEOF
39635 #define HAVE_INET_ADDR 1
39640 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39641 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39642 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39643 echo $ECHO_N "(cached) $ECHO_C" >&6
39645 ac_check_lib_save_LIBS=$LIBS
39647 cat >conftest.$ac_ext <<_ACEOF
39650 cat confdefs.h >>conftest.$ac_ext
39651 cat >>conftest.$ac_ext <<_ACEOF
39652 /* end confdefs.h. */
39654 /* Override any GCC internal prototype to avoid an error.
39655 Use char because int might match the return type of a GCC
39656 builtin and then its argument prototype would still apply. */
39664 return inet_addr ();
39669 rm -f conftest.$ac_objext conftest$ac_exeext
39670 if { (ac_try="$ac_link"
39671 case "(($ac_try" in
39672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39673 *) ac_try_echo=$ac_try;;
39675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39676 (eval "$ac_link") 2>conftest.er1
39678 grep -v '^ *+' conftest.er1 >conftest.err
39680 cat conftest.err >&5
39681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682 (exit $ac_status); } && {
39683 test -z "$ac_c_werror_flag" ||
39684 test ! -s conftest.err
39685 } && test -s conftest$ac_exeext &&
39686 $as_test_x conftest$ac_exeext; then
39687 ac_cv_lib_nsl_inet_addr=yes
39689 echo "$as_me: failed program was:" >&5
39690 sed 's/^/| /' conftest.$ac_ext >&5
39692 ac_cv_lib_nsl_inet_addr=no
39695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39696 conftest$ac_exeext conftest.$ac_ext
39697 LIBS=$ac_check_lib_save_LIBS
39699 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39700 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39701 if test $ac_cv_lib_nsl_inet_addr = yes; then
39705 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39706 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39707 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39708 echo $ECHO_N "(cached) $ECHO_C" >&6
39710 ac_check_lib_save_LIBS=$LIBS
39711 LIBS="-lresolv $LIBS"
39712 cat >conftest.$ac_ext <<_ACEOF
39715 cat confdefs.h >>conftest.$ac_ext
39716 cat >>conftest.$ac_ext <<_ACEOF
39717 /* end confdefs.h. */
39719 /* Override any GCC internal prototype to avoid an error.
39720 Use char because int might match the return type of a GCC
39721 builtin and then its argument prototype would still apply. */
39729 return inet_addr ();
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (ac_try="$ac_link"
39736 case "(($ac_try" in
39737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39738 *) ac_try_echo=$ac_try;;
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_link") 2>conftest.er1
39743 grep -v '^ *+' conftest.er1 >conftest.err
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } && {
39748 test -z "$ac_c_werror_flag" ||
39749 test ! -s conftest.err
39750 } && test -s conftest$ac_exeext &&
39751 $as_test_x conftest$ac_exeext; then
39752 ac_cv_lib_resolv_inet_addr=yes
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.$ac_ext >&5
39757 ac_cv_lib_resolv_inet_addr=no
39760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39761 conftest$ac_exeext conftest.$ac_ext
39762 LIBS=$ac_check_lib_save_LIBS
39764 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39765 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39766 if test $ac_cv_lib_resolv_inet_addr = yes; then
39770 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39771 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39772 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39775 ac_check_lib_save_LIBS=$LIBS
39776 LIBS="-lsocket $LIBS"
39777 cat >conftest.$ac_ext <<_ACEOF
39780 cat confdefs.h >>conftest.$ac_ext
39781 cat >>conftest.$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39784 /* Override any GCC internal prototype to avoid an error.
39785 Use char because int might match the return type of a GCC
39786 builtin and then its argument prototype would still apply. */
39794 return inet_addr ();
39799 rm -f conftest.$ac_objext conftest$ac_exeext
39800 if { (ac_try="$ac_link"
39801 case "(($ac_try" in
39802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39803 *) ac_try_echo=$ac_try;;
39805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39806 (eval "$ac_link") 2>conftest.er1
39808 grep -v '^ *+' conftest.er1 >conftest.err
39810 cat conftest.err >&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); } && {
39813 test -z "$ac_c_werror_flag" ||
39814 test ! -s conftest.err
39815 } && test -s conftest$ac_exeext &&
39816 $as_test_x conftest$ac_exeext; then
39817 ac_cv_lib_socket_inet_addr=yes
39819 echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.$ac_ext >&5
39822 ac_cv_lib_socket_inet_addr=no
39825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39826 conftest$ac_exeext conftest.$ac_ext
39827 LIBS=$ac_check_lib_save_LIBS
39829 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39830 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39831 if test $ac_cv_lib_socket_inet_addr = yes; then
39851 for ac_func in inet_aton
39853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39859 cat >conftest.$ac_ext <<_ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39867 #define $ac_func innocuous_$ac_func
39869 /* System header to define __stub macros and hopefully few prototypes,
39870 which can conflict with char $ac_func (); below.
39871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39872 <limits.h> exists even on freestanding compilers. */
39875 # include <limits.h>
39877 # include <assert.h>
39882 /* Override any GCC internal prototype to avoid an error.
39883 Use char because int might match the return type of a GCC
39884 builtin and then its argument prototype would still apply. */
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined __stub_$ac_func || defined __stub___$ac_func
39899 return $ac_func ();
39904 rm -f conftest.$ac_objext conftest$ac_exeext
39905 if { (ac_try="$ac_link"
39906 case "(($ac_try" in
39907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39908 *) ac_try_echo=$ac_try;;
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_link") 2>conftest.er1
39913 grep -v '^ *+' conftest.er1 >conftest.err
39915 cat conftest.err >&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_c_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest$ac_exeext &&
39921 $as_test_x conftest$ac_exeext; then
39922 eval "$as_ac_var=yes"
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39927 eval "$as_ac_var=no"
39930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39931 conftest$ac_exeext conftest.$ac_ext
39933 ac_res=`eval echo '${'$as_ac_var'}'`
39934 { echo "$as_me:$LINENO: result: $ac_res" >&5
39935 echo "${ECHO_T}$ac_res" >&6; }
39936 if test `eval echo '${'$as_ac_var'}'` = yes; then
39937 cat >>confdefs.h <<_ACEOF
39938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39940 cat >>confdefs.h <<\_ACEOF
39941 #define HAVE_INET_ATON 1
39946 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39947 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39948 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39949 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39950 echo $ECHO_N "(cached) $ECHO_C" >&6
39952 ac_check_lib_save_LIBS=$LIBS
39953 LIBS="-l$INET_LINK $LIBS"
39954 cat >conftest.$ac_ext <<_ACEOF
39957 cat confdefs.h >>conftest.$ac_ext
39958 cat >>conftest.$ac_ext <<_ACEOF
39959 /* end confdefs.h. */
39961 /* Override any GCC internal prototype to avoid an error.
39962 Use char because int might match the return type of a GCC
39963 builtin and then its argument prototype would still apply. */
39971 return inet_aton ();
39976 rm -f conftest.$ac_objext conftest$ac_exeext
39977 if { (ac_try="$ac_link"
39978 case "(($ac_try" in
39979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39980 *) ac_try_echo=$ac_try;;
39982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39983 (eval "$ac_link") 2>conftest.er1
39985 grep -v '^ *+' conftest.er1 >conftest.err
39987 cat conftest.err >&5
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); } && {
39990 test -z "$ac_c_werror_flag" ||
39991 test ! -s conftest.err
39992 } && test -s conftest$ac_exeext &&
39993 $as_test_x conftest$ac_exeext; then
39994 eval "$as_ac_Lib=yes"
39996 echo "$as_me: failed program was:" >&5
39997 sed 's/^/| /' conftest.$ac_ext >&5
39999 eval "$as_ac_Lib=no"
40002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40003 conftest$ac_exeext conftest.$ac_ext
40004 LIBS=$ac_check_lib_save_LIBS
40006 ac_res=`eval echo '${'$as_ac_Lib'}'`
40007 { echo "$as_me:$LINENO: result: $ac_res" >&5
40008 echo "${ECHO_T}$ac_res" >&6; }
40009 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40010 cat >>confdefs.h <<\_ACEOF
40011 #define HAVE_INET_ATON 1
40021 if test "x$INET_LINK" != "x"; then
40022 cat >>confdefs.h <<\_ACEOF
40023 #define HAVE_INET_ADDR 1
40026 INET_LINK=" -l$INET_LINK"
40030 for wx_func in fdopen
40032 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40033 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40034 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40035 echo $ECHO_N "(cached) $ECHO_C" >&6
40038 cat >conftest.$ac_ext <<_ACEOF
40042 cat confdefs.h >>conftest.$ac_ext
40043 cat >>conftest.$ac_ext <<_ACEOF
40044 /* end confdefs.h. */
40047 $ac_includes_default
40063 rm -f conftest.$ac_objext conftest$ac_exeext
40064 if { (ac_try="$ac_link"
40065 case "(($ac_try" in
40066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40067 *) ac_try_echo=$ac_try;;
40069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40070 (eval "$ac_link") 2>conftest.er1
40072 grep -v '^ *+' conftest.er1 >conftest.err
40074 cat conftest.err >&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); } && {
40077 test -z "$ac_c_werror_flag" ||
40078 test ! -s conftest.err
40079 } && test -s conftest$ac_exeext &&
40080 $as_test_x conftest$ac_exeext; then
40081 eval wx_cv_func_$wx_func=yes
40083 echo "$as_me: failed program was:" >&5
40084 sed 's/^/| /' conftest.$ac_ext >&5
40086 eval wx_cv_func_$wx_func=no
40089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40090 conftest$ac_exeext conftest.$ac_ext
40093 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40094 { echo "$as_me:$LINENO: result: $ac_res" >&5
40095 echo "${ECHO_T}$ac_res" >&6; }
40097 if eval test \$wx_cv_func_$wx_func = yes
40099 cat >>confdefs.h <<_ACEOF
40100 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40111 if test "$wxUSE_TARSTREAM" = "yes"; then
40113 for wx_func in sysconf
40115 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40116 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40117 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40118 echo $ECHO_N "(cached) $ECHO_C" >&6
40121 cat >conftest.$ac_ext <<_ACEOF
40125 cat confdefs.h >>conftest.$ac_ext
40126 cat >>conftest.$ac_ext <<_ACEOF
40127 /* end confdefs.h. */
40130 $ac_includes_default
40146 rm -f conftest.$ac_objext conftest$ac_exeext
40147 if { (ac_try="$ac_link"
40148 case "(($ac_try" in
40149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40150 *) ac_try_echo=$ac_try;;
40152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40153 (eval "$ac_link") 2>conftest.er1
40155 grep -v '^ *+' conftest.er1 >conftest.err
40157 cat conftest.err >&5
40158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40159 (exit $ac_status); } && {
40160 test -z "$ac_c_werror_flag" ||
40161 test ! -s conftest.err
40162 } && test -s conftest$ac_exeext &&
40163 $as_test_x conftest$ac_exeext; then
40164 eval wx_cv_func_$wx_func=yes
40166 echo "$as_me: failed program was:" >&5
40167 sed 's/^/| /' conftest.$ac_ext >&5
40169 eval wx_cv_func_$wx_func=no
40172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40173 conftest$ac_exeext conftest.$ac_ext
40176 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40177 { echo "$as_me:$LINENO: result: $ac_res" >&5
40178 echo "${ECHO_T}$ac_res" >&6; }
40180 if eval test \$wx_cv_func_$wx_func = yes
40182 cat >>confdefs.h <<_ACEOF
40183 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40195 for wx_func in getpwuid_r
40197 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40198 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40199 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40200 echo $ECHO_N "(cached) $ECHO_C" >&6
40203 cat >conftest.$ac_ext <<_ACEOF
40207 cat confdefs.h >>conftest.$ac_ext
40208 cat >>conftest.$ac_ext <<_ACEOF
40209 /* end confdefs.h. */
40215 $ac_includes_default
40225 struct passwd pw, *ppw;
40227 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40235 rm -f conftest.$ac_objext conftest$ac_exeext
40236 if { (ac_try="$ac_link"
40237 case "(($ac_try" in
40238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40239 *) ac_try_echo=$ac_try;;
40241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40242 (eval "$ac_link") 2>conftest.er1
40244 grep -v '^ *+' conftest.er1 >conftest.err
40246 cat conftest.err >&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } && {
40249 test -z "$ac_c_werror_flag" ||
40250 test ! -s conftest.err
40251 } && test -s conftest$ac_exeext &&
40252 $as_test_x conftest$ac_exeext; then
40253 eval wx_cv_func_$wx_func=yes
40255 echo "$as_me: failed program was:" >&5
40256 sed 's/^/| /' conftest.$ac_ext >&5
40258 eval wx_cv_func_$wx_func=no
40261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40262 conftest$ac_exeext conftest.$ac_ext
40265 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40266 { echo "$as_me:$LINENO: result: $ac_res" >&5
40267 echo "${ECHO_T}$ac_res" >&6; }
40269 if eval test \$wx_cv_func_$wx_func = yes
40271 cat >>confdefs.h <<_ACEOF
40272 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40284 for wx_func in getgrgid_r
40286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40288 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40289 echo $ECHO_N "(cached) $ECHO_C" >&6
40292 cat >conftest.$ac_ext <<_ACEOF
40296 cat confdefs.h >>conftest.$ac_ext
40297 cat >>conftest.$ac_ext <<_ACEOF
40298 /* end confdefs.h. */
40304 $ac_includes_default
40314 struct group grp, *pgrp;
40316 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40324 rm -f conftest.$ac_objext conftest$ac_exeext
40325 if { (ac_try="$ac_link"
40326 case "(($ac_try" in
40327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40328 *) ac_try_echo=$ac_try;;
40330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40331 (eval "$ac_link") 2>conftest.er1
40333 grep -v '^ *+' conftest.er1 >conftest.err
40335 cat conftest.err >&5
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); } && {
40338 test -z "$ac_c_werror_flag" ||
40339 test ! -s conftest.err
40340 } && test -s conftest$ac_exeext &&
40341 $as_test_x conftest$ac_exeext; then
40342 eval wx_cv_func_$wx_func=yes
40344 echo "$as_me: failed program was:" >&5
40345 sed 's/^/| /' conftest.$ac_ext >&5
40347 eval wx_cv_func_$wx_func=no
40350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40351 conftest$ac_exeext conftest.$ac_ext
40354 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40355 { echo "$as_me:$LINENO: result: $ac_res" >&5
40356 echo "${ECHO_T}$ac_res" >&6; }
40358 if eval test \$wx_cv_func_$wx_func = yes
40360 cat >>confdefs.h <<_ACEOF
40361 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40377 cat >confcache <<\_ACEOF
40378 # This file is a shell script that caches the results of configure
40379 # tests run on this system so they can be shared between configure
40380 # scripts and configure runs, see configure's option --config-cache.
40381 # It is not useful on other systems. If it contains results you don't
40382 # want to keep, you may remove or edit it.
40384 # config.status only pays attention to the cache file if you give it
40385 # the --recheck option to rerun configure.
40387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40389 # following values.
40393 # The following way of writing the cache mishandles newlines in values,
40394 # but we know of no workaround that is simple, portable, and efficient.
40395 # So, we kill variables containing newlines.
40396 # Ultrix sh set writes to stderr and can't be redirected directly,
40397 # and sets the high bit in the cache file unless we assign to the vars.
40399 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40400 eval ac_val=\$$ac_var
40404 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40405 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40408 _ | IFS | as_nl) ;; #(
40409 *) $as_unset $ac_var ;;
40415 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40416 *${as_nl}ac_space=\ *)
40417 # `set' does not quote correctly, so add quotes (double-quote
40418 # substitution turns \\\\ into \\, and sed turns \\ into \).
40421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40424 # `set' quotes correctly as required by POSIX, so do not add quotes.
40425 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40434 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40436 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40438 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40439 if test -w "$cache_file"; then
40440 test "x$cache_file" != "x/dev/null" &&
40441 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40442 echo "$as_me: updating cache $cache_file" >&6;}
40443 cat confcache >$cache_file
40445 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40446 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40452 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40458 if test "$wxUSE_THREADS" = "yes" ; then
40459 if test "$USE_BEOS" = 1; then
40460 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40461 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40466 if test "$wxUSE_THREADS" = "yes" ; then
40469 THREAD_OPTS="-pthread"
40470 if test "x$SUNCXX" = xyes; then
40471 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40475 *-*-solaris2* | *-*-sunos4* )
40476 if test "x$GCC" = "xyes"; then
40477 THREAD_OPTS="-pthreads $THREAD_OPTS"
40481 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40483 *-*-darwin* | *-*-cygwin* )
40487 THREAD_OPTS="pthreads"
40490 if test "x$GCC" = "xyes"; then
40491 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40499 if test "x$GCC" = "xyes"; then
40509 if test "x$GCC" != "xyes"; then
40510 THREAD_OPTS="-Ethread"
40517 THREAD_OPTS="none pthread"
40521 THREAD_OPTS="$THREAD_OPTS pthread none"
40526 for flag in $THREAD_OPTS; do
40529 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40530 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40534 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40535 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40536 THREADS_CFLAGS="$flag"
40540 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40541 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40542 THREADS_LINK="-l$flag"
40547 save_CFLAGS="$CFLAGS"
40548 LIBS="$THREADS_LINK $LIBS"
40549 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40551 cat >conftest.$ac_ext <<_ACEOF
40554 cat confdefs.h >>conftest.$ac_ext
40555 cat >>conftest.$ac_ext <<_ACEOF
40556 /* end confdefs.h. */
40557 #include <pthread.h>
40561 pthread_create(0,0,0,0);
40566 rm -f conftest.$ac_objext conftest$ac_exeext
40567 if { (ac_try="$ac_link"
40568 case "(($ac_try" in
40569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40570 *) ac_try_echo=$ac_try;;
40572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40573 (eval "$ac_link") 2>conftest.er1
40575 grep -v '^ *+' conftest.er1 >conftest.err
40577 cat conftest.err >&5
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); } && {
40580 test -z "$ac_c_werror_flag" ||
40581 test ! -s conftest.err
40582 } && test -s conftest$ac_exeext &&
40583 $as_test_x conftest$ac_exeext; then
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.$ac_ext >&5
40592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40593 conftest$ac_exeext conftest.$ac_ext
40596 CFLAGS="$save_CFLAGS"
40598 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40599 echo "${ECHO_T}$THREADS_OK" >&6; }
40600 if test "x$THREADS_OK" = "xyes"; then
40608 if test "x$THREADS_OK" != "xyes"; then
40610 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40611 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40613 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40614 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40615 LIBS="$THREADS_LINK $LIBS"
40617 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40618 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40622 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40623 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40624 flag="-D_THREAD_SAFE"
40627 flag="-D_THREAD_SAFE"
40630 flag="-D_REENTRANT"
40631 if test "x$GCC" != "xyes"; then
40632 flag="$flag -D_RWSTD_MULTI_THREAD"
40635 *solaris* | alpha*-osf*)
40636 flag="-D_REENTRANT"
40639 { echo "$as_me:$LINENO: result: ${flag}" >&5
40640 echo "${ECHO_T}${flag}" >&6; }
40641 if test "x$flag" != xno; then
40642 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40645 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40649 if test "$wxUSE_THREADS" = "yes" ; then
40651 for ac_func in thr_setconcurrency
40653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40659 cat >conftest.$ac_ext <<_ACEOF
40662 cat confdefs.h >>conftest.$ac_ext
40663 cat >>conftest.$ac_ext <<_ACEOF
40664 /* end confdefs.h. */
40665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40667 #define $ac_func innocuous_$ac_func
40669 /* System header to define __stub macros and hopefully few prototypes,
40670 which can conflict with char $ac_func (); below.
40671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40672 <limits.h> exists even on freestanding compilers. */
40675 # include <limits.h>
40677 # include <assert.h>
40682 /* Override any GCC internal prototype to avoid an error.
40683 Use char because int might match the return type of a GCC
40684 builtin and then its argument prototype would still apply. */
40689 /* The GNU C library defines this for functions which it implements
40690 to always fail with ENOSYS. Some functions are actually named
40691 something starting with __ and the normal name is an alias. */
40692 #if defined __stub_$ac_func || defined __stub___$ac_func
40699 return $ac_func ();
40704 rm -f conftest.$ac_objext conftest$ac_exeext
40705 if { (ac_try="$ac_link"
40706 case "(($ac_try" in
40707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40708 *) ac_try_echo=$ac_try;;
40710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40711 (eval "$ac_link") 2>conftest.er1
40713 grep -v '^ *+' conftest.er1 >conftest.err
40715 cat conftest.err >&5
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); } && {
40718 test -z "$ac_c_werror_flag" ||
40719 test ! -s conftest.err
40720 } && test -s conftest$ac_exeext &&
40721 $as_test_x conftest$ac_exeext; then
40722 eval "$as_ac_var=yes"
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.$ac_ext >&5
40727 eval "$as_ac_var=no"
40730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40731 conftest$ac_exeext conftest.$ac_ext
40733 ac_res=`eval echo '${'$as_ac_var'}'`
40734 { echo "$as_me:$LINENO: result: $ac_res" >&5
40735 echo "${ECHO_T}$ac_res" >&6; }
40736 if test `eval echo '${'$as_ac_var'}'` = yes; then
40737 cat >>confdefs.h <<_ACEOF
40738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40745 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40746 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40747 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40748 echo $ECHO_N "(cached) $ECHO_C" >&6
40752 ac_cpp='$CXXCPP $CPPFLAGS'
40753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40757 cat >conftest.$ac_ext <<_ACEOF
40760 cat confdefs.h >>conftest.$ac_ext
40761 cat >>conftest.$ac_ext <<_ACEOF
40762 /* end confdefs.h. */
40763 #include <pthread.h>
40764 void ThreadCleanupFunc(void *p);
40771 pthread_cleanup_push(ThreadCleanupFunc, p);
40772 pthread_cleanup_pop(0);
40778 rm -f conftest.$ac_objext
40779 if { (ac_try="$ac_compile"
40780 case "(($ac_try" in
40781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40782 *) ac_try_echo=$ac_try;;
40784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40785 (eval "$ac_compile") 2>conftest.er1
40787 grep -v '^ *+' conftest.er1 >conftest.err
40789 cat conftest.err >&5
40790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791 (exit $ac_status); } && {
40792 test -z "$ac_cxx_werror_flag" ||
40793 test ! -s conftest.err
40794 } && test -s conftest.$ac_objext; then
40796 wx_cv_func_pthread_cleanup=yes
40799 echo "$as_me: failed program was:" >&5
40800 sed 's/^/| /' conftest.$ac_ext >&5
40803 wx_cv_func_pthread_cleanup=no
40808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40810 ac_cpp='$CPP $CPPFLAGS'
40811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40817 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40818 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40819 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40820 cat >>confdefs.h <<\_ACEOF
40821 #define wxHAVE_PTHREAD_CLEANUP 1
40827 for ac_header in sched.h
40829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40833 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 cat >conftest.$ac_ext <<_ACEOF
40838 cat confdefs.h >>conftest.$ac_ext
40839 cat >>conftest.$ac_ext <<_ACEOF
40840 /* end confdefs.h. */
40841 $ac_includes_default
40843 #include <$ac_header>
40845 rm -f conftest.$ac_objext
40846 if { (ac_try="$ac_compile"
40847 case "(($ac_try" in
40848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40849 *) ac_try_echo=$ac_try;;
40851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40852 (eval "$ac_compile") 2>conftest.er1
40854 grep -v '^ *+' conftest.er1 >conftest.err
40856 cat conftest.err >&5
40857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40858 (exit $ac_status); } && {
40859 test -z "$ac_c_werror_flag" ||
40860 test ! -s conftest.err
40861 } && test -s conftest.$ac_objext; then
40862 eval "$as_ac_Header=yes"
40864 echo "$as_me: failed program was:" >&5
40865 sed 's/^/| /' conftest.$ac_ext >&5
40867 eval "$as_ac_Header=no"
40870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40872 ac_res=`eval echo '${'$as_ac_Header'}'`
40873 { echo "$as_me:$LINENO: result: $ac_res" >&5
40874 echo "${ECHO_T}$ac_res" >&6; }
40875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40876 cat >>confdefs.h <<_ACEOF
40877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40884 if test "$ac_cv_header_sched_h" = "yes"; then
40885 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40886 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40887 if test "${ac_cv_func_sched_yield+set}" = set; then
40888 echo $ECHO_N "(cached) $ECHO_C" >&6
40890 cat >conftest.$ac_ext <<_ACEOF
40893 cat confdefs.h >>conftest.$ac_ext
40894 cat >>conftest.$ac_ext <<_ACEOF
40895 /* end confdefs.h. */
40896 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40898 #define sched_yield innocuous_sched_yield
40900 /* System header to define __stub macros and hopefully few prototypes,
40901 which can conflict with char sched_yield (); below.
40902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40903 <limits.h> exists even on freestanding compilers. */
40906 # include <limits.h>
40908 # include <assert.h>
40913 /* Override any GCC internal prototype to avoid an error.
40914 Use char because int might match the return type of a GCC
40915 builtin and then its argument prototype would still apply. */
40919 char sched_yield ();
40920 /* The GNU C library defines this for functions which it implements
40921 to always fail with ENOSYS. Some functions are actually named
40922 something starting with __ and the normal name is an alias. */
40923 #if defined __stub_sched_yield || defined __stub___sched_yield
40930 return sched_yield ();
40935 rm -f conftest.$ac_objext conftest$ac_exeext
40936 if { (ac_try="$ac_link"
40937 case "(($ac_try" in
40938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40939 *) ac_try_echo=$ac_try;;
40941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40942 (eval "$ac_link") 2>conftest.er1
40944 grep -v '^ *+' conftest.er1 >conftest.err
40946 cat conftest.err >&5
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); } && {
40949 test -z "$ac_c_werror_flag" ||
40950 test ! -s conftest.err
40951 } && test -s conftest$ac_exeext &&
40952 $as_test_x conftest$ac_exeext; then
40953 ac_cv_func_sched_yield=yes
40955 echo "$as_me: failed program was:" >&5
40956 sed 's/^/| /' conftest.$ac_ext >&5
40958 ac_cv_func_sched_yield=no
40961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40962 conftest$ac_exeext conftest.$ac_ext
40964 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40965 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40966 if test $ac_cv_func_sched_yield = yes; then
40967 cat >>confdefs.h <<\_ACEOF
40968 #define HAVE_SCHED_YIELD 1
40973 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40974 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40975 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40976 echo $ECHO_N "(cached) $ECHO_C" >&6
40978 ac_check_lib_save_LIBS=$LIBS
40979 LIBS="-lposix4 $LIBS"
40980 cat >conftest.$ac_ext <<_ACEOF
40983 cat confdefs.h >>conftest.$ac_ext
40984 cat >>conftest.$ac_ext <<_ACEOF
40985 /* end confdefs.h. */
40987 /* Override any GCC internal prototype to avoid an error.
40988 Use char because int might match the return type of a GCC
40989 builtin and then its argument prototype would still apply. */
40993 char sched_yield ();
40997 return sched_yield ();
41002 rm -f conftest.$ac_objext conftest$ac_exeext
41003 if { (ac_try="$ac_link"
41004 case "(($ac_try" in
41005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41006 *) ac_try_echo=$ac_try;;
41008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41009 (eval "$ac_link") 2>conftest.er1
41011 grep -v '^ *+' conftest.er1 >conftest.err
41013 cat conftest.err >&5
41014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41015 (exit $ac_status); } && {
41016 test -z "$ac_c_werror_flag" ||
41017 test ! -s conftest.err
41018 } && test -s conftest$ac_exeext &&
41019 $as_test_x conftest$ac_exeext; then
41020 ac_cv_lib_posix4_sched_yield=yes
41022 echo "$as_me: failed program was:" >&5
41023 sed 's/^/| /' conftest.$ac_ext >&5
41025 ac_cv_lib_posix4_sched_yield=no
41028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41029 conftest$ac_exeext conftest.$ac_ext
41030 LIBS=$ac_check_lib_save_LIBS
41032 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41033 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41034 if test $ac_cv_lib_posix4_sched_yield = yes; then
41035 cat >>confdefs.h <<\_ACEOF
41036 #define HAVE_SCHED_YIELD 1
41038 POSIX4_LINK=" -lposix4"
41040 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41041 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41052 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41053 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41054 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41055 echo $ECHO_N "(cached) $ECHO_C" >&6
41057 cat >conftest.$ac_ext <<_ACEOF
41060 cat confdefs.h >>conftest.$ac_ext
41061 cat >>conftest.$ac_ext <<_ACEOF
41062 /* end confdefs.h. */
41063 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41065 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41067 /* System header to define __stub macros and hopefully few prototypes,
41068 which can conflict with char pthread_attr_getschedpolicy (); below.
41069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41070 <limits.h> exists even on freestanding compilers. */
41073 # include <limits.h>
41075 # include <assert.h>
41078 #undef pthread_attr_getschedpolicy
41080 /* Override any GCC internal prototype to avoid an error.
41081 Use char because int might match the return type of a GCC
41082 builtin and then its argument prototype would still apply. */
41086 char pthread_attr_getschedpolicy ();
41087 /* The GNU C library defines this for functions which it implements
41088 to always fail with ENOSYS. Some functions are actually named
41089 something starting with __ and the normal name is an alias. */
41090 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41097 return pthread_attr_getschedpolicy ();
41102 rm -f conftest.$ac_objext conftest$ac_exeext
41103 if { (ac_try="$ac_link"
41104 case "(($ac_try" in
41105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41106 *) ac_try_echo=$ac_try;;
41108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41109 (eval "$ac_link") 2>conftest.er1
41111 grep -v '^ *+' conftest.er1 >conftest.err
41113 cat conftest.err >&5
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); } && {
41116 test -z "$ac_c_werror_flag" ||
41117 test ! -s conftest.err
41118 } && test -s conftest$ac_exeext &&
41119 $as_test_x conftest$ac_exeext; then
41120 ac_cv_func_pthread_attr_getschedpolicy=yes
41122 echo "$as_me: failed program was:" >&5
41123 sed 's/^/| /' conftest.$ac_ext >&5
41125 ac_cv_func_pthread_attr_getschedpolicy=no
41128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41129 conftest$ac_exeext conftest.$ac_ext
41131 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41132 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41133 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41134 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41135 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41136 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41137 echo $ECHO_N "(cached) $ECHO_C" >&6
41139 cat >conftest.$ac_ext <<_ACEOF
41142 cat confdefs.h >>conftest.$ac_ext
41143 cat >>conftest.$ac_ext <<_ACEOF
41144 /* end confdefs.h. */
41145 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41147 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41149 /* System header to define __stub macros and hopefully few prototypes,
41150 which can conflict with char pthread_attr_setschedparam (); below.
41151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41152 <limits.h> exists even on freestanding compilers. */
41155 # include <limits.h>
41157 # include <assert.h>
41160 #undef pthread_attr_setschedparam
41162 /* Override any GCC internal prototype to avoid an error.
41163 Use char because int might match the return type of a GCC
41164 builtin and then its argument prototype would still apply. */
41168 char pthread_attr_setschedparam ();
41169 /* The GNU C library defines this for functions which it implements
41170 to always fail with ENOSYS. Some functions are actually named
41171 something starting with __ and the normal name is an alias. */
41172 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41179 return pthread_attr_setschedparam ();
41184 rm -f conftest.$ac_objext conftest$ac_exeext
41185 if { (ac_try="$ac_link"
41186 case "(($ac_try" in
41187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41188 *) ac_try_echo=$ac_try;;
41190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41191 (eval "$ac_link") 2>conftest.er1
41193 grep -v '^ *+' conftest.er1 >conftest.err
41195 cat conftest.err >&5
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); } && {
41198 test -z "$ac_c_werror_flag" ||
41199 test ! -s conftest.err
41200 } && test -s conftest$ac_exeext &&
41201 $as_test_x conftest$ac_exeext; then
41202 ac_cv_func_pthread_attr_setschedparam=yes
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.$ac_ext >&5
41207 ac_cv_func_pthread_attr_setschedparam=no
41210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41211 conftest$ac_exeext conftest.$ac_ext
41213 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41214 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41215 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41216 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41217 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41218 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41219 echo $ECHO_N "(cached) $ECHO_C" >&6
41221 cat >conftest.$ac_ext <<_ACEOF
41224 cat confdefs.h >>conftest.$ac_ext
41225 cat >>conftest.$ac_ext <<_ACEOF
41226 /* end confdefs.h. */
41227 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41229 #define sched_get_priority_max innocuous_sched_get_priority_max
41231 /* System header to define __stub macros and hopefully few prototypes,
41232 which can conflict with char sched_get_priority_max (); below.
41233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41234 <limits.h> exists even on freestanding compilers. */
41237 # include <limits.h>
41239 # include <assert.h>
41242 #undef sched_get_priority_max
41244 /* Override any GCC internal prototype to avoid an error.
41245 Use char because int might match the return type of a GCC
41246 builtin and then its argument prototype would still apply. */
41250 char sched_get_priority_max ();
41251 /* The GNU C library defines this for functions which it implements
41252 to always fail with ENOSYS. Some functions are actually named
41253 something starting with __ and the normal name is an alias. */
41254 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41261 return sched_get_priority_max ();
41266 rm -f conftest.$ac_objext conftest$ac_exeext
41267 if { (ac_try="$ac_link"
41268 case "(($ac_try" in
41269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41270 *) ac_try_echo=$ac_try;;
41272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41273 (eval "$ac_link") 2>conftest.er1
41275 grep -v '^ *+' conftest.er1 >conftest.err
41277 cat conftest.err >&5
41278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279 (exit $ac_status); } && {
41280 test -z "$ac_c_werror_flag" ||
41281 test ! -s conftest.err
41282 } && test -s conftest$ac_exeext &&
41283 $as_test_x conftest$ac_exeext; then
41284 ac_cv_func_sched_get_priority_max=yes
41286 echo "$as_me: failed program was:" >&5
41287 sed 's/^/| /' conftest.$ac_ext >&5
41289 ac_cv_func_sched_get_priority_max=no
41292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41293 conftest$ac_exeext conftest.$ac_ext
41295 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41296 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41297 if test $ac_cv_func_sched_get_priority_max = yes; then
41300 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41301 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41302 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41303 echo $ECHO_N "(cached) $ECHO_C" >&6
41305 ac_check_lib_save_LIBS=$LIBS
41306 LIBS="-lposix4 $LIBS"
41307 cat >conftest.$ac_ext <<_ACEOF
41310 cat confdefs.h >>conftest.$ac_ext
41311 cat >>conftest.$ac_ext <<_ACEOF
41312 /* end confdefs.h. */
41314 /* Override any GCC internal prototype to avoid an error.
41315 Use char because int might match the return type of a GCC
41316 builtin and then its argument prototype would still apply. */
41320 char sched_get_priority_max ();
41324 return sched_get_priority_max ();
41329 rm -f conftest.$ac_objext conftest$ac_exeext
41330 if { (ac_try="$ac_link"
41331 case "(($ac_try" in
41332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41333 *) ac_try_echo=$ac_try;;
41335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41336 (eval "$ac_link") 2>conftest.er1
41338 grep -v '^ *+' conftest.er1 >conftest.err
41340 cat conftest.err >&5
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); } && {
41343 test -z "$ac_c_werror_flag" ||
41344 test ! -s conftest.err
41345 } && test -s conftest$ac_exeext &&
41346 $as_test_x conftest$ac_exeext; then
41347 ac_cv_lib_posix4_sched_get_priority_max=yes
41349 echo "$as_me: failed program was:" >&5
41350 sed 's/^/| /' conftest.$ac_ext >&5
41352 ac_cv_lib_posix4_sched_get_priority_max=no
41355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41356 conftest$ac_exeext conftest.$ac_ext
41357 LIBS=$ac_check_lib_save_LIBS
41359 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41360 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41361 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41364 POSIX4_LINK=" -lposix4"
41378 if test "$HAVE_PRIOR_FUNCS" = 1; then
41379 cat >>confdefs.h <<\_ACEOF
41380 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41384 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41385 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41388 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41389 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41390 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41391 echo $ECHO_N "(cached) $ECHO_C" >&6
41393 cat >conftest.$ac_ext <<_ACEOF
41396 cat confdefs.h >>conftest.$ac_ext
41397 cat >>conftest.$ac_ext <<_ACEOF
41398 /* end confdefs.h. */
41399 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41401 #define pthread_cancel innocuous_pthread_cancel
41403 /* System header to define __stub macros and hopefully few prototypes,
41404 which can conflict with char pthread_cancel (); below.
41405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41406 <limits.h> exists even on freestanding compilers. */
41409 # include <limits.h>
41411 # include <assert.h>
41414 #undef pthread_cancel
41416 /* Override any GCC internal prototype to avoid an error.
41417 Use char because int might match the return type of a GCC
41418 builtin and then its argument prototype would still apply. */
41422 char pthread_cancel ();
41423 /* The GNU C library defines this for functions which it implements
41424 to always fail with ENOSYS. Some functions are actually named
41425 something starting with __ and the normal name is an alias. */
41426 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41433 return pthread_cancel ();
41438 rm -f conftest.$ac_objext conftest$ac_exeext
41439 if { (ac_try="$ac_link"
41440 case "(($ac_try" in
41441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41442 *) ac_try_echo=$ac_try;;
41444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41445 (eval "$ac_link") 2>conftest.er1
41447 grep -v '^ *+' conftest.er1 >conftest.err
41449 cat conftest.err >&5
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); } && {
41452 test -z "$ac_c_werror_flag" ||
41453 test ! -s conftest.err
41454 } && test -s conftest$ac_exeext &&
41455 $as_test_x conftest$ac_exeext; then
41456 ac_cv_func_pthread_cancel=yes
41458 echo "$as_me: failed program was:" >&5
41459 sed 's/^/| /' conftest.$ac_ext >&5
41461 ac_cv_func_pthread_cancel=no
41464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41465 conftest$ac_exeext conftest.$ac_ext
41467 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41468 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41469 if test $ac_cv_func_pthread_cancel = yes; then
41470 cat >>confdefs.h <<\_ACEOF
41471 #define HAVE_PTHREAD_CANCEL 1
41475 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41476 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41480 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41481 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41482 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41483 echo $ECHO_N "(cached) $ECHO_C" >&6
41485 cat >conftest.$ac_ext <<_ACEOF
41488 cat confdefs.h >>conftest.$ac_ext
41489 cat >>conftest.$ac_ext <<_ACEOF
41490 /* end confdefs.h. */
41491 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41493 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41495 /* System header to define __stub macros and hopefully few prototypes,
41496 which can conflict with char pthread_mutex_timedlock (); below.
41497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41498 <limits.h> exists even on freestanding compilers. */
41501 # include <limits.h>
41503 # include <assert.h>
41506 #undef pthread_mutex_timedlock
41508 /* Override any GCC internal prototype to avoid an error.
41509 Use char because int might match the return type of a GCC
41510 builtin and then its argument prototype would still apply. */
41514 char pthread_mutex_timedlock ();
41515 /* The GNU C library defines this for functions which it implements
41516 to always fail with ENOSYS. Some functions are actually named
41517 something starting with __ and the normal name is an alias. */
41518 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41525 return pthread_mutex_timedlock ();
41530 rm -f conftest.$ac_objext conftest$ac_exeext
41531 if { (ac_try="$ac_link"
41532 case "(($ac_try" in
41533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41534 *) ac_try_echo=$ac_try;;
41536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41537 (eval "$ac_link") 2>conftest.er1
41539 grep -v '^ *+' conftest.er1 >conftest.err
41541 cat conftest.err >&5
41542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41543 (exit $ac_status); } && {
41544 test -z "$ac_c_werror_flag" ||
41545 test ! -s conftest.err
41546 } && test -s conftest$ac_exeext &&
41547 $as_test_x conftest$ac_exeext; then
41548 ac_cv_func_pthread_mutex_timedlock=yes
41550 echo "$as_me: failed program was:" >&5
41551 sed 's/^/| /' conftest.$ac_ext >&5
41553 ac_cv_func_pthread_mutex_timedlock=no
41556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41557 conftest$ac_exeext conftest.$ac_ext
41559 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41560 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41561 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41562 cat >>confdefs.h <<\_ACEOF
41563 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41567 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41568 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41572 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41573 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41574 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41575 echo $ECHO_N "(cached) $ECHO_C" >&6
41577 cat >conftest.$ac_ext <<_ACEOF
41580 cat confdefs.h >>conftest.$ac_ext
41581 cat >>conftest.$ac_ext <<_ACEOF
41582 /* end confdefs.h. */
41583 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41585 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41587 /* System header to define __stub macros and hopefully few prototypes,
41588 which can conflict with char pthread_attr_setstacksize (); below.
41589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41590 <limits.h> exists even on freestanding compilers. */
41593 # include <limits.h>
41595 # include <assert.h>
41598 #undef pthread_attr_setstacksize
41600 /* Override any GCC internal prototype to avoid an error.
41601 Use char because int might match the return type of a GCC
41602 builtin and then its argument prototype would still apply. */
41606 char pthread_attr_setstacksize ();
41607 /* The GNU C library defines this for functions which it implements
41608 to always fail with ENOSYS. Some functions are actually named
41609 something starting with __ and the normal name is an alias. */
41610 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41617 return pthread_attr_setstacksize ();
41622 rm -f conftest.$ac_objext conftest$ac_exeext
41623 if { (ac_try="$ac_link"
41624 case "(($ac_try" in
41625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41626 *) ac_try_echo=$ac_try;;
41628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41629 (eval "$ac_link") 2>conftest.er1
41631 grep -v '^ *+' conftest.er1 >conftest.err
41633 cat conftest.err >&5
41634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41635 (exit $ac_status); } && {
41636 test -z "$ac_c_werror_flag" ||
41637 test ! -s conftest.err
41638 } && test -s conftest$ac_exeext &&
41639 $as_test_x conftest$ac_exeext; then
41640 ac_cv_func_pthread_attr_setstacksize=yes
41642 echo "$as_me: failed program was:" >&5
41643 sed 's/^/| /' conftest.$ac_ext >&5
41645 ac_cv_func_pthread_attr_setstacksize=no
41648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41649 conftest$ac_exeext conftest.$ac_ext
41651 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41652 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41653 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41654 cat >>confdefs.h <<\_ACEOF
41655 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41662 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41663 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41664 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41665 echo $ECHO_N "(cached) $ECHO_C" >&6
41668 cat >conftest.$ac_ext <<_ACEOF
41671 cat confdefs.h >>conftest.$ac_ext
41672 cat >>conftest.$ac_ext <<_ACEOF
41673 /* end confdefs.h. */
41674 #include <pthread.h>
41679 pthread_mutexattr_t attr;
41680 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41686 rm -f conftest.$ac_objext
41687 if { (ac_try="$ac_compile"
41688 case "(($ac_try" in
41689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41690 *) ac_try_echo=$ac_try;;
41692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41693 (eval "$ac_compile") 2>conftest.er1
41695 grep -v '^ *+' conftest.er1 >conftest.err
41697 cat conftest.err >&5
41698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699 (exit $ac_status); } && {
41700 test -z "$ac_c_werror_flag" ||
41701 test ! -s conftest.err
41702 } && test -s conftest.$ac_objext; then
41703 wx_cv_type_pthread_mutexattr_t=yes
41705 echo "$as_me: failed program was:" >&5
41706 sed 's/^/| /' conftest.$ac_ext >&5
41708 wx_cv_type_pthread_mutexattr_t=no
41712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41715 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41716 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41718 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41719 cat >>confdefs.h <<\_ACEOF
41720 #define HAVE_PTHREAD_MUTEXATTR_T 1
41724 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41725 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41726 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41727 echo $ECHO_N "(cached) $ECHO_C" >&6
41730 cat >conftest.$ac_ext <<_ACEOF
41733 cat confdefs.h >>conftest.$ac_ext
41734 cat >>conftest.$ac_ext <<_ACEOF
41735 /* end confdefs.h. */
41736 #include <pthread.h>
41741 pthread_mutexattr_t attr;
41742 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41748 rm -f conftest.$ac_objext
41749 if { (ac_try="$ac_compile"
41750 case "(($ac_try" in
41751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41752 *) ac_try_echo=$ac_try;;
41754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41755 (eval "$ac_compile") 2>conftest.er1
41757 grep -v '^ *+' conftest.er1 >conftest.err
41759 cat conftest.err >&5
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); } && {
41762 test -z "$ac_c_werror_flag" ||
41763 test ! -s conftest.err
41764 } && test -s conftest.$ac_objext; then
41765 wx_cv_func_pthread_mutexattr_settype_decl=yes
41767 echo "$as_me: failed program was:" >&5
41768 sed 's/^/| /' conftest.$ac_ext >&5
41770 wx_cv_func_pthread_mutexattr_settype_decl=no
41774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41777 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41778 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41779 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41780 cat >>confdefs.h <<\_ACEOF
41781 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41786 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41787 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41788 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41789 echo $ECHO_N "(cached) $ECHO_C" >&6
41792 cat >conftest.$ac_ext <<_ACEOF
41795 cat confdefs.h >>conftest.$ac_ext
41796 cat >>conftest.$ac_ext <<_ACEOF
41797 /* end confdefs.h. */
41798 #include <pthread.h>
41803 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41809 rm -f conftest.$ac_objext
41810 if { (ac_try="$ac_compile"
41811 case "(($ac_try" in
41812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41813 *) ac_try_echo=$ac_try;;
41815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41816 (eval "$ac_compile") 2>conftest.er1
41818 grep -v '^ *+' conftest.er1 >conftest.err
41820 cat conftest.err >&5
41821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41822 (exit $ac_status); } && {
41823 test -z "$ac_c_werror_flag" ||
41824 test ! -s conftest.err
41825 } && test -s conftest.$ac_objext; then
41827 wx_cv_type_pthread_rec_mutex_init=yes
41830 echo "$as_me: failed program was:" >&5
41831 sed 's/^/| /' conftest.$ac_ext >&5
41834 wx_cv_type_pthread_rec_mutex_init=no
41839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41842 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41843 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41844 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41845 cat >>confdefs.h <<\_ACEOF
41846 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41850 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41851 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41855 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41856 if test "$USE_NETBSD" = 1; then
41857 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41858 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41859 wxUSE_COMPILER_TLS=no
41861 wxUSE_COMPILER_TLS=yes
41865 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41866 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41867 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41868 if test "${wx_cv_cc___thread+set}" = set; then
41869 echo $ECHO_N "(cached) $ECHO_C" >&6
41872 cat >conftest.$ac_ext <<_ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41878 #include <pthread.h>
41883 static __thread int n = 0;
41884 static __thread int *p = 0;
41890 rm -f conftest.$ac_objext
41891 if { (ac_try="$ac_compile"
41892 case "(($ac_try" in
41893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41894 *) ac_try_echo=$ac_try;;
41896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41897 (eval "$ac_compile") 2>conftest.er1
41899 grep -v '^ *+' conftest.er1 >conftest.err
41901 cat conftest.err >&5
41902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41903 (exit $ac_status); } && {
41904 test -z "$ac_c_werror_flag" ||
41905 test ! -s conftest.err
41906 } && test -s conftest.$ac_objext; then
41907 wx_cv_cc___thread=yes
41909 echo "$as_me: failed program was:" >&5
41910 sed 's/^/| /' conftest.$ac_ext >&5
41912 wx_cv_cc___thread=no
41916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41920 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41921 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41923 if test "$wx_cv_cc___thread" = "yes"; then
41929 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41930 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41932 if test "x$GCC" = "xyes" ; then
41934 if test -z "" ; then
41936 ax_gcc_option_test="int main()
41943 ax_gcc_option_test=""
41948 # Dump the test program to file
41949 cat <<EOF > conftest.c
41950 $ax_gcc_option_test
41953 # Dump back the file to the log, useful for debugging purposes
41954 { ac_try='cat conftest.c 1>&5'
41955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41956 (eval $ac_try) 2>&5
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); }; }
41961 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41963 (eval $ac_try) 2>&5
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); }; } ; then
41968 { echo "$as_me:$LINENO: result: yes" >&5
41969 echo "${ECHO_T}yes" >&6; }
41971 ax_gcc_version_option=yes
41976 { echo "$as_me:$LINENO: result: no" >&5
41977 echo "${ECHO_T}no" >&6; }
41979 ax_gcc_version_option=no
41987 { echo "$as_me:$LINENO: result: no gcc available" >&5
41988 echo "${ECHO_T}no gcc available" >&6; }
41993 if test "x$GXX" = "xyes"; then
41995 if test "x$ax_gxx_version_option" != "no"; then
41997 { echo "$as_me:$LINENO: checking gxx version" >&5
41998 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41999 if test "${ax_cv_gxx_version+set}" = set; then
42000 echo $ECHO_N "(cached) $ECHO_C" >&6
42003 ax_cv_gxx_version="`$CXX -dumpversion`"
42004 if test "x$ax_cv_gxx_version" = "x"; then
42006 ax_cv_gxx_version=""
42012 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
42013 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
42014 GXX_VERSION=$ax_cv_gxx_version
42023 if test -n "$ax_cv_gxx_version"; then
42024 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
42025 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
42026 case "$ax_cv_gxx_version" in
42028 { echo "$as_me:$LINENO: result: no, it's broken" >&5
42029 echo "${ECHO_T}no, it's broken" >&6; }
42030 wx_cv_cc___thread=no
42033 { echo "$as_me:$LINENO: result: yes, it works" >&5
42034 echo "${ECHO_T}yes, it works" >&6; }
42040 if test "$wx_cv_cc___thread" = "yes"; then
42041 cat >>confdefs.h <<\_ACEOF
42042 #define HAVE___THREAD_KEYWORD 1
42050 if test "$wxUSE_THREADS" = "yes" ; then
42052 x86_64-*-mingw32* )
42055 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42056 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42057 if test "${wx_cv_cflags_mthread+set}" = set; then
42058 echo $ECHO_N "(cached) $ECHO_C" >&6
42061 CFLAGS_OLD="$CFLAGS"
42062 CFLAGS="-mthreads $CFLAGS"
42063 cat >conftest.$ac_ext <<_ACEOF
42066 cat confdefs.h >>conftest.$ac_ext
42067 cat >>conftest.$ac_ext <<_ACEOF
42068 /* end confdefs.h. */
42078 rm -f conftest.$ac_objext
42079 if { (ac_try="$ac_compile"
42080 case "(($ac_try" in
42081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42082 *) ac_try_echo=$ac_try;;
42084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42085 (eval "$ac_compile") 2>conftest.er1
42087 grep -v '^ *+' conftest.er1 >conftest.err
42089 cat conftest.err >&5
42090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42091 (exit $ac_status); } && {
42092 test -z "$ac_c_werror_flag" ||
42093 test ! -s conftest.err
42094 } && test -s conftest.$ac_objext; then
42095 wx_cv_cflags_mthread=yes
42097 echo "$as_me: failed program was:" >&5
42098 sed 's/^/| /' conftest.$ac_ext >&5
42100 wx_cv_cflags_mthread=no
42104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42108 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42109 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42111 if test "$wx_cv_cflags_mthread" = "yes"; then
42112 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42113 LDFLAGS="$LDFLAGS -mthreads"
42115 CFLAGS="$CFLAGS_OLD"
42119 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42120 LDFLAGS="$LDFLAGS -Zmt"
42126 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42127 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42128 if test "${ac_cv_func_localtime_r+set}" = set; then
42129 echo $ECHO_N "(cached) $ECHO_C" >&6
42131 cat >conftest.$ac_ext <<_ACEOF
42134 cat confdefs.h >>conftest.$ac_ext
42135 cat >>conftest.$ac_ext <<_ACEOF
42136 /* end confdefs.h. */
42137 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42139 #define localtime_r innocuous_localtime_r
42141 /* System header to define __stub macros and hopefully few prototypes,
42142 which can conflict with char localtime_r (); below.
42143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42144 <limits.h> exists even on freestanding compilers. */
42147 # include <limits.h>
42149 # include <assert.h>
42154 /* Override any GCC internal prototype to avoid an error.
42155 Use char because int might match the return type of a GCC
42156 builtin and then its argument prototype would still apply. */
42160 char localtime_r ();
42161 /* The GNU C library defines this for functions which it implements
42162 to always fail with ENOSYS. Some functions are actually named
42163 something starting with __ and the normal name is an alias. */
42164 #if defined __stub_localtime_r || defined __stub___localtime_r
42171 return localtime_r ();
42176 rm -f conftest.$ac_objext conftest$ac_exeext
42177 if { (ac_try="$ac_link"
42178 case "(($ac_try" in
42179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42180 *) ac_try_echo=$ac_try;;
42182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42183 (eval "$ac_link") 2>conftest.er1
42185 grep -v '^ *+' conftest.er1 >conftest.err
42187 cat conftest.err >&5
42188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42189 (exit $ac_status); } && {
42190 test -z "$ac_c_werror_flag" ||
42191 test ! -s conftest.err
42192 } && test -s conftest$ac_exeext &&
42193 $as_test_x conftest$ac_exeext; then
42194 ac_cv_func_localtime_r=yes
42196 echo "$as_me: failed program was:" >&5
42197 sed 's/^/| /' conftest.$ac_ext >&5
42199 ac_cv_func_localtime_r=no
42202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42203 conftest$ac_exeext conftest.$ac_ext
42205 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42206 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42207 if test $ac_cv_func_localtime_r = yes; then
42208 cat >>confdefs.h <<\_ACEOF
42209 #define HAVE_LOCALTIME_R 1
42214 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42215 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42216 if test "${ac_cv_func_gmtime_r+set}" = set; then
42217 echo $ECHO_N "(cached) $ECHO_C" >&6
42219 cat >conftest.$ac_ext <<_ACEOF
42222 cat confdefs.h >>conftest.$ac_ext
42223 cat >>conftest.$ac_ext <<_ACEOF
42224 /* end confdefs.h. */
42225 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42227 #define gmtime_r innocuous_gmtime_r
42229 /* System header to define __stub macros and hopefully few prototypes,
42230 which can conflict with char gmtime_r (); below.
42231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42232 <limits.h> exists even on freestanding compilers. */
42235 # include <limits.h>
42237 # include <assert.h>
42242 /* Override any GCC internal prototype to avoid an error.
42243 Use char because int might match the return type of a GCC
42244 builtin and then its argument prototype would still apply. */
42249 /* The GNU C library defines this for functions which it implements
42250 to always fail with ENOSYS. Some functions are actually named
42251 something starting with __ and the normal name is an alias. */
42252 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42259 return gmtime_r ();
42264 rm -f conftest.$ac_objext conftest$ac_exeext
42265 if { (ac_try="$ac_link"
42266 case "(($ac_try" in
42267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42268 *) ac_try_echo=$ac_try;;
42270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42271 (eval "$ac_link") 2>conftest.er1
42273 grep -v '^ *+' conftest.er1 >conftest.err
42275 cat conftest.err >&5
42276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42277 (exit $ac_status); } && {
42278 test -z "$ac_c_werror_flag" ||
42279 test ! -s conftest.err
42280 } && test -s conftest$ac_exeext &&
42281 $as_test_x conftest$ac_exeext; then
42282 ac_cv_func_gmtime_r=yes
42284 echo "$as_me: failed program was:" >&5
42285 sed 's/^/| /' conftest.$ac_ext >&5
42287 ac_cv_func_gmtime_r=no
42290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42291 conftest$ac_exeext conftest.$ac_ext
42293 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42294 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42295 if test $ac_cv_func_gmtime_r = yes; then
42296 cat >>confdefs.h <<\_ACEOF
42297 #define HAVE_GMTIME_R 1
42306 ac_cpp='$CPP $CPPFLAGS'
42307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42311 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42312 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42314 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42315 echo $ECHO_N "(cached) $ECHO_C" >&6
42319 ################################################################
42321 ac_cv_func_which_gethostbyname_r=unknown
42324 # ONE ARGUMENT (sanity check)
42327 # This should fail, as there is no variant of gethostbyname_r() that takes
42328 # a single argument. If it actually compiles, then we can assume that
42329 # netdb.h is not declaring the function, and the compiler is thereby
42330 # assuming an implicit prototype. In which case, we're out of luck.
42332 cat >conftest.$ac_ext <<_ACEOF
42335 cat confdefs.h >>conftest.$ac_ext
42336 cat >>conftest.$ac_ext <<_ACEOF
42337 /* end confdefs.h. */
42343 char *name = "www.gnu.org";
42344 (void)gethostbyname_r(name) /* ; */
42350 rm -f conftest.$ac_objext
42351 if { (ac_try="$ac_compile"
42352 case "(($ac_try" in
42353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42354 *) ac_try_echo=$ac_try;;
42356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42357 (eval "$ac_compile") 2>conftest.er1
42359 grep -v '^ *+' conftest.er1 >conftest.err
42361 cat conftest.err >&5
42362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42363 (exit $ac_status); } && {
42364 test -z "$ac_c_werror_flag" ||
42365 test ! -s conftest.err
42366 } && test -s conftest.$ac_objext; then
42367 ac_cv_func_which_gethostbyname_r=no
42369 echo "$as_me: failed program was:" >&5
42370 sed 's/^/| /' conftest.$ac_ext >&5
42375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42382 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42384 cat >conftest.$ac_ext <<_ACEOF
42387 cat confdefs.h >>conftest.$ac_ext
42388 cat >>conftest.$ac_ext <<_ACEOF
42389 /* end confdefs.h. */
42395 char *name = "www.gnu.org";
42396 struct hostent ret, *retp;
42400 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42406 rm -f conftest.$ac_objext
42407 if { (ac_try="$ac_compile"
42408 case "(($ac_try" in
42409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42410 *) ac_try_echo=$ac_try;;
42412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42413 (eval "$ac_compile") 2>conftest.er1
42415 grep -v '^ *+' conftest.er1 >conftest.err
42417 cat conftest.err >&5
42418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419 (exit $ac_status); } && {
42420 test -z "$ac_c_werror_flag" ||
42421 test ! -s conftest.err
42422 } && test -s conftest.$ac_objext; then
42423 ac_cv_func_which_gethostbyname_r=six
42425 echo "$as_me: failed program was:" >&5
42426 sed 's/^/| /' conftest.$ac_ext >&5
42431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42440 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42442 cat >conftest.$ac_ext <<_ACEOF
42445 cat confdefs.h >>conftest.$ac_ext
42446 cat >>conftest.$ac_ext <<_ACEOF
42447 /* end confdefs.h. */
42453 char *name = "www.gnu.org";
42454 struct hostent ret;
42458 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42464 rm -f conftest.$ac_objext
42465 if { (ac_try="$ac_compile"
42466 case "(($ac_try" in
42467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42468 *) ac_try_echo=$ac_try;;
42470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42471 (eval "$ac_compile") 2>conftest.er1
42473 grep -v '^ *+' conftest.er1 >conftest.err
42475 cat conftest.err >&5
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); } && {
42478 test -z "$ac_c_werror_flag" ||
42479 test ! -s conftest.err
42480 } && test -s conftest.$ac_objext; then
42481 ac_cv_func_which_gethostbyname_r=five
42483 echo "$as_me: failed program was:" >&5
42484 sed 's/^/| /' conftest.$ac_ext >&5
42489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42495 # (e.g. AIX, HP-UX, Tru64)
42498 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42500 cat >conftest.$ac_ext <<_ACEOF
42503 cat confdefs.h >>conftest.$ac_ext
42504 cat >>conftest.$ac_ext <<_ACEOF
42505 /* end confdefs.h. */
42511 char *name = "www.gnu.org";
42512 struct hostent ret;
42513 struct hostent_data data;
42514 (void)gethostbyname_r(name, &ret, &data) /* ; */
42520 rm -f conftest.$ac_objext
42521 if { (ac_try="$ac_compile"
42522 case "(($ac_try" in
42523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42524 *) ac_try_echo=$ac_try;;
42526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42527 (eval "$ac_compile") 2>conftest.er1
42529 grep -v '^ *+' conftest.er1 >conftest.err
42531 cat conftest.err >&5
42532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533 (exit $ac_status); } && {
42534 test -z "$ac_c_werror_flag" ||
42535 test ! -s conftest.err
42536 } && test -s conftest.$ac_objext; then
42537 ac_cv_func_which_gethostbyname_r=three
42539 echo "$as_me: failed program was:" >&5
42540 sed 's/^/| /' conftest.$ac_ext >&5
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42549 ################################################################
42554 case "$ac_cv_func_which_gethostbyname_r" in
42556 { echo "$as_me:$LINENO: result: three" >&5
42557 echo "${ECHO_T}three" >&6; }
42558 cat >>confdefs.h <<\_ACEOF
42559 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42565 { echo "$as_me:$LINENO: result: five" >&5
42566 echo "${ECHO_T}five" >&6; }
42567 cat >>confdefs.h <<\_ACEOF
42568 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42574 { echo "$as_me:$LINENO: result: six" >&5
42575 echo "${ECHO_T}six" >&6; }
42576 cat >>confdefs.h <<\_ACEOF
42577 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42583 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42584 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42588 { echo "$as_me:$LINENO: result: can't tell" >&5
42589 echo "${ECHO_T}can't tell" >&6; }
42593 { { echo "$as_me:$LINENO: error: internal error" >&5
42594 echo "$as_me: error: internal error" >&2;}
42595 { (exit 1); exit 1; }; }
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42607 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42608 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42609 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42610 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42611 if test "${ac_cv_func_gethostbyname+set}" = set; then
42612 echo $ECHO_N "(cached) $ECHO_C" >&6
42614 cat >conftest.$ac_ext <<_ACEOF
42617 cat confdefs.h >>conftest.$ac_ext
42618 cat >>conftest.$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42620 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42622 #define gethostbyname innocuous_gethostbyname
42624 /* System header to define __stub macros and hopefully few prototypes,
42625 which can conflict with char gethostbyname (); below.
42626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42627 <limits.h> exists even on freestanding compilers. */
42630 # include <limits.h>
42632 # include <assert.h>
42635 #undef gethostbyname
42637 /* Override any GCC internal prototype to avoid an error.
42638 Use char because int might match the return type of a GCC
42639 builtin and then its argument prototype would still apply. */
42643 char gethostbyname ();
42644 /* The GNU C library defines this for functions which it implements
42645 to always fail with ENOSYS. Some functions are actually named
42646 something starting with __ and the normal name is an alias. */
42647 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42654 return gethostbyname ();
42659 rm -f conftest.$ac_objext conftest$ac_exeext
42660 if { (ac_try="$ac_link"
42661 case "(($ac_try" in
42662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42663 *) ac_try_echo=$ac_try;;
42665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42666 (eval "$ac_link") 2>conftest.er1
42668 grep -v '^ *+' conftest.er1 >conftest.err
42670 cat conftest.err >&5
42671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42672 (exit $ac_status); } && {
42673 test -z "$ac_c_werror_flag" ||
42674 test ! -s conftest.err
42675 } && test -s conftest$ac_exeext &&
42676 $as_test_x conftest$ac_exeext; then
42677 ac_cv_func_gethostbyname=yes
42679 echo "$as_me: failed program was:" >&5
42680 sed 's/^/| /' conftest.$ac_ext >&5
42682 ac_cv_func_gethostbyname=no
42685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42686 conftest$ac_exeext conftest.$ac_ext
42688 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42689 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42690 if test $ac_cv_func_gethostbyname = yes; then
42691 cat >>confdefs.h <<\_ACEOF
42692 #define HAVE_GETHOSTBYNAME 1
42699 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42700 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42701 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42702 echo $ECHO_N "(cached) $ECHO_C" >&6
42706 ac_cpp='$CXXCPP $CPPFLAGS'
42707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42712 cat >conftest.$ac_ext <<_ACEOF
42715 cat confdefs.h >>conftest.$ac_ext
42716 cat >>conftest.$ac_ext <<_ACEOF
42717 /* end confdefs.h. */
42725 struct servent *se, *res;
42728 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42734 rm -f conftest.$ac_objext
42735 if { (ac_try="$ac_compile"
42736 case "(($ac_try" in
42737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42738 *) ac_try_echo=$ac_try;;
42740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42741 (eval "$ac_compile") 2>conftest.er1
42743 grep -v '^ *+' conftest.er1 >conftest.err
42745 cat conftest.err >&5
42746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42747 (exit $ac_status); } && {
42748 test -z "$ac_cxx_werror_flag" ||
42749 test ! -s conftest.err
42750 } && test -s conftest.$ac_objext; then
42751 ac_cv_func_which_getservbyname_r=six
42753 echo "$as_me: failed program was:" >&5
42754 sed 's/^/| /' conftest.$ac_ext >&5
42757 cat >conftest.$ac_ext <<_ACEOF
42760 cat confdefs.h >>conftest.$ac_ext
42761 cat >>conftest.$ac_ext <<_ACEOF
42762 /* end confdefs.h. */
42770 struct servent *se;
42773 (void) getservbyname_r(name, proto, se, buffer, buflen)
42779 rm -f conftest.$ac_objext
42780 if { (ac_try="$ac_compile"
42781 case "(($ac_try" in
42782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42783 *) ac_try_echo=$ac_try;;
42785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42786 (eval "$ac_compile") 2>conftest.er1
42788 grep -v '^ *+' conftest.er1 >conftest.err
42790 cat conftest.err >&5
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); } && {
42793 test -z "$ac_cxx_werror_flag" ||
42794 test ! -s conftest.err
42795 } && test -s conftest.$ac_objext; then
42796 ac_cv_func_which_getservbyname_r=five
42798 echo "$as_me: failed program was:" >&5
42799 sed 's/^/| /' conftest.$ac_ext >&5
42802 cat >conftest.$ac_ext <<_ACEOF
42805 cat confdefs.h >>conftest.$ac_ext
42806 cat >>conftest.$ac_ext <<_ACEOF
42807 /* end confdefs.h. */
42815 struct servent *se;
42816 struct servent_data data;
42817 (void) getservbyname_r(name, proto, se, &data);
42823 rm -f conftest.$ac_objext
42824 if { (ac_try="$ac_compile"
42825 case "(($ac_try" in
42826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42827 *) ac_try_echo=$ac_try;;
42829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42830 (eval "$ac_compile") 2>conftest.er1
42832 grep -v '^ *+' conftest.er1 >conftest.err
42834 cat conftest.err >&5
42835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42836 (exit $ac_status); } && {
42837 test -z "$ac_cxx_werror_flag" ||
42838 test ! -s conftest.err
42839 } && test -s conftest.$ac_objext; then
42840 ac_cv_func_which_getservbyname_r=four
42842 echo "$as_me: failed program was:" >&5
42843 sed 's/^/| /' conftest.$ac_ext >&5
42845 ac_cv_func_which_getservbyname_r=no
42849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42861 ac_cpp='$CPP $CPPFLAGS'
42862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42869 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42870 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42872 if test $ac_cv_func_which_getservbyname_r = six; then
42873 cat >>confdefs.h <<\_ACEOF
42874 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42877 elif test $ac_cv_func_which_getservbyname_r = five; then
42878 cat >>confdefs.h <<\_ACEOF
42879 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42882 elif test $ac_cv_func_which_getservbyname_r = four; then
42883 cat >>confdefs.h <<\_ACEOF
42884 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42890 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42891 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42893 for ac_func in getservbyname
42895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42896 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42899 echo $ECHO_N "(cached) $ECHO_C" >&6
42901 cat >conftest.$ac_ext <<_ACEOF
42904 cat confdefs.h >>conftest.$ac_ext
42905 cat >>conftest.$ac_ext <<_ACEOF
42906 /* end confdefs.h. */
42907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42909 #define $ac_func innocuous_$ac_func
42911 /* System header to define __stub macros and hopefully few prototypes,
42912 which can conflict with char $ac_func (); below.
42913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42914 <limits.h> exists even on freestanding compilers. */
42917 # include <limits.h>
42919 # include <assert.h>
42924 /* Override any GCC internal prototype to avoid an error.
42925 Use char because int might match the return type of a GCC
42926 builtin and then its argument prototype would still apply. */
42931 /* The GNU C library defines this for functions which it implements
42932 to always fail with ENOSYS. Some functions are actually named
42933 something starting with __ and the normal name is an alias. */
42934 #if defined __stub_$ac_func || defined __stub___$ac_func
42941 return $ac_func ();
42946 rm -f conftest.$ac_objext conftest$ac_exeext
42947 if { (ac_try="$ac_link"
42948 case "(($ac_try" in
42949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42950 *) ac_try_echo=$ac_try;;
42952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42953 (eval "$ac_link") 2>conftest.er1
42955 grep -v '^ *+' conftest.er1 >conftest.err
42957 cat conftest.err >&5
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); } && {
42960 test -z "$ac_c_werror_flag" ||
42961 test ! -s conftest.err
42962 } && test -s conftest$ac_exeext &&
42963 $as_test_x conftest$ac_exeext; then
42964 eval "$as_ac_var=yes"
42966 echo "$as_me: failed program was:" >&5
42967 sed 's/^/| /' conftest.$ac_ext >&5
42969 eval "$as_ac_var=no"
42972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42973 conftest$ac_exeext conftest.$ac_ext
42975 ac_res=`eval echo '${'$as_ac_var'}'`
42976 { echo "$as_me:$LINENO: result: $ac_res" >&5
42977 echo "${ECHO_T}$ac_res" >&6; }
42978 if test `eval echo '${'$as_ac_var'}'` = yes; then
42979 cat >>confdefs.h <<_ACEOF
42980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42982 cat >>confdefs.h <<\_ACEOF
42983 #define HAVE_GETSERVBYNAME 1
42991 if test "$wxUSE_THREADS" = "yes"; then
42992 cat >>confdefs.h <<\_ACEOF
42993 #define wxUSE_THREADS 1
42997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42999 if test "$wx_cv_func_strtok_r" = "yes"; then
43000 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43001 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43002 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43003 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43004 { echo "$as_me:$LINENO: result: yes" >&5
43005 echo "${ECHO_T}yes" >&6; }
43007 { echo "$as_me:$LINENO: result: no" >&5
43008 echo "${ECHO_T}no" >&6; }
43013 if test "$WXGTK2" = 1 ; then
43014 cat >>confdefs.h <<_ACEOF
43015 #define __WXGTK20__ $WXGTK2
43021 if test "$WXGTK12" = 1 ; then
43022 cat >>confdefs.h <<_ACEOF
43023 #define __WXGTK12__ $WXGTK12
43028 if test "$WXGTK127" = 1 ; then
43029 cat >>confdefs.h <<_ACEOF
43030 #define __WXGTK127__ $WXGTK127
43035 if test "$WXGPE" = 1 ; then
43036 cat >>confdefs.h <<_ACEOF
43037 #define __WXGPE__ $WXGPE
43043 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
43044 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
43045 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
43046 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
43050 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43051 wxUSE_DEBUG_INFO=yes
43052 if test "$GCC" = yes; then
43053 DEBUG_CFLAGS="-ggdb"
43057 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
43058 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
43060 if test "$wxUSE_GTK" = 1 ; then
43061 if test "x$wxGTK_VERSION" = "x1" ; then
43062 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43067 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43068 cat >>confdefs.h <<\_ACEOF
43069 #define wxUSE_MEMORY_TRACING 1
43072 cat >>confdefs.h <<\_ACEOF
43073 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43076 cat >>confdefs.h <<\_ACEOF
43077 #define wxUSE_DEBUG_NEW_ALWAYS 1
43080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43083 if test "$wxUSE_DMALLOC" = "yes" ; then
43084 DMALLOC_LIBS="-ldmallocthcxx"
43088 if test "$wxUSE_PROFILE" = "yes" ; then
43089 PROFILE_FLAGS=" -pg"
43092 if test "$GCC" = "yes" ; then
43093 if test "$wxUSE_NO_RTTI" = "yes" ; then
43094 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43096 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43097 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43099 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43100 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43105 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43108 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43114 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
43115 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43116 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43118 if test "$wxUSE_OPTIMISE" = "no" ; then
43119 if test "$GCC" = yes ; then
43120 OPTIMISE_CFLAGS="-O0"
43123 if test "$GCC" = yes ; then
43125 *-pc-os2_emx | *-pc-os2-emx )
43126 OPTIMISE_CFLAGS="-O2"
43129 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43133 OPTIMISE_CFLAGS="-O"
43139 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43140 cat >>confdefs.h <<\_ACEOF
43141 #define WXWIN_COMPATIBILITY_2_6 1
43145 WXWIN_COMPATIBILITY_2_8="yes"
43148 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43149 cat >>confdefs.h <<\_ACEOF
43150 #define WXWIN_COMPATIBILITY_2_8 1
43156 if test "$wxUSE_GUI" = "yes"; then
43157 cat >>confdefs.h <<\_ACEOF
43158 #define wxUSE_GUI 1
43165 if test "$wxUSE_UNIX" = "yes"; then
43166 cat >>confdefs.h <<\_ACEOF
43167 #define wxUSE_UNIX 1
43173 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43177 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43178 if test "$USE_DOS" = 1; then
43182 for ac_func in dlopen
43184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43185 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43187 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43188 echo $ECHO_N "(cached) $ECHO_C" >&6
43190 cat >conftest.$ac_ext <<_ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h. */
43196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43198 #define $ac_func innocuous_$ac_func
43200 /* System header to define __stub macros and hopefully few prototypes,
43201 which can conflict with char $ac_func (); below.
43202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43203 <limits.h> exists even on freestanding compilers. */
43206 # include <limits.h>
43208 # include <assert.h>
43213 /* Override any GCC internal prototype to avoid an error.
43214 Use char because int might match the return type of a GCC
43215 builtin and then its argument prototype would still apply. */
43220 /* The GNU C library defines this for functions which it implements
43221 to always fail with ENOSYS. Some functions are actually named
43222 something starting with __ and the normal name is an alias. */
43223 #if defined __stub_$ac_func || defined __stub___$ac_func
43230 return $ac_func ();
43235 rm -f conftest.$ac_objext conftest$ac_exeext
43236 if { (ac_try="$ac_link"
43237 case "(($ac_try" in
43238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43239 *) ac_try_echo=$ac_try;;
43241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43242 (eval "$ac_link") 2>conftest.er1
43244 grep -v '^ *+' conftest.er1 >conftest.err
43246 cat conftest.err >&5
43247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43248 (exit $ac_status); } && {
43249 test -z "$ac_c_werror_flag" ||
43250 test ! -s conftest.err
43251 } && test -s conftest$ac_exeext &&
43252 $as_test_x conftest$ac_exeext; then
43253 eval "$as_ac_var=yes"
43255 echo "$as_me: failed program was:" >&5
43256 sed 's/^/| /' conftest.$ac_ext >&5
43258 eval "$as_ac_var=no"
43261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43262 conftest$ac_exeext conftest.$ac_ext
43264 ac_res=`eval echo '${'$as_ac_var'}'`
43265 { echo "$as_me:$LINENO: result: $ac_res" >&5
43266 echo "${ECHO_T}$ac_res" >&6; }
43267 if test `eval echo '${'$as_ac_var'}'` = yes; then
43268 cat >>confdefs.h <<_ACEOF
43269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43272 cat >>confdefs.h <<\_ACEOF
43273 #define HAVE_DLOPEN 1
43280 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43281 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43282 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43283 echo $ECHO_N "(cached) $ECHO_C" >&6
43285 ac_check_lib_save_LIBS=$LIBS
43287 cat >conftest.$ac_ext <<_ACEOF
43290 cat confdefs.h >>conftest.$ac_ext
43291 cat >>conftest.$ac_ext <<_ACEOF
43292 /* end confdefs.h. */
43294 /* Override any GCC internal prototype to avoid an error.
43295 Use char because int might match the return type of a GCC
43296 builtin and then its argument prototype would still apply. */
43309 rm -f conftest.$ac_objext conftest$ac_exeext
43310 if { (ac_try="$ac_link"
43311 case "(($ac_try" in
43312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43313 *) ac_try_echo=$ac_try;;
43315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43316 (eval "$ac_link") 2>conftest.er1
43318 grep -v '^ *+' conftest.er1 >conftest.err
43320 cat conftest.err >&5
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); } && {
43323 test -z "$ac_c_werror_flag" ||
43324 test ! -s conftest.err
43325 } && test -s conftest$ac_exeext &&
43326 $as_test_x conftest$ac_exeext; then
43327 ac_cv_lib_dl_dlopen=yes
43329 echo "$as_me: failed program was:" >&5
43330 sed 's/^/| /' conftest.$ac_ext >&5
43332 ac_cv_lib_dl_dlopen=no
43335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43336 conftest$ac_exeext conftest.$ac_ext
43337 LIBS=$ac_check_lib_save_LIBS
43339 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43340 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43341 if test $ac_cv_lib_dl_dlopen = yes; then
43343 cat >>confdefs.h <<\_ACEOF
43344 #define HAVE_DLOPEN 1
43348 DL_LINK=" -ldl$DL_LINK"
43353 for ac_func in shl_load
43355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43359 echo $ECHO_N "(cached) $ECHO_C" >&6
43361 cat >conftest.$ac_ext <<_ACEOF
43364 cat confdefs.h >>conftest.$ac_ext
43365 cat >>conftest.$ac_ext <<_ACEOF
43366 /* end confdefs.h. */
43367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43369 #define $ac_func innocuous_$ac_func
43371 /* System header to define __stub macros and hopefully few prototypes,
43372 which can conflict with char $ac_func (); below.
43373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43374 <limits.h> exists even on freestanding compilers. */
43377 # include <limits.h>
43379 # include <assert.h>
43384 /* Override any GCC internal prototype to avoid an error.
43385 Use char because int might match the return type of a GCC
43386 builtin and then its argument prototype would still apply. */
43391 /* The GNU C library defines this for functions which it implements
43392 to always fail with ENOSYS. Some functions are actually named
43393 something starting with __ and the normal name is an alias. */
43394 #if defined __stub_$ac_func || defined __stub___$ac_func
43401 return $ac_func ();
43406 rm -f conftest.$ac_objext conftest$ac_exeext
43407 if { (ac_try="$ac_link"
43408 case "(($ac_try" in
43409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43410 *) ac_try_echo=$ac_try;;
43412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43413 (eval "$ac_link") 2>conftest.er1
43415 grep -v '^ *+' conftest.er1 >conftest.err
43417 cat conftest.err >&5
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); } && {
43420 test -z "$ac_c_werror_flag" ||
43421 test ! -s conftest.err
43422 } && test -s conftest$ac_exeext &&
43423 $as_test_x conftest$ac_exeext; then
43424 eval "$as_ac_var=yes"
43426 echo "$as_me: failed program was:" >&5
43427 sed 's/^/| /' conftest.$ac_ext >&5
43429 eval "$as_ac_var=no"
43432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43433 conftest$ac_exeext conftest.$ac_ext
43435 ac_res=`eval echo '${'$as_ac_var'}'`
43436 { echo "$as_me:$LINENO: result: $ac_res" >&5
43437 echo "${ECHO_T}$ac_res" >&6; }
43438 if test `eval echo '${'$as_ac_var'}'` = yes; then
43439 cat >>confdefs.h <<_ACEOF
43440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43443 cat >>confdefs.h <<\_ACEOF
43444 #define HAVE_SHL_LOAD 1
43451 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43452 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43453 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43454 echo $ECHO_N "(cached) $ECHO_C" >&6
43456 ac_check_lib_save_LIBS=$LIBS
43457 LIBS="-lshl_load $LIBS"
43458 cat >conftest.$ac_ext <<_ACEOF
43461 cat confdefs.h >>conftest.$ac_ext
43462 cat >>conftest.$ac_ext <<_ACEOF
43463 /* end confdefs.h. */
43465 /* Override any GCC internal prototype to avoid an error.
43466 Use char because int might match the return type of a GCC
43467 builtin and then its argument prototype would still apply. */
43480 rm -f conftest.$ac_objext conftest$ac_exeext
43481 if { (ac_try="$ac_link"
43482 case "(($ac_try" in
43483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43484 *) ac_try_echo=$ac_try;;
43486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43487 (eval "$ac_link") 2>conftest.er1
43489 grep -v '^ *+' conftest.er1 >conftest.err
43491 cat conftest.err >&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } && {
43494 test -z "$ac_c_werror_flag" ||
43495 test ! -s conftest.err
43496 } && test -s conftest$ac_exeext &&
43497 $as_test_x conftest$ac_exeext; then
43498 ac_cv_lib_shl_load_dld=yes
43500 echo "$as_me: failed program was:" >&5
43501 sed 's/^/| /' conftest.$ac_ext >&5
43503 ac_cv_lib_shl_load_dld=no
43506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43507 conftest$ac_exeext conftest.$ac_ext
43508 LIBS=$ac_check_lib_save_LIBS
43510 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43511 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43512 if test $ac_cv_lib_shl_load_dld = yes; then
43515 DL_LINK=" -ldld$DL_LINK"
43531 if test "$HAVE_DL_FUNCS" = 1; then
43533 for ac_func in dlerror
43535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43539 echo $ECHO_N "(cached) $ECHO_C" >&6
43541 cat >conftest.$ac_ext <<_ACEOF
43544 cat confdefs.h >>conftest.$ac_ext
43545 cat >>conftest.$ac_ext <<_ACEOF
43546 /* end confdefs.h. */
43547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43549 #define $ac_func innocuous_$ac_func
43551 /* System header to define __stub macros and hopefully few prototypes,
43552 which can conflict with char $ac_func (); below.
43553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43554 <limits.h> exists even on freestanding compilers. */
43557 # include <limits.h>
43559 # include <assert.h>
43564 /* Override any GCC internal prototype to avoid an error.
43565 Use char because int might match the return type of a GCC
43566 builtin and then its argument prototype would still apply. */
43571 /* The GNU C library defines this for functions which it implements
43572 to always fail with ENOSYS. Some functions are actually named
43573 something starting with __ and the normal name is an alias. */
43574 #if defined __stub_$ac_func || defined __stub___$ac_func
43581 return $ac_func ();
43586 rm -f conftest.$ac_objext conftest$ac_exeext
43587 if { (ac_try="$ac_link"
43588 case "(($ac_try" in
43589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43590 *) ac_try_echo=$ac_try;;
43592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43593 (eval "$ac_link") 2>conftest.er1
43595 grep -v '^ *+' conftest.er1 >conftest.err
43597 cat conftest.err >&5
43598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43599 (exit $ac_status); } && {
43600 test -z "$ac_c_werror_flag" ||
43601 test ! -s conftest.err
43602 } && test -s conftest$ac_exeext &&
43603 $as_test_x conftest$ac_exeext; then
43604 eval "$as_ac_var=yes"
43606 echo "$as_me: failed program was:" >&5
43607 sed 's/^/| /' conftest.$ac_ext >&5
43609 eval "$as_ac_var=no"
43612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43613 conftest$ac_exeext conftest.$ac_ext
43615 ac_res=`eval echo '${'$as_ac_var'}'`
43616 { echo "$as_me:$LINENO: result: $ac_res" >&5
43617 echo "${ECHO_T}$ac_res" >&6; }
43618 if test `eval echo '${'$as_ac_var'}'` = yes; then
43619 cat >>confdefs.h <<_ACEOF
43620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43622 cat >>confdefs.h <<\_ACEOF
43623 #define HAVE_DLERROR 1
43628 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43629 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43630 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43631 echo $ECHO_N "(cached) $ECHO_C" >&6
43633 ac_check_lib_save_LIBS=$LIBS
43635 cat >conftest.$ac_ext <<_ACEOF
43638 cat confdefs.h >>conftest.$ac_ext
43639 cat >>conftest.$ac_ext <<_ACEOF
43640 /* end confdefs.h. */
43642 /* Override any GCC internal prototype to avoid an error.
43643 Use char because int might match the return type of a GCC
43644 builtin and then its argument prototype would still apply. */
43657 rm -f conftest.$ac_objext conftest$ac_exeext
43658 if { (ac_try="$ac_link"
43659 case "(($ac_try" in
43660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43661 *) ac_try_echo=$ac_try;;
43663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43664 (eval "$ac_link") 2>conftest.er1
43666 grep -v '^ *+' conftest.er1 >conftest.err
43668 cat conftest.err >&5
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); } && {
43671 test -z "$ac_c_werror_flag" ||
43672 test ! -s conftest.err
43673 } && test -s conftest$ac_exeext &&
43674 $as_test_x conftest$ac_exeext; then
43675 ac_cv_lib_dl_dlerror=yes
43677 echo "$as_me: failed program was:" >&5
43678 sed 's/^/| /' conftest.$ac_ext >&5
43680 ac_cv_lib_dl_dlerror=no
43683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43684 conftest$ac_exeext conftest.$ac_ext
43685 LIBS=$ac_check_lib_save_LIBS
43687 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43688 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43689 if test $ac_cv_lib_dl_dlerror = yes; then
43690 cat >>confdefs.h <<\_ACEOF
43691 #define HAVE_DLERROR 1
43704 if test "$USE_DARWIN" = 1; then
43708 if test "$HAVE_DL_FUNCS" = 0; then
43709 if test "$HAVE_SHL_FUNCS" = 0; then
43710 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43711 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43712 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43713 wxUSE_DYNAMIC_LOADER=no
43714 wxUSE_DYNLIB_CLASS=no
43716 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43717 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43724 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_DYNAMIC_LOADER 1
43730 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43731 cat >>confdefs.h <<\_ACEOF
43732 #define wxUSE_DYNLIB_CLASS 1
43739 if test "$wxUSE_PLUGINS" = "yes" ; then
43740 if test "$wxUSE_SHARED" = "no" ; then
43741 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43742 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43745 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43746 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43747 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43750 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43751 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43752 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43755 if test "$wxUSE_PLUGINS" = "yes" ; then
43756 cat >>confdefs.h <<\_ACEOF
43757 #define wxUSE_PLUGINS 1
43764 if test "$wxUSE_FSWATCHER" = "yes"; then
43765 if test "$wxUSE_MSW" != "1"; then
43766 if test "$wxUSE_UNIX" = "yes"; then
43768 for ac_header in sys/inotify.h
43770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43774 echo $ECHO_N "(cached) $ECHO_C" >&6
43776 cat >conftest.$ac_ext <<_ACEOF
43779 cat confdefs.h >>conftest.$ac_ext
43780 cat >>conftest.$ac_ext <<_ACEOF
43781 /* end confdefs.h. */
43782 $ac_includes_default
43784 #include <$ac_header>
43786 rm -f conftest.$ac_objext
43787 if { (ac_try="$ac_compile"
43788 case "(($ac_try" in
43789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43790 *) ac_try_echo=$ac_try;;
43792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43793 (eval "$ac_compile") 2>conftest.er1
43795 grep -v '^ *+' conftest.er1 >conftest.err
43797 cat conftest.err >&5
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); } && {
43800 test -z "$ac_c_werror_flag" ||
43801 test ! -s conftest.err
43802 } && test -s conftest.$ac_objext; then
43803 eval "$as_ac_Header=yes"
43805 echo "$as_me: failed program was:" >&5
43806 sed 's/^/| /' conftest.$ac_ext >&5
43808 eval "$as_ac_Header=no"
43811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43813 ac_res=`eval echo '${'$as_ac_Header'}'`
43814 { echo "$as_me:$LINENO: result: $ac_res" >&5
43815 echo "${ECHO_T}$ac_res" >&6; }
43816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43817 cat >>confdefs.h <<_ACEOF
43818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43825 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43826 cat >>confdefs.h <<\_ACEOF
43827 #define wxHAS_INOTIFY 1
43832 for ac_header in sys/event.h
43834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43838 echo $ECHO_N "(cached) $ECHO_C" >&6
43840 cat >conftest.$ac_ext <<_ACEOF
43843 cat confdefs.h >>conftest.$ac_ext
43844 cat >>conftest.$ac_ext <<_ACEOF
43845 /* end confdefs.h. */
43846 $ac_includes_default
43848 #include <$ac_header>
43850 rm -f conftest.$ac_objext
43851 if { (ac_try="$ac_compile"
43852 case "(($ac_try" in
43853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43854 *) ac_try_echo=$ac_try;;
43856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43857 (eval "$ac_compile") 2>conftest.er1
43859 grep -v '^ *+' conftest.er1 >conftest.err
43861 cat conftest.err >&5
43862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863 (exit $ac_status); } && {
43864 test -z "$ac_c_werror_flag" ||
43865 test ! -s conftest.err
43866 } && test -s conftest.$ac_objext; then
43867 eval "$as_ac_Header=yes"
43869 echo "$as_me: failed program was:" >&5
43870 sed 's/^/| /' conftest.$ac_ext >&5
43872 eval "$as_ac_Header=no"
43875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43877 ac_res=`eval echo '${'$as_ac_Header'}'`
43878 { echo "$as_me:$LINENO: result: $ac_res" >&5
43879 echo "${ECHO_T}$ac_res" >&6; }
43880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43881 cat >>confdefs.h <<_ACEOF
43882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43889 if test "$ac_cv_header_sys_event_h" = "yes"; then
43890 cat >>confdefs.h <<\_ACEOF
43891 #define wxHAS_KQUEUE 1
43902 if test "$wxUSE_THREADS" != "yes"; then
43903 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43904 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43909 if test "$wxUSE_FSWATCHER" = "yes"; then
43910 cat >>confdefs.h <<\_ACEOF
43911 #define wxUSE_FSWATCHER 1
43914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43916 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43917 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43922 if test "$wxUSE_STL" = "yes"; then
43923 cat >>confdefs.h <<\_ACEOF
43924 #define wxUSE_STL 1
43929 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43930 cat >>confdefs.h <<\_ACEOF
43931 #define wxUSE_EXTENDED_RTTI 1
43936 if test "$wxUSE_ANY" = "yes"; then
43937 cat >>confdefs.h <<\_ACEOF
43938 #define wxUSE_ANY 1
43943 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43944 cat >>confdefs.h <<\_ACEOF
43945 #define wxUSE_APPLE_IEEE 1
43950 if test "$wxUSE_TIMER" = "yes"; then
43951 cat >>confdefs.h <<\_ACEOF
43952 #define wxUSE_TIMER 1
43957 if test "$USE_UNIX" = 1 ; then
43958 if test "$wxUSE_MGL" != 1; then
43959 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43960 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43961 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43962 echo $ECHO_N "(cached) $ECHO_C" >&6
43965 cat >conftest.$ac_ext <<_ACEOF
43968 cat confdefs.h >>conftest.$ac_ext
43969 cat >>conftest.$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43972 #include <sys/ioctl.h>
43973 #include <sys/soundcard.h>
43979 ioctl(0, SNDCTL_DSP_SPEED, 0);
43985 rm -f conftest.$ac_objext conftest$ac_exeext
43986 if { (ac_try="$ac_link"
43987 case "(($ac_try" in
43988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43989 *) ac_try_echo=$ac_try;;
43991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43992 (eval "$ac_link") 2>conftest.er1
43994 grep -v '^ *+' conftest.er1 >conftest.err
43996 cat conftest.err >&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); } && {
43999 test -z "$ac_c_werror_flag" ||
44000 test ! -s conftest.err
44001 } && test -s conftest$ac_exeext &&
44002 $as_test_x conftest$ac_exeext; then
44003 ac_cv_header_sys_soundcard=yes
44005 echo "$as_me: failed program was:" >&5
44006 sed 's/^/| /' conftest.$ac_ext >&5
44010 LIBS="$saveLibs -lossaudio"
44011 cat >conftest.$ac_ext <<_ACEOF
44014 cat confdefs.h >>conftest.$ac_ext
44015 cat >>conftest.$ac_ext <<_ACEOF
44016 /* end confdefs.h. */
44018 #include <sys/ioctl.h>
44019 #include <sys/soundcard.h>
44025 ioctl(0, SNDCTL_DSP_SPEED, 0);
44031 rm -f conftest.$ac_objext conftest$ac_exeext
44032 if { (ac_try="$ac_link"
44033 case "(($ac_try" in
44034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44035 *) ac_try_echo=$ac_try;;
44037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44038 (eval "$ac_link") 2>conftest.er1
44040 grep -v '^ *+' conftest.er1 >conftest.err
44042 cat conftest.err >&5
44043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44044 (exit $ac_status); } && {
44045 test -z "$ac_c_werror_flag" ||
44046 test ! -s conftest.err
44047 } && test -s conftest$ac_exeext &&
44048 $as_test_x conftest$ac_exeext; then
44049 ac_cv_header_sys_soundcard=yes
44051 echo "$as_me: failed program was:" >&5
44052 sed 's/^/| /' conftest.$ac_ext >&5
44056 ac_cv_header_sys_soundcard=no
44061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44062 conftest$ac_exeext conftest.$ac_ext
44067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44068 conftest$ac_exeext conftest.$ac_ext
44071 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44072 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44075 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define HAVE_SYS_SOUNDCARD_H 1
44084 if test "$wxUSE_SOUND" = "yes"; then
44085 if test "$USE_UNIX" = 1 ; then
44086 if test "$wxUSE_LIBSDL" != "no"; then
44088 # Check whether --with-sdl-prefix was given.
44089 if test "${with_sdl_prefix+set}" = set; then
44090 withval=$with_sdl_prefix; sdl_prefix="$withval"
44096 # Check whether --with-sdl-exec-prefix was given.
44097 if test "${with_sdl_exec_prefix+set}" = set; then
44098 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44103 # Check whether --enable-sdltest was given.
44104 if test "${enable_sdltest+set}" = set; then
44105 enableval=$enable_sdltest;
44111 if test x$sdl_exec_prefix != x ; then
44112 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44113 if test x${SDL_CONFIG+set} != xset ; then
44114 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44117 if test x$sdl_prefix != x ; then
44118 sdl_args="$sdl_args --prefix=$sdl_prefix"
44119 if test x${SDL_CONFIG+set} != xset ; then
44120 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44124 if test "x$prefix" != xNONE; then
44125 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44127 # Extract the first word of "sdl-config", so it can be a program name with args.
44128 set dummy sdl-config; ac_word=$2
44129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44131 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44132 echo $ECHO_N "(cached) $ECHO_C" >&6
44134 case $SDL_CONFIG in
44136 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44140 for as_dir in $PATH
44143 test -z "$as_dir" && as_dir=.
44144 for ac_exec_ext in '' $ac_executable_extensions; do
44145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44146 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44154 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44158 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44159 if test -n "$SDL_CONFIG"; then
44160 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44161 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44163 { echo "$as_me:$LINENO: result: no" >&5
44164 echo "${ECHO_T}no" >&6; }
44168 min_sdl_version=1.2.0
44169 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44170 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44172 if test "$SDL_CONFIG" = "no" ; then
44175 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44176 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44178 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44179 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44180 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44181 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44182 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44183 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44184 if test "x$enable_sdltest" = "xyes" ; then
44185 ac_save_CFLAGS="$CFLAGS"
44186 ac_save_CXXFLAGS="$CXXFLAGS"
44187 ac_save_LIBS="$LIBS"
44188 CFLAGS="$CFLAGS $SDL_CFLAGS"
44189 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44190 LIBS="$LIBS $SDL_LIBS"
44192 if test "$cross_compiling" = yes; then
44193 echo $ac_n "cross compiling; assumed OK... $ac_c"
44195 cat >conftest.$ac_ext <<_ACEOF
44198 cat confdefs.h >>conftest.$ac_ext
44199 cat >>conftest.$ac_ext <<_ACEOF
44200 /* end confdefs.h. */
44203 #include <stdlib.h>
44204 #include <string.h>
44208 my_strdup (char *str)
44214 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44215 strcpy (new_str, str);
44223 int main (int argc, char *argv[])
44225 int major, minor, micro;
44228 /* This hangs on some systems (?)
44229 system ("touch conf.sdltest");
44231 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44233 /* HP/UX 9 (%@#!) writes to sscanf strings */
44234 tmp_version = my_strdup("$min_sdl_version");
44235 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44236 printf("%s, bad version string\n", "$min_sdl_version");
44240 if (($sdl_major_version > major) ||
44241 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44242 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44248 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44249 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44250 printf("*** best to upgrade to the required version.\n");
44251 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44252 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44253 printf("*** config.cache before re-running configure\n");
44260 rm -f conftest$ac_exeext
44261 if { (ac_try="$ac_link"
44262 case "(($ac_try" in
44263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44264 *) ac_try_echo=$ac_try;;
44266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44267 (eval "$ac_link") 2>&5
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44271 { (case "(($ac_try" in
44272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44273 *) ac_try_echo=$ac_try;;
44275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44276 (eval "$ac_try") 2>&5
44278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279 (exit $ac_status); }; }; then
44282 echo "$as_me: program exited with status $ac_status" >&5
44283 echo "$as_me: failed program was:" >&5
44284 sed 's/^/| /' conftest.$ac_ext >&5
44286 ( exit $ac_status )
44289 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44293 CFLAGS="$ac_save_CFLAGS"
44294 CXXFLAGS="$ac_save_CXXFLAGS"
44295 LIBS="$ac_save_LIBS"
44298 if test "x$no_sdl" = x ; then
44299 { echo "$as_me:$LINENO: result: yes" >&5
44300 echo "${ECHO_T}yes" >&6; }
44302 EXTRALIBS_SDL="$SDL_LIBS"
44303 CFLAGS="$SDL_CFLAGS $CFLAGS"
44304 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44305 cat >>confdefs.h <<\_ACEOF
44306 #define wxUSE_LIBSDL 1
44311 { echo "$as_me:$LINENO: result: no" >&5
44312 echo "${ECHO_T}no" >&6; }
44313 if test "$SDL_CONFIG" = "no" ; then
44314 echo "*** The sdl-config script installed by SDL could not be found"
44315 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44316 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44317 echo "*** full path to sdl-config."
44319 if test -f conf.sdltest ; then
44322 echo "*** Could not run SDL test program, checking why..."
44323 CFLAGS="$CFLAGS $SDL_CFLAGS"
44324 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44325 LIBS="$LIBS $SDL_LIBS"
44326 cat >conftest.$ac_ext <<_ACEOF
44329 cat confdefs.h >>conftest.$ac_ext
44330 cat >>conftest.$ac_ext <<_ACEOF
44331 /* end confdefs.h. */
44336 int main(int argc, char *argv[])
44339 #define main K_and_R_C_main
44349 rm -f conftest.$ac_objext conftest$ac_exeext
44350 if { (ac_try="$ac_link"
44351 case "(($ac_try" in
44352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44353 *) ac_try_echo=$ac_try;;
44355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44356 (eval "$ac_link") 2>conftest.er1
44358 grep -v '^ *+' conftest.er1 >conftest.err
44360 cat conftest.err >&5
44361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44362 (exit $ac_status); } && {
44363 test -z "$ac_c_werror_flag" ||
44364 test ! -s conftest.err
44365 } && test -s conftest$ac_exeext &&
44366 $as_test_x conftest$ac_exeext; then
44367 echo "*** The test program compiled, but did not run. This usually means"
44368 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44369 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44370 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44371 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44372 echo "*** is required on your system"
44374 echo "*** If you have an old version installed, it is best to remove it, although"
44375 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44377 echo "$as_me: failed program was:" >&5
44378 sed 's/^/| /' conftest.$ac_ext >&5
44380 echo "*** The test program failed to compile or link. See the file config.log for the"
44381 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44382 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44383 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44387 conftest$ac_exeext conftest.$ac_ext
44388 CFLAGS="$ac_save_CFLAGS"
44389 CXXFLAGS="$ac_save_CXXFLAGS"
44390 LIBS="$ac_save_LIBS"
44401 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44406 if test "$wxUSE_MGL" = 1; then
44407 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44408 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44414 if test "$wxUSE_SOUND" = "yes"; then
44415 cat >>confdefs.h <<\_ACEOF
44416 #define wxUSE_SOUND 1
44419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44422 if test "$WXGTK2" = 1; then
44425 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44426 if test -n "$ac_tool_prefix"; then
44427 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44428 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44431 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44432 echo $ECHO_N "(cached) $ECHO_C" >&6
44434 case $PKG_CONFIG in
44436 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44440 for as_dir in $PATH
44443 test -z "$as_dir" && as_dir=.
44444 for ac_exec_ext in '' $ac_executable_extensions; do
44445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44446 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44457 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44458 if test -n "$PKG_CONFIG"; then
44459 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44460 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44462 { echo "$as_me:$LINENO: result: no" >&5
44463 echo "${ECHO_T}no" >&6; }
44468 if test -z "$ac_cv_path_PKG_CONFIG"; then
44469 ac_pt_PKG_CONFIG=$PKG_CONFIG
44470 # Extract the first word of "pkg-config", so it can be a program name with args.
44471 set dummy pkg-config; ac_word=$2
44472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44474 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44475 echo $ECHO_N "(cached) $ECHO_C" >&6
44477 case $ac_pt_PKG_CONFIG in
44479 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44483 for as_dir in $PATH
44486 test -z "$as_dir" && as_dir=.
44487 for ac_exec_ext in '' $ac_executable_extensions; do
44488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44489 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44500 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44501 if test -n "$ac_pt_PKG_CONFIG"; then
44502 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44503 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44505 { echo "$as_me:$LINENO: result: no" >&5
44506 echo "${ECHO_T}no" >&6; }
44509 if test "x$ac_pt_PKG_CONFIG" = x; then
44512 case $cross_compiling:$ac_tool_warned in
44514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44515 whose name does not start with the host triplet. If you think this
44516 configuration is useful to you, please write to autoconf@gnu.org." >&5
44517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44518 whose name does not start with the host triplet. If you think this
44519 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44520 ac_tool_warned=yes ;;
44522 PKG_CONFIG=$ac_pt_PKG_CONFIG
44525 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44529 if test -n "$PKG_CONFIG"; then
44530 _pkg_min_version=0.9.0
44531 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44532 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44533 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44534 { echo "$as_me:$LINENO: result: yes" >&5
44535 echo "${ECHO_T}yes" >&6; }
44537 { echo "$as_me:$LINENO: result: no" >&5
44538 echo "${ECHO_T}no" >&6; }
44544 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44546 if test "$wxUSE_GTKPRINT" = "yes" ; then
44550 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44551 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44553 if test -n "$PKG_CONFIG"; then
44554 if test -n "$GTKPRINT_CFLAGS"; then
44555 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44557 if test -n "$PKG_CONFIG" && \
44558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44559 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44562 (exit $ac_status); }; then
44563 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44571 if test -n "$PKG_CONFIG"; then
44572 if test -n "$GTKPRINT_LIBS"; then
44573 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44575 if test -n "$PKG_CONFIG" && \
44576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44577 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580 (exit $ac_status); }; then
44581 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44592 if test $pkg_failed = yes; then
44594 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44595 _pkg_short_errors_supported=yes
44597 _pkg_short_errors_supported=no
44599 if test $_pkg_short_errors_supported = yes; then
44600 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44602 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44604 # Put the nasty error message in config.log where it belongs
44605 echo "$GTKPRINT_PKG_ERRORS" >&5
44608 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44609 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44610 wxUSE_GTKPRINT="no"
44613 elif test $pkg_failed = untried; then
44615 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44616 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44617 wxUSE_GTKPRINT="no"
44621 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44622 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44623 { echo "$as_me:$LINENO: result: yes" >&5
44624 echo "${ECHO_T}yes" >&6; }
44626 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44627 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44628 cat >>confdefs.h <<\_ACEOF
44629 #define wxUSE_GTKPRINT 1
44636 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44640 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44641 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44643 if test -n "$PKG_CONFIG"; then
44644 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44645 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44647 if test -n "$PKG_CONFIG" && \
44648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44649 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652 (exit $ac_status); }; then
44653 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44661 if test -n "$PKG_CONFIG"; then
44662 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44663 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44665 if test -n "$PKG_CONFIG" && \
44666 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44667 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); }; then
44671 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44682 if test $pkg_failed = yes; then
44684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44685 _pkg_short_errors_supported=yes
44687 _pkg_short_errors_supported=no
44689 if test $_pkg_short_errors_supported = yes; then
44690 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44692 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44694 # Put the nasty error message in config.log where it belongs
44695 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44698 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44699 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44700 wxUSE_LIBGNOMEPRINT="no"
44703 elif test $pkg_failed = untried; then
44705 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44706 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44707 wxUSE_LIBGNOMEPRINT="no"
44711 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44712 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44713 { echo "$as_me:$LINENO: result: yes" >&5
44714 echo "${ECHO_T}yes" >&6; }
44716 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44717 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44718 cat >>confdefs.h <<\_ACEOF
44719 #define wxUSE_LIBGNOMEPRINT 1
44727 if test "$wxUSE_MIMETYPE" = "yes" ; then
44728 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44732 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44733 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44735 if test -n "$PKG_CONFIG"; then
44736 if test -n "$GNOMEVFS_CFLAGS"; then
44737 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44739 if test -n "$PKG_CONFIG" && \
44740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44741 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); }; then
44745 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44753 if test -n "$PKG_CONFIG"; then
44754 if test -n "$GNOMEVFS_LIBS"; then
44755 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44757 if test -n "$PKG_CONFIG" && \
44758 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44759 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44762 (exit $ac_status); }; then
44763 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44774 if test $pkg_failed = yes; then
44776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44777 _pkg_short_errors_supported=yes
44779 _pkg_short_errors_supported=no
44781 if test $_pkg_short_errors_supported = yes; then
44782 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44784 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44786 # Put the nasty error message in config.log where it belongs
44787 echo "$GNOMEVFS_PKG_ERRORS" >&5
44790 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44791 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44792 wxUSE_LIBGNOMEVFS="no"
44795 elif test $pkg_failed = untried; then
44797 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44798 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44799 wxUSE_LIBGNOMEVFS="no"
44803 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44804 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44805 { echo "$as_me:$LINENO: result: yes" >&5
44806 echo "${ECHO_T}yes" >&6; }
44808 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44809 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44810 cat >>confdefs.h <<\_ACEOF
44811 #define wxUSE_LIBGNOMEVFS 1
44819 if test "$wxUSE_LIBHILDON" = "yes" ; then
44822 { echo "$as_me:$LINENO: checking for HILDON" >&5
44823 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44825 if test -n "$PKG_CONFIG"; then
44826 if test -n "$HILDON_CFLAGS"; then
44827 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44829 if test -n "$PKG_CONFIG" && \
44830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44831 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); }; then
44835 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44843 if test -n "$PKG_CONFIG"; then
44844 if test -n "$HILDON_LIBS"; then
44845 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44847 if test -n "$PKG_CONFIG" && \
44848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44849 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44852 (exit $ac_status); }; then
44853 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44864 if test $pkg_failed = yes; then
44866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44867 _pkg_short_errors_supported=yes
44869 _pkg_short_errors_supported=no
44871 if test $_pkg_short_errors_supported = yes; then
44872 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44874 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44876 # Put the nasty error message in config.log where it belongs
44877 echo "$HILDON_PKG_ERRORS" >&5
44880 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44881 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44882 wxUSE_LIBHILDON="no"
44886 elif test $pkg_failed = untried; then
44888 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44889 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44890 wxUSE_LIBHILDON="no"
44895 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44896 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44897 { echo "$as_me:$LINENO: result: yes" >&5
44898 echo "${ECHO_T}yes" >&6; }
44900 EXTRALIBS_HILDON="$HILDON_LIBS"
44901 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44902 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44903 cat >>confdefs.h <<\_ACEOF
44904 #define wxUSE_LIBHILDON 1
44911 if test "$ac_hildon_lgpl" = 0 ; then
44914 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44915 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44917 if test -n "$PKG_CONFIG"; then
44918 if test -n "$HILDON2_CFLAGS"; then
44919 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44921 if test -n "$PKG_CONFIG" && \
44922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44923 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44926 (exit $ac_status); }; then
44927 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44935 if test -n "$PKG_CONFIG"; then
44936 if test -n "$HILDON2_LIBS"; then
44937 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44939 if test -n "$PKG_CONFIG" && \
44940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44941 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44944 (exit $ac_status); }; then
44945 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44956 if test $pkg_failed = yes; then
44958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44959 _pkg_short_errors_supported=yes
44961 _pkg_short_errors_supported=no
44963 if test $_pkg_short_errors_supported = yes; then
44964 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44966 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44968 # Put the nasty error message in config.log where it belongs
44969 echo "$HILDON2_PKG_ERRORS" >&5
44972 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44973 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44974 wxUSE_LIBHILDON2="no"
44977 elif test $pkg_failed = untried; then
44979 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44980 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44981 wxUSE_LIBHILDON2="no"
44985 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44986 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44987 { echo "$as_me:$LINENO: result: yes" >&5
44988 echo "${ECHO_T}yes" >&6; }
44990 EXTRALIBS_HILDON="$HILDON2_LIBS"
44991 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44992 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_LIBHILDON2 1
45003 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_CMDLINE_PARSER 1
45010 if test "$wxUSE_STOPWATCH" = "yes"; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_STOPWATCH 1
45017 if test "$wxUSE_DATETIME" = "yes"; then
45018 cat >>confdefs.h <<\_ACEOF
45019 #define wxUSE_DATETIME 1
45024 if test "$wxUSE_FILE" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_FILE 1
45031 if test "$wxUSE_FFILE" = "yes"; then
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_FFILE 1
45038 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45039 if test "$wxUSE_STREAMS" != yes; then
45040 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45041 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45042 wxUSE_ARCHIVE_STREAMS=no
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_ARCHIVE_STREAMS 1
45051 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45052 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45053 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45054 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45055 elif test "$wxUSE_ZLIB" = "no"; then
45056 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45057 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_ZIPSTREAM 1
45066 if test "$wxUSE_TARSTREAM" = "yes"; then
45067 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45068 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45069 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_TARSTREAM 1
45078 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_FILE_HISTORY 1
45085 if test "$wxUSE_FILESYSTEM" = "yes"; then
45086 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45087 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45088 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45089 wxUSE_FILESYSTEM=no
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_FILESYSTEM 1
45098 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45099 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45100 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45101 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_FS_ARCHIVE 1
45110 if test "$wxUSE_FS_ZIP" = "yes"; then
45111 if test "$wxUSE_FS_ARCHIVE" != yes; then
45112 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45113 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_FS_ZIP 1
45122 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45123 if test "$USE_UNIX" != 1; then
45124 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45125 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45126 wxUSE_ON_FATAL_EXCEPTION=no
45128 cat >>confdefs.h <<\_ACEOF
45129 #define wxUSE_ON_FATAL_EXCEPTION 1
45135 if test "$wxUSE_STACKWALKER" = "yes"; then
45136 cat >>confdefs.h <<\_ACEOF
45137 #define wxUSE_STACKWALKER 1
45142 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45143 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45144 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45145 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45146 wxUSE_DEBUGREPORT=no
45148 cat >>confdefs.h <<\_ACEOF
45149 #define wxUSE_DEBUGREPORT 1
45152 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45158 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_SNGLINST_CHECKER 1
45165 if test "$wxUSE_BUSYINFO" = "yes"; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_BUSYINFO 1
45172 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_STD_CONTAINERS 1
45179 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45180 cat >>confdefs.h <<\_ACEOF
45181 #define wxUSE_STD_IOSTREAM 1
45186 if test "$wxUSE_STD_STRING" = "yes"; then
45187 cat >>confdefs.h <<\_ACEOF
45188 #define wxUSE_STD_STRING 1
45193 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45200 if test "$wxUSE_STDPATHS" = "yes"; then
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_STDPATHS 1
45207 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_TEXTBUFFER 1
45214 if test "$wxUSE_TEXTFILE" = "yes"; then
45215 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45216 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45217 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45219 cat >>confdefs.h <<\_ACEOF
45220 #define wxUSE_TEXTFILE 1
45226 if test "$wxUSE_CONFIG" = "yes" ; then
45227 if test "$wxUSE_TEXTFILE" != "yes"; then
45228 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45229 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_CONFIG 1
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_CONFIG_NATIVE 1
45239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45243 if test "$wxUSE_INTL" = "yes" ; then
45244 if test "$wxUSE_FILE" != "yes"; then
45245 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45246 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_INTL 1
45252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45253 GUIDIST="$GUIDIST INTL_DIST"
45257 if test "$wxUSE_XLOCALE" = "yes" ; then
45258 cat >>confdefs.h <<\_ACEOF
45259 #define wxUSE_XLOCALE 1
45262 { echo "$as_me:$LINENO: checking for locale_t" >&5
45263 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45264 if test "${ac_cv_type_locale_t+set}" = set; then
45265 echo $ECHO_N "(cached) $ECHO_C" >&6
45267 cat >conftest.$ac_ext <<_ACEOF
45270 cat confdefs.h >>conftest.$ac_ext
45271 cat >>conftest.$ac_ext <<_ACEOF
45272 /* end confdefs.h. */
45273 #include <xlocale.h>
45274 #include <locale.h>
45276 typedef locale_t ac__type_new_;
45280 if ((ac__type_new_ *) 0)
45282 if (sizeof (ac__type_new_))
45288 rm -f conftest.$ac_objext
45289 if { (ac_try="$ac_compile"
45290 case "(($ac_try" in
45291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45292 *) ac_try_echo=$ac_try;;
45294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45295 (eval "$ac_compile") 2>conftest.er1
45297 grep -v '^ *+' conftest.er1 >conftest.err
45299 cat conftest.err >&5
45300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45301 (exit $ac_status); } && {
45302 test -z "$ac_c_werror_flag" ||
45303 test ! -s conftest.err
45304 } && test -s conftest.$ac_objext; then
45305 ac_cv_type_locale_t=yes
45307 echo "$as_me: failed program was:" >&5
45308 sed 's/^/| /' conftest.$ac_ext >&5
45310 ac_cv_type_locale_t=no
45313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45315 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45316 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45317 if test $ac_cv_type_locale_t = yes; then
45319 cat >>confdefs.h <<_ACEOF
45320 #define HAVE_LOCALE_T 1
45328 if test "$wxUSE_LOG" = "yes"; then
45329 cat >>confdefs.h <<\_ACEOF
45330 #define wxUSE_LOG 1
45334 if test "$wxUSE_LOGGUI" = "yes"; then
45335 cat >>confdefs.h <<\_ACEOF
45336 #define wxUSE_LOGGUI 1
45341 if test "$wxUSE_LOGWINDOW" = "yes"; then
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_LOGWINDOW 1
45348 if test "$wxUSE_LOGDIALOG" = "yes"; then
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_LOG_DIALOG 1
45355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45358 if test "$wxUSE_LONGLONG" = "yes"; then
45359 cat >>confdefs.h <<\_ACEOF
45360 #define wxUSE_LONGLONG 1
45365 if test "$wxUSE_GEOMETRY" = "yes"; then
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_GEOMETRY 1
45372 if test "$wxUSE_BASE64" = "yes"; then
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_BASE64 1
45379 if test "$wxUSE_STREAMS" = "yes" ; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_STREAMS 1
45386 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_PRINTF_POS_PARAMS 1
45393 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_OBJC_UNIQUIFYING 1
45401 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45402 cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_CONSOLE_EVENTLOOP 1
45407 if test "$wxUSE_UNIX" = "yes"; then
45408 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_SELECT_DISPATCHER 1
45415 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45417 for ac_header in sys/epoll.h
45419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45423 echo $ECHO_N "(cached) $ECHO_C" >&6
45425 cat >conftest.$ac_ext <<_ACEOF
45428 cat confdefs.h >>conftest.$ac_ext
45429 cat >>conftest.$ac_ext <<_ACEOF
45430 /* end confdefs.h. */
45431 $ac_includes_default
45433 #include <$ac_header>
45435 rm -f conftest.$ac_objext
45436 if { (ac_try="$ac_compile"
45437 case "(($ac_try" in
45438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45439 *) ac_try_echo=$ac_try;;
45441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45442 (eval "$ac_compile") 2>conftest.er1
45444 grep -v '^ *+' conftest.er1 >conftest.err
45446 cat conftest.err >&5
45447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45448 (exit $ac_status); } && {
45449 test -z "$ac_c_werror_flag" ||
45450 test ! -s conftest.err
45451 } && test -s conftest.$ac_objext; then
45452 eval "$as_ac_Header=yes"
45454 echo "$as_me: failed program was:" >&5
45455 sed 's/^/| /' conftest.$ac_ext >&5
45457 eval "$as_ac_Header=no"
45460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45462 ac_res=`eval echo '${'$as_ac_Header'}'`
45463 { echo "$as_me:$LINENO: result: $ac_res" >&5
45464 echo "${ECHO_T}$ac_res" >&6; }
45465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45466 cat >>confdefs.h <<_ACEOF
45467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45474 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_EPOLL_DISPATCHER 1
45480 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45481 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45490 for ac_func in gettimeofday ftime
45492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45495 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45496 echo $ECHO_N "(cached) $ECHO_C" >&6
45498 cat >conftest.$ac_ext <<_ACEOF
45501 cat confdefs.h >>conftest.$ac_ext
45502 cat >>conftest.$ac_ext <<_ACEOF
45503 /* end confdefs.h. */
45504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45506 #define $ac_func innocuous_$ac_func
45508 /* System header to define __stub macros and hopefully few prototypes,
45509 which can conflict with char $ac_func (); below.
45510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45511 <limits.h> exists even on freestanding compilers. */
45514 # include <limits.h>
45516 # include <assert.h>
45521 /* Override any GCC internal prototype to avoid an error.
45522 Use char because int might match the return type of a GCC
45523 builtin and then its argument prototype would still apply. */
45528 /* The GNU C library defines this for functions which it implements
45529 to always fail with ENOSYS. Some functions are actually named
45530 something starting with __ and the normal name is an alias. */
45531 #if defined __stub_$ac_func || defined __stub___$ac_func
45538 return $ac_func ();
45543 rm -f conftest.$ac_objext conftest$ac_exeext
45544 if { (ac_try="$ac_link"
45545 case "(($ac_try" in
45546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45547 *) ac_try_echo=$ac_try;;
45549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45550 (eval "$ac_link") 2>conftest.er1
45552 grep -v '^ *+' conftest.er1 >conftest.err
45554 cat conftest.err >&5
45555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45556 (exit $ac_status); } && {
45557 test -z "$ac_c_werror_flag" ||
45558 test ! -s conftest.err
45559 } && test -s conftest$ac_exeext &&
45560 $as_test_x conftest$ac_exeext; then
45561 eval "$as_ac_var=yes"
45563 echo "$as_me: failed program was:" >&5
45564 sed 's/^/| /' conftest.$ac_ext >&5
45566 eval "$as_ac_var=no"
45569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45570 conftest$ac_exeext conftest.$ac_ext
45572 ac_res=`eval echo '${'$as_ac_var'}'`
45573 { echo "$as_me:$LINENO: result: $ac_res" >&5
45574 echo "${ECHO_T}$ac_res" >&6; }
45575 if test `eval echo '${'$as_ac_var'}'` = yes; then
45576 cat >>confdefs.h <<_ACEOF
45577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45584 if test "$ac_cv_func_gettimeofday" = "yes"; then
45585 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45586 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45587 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45588 echo $ECHO_N "(cached) $ECHO_C" >&6
45591 cat >conftest.$ac_ext <<_ACEOF
45594 cat confdefs.h >>conftest.$ac_ext
45595 cat >>conftest.$ac_ext <<_ACEOF
45596 /* end confdefs.h. */
45598 #include <sys/time.h>
45599 #include <unistd.h>
45606 gettimeofday(&tv, NULL);
45612 rm -f conftest.$ac_objext
45613 if { (ac_try="$ac_compile"
45614 case "(($ac_try" in
45615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45616 *) ac_try_echo=$ac_try;;
45618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45619 (eval "$ac_compile") 2>conftest.er1
45621 grep -v '^ *+' conftest.er1 >conftest.err
45623 cat conftest.err >&5
45624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45625 (exit $ac_status); } && {
45626 test -z "$ac_c_werror_flag" ||
45627 test ! -s conftest.err
45628 } && test -s conftest.$ac_objext; then
45629 wx_cv_func_gettimeofday_has_2_args=yes
45631 echo "$as_me: failed program was:" >&5
45632 sed 's/^/| /' conftest.$ac_ext >&5
45634 cat >conftest.$ac_ext <<_ACEOF
45637 cat confdefs.h >>conftest.$ac_ext
45638 cat >>conftest.$ac_ext <<_ACEOF
45639 /* end confdefs.h. */
45641 #include <sys/time.h>
45642 #include <unistd.h>
45655 rm -f conftest.$ac_objext
45656 if { (ac_try="$ac_compile"
45657 case "(($ac_try" in
45658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45659 *) ac_try_echo=$ac_try;;
45661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45662 (eval "$ac_compile") 2>conftest.er1
45664 grep -v '^ *+' conftest.er1 >conftest.err
45666 cat conftest.err >&5
45667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45668 (exit $ac_status); } && {
45669 test -z "$ac_c_werror_flag" ||
45670 test ! -s conftest.err
45671 } && test -s conftest.$ac_objext; then
45672 wx_cv_func_gettimeofday_has_2_args=no
45674 echo "$as_me: failed program was:" >&5
45675 sed 's/^/| /' conftest.$ac_ext >&5
45678 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45679 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45680 wx_cv_func_gettimeofday_has_2_args=unknown
45685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45692 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45693 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45695 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define WX_GETTIMEOFDAY_NO_TZ 1
45703 if test "$wxUSE_DATETIME" = "yes"; then
45704 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45705 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45706 if test "${wx_cv_var_timezone+set}" = set; then
45707 echo $ECHO_N "(cached) $ECHO_C" >&6
45711 ac_cpp='$CXXCPP $CPPFLAGS'
45712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45716 cat >conftest.$ac_ext <<_ACEOF
45719 cat confdefs.h >>conftest.$ac_ext
45720 cat >>conftest.$ac_ext <<_ACEOF
45721 /* end confdefs.h. */
45736 rm -f conftest.$ac_objext
45737 if { (ac_try="$ac_compile"
45738 case "(($ac_try" in
45739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45740 *) ac_try_echo=$ac_try;;
45742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45743 (eval "$ac_compile") 2>conftest.er1
45745 grep -v '^ *+' conftest.er1 >conftest.err
45747 cat conftest.err >&5
45748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45749 (exit $ac_status); } && {
45750 test -z "$ac_cxx_werror_flag" ||
45751 test ! -s conftest.err
45752 } && test -s conftest.$ac_objext; then
45754 wx_cv_var_timezone=timezone
45757 echo "$as_me: failed program was:" >&5
45758 sed 's/^/| /' conftest.$ac_ext >&5
45761 cat >conftest.$ac_ext <<_ACEOF
45764 cat confdefs.h >>conftest.$ac_ext
45765 cat >>conftest.$ac_ext <<_ACEOF
45766 /* end confdefs.h. */
45781 rm -f conftest.$ac_objext
45782 if { (ac_try="$ac_compile"
45783 case "(($ac_try" in
45784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45785 *) ac_try_echo=$ac_try;;
45787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45788 (eval "$ac_compile") 2>conftest.er1
45790 grep -v '^ *+' conftest.er1 >conftest.err
45792 cat conftest.err >&5
45793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45794 (exit $ac_status); } && {
45795 test -z "$ac_cxx_werror_flag" ||
45796 test ! -s conftest.err
45797 } && test -s conftest.$ac_objext; then
45799 wx_cv_var_timezone=_timezone
45802 echo "$as_me: failed program was:" >&5
45803 sed 's/^/| /' conftest.$ac_ext >&5
45806 cat >conftest.$ac_ext <<_ACEOF
45809 cat confdefs.h >>conftest.$ac_ext
45810 cat >>conftest.$ac_ext <<_ACEOF
45811 /* end confdefs.h. */
45826 rm -f conftest.$ac_objext
45827 if { (ac_try="$ac_compile"
45828 case "(($ac_try" in
45829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45830 *) ac_try_echo=$ac_try;;
45832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45833 (eval "$ac_compile") 2>conftest.er1
45835 grep -v '^ *+' conftest.er1 >conftest.err
45837 cat conftest.err >&5
45838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45839 (exit $ac_status); } && {
45840 test -z "$ac_cxx_werror_flag" ||
45841 test ! -s conftest.err
45842 } && test -s conftest.$ac_objext; then
45844 wx_cv_var_timezone=__timezone
45847 echo "$as_me: failed program was:" >&5
45848 sed 's/^/| /' conftest.$ac_ext >&5
45851 if test "$USE_DOS" = 0 ; then
45852 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45853 echo "$as_me: WARNING: no timezone variable" >&2;}
45859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45871 ac_cpp='$CPP $CPPFLAGS'
45872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45879 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45880 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45882 if test "x$wx_cv_var_timezone" != x ; then
45883 cat >>confdefs.h <<_ACEOF
45884 #define WX_TIMEZONE $wx_cv_var_timezone
45890 for ac_func in localtime
45892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45893 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45895 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45896 echo $ECHO_N "(cached) $ECHO_C" >&6
45898 cat >conftest.$ac_ext <<_ACEOF
45901 cat confdefs.h >>conftest.$ac_ext
45902 cat >>conftest.$ac_ext <<_ACEOF
45903 /* end confdefs.h. */
45904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45906 #define $ac_func innocuous_$ac_func
45908 /* System header to define __stub macros and hopefully few prototypes,
45909 which can conflict with char $ac_func (); below.
45910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45911 <limits.h> exists even on freestanding compilers. */
45914 # include <limits.h>
45916 # include <assert.h>
45921 /* Override any GCC internal prototype to avoid an error.
45922 Use char because int might match the return type of a GCC
45923 builtin and then its argument prototype would still apply. */
45928 /* The GNU C library defines this for functions which it implements
45929 to always fail with ENOSYS. Some functions are actually named
45930 something starting with __ and the normal name is an alias. */
45931 #if defined __stub_$ac_func || defined __stub___$ac_func
45938 return $ac_func ();
45943 rm -f conftest.$ac_objext conftest$ac_exeext
45944 if { (ac_try="$ac_link"
45945 case "(($ac_try" in
45946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45947 *) ac_try_echo=$ac_try;;
45949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45950 (eval "$ac_link") 2>conftest.er1
45952 grep -v '^ *+' conftest.er1 >conftest.err
45954 cat conftest.err >&5
45955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45956 (exit $ac_status); } && {
45957 test -z "$ac_c_werror_flag" ||
45958 test ! -s conftest.err
45959 } && test -s conftest$ac_exeext &&
45960 $as_test_x conftest$ac_exeext; then
45961 eval "$as_ac_var=yes"
45963 echo "$as_me: failed program was:" >&5
45964 sed 's/^/| /' conftest.$ac_ext >&5
45966 eval "$as_ac_var=no"
45969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45970 conftest$ac_exeext conftest.$ac_ext
45972 ac_res=`eval echo '${'$as_ac_var'}'`
45973 { echo "$as_me:$LINENO: result: $ac_res" >&5
45974 echo "${ECHO_T}$ac_res" >&6; }
45975 if test `eval echo '${'$as_ac_var'}'` = yes; then
45976 cat >>confdefs.h <<_ACEOF
45977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45984 if test "$ac_cv_func_localtime" = "yes"; then
45985 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45986 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45987 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45988 echo $ECHO_N "(cached) $ECHO_C" >&6
45991 cat >conftest.$ac_ext <<_ACEOF
45994 cat confdefs.h >>conftest.$ac_ext
45995 cat >>conftest.$ac_ext <<_ACEOF
45996 /* end confdefs.h. */
46011 rm -f conftest.$ac_objext
46012 if { (ac_try="$ac_compile"
46013 case "(($ac_try" in
46014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46015 *) ac_try_echo=$ac_try;;
46017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46018 (eval "$ac_compile") 2>conftest.er1
46020 grep -v '^ *+' conftest.er1 >conftest.err
46022 cat conftest.err >&5
46023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46024 (exit $ac_status); } && {
46025 test -z "$ac_c_werror_flag" ||
46026 test ! -s conftest.err
46027 } && test -s conftest.$ac_objext; then
46029 wx_cv_struct_tm_has_gmtoff=yes
46032 echo "$as_me: failed program was:" >&5
46033 sed 's/^/| /' conftest.$ac_ext >&5
46035 wx_cv_struct_tm_has_gmtoff=no
46039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46042 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46043 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46046 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46047 cat >>confdefs.h <<\_ACEOF
46048 #define WX_GMTOFF_IN_TM 1
46053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46057 if test "$wxUSE_SOCKETS" = "yes"; then
46058 if test "$wxUSE_MGL" = 1; then
46059 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46060 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46065 if test "$wxUSE_SOCKETS" = "yes"; then
46066 if test "$TOOLKIT" != "MSW"; then
46067 { echo "$as_me:$LINENO: checking for socket" >&5
46068 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46069 if test "${ac_cv_func_socket+set}" = set; then
46070 echo $ECHO_N "(cached) $ECHO_C" >&6
46072 cat >conftest.$ac_ext <<_ACEOF
46075 cat confdefs.h >>conftest.$ac_ext
46076 cat >>conftest.$ac_ext <<_ACEOF
46077 /* end confdefs.h. */
46078 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46080 #define socket innocuous_socket
46082 /* System header to define __stub macros and hopefully few prototypes,
46083 which can conflict with char socket (); below.
46084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46085 <limits.h> exists even on freestanding compilers. */
46088 # include <limits.h>
46090 # include <assert.h>
46095 /* Override any GCC internal prototype to avoid an error.
46096 Use char because int might match the return type of a GCC
46097 builtin and then its argument prototype would still apply. */
46102 /* The GNU C library defines this for functions which it implements
46103 to always fail with ENOSYS. Some functions are actually named
46104 something starting with __ and the normal name is an alias. */
46105 #if defined __stub_socket || defined __stub___socket
46117 rm -f conftest.$ac_objext conftest$ac_exeext
46118 if { (ac_try="$ac_link"
46119 case "(($ac_try" in
46120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46121 *) ac_try_echo=$ac_try;;
46123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46124 (eval "$ac_link") 2>conftest.er1
46126 grep -v '^ *+' conftest.er1 >conftest.err
46128 cat conftest.err >&5
46129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46130 (exit $ac_status); } && {
46131 test -z "$ac_c_werror_flag" ||
46132 test ! -s conftest.err
46133 } && test -s conftest$ac_exeext &&
46134 $as_test_x conftest$ac_exeext; then
46135 ac_cv_func_socket=yes
46137 echo "$as_me: failed program was:" >&5
46138 sed 's/^/| /' conftest.$ac_ext >&5
46140 ac_cv_func_socket=no
46143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46144 conftest$ac_exeext conftest.$ac_ext
46146 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46147 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46148 if test $ac_cv_func_socket = yes; then
46152 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46153 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46154 if test "${ac_cv_lib_socket_socket+set}" = set; then
46155 echo $ECHO_N "(cached) $ECHO_C" >&6
46157 ac_check_lib_save_LIBS=$LIBS
46158 LIBS="-lsocket $LIBS"
46159 cat >conftest.$ac_ext <<_ACEOF
46162 cat confdefs.h >>conftest.$ac_ext
46163 cat >>conftest.$ac_ext <<_ACEOF
46164 /* end confdefs.h. */
46166 /* Override any GCC internal prototype to avoid an error.
46167 Use char because int might match the return type of a GCC
46168 builtin and then its argument prototype would still apply. */
46181 rm -f conftest.$ac_objext conftest$ac_exeext
46182 if { (ac_try="$ac_link"
46183 case "(($ac_try" in
46184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46185 *) ac_try_echo=$ac_try;;
46187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46188 (eval "$ac_link") 2>conftest.er1
46190 grep -v '^ *+' conftest.er1 >conftest.err
46192 cat conftest.err >&5
46193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46194 (exit $ac_status); } && {
46195 test -z "$ac_c_werror_flag" ||
46196 test ! -s conftest.err
46197 } && test -s conftest$ac_exeext &&
46198 $as_test_x conftest$ac_exeext; then
46199 ac_cv_lib_socket_socket=yes
46201 echo "$as_me: failed program was:" >&5
46202 sed 's/^/| /' conftest.$ac_ext >&5
46204 ac_cv_lib_socket_socket=no
46207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46208 conftest$ac_exeext conftest.$ac_ext
46209 LIBS=$ac_check_lib_save_LIBS
46211 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46212 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46213 if test $ac_cv_lib_socket_socket = yes; then
46214 if test "$INET_LINK" != " -lsocket"; then
46215 INET_LINK="$INET_LINK -lsocket"
46219 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46220 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46233 if test "$wxUSE_SOCKETS" = "yes" ; then
46234 if test "$TOOLKIT" != "MSW"; then
46235 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46236 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46237 if test "${wx_cv_type_getsockname3+set}" = set; then
46238 echo $ECHO_N "(cached) $ECHO_C" >&6
46242 ac_cpp='$CXXCPP $CPPFLAGS'
46243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46247 cat >conftest.$ac_ext <<_ACEOF
46250 cat confdefs.h >>conftest.$ac_ext
46251 cat >>conftest.$ac_ext <<_ACEOF
46252 /* end confdefs.h. */
46254 #include <sys/types.h>
46255 #include <sys/socket.h>
46262 getsockname(0, 0, &len);
46268 rm -f conftest.$ac_objext
46269 if { (ac_try="$ac_compile"
46270 case "(($ac_try" in
46271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46272 *) ac_try_echo=$ac_try;;
46274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46275 (eval "$ac_compile") 2>conftest.er1
46277 grep -v '^ *+' conftest.er1 >conftest.err
46279 cat conftest.err >&5
46280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46281 (exit $ac_status); } && {
46282 test -z "$ac_cxx_werror_flag" ||
46283 test ! -s conftest.err
46284 } && test -s conftest.$ac_objext; then
46285 wx_cv_type_getsockname3=socklen_t
46287 echo "$as_me: failed program was:" >&5
46288 sed 's/^/| /' conftest.$ac_ext >&5
46291 CFLAGS_OLD="$CFLAGS"
46292 if test "$GCC" = yes ; then
46293 CFLAGS="-Werror $CFLAGS"
46296 cat >conftest.$ac_ext <<_ACEOF
46299 cat confdefs.h >>conftest.$ac_ext
46300 cat >>conftest.$ac_ext <<_ACEOF
46301 /* end confdefs.h. */
46303 #include <sys/types.h>
46304 #include <sys/socket.h>
46311 getsockname(0, 0, &len);
46317 rm -f conftest.$ac_objext
46318 if { (ac_try="$ac_compile"
46319 case "(($ac_try" in
46320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46321 *) ac_try_echo=$ac_try;;
46323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46324 (eval "$ac_compile") 2>conftest.er1
46326 grep -v '^ *+' conftest.er1 >conftest.err
46328 cat conftest.err >&5
46329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46330 (exit $ac_status); } && {
46331 test -z "$ac_cxx_werror_flag" ||
46332 test ! -s conftest.err
46333 } && test -s conftest.$ac_objext; then
46334 wx_cv_type_getsockname3=size_t
46336 echo "$as_me: failed program was:" >&5
46337 sed 's/^/| /' conftest.$ac_ext >&5
46339 cat >conftest.$ac_ext <<_ACEOF
46342 cat confdefs.h >>conftest.$ac_ext
46343 cat >>conftest.$ac_ext <<_ACEOF
46344 /* end confdefs.h. */
46346 #include <sys/types.h>
46347 #include <sys/socket.h>
46354 getsockname(0, 0, &len);
46360 rm -f conftest.$ac_objext
46361 if { (ac_try="$ac_compile"
46362 case "(($ac_try" in
46363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46364 *) ac_try_echo=$ac_try;;
46366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46367 (eval "$ac_compile") 2>conftest.er1
46369 grep -v '^ *+' conftest.er1 >conftest.err
46371 cat conftest.err >&5
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); } && {
46374 test -z "$ac_cxx_werror_flag" ||
46375 test ! -s conftest.err
46376 } && test -s conftest.$ac_objext; then
46377 wx_cv_type_getsockname3=int
46379 echo "$as_me: failed program was:" >&5
46380 sed 's/^/| /' conftest.$ac_ext >&5
46382 wx_cv_type_getsockname3=unknown
46386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46392 CFLAGS="$CFLAGS_OLD"
46397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46399 ac_cpp='$CPP $CPPFLAGS'
46400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46406 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46407 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46409 if test "$wx_cv_type_getsockname3" = "unknown"; then
46411 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46412 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46414 cat >>confdefs.h <<_ACEOF
46415 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46419 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46420 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46421 if test "${wx_cv_type_getsockopt5+set}" = set; then
46422 echo $ECHO_N "(cached) $ECHO_C" >&6
46426 ac_cpp='$CXXCPP $CPPFLAGS'
46427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46431 cat >conftest.$ac_ext <<_ACEOF
46434 cat confdefs.h >>conftest.$ac_ext
46435 cat >>conftest.$ac_ext <<_ACEOF
46436 /* end confdefs.h. */
46438 #include <sys/types.h>
46439 #include <sys/socket.h>
46446 getsockopt(0, 0, 0, 0, &len);
46452 rm -f conftest.$ac_objext
46453 if { (ac_try="$ac_compile"
46454 case "(($ac_try" in
46455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46456 *) ac_try_echo=$ac_try;;
46458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46459 (eval "$ac_compile") 2>conftest.er1
46461 grep -v '^ *+' conftest.er1 >conftest.err
46463 cat conftest.err >&5
46464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46465 (exit $ac_status); } && {
46466 test -z "$ac_cxx_werror_flag" ||
46467 test ! -s conftest.err
46468 } && test -s conftest.$ac_objext; then
46469 wx_cv_type_getsockopt5=socklen_t
46471 echo "$as_me: failed program was:" >&5
46472 sed 's/^/| /' conftest.$ac_ext >&5
46475 cat >conftest.$ac_ext <<_ACEOF
46478 cat confdefs.h >>conftest.$ac_ext
46479 cat >>conftest.$ac_ext <<_ACEOF
46480 /* end confdefs.h. */
46482 #include <sys/types.h>
46483 #include <sys/socket.h>
46490 getsockopt(0, 0, 0, 0, &len);
46496 rm -f conftest.$ac_objext
46497 if { (ac_try="$ac_compile"
46498 case "(($ac_try" in
46499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46500 *) ac_try_echo=$ac_try;;
46502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46503 (eval "$ac_compile") 2>conftest.er1
46505 grep -v '^ *+' conftest.er1 >conftest.err
46507 cat conftest.err >&5
46508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46509 (exit $ac_status); } && {
46510 test -z "$ac_cxx_werror_flag" ||
46511 test ! -s conftest.err
46512 } && test -s conftest.$ac_objext; then
46513 wx_cv_type_getsockopt5=size_t
46515 echo "$as_me: failed program was:" >&5
46516 sed 's/^/| /' conftest.$ac_ext >&5
46518 cat >conftest.$ac_ext <<_ACEOF
46521 cat confdefs.h >>conftest.$ac_ext
46522 cat >>conftest.$ac_ext <<_ACEOF
46523 /* end confdefs.h. */
46525 #include <sys/types.h>
46526 #include <sys/socket.h>
46533 getsockopt(0, 0, 0, 0, &len);
46539 rm -f conftest.$ac_objext
46540 if { (ac_try="$ac_compile"
46541 case "(($ac_try" in
46542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46543 *) ac_try_echo=$ac_try;;
46545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46546 (eval "$ac_compile") 2>conftest.er1
46548 grep -v '^ *+' conftest.er1 >conftest.err
46550 cat conftest.err >&5
46551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46552 (exit $ac_status); } && {
46553 test -z "$ac_cxx_werror_flag" ||
46554 test ! -s conftest.err
46555 } && test -s conftest.$ac_objext; then
46556 wx_cv_type_getsockopt5=int
46558 echo "$as_me: failed program was:" >&5
46559 sed 's/^/| /' conftest.$ac_ext >&5
46561 wx_cv_type_getsockopt5=unknown
46565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46576 ac_cpp='$CPP $CPPFLAGS'
46577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46583 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46584 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46586 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46588 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46589 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46591 cat >>confdefs.h <<_ACEOF
46592 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46599 if test "$wxUSE_SOCKETS" = "yes" ; then
46600 if test "$wxUSE_IPV6" = "yes"; then
46601 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46602 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46603 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46604 echo $ECHO_N "(cached) $ECHO_C" >&6
46607 cat >conftest.$ac_ext <<_ACEOF
46610 cat confdefs.h >>conftest.$ac_ext
46611 cat >>conftest.$ac_ext <<_ACEOF
46612 /* end confdefs.h. */
46614 #include <sys/types.h>
46615 #include <sys/socket.h>
46616 #include <netinet/in.h>
46622 struct sockaddr_in6 sa6;
46628 rm -f conftest.$ac_objext
46629 if { (ac_try="$ac_compile"
46630 case "(($ac_try" in
46631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46632 *) ac_try_echo=$ac_try;;
46634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46635 (eval "$ac_compile") 2>conftest.er1
46637 grep -v '^ *+' conftest.er1 >conftest.err
46639 cat conftest.err >&5
46640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46641 (exit $ac_status); } && {
46642 test -z "$ac_c_werror_flag" ||
46643 test ! -s conftest.err
46644 } && test -s conftest.$ac_objext; then
46645 wx_cv_type_sockaddr_in6=yes
46647 echo "$as_me: failed program was:" >&5
46648 sed 's/^/| /' conftest.$ac_ext >&5
46650 wx_cv_type_sockaddr_in6=no
46654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46658 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46659 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46661 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46662 cat >>confdefs.h <<\_ACEOF
46663 #define wxUSE_IPV6 1
46667 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46668 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_SOCKETS 1
46676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46679 if test "$wxUSE_PROTOCOL" = "yes"; then
46680 if test "$wxUSE_SOCKETS" != "yes"; then
46681 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46682 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46687 if test "$wxUSE_PROTOCOL" = "yes"; then
46688 cat >>confdefs.h <<\_ACEOF
46689 #define wxUSE_PROTOCOL 1
46693 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46694 cat >>confdefs.h <<\_ACEOF
46695 #define wxUSE_PROTOCOL_HTTP 1
46699 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_PROTOCOL_FTP 1
46705 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46706 cat >>confdefs.h <<\_ACEOF
46707 #define wxUSE_PROTOCOL_FILE 1
46712 if test "$wxUSE_FS_INET" = "yes"; then
46713 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46714 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46719 if test "$wxUSE_URL" = "yes"; then
46720 if test "$wxUSE_PROTOCOL" != "yes"; then
46721 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46722 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46725 if test "$wxUSE_URL" = "yes"; then
46726 cat >>confdefs.h <<\_ACEOF
46727 #define wxUSE_URL 1
46733 if test "$wxUSE_VARIANT" = "yes"; then
46734 cat >>confdefs.h <<\_ACEOF
46735 #define wxUSE_VARIANT 1
46740 if test "$wxUSE_FS_INET" = "yes"; then
46741 cat >>confdefs.h <<\_ACEOF
46742 #define wxUSE_FS_INET 1
46748 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46751 if test "$TOOLKIT" = "MSW"; then
46754 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46755 if test "$USE_DARWIN" = 1; then
46756 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46757 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46759 ac_cpp='$CXXCPP $CPPFLAGS'
46760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46764 cat >conftest.$ac_ext <<_ACEOF
46767 cat confdefs.h >>conftest.$ac_ext
46768 cat >>conftest.$ac_ext <<_ACEOF
46769 /* end confdefs.h. */
46770 #include <IOKit/hid/IOHIDLib.h>
46774 IOHIDQueueInterface *qi = NULL;
46775 IOHIDCallbackFunction cb = NULL;
46776 qi->setEventCallout(NULL, cb, NULL, NULL);
46781 rm -f conftest.$ac_objext
46782 if { (ac_try="$ac_compile"
46783 case "(($ac_try" in
46784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46785 *) ac_try_echo=$ac_try;;
46787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46788 (eval "$ac_compile") 2>conftest.er1
46790 grep -v '^ *+' conftest.er1 >conftest.err
46792 cat conftest.err >&5
46793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46794 (exit $ac_status); } && {
46795 test -z "$ac_cxx_werror_flag" ||
46796 test ! -s conftest.err
46797 } && test -s conftest.$ac_objext; then
46801 echo "$as_me: failed program was:" >&5
46802 sed 's/^/| /' conftest.$ac_ext >&5
46807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46809 ac_cpp='$CPP $CPPFLAGS'
46810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46814 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46815 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46819 if test "$wxUSE_MGL" != 1; then
46821 for ac_header in linux/joystick.h
46823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46824 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46826 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46827 echo $ECHO_N "(cached) $ECHO_C" >&6
46829 cat >conftest.$ac_ext <<_ACEOF
46832 cat confdefs.h >>conftest.$ac_ext
46833 cat >>conftest.$ac_ext <<_ACEOF
46834 /* end confdefs.h. */
46835 $ac_includes_default
46837 #include <$ac_header>
46839 rm -f conftest.$ac_objext
46840 if { (ac_try="$ac_compile"
46841 case "(($ac_try" in
46842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46843 *) ac_try_echo=$ac_try;;
46845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46846 (eval "$ac_compile") 2>conftest.er1
46848 grep -v '^ *+' conftest.er1 >conftest.err
46850 cat conftest.err >&5
46851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46852 (exit $ac_status); } && {
46853 test -z "$ac_c_werror_flag" ||
46854 test ! -s conftest.err
46855 } && test -s conftest.$ac_objext; then
46856 eval "$as_ac_Header=yes"
46858 echo "$as_me: failed program was:" >&5
46859 sed 's/^/| /' conftest.$ac_ext >&5
46861 eval "$as_ac_Header=no"
46864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46866 ac_res=`eval echo '${'$as_ac_Header'}'`
46867 { echo "$as_me:$LINENO: result: $ac_res" >&5
46868 echo "${ECHO_T}$ac_res" >&6; }
46869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46870 cat >>confdefs.h <<_ACEOF
46871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46881 if test "$wxUSE_JOYSTICK" = "yes"; then
46882 cat >>confdefs.h <<\_ACEOF
46883 #define wxUSE_JOYSTICK 1
46886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46888 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46889 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46895 if test "$wxUSE_FONTENUM" = "yes" ; then
46896 cat >>confdefs.h <<\_ACEOF
46897 #define wxUSE_FONTENUM 1
46902 if test "$wxUSE_FONTMAP" = "yes" ; then
46903 cat >>confdefs.h <<\_ACEOF
46904 #define wxUSE_FONTMAP 1
46909 if test "$wxUSE_UNICODE" = "yes" ; then
46910 cat >>confdefs.h <<\_ACEOF
46911 #define wxUSE_UNICODE 1
46915 if test "$USE_WIN32" != 1; then
46916 wxUSE_UNICODE_MSLU=no
46919 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46920 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46921 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46922 if test "${ac_cv_lib_unicows_main+set}" = set; then
46923 echo $ECHO_N "(cached) $ECHO_C" >&6
46925 ac_check_lib_save_LIBS=$LIBS
46926 LIBS="-lunicows $LIBS"
46927 cat >conftest.$ac_ext <<_ACEOF
46930 cat confdefs.h >>conftest.$ac_ext
46931 cat >>conftest.$ac_ext <<_ACEOF
46932 /* end confdefs.h. */
46943 rm -f conftest.$ac_objext conftest$ac_exeext
46944 if { (ac_try="$ac_link"
46945 case "(($ac_try" in
46946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46947 *) ac_try_echo=$ac_try;;
46949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46950 (eval "$ac_link") 2>conftest.er1
46952 grep -v '^ *+' conftest.er1 >conftest.err
46954 cat conftest.err >&5
46955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46956 (exit $ac_status); } && {
46957 test -z "$ac_c_werror_flag" ||
46958 test ! -s conftest.err
46959 } && test -s conftest$ac_exeext &&
46960 $as_test_x conftest$ac_exeext; then
46961 ac_cv_lib_unicows_main=yes
46963 echo "$as_me: failed program was:" >&5
46964 sed 's/^/| /' conftest.$ac_ext >&5
46966 ac_cv_lib_unicows_main=no
46969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46970 conftest$ac_exeext conftest.$ac_ext
46971 LIBS=$ac_check_lib_save_LIBS
46973 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46974 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46975 if test $ac_cv_lib_unicows_main = yes; then
46977 cat >>confdefs.h <<\_ACEOF
46978 #define wxUSE_UNICODE_MSLU 1
46984 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46985 Applications will only run on Windows NT/2000/XP!" >&5
46986 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46987 Applications will only run on Windows NT/2000/XP!" >&2;}
46988 wxUSE_UNICODE_MSLU=no
46995 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46996 cat >>confdefs.h <<\_ACEOF
46997 #define wxUSE_UNICODE_UTF8 1
47001 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47002 cat >>confdefs.h <<\_ACEOF
47003 #define wxUSE_UTF8_LOCALE_ONLY 1
47010 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47011 cat >>confdefs.h <<\_ACEOF
47012 #define wxUSE_CONSTRAINTS 1
47015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47018 if test "$wxUSE_MDI" = "yes"; then
47019 cat >>confdefs.h <<\_ACEOF
47020 #define wxUSE_MDI 1
47024 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47025 cat >>confdefs.h <<\_ACEOF
47026 #define wxUSE_MDI_ARCHITECTURE 1
47029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47033 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47034 cat >>confdefs.h <<\_ACEOF
47035 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47041 if test "$wxUSE_HELP" = "yes"; then
47042 cat >>confdefs.h <<\_ACEOF
47043 #define wxUSE_HELP 1
47046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47048 if test "$wxUSE_MSW" = 1; then
47049 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_MS_HTML_HELP 1
47057 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47058 if test "$wxUSE_HTML" = "yes"; then
47059 cat >>confdefs.h <<\_ACEOF
47060 #define wxUSE_WXHTML_HELP 1
47064 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47065 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47066 wxUSE_WXHTML_HELP=no
47071 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47072 cat >>confdefs.h <<\_ACEOF
47073 #define wxUSE_PRINTING_ARCHITECTURE 1
47076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47079 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_POSTSCRIPT 1
47086 cat >>confdefs.h <<\_ACEOF
47087 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47091 if test "$wxUSE_SVG" = "yes"; then
47092 cat >>confdefs.h <<\_ACEOF
47093 #define wxUSE_SVG 1
47099 if test "$wxUSE_METAFILE" = "yes"; then
47100 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47101 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47102 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47108 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47109 -o "$wxUSE_CLIPBOARD" = "yes" \
47110 -o "$wxUSE_OLE" = "yes" \
47111 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47112 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47113 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47114 if test "${ac_cv_header_ole2_h+set}" = set; then
47115 echo $ECHO_N "(cached) $ECHO_C" >&6
47117 cat >conftest.$ac_ext <<_ACEOF
47120 cat confdefs.h >>conftest.$ac_ext
47121 cat >>conftest.$ac_ext <<_ACEOF
47122 /* end confdefs.h. */
47127 rm -f conftest.$ac_objext
47128 if { (ac_try="$ac_compile"
47129 case "(($ac_try" in
47130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47131 *) ac_try_echo=$ac_try;;
47133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47134 (eval "$ac_compile") 2>conftest.er1
47136 grep -v '^ *+' conftest.er1 >conftest.err
47138 cat conftest.err >&5
47139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47140 (exit $ac_status); } && {
47141 test -z "$ac_c_werror_flag" ||
47142 test ! -s conftest.err
47143 } && test -s conftest.$ac_objext; then
47144 ac_cv_header_ole2_h=yes
47146 echo "$as_me: failed program was:" >&5
47147 sed 's/^/| /' conftest.$ac_ext >&5
47149 ac_cv_header_ole2_h=no
47152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47154 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47155 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47159 if test "$ac_cv_header_ole2_h" = "yes" ; then
47160 if test "$GCC" = yes ; then
47161 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47162 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47163 cat >conftest.$ac_ext <<_ACEOF
47166 cat confdefs.h >>conftest.$ac_ext
47167 cat >>conftest.$ac_ext <<_ACEOF
47168 /* end confdefs.h. */
47169 #include <windows.h>
47179 rm -f conftest.$ac_objext
47180 if { (ac_try="$ac_compile"
47181 case "(($ac_try" in
47182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47183 *) ac_try_echo=$ac_try;;
47185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47186 (eval "$ac_compile") 2>conftest.er1
47188 grep -v '^ *+' conftest.er1 >conftest.err
47190 cat conftest.err >&5
47191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47192 (exit $ac_status); } && {
47193 test -z "$ac_c_werror_flag" ||
47194 test ! -s conftest.err
47195 } && test -s conftest.$ac_objext; then
47196 { echo "$as_me:$LINENO: result: no" >&5
47197 echo "${ECHO_T}no" >&6; }
47199 echo "$as_me: failed program was:" >&5
47200 sed 's/^/| /' conftest.$ac_ext >&5
47202 { echo "$as_me:$LINENO: result: yes" >&5
47203 echo "${ECHO_T}yes" >&6; }
47204 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47208 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47209 if test "$wxUSE_OLE" = "yes" ; then
47210 cat >>confdefs.h <<\_ACEOF
47211 #define wxUSE_OLE 1
47214 cat >>confdefs.h <<\_ACEOF
47215 #define wxUSE_OLE_AUTOMATION 1
47218 cat >>confdefs.h <<\_ACEOF
47219 #define wxUSE_ACTIVEX 1
47222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47226 if test "$wxUSE_DATAOBJ" = "yes" ; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_DATAOBJ 1
47233 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47234 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47237 wxUSE_DRAG_AND_DROP=no
47242 if test "$wxUSE_METAFILE" = "yes"; then
47243 cat >>confdefs.h <<\_ACEOF
47244 #define wxUSE_METAFILE 1
47248 cat >>confdefs.h <<\_ACEOF
47249 #define wxUSE_ENH_METAFILE 1
47255 if test "$wxUSE_IPC" = "yes"; then
47256 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47257 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47258 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47262 if test "$wxUSE_IPC" = "yes"; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_IPC 1
47267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47271 if test "$wxUSE_DATAOBJ" = "yes"; then
47272 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47273 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47274 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47277 cat >>confdefs.h <<\_ACEOF
47278 #define wxUSE_DATAOBJ 1
47283 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47284 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47286 wxUSE_DRAG_AND_DROP=no
47289 if test "$wxUSE_CLIPBOARD" = "yes"; then
47290 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47291 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47292 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47296 if test "$wxUSE_CLIPBOARD" = "yes"; then
47297 cat >>confdefs.h <<\_ACEOF
47298 #define wxUSE_CLIPBOARD 1
47304 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47305 if test "$wxUSE_GTK" = 1; then
47306 if test "$WXGTK12" != 1; then
47307 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47308 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47309 wxUSE_DRAG_AND_DROP=no
47313 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47314 "$wxUSE_DFB" = 1; then
47315 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47316 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47317 wxUSE_DRAG_AND_DROP=no
47320 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_DRAG_AND_DROP 1
47329 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47333 if test "$wxUSE_CLIPBOARD" = "yes"; then
47334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47337 if test "$wxUSE_SPLINES" = "yes" ; then
47338 cat >>confdefs.h <<\_ACEOF
47339 #define wxUSE_SPLINES 1
47344 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47345 cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_MOUSEWHEEL 1
47351 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47352 cat >>confdefs.h <<\_ACEOF
47353 #define wxUSE_UIACTIONSIMULATOR 1
47356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47359 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47360 cat >>confdefs.h <<\_ACEOF
47361 #define wxUSE_DC_TRANSFORM_MATRIX 1
47368 if test "$wxUSE_CONTROLS" = "yes"; then
47372 if test "$wxUSE_MARKUP" = "yes"; then
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_MARKUP 1
47379 if test "$wxUSE_ACCEL" = "yes"; then
47380 cat >>confdefs.h <<\_ACEOF
47381 #define wxUSE_ACCEL 1
47387 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47388 cat >>confdefs.h <<\_ACEOF
47389 #define wxUSE_ANIMATIONCTRL 1
47393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47396 if test "$wxUSE_BUTTON" = "yes"; then
47397 cat >>confdefs.h <<\_ACEOF
47398 #define wxUSE_BUTTON 1
47404 if test "$wxUSE_BMPBUTTON" = "yes"; then
47405 cat >>confdefs.h <<\_ACEOF
47406 #define wxUSE_BMPBUTTON 1
47412 if test "$wxUSE_CALCTRL" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_CALENDARCTRL 1
47418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47421 if test "$wxUSE_CARET" = "yes"; then
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_CARET 1
47427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47430 if test "$wxUSE_COLLPANE" = "yes"; then
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_COLLPANE 1
47436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47439 if test "$wxUSE_COMBOBOX" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_COMBOBOX 1
47447 if test "$wxUSE_COMBOCTRL" = "yes"; then
47448 cat >>confdefs.h <<\_ACEOF
47449 #define wxUSE_COMBOCTRL 1
47455 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47456 cat >>confdefs.h <<\_ACEOF
47457 #define wxUSE_COMMANDLINKBUTTON 1
47463 if test "$wxUSE_CHOICE" = "yes"; then
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_CHOICE 1
47471 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_CHOICEBOOK 1
47479 if test "$wxUSE_CHECKBOX" = "yes"; then
47480 cat >>confdefs.h <<\_ACEOF
47481 #define wxUSE_CHECKBOX 1
47487 if test "$wxUSE_CHECKLST" = "yes"; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_CHECKLISTBOX 1
47495 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47496 cat >>confdefs.h <<\_ACEOF
47497 #define wxUSE_COLOURPICKERCTRL 1
47503 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_DATEPICKCTRL 1
47511 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47512 cat >>confdefs.h <<\_ACEOF
47513 #define wxUSE_DIRPICKERCTRL 1
47519 if test "$wxUSE_FILECTRL" = "yes"; then
47520 cat >>confdefs.h <<\_ACEOF
47521 #define wxUSE_FILECTRL 1
47527 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_FILEPICKERCTRL 1
47535 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47536 cat >>confdefs.h <<\_ACEOF
47537 #define wxUSE_FONTPICKERCTRL 1
47543 if test "$wxUSE_DISPLAY" = "yes"; then
47544 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47545 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47546 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47549 cat >>confdefs.h <<\_ACEOF
47550 #define wxUSE_DISPLAY 1
47553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47557 if test "$wxUSE_DETECT_SM" = "yes"; then
47558 cat >>confdefs.h <<\_ACEOF
47559 #define wxUSE_DETECT_SM 1
47564 if test "$wxUSE_GAUGE" = "yes"; then
47565 cat >>confdefs.h <<\_ACEOF
47566 #define wxUSE_GAUGE 1
47572 if test "$wxUSE_GRID" = "yes"; then
47573 cat >>confdefs.h <<\_ACEOF
47574 #define wxUSE_GRID 1
47578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47581 if test "$wxUSE_HEADERCTRL" = "yes"; then
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_HEADERCTRL 1
47589 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47590 cat >>confdefs.h <<\_ACEOF
47591 #define wxUSE_HYPERLINKCTRL 1
47597 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_BITMAPCOMBOBOX 1
47605 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47606 cat >>confdefs.h <<\_ACEOF
47607 #define wxUSE_DATAVIEWCTRL 1
47611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47614 if test "$wxUSE_IMAGLIST" = "yes"; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_IMAGLIST 1
47621 if test "$wxUSE_INFOBAR" = "yes"; then
47622 cat >>confdefs.h <<\_ACEOF
47623 #define wxUSE_INFOBAR 1
47628 if test "$wxUSE_LISTBOOK" = "yes"; then
47629 cat >>confdefs.h <<\_ACEOF
47630 #define wxUSE_LISTBOOK 1
47636 if test "$wxUSE_LISTBOX" = "yes"; then
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_LISTBOX 1
47644 if test "$wxUSE_LISTCTRL" = "yes"; then
47645 if test "$wxUSE_IMAGLIST" = "yes"; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_LISTCTRL 1
47651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47653 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47654 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47658 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47659 cat >>confdefs.h <<\_ACEOF
47660 #define wxUSE_EDITABLELISTBOX 1
47666 if test "$wxUSE_NOTEBOOK" = "yes"; then
47667 cat >>confdefs.h <<\_ACEOF
47668 #define wxUSE_NOTEBOOK 1
47672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47675 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47676 cat >>confdefs.h <<\_ACEOF
47677 #define wxUSE_NOTIFICATION_MESSAGE 1
47682 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_ODCOMBOBOX 1
47688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47691 if test "$wxUSE_RADIOBOX" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_RADIOBOX 1
47699 if test "$wxUSE_RADIOBTN" = "yes"; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_RADIOBTN 1
47707 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47708 cat >>confdefs.h <<\_ACEOF
47709 #define wxUSE_REARRANGECTRL 1
47714 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47715 cat >>confdefs.h <<\_ACEOF
47716 #define wxUSE_RICHMSGDLG 1
47721 if test "$wxUSE_SASH" = "yes"; then
47722 cat >>confdefs.h <<\_ACEOF
47723 #define wxUSE_SASH 1
47726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47729 if test "$wxUSE_SCROLLBAR" = "yes"; then
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_SCROLLBAR 1
47735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47738 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47739 cat >>confdefs.h <<\_ACEOF
47740 #define wxUSE_SEARCHCTRL 1
47746 if test "$wxUSE_SLIDER" = "yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_SLIDER 1
47754 if test "$wxUSE_SPINBTN" = "yes"; then
47755 cat >>confdefs.h <<\_ACEOF
47756 #define wxUSE_SPINBTN 1
47762 if test "$wxUSE_SPINCTRL" = "yes"; then
47763 cat >>confdefs.h <<\_ACEOF
47764 #define wxUSE_SPINCTRL 1
47770 if test "$wxUSE_SPLITTER" = "yes"; then
47771 cat >>confdefs.h <<\_ACEOF
47772 #define wxUSE_SPLITTER 1
47775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47778 if test "$wxUSE_STATBMP" = "yes"; then
47779 cat >>confdefs.h <<\_ACEOF
47780 #define wxUSE_STATBMP 1
47786 if test "$wxUSE_STATBOX" = "yes"; then
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_STATBOX 1
47794 if test "$wxUSE_STATTEXT" = "yes"; then
47795 cat >>confdefs.h <<\_ACEOF
47796 #define wxUSE_STATTEXT 1
47802 if test "$wxUSE_STATLINE" = "yes"; then
47803 cat >>confdefs.h <<\_ACEOF
47804 #define wxUSE_STATLINE 1
47810 if test "$wxUSE_STATUSBAR" = "yes"; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_NATIVE_STATUSBAR 1
47815 cat >>confdefs.h <<\_ACEOF
47816 #define wxUSE_STATUSBAR 1
47821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47824 if test "$wxUSE_TEXTCTRL" = "yes"; then
47825 cat >>confdefs.h <<\_ACEOF
47826 #define wxUSE_TEXTCTRL 1
47830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_RICHEDIT 1
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_RICHEDIT2 1
47842 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47843 if test "$wxUSE_OLD_COCOA" = 1 ; then
47844 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47845 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47849 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_TOGGLEBTN 1
47858 if test "$wxUSE_TOOLBAR" = "yes"; then
47859 cat >>confdefs.h <<\_ACEOF
47860 #define wxUSE_TOOLBAR 1
47865 if test "$wxUSE_UNIVERSAL" = "yes"; then
47866 wxUSE_TOOLBAR_NATIVE="no"
47868 wxUSE_TOOLBAR_NATIVE="yes"
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_TOOLBAR_NATIVE 1
47875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47878 if test "$wxUSE_TOOLTIPS" = "yes"; then
47879 if test "$wxUSE_MOTIF" = 1; then
47880 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47881 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47883 if test "$wxUSE_UNIVERSAL" = "yes"; then
47884 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47885 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47887 cat >>confdefs.h <<\_ACEOF
47888 #define wxUSE_TOOLTIPS 1
47895 if test "$wxUSE_TREEBOOK" = "yes"; then
47896 cat >>confdefs.h <<\_ACEOF
47897 #define wxUSE_TREEBOOK 1
47903 if test "$wxUSE_TOOLBOOK" = "yes"; then
47904 cat >>confdefs.h <<\_ACEOF
47905 #define wxUSE_TOOLBOOK 1
47911 if test "$wxUSE_TREECTRL" = "yes"; then
47912 if test "$wxUSE_IMAGLIST" = "yes"; then
47913 cat >>confdefs.h <<\_ACEOF
47914 #define wxUSE_TREECTRL 1
47918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47920 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47921 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47925 if test "$wxUSE_POPUPWIN" = "yes"; then
47926 if test "$wxUSE_OLD_COCOA" = 1 ; then
47927 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47928 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47930 if test "$wxUSE_PM" = 1; then
47931 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47932 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47934 cat >>confdefs.h <<\_ACEOF
47935 #define wxUSE_POPUPWIN 1
47938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47945 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47946 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47947 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47948 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47950 cat >>confdefs.h <<\_ACEOF
47951 #define wxUSE_DIALUP_MANAGER 1
47954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47958 if test "$wxUSE_TIPWINDOW" = "yes"; then
47959 if test "$wxUSE_PM" = 1; then
47960 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47961 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47963 cat >>confdefs.h <<\_ACEOF
47964 #define wxUSE_TIPWINDOW 1
47970 if test "$USES_CONTROLS" = 1; then
47971 cat >>confdefs.h <<\_ACEOF
47972 #define wxUSE_CONTROLS 1
47978 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47979 cat >>confdefs.h <<\_ACEOF
47980 #define wxUSE_ACCESSIBILITY 1
47983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47986 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47987 cat >>confdefs.h <<\_ACEOF
47988 #define wxUSE_ARTPROVIDER_STD 1
47993 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47994 if test "$wxUSE_GTK" != 1; then
47995 if test "$wxUSE_LIBPNG" != no -a \
47996 "$wxUSE_IMAGE" = yes -a \
47997 "$wxUSE_STREAMS" = yes; then
47998 wxUSE_ARTPROVIDER_TANGO="yes"
48003 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
48004 cat >>confdefs.h <<\_ACEOF
48005 #define wxUSE_ARTPROVIDER_TANGO 1
48010 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48011 cat >>confdefs.h <<\_ACEOF
48012 #define wxUSE_DRAGIMAGE 1
48015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48018 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48019 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48020 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48021 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_EXCEPTIONS 1
48027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48032 if test "$wxUSE_HTML" = "yes"; then
48033 cat >>confdefs.h <<\_ACEOF
48034 #define wxUSE_HTML 1
48038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48040 if test "$wxUSE_WEBKIT" = "yes"; then
48041 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48042 old_CPPFLAGS="$CPPFLAGS"
48043 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48044 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48045 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48046 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48047 echo $ECHO_N "(cached) $ECHO_C" >&6
48049 cat >conftest.$ac_ext <<_ACEOF
48052 cat confdefs.h >>conftest.$ac_ext
48053 cat >>conftest.$ac_ext <<_ACEOF
48054 /* end confdefs.h. */
48056 #include <Carbon/Carbon.h>
48057 #include <WebKit/WebKit.h>
48060 #include <WebKit/HIWebView.h>
48062 rm -f conftest.$ac_objext
48063 if { (ac_try="$ac_compile"
48064 case "(($ac_try" in
48065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48066 *) ac_try_echo=$ac_try;;
48068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48069 (eval "$ac_compile") 2>conftest.er1
48071 grep -v '^ *+' conftest.er1 >conftest.err
48073 cat conftest.err >&5
48074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48075 (exit $ac_status); } && {
48076 test -z "$ac_c_werror_flag" ||
48077 test ! -s conftest.err
48078 } && test -s conftest.$ac_objext; then
48079 ac_cv_header_WebKit_HIWebView_h=yes
48081 echo "$as_me: failed program was:" >&5
48082 sed 's/^/| /' conftest.$ac_ext >&5
48084 ac_cv_header_WebKit_HIWebView_h=no
48087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48089 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48090 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48091 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48093 cat >>confdefs.h <<\_ACEOF
48094 #define wxUSE_WEBKIT 1
48097 WEBKIT_LINK="-framework WebKit"
48101 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48102 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48108 CPPFLAGS="$old_CPPFLAGS"
48109 elif test "$wxUSE_OLD_COCOA" = 1; then
48110 cat >>confdefs.h <<\_ACEOF
48111 #define wxUSE_WEBKIT 1
48117 if test "$wxUSE_WEBKIT" = "yes"; then
48118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48123 if test "$wxUSE_XRC" = "yes"; then
48124 if test "$wxUSE_XML" != "yes"; then
48125 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48126 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_XRC 1
48134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48139 if test "$wxUSE_AUI" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_AUI 1
48145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48149 if test "$wxUSE_PROPGRID" = "yes"; then
48150 cat >>confdefs.h <<\_ACEOF
48151 #define wxUSE_PROPGRID 1
48155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48159 if test "$wxUSE_RIBBON" = "yes"; then
48160 cat >>confdefs.h <<\_ACEOF
48161 #define wxUSE_RIBBON 1
48165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48169 if test "$wxUSE_STC" = "yes"; then
48170 cat >>confdefs.h <<\_ACEOF
48171 #define wxUSE_STC 1
48175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48177 # Extract the first word of "python", so it can be a program name with args.
48178 set dummy python; ac_word=$2
48179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48181 if test "${ac_cv_path_PYTHON+set}" = set; then
48182 echo $ECHO_N "(cached) $ECHO_C" >&6
48186 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48190 for as_dir in $PATH
48193 test -z "$as_dir" && as_dir=.
48194 for ac_exec_ext in '' $ac_executable_extensions; do
48195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48196 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48207 PYTHON=$ac_cv_path_PYTHON
48208 if test -n "$PYTHON"; then
48209 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48210 echo "${ECHO_T}$PYTHON" >&6; }
48212 { echo "$as_me:$LINENO: result: no" >&5
48213 echo "${ECHO_T}no" >&6; }
48217 if test "x$PYTHON" = "x"; then
48223 if test "$wxUSE_MENUS" = "yes"; then
48224 cat >>confdefs.h <<\_ACEOF
48225 #define wxUSE_MENUS 1
48228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48231 if test "$wxUSE_METAFILE" = "yes"; then
48232 cat >>confdefs.h <<\_ACEOF
48233 #define wxUSE_METAFILE 1
48238 if test "$wxUSE_MIMETYPE" = "yes"; then
48239 cat >>confdefs.h <<\_ACEOF
48240 #define wxUSE_MIMETYPE 1
48245 if test "$wxUSE_MINIFRAME" = "yes"; then
48246 cat >>confdefs.h <<\_ACEOF
48247 #define wxUSE_MINIFRAME 1
48252 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48253 cat >>confdefs.h <<\_ACEOF
48254 #define wxUSE_SYSTEM_OPTIONS 1
48259 if test "$wxUSE_TASKBARICON" = "yes"; then
48260 cat >>confdefs.h <<\_ACEOF
48261 #define wxUSE_TASKBARICON 1
48264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48268 if test "$wxUSE_VALIDATORS" = "yes"; then
48269 cat >>confdefs.h <<\_ACEOF
48270 #define wxUSE_VALIDATORS 1
48273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48276 if test "$wxUSE_PALETTE" = "yes" ; then
48277 if test "$wxUSE_DFB" = 1; then
48278 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48279 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48282 cat >>confdefs.h <<\_ACEOF
48283 #define wxUSE_PALETTE 1
48289 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48290 LIBS=" -lunicows $LIBS"
48294 if test "$wxUSE_RICHTEXT" = "yes"; then
48295 cat >>confdefs.h <<\_ACEOF
48296 #define wxUSE_RICHTEXT 1
48300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48304 if test "$wxUSE_WEB" = "yes"; then
48305 cat >>confdefs.h <<\_ACEOF
48306 #define wxUSE_WEB 1
48310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS web"
48312 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes" -a "$wxUSE_GTK" = 1; then
48313 cat >>confdefs.h <<\_ACEOF
48314 #define wxUSE_WEBVIEW_WEBKIT 1
48317 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
48318 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
48321 for ac_dir in $SEARCH_LIB
48323 for ac_extension in a so sl dylib dll.a; do
48324 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
48325 ac_find_libraries=$ac_dir
48331 if test "$ac_find_libraries" != "" ; then
48333 if test "$ac_find_libraries" = "default location"; then
48336 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
48338 if test $result = 0; then
48341 ac_path_to_link=" -L$ac_find_libraries"
48345 if test "$ac_path_to_link" != " -L/usr/lib" ; then
48346 LDFLAGS="$LDFLAGS $ac_path_to_link"
48348 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
48349 { echo "$as_me:$LINENO: result: yes" >&5
48350 echo "${ECHO_T}yes" >&6; }
48352 { echo "$as_me:$LINENO: result: no" >&5
48353 echo "${ECHO_T}no" >&6; }
48354 { echo "$as_me:$LINENO: WARNING: libwebkitgtk-1.0 not found; disabling webkit backend" >&5
48355 echo "$as_me: WARNING: libwebkitgtk-1.0 not found; disabling webkit backend" >&2;}
48356 wxUSE_WEBVIEW_WEBKIT="no"
48359 { echo "$as_me:$LINENO: checking for webkitgtk includes" >&5
48360 echo $ECHO_N "checking for webkitgtk includes... $ECHO_C" >&6; }
48363 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
48365 if test -f "$ac_dir/webkit/webkit.h"; then
48366 ac_find_includes=$ac_dir
48371 if test "$ac_find_includes" != "" ; then
48372 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
48373 echo "${ECHO_T}found in $ac_find_includes" >&6; }
48375 if test "x$ac_find_includes" = "x/usr/include"; then
48376 ac_path_to_include=""
48378 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
48380 if test $result = 0; then
48381 ac_path_to_include=""
48383 ac_path_to_include=" -I$ac_find_includes"
48387 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
48389 { echo "$as_me:$LINENO: result: not found" >&5
48390 echo "${ECHO_T}not found" >&6; }
48392 { echo "$as_me:$LINENO: checking for libsoup includes" >&5
48393 echo $ECHO_N "checking for libsoup includes... $ECHO_C" >&6; }
48396 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
48398 if test -f "$ac_dir/libsoup/soup.h"; then
48399 ac_find_includes=$ac_dir
48404 if test "$ac_find_includes" != "" ; then
48405 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
48406 echo "${ECHO_T}found in $ac_find_includes" >&6; }
48408 if test "x$ac_find_includes" = "x/usr/include"; then
48409 ac_path_to_include=""
48411 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
48413 if test $result = 0; then
48414 ac_path_to_include=""
48416 ac_path_to_include=" -I$ac_find_includes"
48420 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
48422 { echo "$as_me:$LINENO: result: not found" >&5
48423 echo "${ECHO_T}not found" >&6; }
48427 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes" -a "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48428 old_CPPFLAGS="$CPPFLAGS"
48429 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48430 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48431 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48432 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48433 echo $ECHO_N "(cached) $ECHO_C" >&6
48435 cat >conftest.$ac_ext <<_ACEOF
48438 cat confdefs.h >>conftest.$ac_ext
48439 cat >>conftest.$ac_ext <<_ACEOF
48440 /* end confdefs.h. */
48442 #include <Carbon/Carbon.h>
48443 #include <WebKit/WebKit.h>
48446 #include <WebKit/HIWebView.h>
48448 rm -f conftest.$ac_objext
48449 if { (ac_try="$ac_compile"
48450 case "(($ac_try" in
48451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48452 *) ac_try_echo=$ac_try;;
48454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48455 (eval "$ac_compile") 2>conftest.er1
48457 grep -v '^ *+' conftest.er1 >conftest.err
48459 cat conftest.err >&5
48460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48461 (exit $ac_status); } && {
48462 test -z "$ac_c_werror_flag" ||
48463 test ! -s conftest.err
48464 } && test -s conftest.$ac_objext; then
48465 ac_cv_header_WebKit_HIWebView_h=yes
48467 echo "$as_me: failed program was:" >&5
48468 sed 's/^/| /' conftest.$ac_ext >&5
48470 ac_cv_header_WebKit_HIWebView_h=no
48473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48475 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48476 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48477 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_WEBVIEW_WEBKIT 1
48483 WEBKIT_LINK="-framework WebKit"
48487 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebView WebKit" >&5
48488 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebView WebKit" >&2;}
48489 wxUSE_WEBVIEW_WEBKIT=no
48494 CPPFLAGS="$old_CPPFLAGS"
48495 elif test "$wxUSE_OLD_COCOA" = 1; then
48496 cat >>confdefs.h <<\_ACEOF
48497 #define wxUSE_WEBVIEW_WEBKIT 1
48501 wxUSE_WEBVIEW_WEBKIT=no
48506 if test "$wxUSE_IMAGE" = "yes" ; then
48507 cat >>confdefs.h <<\_ACEOF
48508 #define wxUSE_IMAGE 1
48512 if test "$wxUSE_GIF" = "yes" ; then
48513 cat >>confdefs.h <<\_ACEOF
48514 #define wxUSE_GIF 1
48519 if test "$wxUSE_PCX" = "yes" ; then
48520 cat >>confdefs.h <<\_ACEOF
48521 #define wxUSE_PCX 1
48526 if test "$wxUSE_TGA" = "yes" ; then
48527 cat >>confdefs.h <<\_ACEOF
48528 #define wxUSE_TGA 1
48533 if test "$wxUSE_IFF" = "yes" ; then
48534 cat >>confdefs.h <<\_ACEOF
48535 #define wxUSE_IFF 1
48540 if test "$wxUSE_PNM" = "yes" ; then
48541 cat >>confdefs.h <<\_ACEOF
48542 #define wxUSE_PNM 1
48547 if test "$wxUSE_XPM" = "yes" ; then
48548 cat >>confdefs.h <<\_ACEOF
48549 #define wxUSE_XPM 1
48554 if test "$wxUSE_ICO_CUR" = "yes" ; then
48555 cat >>confdefs.h <<\_ACEOF
48556 #define wxUSE_ICO_CUR 1
48563 if test "$wxUSE_ABOUTDLG" = "yes"; then
48564 cat >>confdefs.h <<\_ACEOF
48565 #define wxUSE_ABOUTDLG 1
48570 if test "$wxUSE_CHOICEDLG" = "yes"; then
48571 cat >>confdefs.h <<\_ACEOF
48572 #define wxUSE_CHOICEDLG 1
48577 if test "$wxUSE_COLOURDLG" = "yes"; then
48578 cat >>confdefs.h <<\_ACEOF
48579 #define wxUSE_COLOURDLG 1
48584 if test "$wxUSE_FILEDLG" = "yes"; then
48585 cat >>confdefs.h <<\_ACEOF
48586 #define wxUSE_FILEDLG 1
48591 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48592 cat >>confdefs.h <<\_ACEOF
48593 #define wxUSE_FINDREPLDLG 1
48598 if test "$wxUSE_FONTDLG" = "yes"; then
48599 cat >>confdefs.h <<\_ACEOF
48600 #define wxUSE_FONTDLG 1
48605 if test "$wxUSE_DIRDLG" = "yes"; then
48606 if test "$wxUSE_TREECTRL" != "yes"; then
48607 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48608 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48610 cat >>confdefs.h <<\_ACEOF
48611 #define wxUSE_DIRDLG 1
48617 if test "$wxUSE_MSGDLG" = "yes"; then
48618 cat >>confdefs.h <<\_ACEOF
48619 #define wxUSE_MSGDLG 1
48624 if test "$wxUSE_NUMBERDLG" = "yes"; then
48625 cat >>confdefs.h <<\_ACEOF
48626 #define wxUSE_NUMBERDLG 1
48631 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48632 cat >>confdefs.h <<\_ACEOF
48633 #define wxUSE_PROGRESSDLG 1
48638 if test "$wxUSE_SPLASH" = "yes"; then
48639 cat >>confdefs.h <<\_ACEOF
48640 #define wxUSE_SPLASH 1
48643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48646 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48647 cat >>confdefs.h <<\_ACEOF
48648 #define wxUSE_STARTUP_TIPS 1
48653 if test "$wxUSE_TEXTDLG" = "yes"; then
48654 cat >>confdefs.h <<\_ACEOF
48655 #define wxUSE_TEXTDLG 1
48660 if test "$wxUSE_WIZARDDLG" = "yes"; then
48661 cat >>confdefs.h <<\_ACEOF
48662 #define wxUSE_WIZARDDLG 1
48665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48669 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48670 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48671 cat >>confdefs.h <<\_ACEOF
48672 #define wxUSE_OWNER_DRAWN 1
48679 if test "$wxUSE_MSW" = 1 ; then
48681 if test "$wxUSE_DC_CACHEING" = "yes"; then
48682 cat >>confdefs.h <<\_ACEOF
48683 #define wxUSE_DC_CACHEING 1
48688 if test "$wxUSE_DIB" = "yes"; then
48689 cat >>confdefs.h <<\_ACEOF
48690 #define wxUSE_WXDIB 1
48695 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48696 cat >>confdefs.h <<\_ACEOF
48697 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48702 if test "$wxUSE_UXTHEME" = "yes"; then
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_UXTHEME 1
48711 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48712 cat >>confdefs.h <<\_ACEOF
48713 #define wxUSE_AUTOID_MANAGEMENT 1
48718 if test "$USE_WIN32" = 1 ; then
48719 if test "$wxUSE_INICONF" = "yes"; then
48720 cat >>confdefs.h <<\_ACEOF
48721 #define wxUSE_INICONF 1
48726 if test "$wxUSE_REGKEY" = "yes"; then
48727 cat >>confdefs.h <<\_ACEOF
48728 #define wxUSE_REGKEY 1
48735 if test "$wxUSE_MAC" = 1; then
48736 wxUSE_GRAPHICS_CONTEXT="yes"
48739 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48741 if test "$wxUSE_MSW" = 1; then
48742 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48743 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48744 if test "${wx_cv_lib_gdiplus+set}" = set; then
48745 echo $ECHO_N "(cached) $ECHO_C" >&6
48749 ac_cpp='$CXXCPP $CPPFLAGS'
48750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48754 cat >conftest.$ac_ext <<_ACEOF
48757 cat confdefs.h >>conftest.$ac_ext
48758 cat >>conftest.$ac_ext <<_ACEOF
48759 /* end confdefs.h. */
48760 #include <windows.h>
48761 #include <gdiplus.h>
48766 using namespace Gdiplus;
48772 rm -f conftest.$ac_objext
48773 if { (ac_try="$ac_compile"
48774 case "(($ac_try" in
48775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48776 *) ac_try_echo=$ac_try;;
48778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48779 (eval "$ac_compile") 2>conftest.er1
48781 grep -v '^ *+' conftest.er1 >conftest.err
48783 cat conftest.err >&5
48784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48785 (exit $ac_status); } && {
48786 test -z "$ac_cxx_werror_flag" ||
48787 test ! -s conftest.err
48788 } && test -s conftest.$ac_objext; then
48789 wx_cv_lib_gdiplus=yes
48791 echo "$as_me: failed program was:" >&5
48792 sed 's/^/| /' conftest.$ac_ext >&5
48794 wx_cv_lib_gdiplus=no
48798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48800 ac_cpp='$CPP $CPPFLAGS'
48801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48808 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48809 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48810 if test "$wx_cv_lib_gdiplus" = "yes"; then
48813 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48816 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48817 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48819 if test -n "$PKG_CONFIG"; then
48820 if test -n "$CAIRO_CFLAGS"; then
48821 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48823 if test -n "$PKG_CONFIG" && \
48824 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48825 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48828 (exit $ac_status); }; then
48829 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48837 if test -n "$PKG_CONFIG"; then
48838 if test -n "$CAIRO_LIBS"; then
48839 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48841 if test -n "$PKG_CONFIG" && \
48842 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48843 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48846 (exit $ac_status); }; then
48847 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48858 if test $pkg_failed = yes; then
48860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48861 _pkg_short_errors_supported=yes
48863 _pkg_short_errors_supported=no
48865 if test $_pkg_short_errors_supported = yes; then
48866 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48868 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48870 # Put the nasty error message in config.log where it belongs
48871 echo "$CAIRO_PKG_ERRORS" >&5
48873 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48874 echo "$as_me: WARNING: Cairo library not found" >&2;}
48876 elif test $pkg_failed = untried; then
48877 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48878 echo "$as_me: WARNING: Cairo library not found" >&2;}
48881 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48882 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48883 { echo "$as_me:$LINENO: result: yes" >&5
48884 echo "${ECHO_T}yes" >&6; }
48887 if test "$wx_has_graphics" = 1; then
48889 LIBS="$LIBS $CAIRO_LIBS"
48891 for ac_func in cairo_push_group
48893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48894 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48897 echo $ECHO_N "(cached) $ECHO_C" >&6
48899 cat >conftest.$ac_ext <<_ACEOF
48902 cat confdefs.h >>conftest.$ac_ext
48903 cat >>conftest.$ac_ext <<_ACEOF
48904 /* end confdefs.h. */
48905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48907 #define $ac_func innocuous_$ac_func
48909 /* System header to define __stub macros and hopefully few prototypes,
48910 which can conflict with char $ac_func (); below.
48911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48912 <limits.h> exists even on freestanding compilers. */
48915 # include <limits.h>
48917 # include <assert.h>
48922 /* Override any GCC internal prototype to avoid an error.
48923 Use char because int might match the return type of a GCC
48924 builtin and then its argument prototype would still apply. */
48929 /* The GNU C library defines this for functions which it implements
48930 to always fail with ENOSYS. Some functions are actually named
48931 something starting with __ and the normal name is an alias. */
48932 #if defined __stub_$ac_func || defined __stub___$ac_func
48939 return $ac_func ();
48944 rm -f conftest.$ac_objext conftest$ac_exeext
48945 if { (ac_try="$ac_link"
48946 case "(($ac_try" in
48947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48948 *) ac_try_echo=$ac_try;;
48950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48951 (eval "$ac_link") 2>conftest.er1
48953 grep -v '^ *+' conftest.er1 >conftest.err
48955 cat conftest.err >&5
48956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48957 (exit $ac_status); } && {
48958 test -z "$ac_c_werror_flag" ||
48959 test ! -s conftest.err
48960 } && test -s conftest$ac_exeext &&
48961 $as_test_x conftest$ac_exeext; then
48962 eval "$as_ac_var=yes"
48964 echo "$as_me: failed program was:" >&5
48965 sed 's/^/| /' conftest.$ac_ext >&5
48967 eval "$as_ac_var=no"
48970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48971 conftest$ac_exeext conftest.$ac_ext
48973 ac_res=`eval echo '${'$as_ac_var'}'`
48974 { echo "$as_me:$LINENO: result: $ac_res" >&5
48975 echo "${ECHO_T}$ac_res" >&6; }
48976 if test `eval echo '${'$as_ac_var'}'` = yes; then
48977 cat >>confdefs.h <<_ACEOF
48978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48985 if test "$ac_cv_func_cairo_push_group" = "no"; then
48987 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48988 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48990 cat >>confdefs.h <<\_ACEOF
48991 #define wxUSE_CAIRO 1
48995 if test "$wxUSE_GTK" != 1; then
48996 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48997 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
49005 if test "$wx_has_graphics" = 1; then
49006 cat >>confdefs.h <<\_ACEOF
49007 #define wxUSE_GRAPHICS_CONTEXT 1
49011 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
49012 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
49019 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
49022 if test "$wxUSE_GTK" = 1; then
49023 wxUSE_GSTREAMER="no"
49025 GST_VERSION_MAJOR=0
49026 GST_VERSION_MINOR=10
49027 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49029 if test "$wxUSE_GSTREAMER8" = "no"; then
49032 { echo "$as_me:$LINENO: checking for GST" >&5
49033 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49035 if test -n "$PKG_CONFIG"; then
49036 if test -n "$GST_CFLAGS"; then
49037 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49039 if test -n "$PKG_CONFIG" && \
49040 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49041 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49044 (exit $ac_status); }; then
49045 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49053 if test -n "$PKG_CONFIG"; then
49054 if test -n "$GST_LIBS"; then
49055 pkg_cv_GST_LIBS="$GST_LIBS"
49057 if test -n "$PKG_CONFIG" && \
49058 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49059 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49062 (exit $ac_status); }; then
49063 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49074 if test $pkg_failed = yes; then
49076 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49077 _pkg_short_errors_supported=yes
49079 _pkg_short_errors_supported=no
49081 if test $_pkg_short_errors_supported = yes; then
49082 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49084 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49086 # Put the nasty error message in config.log where it belongs
49087 echo "$GST_PKG_ERRORS" >&5
49090 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49091 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49092 GST_VERSION_MINOR=8
49095 elif test $pkg_failed = untried; then
49097 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49098 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49099 GST_VERSION_MINOR=8
49103 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49104 GST_LIBS=$pkg_cv_GST_LIBS
49105 { echo "$as_me:$LINENO: result: yes" >&5
49106 echo "${ECHO_T}yes" >&6; }
49108 wxUSE_GSTREAMER="yes"
49109 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49113 GST_VERSION_MINOR=8
49116 if test $GST_VERSION_MINOR = "8"; then
49117 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49120 { echo "$as_me:$LINENO: checking for GST" >&5
49121 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49123 if test -n "$PKG_CONFIG"; then
49124 if test -n "$GST_CFLAGS"; then
49125 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49127 if test -n "$PKG_CONFIG" && \
49128 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49129 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49132 (exit $ac_status); }; then
49133 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49141 if test -n "$PKG_CONFIG"; then
49142 if test -n "$GST_LIBS"; then
49143 pkg_cv_GST_LIBS="$GST_LIBS"
49145 if test -n "$PKG_CONFIG" && \
49146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49147 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49150 (exit $ac_status); }; then
49151 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49162 if test $pkg_failed = yes; then
49164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49165 _pkg_short_errors_supported=yes
49167 _pkg_short_errors_supported=no
49169 if test $_pkg_short_errors_supported = yes; then
49170 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49172 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49174 # Put the nasty error message in config.log where it belongs
49175 echo "$GST_PKG_ERRORS" >&5
49178 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49179 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49181 elif test $pkg_failed = untried; then
49183 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49184 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49187 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49188 GST_LIBS=$pkg_cv_GST_LIBS
49189 { echo "$as_me:$LINENO: result: yes" >&5
49190 echo "${ECHO_T}yes" >&6; }
49191 wxUSE_GSTREAMER="yes"
49196 if test "$wxUSE_GSTREAMER" = "yes"; then
49197 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49198 EXTRALIBS_MEDIA="$GST_LIBS"
49200 cat >>confdefs.h <<\_ACEOF
49201 #define wxUSE_GSTREAMER 1
49209 if test $USE_MEDIA = 1; then
49210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49211 cat >>confdefs.h <<\_ACEOF
49212 #define wxUSE_MEDIACTRL 1
49216 if test "$wxUSE_MEDIACTRL" = "yes"; then
49217 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
49218 echo "$as_me: error: GStreamer not available" >&2;}
49219 { (exit 1); exit 1; }; }
49221 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
49222 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
49228 if test "$cross_compiling" != "no"; then
49231 OSINFO=`uname -s -r -m`
49232 OSINFO="\"$OSINFO\""
49235 cat >>confdefs.h <<_ACEOF
49236 #define WXWIN_OS_DESCRIPTION $OSINFO
49241 if test "x$prefix" != "xNONE"; then
49244 wxPREFIX=$ac_default_prefix
49247 cat >>confdefs.h <<_ACEOF
49248 #define wxINSTALL_PREFIX "$wxPREFIX"
49254 STD_BASE_LIBS="base"
49256 BUILT_WX_LIBS="base"
49257 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49259 if test "$wxUSE_SOCKETS" = "yes" ; then
49260 STD_BASE_LIBS="net $STD_BASE_LIBS"
49261 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49263 if test "$wxUSE_XML" = "yes" ; then
49264 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49265 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49268 if test "$wxUSE_GUI" = "yes"; then
49269 STD_GUI_LIBS="adv core"
49270 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49272 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49273 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49274 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49276 if test "$wxUSE_HTML" = "yes" ; then
49277 STD_GUI_LIBS="html $STD_GUI_LIBS"
49278 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49280 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49281 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49283 if test "$wxUSE_OPENGL" = "yes" ; then
49284 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49286 if test "$wxUSE_AUI" = "yes" ; then
49287 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49289 if test "$wxUSE_PROPGRID" = "yes" ; then
49290 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49292 if test "$wxUSE_RIBBON" = "yes" ; then
49293 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49295 if test "$wxUSE_RICHTEXT" = "yes" ; then
49296 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49298 if test "$wxUSE_STC" = "yes" ; then
49299 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49301 if test "$wxUSE_WEB" = "yes" ; then
49302 STD_GUI_LIBS="web $STD_GUI_LIBS"
49303 BUILT_WX_LIBS="web $BUILT_WX_LIBS"
49305 if test "$wxUSE_XRC" = "yes" ; then
49306 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49307 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49318 if test "$wxUSE_MAC" = 1 ; then
49319 if test "$USE_DARWIN" = 1; then
49320 if test "$wxUSE_OSX_IPHONE" = 1; then
49321 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49323 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49327 if test "$wxUSE_OLD_COCOA" = 1 ; then
49328 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49329 if test "$wxUSE_MEDIACTRL" = "yes"; then
49330 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49333 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49334 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49337 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49338 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49340 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49342 if test "$wxUSE_GUI" = "yes"; then
49345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49346 erase event exec font image minimal render \
49347 shaped svg taborder vscroll widgets wrapsizer"
49349 if test "$wxUSE_MONOLITHIC" != "yes"; then
49350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49352 if test "$TOOLKIT" = "MSW"; then
49353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49354 if test "$wxUSE_UNIVERSAL" != "yes"; then
49355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49358 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49362 SAMPLES_SUBDIRS="console"
49363 if test "$wxUSE_SOCKETS" = "yes" ; then
49364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49366 if test "$wxUSE_IPC" = "yes" ; then
49367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49372 if test "x$INTELCC" = "xyes" ; then
49373 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49374 elif test "$GCC" = yes ; then
49375 CWARNINGS="-Wall -Wundef"
49378 if test "x$INTELCXX" = "xyes" ; then
49379 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49380 elif test "$GXX" = yes ; then
49381 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49382 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49383 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49384 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49385 echo $ECHO_N "(cached) $ECHO_C" >&6
49387 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49390 ac_cpp='$CXXCPP $CPPFLAGS'
49391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49395 ac_save_CXXFLAGS="$CXXFLAGS"
49396 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49397 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49398 cat >conftest.$ac_ext <<_ACEOF
49401 cat confdefs.h >>conftest.$ac_ext
49402 cat >>conftest.$ac_ext <<_ACEOF
49403 /* end confdefs.h. */
49413 rm -f conftest.$ac_objext
49414 if { (ac_try="$ac_compile"
49415 case "(($ac_try" in
49416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49417 *) ac_try_echo=$ac_try;;
49419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49420 (eval "$ac_compile") 2>conftest.er1
49422 grep -v '^ *+' conftest.er1 >conftest.err
49424 cat conftest.err >&5
49425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49426 (exit $ac_status); } && {
49427 test -z "$ac_cxx_werror_flag" ||
49428 test ! -s conftest.err
49429 } && test -s conftest.$ac_objext; then
49430 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49432 echo "$as_me: failed program was:" >&5
49433 sed 's/^/| /' conftest.$ac_ext >&5
49438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49440 CXXFLAGS="$ac_save_CXXFLAGS"
49442 ac_cpp='$CPP $CPPFLAGS'
49443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49449 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49450 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49451 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49455 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49456 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49457 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49460 (exit $ac_status); }
49461 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49462 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49465 (exit $ac_status); }
49466 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49472 if test "$wxUSE_MAC" = 1 ; then
49473 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49478 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49479 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49482 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49483 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49484 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49487 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49488 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49489 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49490 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49491 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49493 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49496 if test "x$MWCC" = "xyes"; then
49498 CC="$CC -cwd source -I-"
49499 CXX="$CXX -cwd source -I-"
49504 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49505 EXTRALIBS_XML="$EXPAT_LINK"
49506 EXTRALIBS_HTML="$MSPACK_LINK"
49507 EXTRALIBS_MEDIA="$GST_LIBS"
49508 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49509 if test "$wxUSE_GUI" = "yes"; then
49510 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49512 if test "$wxUSE_OPENGL" = "yes"; then
49513 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49516 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49518 WXCONFIG_LIBS="$LIBS"
49520 if test "$wxUSE_REGEX" = "builtin" ; then
49521 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49523 if test "$wxUSE_EXPAT" = "builtin" ; then
49524 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49526 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49527 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49529 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49530 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49532 if test "$wxUSE_LIBPNG" = "builtin" ; then
49533 wxconfig_3rdparty="png $wxconfig_3rdparty"
49535 if test "$wxUSE_ZLIB" = "builtin" ; then
49536 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49539 for i in $wxconfig_3rdparty ; do
49540 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49544 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49547 case "$wxUNIV_THEMES" in
49549 cat >>confdefs.h <<\_ACEOF
49550 #define wxUSE_ALL_THEMES 1
49556 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49557 cat >>confdefs.h <<_ACEOF
49558 #define wxUSE_THEME_$t 1
49574 if test $wxUSE_MONOLITHIC = "yes" ; then
49580 if test $wxUSE_PLUGINS = "yes" ; then
49586 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49592 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49624 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49637 TOOLKIT_DESC="GTK+"
49638 if test "$WXGTK2" = 1; then
49639 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49640 if test "$wxUSE_GTKPRINT" = "yes" ; then
49641 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49643 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49644 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49646 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49647 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49649 if test "$wxUSE_LIBHILDON" = "yes"; then
49650 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49652 if test "$wxUSE_LIBHILDON2" = "yes"; then
49653 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49656 if test "$TOOLKIT_EXTRA" != ""; then
49657 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49663 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49667 TOOLKIT_DESC="base only"
49671 if test "$wxUSE_WINE" = "yes"; then
49672 BAKEFILE_FORCE_PLATFORM=win32
49675 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49677 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49678 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49679 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49680 echo $ECHO_N "(cached) $ECHO_C" >&6
49683 echo '#include <stdio.h>
49684 const wchar_t test_var[] = L"awidetest";' > conftest.h
49686 echo '#include "conftest.h"
49689 printf("%ls", test_var);
49693 wx_cv_gcc_pch_bug="pch not supported"
49695 if $CXX conftest.h >/dev/null 2>&1
49699 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49701 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49702 grep awidetest >/dev/null
49704 wx_cv_gcc_pch_bug=no
49706 wx_cv_gcc_pch_bug=yes
49711 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49714 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49715 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49717 if test "$wx_cv_gcc_pch_bug" = yes; then
49728 if test "x$BAKEFILE_HOST" = "x"; then
49729 if test "x${host}" = "x" ; then
49730 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49731 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49732 { (exit 1); exit 1; }; }
49735 BAKEFILE_HOST="${host}"
49738 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49740 if test -n "$ac_tool_prefix"; then
49741 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49742 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49745 if test "${ac_cv_prog_RANLIB+set}" = set; then
49746 echo $ECHO_N "(cached) $ECHO_C" >&6
49748 if test -n "$RANLIB"; then
49749 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49752 for as_dir in $PATH
49755 test -z "$as_dir" && as_dir=.
49756 for ac_exec_ext in '' $ac_executable_extensions; do
49757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49758 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49768 RANLIB=$ac_cv_prog_RANLIB
49769 if test -n "$RANLIB"; then
49770 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49771 echo "${ECHO_T}$RANLIB" >&6; }
49773 { echo "$as_me:$LINENO: result: no" >&5
49774 echo "${ECHO_T}no" >&6; }
49779 if test -z "$ac_cv_prog_RANLIB"; then
49780 ac_ct_RANLIB=$RANLIB
49781 # Extract the first word of "ranlib", so it can be a program name with args.
49782 set dummy ranlib; ac_word=$2
49783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49785 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49786 echo $ECHO_N "(cached) $ECHO_C" >&6
49788 if test -n "$ac_ct_RANLIB"; then
49789 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49792 for as_dir in $PATH
49795 test -z "$as_dir" && as_dir=.
49796 for ac_exec_ext in '' $ac_executable_extensions; do
49797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49798 ac_cv_prog_ac_ct_RANLIB="ranlib"
49799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49808 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49809 if test -n "$ac_ct_RANLIB"; then
49810 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49811 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49813 { echo "$as_me:$LINENO: result: no" >&5
49814 echo "${ECHO_T}no" >&6; }
49817 if test "x$ac_ct_RANLIB" = x; then
49820 case $cross_compiling:$ac_tool_warned in
49822 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49823 whose name does not start with the host triplet. If you think this
49824 configuration is useful to you, please write to autoconf@gnu.org." >&5
49825 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49826 whose name does not start with the host triplet. If you think this
49827 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49828 ac_tool_warned=yes ;;
49830 RANLIB=$ac_ct_RANLIB
49833 RANLIB="$ac_cv_prog_RANLIB"
49836 # Find a good install program. We prefer a C program (faster),
49837 # so one script is as good as another. But avoid the broken or
49838 # incompatible versions:
49839 # SysV /etc/install, /usr/sbin/install
49840 # SunOS /usr/etc/install
49841 # IRIX /sbin/install
49843 # AmigaOS /C/install, which installs bootblocks on floppy discs
49844 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49845 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49846 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49847 # OS/2's system install, which has a completely different semantic
49848 # ./install, which can be erroneously created by make from ./install.sh.
49849 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49850 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49851 if test -z "$INSTALL"; then
49852 if test "${ac_cv_path_install+set}" = set; then
49853 echo $ECHO_N "(cached) $ECHO_C" >&6
49855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49856 for as_dir in $PATH
49859 test -z "$as_dir" && as_dir=.
49860 # Account for people who put trailing slashes in PATH elements.
49862 ./ | .// | /cC/* | \
49863 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49864 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49867 # OSF1 and SCO ODT 3.0 have their own names for install.
49868 # Don't use installbsd from OSF since it installs stuff as root
49870 for ac_prog in ginstall scoinst install; do
49871 for ac_exec_ext in '' $ac_executable_extensions; do
49872 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49873 if test $ac_prog = install &&
49874 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49875 # AIX install. It has an incompatible calling convention.
49877 elif test $ac_prog = install &&
49878 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49879 # program-specific install script used by HP pwplus--don't use.
49882 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49895 if test "${ac_cv_path_install+set}" = set; then
49896 INSTALL=$ac_cv_path_install
49898 # As a last resort, use the slow shell script. Don't cache a
49899 # value for INSTALL within a source directory, because that will
49900 # break other packages using the cache if that directory is
49901 # removed, or if the value is a relative name.
49902 INSTALL=$ac_install_sh
49905 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49906 echo "${ECHO_T}$INSTALL" >&6; }
49908 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49909 # It thinks the first close brace ends the variable substitution.
49910 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49912 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49914 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49916 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49917 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49919 if test "$LN_S" = "ln -s"; then
49920 { echo "$as_me:$LINENO: result: yes" >&5
49921 echo "${ECHO_T}yes" >&6; }
49923 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49924 echo "${ECHO_T}no, using $LN_S" >&6; }
49928 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49929 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49930 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49931 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49932 echo $ECHO_N "(cached) $ECHO_C" >&6
49934 cat >conftest.make <<\_ACEOF
49937 @echo '@@@%%%=$(MAKE)=@@@%%%'
49939 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49940 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49941 *@@@%%%=?*=@@@%%%*)
49942 eval ac_cv_prog_make_${ac_make}_set=yes;;
49944 eval ac_cv_prog_make_${ac_make}_set=no;;
49946 rm -f conftest.make
49948 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49949 { echo "$as_me:$LINENO: result: yes" >&5
49950 echo "${ECHO_T}yes" >&6; }
49953 { echo "$as_me:$LINENO: result: no" >&5
49954 echo "${ECHO_T}no" >&6; }
49955 SET_MAKE="MAKE=${MAKE-make}"
49960 if test "x$SUNCXX" = "xyes"; then
49962 AROPTIONS="-xar -o"
49964 elif test "x$SGICC" = "xyes"; then
49969 if test -n "$ac_tool_prefix"; then
49970 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49971 set dummy ${ac_tool_prefix}ar; ac_word=$2
49972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49974 if test "${ac_cv_prog_AR+set}" = set; then
49975 echo $ECHO_N "(cached) $ECHO_C" >&6
49977 if test -n "$AR"; then
49978 ac_cv_prog_AR="$AR" # Let the user override the test.
49980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49981 for as_dir in $PATH
49984 test -z "$as_dir" && as_dir=.
49985 for ac_exec_ext in '' $ac_executable_extensions; do
49986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49987 ac_cv_prog_AR="${ac_tool_prefix}ar"
49988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49998 if test -n "$AR"; then
49999 { echo "$as_me:$LINENO: result: $AR" >&5
50000 echo "${ECHO_T}$AR" >&6; }
50002 { echo "$as_me:$LINENO: result: no" >&5
50003 echo "${ECHO_T}no" >&6; }
50008 if test -z "$ac_cv_prog_AR"; then
50010 # Extract the first word of "ar", so it can be a program name with args.
50011 set dummy ar; ac_word=$2
50012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50014 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50015 echo $ECHO_N "(cached) $ECHO_C" >&6
50017 if test -n "$ac_ct_AR"; then
50018 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50021 for as_dir in $PATH
50024 test -z "$as_dir" && as_dir=.
50025 for ac_exec_ext in '' $ac_executable_extensions; do
50026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50027 ac_cv_prog_ac_ct_AR="ar"
50028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50037 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50038 if test -n "$ac_ct_AR"; then
50039 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50040 echo "${ECHO_T}$ac_ct_AR" >&6; }
50042 { echo "$as_me:$LINENO: result: no" >&5
50043 echo "${ECHO_T}no" >&6; }
50046 if test "x$ac_ct_AR" = x; then
50049 case $cross_compiling:$ac_tool_warned in
50051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50052 whose name does not start with the host triplet. If you think this
50053 configuration is useful to you, please write to autoconf@gnu.org." >&5
50054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50055 whose name does not start with the host triplet. If you think this
50056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50057 ac_tool_warned=yes ;;
50062 AR="$ac_cv_prog_AR"
50069 if test -n "$ac_tool_prefix"; then
50070 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50071 set dummy ${ac_tool_prefix}strip; ac_word=$2
50072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50074 if test "${ac_cv_prog_STRIP+set}" = set; then
50075 echo $ECHO_N "(cached) $ECHO_C" >&6
50077 if test -n "$STRIP"; then
50078 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50081 for as_dir in $PATH
50084 test -z "$as_dir" && as_dir=.
50085 for ac_exec_ext in '' $ac_executable_extensions; do
50086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50087 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50097 STRIP=$ac_cv_prog_STRIP
50098 if test -n "$STRIP"; then
50099 { echo "$as_me:$LINENO: result: $STRIP" >&5
50100 echo "${ECHO_T}$STRIP" >&6; }
50102 { echo "$as_me:$LINENO: result: no" >&5
50103 echo "${ECHO_T}no" >&6; }
50108 if test -z "$ac_cv_prog_STRIP"; then
50110 # Extract the first word of "strip", so it can be a program name with args.
50111 set dummy strip; ac_word=$2
50112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50114 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50115 echo $ECHO_N "(cached) $ECHO_C" >&6
50117 if test -n "$ac_ct_STRIP"; then
50118 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50121 for as_dir in $PATH
50124 test -z "$as_dir" && as_dir=.
50125 for ac_exec_ext in '' $ac_executable_extensions; do
50126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50127 ac_cv_prog_ac_ct_STRIP="strip"
50128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50137 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50138 if test -n "$ac_ct_STRIP"; then
50139 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50140 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50142 { echo "$as_me:$LINENO: result: no" >&5
50143 echo "${ECHO_T}no" >&6; }
50146 if test "x$ac_ct_STRIP" = x; then
50149 case $cross_compiling:$ac_tool_warned in
50151 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50152 whose name does not start with the host triplet. If you think this
50153 configuration is useful to you, please write to autoconf@gnu.org." >&5
50154 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50155 whose name does not start with the host triplet. If you think this
50156 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50157 ac_tool_warned=yes ;;
50162 STRIP="$ac_cv_prog_STRIP"
50165 if test -n "$ac_tool_prefix"; then
50166 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50167 set dummy ${ac_tool_prefix}nm; ac_word=$2
50168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50170 if test "${ac_cv_prog_NM+set}" = set; then
50171 echo $ECHO_N "(cached) $ECHO_C" >&6
50173 if test -n "$NM"; then
50174 ac_cv_prog_NM="$NM" # Let the user override the test.
50176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50177 for as_dir in $PATH
50180 test -z "$as_dir" && as_dir=.
50181 for ac_exec_ext in '' $ac_executable_extensions; do
50182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50183 ac_cv_prog_NM="${ac_tool_prefix}nm"
50184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50194 if test -n "$NM"; then
50195 { echo "$as_me:$LINENO: result: $NM" >&5
50196 echo "${ECHO_T}$NM" >&6; }
50198 { echo "$as_me:$LINENO: result: no" >&5
50199 echo "${ECHO_T}no" >&6; }
50204 if test -z "$ac_cv_prog_NM"; then
50206 # Extract the first word of "nm", so it can be a program name with args.
50207 set dummy nm; ac_word=$2
50208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50210 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50211 echo $ECHO_N "(cached) $ECHO_C" >&6
50213 if test -n "$ac_ct_NM"; then
50214 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50217 for as_dir in $PATH
50220 test -z "$as_dir" && as_dir=.
50221 for ac_exec_ext in '' $ac_executable_extensions; do
50222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50223 ac_cv_prog_ac_ct_NM="nm"
50224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50233 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50234 if test -n "$ac_ct_NM"; then
50235 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50236 echo "${ECHO_T}$ac_ct_NM" >&6; }
50238 { echo "$as_me:$LINENO: result: no" >&5
50239 echo "${ECHO_T}no" >&6; }
50242 if test "x$ac_ct_NM" = x; then
50245 case $cross_compiling:$ac_tool_warned in
50247 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50248 whose name does not start with the host triplet. If you think this
50249 configuration is useful to you, please write to autoconf@gnu.org." >&5
50250 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50251 whose name does not start with the host triplet. If you think this
50252 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50253 ac_tool_warned=yes ;;
50258 NM="$ac_cv_prog_NM"
50262 { echo "$as_me:$LINENO: checking for command to install directories" >&5
50263 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
50264 INSTALL_TEST_DIR=acbftest$$
50265 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
50266 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
50267 rmdir $INSTALL_TEST_DIR
50268 INSTALL_DIR='$(INSTALL) -d'
50269 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
50270 echo "${ECHO_T}$INSTALL -d" >&6; }
50272 INSTALL_DIR="mkdir -p"
50273 { echo "$as_me:$LINENO: result: mkdir -p" >&5
50274 echo "${ECHO_T}mkdir -p" >&6; }
50279 case ${BAKEFILE_HOST} in
50280 *-*-cygwin* | *-*-mingw32* )
50281 LDFLAGS_GUI="-mwindows"
50287 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50288 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50289 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50290 echo $ECHO_N "(cached) $ECHO_C" >&6
50293 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50294 egrep -s GNU > /dev/null); then
50295 bakefile_cv_prog_makeisgnu="yes"
50297 bakefile_cv_prog_makeisgnu="no"
50301 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50302 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50304 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50321 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50322 case "${BAKEFILE_HOST}" in
50329 *-pc-os2_emx | *-pc-os2-emx )
50339 powerpc-apple-macos* )
50348 case "$BAKEFILE_FORCE_PLATFORM" in
50369 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50370 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50371 { (exit 1); exit 1; }; }
50386 # Check whether --enable-omf was given.
50387 if test "${enable_omf+set}" = set; then
50388 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50392 case "${BAKEFILE_HOST}" in
50394 if test "x$GCC" = "xyes"; then
50395 CFLAGS="$CFLAGS -fno-common"
50396 CXXFLAGS="$CXXFLAGS -fno-common"
50398 if test "x$XLCC" = "xyes"; then
50399 CFLAGS="$CFLAGS -qnocommon"
50400 CXXFLAGS="$CXXFLAGS -qnocommon"
50404 *-pc-os2_emx | *-pc-os2-emx )
50405 if test "x$bk_os2_use_omf" = "xyes" ; then
50408 LDFLAGS="-Zomf $LDFLAGS"
50409 CFLAGS="-Zomf $CFLAGS"
50410 CXXFLAGS="-Zomf $CXXFLAGS"
50418 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50424 SO_SUFFIX_MODULE="so"
50429 DLLPREFIX_MODULE=""
50433 case "${BAKEFILE_HOST}" in
50438 SO_SUFFIX_MODULE="sl"
50442 SO_SUFFIX_MODULE="a"
50446 SO_SUFFIX_MODULE="dll"
50447 DLLIMP_SUFFIX="dll.a"
50454 SO_SUFFIX_MODULE="dll"
50455 DLLIMP_SUFFIX="dll.a"
50465 *-pc-os2_emx | *-pc-os2-emx )
50467 SO_SUFFIX_MODULE="dll"
50468 DLLIMP_SUFFIX=$OS2_LIBEXT
50472 LIBEXT=".$OS2_LIBEXT"
50477 SO_SUFFIX_MODULE="bundle"
50481 if test "x$DLLIMP_SUFFIX" = "x" ; then
50482 DLLIMP_SUFFIX="$SO_SUFFIX"
50497 if test "x$GCC" = "xyes"; then
50501 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50502 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50505 case "${BAKEFILE_HOST}" in
50507 if test "x$GCC" != "xyes"; then
50508 LDFLAGS="$LDFLAGS -L/usr/lib"
50510 SHARED_LD_CC="${CC} -b -o"
50511 SHARED_LD_CXX="${CXX} -b -o"
50517 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50519 elif test "x$SUNCXX" = "xyes"; then
50520 SHARED_LD_CC="${CC} -G -o"
50521 SHARED_LD_CXX="${CXX} -G -o"
50527 if test "x$SUNCXX" = xyes ; then
50528 SHARED_LD_CC="${CC} -G -o"
50529 SHARED_LD_CXX="${CXX} -G -o"
50537 cat <<EOF >shared-ld-sh
50539 #-----------------------------------------------------------------------------
50540 #-- Name: distrib/mac/shared-ld-sh
50541 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50542 #-- Author: Gilles Depeyrot
50543 #-- Copyright: (c) 2002 Gilles Depeyrot
50544 #-- Licence: any use permitted
50545 #-----------------------------------------------------------------------------
50550 linking_flag="-dynamiclib"
50551 ldargs="-r -keep_private_externs -nostdlib"
50553 if test "x${D}CXX" = "x"; then
50557 while test ${D}# -gt 0; do
50564 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50565 # collect these options and values
50566 args="${D}{args} ${D}1 ${D}2"
50571 # collect these options and values
50572 ldargs="${D}{ldargs} ${D}1 ${D}2"
50577 # collect these load args
50578 ldargs="${D}{ldargs} ${D}1"
50581 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50582 # collect these options
50583 args="${D}{args} ${D}1"
50586 -dynamiclib|-bundle)
50587 linking_flag="${D}1"
50591 echo "shared-ld: unhandled option '${D}1'"
50595 *.o | *.a | *.dylib)
50596 # collect object files
50597 objects="${D}{objects} ${D}1"
50601 echo "shared-ld: unhandled argument '${D}1'"
50612 # Link one module containing all the others
50614 if test ${D}{verbose} = 1; then
50615 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50617 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50621 # Link the shared library from the single module created, but only if the
50622 # previous command didn't fail:
50624 if test ${D}{status} = 0; then
50625 if test ${D}{verbose} = 1; then
50626 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50628 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50633 # Remove intermediate module
50635 rm -f master.${D}${D}.o
50640 chmod +x shared-ld-sh
50642 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50643 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50646 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50647 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50648 if test "${bakefile_cv_gcc31+set}" = set; then
50649 echo $ECHO_N "(cached) $ECHO_C" >&6
50652 cat >conftest.$ac_ext <<_ACEOF
50655 cat confdefs.h >>conftest.$ac_ext
50656 cat >>conftest.$ac_ext <<_ACEOF
50657 /* end confdefs.h. */
50663 #if (__GNUC__ < 3) || \
50664 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50672 rm -f conftest.$ac_objext
50673 if { (ac_try="$ac_compile"
50674 case "(($ac_try" in
50675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50676 *) ac_try_echo=$ac_try;;
50678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50679 (eval "$ac_compile") 2>conftest.er1
50681 grep -v '^ *+' conftest.er1 >conftest.err
50683 cat conftest.err >&5
50684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50685 (exit $ac_status); } && {
50686 test -z "$ac_c_werror_flag" ||
50687 test ! -s conftest.err
50688 } && test -s conftest.$ac_objext; then
50690 bakefile_cv_gcc31=yes
50693 echo "$as_me: failed program was:" >&5
50694 sed 's/^/| /' conftest.$ac_ext >&5
50697 bakefile_cv_gcc31=no
50702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50705 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50706 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50707 if test "$bakefile_cv_gcc31" = "no"; then
50708 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50709 SHARED_LD_CXX="$SHARED_LD_CC"
50711 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50712 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50715 if test "x$GCC" == "xyes"; then
50716 PIC_FLAG="-dynamic -fPIC"
50718 if test "x$XLCC" = "xyes"; then
50719 PIC_FLAG="-dynamic -DPIC"
50724 if test "x$GCC" = "xyes"; then
50727 case "${BAKEFILE_HOST}" in
50729 LD_EXPFULL="-Wl,-bexpfull"
50733 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50734 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50736 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50737 set dummy makeC++SharedLib; ac_word=$2
50738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50740 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50741 echo $ECHO_N "(cached) $ECHO_C" >&6
50743 if test -n "$AIX_CXX_LD"; then
50744 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50747 for as_dir in $PATH
50750 test -z "$as_dir" && as_dir=.
50751 for ac_exec_ext in '' $ac_executable_extensions; do
50752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50753 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50761 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50764 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50765 if test -n "$AIX_CXX_LD"; then
50766 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50767 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50769 { echo "$as_me:$LINENO: result: no" >&5
50770 echo "${ECHO_T}no" >&6; }
50774 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50775 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50780 SHARED_LD_CC="${LD} -nostart -o"
50781 SHARED_LD_CXX="${LD} -nostart -o"
50785 if test "x$GCC" != "xyes"; then
50790 *-*-cygwin* | *-*-mingw32* )
50792 SHARED_LD_CC="\$(CC) -shared -o"
50793 SHARED_LD_CXX="\$(CXX) -shared -o"
50797 *-pc-os2_emx | *-pc-os2-emx )
50798 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50799 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50803 cat <<EOF >dllar.sh
50806 # dllar - a tool to build both a .dll and an .a file
50807 # from a set of object (.o) files for EMX/OS2.
50809 # Written by Andrew Zabolotny, bit@freya.etu.ru
50810 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50812 # This script will accept a set of files on the command line.
50813 # All the public symbols from the .o files will be exported into
50814 # a .DEF file, then linker will be run (through gcc) against them to
50815 # build a shared library consisting of all given .o files. All libraries
50816 # (.a) will be first decompressed into component .o files then act as
50817 # described above. You can optionally give a description (-d "description")
50818 # which will be put into .DLL. To see the list of accepted options (as well
50819 # as command-line format) simply run this program without options. The .DLL
50820 # is built to be imported by name (there is no guarantee that new versions
50821 # of the library you build will have same ordinals for same symbols).
50823 # dllar is free software; you can redistribute it and/or modify
50824 # it under the terms of the GNU General Public License as published by
50825 # the Free Software Foundation; either version 2, or (at your option)
50826 # any later version.
50828 # dllar is distributed in the hope that it will be useful,
50829 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50830 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50831 # GNU General Public License for more details.
50833 # You should have received a copy of the GNU General Public License
50834 # along with dllar; see the file COPYING. If not, write to the Free
50835 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50838 # To successfuly run this program you will need:
50839 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50840 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50842 # (used to build the .dll)
50844 # (used to create .def file from .o files)
50846 # (used to create .a file from .def file)
50847 # - GNU text utilites (cat, sort, uniq)
50848 # used to process emxexp output
50849 # - GNU file utilities (mv, rm)
50851 # - lxlite (optional, see flag below)
50852 # (used for general .dll cleanup)
50859 # basnam, variant of basename, which does _not_ remove the path, _iff_
50860 # second argument (suffix to remove) is given
50864 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50867 echo ${D}1 | sed 's/'${D}2'${D}//'
50870 echo "error in basnam ${D}*"
50876 # Cleanup temporary files and output
50879 for i in ${D}inputFiles ; do
50882 rm -rf \`basnam ${D}i !\`
50889 # Kill result in case of failure as there is just to many stupid make/nmake
50890 # things out there which doesn't do this.
50891 if [ ${D}# -eq 0 ]; then
50892 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50896 # Print usage and exit script with rc=1.
50898 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50899 echo ' [-name-mangler-script script.sh]'
50900 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50901 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50902 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50903 echo ' [*.o] [*.a]'
50904 echo '*> "output_file" should have no extension.'
50905 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50906 echo ' The import library name is derived from this and is set to "name".a,'
50907 echo ' unless overridden by -import'
50908 echo '*> "importlib_name" should have no extension.'
50909 echo ' If it has the .o, or .a extension, it is automatically removed.'
50910 echo ' This name is used as the import library name and may be longer and'
50911 echo ' more descriptive than the DLL name which has to follow the old '
50912 echo ' 8.3 convention of FAT.'
50913 echo '*> "script.sh may be given to override the output_file name by a'
50914 echo ' different name. It is mainly useful if the regular make process'
50915 echo ' of some package does not take into account OS/2 restriction of'
50916 echo ' DLL name lengths. It takes the importlib name as input and is'
50917 echo ' supposed to procude a shorter name as output. The script should'
50918 echo ' expect to get importlib_name without extension and should produce'
50919 echo ' a (max.) 8 letter name without extension.'
50920 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50921 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50922 echo ' These flags will be put at the start of GCC command line.'
50923 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50924 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50925 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50926 echo ' If the last character of a symbol is "*", all symbols beginning'
50927 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50928 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50929 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50930 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50931 echo ' C runtime DLLs.'
50932 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50933 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50934 echo ' unchanged to GCC at the end of command line.'
50935 echo '*> If you create a DLL from a library and you do not specify -o,'
50936 echo ' the basename for DLL and import library will be set to library name,'
50937 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50938 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50939 echo ' library will be renamed into gcc_s.a.'
50942 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50943 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50948 # Execute a command.
50949 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50950 # @Uses Whatever CleanUp() uses.
50956 if [ ${D}rcCmd -ne 0 ]; then
50957 echo "command failed, exit code="${D}rcCmd
50972 CFLAGS="-s -Zcrtdll"
50974 EXPORT_BY_ORDINALS=0
50979 case ${D}curDirS in
50983 curDirS=${D}{curDirS}"/"
50986 # Parse commandline
50989 while [ ${D}1 ]; do
50992 EXPORT_BY_ORDINALS=1;
51002 -name-mangler-script)
51023 exclude_symbols=${D}{exclude_symbols}${D}1" "
51027 library_flags=${D}{library_flags}${D}1" "
51046 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51049 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51050 if [ ${D}omfLinking -eq 1 ]; then
51051 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51053 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51058 if [ ${D}libsToLink -ne 0 ]; then
51059 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51061 for file in ${D}1 ; do
51062 if [ -f ${D}file ]; then
51063 inputFiles="${D}{inputFiles} ${D}file"
51067 if [ ${D}found -eq 0 ]; then
51068 echo "ERROR: No file(s) found: "${D}1
51075 done # iterate cmdline words
51078 if [ -z "${D}inputFiles" ]; then
51079 echo "dllar: no input files"
51083 # Now extract all .o files from .a files
51085 for file in ${D}inputFiles ; do
51096 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51101 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51103 if [ ${D}? -ne 0 ]; then
51104 echo "Failed to create subdirectory ./${D}dirname"
51108 # Append '!' to indicate archive
51109 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51110 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51113 for subfile in ${D}dirname/*.o* ; do
51114 if [ -f ${D}subfile ]; then
51116 if [ -s ${D}subfile ]; then
51117 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51118 newInputFiles="${D}newInputFiles ${D}subfile"
51122 if [ ${D}found -eq 0 ]; then
51123 echo "WARNING: there are no files in archive \\'${D}file\\'"
51127 newInputFiles="${D}{newInputFiles} ${D}file"
51131 inputFiles="${D}newInputFiles"
51133 # Output filename(s).
51135 if [ -z ${D}outFile ]; then
51137 set outFile ${D}inputFiles; outFile=${D}2
51140 # If it is an archive, remove the '!' and the '_%' suffixes
51141 case ${D}outFile in
51143 outFile=\`basnam ${D}outFile _%!\`
51148 case ${D}outFile in
51150 outFile=\`basnam ${D}outFile .dll\`
51153 outFile=\`basnam ${D}outFile .DLL\`
51156 outFile=\`basnam ${D}outFile .o\`
51159 outFile=\`basnam ${D}outFile .obj\`
51162 outFile=\`basnam ${D}outFile .a\`
51165 outFile=\`basnam ${D}outFile .lib\`
51170 case ${D}outimpFile in
51172 outimpFile=\`basnam ${D}outimpFile .a\`
51175 outimpFile=\`basnam ${D}outimpFile .lib\`
51180 if [ -z ${D}outimpFile ]; then
51181 outimpFile=${D}outFile
51183 defFile="${D}{outFile}.def"
51184 arcFile="${D}{outimpFile}.a"
51185 arcFile2="${D}{outimpFile}.lib"
51187 #create ${D}dllFile as something matching 8.3 restrictions,
51188 if [ -z ${D}renameScript ] ; then
51189 dllFile="${D}outFile"
51191 dllFile=\`${D}renameScript ${D}outimpFile\`
51194 if [ ${D}do_backup -ne 0 ] ; then
51195 if [ -f ${D}arcFile ] ; then
51196 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51198 if [ -f ${D}arcFile2 ] ; then
51199 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51203 # Extract public symbols from all the object files.
51204 tmpdefFile=${D}{defFile}_%
51205 rm -f ${D}tmpdefFile
51206 for file in ${D}inputFiles ; do
51211 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51216 # Create the def file.
51218 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51219 dllFile="${D}{dllFile}.dll"
51220 if [ ! -z ${D}description ]; then
51221 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51223 echo "EXPORTS" >> ${D}defFile
51225 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51226 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51228 # Checks if the export is ok or not.
51229 for word in ${D}exclude_symbols; do
51230 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51231 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51235 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51236 sed "=" < ${D}tmpdefFile | \\
51240 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51242 ' > ${D}{tmpdefFile}%
51243 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51245 rm -f ${D}{tmpdefFile}%
51247 cat ${D}tmpdefFile >> ${D}defFile
51248 rm -f ${D}tmpdefFile
51250 # Do linking, create implib, and apply lxlite.
51252 for file in ${D}inputFiles ; do
51257 gccCmdl="${D}gccCmdl ${D}file"
51261 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51262 touch "${D}{outFile}.dll"
51264 doCommand "emximp -o ${D}arcFile ${D}defFile"
51265 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51267 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51270 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51272 doCommand "emxomf -s -l ${D}arcFile"
51282 powerpc-apple-macos* | \
51283 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51293 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51294 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51295 { (exit 1); exit 1; }; }
51298 if test "x$PIC_FLAG" != "x" ; then
51299 PIC_FLAG="$PIC_FLAG -DPIC"
51302 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51303 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51305 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51306 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51321 USE_SOTWOSYMLINKS=0
51325 case "${BAKEFILE_HOST}" in
51326 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51327 *-*-k*bsd*-gnu | *-*-mirbsd* )
51328 if test "x$SUNCXX" = "xyes"; then
51331 SONAME_FLAG="-Wl,-soname,"
51335 USE_SOTWOSYMLINKS=1
51347 USE_SOTWOSYMLINKS=1
51365 # Check whether --enable-dependency-tracking was given.
51366 if test "${enable_dependency_tracking+set}" = set; then
51367 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51371 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51372 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51375 if test "x$bk_use_trackdeps" = "xno" ; then
51377 { echo "$as_me:$LINENO: result: disabled" >&5
51378 echo "${ECHO_T}disabled" >&6; }
51382 if test "x$GCC" = "xyes"; then
51384 case "${BAKEFILE_HOST}" in
51386 DEPSFLAG="-no-cpp-precomp -MMD"
51392 { echo "$as_me:$LINENO: result: gcc" >&5
51393 echo "${ECHO_T}gcc" >&6; }
51394 elif test "x$MWCC" = "xyes"; then
51397 { echo "$as_me:$LINENO: result: mwcc" >&5
51398 echo "${ECHO_T}mwcc" >&6; }
51399 elif test "x$SUNCC" = "xyes"; then
51402 { echo "$as_me:$LINENO: result: Sun cc" >&5
51403 echo "${ECHO_T}Sun cc" >&6; }
51404 elif test "x$SGICC" = "xyes"; then
51407 { echo "$as_me:$LINENO: result: SGI cc" >&5
51408 echo "${ECHO_T}SGI cc" >&6; }
51409 elif test "x$HPCC" = "xyes"; then
51412 { echo "$as_me:$LINENO: result: HP cc" >&5
51413 echo "${ECHO_T}HP cc" >&6; }
51414 elif test "x$COMPAQCC" = "xyes"; then
51417 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51418 echo "${ECHO_T}Compaq cc" >&6; }
51421 { echo "$as_me:$LINENO: result: none" >&5
51422 echo "${ECHO_T}none" >&6; }
51425 if test $DEPS_TRACKING = 1 ; then
51431 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51432 # script. It is used to track C/C++ files dependencies in portable way.
51434 # Permission is given to use this file in any way.
51436 DEPSMODE=${DEPSMODE}
51437 DEPSFLAG="${DEPSFLAG}"
51440 if test ${D}DEPSMODE = gcc ; then
51441 ${D}* ${D}{DEPSFLAG}
51444 # determine location of created files:
51445 while test ${D}# -gt 0; do
51459 objfilebase=\`basename ${D}objfile\`
51460 builddir=\`dirname ${D}objfile\`
51461 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51462 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51463 depsdir=${D}builddir/${D}DEPSDIRBASE
51464 mkdir -p ${D}depsdir
51466 # if the compiler failed, we're done:
51467 if test ${D}{status} != 0 ; then
51472 # move created file to the location we want it in:
51473 if test -f ${D}depfile ; then
51474 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51477 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51478 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51479 if test ! -f ${D}depfile ; then
51480 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51481 depfile="${D}objfile.d"
51483 if test -f ${D}depfile ; then
51484 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51490 elif test ${D}DEPSMODE = mwcc ; then
51491 ${D}* || exit ${D}?
51492 # Run mwcc again with -MM and redirect into the dep file we want
51493 # NOTE: We can't use shift here because we need ${D}* to be valid
51495 for arg in ${D}* ; do
51496 if test "${D}prevarg" = "-o"; then
51510 objfilebase=\`basename ${D}objfile\`
51511 builddir=\`dirname ${D}objfile\`
51512 depsdir=${D}builddir/${D}DEPSDIRBASE
51513 mkdir -p ${D}depsdir
51515 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51518 elif test ${D}DEPSMODE = unixcc; then
51519 ${D}* || exit ${D}?
51520 # Run compiler again with deps flag and redirect into the dep file.
51521 # It doesn't work if the '-o FILE' option is used, but without it the
51522 # dependency file will contain the wrong name for the object. So it is
51523 # removed from the command line, and the dep file is fixed with sed.
51525 while test ${D}# -gt 0; do
51532 eval arg${D}#=\\${D}1
51533 cmd="${D}cmd \\${D}arg${D}#"
51539 objfilebase=\`basename ${D}objfile\`
51540 builddir=\`dirname ${D}objfile\`
51541 depsdir=${D}builddir/${D}DEPSDIRBASE
51542 mkdir -p ${D}depsdir
51544 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51554 BK_DEPS="`pwd`/bk-deps"
51562 case ${BAKEFILE_HOST} in
51563 *-*-cygwin* | *-*-mingw32* )
51564 if test -n "$ac_tool_prefix"; then
51565 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51566 set dummy ${ac_tool_prefix}windres; ac_word=$2
51567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51569 if test "${ac_cv_prog_WINDRES+set}" = set; then
51570 echo $ECHO_N "(cached) $ECHO_C" >&6
51572 if test -n "$WINDRES"; then
51573 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51576 for as_dir in $PATH
51579 test -z "$as_dir" && as_dir=.
51580 for ac_exec_ext in '' $ac_executable_extensions; do
51581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51582 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51592 WINDRES=$ac_cv_prog_WINDRES
51593 if test -n "$WINDRES"; then
51594 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51595 echo "${ECHO_T}$WINDRES" >&6; }
51597 { echo "$as_me:$LINENO: result: no" >&5
51598 echo "${ECHO_T}no" >&6; }
51603 if test -z "$ac_cv_prog_WINDRES"; then
51604 ac_ct_WINDRES=$WINDRES
51605 # Extract the first word of "windres", so it can be a program name with args.
51606 set dummy windres; ac_word=$2
51607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51609 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51610 echo $ECHO_N "(cached) $ECHO_C" >&6
51612 if test -n "$ac_ct_WINDRES"; then
51613 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51616 for as_dir in $PATH
51619 test -z "$as_dir" && as_dir=.
51620 for ac_exec_ext in '' $ac_executable_extensions; do
51621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51622 ac_cv_prog_ac_ct_WINDRES="windres"
51623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51632 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51633 if test -n "$ac_ct_WINDRES"; then
51634 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51635 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51637 { echo "$as_me:$LINENO: result: no" >&5
51638 echo "${ECHO_T}no" >&6; }
51641 if test "x$ac_ct_WINDRES" = x; then
51644 case $cross_compiling:$ac_tool_warned in
51646 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51647 whose name does not start with the host triplet. If you think this
51648 configuration is useful to you, please write to autoconf@gnu.org." >&5
51649 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51650 whose name does not start with the host triplet. If you think this
51651 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51652 ac_tool_warned=yes ;;
51654 WINDRES=$ac_ct_WINDRES
51657 WINDRES="$ac_cv_prog_WINDRES"
51662 *-*-darwin* | powerpc-apple-macos* )
51663 # Extract the first word of "Rez", so it can be a program name with args.
51664 set dummy Rez; ac_word=$2
51665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51667 if test "${ac_cv_prog_REZ+set}" = set; then
51668 echo $ECHO_N "(cached) $ECHO_C" >&6
51670 if test -n "$REZ"; then
51671 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51674 for as_dir in $PATH
51677 test -z "$as_dir" && as_dir=.
51678 for ac_exec_ext in '' $ac_executable_extensions; do
51679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51680 ac_cv_prog_REZ="Rez"
51681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51688 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51691 REZ=$ac_cv_prog_REZ
51692 if test -n "$REZ"; then
51693 { echo "$as_me:$LINENO: result: $REZ" >&5
51694 echo "${ECHO_T}$REZ" >&6; }
51696 { echo "$as_me:$LINENO: result: no" >&5
51697 echo "${ECHO_T}no" >&6; }
51701 # Extract the first word of "SetFile", so it can be a program name with args.
51702 set dummy SetFile; ac_word=$2
51703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51705 if test "${ac_cv_prog_SETFILE+set}" = set; then
51706 echo $ECHO_N "(cached) $ECHO_C" >&6
51708 if test -n "$SETFILE"; then
51709 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51712 for as_dir in $PATH
51715 test -z "$as_dir" && as_dir=.
51716 for ac_exec_ext in '' $ac_executable_extensions; do
51717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51718 ac_cv_prog_SETFILE="SetFile"
51719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51726 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51729 SETFILE=$ac_cv_prog_SETFILE
51730 if test -n "$SETFILE"; then
51731 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51732 echo "${ECHO_T}$SETFILE" >&6; }
51734 { echo "$as_me:$LINENO: result: no" >&5
51735 echo "${ECHO_T}no" >&6; }
51750 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51753 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51757 # Check whether --enable-precomp-headers was given.
51758 if test "${enable_precomp_headers+set}" = set; then
51759 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51768 case ${BAKEFILE_HOST} in
51774 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51775 if test "x$GCC" = "xyes"; then
51776 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51777 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51778 cat >conftest.$ac_ext <<_ACEOF
51781 cat confdefs.h >>conftest.$ac_ext
51782 cat >>conftest.$ac_ext <<_ACEOF
51783 /* end confdefs.h. */
51789 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51790 There is no PCH support
51793 There is no PCH support
51795 #if (__GNUC__ == 3) && \
51796 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51797 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51798 ( defined(__INTEL_COMPILER) )
51799 There is no PCH support
51806 rm -f conftest.$ac_objext
51807 if { (ac_try="$ac_compile"
51808 case "(($ac_try" in
51809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51810 *) ac_try_echo=$ac_try;;
51812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51813 (eval "$ac_compile") 2>conftest.er1
51815 grep -v '^ *+' conftest.er1 >conftest.err
51817 cat conftest.err >&5
51818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51819 (exit $ac_status); } && {
51820 test -z "$ac_c_werror_flag" ||
51821 test ! -s conftest.err
51822 } && test -s conftest.$ac_objext; then
51824 { echo "$as_me:$LINENO: result: yes" >&5
51825 echo "${ECHO_T}yes" >&6; }
51829 echo "$as_me: failed program was:" >&5
51830 sed 's/^/| /' conftest.$ac_ext >&5
51833 if test "$INTELCXX8" = "yes"; then
51834 { echo "$as_me:$LINENO: result: yes" >&5
51835 echo "${ECHO_T}yes" >&6; }
51837 if test "$INTELCXX10" = "yes"; then
51838 ICC_PCH_CREATE_SWITCH="-pch-create"
51839 ICC_PCH_USE_SWITCH="-pch-use"
51841 ICC_PCH_CREATE_SWITCH="-create-pch"
51842 ICC_PCH_USE_SWITCH="-use-pch"
51845 { echo "$as_me:$LINENO: result: no" >&5
51846 echo "${ECHO_T}no" >&6; }
51851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51852 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51856 cat <<EOF >bk-make-pch
51859 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51860 # script. It is used to generated precompiled headers.
51862 # Permission is given to use this file in any way.
51869 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51874 while test ${D}{#} -gt 0; do
51878 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51879 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51880 headerfile="${D}{incdir}/${D}{header}"
51883 -use-pch|-use_pch|-pch-use )
51888 if test ${D}add_to_cmdline = 1 ; then
51889 compiler="${D}{compiler} ${D}{1}"
51894 if test "x${D}{headerfile}" = "x" ; then
51895 echo "error: can't find header ${D}{header} in include paths" >&2
51897 if test -f ${D}{outfile} ; then
51898 rm -f ${D}{outfile}
51900 mkdir -p \`dirname ${D}{outfile}\`
51902 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51903 mkdir -p ${D}{builddir}/.deps
51904 if test "x${GCC_PCH}" = "x1" ; then
51905 # can do this because gcc is >= 3.4:
51906 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51907 elif test "x${ICC_PCH}" = "x1" ; then
51908 filename=pch_gen-${D}${D}
51909 file=${D}{filename}.c
51910 dfile=${D}{filename}.d
51911 cat > ${D}file <<EOT
51912 #include "${D}header"
51914 # using -MF icc complains about differing command lines in creation/use
51915 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51916 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51917 rm -f ${D}file ${D}dfile ${D}{filename}.o
51923 chmod +x bk-make-pch
51924 BK_MAKE_PCH="`pwd`/bk-make-pch"
51935 COND_BUILD_DEBUG="#"
51936 if test "x$BUILD" = "xdebug" ; then
51937 COND_BUILD_DEBUG=""
51940 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51941 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51942 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51945 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51946 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51947 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51950 COND_BUILD_DEBUG_UNICODE_0="#"
51951 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51952 COND_BUILD_DEBUG_UNICODE_0=""
51955 COND_BUILD_DEBUG_UNICODE_1="#"
51956 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51957 COND_BUILD_DEBUG_UNICODE_1=""
51960 COND_BUILD_RELEASE="#"
51961 if test "x$BUILD" = "xrelease" ; then
51962 COND_BUILD_RELEASE=""
51965 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51966 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51967 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51970 COND_BUILD_RELEASE_UNICODE_0="#"
51971 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51972 COND_BUILD_RELEASE_UNICODE_0=""
51975 COND_BUILD_RELEASE_UNICODE_1="#"
51976 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51977 COND_BUILD_RELEASE_UNICODE_1=""
51980 COND_BUILD_debug="#"
51981 if test "x$BUILD" = "xdebug" ; then
51982 COND_BUILD_debug=""
51985 COND_BUILD_debug_DEBUG_FLAG_default="#"
51986 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51987 COND_BUILD_debug_DEBUG_FLAG_default=""
51990 COND_BUILD_debug_DEBUG_INFO_default="#"
51991 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51992 COND_BUILD_debug_DEBUG_INFO_default=""
51995 COND_BUILD_debug_UNICODE_0="#"
51996 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51997 COND_BUILD_debug_UNICODE_0=""
52000 COND_BUILD_debug_UNICODE_1="#"
52001 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52002 COND_BUILD_debug_UNICODE_1=""
52005 COND_BUILD_release="#"
52006 if test "x$BUILD" = "xrelease" ; then
52007 COND_BUILD_release=""
52010 COND_BUILD_release_DEBUG_INFO_default="#"
52011 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52012 COND_BUILD_release_DEBUG_INFO_default=""
52015 COND_BUILD_release_UNICODE_0="#"
52016 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52017 COND_BUILD_release_UNICODE_0=""
52020 COND_BUILD_release_UNICODE_1="#"
52021 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52022 COND_BUILD_release_UNICODE_1=""
52025 COND_DEBUG_FLAG_0="#"
52026 if test "x$DEBUG_FLAG" = "x0" ; then
52027 COND_DEBUG_FLAG_0=""
52030 COND_DEBUG_FLAG_1="#"
52031 if test "x$DEBUG_FLAG" = "x1" ; then
52032 COND_DEBUG_FLAG_1=""
52035 COND_DEBUG_INFO_0="#"
52036 if test "x$DEBUG_INFO" = "x0" ; then
52037 COND_DEBUG_INFO_0=""
52040 COND_DEBUG_INFO_1="#"
52041 if test "x$DEBUG_INFO" = "x1" ; then
52042 COND_DEBUG_INFO_1=""
52045 COND_DEPS_TRACKING_0="#"
52046 if test "x$DEPS_TRACKING" = "x0" ; then
52047 COND_DEPS_TRACKING_0=""
52050 COND_DEPS_TRACKING_1="#"
52051 if test "x$DEPS_TRACKING" = "x1" ; then
52052 COND_DEPS_TRACKING_1=""
52056 if test "x$GCC_PCH" = "x1" ; then
52061 if test "x$ICC_PCH" = "x1" ; then
52065 COND_MONOLITHIC_0="#"
52066 if test "x$MONOLITHIC" = "x0" ; then
52067 COND_MONOLITHIC_0=""
52070 COND_MONOLITHIC_0_SHARED_0="#"
52071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52072 COND_MONOLITHIC_0_SHARED_0=""
52075 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52077 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52080 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52082 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52085 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52087 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52090 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52092 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52095 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52097 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52100 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEB_1="#"
52101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEB" = "x1" ; then
52102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEB_1=""
52105 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
52106 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52107 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
52110 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
52111 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52112 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
52115 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52117 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52120 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52121 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52122 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52125 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52126 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52127 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52130 COND_MONOLITHIC_0_SHARED_1="#"
52131 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52132 COND_MONOLITHIC_0_SHARED_1=""
52135 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52136 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52137 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52140 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52141 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52142 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52145 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52146 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52147 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52150 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52151 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52152 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52156 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52160 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEB_1="#"
52161 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEB" = "x1" ; then
52162 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEB_1=""
52165 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
52166 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
52167 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
52170 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
52171 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
52172 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
52175 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52176 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52177 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52180 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52181 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52182 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52185 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52186 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52187 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52190 COND_MONOLITHIC_0_USE_AUI_1="#"
52191 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52192 COND_MONOLITHIC_0_USE_AUI_1=""
52195 COND_MONOLITHIC_0_USE_GUI_1="#"
52196 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52197 COND_MONOLITHIC_0_USE_GUI_1=""
52200 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52201 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52202 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52205 COND_MONOLITHIC_0_USE_HTML_1="#"
52206 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52207 COND_MONOLITHIC_0_USE_HTML_1=""
52210 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52211 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52212 COND_MONOLITHIC_0_USE_MEDIA_1=""
52215 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
52216 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52217 COND_MONOLITHIC_0_USE_PROPGRID_1=""
52220 COND_MONOLITHIC_0_USE_QA_1="#"
52221 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52222 COND_MONOLITHIC_0_USE_QA_1=""
52225 COND_MONOLITHIC_0_USE_RIBBON_1="#"
52226 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52227 COND_MONOLITHIC_0_USE_RIBBON_1=""
52230 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52231 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52232 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52235 COND_MONOLITHIC_0_USE_STC_1="#"
52236 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52237 COND_MONOLITHIC_0_USE_STC_1=""
52240 COND_MONOLITHIC_0_USE_WEB_1="#"
52241 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEB" = "x1" ; then
52242 COND_MONOLITHIC_0_USE_WEB_1=""
52245 COND_MONOLITHIC_0_USE_XRC_1="#"
52246 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52247 COND_MONOLITHIC_0_USE_XRC_1=""
52250 COND_MONOLITHIC_1="#"
52251 if test "x$MONOLITHIC" = "x1" ; then
52252 COND_MONOLITHIC_1=""
52255 COND_MONOLITHIC_1_SHARED_0="#"
52256 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52257 COND_MONOLITHIC_1_SHARED_0=""
52260 COND_MONOLITHIC_1_SHARED_1="#"
52261 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52262 COND_MONOLITHIC_1_SHARED_1=""
52265 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52266 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52267 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52270 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52271 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52272 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52275 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52276 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52277 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52280 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52281 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52282 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52285 COND_PLATFORM_MACOSX_1="#"
52286 if test "x$PLATFORM_MACOSX" = "x1" ; then
52287 COND_PLATFORM_MACOSX_1=""
52290 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
52291 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52292 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
52295 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
52296 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52297 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
52300 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52301 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52302 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52305 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52306 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52307 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52310 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52311 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52312 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52315 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52316 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52317 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52320 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52321 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52322 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52325 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52326 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52327 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52330 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52331 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52332 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52335 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52336 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52337 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52340 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52341 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52342 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52345 COND_PLATFORM_MACOS_1="#"
52346 if test "x$PLATFORM_MACOS" = "x1" ; then
52347 COND_PLATFORM_MACOS_1=""
52350 COND_PLATFORM_MAC_0="#"
52351 if test "x$PLATFORM_MAC" = "x0" ; then
52352 COND_PLATFORM_MAC_0=""
52355 COND_PLATFORM_MAC_1="#"
52356 if test "x$PLATFORM_MAC" = "x1" ; then
52357 COND_PLATFORM_MAC_1=""
52360 COND_PLATFORM_MSDOS_0="#"
52361 if test "x$PLATFORM_MSDOS" = "x0" ; then
52362 COND_PLATFORM_MSDOS_0=""
52365 COND_PLATFORM_MSDOS_1="#"
52366 if test "x$PLATFORM_MSDOS" = "x1" ; then
52367 COND_PLATFORM_MSDOS_1=""
52370 COND_PLATFORM_OS2_1="#"
52371 if test "x$PLATFORM_OS2" = "x1" ; then
52372 COND_PLATFORM_OS2_1=""
52375 COND_PLATFORM_UNIX_0="#"
52376 if test "x$PLATFORM_UNIX" = "x0" ; then
52377 COND_PLATFORM_UNIX_0=""
52380 COND_PLATFORM_UNIX_1="#"
52381 if test "x$PLATFORM_UNIX" = "x1" ; then
52382 COND_PLATFORM_UNIX_1=""
52385 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52386 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52387 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52390 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52391 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52392 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52395 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52396 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52397 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52400 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52401 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52402 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52405 COND_PLATFORM_WIN32_0="#"
52406 if test "x$PLATFORM_WIN32" = "x0" ; then
52407 COND_PLATFORM_WIN32_0=""
52410 COND_PLATFORM_WIN32_1="#"
52411 if test "x$PLATFORM_WIN32" = "x1" ; then
52412 COND_PLATFORM_WIN32_1=""
52415 COND_PLATFORM_WIN32_1_SHARED_0="#"
52416 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52417 COND_PLATFORM_WIN32_1_SHARED_0=""
52421 if test "x$SHARED" = "x0" ; then
52425 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52426 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52427 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52430 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52431 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52432 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52435 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52436 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52437 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52440 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52441 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52442 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52445 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52446 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52447 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52450 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52451 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52452 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52455 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52456 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52457 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52460 COND_SHARED_0_USE_STC_1="#"
52461 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52462 COND_SHARED_0_USE_STC_1=""
52465 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52466 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52467 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52470 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52471 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52472 COND_SHARED_0_wxUSE_REGEX_builtin=""
52475 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52476 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52477 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52481 if test "x$SHARED" = "x1" ; then
52485 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52486 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52487 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52491 if test "x$TOOLKIT" = "x" ; then
52495 COND_TOOLKIT_COCOA="#"
52496 if test "x$TOOLKIT" = "xCOCOA" ; then
52497 COND_TOOLKIT_COCOA=""
52500 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52501 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52502 COND_TOOLKIT_COCOA_USE_GUI_1=""
52505 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52506 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52507 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52510 COND_TOOLKIT_DFB="#"
52511 if test "x$TOOLKIT" = "xDFB" ; then
52512 COND_TOOLKIT_DFB=""
52515 COND_TOOLKIT_DFB_USE_GUI_1="#"
52516 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52517 COND_TOOLKIT_DFB_USE_GUI_1=""
52520 COND_TOOLKIT_GTK="#"
52521 if test "x$TOOLKIT" = "xGTK" ; then
52522 COND_TOOLKIT_GTK=""
52525 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52526 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52527 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52530 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52531 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52532 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52535 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52536 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52537 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52540 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52541 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52542 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52545 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52546 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52547 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52550 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52551 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52552 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52555 COND_TOOLKIT_GTK_USE_GUI_1="#"
52556 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52557 COND_TOOLKIT_GTK_USE_GUI_1=""
52560 COND_TOOLKIT_MAC="#"
52561 if test "x$TOOLKIT" = "xMAC" ; then
52562 COND_TOOLKIT_MAC=""
52565 COND_TOOLKIT_MGL="#"
52566 if test "x$TOOLKIT" = "xMGL" ; then
52567 COND_TOOLKIT_MGL=""
52570 COND_TOOLKIT_MGL_USE_GUI_1="#"
52571 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52572 COND_TOOLKIT_MGL_USE_GUI_1=""
52575 COND_TOOLKIT_MOTIF="#"
52576 if test "x$TOOLKIT" = "xMOTIF" ; then
52577 COND_TOOLKIT_MOTIF=""
52580 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52581 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52582 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52585 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52586 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52587 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52590 COND_TOOLKIT_MSW="#"
52591 if test "x$TOOLKIT" = "xMSW" ; then
52592 COND_TOOLKIT_MSW=""
52595 COND_TOOLKIT_MSW_USE_GUI_1="#"
52596 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52597 COND_TOOLKIT_MSW_USE_GUI_1=""
52600 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52601 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52602 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52605 COND_TOOLKIT_MSW_WXUNIV_0="#"
52606 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52607 COND_TOOLKIT_MSW_WXUNIV_0=""
52610 COND_TOOLKIT_OSX_CARBON="#"
52611 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52612 COND_TOOLKIT_OSX_CARBON=""
52615 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52616 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52617 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52620 COND_TOOLKIT_OSX_COCOA="#"
52621 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52622 COND_TOOLKIT_OSX_COCOA=""
52625 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52626 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52627 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52630 COND_TOOLKIT_OSX_IPHONE="#"
52631 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52632 COND_TOOLKIT_OSX_IPHONE=""
52635 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52636 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52637 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52640 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52641 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52642 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52645 COND_TOOLKIT_PM="#"
52646 if test "x$TOOLKIT" = "xPM" ; then
52650 COND_TOOLKIT_PM_USE_GUI_1="#"
52651 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52652 COND_TOOLKIT_PM_USE_GUI_1=""
52655 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52656 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52657 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52660 COND_TOOLKIT_WINCE="#"
52661 if test "x$TOOLKIT" = "xWINCE" ; then
52662 COND_TOOLKIT_WINCE=""
52665 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52666 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52667 COND_TOOLKIT_WINCE_USE_GUI_1=""
52670 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52671 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52672 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52675 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52676 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52677 COND_TOOLKIT_WINCE_WXUNIV_0=""
52680 COND_TOOLKIT_X11="#"
52681 if test "x$TOOLKIT" = "xX11" ; then
52682 COND_TOOLKIT_X11=""
52685 COND_TOOLKIT_X11_USE_GUI_1="#"
52686 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52687 COND_TOOLKIT_X11_USE_GUI_1=""
52691 if test "x$UNICODE" = "x1" ; then
52695 COND_USE_CAIRO_1="#"
52696 if test "x$USE_CAIRO" = "x1" ; then
52697 COND_USE_CAIRO_1=""
52700 COND_USE_EXCEPTIONS_0="#"
52701 if test "x$USE_EXCEPTIONS" = "x0" ; then
52702 COND_USE_EXCEPTIONS_0=""
52705 COND_USE_EXCEPTIONS_1="#"
52706 if test "x$USE_EXCEPTIONS" = "x1" ; then
52707 COND_USE_EXCEPTIONS_1=""
52711 if test "x$USE_GUI" = "x0" ; then
52716 if test "x$USE_GUI" = "x1" ; then
52720 COND_USE_GUI_1_USE_OPENGL_1="#"
52721 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52722 COND_USE_GUI_1_USE_OPENGL_1=""
52725 COND_USE_GUI_1_WXUNIV_0="#"
52726 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52727 COND_USE_GUI_1_WXUNIV_0=""
52730 COND_USE_GUI_1_WXUNIV_1="#"
52731 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52732 COND_USE_GUI_1_WXUNIV_1=""
52735 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52736 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52737 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52740 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52741 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52742 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52745 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52746 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52747 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52750 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52751 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52752 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52755 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52756 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52757 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52760 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52761 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52762 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52765 COND_USE_OPENGL_1="#"
52766 if test "x$USE_OPENGL" = "x1" ; then
52767 COND_USE_OPENGL_1=""
52771 if test "x$USE_PCH" = "x1" ; then
52775 COND_USE_PLUGINS_0="#"
52776 if test "x$USE_PLUGINS" = "x0" ; then
52777 COND_USE_PLUGINS_0=""
52780 COND_USE_RTTI_0="#"
52781 if test "x$USE_RTTI" = "x0" ; then
52785 COND_USE_RTTI_1="#"
52786 if test "x$USE_RTTI" = "x1" ; then
52790 COND_USE_SOTWOSYMLINKS_1="#"
52791 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52792 COND_USE_SOTWOSYMLINKS_1=""
52795 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52796 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52797 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52800 COND_USE_SOVERLINUX_1="#"
52801 if test "x$USE_SOVERLINUX" = "x1" ; then
52802 COND_USE_SOVERLINUX_1=""
52805 COND_USE_SOVERSION_0="#"
52806 if test "x$USE_SOVERSION" = "x0" ; then
52807 COND_USE_SOVERSION_0=""
52810 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52811 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52812 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52815 COND_USE_SOVERSOLARIS_1="#"
52816 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52817 COND_USE_SOVERSOLARIS_1=""
52821 if test "x$USE_STC" = "x1" ; then
52825 COND_USE_THREADS_0="#"
52826 if test "x$USE_THREADS" = "x0" ; then
52827 COND_USE_THREADS_0=""
52830 COND_USE_THREADS_1="#"
52831 if test "x$USE_THREADS" = "x1" ; then
52832 COND_USE_THREADS_1=""
52836 if test "x$USE_XRC" = "x1" ; then
52840 COND_WINDOWS_IMPLIB_1="#"
52841 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52842 COND_WINDOWS_IMPLIB_1=""
52845 COND_WITH_PLUGIN_SDL_1="#"
52846 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52847 COND_WITH_PLUGIN_SDL_1=""
52851 if test "x$WXUNIV" = "x0" ; then
52856 if test "x$WXUNIV" = "x1" ; then
52860 COND_WXUSE_EXPAT_BUILTIN="#"
52861 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52862 COND_WXUSE_EXPAT_BUILTIN=""
52865 COND_WXUSE_LIBJPEG_BUILTIN="#"
52866 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52867 COND_WXUSE_LIBJPEG_BUILTIN=""
52870 COND_WXUSE_LIBPNG_BUILTIN="#"
52871 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52872 COND_WXUSE_LIBPNG_BUILTIN=""
52875 COND_WXUSE_LIBTIFF_BUILTIN="#"
52876 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52877 COND_WXUSE_LIBTIFF_BUILTIN=""
52880 COND_WXUSE_REGEX_BUILTIN="#"
52881 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52882 COND_WXUSE_REGEX_BUILTIN=""
52885 COND_WXUSE_ZLIB_BUILTIN="#"
52886 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52887 COND_WXUSE_ZLIB_BUILTIN=""
52890 COND_wxUSE_EXPAT_builtin="#"
52891 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52892 COND_wxUSE_EXPAT_builtin=""
52895 COND_wxUSE_LIBJPEG_builtin="#"
52896 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52897 COND_wxUSE_LIBJPEG_builtin=""
52900 COND_wxUSE_LIBPNG_builtin="#"
52901 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52902 COND_wxUSE_LIBPNG_builtin=""
52905 COND_wxUSE_LIBTIFF_builtin="#"
52906 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52907 COND_wxUSE_LIBTIFF_builtin=""
52910 COND_wxUSE_REGEX_builtin="#"
52911 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52912 COND_wxUSE_REGEX_builtin=""
52915 COND_wxUSE_ZLIB_builtin="#"
52916 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52917 COND_wxUSE_ZLIB_builtin=""
52922 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52923 { { 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
52924 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;}
52925 { (exit 1); exit 1; }; }
52928 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52929 { { 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
52930 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;}
52931 { (exit 1); exit 1; }; }
52938 ?:* ) # Drive letter, considered as absolute.
52941 INSTALL=`pwd`/${INSTALL} ;;
52944 if test "$wxUSE_GUI" = "yes"; then
52946 if test "$wxUSE_MSW" = 1 ; then
52947 if test "x$WINDRES" = "x"; then
52948 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52949 echo "$as_me: error: Required windres program not found" >&2;}
52950 { (exit 1); exit 1; }; }
52956 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52957 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52958 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52960 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52962 # Extract the first word of "DeRez", so it can be a program name with args.
52963 set dummy DeRez; ac_word=$2
52964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52966 if test "${ac_cv_prog_DEREZ+set}" = set; then
52967 echo $ECHO_N "(cached) $ECHO_C" >&6
52969 if test -n "$DEREZ"; then
52970 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52973 for as_dir in $PATH
52976 test -z "$as_dir" && as_dir=.
52977 for ac_exec_ext in '' $ac_executable_extensions; do
52978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52979 ac_cv_prog_DEREZ="DeRez"
52980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52987 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52990 DEREZ=$ac_cv_prog_DEREZ
52991 if test -n "$DEREZ"; then
52992 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52993 echo "${ECHO_T}$DEREZ" >&6; }
52995 { echo "$as_me:$LINENO: result: no" >&5
52996 echo "${ECHO_T}no" >&6; }
53001 MACSETFILE="\$(SETFILE)"
53003 if test "$wxUSE_OSX_CARBON" = 1; then
53004 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
53006 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
53008 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
53009 RESCOMP="cat /dev/null \| $REZ"
53010 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
53016 if test "$wxUSE_PM" = 1; then
53018 WXCONFIG_RESFLAGS="-ep"
53020 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
53022 POSTLINK_COMMAND="@true"
53029 if test $GCC_PCH = 1
53031 if test "$wx_cv_gcc_pch_bug" = yes; then
53032 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
53033 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
53034 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
53035 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
53036 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
53037 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
53040 # Our WX_PRECOMP flag does not make sense for any language except C++ because
53041 # the headers that benefit from precompilation are mostly C++ headers.
53042 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
53043 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
53044 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
53048 if test "$wxUSE_MAC" = 1 ; then
53049 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
53050 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
53056 if test "$wxUSE_SHARED" = "yes"; then
53058 *-pc-os2_emx | *-pc-os2-emx )
53059 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53060 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53061 cp -p ${srcdir}/src/os2/dllnames.sh .
53062 cp -p ${srcdir}/src/os2/dllar.sh .
53066 if test "$wxUSE_OMF" = "yes"; then
53068 *-pc-os2_emx | *-pc-os2-emx )
53069 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
53070 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53071 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53076 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53081 if test "$GCC" = yes; then
53082 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
53083 LIBS=`echo $LIBS | sed 's/-mt//'`
53084 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53089 if test "x$SUNCXX" = xyes; then
53090 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
53091 LIBS=`echo $LIBS | sed 's/-pthread//'`
53092 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53097 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
53098 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53099 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
53100 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
53102 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53163 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53164 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53165 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53166 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
53167 echo $ECHO_N "(cached) $ECHO_C" >&6
53169 cat >conftest.make <<\_ACEOF
53172 @echo '@@@%%%=$(MAKE)=@@@%%%'
53174 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53175 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53176 *@@@%%%=?*=@@@%%%*)
53177 eval ac_cv_prog_make_${ac_make}_set=yes;;
53179 eval ac_cv_prog_make_${ac_make}_set=no;;
53181 rm -f conftest.make
53183 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53184 { echo "$as_me:$LINENO: result: yes" >&5
53185 echo "${ECHO_T}yes" >&6; }
53188 { echo "$as_me:$LINENO: result: no" >&5
53189 echo "${ECHO_T}no" >&6; }
53190 SET_MAKE="MAKE=${MAKE-make}"
53195 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53198 if test "$USE_WIN32" = 1; then
53199 ac_config_commands="$ac_config_commands rcdefs.h"
53203 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53206 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53209 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
53212 if test "$wx_cv_version_script" = "yes"; then
53213 ac_config_files="$ac_config_files version-script"
53216 ac_config_files="$ac_config_files Makefile"
53219 ac_config_commands="$ac_config_commands wx-config"
53223 if test "$wxWITH_SUBDIRS" != "no"; then
53224 if test "$wxUSE_GUI" = "yes"; then
53225 SUBDIRS="samples demos utils"
53227 SUBDIRS="samples utils"
53232 # Check whether --with-cppunit-prefix was given.
53233 if test "${with_cppunit_prefix+set}" = set; then
53234 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53236 cppunit_config_prefix=""
53240 # Check whether --with-cppunit-exec-prefix was given.
53241 if test "${with_cppunit_exec_prefix+set}" = set; then
53242 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53244 cppunit_config_exec_prefix=""
53248 if test x$cppunit_config_exec_prefix != x ; then
53249 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53250 if test x${CPPUNIT_CONFIG+set} != xset ; then
53251 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53254 if test x$cppunit_config_prefix != x ; then
53255 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53256 if test x${CPPUNIT_CONFIG+set} != xset ; then
53257 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53261 # Extract the first word of "cppunit-config", so it can be a program name with args.
53262 set dummy cppunit-config; ac_word=$2
53263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53265 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53266 echo $ECHO_N "(cached) $ECHO_C" >&6
53268 case $CPPUNIT_CONFIG in
53270 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53274 for as_dir in $PATH
53277 test -z "$as_dir" && as_dir=.
53278 for ac_exec_ext in '' $ac_executable_extensions; do
53279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53280 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53288 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53292 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53293 if test -n "$CPPUNIT_CONFIG"; then
53294 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53295 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53297 { echo "$as_me:$LINENO: result: no" >&5
53298 echo "${ECHO_T}no" >&6; }
53302 cppunit_version_min=1.8.0
53304 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53305 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53307 if test "$CPPUNIT_CONFIG" = "no" ; then
53308 { echo "$as_me:$LINENO: result: no" >&5
53309 echo "${ECHO_T}no" >&6; }
53312 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53313 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53314 cppunit_version=`$CPPUNIT_CONFIG --version`
53316 cppunit_major_version=`echo $cppunit_version | \
53317 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53318 cppunit_minor_version=`echo $cppunit_version | \
53319 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53320 cppunit_micro_version=`echo $cppunit_version | \
53321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53323 cppunit_major_min=`echo $cppunit_version_min | \
53324 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53325 cppunit_minor_min=`echo $cppunit_version_min | \
53326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53327 cppunit_micro_min=`echo $cppunit_version_min | \
53328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53330 cppunit_version_proper=`expr \
53331 $cppunit_major_version \> $cppunit_major_min \| \
53332 $cppunit_major_version \= $cppunit_major_min \& \
53333 $cppunit_minor_version \> $cppunit_minor_min \| \
53334 $cppunit_major_version \= $cppunit_major_min \& \
53335 $cppunit_minor_version \= $cppunit_minor_min \& \
53336 $cppunit_micro_version \>= $cppunit_micro_min `
53338 if test "$cppunit_version_proper" = "1" ; then
53339 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53340 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53342 { echo "$as_me:$LINENO: result: no" >&5
53343 echo "${ECHO_T}no" >&6; }
53348 if test "x$no_cppunit" = x ; then
53349 SUBDIRS="$SUBDIRS tests"
53360 for subdir in $SUBDIRS; do
53361 if test -d ${srcdir}/${subdir} ; then
53362 if test "$wxUSE_GUI" = "yes"; then
53363 if test ${subdir} = "samples"; then
53364 makefiles="samples/Makefile.in $makefiles"
53365 for sample in $SAMPLES_SUBDIRS; do
53366 if test -d $srcdir/samples/$sample; then
53367 makefiles="samples/$sample/Makefile.in $makefiles"
53371 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53372 eval "disabled=\$$disabled_var"
53373 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53374 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53377 if test ${subdir} = "samples"; then
53378 makefiles="samples/Makefile.in $makefiles"
53379 for sample in `echo $SAMPLES_SUBDIRS`; do
53380 if test -d $srcdir/samples/$sample; then
53381 makefiles="samples/$sample/Makefile.in $makefiles"
53384 elif test ${subdir} = "utils"; then
53386 for util in ifacecheck ; do
53387 if test -d $srcdir/utils/$util ; then
53388 makefiles="utils/$util/src/Makefile.in \
53393 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53397 for mkin in $makefiles ; do
53398 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53399 ac_config_files="$ac_config_files $mk"
53405 cat >confcache <<\_ACEOF
53406 # This file is a shell script that caches the results of configure
53407 # tests run on this system so they can be shared between configure
53408 # scripts and configure runs, see configure's option --config-cache.
53409 # It is not useful on other systems. If it contains results you don't
53410 # want to keep, you may remove or edit it.
53412 # config.status only pays attention to the cache file if you give it
53413 # the --recheck option to rerun configure.
53415 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53416 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53417 # following values.
53421 # The following way of writing the cache mishandles newlines in values,
53422 # but we know of no workaround that is simple, portable, and efficient.
53423 # So, we kill variables containing newlines.
53424 # Ultrix sh set writes to stderr and can't be redirected directly,
53425 # and sets the high bit in the cache file unless we assign to the vars.
53427 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53428 eval ac_val=\$$ac_var
53432 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53433 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53436 _ | IFS | as_nl) ;; #(
53437 *) $as_unset $ac_var ;;
53443 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53444 *${as_nl}ac_space=\ *)
53445 # `set' does not quote correctly, so add quotes (double-quote
53446 # substitution turns \\\\ into \\, and sed turns \\ into \).
53449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53452 # `set' quotes correctly as required by POSIX, so do not add quotes.
53453 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53462 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53464 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53466 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53467 if test -w "$cache_file"; then
53468 test "x$cache_file" != "x/dev/null" &&
53469 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53470 echo "$as_me: updating cache $cache_file" >&6;}
53471 cat confcache >$cache_file
53473 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53474 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53479 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53480 # Let make expand exec_prefix.
53481 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53483 DEFS=-DHAVE_CONFIG_H
53487 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53488 # 1. Remove the extension, and $U if already installed.
53489 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53490 ac_i=`echo "$ac_i" | sed "$ac_script"`
53491 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53492 # will be set to the directory where LIBOBJS objects are built.
53493 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53494 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53496 LIBOBJS=$ac_libobjs
53498 LTLIBOBJS=$ac_ltlibobjs
53502 : ${CONFIG_STATUS=./config.status}
53503 ac_clean_files_save=$ac_clean_files
53504 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53505 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53506 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53507 cat >$CONFIG_STATUS <<_ACEOF
53509 # Generated by $as_me.
53510 # Run this file to recreate the current configuration.
53511 # Compiler output produced by configure, useful for debugging
53512 # configure, is in config.log if it exists.
53515 ac_cs_recheck=false
53517 SHELL=\${CONFIG_SHELL-$SHELL}
53520 cat >>$CONFIG_STATUS <<\_ACEOF
53521 ## --------------------- ##
53522 ## M4sh Initialization. ##
53523 ## --------------------- ##
53525 # Be more Bourne compatible
53526 DUALCASE=1; export DUALCASE # for MKS sh
53527 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53530 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53531 # is contrary to our usage. Disable this feature.
53532 alias -g '${1+"$@"}'='"$@"'
53533 setopt NO_GLOB_SUBST
53535 case `(set -o) 2>/dev/null` in
53536 *posix*) set -o posix ;;
53545 # Avoid depending upon Character Ranges.
53546 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53547 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53548 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53549 as_cr_digits='0123456789'
53550 as_cr_alnum=$as_cr_Letters$as_cr_digits
53552 # The user is always right.
53553 if test "${PATH_SEPARATOR+set}" != set; then
53554 echo "#! /bin/sh" >conf$$.sh
53555 echo "exit 0" >>conf$$.sh
53557 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53565 # Support unset when possible.
53566 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53574 # We need space, tab and new line, in precisely that order. Quoting is
53575 # there to prevent editors from complaining about space-tab.
53576 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53577 # splitting by setting IFS to empty value.)
53582 # Find who we are. Look in the path if we contain no directory separator.
53584 *[\\/]* ) as_myself=$0 ;;
53585 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53586 for as_dir in $PATH
53589 test -z "$as_dir" && as_dir=.
53590 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53596 # We did not find ourselves, most probably we were run as `sh COMMAND'
53597 # in which case we are not to be found in the path.
53598 if test "x$as_myself" = x; then
53601 if test ! -f "$as_myself"; then
53602 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53603 { (exit 1); exit 1; }
53606 # Work around bugs in pre-3.0 UWIN ksh.
53607 for as_var in ENV MAIL MAILPATH
53608 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53616 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53617 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53618 LC_TELEPHONE LC_TIME
53620 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53621 eval $as_var=C; export $as_var
53623 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53627 # Required to use basename.
53628 if expr a : '\(a\)' >/dev/null 2>&1 &&
53629 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53635 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53636 as_basename=basename
53642 # Name of the executable.
53643 as_me=`$as_basename -- "$0" ||
53644 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53645 X"$0" : 'X\(//\)$' \| \
53646 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53648 sed '/^.*\/\([^/][^/]*\)\/*$/{
53667 as_lineno_1=$LINENO
53668 as_lineno_2=$LINENO
53669 test "x$as_lineno_1" != "x$as_lineno_2" &&
53670 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53672 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53673 # uniformly replaced by the line number. The first 'sed' inserts a
53674 # line-number line after each line using $LINENO; the second 'sed'
53675 # does the real work. The second script uses 'N' to pair each
53676 # line-number line with the line containing $LINENO, and appends
53677 # trailing '-' during substitution so that $LINENO is not a special
53678 # case at line end.
53679 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53680 # scripts with optimization help from Paolo Bonzini. Blame Lee
53681 # E. McMahon (1931-1989) for sed's syntax. :-)
53693 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53696 ' >$as_me.lineno &&
53697 chmod +x "$as_me.lineno" ||
53698 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53699 { (exit 1); exit 1; }; }
53701 # Don't try to exec as it changes $[0], causing all sort of problems
53702 # (the dirname of $[0] is not the place where we might find the
53703 # original and so on. Autoconf is especially sensitive to this).
53704 . "./$as_me.lineno"
53705 # Exit status is that of the last command.
53710 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53716 ECHO_C= ECHO_N= ECHO_T=
53717 case `echo -n x` in
53719 case `echo 'x\c'` in
53720 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53727 if expr a : '\(a\)' >/dev/null 2>&1 &&
53728 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53734 rm -f conf$$ conf$$.exe conf$$.file
53735 if test -d conf$$.dir; then
53736 rm -f conf$$.dir/conf$$.file
53742 if ln -s conf$$.file conf$$ 2>/dev/null; then
53744 # ... but there are two gotchas:
53745 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53746 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53747 # In both cases, we have to default to `cp -p'.
53748 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53750 elif ln conf$$.file conf$$ 2>/dev/null; then
53755 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53756 rmdir conf$$.dir 2>/dev/null
53758 if mkdir -p . 2>/dev/null; then
53761 test -d ./-p && rmdir ./-p
53765 if test -x / >/dev/null 2>&1; then
53766 as_test_x='test -x'
53768 if ls -dL / >/dev/null 2>&1; then
53775 if test -d "$1"; then
53781 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53782 ???[sx]*):;;*)false;;esac;fi
53786 as_executable_p=$as_test_x
53788 # Sed expression to map a string onto a valid CPP name.
53789 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53791 # Sed expression to map a string onto a valid variable name.
53792 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53797 # Save the log message, to keep $[0] and so on meaningful, and to
53798 # report actual input values of CONFIG_FILES etc. instead of their
53799 # values after options handling.
53801 This file was extended by wxWidgets $as_me 2.9.3, which was
53802 generated by GNU Autoconf 2.61. Invocation command line was
53804 CONFIG_FILES = $CONFIG_FILES
53805 CONFIG_HEADERS = $CONFIG_HEADERS
53806 CONFIG_LINKS = $CONFIG_LINKS
53807 CONFIG_COMMANDS = $CONFIG_COMMANDS
53810 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53815 cat >>$CONFIG_STATUS <<_ACEOF
53816 # Files that config.status was made for.
53817 config_files="$ac_config_files"
53818 config_headers="$ac_config_headers"
53819 config_commands="$ac_config_commands"
53823 cat >>$CONFIG_STATUS <<\_ACEOF
53825 \`$as_me' instantiates files from templates according to the
53826 current configuration.
53828 Usage: $0 [OPTIONS] [FILE]...
53830 -h, --help print this help, then exit
53831 -V, --version print version number and configuration settings, then exit
53832 -q, --quiet do not print progress messages
53833 -d, --debug don't remove temporary files
53834 --recheck update $as_me by reconfiguring in the same conditions
53835 --file=FILE[:TEMPLATE]
53836 instantiate the configuration file FILE
53837 --header=FILE[:TEMPLATE]
53838 instantiate the configuration header FILE
53840 Configuration files:
53843 Configuration headers:
53846 Configuration commands:
53849 Report bugs to <bug-autoconf@gnu.org>."
53852 cat >>$CONFIG_STATUS <<_ACEOF
53854 wxWidgets config.status 2.9.3
53855 configured by $0, generated by GNU Autoconf 2.61,
53856 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53858 Copyright (C) 2006 Free Software Foundation, Inc.
53859 This config.status script is free software; the Free Software Foundation
53860 gives unlimited permission to copy, distribute and modify it."
53867 cat >>$CONFIG_STATUS <<\_ACEOF
53868 # If no file are specified by the user, then we need to provide default
53869 # value. By we need to know if files were specified by the user.
53875 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53876 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53887 # Handling of the options.
53888 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53890 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53891 echo "$ac_cs_version"; exit ;;
53892 --debug | --debu | --deb | --de | --d | -d )
53894 --file | --fil | --fi | --f )
53896 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53897 ac_need_defaults=false;;
53898 --header | --heade | --head | --hea )
53900 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53901 ac_need_defaults=false;;
53903 # Conflict between --help and --header
53904 { echo "$as_me: error: ambiguous option: $1
53905 Try \`$0 --help' for more information." >&2
53906 { (exit 1); exit 1; }; };;
53907 --help | --hel | -h )
53908 echo "$ac_cs_usage"; exit ;;
53909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53910 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53913 # This is an error.
53914 -*) { echo "$as_me: error: unrecognized option: $1
53915 Try \`$0 --help' for more information." >&2
53916 { (exit 1); exit 1; }; } ;;
53918 *) ac_config_targets="$ac_config_targets $1"
53919 ac_need_defaults=false ;;
53925 ac_configure_extra_args=
53927 if $ac_cs_silent; then
53929 ac_configure_extra_args="$ac_configure_extra_args --silent"
53933 cat >>$CONFIG_STATUS <<_ACEOF
53934 if \$ac_cs_recheck; then
53935 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53936 CONFIG_SHELL=$SHELL
53937 export CONFIG_SHELL
53938 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53942 cat >>$CONFIG_STATUS <<\_ACEOF
53946 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53947 ## Running $as_me. ##
53953 cat >>$CONFIG_STATUS <<_ACEOF
53959 infile="$srcdir/include/wx/msw/genrcdefs.h"
53960 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53963 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53964 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53965 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53971 cat >>$CONFIG_STATUS <<\_ACEOF
53973 # Handling of arguments.
53974 for ac_config_target in $ac_config_targets
53976 case $ac_config_target in
53977 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53978 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53979 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53980 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53981 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53982 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53983 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53984 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53985 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53987 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53988 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53989 { (exit 1); exit 1; }; };;
53994 # If the user did not use the arguments to specify the items to instantiate,
53995 # then the envvar interface is used. Set only those that are not.
53996 # We use the long form for the default assignment because of an extremely
53997 # bizarre bug on SunOS 4.1.3.
53998 if $ac_need_defaults; then
53999 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
54000 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
54001 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
54004 # Have a temporary directory for convenience. Make it in the build tree
54005 # simply because there is no reason against having it here, and in addition,
54006 # creating and moving files from /tmp can sometimes cause problems.
54007 # Hook for its removal unless debugging.
54008 # Note that there is a small window in which the directory will not be cleaned:
54009 # after its creation but before its name has been assigned to `$tmp'.
54013 trap 'exit_status=$?
54014 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54016 trap '{ (exit 1); exit 1; }' 1 2 13 15
54018 # Create a (secure) tmp directory for tmp files.
54021 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54022 test -n "$tmp" && test -d "$tmp"
54025 tmp=./conf$$-$RANDOM
54026 (umask 077 && mkdir "$tmp")
54029 echo "$me: cannot create a temporary directory in ." >&2
54030 { (exit 1); exit 1; }
54034 # Set up the sed scripts for CONFIG_FILES section.
54037 # No need to generate the scripts if there are no CONFIG_FILES.
54038 # This happens for instance when ./config.status config.h
54039 if test -n "$CONFIG_FILES"; then
54046 for ac_last_try in false false false false false :; do
54047 cat >conf$$subs.sed <<_ACEOF
54048 SHELL!$SHELL$ac_delim
54049 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54050 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
54051 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54052 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54053 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
54054 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54055 exec_prefix!$exec_prefix$ac_delim
54056 prefix!$prefix$ac_delim
54057 program_transform_name!$program_transform_name$ac_delim
54058 bindir!$bindir$ac_delim
54059 sbindir!$sbindir$ac_delim
54060 libexecdir!$libexecdir$ac_delim
54061 datarootdir!$datarootdir$ac_delim
54062 datadir!$datadir$ac_delim
54063 sysconfdir!$sysconfdir$ac_delim
54064 sharedstatedir!$sharedstatedir$ac_delim
54065 localstatedir!$localstatedir$ac_delim
54066 includedir!$includedir$ac_delim
54067 oldincludedir!$oldincludedir$ac_delim
54068 docdir!$docdir$ac_delim
54069 infodir!$infodir$ac_delim
54070 htmldir!$htmldir$ac_delim
54071 dvidir!$dvidir$ac_delim
54072 pdfdir!$pdfdir$ac_delim
54073 psdir!$psdir$ac_delim
54074 libdir!$libdir$ac_delim
54075 localedir!$localedir$ac_delim
54076 mandir!$mandir$ac_delim
54077 DEFS!$DEFS$ac_delim
54078 ECHO_C!$ECHO_C$ac_delim
54079 ECHO_N!$ECHO_N$ac_delim
54080 ECHO_T!$ECHO_T$ac_delim
54081 LIBS!$LIBS$ac_delim
54082 build_alias!$build_alias$ac_delim
54083 host_alias!$host_alias$ac_delim
54084 target_alias!$target_alias$ac_delim
54085 build!$build$ac_delim
54086 build_cpu!$build_cpu$ac_delim
54087 build_vendor!$build_vendor$ac_delim
54088 build_os!$build_os$ac_delim
54089 host!$host$ac_delim
54090 host_cpu!$host_cpu$ac_delim
54091 host_vendor!$host_vendor$ac_delim
54092 host_os!$host_os$ac_delim
54093 wx_top_builddir!$wx_top_builddir$ac_delim
54095 CFLAGS!$CFLAGS$ac_delim
54096 LDFLAGS!$LDFLAGS$ac_delim
54097 CPPFLAGS!$CPPFLAGS$ac_delim
54098 ac_ct_CC!$ac_ct_CC$ac_delim
54099 EXEEXT!$EXEEXT$ac_delim
54100 OBJEXT!$OBJEXT$ac_delim
54102 GREP!$GREP$ac_delim
54103 EGREP!$EGREP$ac_delim
54105 CXXFLAGS!$CXXFLAGS$ac_delim
54106 ac_ct_CXX!$ac_ct_CXX$ac_delim
54108 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
54109 CXXCPP!$CXXCPP$ac_delim
54110 subdirs!$subdirs$ac_delim
54111 PKG_CONFIG!$PKG_CONFIG$ac_delim
54112 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54113 GTK_LIBS!$GTK_LIBS$ac_delim
54114 GTK_CONFIG!$GTK_CONFIG$ac_delim
54115 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54116 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54117 XMKMF!$XMKMF$ac_delim
54118 X_CFLAGS!$X_CFLAGS$ac_delim
54119 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54120 X_LIBS!$X_LIBS$ac_delim
54121 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54122 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54123 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54124 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54125 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54126 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54127 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54128 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54129 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54130 LIBICONV!$LIBICONV$ac_delim
54131 GXX_VERSION!$GXX_VERSION$ac_delim
54132 SDL_CONFIG!$SDL_CONFIG$ac_delim
54133 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54134 SDL_LIBS!$SDL_LIBS$ac_delim
54135 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
54136 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
54137 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54138 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54139 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54140 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54141 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54142 HILDON_LIBS!$HILDON_LIBS$ac_delim
54143 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
54144 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
54147 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54149 elif $ac_last_try; then
54150 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54151 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54152 { (exit 1); exit 1; }; }
54154 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54158 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54159 if test -n "$ac_eof"; then
54160 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54161 ac_eof=`expr $ac_eof + 1`
54164 cat >>$CONFIG_STATUS <<_ACEOF
54165 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54166 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54169 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54170 s/^/s,@/; s/!/@,|#_!!_#|/
54173 s/'"$ac_delim"'$/,g/; t
54175 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54176 ' >>$CONFIG_STATUS <conf$$subs.sed
54177 rm -f conf$$subs.sed
54178 cat >>$CONFIG_STATUS <<_ACEOF
54184 for ac_last_try in false false false false false :; do
54185 cat >conf$$subs.sed <<_ACEOF
54186 PYTHON!$PYTHON$ac_delim
54187 COND_PYTHON!$COND_PYTHON$ac_delim
54188 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54189 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54190 GST_CFLAGS!$GST_CFLAGS$ac_delim
54191 GST_LIBS!$GST_LIBS$ac_delim
54192 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54193 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54194 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54195 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54196 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54197 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54198 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54199 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54200 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54201 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54202 VENDOR!$VENDOR$ac_delim
54203 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54204 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54205 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54206 WXUNIV!$WXUNIV$ac_delim
54207 MONOLITHIC!$MONOLITHIC$ac_delim
54208 USE_PLUGINS!$USE_PLUGINS$ac_delim
54209 CXXWARNINGS!$CXXWARNINGS$ac_delim
54210 EXTRALIBS!$EXTRALIBS$ac_delim
54211 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54212 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54213 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
54214 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54215 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54216 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54217 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
54218 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54219 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
54220 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54221 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54222 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54223 UNICODE!$UNICODE$ac_delim
54224 DEBUG_INFO!$DEBUG_INFO$ac_delim
54225 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54226 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54227 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54228 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
54229 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
54230 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54231 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
54232 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54233 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54234 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54235 RANLIB!$RANLIB$ac_delim
54236 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54237 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54238 INSTALL_DATA!$INSTALL_DATA$ac_delim
54239 LN_S!$LN_S$ac_delim
54240 SET_MAKE!$SET_MAKE$ac_delim
54241 MAKE_SET!$MAKE_SET$ac_delim
54242 AROPTIONS!$AROPTIONS$ac_delim
54243 STRIP!$STRIP$ac_delim
54245 INSTALL_DIR!$INSTALL_DIR$ac_delim
54246 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54247 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54248 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54249 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54250 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54251 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54252 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54253 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54254 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54255 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54256 SO_SUFFIX!$SO_SUFFIX$ac_delim
54257 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54258 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54259 LIBPREFIX!$LIBPREFIX$ac_delim
54260 LIBEXT!$LIBEXT$ac_delim
54261 DLLPREFIX!$DLLPREFIX$ac_delim
54262 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54263 dlldir!$dlldir$ac_delim
54264 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54265 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54266 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54267 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54268 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54269 PIC_FLAG!$PIC_FLAG$ac_delim
54270 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54271 USE_SOVERSION!$USE_SOVERSION$ac_delim
54272 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54273 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54274 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54275 USE_MACVERSION!$USE_MACVERSION$ac_delim
54276 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54277 SONAME_FLAG!$SONAME_FLAG$ac_delim
54278 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54279 BK_DEPS!$BK_DEPS$ac_delim
54280 WINDRES!$WINDRES$ac_delim
54282 SETFILE!$SETFILE$ac_delim
54285 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54287 elif $ac_last_try; then
54288 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54289 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54290 { (exit 1); exit 1; }; }
54292 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54296 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54297 if test -n "$ac_eof"; then
54298 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54299 ac_eof=`expr $ac_eof + 1`
54302 cat >>$CONFIG_STATUS <<_ACEOF
54303 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54304 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54307 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54308 s/^/s,@/; s/!/@,|#_!!_#|/
54311 s/'"$ac_delim"'$/,g/; t
54313 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54314 ' >>$CONFIG_STATUS <conf$$subs.sed
54315 rm -f conf$$subs.sed
54316 cat >>$CONFIG_STATUS <<_ACEOF
54322 for ac_last_try in false false false false false :; do
54323 cat >conf$$subs.sed <<_ACEOF
54324 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54325 GCC_PCH!$GCC_PCH$ac_delim
54326 ICC_PCH!$ICC_PCH$ac_delim
54327 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54328 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54329 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54330 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54331 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54332 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54333 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54334 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54335 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54336 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54337 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54338 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54339 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54340 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54341 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54342 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54343 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54344 COND_BUILD_release!$COND_BUILD_release$ac_delim
54345 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54346 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54347 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54348 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54349 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54350 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54351 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54352 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54353 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54354 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54355 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54356 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54357 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54358 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54359 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54360 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54361 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54362 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54363 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEB_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEB_1$ac_delim
54364 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54365 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54366 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54367 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54368 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54369 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54370 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54371 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54372 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54373 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54374 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54375 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEB_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEB_1$ac_delim
54376 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54377 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54378 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54379 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54380 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54381 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54382 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54383 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54384 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54385 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54386 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54387 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54388 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54389 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54390 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54391 COND_MONOLITHIC_0_USE_WEB_1!$COND_MONOLITHIC_0_USE_WEB_1$ac_delim
54392 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54393 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54394 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54395 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54396 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54397 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54398 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54399 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54400 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54401 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54402 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54403 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54404 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
54405 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54406 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
54407 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54408 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
54409 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54410 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54411 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54412 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54413 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54414 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54415 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54416 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54417 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54418 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54419 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54420 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54423 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54425 elif $ac_last_try; then
54426 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54427 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54428 { (exit 1); exit 1; }; }
54430 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54434 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54435 if test -n "$ac_eof"; then
54436 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54437 ac_eof=`expr $ac_eof + 1`
54440 cat >>$CONFIG_STATUS <<_ACEOF
54441 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54442 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54445 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54446 s/^/s,@/; s/!/@,|#_!!_#|/
54449 s/'"$ac_delim"'$/,g/; t
54451 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54452 ' >>$CONFIG_STATUS <conf$$subs.sed
54453 rm -f conf$$subs.sed
54454 cat >>$CONFIG_STATUS <<_ACEOF
54460 for ac_last_try in false false false false false :; do
54461 cat >conf$$subs.sed <<_ACEOF
54462 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54463 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54464 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54465 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54466 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54467 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54468 COND_SHARED_0!$COND_SHARED_0$ac_delim
54469 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54470 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54471 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54472 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54473 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54474 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54475 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54476 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54477 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54478 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54479 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54480 COND_SHARED_1!$COND_SHARED_1$ac_delim
54481 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54482 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54483 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54484 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54485 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54486 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54487 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54488 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54489 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54490 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54491 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54492 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54493 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54494 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54495 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54496 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54497 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54498 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54499 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54500 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54501 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54502 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54503 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54504 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54505 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54506 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54507 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54508 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54509 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54510 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54511 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54512 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54513 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54514 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54515 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54516 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54517 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54518 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54519 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54520 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54521 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54522 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54523 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54524 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54525 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54526 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54527 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54528 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54529 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54530 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54531 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54532 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54533 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54534 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54535 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54536 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54537 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54538 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54539 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54540 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54541 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54542 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54543 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54544 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54545 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54546 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54547 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54548 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54549 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54550 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54551 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54552 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54553 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54554 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54555 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54556 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54557 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54558 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54561 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54563 elif $ac_last_try; then
54564 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54565 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54566 { (exit 1); exit 1; }; }
54568 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54572 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54573 if test -n "$ac_eof"; then
54574 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54575 ac_eof=`expr $ac_eof + 1`
54578 cat >>$CONFIG_STATUS <<_ACEOF
54579 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54580 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54583 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54584 s/^/s,@/; s/!/@,|#_!!_#|/
54587 s/'"$ac_delim"'$/,g/; t
54589 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54590 ' >>$CONFIG_STATUS <conf$$subs.sed
54591 rm -f conf$$subs.sed
54592 cat >>$CONFIG_STATUS <<_ACEOF
54598 for ac_last_try in false false false false false :; do
54599 cat >conf$$subs.sed <<_ACEOF
54600 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54601 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54602 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54603 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54604 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54605 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54606 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54607 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54608 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54609 DEREZ!$DEREZ$ac_delim
54610 SHARED!$SHARED$ac_delim
54611 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54612 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54613 USE_GUI!$USE_GUI$ac_delim
54614 AFMINSTALL!$AFMINSTALL$ac_delim
54615 WIN32INSTALL!$WIN32INSTALL$ac_delim
54616 TOOLKIT!$TOOLKIT$ac_delim
54617 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54618 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54619 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54620 cross_compiling!$cross_compiling$ac_delim
54621 WIDGET_SET!$WIDGET_SET$ac_delim
54622 WX_RELEASE!$WX_RELEASE$ac_delim
54623 WX_VERSION!$WX_VERSION$ac_delim
54624 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54625 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54626 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54627 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54628 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54629 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54630 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54631 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54632 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54633 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54634 GUIDIST!$GUIDIST$ac_delim
54635 DISTDIR!$DISTDIR$ac_delim
54636 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54637 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54638 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54639 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54640 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54641 RESCOMP!$RESCOMP$ac_delim
54642 RESFLAGS!$RESFLAGS$ac_delim
54643 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54644 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54645 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54646 LIBWXMACRES!$LIBWXMACRES$ac_delim
54647 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54648 MACSETFILE!$MACSETFILE$ac_delim
54650 DLLTOOL!$DLLTOOL$ac_delim
54651 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54652 LIBOBJS!$LIBOBJS$ac_delim
54653 LTLIBOBJS!$LTLIBOBJS$ac_delim
54656 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
54658 elif $ac_last_try; then
54659 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54660 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54661 { (exit 1); exit 1; }; }
54663 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54667 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54668 if test -n "$ac_eof"; then
54669 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54670 ac_eof=`expr $ac_eof + 1`
54673 cat >>$CONFIG_STATUS <<_ACEOF
54674 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54675 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54678 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54679 s/^/s,@/; s/!/@,|#_!!_#|/
54682 s/'"$ac_delim"'$/,g/; t
54684 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54685 ' >>$CONFIG_STATUS <conf$$subs.sed
54686 rm -f conf$$subs.sed
54687 cat >>$CONFIG_STATUS <<_ACEOF
54694 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54695 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54696 # trailing colons and then remove the whole line if VPATH becomes empty
54697 # (actually we leave an empty line to preserve line numbers).
54698 if test "x$srcdir" = x.; then
54699 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54700 s/:*\$(srcdir):*/:/
54701 s/:*\${srcdir}:*/:/
54703 s/^\([^=]*=[ ]*\):*/\1/
54709 cat >>$CONFIG_STATUS <<\_ACEOF
54710 fi # test -n "$CONFIG_FILES"
54713 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54716 :[FHLC]) ac_mode=$ac_tag; continue;;
54718 case $ac_mode$ac_tag in
54720 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54721 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54722 { (exit 1); exit 1; }; };;
54723 :[FH]-) ac_tag=-:-;;
54724 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54741 -) ac_f="$tmp/stdin";;
54742 *) # Look for the file first in the build tree, then in the source tree
54743 # (if the path is not absolute). The absolute path cannot be DOS-style,
54744 # because $ac_f cannot contain `:'.
54748 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54750 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54751 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54752 { (exit 1); exit 1; }; };;
54754 ac_file_inputs="$ac_file_inputs $ac_f"
54757 # Let's still pretend it is `configure' which instantiates (i.e., don't
54758 # use $as_me), people would be surprised to read:
54759 # /* config.h. Generated by config.status. */
54760 configure_input="Generated from "`IFS=:
54761 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54762 if test x"$ac_file" != x-; then
54763 configure_input="$ac_file. $configure_input"
54764 { echo "$as_me:$LINENO: creating $ac_file" >&5
54765 echo "$as_me: creating $ac_file" >&6;}
54769 *:-:* | *:-) cat >"$tmp/stdin";;
54774 ac_dir=`$as_dirname -- "$ac_file" ||
54775 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54776 X"$ac_file" : 'X\(//\)[^/]' \| \
54777 X"$ac_file" : 'X\(//\)$' \| \
54778 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54784 /^X\(\/\/\)[^/].*/{
54799 -*) as_dir=./$as_dir;;
54801 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54805 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54806 *) as_qdir=$as_dir;;
54808 as_dirs="'$as_qdir' $as_dirs"
54809 as_dir=`$as_dirname -- "$as_dir" ||
54810 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54811 X"$as_dir" : 'X\(//\)[^/]' \| \
54812 X"$as_dir" : 'X\(//\)$' \| \
54813 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54819 /^X\(\/\/\)[^/].*/{
54832 test -d "$as_dir" && break
54834 test -z "$as_dirs" || eval "mkdir $as_dirs"
54835 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54836 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54837 { (exit 1); exit 1; }; }; }
54841 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54843 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54844 # A ".." for each directory in $ac_dir_suffix.
54845 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54846 case $ac_top_builddir_sub in
54847 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54848 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54851 ac_abs_top_builddir=$ac_pwd
54852 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54853 # for backward compatibility:
54854 ac_top_builddir=$ac_top_build_prefix
54857 .) # We are building in place.
54859 ac_top_srcdir=$ac_top_builddir_sub
54860 ac_abs_top_srcdir=$ac_pwd ;;
54861 [\\/]* | ?:[\\/]* ) # Absolute name.
54862 ac_srcdir=$srcdir$ac_dir_suffix;
54863 ac_top_srcdir=$srcdir
54864 ac_abs_top_srcdir=$srcdir ;;
54865 *) # Relative name.
54866 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54867 ac_top_srcdir=$ac_top_build_prefix$srcdir
54868 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54870 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54880 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54881 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54885 cat >>$CONFIG_STATUS <<\_ACEOF
54886 # If the template does not know about datarootdir, expand it.
54887 # FIXME: This hack should be removed a few years after 2.60.
54888 ac_datarootdir_hack=; ac_datarootdir_seen=
54890 case `sed -n '/datarootdir/ {
54899 ' $ac_file_inputs` in
54900 *datarootdir*) ac_datarootdir_seen=yes;;
54901 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54902 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54903 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54905 cat >>$CONFIG_STATUS <<_ACEOF
54906 ac_datarootdir_hack='
54907 s&@datadir@&$datadir&g
54908 s&@docdir@&$docdir&g
54909 s&@infodir@&$infodir&g
54910 s&@localedir@&$localedir&g
54911 s&@mandir@&$mandir&g
54912 s&\\\${datarootdir}&$datarootdir&g' ;;
54916 # Neutralize VPATH when `$srcdir' = `.'.
54917 # Shell code in configure.ac might set extrasub.
54918 # FIXME: do we really want to maintain this feature?
54919 cat >>$CONFIG_STATUS <<_ACEOF
54923 cat >>$CONFIG_STATUS <<\_ACEOF
54925 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54926 s&@configure_input@&$configure_input&;t t
54927 s&@top_builddir@&$ac_top_builddir_sub&;t t
54928 s&@srcdir@&$ac_srcdir&;t t
54929 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54930 s&@top_srcdir@&$ac_top_srcdir&;t t
54931 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54932 s&@builddir@&$ac_builddir&;t t
54933 s&@abs_builddir@&$ac_abs_builddir&;t t
54934 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54935 s&@INSTALL@&$ac_INSTALL&;t t
54936 $ac_datarootdir_hack
54937 " $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
54939 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54940 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54941 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54942 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54943 which seems to be undefined. Please make sure it is defined." >&5
54944 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54945 which seems to be undefined. Please make sure it is defined." >&2;}
54949 -) cat "$tmp/out"; rm -f "$tmp/out";;
54950 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54959 # Transform confdefs.h into a sed script `conftest.defines', that
54960 # substitutes the proper values into config.h.in to produce config.h.
54961 rm -f conftest.defines conftest.tail
54962 # First, append a space to every undef/define line, to ease matching.
54963 echo 's/$/ /' >conftest.defines
54964 # Then, protect against being on the right side of a sed subst, or in
54965 # an unquoted here document, in config.status. If some macros were
54966 # called several times there might be several #defines for the same
54967 # symbol, which is useless. But do not sort them, since the last
54968 # AC_DEFINE must be honored.
54969 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54970 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54971 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54972 # PARAMS is the parameter list in the macro definition--in most cases, it's
54973 # just an empty string.
54974 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54975 ac_dB='\\)[ (].*,\\1define\\2'
54983 s/^[ ]*#[ ]*define[ ][ ]*//
54988 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54989 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54990 ' >>conftest.defines
54992 # Remove the space that was appended to ease matching.
54993 # Then replace #undef with comments. This is necessary, for
54994 # example, in the case of _POSIX_SOURCE, which is predefined and required
54995 # on some systems where configure will not decide to define it.
54996 # (The regexp can be short, since the line contains either #define or #undef.)
54998 s,^[ #]*u.*,/* & */,' >>conftest.defines
55000 # Break up conftest.defines:
55001 ac_max_sed_lines=50
55003 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55004 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55005 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55007 ac_in='$ac_file_inputs'
55008 ac_out='"$tmp/out1"'
55009 ac_nxt='"$tmp/out2"'
55013 # Write a here document:
55014 cat >>$CONFIG_STATUS <<_ACEOF
55015 # First, check the format of the line:
55016 cat >"\$tmp/defines.sed" <<\\CEOF
55017 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55018 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55022 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
55024 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55025 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
55026 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
55027 grep . conftest.tail >/dev/null || break
55028 rm -f conftest.defines
55029 mv conftest.tail conftest.defines
55031 rm -f conftest.defines conftest.tail
55033 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55034 cat >>$CONFIG_STATUS <<\_ACEOF
55035 if test x"$ac_file" != x-; then
55036 echo "/* $configure_input */" >"$tmp/config.h"
55037 cat "$ac_result" >>"$tmp/config.h"
55038 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
55039 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55040 echo "$as_me: $ac_file is unchanged" >&6;}
55043 mv "$tmp/config.h" $ac_file
55046 echo "/* $configure_input */"
55052 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
55053 echo "$as_me: executing $ac_file commands" >&6;}
55058 case $ac_file$ac_mode in
55060 mkdir -p $outdir &&
55061 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
55063 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
55064 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
55065 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
55066 "wx-config":C) rm -f wx-config
55067 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
55074 { (exit 0); exit 0; }
55076 chmod +x $CONFIG_STATUS
55077 ac_clean_files=$ac_clean_files_save
55080 # configure is writing to config.log, and then calls config.status.
55081 # config.status does its own redirection, appending to config.log.
55082 # Unfortunately, on DOS this fails, as config.log is still kept open
55083 # by configure, so config.status won't be able to write to it; its
55084 # output is simply discarded. So we exec the FD to /dev/null,
55085 # effectively closing config.log, so it can be properly (re)opened and
55086 # appended to by config.status. When coming back to configure, we
55087 # need to make the FD available again.
55088 if test "$no_create" != yes; then
55090 ac_config_status_args=
55091 test "$silent" = yes &&
55092 ac_config_status_args="$ac_config_status_args --quiet"
55094 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
55096 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
55097 # would make configure fail if this is the last instruction.
55098 $ac_cs_success || { (exit 1); exit 1; }
55102 # CONFIG_SUBDIRS section.
55104 if test "$no_recursion" != yes; then
55106 # Remove --cache-file and --srcdir arguments so they do not pile up.
55107 ac_sub_configure_args=
55109 eval "set x $ac_configure_args"
55113 if test -n "$ac_prev"; then
55118 -cache-file | --cache-file | --cache-fil | --cache-fi \
55119 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55120 ac_prev=cache_file ;;
55121 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55122 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55125 --config-cache | -C)
55127 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55129 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55131 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55133 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55137 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55139 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
55143 # Always prepend --prefix to ensure using the same prefix
55144 # in subdir configurations.
55145 ac_arg="--prefix=$prefix"
55147 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55149 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
55152 if test "$silent" = yes; then
55153 ac_sub_configure_args="--silent $ac_sub_configure_args"
55157 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
55159 # Do not complain, so a configure script can configure whichever
55160 # parts of a large source tree are present.
55161 test -d "$srcdir/$ac_dir" || continue
55163 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55164 echo "$as_me:$LINENO: $ac_msg" >&5
55168 -*) as_dir=./$as_dir;;
55170 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55174 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55175 *) as_qdir=$as_dir;;
55177 as_dirs="'$as_qdir' $as_dirs"
55178 as_dir=`$as_dirname -- "$as_dir" ||
55179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55180 X"$as_dir" : 'X\(//\)[^/]' \| \
55181 X"$as_dir" : 'X\(//\)$' \| \
55182 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55188 /^X\(\/\/\)[^/].*/{
55201 test -d "$as_dir" && break
55203 test -z "$as_dirs" || eval "mkdir $as_dirs"
55204 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55205 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55206 { (exit 1); exit 1; }; }; }
55210 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55212 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55213 # A ".." for each directory in $ac_dir_suffix.
55214 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55215 case $ac_top_builddir_sub in
55216 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55217 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55220 ac_abs_top_builddir=$ac_pwd
55221 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55222 # for backward compatibility:
55223 ac_top_builddir=$ac_top_build_prefix
55226 .) # We are building in place.
55228 ac_top_srcdir=$ac_top_builddir_sub
55229 ac_abs_top_srcdir=$ac_pwd ;;
55230 [\\/]* | ?:[\\/]* ) # Absolute name.
55231 ac_srcdir=$srcdir$ac_dir_suffix;
55232 ac_top_srcdir=$srcdir
55233 ac_abs_top_srcdir=$srcdir ;;
55234 *) # Relative name.
55235 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55236 ac_top_srcdir=$ac_top_build_prefix$srcdir
55237 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55239 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55244 # Check for guested configure; otherwise get Cygnus style configure.
55245 if test -f "$ac_srcdir/configure.gnu"; then
55246 ac_sub_configure=$ac_srcdir/configure.gnu
55247 elif test -f "$ac_srcdir/configure"; then
55248 ac_sub_configure=$ac_srcdir/configure
55249 elif test -f "$ac_srcdir/configure.in"; then
55250 # This should be Cygnus configure.
55251 ac_sub_configure=$ac_aux_dir/configure
55253 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55254 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55258 # The recursion is here.
55259 if test -n "$ac_sub_configure"; then
55260 # Make the cache file name correct relative to the subdirectory.
55261 case $cache_file in
55262 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55263 *) # Relative name.
55264 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55267 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55268 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55269 # The eval makes quoting arguments work.
55270 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55271 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55272 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55273 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55274 { (exit 1); exit 1; }; }
55283 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55285 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55286 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55287 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55288 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55289 if test "$wxUSE_UNICODE" = "yes"; then
55290 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55291 echo " (using UTF-8)"
55293 echo " (using wchar_t)"
55299 echo " What level of wxWidgets compatibility should be enabled?"
55300 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55301 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55303 echo " Which libraries should wxWidgets use?"
55304 echo " STL ${wxUSE_STL}"
55305 echo " jpeg ${wxUSE_LIBJPEG-none}"
55306 echo " png ${wxUSE_LIBPNG-none}"
55307 echo " regex ${wxUSE_REGEX}"
55308 echo " tiff ${wxUSE_LIBTIFF-none}"
55309 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55310 echo " xpm ${wxUSE_LIBXPM-none}"
55312 echo " zlib ${wxUSE_ZLIB}"
55313 echo " expat ${wxUSE_EXPAT}"
55314 echo " libmspack ${wxUSE_LIBMSPACK}"
55315 echo " sdl ${wxUSE_LIBSDL}"