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_WEBVIEW_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_WEBVIEW_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_WEBVIEW_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-richtext use wxRichTextCtrl
1803 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1804 --enable-printarch use printing architecture
1805 --enable-svg use wxSVGFileDC device context
1806 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
1807 --enable-webview use wxWebView 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 --disable-controls disable compilation of all standard controls
1812 --enable-markup support wxControl::SetLabelMarkup
1813 --enable-accel use accelerators
1814 --enable-animatectrl use wxAnimationCtrl class
1815 --enable-bannerwindow use wxBannerWindow 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-richtooltip use wxRichToolTip class
1858 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1859 --enable-sash use wxSashWindow class
1860 --enable-scrollbar use wxScrollBar class and scrollable windows
1861 --enable-searchctrl use wxSearchCtrl class
1862 --enable-slider use wxSlider class
1863 --enable-spinbtn use wxSpinButton class
1864 --enable-spinctrl use wxSpinCtrl class
1865 --enable-splitter use wxSplitterWindow class
1866 --enable-statbmp use wxStaticBitmap class
1867 --enable-statbox use wxStaticBox class
1868 --enable-statline use wxStaticLine class
1869 --enable-stattext use wxStaticText class
1870 --enable-statusbar use wxStatusBar class
1871 --enable-taskbaricon use wxTaskBarIcon class
1872 --enable-tbarnative use native wxToolBar class
1873 --enable-textctrl use wxTextCtrl class
1874 --enable-timepick use wxTimePickerCtrl class
1875 --enable-tipwindow use wxTipWindow class
1876 --enable-togglebtn use wxToggleButton class
1877 --enable-toolbar use wxToolBar class
1878 --enable-toolbook use wxToolbook class
1879 --enable-treebook use wxTreebook class
1880 --enable-treectrl use wxTreeCtrl class
1881 --enable-treelist use wxTreeListCtrl class
1882 --enable-commondlg use all common dialogs
1883 --enable-aboutdlg use wxAboutBox
1884 --enable-choicedlg use wxChoiceDialog
1885 --enable-coldlg use wxColourDialog
1886 --enable-filedlg use wxFileDialog
1887 --enable-finddlg use wxFindReplaceDialog
1888 --enable-fontdlg use wxFontDialog
1889 --enable-dirdlg use wxDirDialog
1890 --enable-msgdlg use wxMessageDialog
1891 --enable-numberdlg use wxNumberEntryDialog
1892 --enable-splash use wxSplashScreen
1893 --enable-textdlg use wxTextDialog
1894 --enable-tipdlg use startup tips
1895 --enable-progressdlg use wxProgressDialog
1896 --enable-wizarddlg use wxWizard
1897 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1898 --enable-miniframe use wxMiniFrame class
1899 --enable-tooltips use wxToolTip class
1900 --enable-splines use spline drawing code
1901 --enable-mousewheel use mousewheel
1902 --enable-validators use wxValidator and derived classes
1903 --enable-busyinfo use wxBusyInfo
1904 --enable-hotkey use wxWindow::RegisterHotKey()
1905 --enable-joystick use wxJoystick
1906 --enable-metafiles use wxMetaFile
1907 --enable-dragimage use wxDragImage
1908 --enable-accessibility enable accessibility support
1909 --enable-uiactionsim use wxUIActionSimulator (experimental)
1910 --enable-dctransform use wxDC::SetTransformMatrix and related
1911 --enable-webview-webkit use wxWebView WebKit backend
1912 --enable-palette use wxPalette class
1913 --enable-image use wxImage class
1914 --enable-gif use gif images (GIF file format)
1915 --enable-pcx use pcx images (PCX file format)
1916 --enable-tga use tga images (TGA file format)
1917 --enable-iff use iff images (IFF file format)
1918 --enable-pnm use pnm images (PNM file format)
1919 --enable-xpm use xpm images (XPM file format)
1920 --enable-ico_cur use Windows ICO and CUR formats
1921 --enable-dccache cache temporary wxDC objects (Win32 only)
1922 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1923 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1924 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1925 --enable-wxdib use wxDIB class (Win32 only)
1926 --enable-webview-ie use wxWebView IE backend (Win32 only)
1927 --enable-autoidman use automatic ids management
1928 --disable-largefile omit support for large files
1929 --disable-gtktest do not try to compile and run a test GTK+ program
1930 --disable-gtktest Do not try to compile and run a test GTK program
1931 --disable-sdltest Do not try to compile and run a test SDL program
1932 --enable-omf use OMF object format (OS/2)
1933 --disable-dependency-tracking
1934 don't use dependency tracking even if the compiler
1936 --disable-precomp-headers
1937 don't use precompiled headers even if compiler can
1940 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1941 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1942 --without-subdirs don't generate makefiles for samples/demos/...
1943 --with-flavour=NAME specify a name to identify this build
1944 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1945 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1946 --with-motif use Motif/Lesstif
1947 --with-osx_carbon use Mac OS X (Carbon)
1948 --with-osx_cocoa use Mac OS X (Cocoa)
1949 --with-osx_iphone use iPhone OS X port
1950 --with-osx use Mac OS X (default port, currently Carbon)
1951 --with-carbon same as --with-osx_carbon
1952 --with-cocoa same as --with-osx_cocoa
1953 --with-iphone same as --with-osx_iphone
1954 --with-mac same as --with-osx
1955 --with-old_cocoa use old, deprecated, Cocoa port
1956 --with-wine use Wine
1957 --with-msw use MS-Windows
1958 --with-pm use OS/2 Presentation Manager
1959 --with-mgl use SciTech MGL
1960 --with-directfb use DirectFB
1961 --with-microwin use MicroWindows
1963 --with-libpng use libpng (PNG image format)
1964 --with-libjpeg use libjpeg (JPEG file format)
1965 --with-libtiff use libtiff (TIFF file format)
1966 --with-libxpm use libxpm (XPM file format)
1967 --with-libiconv use libiconv (character conversion)
1968 --with-libmspack use libmspack (CHM help files loading)
1969 --without-gtkprint don't use GTK printing support
1970 --without-gnomeprint don't use GNOME printing libraries
1971 --with-gnomevfs use GNOME VFS for associating MIME types
1972 --with-hildon use Hildon framework for Nokia 770/800/810
1973 --with-opengl use OpenGL (or Mesa)
1974 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1975 --with-sdl use SDL for audio on Unix
1976 --with-regex enable support for wxRegEx class
1977 --with-zlib use zlib for LZW compression
1978 --with-expat enable XML support using expat parser
1979 --with-macosx-sdk=PATH use an OS X SDK at PATH
1980 --with-macosx-version-min=VER build binaries which require at least this OS X version
1981 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1982 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1983 --with-x use the X Window System
1984 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1985 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1986 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1987 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1988 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1990 Some influential environment variables:
1991 CC C compiler command
1992 CFLAGS C compiler flags
1993 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1994 nonstandard directory <lib dir>
1995 LIBS libraries to pass to the linker, e.g. -l<library>
1996 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1997 you have headers in a nonstandard directory <include dir>
1999 CXX C++ compiler command
2000 CXXFLAGS C++ compiler flags
2001 CXXCPP C++ preprocessor
2002 PKG_CONFIG path to pkg-config utility
2004 C compiler flags for DIRECTFB, overriding pkg-config
2006 linker flags for DIRECTFB, overriding pkg-config
2007 XMKMF Path to xmkmf, Makefile generator for X Window System
2009 C compiler flags for PANGOX, overriding pkg-config
2010 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2012 C compiler flags for PANGOFT2, overriding pkg-config
2014 linker flags for PANGOFT2, overriding pkg-config
2016 C compiler flags for PANGOXFT, overriding pkg-config
2018 linker flags for PANGOXFT, overriding pkg-config
2020 C compiler flags for GTKPRINT, overriding pkg-config
2022 linker flags for GTKPRINT, overriding pkg-config
2023 LIBGNOMEPRINTUI_CFLAGS
2024 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2025 LIBGNOMEPRINTUI_LIBS
2026 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2028 C compiler flags for GNOMEVFS, overriding pkg-config
2030 linker flags for GNOMEVFS, overriding pkg-config
2032 C compiler flags for HILDON, overriding pkg-config
2033 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2035 C compiler flags for HILDON2, overriding pkg-config
2037 linker flags for HILDON2, overriding pkg-config
2039 C compiler flags for CAIRO, overriding pkg-config
2040 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2041 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2042 GST_LIBS linker flags for GST, overriding pkg-config
2044 Use these variables to override the choices made by `configure' or to help
2045 it to find libraries and programs with nonstandard names/locations.
2047 Report bugs to <wx-dev@lists.wxwidgets.org>.
2052 if test "$ac_init_help" = "recursive"; then
2053 # If there are subdirs, report their specific --help.
2054 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2055 test -d "$ac_dir" || continue
2059 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2061 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2062 # A ".." for each directory in $ac_dir_suffix.
2063 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2064 case $ac_top_builddir_sub in
2065 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2066 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2069 ac_abs_top_builddir=$ac_pwd
2070 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2071 # for backward compatibility:
2072 ac_top_builddir=$ac_top_build_prefix
2075 .) # We are building in place.
2077 ac_top_srcdir=$ac_top_builddir_sub
2078 ac_abs_top_srcdir=$ac_pwd ;;
2079 [\\/]* | ?:[\\/]* ) # Absolute name.
2080 ac_srcdir=$srcdir$ac_dir_suffix;
2081 ac_top_srcdir=$srcdir
2082 ac_abs_top_srcdir=$srcdir ;;
2084 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2085 ac_top_srcdir=$ac_top_build_prefix$srcdir
2086 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2088 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2090 cd "$ac_dir" || { ac_status=$?; continue; }
2091 # Check for guested configure.
2092 if test -f "$ac_srcdir/configure.gnu"; then
2094 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2095 elif test -f "$ac_srcdir/configure"; then
2097 $SHELL "$ac_srcdir/configure" --help=recursive
2099 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2101 cd "$ac_pwd" || { ac_status=$?; break; }
2105 test -n "$ac_init_help" && exit $ac_status
2106 if $ac_init_version; then
2108 wxWidgets configure 2.9.3
2109 generated by GNU Autoconf 2.61
2111 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2112 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2113 This configure script is free software; the Free Software Foundation
2114 gives unlimited permission to copy, distribute and modify it.
2118 cat >config.log <<_ACEOF
2119 This file contains any messages produced by compilers while
2120 running configure, to aid debugging if configure makes a mistake.
2122 It was created by wxWidgets $as_me 2.9.3, which was
2123 generated by GNU Autoconf 2.61. Invocation command line was
2135 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2136 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2137 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2138 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2139 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2141 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2142 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2144 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2145 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2146 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2147 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2148 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2149 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2150 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir=.
2159 echo "PATH: $as_dir"
2175 # Keep a trace of the command line.
2176 # Strip out --no-create and --no-recursion so they do not pile up.
2177 # Strip out --silent because we don't want to record it for future runs.
2178 # Also quote any args containing shell meta-characters.
2179 # Make two passes to allow for proper duplicate-argument suppression.
2183 ac_must_keep_next=false
2189 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2191 | -silent | --silent | --silen | --sile | --sil)
2194 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2197 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2199 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2200 if test $ac_must_keep_next = true; then
2201 ac_must_keep_next=false # Got value, back to normal.
2204 *=* | --config-cache | -C | -disable-* | --disable-* \
2205 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2206 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2207 | -with-* | --with-* | -without-* | --without-* | --x)
2208 case "$ac_configure_args0 " in
2209 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2212 -* ) ac_must_keep_next=true ;;
2215 ac_configure_args="$ac_configure_args '$ac_arg'"
2220 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2221 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2223 # When interrupted or exit'd, cleanup temporary files, and complete
2224 # config.log. We remove comments because anyway the quotes in there
2225 # would cause problems or look ugly.
2226 # WARNING: Use '\'' to represent an apostrophe within the trap.
2227 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2228 trap 'exit_status=$?
2229 # Save into config.log some information that might help in debugging.
2234 ## ---------------- ##
2235 ## Cache variables. ##
2236 ## ---------------- ##
2239 # The following way of writing the cache mishandles newlines in values,
2241 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2242 eval ac_val=\$$ac_var
2246 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2247 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2250 _ | IFS | as_nl) ;; #(
2251 *) $as_unset $ac_var ;;
2256 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2257 *${as_nl}ac_space=\ *)
2259 "s/'\''/'\''\\\\'\'''\''/g;
2260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2263 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2271 ## ----------------- ##
2272 ## Output variables. ##
2273 ## ----------------- ##
2276 for ac_var in $ac_subst_vars
2278 eval ac_val=\$$ac_var
2280 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2282 echo "$ac_var='\''$ac_val'\''"
2286 if test -n "$ac_subst_files"; then
2288 ## ------------------- ##
2289 ## File substitutions. ##
2290 ## ------------------- ##
2293 for ac_var in $ac_subst_files
2295 eval ac_val=\$$ac_var
2297 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2299 echo "$ac_var='\''$ac_val'\''"
2304 if test -s confdefs.h; then
2314 test "$ac_signal" != 0 &&
2315 echo "$as_me: caught signal $ac_signal"
2316 echo "$as_me: exit $exit_status"
2318 rm -f core *.core core.conftest.* &&
2319 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2322 for ac_signal in 1 2 13 15; do
2323 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2327 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2328 rm -f -r conftest* confdefs.h
2330 # Predefined preprocessor variables.
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_NAME "$PACKAGE_NAME"
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2342 cat >>confdefs.h <<_ACEOF
2343 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2347 cat >>confdefs.h <<_ACEOF
2348 #define PACKAGE_STRING "$PACKAGE_STRING"
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2357 # Let the site file select an alternate cache file if it wants to.
2358 # Prefer explicitly selected file to automatically selected ones.
2359 if test -n "$CONFIG_SITE"; then
2360 set x "$CONFIG_SITE"
2361 elif test "x$prefix" != xNONE; then
2362 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2364 set x "$ac_default_prefix/share/config.site" \
2365 "$ac_default_prefix/etc/config.site"
2370 if test -r "$ac_site_file"; then
2371 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2372 echo "$as_me: loading site script $ac_site_file" >&6;}
2373 sed 's/^/| /' "$ac_site_file" >&5
2378 if test -r "$cache_file"; then
2379 # Some versions of bash will fail to source /dev/null (special
2380 # files actually), so we avoid doing that.
2381 if test -f "$cache_file"; then
2382 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2383 echo "$as_me: loading cache $cache_file" >&6;}
2385 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2386 *) . "./$cache_file";;
2390 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2391 echo "$as_me: creating cache $cache_file" >&6;}
2395 # Check that the precious variables saved in the cache have kept the same
2397 ac_cache_corrupted=false
2398 for ac_var in $ac_precious_vars; do
2399 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2400 eval ac_new_set=\$ac_env_${ac_var}_set
2401 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2402 eval ac_new_val=\$ac_env_${ac_var}_value
2403 case $ac_old_set,$ac_new_set in
2405 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2406 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2407 ac_cache_corrupted=: ;;
2409 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2410 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2411 ac_cache_corrupted=: ;;
2414 if test "x$ac_old_val" != "x$ac_new_val"; then
2415 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2416 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2417 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2418 echo "$as_me: former value: $ac_old_val" >&2;}
2419 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2420 echo "$as_me: current value: $ac_new_val" >&2;}
2421 ac_cache_corrupted=:
2424 # Pass precious variables to config.status.
2425 if test "$ac_new_set" = set; then
2427 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2428 *) ac_arg=$ac_var=$ac_new_val ;;
2430 case " $ac_configure_args " in
2431 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2432 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2436 if $ac_cache_corrupted; then
2437 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2438 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2439 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2440 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2441 { (exit 1); exit 1; }; }
2469 ac_cpp='$CPP $CPPFLAGS'
2470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2479 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2480 if test -f "$ac_dir/install-sh"; then
2482 ac_install_sh="$ac_aux_dir/install-sh -c"
2484 elif test -f "$ac_dir/install.sh"; then
2486 ac_install_sh="$ac_aux_dir/install.sh -c"
2488 elif test -f "$ac_dir/shtool"; then
2490 ac_install_sh="$ac_aux_dir/shtool install -c"
2494 if test -z "$ac_aux_dir"; then
2495 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2496 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2497 { (exit 1); exit 1; }; }
2500 # These three variables are undocumented and unsupported,
2501 # and are intended to be withdrawn in a future Autoconf release.
2502 # They can cause serious problems if a builder's source tree is in a directory
2503 # whose full name contains unusual characters.
2504 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2505 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2506 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2509 # Make sure we can run config.sub.
2510 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2511 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2512 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2513 { (exit 1); exit 1; }; }
2515 { echo "$as_me:$LINENO: checking build system type" >&5
2516 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2517 if test "${ac_cv_build+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 ac_build_alias=$build_alias
2521 test "x$ac_build_alias" = x &&
2522 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2523 test "x$ac_build_alias" = x &&
2524 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2525 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2526 { (exit 1); exit 1; }; }
2527 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2528 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2529 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2530 { (exit 1); exit 1; }; }
2533 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2534 echo "${ECHO_T}$ac_cv_build" >&6; }
2535 case $ac_cv_build in
2537 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2538 echo "$as_me: error: invalid value of canonical build" >&2;}
2539 { (exit 1); exit 1; }; };;
2542 ac_save_IFS=$IFS; IFS='-'
2548 # Remember, the first character of IFS is used to create $*,
2549 # except with old shells:
2552 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2555 { echo "$as_me:$LINENO: checking host system type" >&5
2556 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2557 if test "${ac_cv_host+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 if test "x$host_alias" = x; then
2561 ac_cv_host=$ac_cv_build
2563 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2564 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2565 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2566 { (exit 1); exit 1; }; }
2570 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2571 echo "${ECHO_T}$ac_cv_host" >&6; }
2574 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2575 echo "$as_me: error: invalid value of canonical host" >&2;}
2576 { (exit 1); exit 1; }; };;
2579 ac_save_IFS=$IFS; IFS='-'
2585 # Remember, the first character of IFS is used to create $*,
2586 # except with old shells:
2589 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2593 if test "$cross_compiling" != "no"; then
2594 HOST_PREFIX="${host_alias}-"
2595 HOST_SUFFIX="-$host_alias"
2602 wx_major_version_number=2
2603 wx_minor_version_number=9
2605 wx_subrelease_number=0
2607 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2608 WX_VERSION=$WX_RELEASE.$wx_release_number
2609 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2611 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2614 wx_top_builddir="`pwd`"
2627 USE_BSD= USE_DARWIN= USE_FREEBSD=
2633 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2639 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2641 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2643 DEFAULT_wxUSE_OLD_COCOA=0
2645 DEFAULT_wxUSE_OSX_CARBON=0
2646 DEFAULT_wxUSE_OSX_COCOA=0
2647 DEFAULT_wxUSE_OSX_IPHONE=0
2649 DEFAULT_wxUSE_MICROWIN=0
2650 DEFAULT_wxUSE_MOTIF=0
2656 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2657 DEFAULT_DEFAULT_wxUSE_GTK=0
2658 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2659 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2660 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2661 DEFAULT_DEFAULT_wxUSE_MGL=0
2662 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2663 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2664 DEFAULT_DEFAULT_wxUSE_MSW=0
2665 DEFAULT_DEFAULT_wxUSE_PM=0
2666 DEFAULT_DEFAULT_wxUSE_X11=0
2667 DEFAULT_DEFAULT_wxUSE_DFB=0
2671 DYLIB_RPATH_INSTALL=
2672 DYLIB_RPATH_POSTLINK=
2674 DEFAULT_STD_FLAG=yes
2679 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2680 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2681 cat >>confdefs.h <<\_ACEOF
2686 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2690 cat >>confdefs.h <<\_ACEOF
2695 if test "x$TMP" = "xalpha"; then
2697 cat >>confdefs.h <<\_ACEOF
2702 DEFAULT_DEFAULT_wxUSE_GTK=1
2704 *-*-gnu* | *-*-k*bsd*-gnu )
2707 if test "x$TMP" = "xalpha"; then
2709 cat >>confdefs.h <<\_ACEOF
2714 DEFAULT_DEFAULT_wxUSE_GTK=1
2716 *-*-irix5* | *-*-irix6* )
2719 cat >>confdefs.h <<\_ACEOF
2723 cat >>confdefs.h <<\_ACEOF
2727 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2731 cat >>confdefs.h <<\_ACEOF
2735 DEFAULT_DEFAULT_wxUSE_X11=1
2741 cat >>confdefs.h <<\_ACEOF
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __SOLARIS__ 1
2749 cat >>confdefs.h <<\_ACEOF
2753 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2754 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2760 cat >>confdefs.h <<\_ACEOF
2764 cat >>confdefs.h <<\_ACEOF
2768 cat >>confdefs.h <<\_ACEOF
2772 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __FREEBSD__ 1
2781 cat >>confdefs.h <<\_ACEOF
2785 DEFAULT_DEFAULT_wxUSE_GTK=1
2787 *-*-openbsd*|*-*-mirbsd*)
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __OPENBSD__ 1
2794 cat >>confdefs.h <<\_ACEOF
2798 DEFAULT_DEFAULT_wxUSE_GTK=1
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __NETBSD__ 1
2807 cat >>confdefs.h <<\_ACEOF
2811 DEFAULT_DEFAULT_wxUSE_GTK=1
2812 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2814 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2819 cat >>confdefs.h <<\_ACEOF
2823 cat >>confdefs.h <<\_ACEOF
2827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2828 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2833 cat >>confdefs.h <<\_ACEOF
2837 cat >>confdefs.h <<\_ACEOF
2841 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2846 cat >>confdefs.h <<\_ACEOF
2850 cat >>confdefs.h <<\_ACEOF
2854 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2860 cat >>confdefs.h <<\_ACEOF
2864 cat >>confdefs.h <<\_ACEOF
2868 cat >>confdefs.h <<\_ACEOF
2872 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __UNIXWARE__ 1
2885 *-*-cygwin* | *-*-mingw32* )
2887 DEFAULT_DEFAULT_wxUSE_MSW=1
2893 cat >>confdefs.h <<\_ACEOF
2898 DEFAULT_DEFAULT_wxUSE_MGL=1
2901 *-pc-os2_emx | *-pc-os2-emx )
2902 cat >>confdefs.h <<\_ACEOF
2907 cat >>confdefs.h <<\_ACEOF
2912 DEFAULT_DEFAULT_wxUSE_PM=1
2914 LDFLAGS="$LDFLAGS -Zcrtdll"
2915 ac_executable_extensions=".exe"
2916 export ac_executable_extensions
2920 for ac_dir in $PATH; do
2922 if test -z "$ac_TEMP_PATH"; then
2923 ac_TEMP_PATH="$ac_dir"
2925 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2928 export PATH="$ac_TEMP_PATH"
2936 cat >>confdefs.h <<\_ACEOF
2940 cat >>confdefs.h <<\_ACEOF
2941 #define __DARWIN__ 1
2944 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2950 cat >>confdefs.h <<\_ACEOF
2954 cat >>confdefs.h <<\_ACEOF
2955 #define __DARWIN__ 1
2958 cat >>confdefs.h <<\_ACEOF
2959 #define TARGET_CARBON 1
2962 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2967 cat >>confdefs.h <<\_ACEOF
2974 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2975 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2976 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2977 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2979 DEFAULT_DEFAULT_wxUSE_X11=1
2980 DEFAULT_wxUSE_SHARED=no
2985 DEFAULT_wxUSE_ALL_FEATURES=yes
2987 DEFAULT_wxUSE_STD_CONTAINERS=no
2988 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2989 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2991 DEFAULT_wxUSE_DMALLOC=no
2992 DEFAULT_wxUSE_LIBGNOMEVFS=no
2993 DEFAULT_wxUSE_LIBHILDON=no
2994 DEFAULT_wxUSE_LIBHILDON2=no
2995 DEFAULT_wxUSE_LIBMSPACK=no
2996 DEFAULT_wxUSE_LIBSDL=no
2998 DEFAULT_wxUSE_ACCESSIBILITY=no
2999 DEFAULT_wxUSE_IPV6=no
3000 DEFAULT_wxUSE_GSTREAMER8=no
3002 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
3003 DEFAULT_wxUSE_UNICODE_UTF8=auto
3004 DEFAULT_wxUSE_OPENGL=auto
3005 DEFAULT_wxUSE_MEDIACTRL=auto
3006 DEFAULT_wxUSE_COMPILER_TLS=auto
3007 DEFAULT_wxUSE_HOTKEY=auto
3008 DEFAULT_wxUSE_METAFILE=auto
3010 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3012 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3013 DEFAULT_wxUSE_MAC_ARCH=no
3015 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3017 DEFAULT_wxUSE_GTK2=yes
3019 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3025 enablestring=disable
3027 if test -z "$defaultval"; then
3028 if test x"$enablestring" = xdisable; then
3035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3036 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3037 # Check whether --enable-gui was given.
3038 if test "${enable_gui+set}" = set; then
3039 enableval=$enable_gui;
3040 if test "$enableval" = yes; then
3041 wx_cv_use_gui='wxUSE_GUI=yes'
3043 wx_cv_use_gui='wxUSE_GUI=no'
3048 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3053 eval "$wx_cv_use_gui"
3055 if test x"$enablestring" = xdisable; then
3056 if test $wxUSE_GUI = no; then
3065 { echo "$as_me:$LINENO: result: $result" >&5
3066 echo "${ECHO_T}$result" >&6; }
3071 if test -z "$defaultval"; then
3072 if test x"$enablestring" = xdisable; then
3079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3080 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3081 # Check whether --enable-monolithic was given.
3082 if test "${enable_monolithic+set}" = set; then
3083 enableval=$enable_monolithic;
3084 if test "$enableval" = yes; then
3085 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3087 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3092 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3097 eval "$wx_cv_use_monolithic"
3099 if test x"$enablestring" = xdisable; then
3100 if test $wxUSE_MONOLITHIC = no; then
3106 result=$wxUSE_MONOLITHIC
3109 { echo "$as_me:$LINENO: result: $result" >&5
3110 echo "${ECHO_T}$result" >&6; }
3115 if test -z "$defaultval"; then
3116 if test x"$enablestring" = xdisable; then
3123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3124 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3125 # Check whether --enable-plugins was given.
3126 if test "${enable_plugins+set}" = set; then
3127 enableval=$enable_plugins;
3128 if test "$enableval" = yes; then
3129 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3131 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3136 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3141 eval "$wx_cv_use_plugins"
3143 if test x"$enablestring" = xdisable; then
3144 if test $wxUSE_PLUGINS = no; then
3150 result=$wxUSE_PLUGINS
3153 { echo "$as_me:$LINENO: result: $result" >&5
3154 echo "${ECHO_T}$result" >&6; }
3158 defaultval=$wxUSE_ALL_FEATURES
3159 if test -z "$defaultval"; then
3160 if test x"$withstring" = xwithout; then
3166 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3167 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3169 # Check whether --with-subdirs was given.
3170 if test "${with_subdirs+set}" = set; then
3171 withval=$with_subdirs;
3172 if test "$withval" = yes; then
3173 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3175 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3180 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3185 eval "$wx_cv_use_subdirs"
3187 if test x"$withstring" = xwithout; then
3188 if test $wxWITH_SUBDIRS = yes; then
3194 result=$wxWITH_SUBDIRS
3197 { echo "$as_me:$LINENO: result: $result" >&5
3198 echo "${ECHO_T}$result" >&6; }
3201 # Check whether --with-flavour was given.
3202 if test "${with_flavour+set}" = set; then
3203 withval=$with_flavour; WX_FLAVOUR="$withval"
3209 if test -z "$defaultval"; then
3210 if test x"$enablestring" = xdisable; then
3217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3218 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3219 # Check whether --enable-official_build was given.
3220 if test "${enable_official_build+set}" = set; then
3221 enableval=$enable_official_build;
3222 if test "$enableval" = yes; then
3223 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3225 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3230 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3235 eval "$wx_cv_use_official_build"
3237 if test x"$enablestring" = xdisable; then
3238 if test $wxUSE_OFFICIAL_BUILD = no; then
3244 result=$wxUSE_OFFICIAL_BUILD
3247 { echo "$as_me:$LINENO: result: $result" >&5
3248 echo "${ECHO_T}$result" >&6; }
3250 # Check whether --enable-vendor was given.
3251 if test "${enable_vendor+set}" = set; then
3252 enableval=$enable_vendor; VENDOR="$enableval"
3255 if test "x$VENDOR" = "x"; then
3260 enablestring=disable
3262 if test -z "$defaultval"; then
3263 if test x"$enablestring" = xdisable; then
3270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3271 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3272 # Check whether --enable-all-features was given.
3273 if test "${enable_all_features+set}" = set; then
3274 enableval=$enable_all_features;
3275 if test "$enableval" = yes; then
3276 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3278 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3283 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3288 eval "$wx_cv_use_all_features"
3290 if test x"$enablestring" = xdisable; then
3291 if test $wxUSE_ALL_FEATURES = no; then
3297 result=$wxUSE_ALL_FEATURES
3300 { echo "$as_me:$LINENO: result: $result" >&5
3301 echo "${ECHO_T}$result" >&6; }
3304 if test "$wxUSE_ALL_FEATURES" = "no"; then
3305 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3306 DEFAULT_wxUSE_MEDIACTRL=no
3310 if test "$wxUSE_GUI" = "yes"; then
3315 if test -z "$defaultval"; then
3316 if test x"$enablestring" = xdisable; then
3323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3324 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3325 # Check whether --enable-universal was given.
3326 if test "${enable_universal+set}" = set; then
3327 enableval=$enable_universal;
3328 if test "$enableval" = yes; then
3329 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3331 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3336 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3341 eval "$wx_cv_use_universal"
3343 if test x"$enablestring" = xdisable; then
3344 if test $wxUSE_UNIVERSAL = no; then
3350 result=$wxUSE_UNIVERSAL
3353 { echo "$as_me:$LINENO: result: $result" >&5
3354 echo "${ECHO_T}$result" >&6; }
3356 if test "$wxUSE_UNIVERSAL" = "yes"; then
3358 # Check whether --with-themes was given.
3359 if test "${with_themes+set}" = set; then
3360 withval=$with_themes; wxUNIV_THEMES="$withval"
3366 # Check whether --with-gtk was given.
3367 if test "${with_gtk+set}" = set; then
3368 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-motif was given.
3373 if test "${with_motif+set}" = set; then
3374 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-osx_carbon was given.
3379 if test "${with_osx_carbon+set}" = set; then
3380 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-osx_cocoa was given.
3385 if test "${with_osx_cocoa+set}" = set; then
3386 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-osx_iphone was given.
3391 if test "${with_osx_iphone+set}" = set; then
3392 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3396 # Check whether --with-osx was given.
3397 if test "${with_osx+set}" = set; then
3398 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3402 # Check whether --with-carbon was given.
3403 if test "${with_carbon+set}" = set; then
3404 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3408 # Check whether --with-cocoa was given.
3409 if test "${with_cocoa+set}" = set; then
3410 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3414 # Check whether --with-iphone was given.
3415 if test "${with_iphone+set}" = set; then
3416 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3420 # Check whether --with-mac was given.
3421 if test "${with_mac+set}" = set; then
3422 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3426 # Check whether --with-old_cocoa was given.
3427 if test "${with_old_cocoa+set}" = set; then
3428 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3432 # Check whether --with-wine was given.
3433 if test "${with_wine+set}" = set; then
3434 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3438 # Check whether --with-msw was given.
3439 if test "${with_msw+set}" = set; then
3440 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3444 # Check whether --with-pm was given.
3445 if test "${with_pm+set}" = set; then
3446 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3450 # Check whether --with-mgl was given.
3451 if test "${with_mgl+set}" = set; then
3452 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3456 # Check whether --with-directfb was given.
3457 if test "${with_directfb+set}" = set; then
3458 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3462 # Check whether --with-microwin was given.
3463 if test "${with_microwin+set}" = set; then
3464 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3468 # Check whether --with-x11 was given.
3469 if test "${with_x11+set}" = set; then
3470 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3476 if test -z "$defaultval"; then
3477 if test x"$enablestring" = xdisable; then
3484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3485 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3486 # Check whether --enable-nanox was given.
3487 if test "${enable_nanox+set}" = set; then
3488 enableval=$enable_nanox;
3489 if test "$enableval" = yes; then
3490 wx_cv_use_nanox='wxUSE_NANOX=yes'
3492 wx_cv_use_nanox='wxUSE_NANOX=no'
3497 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3502 eval "$wx_cv_use_nanox"
3504 if test x"$enablestring" = xdisable; then
3505 if test $wxUSE_NANOX = no; then
3514 { echo "$as_me:$LINENO: result: $result" >&5
3515 echo "${ECHO_T}$result" >&6; }
3518 # Check whether --enable-gtk2 was given.
3519 if test "${enable_gtk2+set}" = set; then
3520 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3526 if test -z "$defaultval"; then
3527 if test x"$enablestring" = xdisable; then
3534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3535 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3536 # Check whether --enable-gpe was given.
3537 if test "${enable_gpe+set}" = set; then
3538 enableval=$enable_gpe;
3539 if test "$enableval" = yes; then
3540 wx_cv_use_gpe='wxUSE_GPE=yes'
3542 wx_cv_use_gpe='wxUSE_GPE=no'
3547 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3552 eval "$wx_cv_use_gpe"
3554 if test x"$enablestring" = xdisable; then
3555 if test $wxUSE_GPE = no; then
3564 { echo "$as_me:$LINENO: result: $result" >&5
3565 echo "${ECHO_T}$result" >&6; }
3569 { echo "$as_me:$LINENO: checking for toolkit" >&5
3570 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3574 # In Wine, we need to default to MSW, not GTK or MOTIF
3575 if test "$wxUSE_WINE" = "yes"; then
3576 DEFAULT_DEFAULT_wxUSE_GTK=0
3577 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3578 DEFAULT_DEFAULT_wxUSE_MSW=1
3585 if test "$wxUSE_GUI" = "yes"; then
3587 if test "$USE_BEOS" = 1; then
3588 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3589 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3590 { (exit 1); exit 1; }; }
3593 if test "$TOOLKIT_GIVEN" = 1; then
3594 for toolkit in $ALL_TOOLKITS; do
3596 eval "value=\$${var}"
3597 if test "x$value" = "xno"; then
3599 elif test "x$value" != "x"; then
3603 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3604 eval "wx${toolkit}_VERSION=$value"
3608 for toolkit in $ALL_TOOLKITS; do
3609 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3610 eval "wxUSE_$toolkit=\$${var}"
3614 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3615 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3616 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3619 *-pc-os2_emx | *-pc-os2-emx )
3620 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3623 case "$NUM_TOOLKITS" in
3627 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3628 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3629 { (exit 1); exit 1; }; }
3632 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3633 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3634 { (exit 1); exit 1; }; }
3637 # to be removed when --disable-gtk2 isn't needed
3638 if test "x$wxUSE_GTK2" = "xyes"; then
3641 elif test "x$wxUSE_GTK2" = "xno"; then
3646 for toolkit in $ALL_TOOLKITS; do
3648 eval "value=\$${var}"
3649 if test "$value" = 1; then
3650 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3651 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3652 echo "${ECHO_T}$toolkit_echo" >&6; }
3656 if test "x$host_alias" != "x"; then
3657 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3658 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3660 { echo "$as_me:$LINENO: result: base only" >&5
3661 echo "${ECHO_T}base only" >&6; }
3666 if test "$wxUSE_OSX_CARBON" = 1 \
3667 -o "$wxUSE_OSX_COCOA" = 1 \
3668 -o "$wxUSE_OSX_IPHONE" = 1; then
3674 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3675 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3677 # Check whether --with-libpng was given.
3678 if test "${with_libpng+set}" = set; then
3679 withval=$with_libpng;
3680 if test "$withval" = yes; then
3681 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3682 elif test "$withval" = no; then
3683 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3684 elif test "$withval" = sys; then
3685 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3686 elif test "$withval" = builtin; then
3687 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3696 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3701 eval "$wx_cv_use_libpng"
3703 if test "$wxUSE_LIBPNG" = yes; then
3704 { echo "$as_me:$LINENO: result: yes" >&5
3705 echo "${ECHO_T}yes" >&6; }
3706 elif test "$wxUSE_LIBPNG" = no; then
3707 { echo "$as_me:$LINENO: result: no" >&5
3708 echo "${ECHO_T}no" >&6; }
3709 elif test "$wxUSE_LIBPNG" = sys; then
3710 { echo "$as_me:$LINENO: result: system version" >&5
3711 echo "${ECHO_T}system version" >&6; }
3712 elif test "$wxUSE_LIBPNG" = builtin; then
3713 { echo "$as_me:$LINENO: result: builtin version" >&5
3714 echo "${ECHO_T}builtin version" >&6; }
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3722 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3723 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3725 # Check whether --with-libjpeg was given.
3726 if test "${with_libjpeg+set}" = set; then
3727 withval=$with_libjpeg;
3728 if test "$withval" = yes; then
3729 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3730 elif test "$withval" = no; then
3731 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3732 elif test "$withval" = sys; then
3733 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3734 elif test "$withval" = builtin; then
3735 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3737 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3738 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3739 { (exit 1); exit 1; }; }
3744 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3749 eval "$wx_cv_use_libjpeg"
3751 if test "$wxUSE_LIBJPEG" = yes; then
3752 { echo "$as_me:$LINENO: result: yes" >&5
3753 echo "${ECHO_T}yes" >&6; }
3754 elif test "$wxUSE_LIBJPEG" = no; then
3755 { echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6; }
3757 elif test "$wxUSE_LIBJPEG" = sys; then
3758 { echo "$as_me:$LINENO: result: system version" >&5
3759 echo "${ECHO_T}system version" >&6; }
3760 elif test "$wxUSE_LIBJPEG" = builtin; then
3761 { echo "$as_me:$LINENO: result: builtin version" >&5
3762 echo "${ECHO_T}builtin version" >&6; }
3764 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3765 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3770 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3771 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3773 # Check whether --with-libtiff was given.
3774 if test "${with_libtiff+set}" = set; then
3775 withval=$with_libtiff;
3776 if test "$withval" = yes; then
3777 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3778 elif test "$withval" = no; then
3779 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3780 elif test "$withval" = sys; then
3781 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3782 elif test "$withval" = builtin; then
3783 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3786 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3787 { (exit 1); exit 1; }; }
3792 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3797 eval "$wx_cv_use_libtiff"
3799 if test "$wxUSE_LIBTIFF" = yes; then
3800 { echo "$as_me:$LINENO: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6; }
3802 elif test "$wxUSE_LIBTIFF" = no; then
3803 { echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6; }
3805 elif test "$wxUSE_LIBTIFF" = sys; then
3806 { echo "$as_me:$LINENO: result: system version" >&5
3807 echo "${ECHO_T}system version" >&6; }
3808 elif test "$wxUSE_LIBTIFF" = builtin; then
3809 { echo "$as_me:$LINENO: result: builtin version" >&5
3810 echo "${ECHO_T}builtin version" >&6; }
3812 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3813 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3814 { (exit 1); exit 1; }; }
3818 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3819 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3821 # Check whether --with-libxpm was given.
3822 if test "${with_libxpm+set}" = set; then
3823 withval=$with_libxpm;
3824 if test "$withval" = yes; then
3825 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3826 elif test "$withval" = no; then
3827 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3828 elif test "$withval" = sys; then
3829 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3830 elif test "$withval" = builtin; then
3831 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3833 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3834 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3835 { (exit 1); exit 1; }; }
3840 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3845 eval "$wx_cv_use_libxpm"
3847 if test "$wxUSE_LIBXPM" = yes; then
3848 { echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6; }
3850 elif test "$wxUSE_LIBXPM" = no; then
3851 { echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6; }
3853 elif test "$wxUSE_LIBXPM" = sys; then
3854 { echo "$as_me:$LINENO: result: system version" >&5
3855 echo "${ECHO_T}system version" >&6; }
3856 elif test "$wxUSE_LIBXPM" = builtin; then
3857 { echo "$as_me:$LINENO: result: builtin version" >&5
3858 echo "${ECHO_T}builtin version" >&6; }
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3867 defaultval=$wxUSE_ALL_FEATURES
3868 if test -z "$defaultval"; then
3869 if test x"$withstring" = xwithout; then
3875 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3876 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3878 # Check whether --with-libiconv was given.
3879 if test "${with_libiconv+set}" = set; then
3880 withval=$with_libiconv;
3881 if test "$withval" = yes; then
3882 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3884 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3889 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3894 eval "$wx_cv_use_libiconv"
3896 if test x"$withstring" = xwithout; then
3897 if test $wxUSE_LIBICONV = yes; then
3903 result=$wxUSE_LIBICONV
3906 { echo "$as_me:$LINENO: result: $result" >&5
3907 echo "${ECHO_T}$result" >&6; }
3911 defaultval=$wxUSE_ALL_FEATURES
3912 if test -z "$defaultval"; then
3913 if test x"$withstring" = xwithout; then
3919 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3920 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3922 # Check whether --with-libmspack was given.
3923 if test "${with_libmspack+set}" = set; then
3924 withval=$with_libmspack;
3925 if test "$withval" = yes; then
3926 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3928 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3933 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3938 eval "$wx_cv_use_libmspack"
3940 if test x"$withstring" = xwithout; then
3941 if test $wxUSE_LIBMSPACK = yes; then
3947 result=$wxUSE_LIBMSPACK
3950 { echo "$as_me:$LINENO: result: $result" >&5
3951 echo "${ECHO_T}$result" >&6; }
3955 defaultval=$wxUSE_ALL_FEATURES
3956 if test -z "$defaultval"; then
3957 if test x"$withstring" = xwithout; then
3963 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3964 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3966 # Check whether --with-gtkprint was given.
3967 if test "${with_gtkprint+set}" = set; then
3968 withval=$with_gtkprint;
3969 if test "$withval" = yes; then
3970 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3972 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3977 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3982 eval "$wx_cv_use_gtkprint"
3984 if test x"$withstring" = xwithout; then
3985 if test $wxUSE_GTKPRINT = yes; then
3991 result=$wxUSE_GTKPRINT
3994 { echo "$as_me:$LINENO: result: $result" >&5
3995 echo "${ECHO_T}$result" >&6; }
3999 defaultval=$wxUSE_ALL_FEATURES
4000 if test -z "$defaultval"; then
4001 if test x"$withstring" = xwithout; then
4007 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4008 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4010 # Check whether --with-gnomeprint was given.
4011 if test "${with_gnomeprint+set}" = set; then
4012 withval=$with_gnomeprint;
4013 if test "$withval" = yes; then
4014 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4016 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4021 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4026 eval "$wx_cv_use_gnomeprint"
4028 if test x"$withstring" = xwithout; then
4029 if test $wxUSE_LIBGNOMEPRINT = yes; then
4035 result=$wxUSE_LIBGNOMEPRINT
4038 { echo "$as_me:$LINENO: result: $result" >&5
4039 echo "${ECHO_T}$result" >&6; }
4043 defaultval=$wxUSE_ALL_FEATURES
4044 if test -z "$defaultval"; then
4045 if test x"$withstring" = xwithout; then
4051 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4052 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4054 # Check whether --with-gnomevfs was given.
4055 if test "${with_gnomevfs+set}" = set; then
4056 withval=$with_gnomevfs;
4057 if test "$withval" = yes; then
4058 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4060 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4065 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4070 eval "$wx_cv_use_gnomevfs"
4072 if test x"$withstring" = xwithout; then
4073 if test $wxUSE_LIBGNOMEVFS = yes; then
4079 result=$wxUSE_LIBGNOMEVFS
4082 { echo "$as_me:$LINENO: result: $result" >&5
4083 echo "${ECHO_T}$result" >&6; }
4087 defaultval=$wxUSE_ALL_FEATURES
4088 if test -z "$defaultval"; then
4089 if test x"$withstring" = xwithout; then
4095 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4096 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4098 # Check whether --with-hildon was given.
4099 if test "${with_hildon+set}" = set; then
4100 withval=$with_hildon;
4101 if test "$withval" = yes; then
4102 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4104 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4109 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4114 eval "$wx_cv_use_hildon"
4116 if test x"$withstring" = xwithout; then
4117 if test $wxUSE_LIBHILDON = yes; then
4123 result=$wxUSE_LIBHILDON
4126 { echo "$as_me:$LINENO: result: $result" >&5
4127 echo "${ECHO_T}$result" >&6; }
4131 defaultval=$wxUSE_ALL_FEATURES
4132 if test -z "$defaultval"; then
4133 if test x"$withstring" = xwithout; then
4139 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4140 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4142 # Check whether --with-opengl was given.
4143 if test "${with_opengl+set}" = set; then
4144 withval=$with_opengl;
4145 if test "$withval" = yes; then
4146 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4148 wx_cv_use_opengl='wxUSE_OPENGL=no'
4153 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4158 eval "$wx_cv_use_opengl"
4160 if test x"$withstring" = xwithout; then
4161 if test $wxUSE_OPENGL = yes; then
4167 result=$wxUSE_OPENGL
4170 { echo "$as_me:$LINENO: result: $result" >&5
4171 echo "${ECHO_T}$result" >&6; }
4178 defaultval=$wxUSE_ALL_FEATURES
4179 if test -z "$defaultval"; then
4180 if test x"$withstring" = xwithout; then
4186 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4187 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4189 # Check whether --with-dmalloc was given.
4190 if test "${with_dmalloc+set}" = set; then
4191 withval=$with_dmalloc;
4192 if test "$withval" = yes; then
4193 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4195 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4200 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4205 eval "$wx_cv_use_dmalloc"
4207 if test x"$withstring" = xwithout; then
4208 if test $wxUSE_DMALLOC = yes; then
4214 result=$wxUSE_DMALLOC
4217 { echo "$as_me:$LINENO: result: $result" >&5
4218 echo "${ECHO_T}$result" >&6; }
4222 defaultval=$wxUSE_ALL_FEATURES
4223 if test -z "$defaultval"; then
4224 if test x"$withstring" = xwithout; then
4230 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4231 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4233 # Check whether --with-sdl was given.
4234 if test "${with_sdl+set}" = set; then
4236 if test "$withval" = yes; then
4237 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4239 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4244 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4249 eval "$wx_cv_use_sdl"
4251 if test x"$withstring" = xwithout; then
4252 if test $wxUSE_LIBSDL = yes; then
4258 result=$wxUSE_LIBSDL
4261 { echo "$as_me:$LINENO: result: $result" >&5
4262 echo "${ECHO_T}$result" >&6; }
4265 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4266 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4268 # Check whether --with-regex was given.
4269 if test "${with_regex+set}" = set; then
4270 withval=$with_regex;
4271 if test "$withval" = yes; then
4272 wx_cv_use_regex='wxUSE_REGEX=yes'
4273 elif test "$withval" = no; then
4274 wx_cv_use_regex='wxUSE_REGEX=no'
4275 elif test "$withval" = sys; then
4276 wx_cv_use_regex='wxUSE_REGEX=sys'
4277 elif test "$withval" = builtin; then
4278 wx_cv_use_regex='wxUSE_REGEX=builtin'
4280 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4281 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4282 { (exit 1); exit 1; }; }
4287 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4292 eval "$wx_cv_use_regex"
4294 if test "$wxUSE_REGEX" = yes; then
4295 { echo "$as_me:$LINENO: result: yes" >&5
4296 echo "${ECHO_T}yes" >&6; }
4297 elif test "$wxUSE_REGEX" = no; then
4298 { echo "$as_me:$LINENO: result: no" >&5
4299 echo "${ECHO_T}no" >&6; }
4300 elif test "$wxUSE_REGEX" = sys; then
4301 { echo "$as_me:$LINENO: result: system version" >&5
4302 echo "${ECHO_T}system version" >&6; }
4303 elif test "$wxUSE_REGEX" = builtin; then
4304 { echo "$as_me:$LINENO: result: builtin version" >&5
4305 echo "${ECHO_T}builtin version" >&6; }
4307 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4308 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4309 { (exit 1); exit 1; }; }
4313 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4314 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4316 # Check whether --with-zlib was given.
4317 if test "${with_zlib+set}" = set; then
4319 if test "$withval" = yes; then
4320 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4321 elif test "$withval" = no; then
4322 wx_cv_use_zlib='wxUSE_ZLIB=no'
4323 elif test "$withval" = sys; then
4324 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4325 elif test "$withval" = builtin; then
4326 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4328 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4329 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4330 { (exit 1); exit 1; }; }
4335 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4340 eval "$wx_cv_use_zlib"
4342 if test "$wxUSE_ZLIB" = yes; then
4343 { echo "$as_me:$LINENO: result: yes" >&5
4344 echo "${ECHO_T}yes" >&6; }
4345 elif test "$wxUSE_ZLIB" = no; then
4346 { echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6; }
4348 elif test "$wxUSE_ZLIB" = sys; then
4349 { echo "$as_me:$LINENO: result: system version" >&5
4350 echo "${ECHO_T}system version" >&6; }
4351 elif test "$wxUSE_ZLIB" = builtin; then
4352 { echo "$as_me:$LINENO: result: builtin version" >&5
4353 echo "${ECHO_T}builtin version" >&6; }
4355 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4356 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4357 { (exit 1); exit 1; }; }
4361 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4362 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4364 # Check whether --with-expat was given.
4365 if test "${with_expat+set}" = set; then
4366 withval=$with_expat;
4367 if test "$withval" = yes; then
4368 wx_cv_use_expat='wxUSE_EXPAT=yes'
4369 elif test "$withval" = no; then
4370 wx_cv_use_expat='wxUSE_EXPAT=no'
4371 elif test "$withval" = sys; then
4372 wx_cv_use_expat='wxUSE_EXPAT=sys'
4373 elif test "$withval" = builtin; then
4374 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4376 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4377 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4378 { (exit 1); exit 1; }; }
4383 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4388 eval "$wx_cv_use_expat"
4390 if test "$wxUSE_EXPAT" = yes; then
4391 { echo "$as_me:$LINENO: result: yes" >&5
4392 echo "${ECHO_T}yes" >&6; }
4393 elif test "$wxUSE_EXPAT" = no; then
4394 { echo "$as_me:$LINENO: result: no" >&5
4395 echo "${ECHO_T}no" >&6; }
4396 elif test "$wxUSE_EXPAT" = sys; then
4397 { echo "$as_me:$LINENO: result: system version" >&5
4398 echo "${ECHO_T}system version" >&6; }
4399 elif test "$wxUSE_EXPAT" = builtin; then
4400 { echo "$as_me:$LINENO: result: builtin version" >&5
4401 echo "${ECHO_T}builtin version" >&6; }
4403 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4404 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4405 { (exit 1); exit 1; }; }
4409 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4410 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4412 # Check whether --with-macosx-sdk was given.
4413 if test "${with_macosx_sdk+set}" = set; then
4414 withval=$with_macosx_sdk;
4415 wxUSE_MACOSX_SDK=$withval
4416 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4420 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4421 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4423 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4424 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4426 # Check whether --with-macosx-version-min was given.
4427 if test "${with_macosx_version_min+set}" = set; then
4428 withval=$with_macosx_version_min;
4429 wxUSE_MACOSX_VERSION_MIN=$withval
4430 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4434 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4435 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4438 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4439 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4440 # Check whether --enable-debug was given.
4441 if test "${enable_debug+set}" = set; then
4442 enableval=$enable_debug;
4443 if test "$enableval" = yes; then
4445 elif test "$enableval" = no; then
4447 elif test "$enableval" = max; then
4449 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4451 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4452 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4453 { (exit 1); exit 1; }; }
4462 case "$wxUSE_DEBUG" in
4464 DEFAULT_wxUSE_DEBUG_FLAG=yes
4465 DEFAULT_wxUSE_DEBUG_INFO=yes
4467 DEFAULT_wxUSE_OPTIMISE=no
4471 DEFAULT_wxUSE_DEBUG_FLAG=no
4472 DEFAULT_wxUSE_DEBUG_INFO=no
4476 DEFAULT_wxUSE_DEBUG_FLAG=yes
4477 DEFAULT_wxUSE_DEBUG_INFO=no
4482 enablestring=disable
4484 if test -z "$defaultval"; then
4485 if test x"$enablestring" = xdisable; then
4492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4494 # Check whether --enable-debug_flag was given.
4495 if test "${enable_debug_flag+set}" = set; then
4496 enableval=$enable_debug_flag;
4497 if test "$enableval" = yes; then
4498 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4500 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4505 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4510 eval "$wx_cv_use_debug_flag"
4512 if test x"$enablestring" = xdisable; then
4513 if test $wxUSE_DEBUG_FLAG = no; then
4519 result=$wxUSE_DEBUG_FLAG
4522 { echo "$as_me:$LINENO: result: $result" >&5
4523 echo "${ECHO_T}$result" >&6; }
4528 if test -z "$defaultval"; then
4529 if test x"$enablestring" = xdisable; then
4536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4537 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4538 # Check whether --enable-debug_info was given.
4539 if test "${enable_debug_info+set}" = set; then
4540 enableval=$enable_debug_info;
4541 if test "$enableval" = yes; then
4542 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4544 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4549 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4554 eval "$wx_cv_use_debug_info"
4556 if test x"$enablestring" = xdisable; then
4557 if test $wxUSE_DEBUG_INFO = no; then
4563 result=$wxUSE_DEBUG_INFO
4566 { echo "$as_me:$LINENO: result: $result" >&5
4567 echo "${ECHO_T}$result" >&6; }
4574 if test -z "$defaultval"; then
4575 if test x"$enablestring" = xdisable; then
4582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4584 # Check whether --enable-debug_gdb was given.
4585 if test "${enable_debug_gdb+set}" = set; then
4586 enableval=$enable_debug_gdb;
4587 if test "$enableval" = yes; then
4588 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4590 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4595 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4600 eval "$wx_cv_use_debug_gdb"
4602 if test x"$enablestring" = xdisable; then
4603 if test $wxUSE_DEBUG_GDB = no; then
4609 result=$wxUSE_DEBUG_GDB
4612 { echo "$as_me:$LINENO: result: $result" >&5
4613 echo "${ECHO_T}$result" >&6; }
4618 if test -z "$defaultval"; then
4619 if test x"$enablestring" = xdisable; then
4626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4628 # Check whether --enable-debug_cntxt was given.
4629 if test "${enable_debug_cntxt+set}" = set; then
4630 enableval=$enable_debug_cntxt;
4631 if test "$enableval" = yes; then
4632 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4634 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4639 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4644 eval "$wx_cv_use_debug_cntxt"
4646 if test x"$enablestring" = xdisable; then
4647 if test $wxUSE_DEBUG_CONTEXT = no; then
4653 result=$wxUSE_DEBUG_CONTEXT
4656 { echo "$as_me:$LINENO: result: $result" >&5
4657 echo "${ECHO_T}$result" >&6; }
4662 if test -z "$defaultval"; then
4663 if test x"$enablestring" = xdisable; then
4670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4672 # Check whether --enable-mem_tracing was given.
4673 if test "${enable_mem_tracing+set}" = set; then
4674 enableval=$enable_mem_tracing;
4675 if test "$enableval" = yes; then
4676 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4678 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4683 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4688 eval "$wx_cv_use_mem_tracing"
4690 if test x"$enablestring" = xdisable; then
4691 if test $wxUSE_MEM_TRACING = no; then
4697 result=$wxUSE_MEM_TRACING
4700 { echo "$as_me:$LINENO: result: $result" >&5
4701 echo "${ECHO_T}$result" >&6; }
4706 enablestring=disable
4708 if test -z "$defaultval"; then
4709 if test x"$enablestring" = xdisable; then
4716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4717 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4718 # Check whether --enable-shared was given.
4719 if test "${enable_shared+set}" = set; then
4720 enableval=$enable_shared;
4721 if test "$enableval" = yes; then
4722 wx_cv_use_shared='wxUSE_SHARED=yes'
4724 wx_cv_use_shared='wxUSE_SHARED=no'
4729 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4734 eval "$wx_cv_use_shared"
4736 if test x"$enablestring" = xdisable; then
4737 if test $wxUSE_SHARED = no; then
4743 result=$wxUSE_SHARED
4746 { echo "$as_me:$LINENO: result: $result" >&5
4747 echo "${ECHO_T}$result" >&6; }
4752 if test -z "$defaultval"; then
4753 if test x"$enablestring" = xdisable; then
4760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4762 # Check whether --enable-stl was given.
4763 if test "${enable_stl+set}" = set; then
4764 enableval=$enable_stl;
4765 if test "$enableval" = yes; then
4766 wx_cv_use_stl='wxUSE_STL=yes'
4768 wx_cv_use_stl='wxUSE_STL=no'
4773 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4778 eval "$wx_cv_use_stl"
4780 if test x"$enablestring" = xdisable; then
4781 if test $wxUSE_STL = no; then
4790 { echo "$as_me:$LINENO: result: $result" >&5
4791 echo "${ECHO_T}$result" >&6; }
4793 if test "$wxUSE_STL" = "yes"; then
4794 DEFAULT_wxUSE_STD_CONTAINERS=yes
4795 DEFAULT_wxUSE_STD_IOSTREAM=yes
4796 DEFAULT_wxUSE_STD_STRING=yes
4801 if test -z "$defaultval"; then
4802 if test x"$enablestring" = xdisable; then
4809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4810 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4811 # Check whether --enable-std_containers was given.
4812 if test "${enable_std_containers+set}" = set; then
4813 enableval=$enable_std_containers;
4814 if test "$enableval" = yes; then
4815 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4817 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4822 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4827 eval "$wx_cv_use_std_containers"
4829 if test x"$enablestring" = xdisable; then
4830 if test $wxUSE_STD_CONTAINERS = no; then
4836 result=$wxUSE_STD_CONTAINERS
4839 { echo "$as_me:$LINENO: result: $result" >&5
4840 echo "${ECHO_T}$result" >&6; }
4845 if test -z "$defaultval"; then
4846 if test x"$enablestring" = xdisable; then
4853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4854 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4855 # Check whether --enable-std_iostreams was given.
4856 if test "${enable_std_iostreams+set}" = set; then
4857 enableval=$enable_std_iostreams;
4858 if test "$enableval" = yes; then
4859 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4861 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4866 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4871 eval "$wx_cv_use_std_iostreams"
4873 if test x"$enablestring" = xdisable; then
4874 if test $wxUSE_STD_IOSTREAM = no; then
4880 result=$wxUSE_STD_IOSTREAM
4883 { echo "$as_me:$LINENO: result: $result" >&5
4884 echo "${ECHO_T}$result" >&6; }
4889 if test -z "$defaultval"; then
4890 if test x"$enablestring" = xdisable; then
4897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4899 # Check whether --enable-std_string was given.
4900 if test "${enable_std_string+set}" = set; then
4901 enableval=$enable_std_string;
4902 if test "$enableval" = yes; then
4903 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4905 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4910 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4915 eval "$wx_cv_use_std_string"
4917 if test x"$enablestring" = xdisable; then
4918 if test $wxUSE_STD_STRING = no; then
4924 result=$wxUSE_STD_STRING
4927 { echo "$as_me:$LINENO: result: $result" >&5
4928 echo "${ECHO_T}$result" >&6; }
4933 if test -z "$defaultval"; then
4934 if test x"$enablestring" = xdisable; then
4941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4942 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4943 # Check whether --enable-std_string_conv_in_wxstring was given.
4944 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4945 enableval=$enable_std_string_conv_in_wxstring;
4946 if test "$enableval" = yes; then
4947 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4949 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4954 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4959 eval "$wx_cv_use_std_string_conv_in_wxstring"
4961 if test x"$enablestring" = xdisable; then
4962 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4968 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4971 { echo "$as_me:$LINENO: result: $result" >&5
4972 echo "${ECHO_T}$result" >&6; }
4975 enablestring=disable
4977 if test -z "$defaultval"; then
4978 if test x"$enablestring" = xdisable; then
4985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4986 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4987 # Check whether --enable-unicode was given.
4988 if test "${enable_unicode+set}" = set; then
4989 enableval=$enable_unicode;
4990 if test "$enableval" = yes; then
4991 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4993 wx_cv_use_unicode='wxUSE_UNICODE=no'
4998 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5003 eval "$wx_cv_use_unicode"
5005 if test x"$enablestring" = xdisable; then
5006 if test $wxUSE_UNICODE = no; then
5012 result=$wxUSE_UNICODE
5015 { echo "$as_me:$LINENO: result: $result" >&5
5016 echo "${ECHO_T}$result" >&6; }
5021 if test -z "$defaultval"; then
5022 if test x"$enablestring" = xdisable; then
5029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5031 # Check whether --enable-mslu was given.
5032 if test "${enable_mslu+set}" = set; then
5033 enableval=$enable_mslu;
5034 if test "$enableval" = yes; then
5035 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5037 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5042 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5047 eval "$wx_cv_use_mslu"
5049 if test x"$enablestring" = xdisable; then
5050 if test $wxUSE_UNICODE_MSLU = no; then
5056 result=$wxUSE_UNICODE_MSLU
5059 { echo "$as_me:$LINENO: result: $result" >&5
5060 echo "${ECHO_T}$result" >&6; }
5064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5065 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5066 # Check whether --enable-utf8 was given.
5067 if test "${enable_utf8+set}" = set; then
5068 enableval=$enable_utf8;
5069 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5073 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5078 eval "$wx_cv_use_utf8"
5080 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5081 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5086 if test -z "$defaultval"; then
5087 if test x"$enablestring" = xdisable; then
5094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5095 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5096 # Check whether --enable-utf8only was given.
5097 if test "${enable_utf8only+set}" = set; then
5098 enableval=$enable_utf8only;
5099 if test "$enableval" = yes; then
5100 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5102 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5107 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5112 eval "$wx_cv_use_utf8only"
5114 if test x"$enablestring" = xdisable; then
5115 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5121 result=$wxUSE_UNICODE_UTF8_LOCALE
5124 { echo "$as_me:$LINENO: result: $result" >&5
5125 echo "${ECHO_T}$result" >&6; }
5130 if test -z "$defaultval"; then
5131 if test x"$enablestring" = xdisable; then
5138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5139 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5140 # Check whether --enable-extended_rtti was given.
5141 if test "${enable_extended_rtti+set}" = set; then
5142 enableval=$enable_extended_rtti;
5143 if test "$enableval" = yes; then
5144 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5146 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5151 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5156 eval "$wx_cv_use_extended_rtti"
5158 if test x"$enablestring" = xdisable; then
5159 if test $wxUSE_EXTENDED_RTTI = no; then
5165 result=$wxUSE_EXTENDED_RTTI
5168 { echo "$as_me:$LINENO: result: $result" >&5
5169 echo "${ECHO_T}$result" >&6; }
5171 if test "$USE_OS2" = 1; then
5172 DEFAULT_wxUSE_OMF=no
5176 if test -z "$defaultval"; then
5177 if test x"$enablestring" = xdisable; then
5184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5186 # Check whether --enable-omf was given.
5187 if test "${enable_omf+set}" = set; then
5188 enableval=$enable_omf;
5189 if test "$enableval" = yes; then
5190 wx_cv_use_omf='wxUSE_OMF=yes'
5192 wx_cv_use_omf='wxUSE_OMF=no'
5197 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5202 eval "$wx_cv_use_omf"
5204 if test x"$enablestring" = xdisable; then
5205 if test $wxUSE_OMF = no; then
5214 { echo "$as_me:$LINENO: result: $result" >&5
5215 echo "${ECHO_T}$result" >&6; }
5220 enablestring=disable
5222 if test -z "$defaultval"; then
5223 if test x"$enablestring" = xdisable; then
5230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5232 # Check whether --enable-optimise was given.
5233 if test "${enable_optimise+set}" = set; then
5234 enableval=$enable_optimise;
5235 if test "$enableval" = yes; then
5236 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5238 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5243 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5248 eval "$wx_cv_use_optimise"
5250 if test x"$enablestring" = xdisable; then
5251 if test $wxUSE_OPTIMISE = no; then
5257 result=$wxUSE_OPTIMISE
5260 { echo "$as_me:$LINENO: result: $result" >&5
5261 echo "${ECHO_T}$result" >&6; }
5267 if test -z "$defaultval"; then
5268 if test x"$enablestring" = xdisable; then
5275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5276 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5277 # Check whether --enable-profile was given.
5278 if test "${enable_profile+set}" = set; then
5279 enableval=$enable_profile;
5280 if test "$enableval" = yes; then
5281 wx_cv_use_profile='wxUSE_PROFILE=yes'
5283 wx_cv_use_profile='wxUSE_PROFILE=no'
5288 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5293 eval "$wx_cv_use_profile"
5295 if test x"$enablestring" = xdisable; then
5296 if test $wxUSE_PROFILE = no; then
5302 result=$wxUSE_PROFILE
5305 { echo "$as_me:$LINENO: result: $result" >&5
5306 echo "${ECHO_T}$result" >&6; }
5311 if test -z "$defaultval"; then
5312 if test x"$enablestring" = xdisable; then
5319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5320 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5321 # Check whether --enable-no_rtti was given.
5322 if test "${enable_no_rtti+set}" = set; then
5323 enableval=$enable_no_rtti;
5324 if test "$enableval" = yes; then
5325 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5327 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5332 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5337 eval "$wx_cv_use_no_rtti"
5339 if test x"$enablestring" = xdisable; then
5340 if test $wxUSE_NO_RTTI = no; then
5346 result=$wxUSE_NO_RTTI
5349 { echo "$as_me:$LINENO: result: $result" >&5
5350 echo "${ECHO_T}$result" >&6; }
5355 if test -z "$defaultval"; then
5356 if test x"$enablestring" = xdisable; then
5363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5364 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5365 # Check whether --enable-no_exceptions was given.
5366 if test "${enable_no_exceptions+set}" = set; then
5367 enableval=$enable_no_exceptions;
5368 if test "$enableval" = yes; then
5369 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5371 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5376 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5381 eval "$wx_cv_use_no_exceptions"
5383 if test x"$enablestring" = xdisable; then
5384 if test $wxUSE_NO_EXCEPTIONS = no; then
5390 result=$wxUSE_NO_EXCEPTIONS
5393 { echo "$as_me:$LINENO: result: $result" >&5
5394 echo "${ECHO_T}$result" >&6; }
5399 if test -z "$defaultval"; then
5400 if test x"$enablestring" = xdisable; then
5407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5408 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5409 # Check whether --enable-permissive was given.
5410 if test "${enable_permissive+set}" = set; then
5411 enableval=$enable_permissive;
5412 if test "$enableval" = yes; then
5413 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5415 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5420 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5425 eval "$wx_cv_use_permissive"
5427 if test x"$enablestring" = xdisable; then
5428 if test $wxUSE_PERMISSIVE = no; then
5434 result=$wxUSE_PERMISSIVE
5437 { echo "$as_me:$LINENO: result: $result" >&5
5438 echo "${ECHO_T}$result" >&6; }
5443 if test -z "$defaultval"; then
5444 if test x"$enablestring" = xdisable; then
5451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5453 # Check whether --enable-no_deps was given.
5454 if test "${enable_no_deps+set}" = set; then
5455 enableval=$enable_no_deps;
5456 if test "$enableval" = yes; then
5457 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5459 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5464 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5469 eval "$wx_cv_use_no_deps"
5471 if test x"$enablestring" = xdisable; then
5472 if test $wxUSE_NO_DEPS = no; then
5478 result=$wxUSE_NO_DEPS
5481 { echo "$as_me:$LINENO: result: $result" >&5
5482 echo "${ECHO_T}$result" >&6; }
5485 enablestring=disable
5487 if test -z "$defaultval"; then
5488 if test x"$enablestring" = xdisable; then
5495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5496 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5497 # Check whether --enable-vararg_macros was given.
5498 if test "${enable_vararg_macros+set}" = set; then
5499 enableval=$enable_vararg_macros;
5500 if test "$enableval" = yes; then
5501 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5503 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5508 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5513 eval "$wx_cv_use_vararg_macros"
5515 if test x"$enablestring" = xdisable; then
5516 if test $wxUSE_VARARG_MACROS = no; then
5522 result=$wxUSE_VARARG_MACROS
5525 { echo "$as_me:$LINENO: result: $result" >&5
5526 echo "${ECHO_T}$result" >&6; }
5531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5533 # Check whether --enable-universal_binary was given.
5534 if test "${enable_universal_binary+set}" = set; then
5535 enableval=$enable_universal_binary;
5536 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5540 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5545 eval "$wx_cv_use_universal_binary"
5547 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5548 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5554 # Check whether --enable-macosx_arch was given.
5555 if test "${enable_macosx_arch+set}" = set; then
5556 enableval=$enable_macosx_arch;
5557 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5561 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5566 eval "$wx_cv_use_macosx_arch"
5568 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5569 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5575 if test -z "$defaultval"; then
5576 if test x"$enablestring" = xdisable; then
5583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5585 # Check whether --enable-compat26 was given.
5586 if test "${enable_compat26+set}" = set; then
5587 enableval=$enable_compat26;
5588 if test "$enableval" = yes; then
5589 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5591 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5596 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5601 eval "$wx_cv_use_compat26"
5603 if test x"$enablestring" = xdisable; then
5604 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5610 result=$WXWIN_COMPATIBILITY_2_6
5613 { echo "$as_me:$LINENO: result: $result" >&5
5614 echo "${ECHO_T}$result" >&6; }
5617 enablestring=disable
5619 if test -z "$defaultval"; then
5620 if test x"$enablestring" = xdisable; then
5627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5628 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5629 # Check whether --enable-compat28 was given.
5630 if test "${enable_compat28+set}" = set; then
5631 enableval=$enable_compat28;
5632 if test "$enableval" = yes; then
5633 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5635 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5640 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5645 eval "$wx_cv_use_compat28"
5647 if test x"$enablestring" = xdisable; then
5648 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5654 result=$WXWIN_COMPATIBILITY_2_8
5657 { echo "$as_me:$LINENO: result: $result" >&5
5658 echo "${ECHO_T}$result" >&6; }
5662 enablestring=disable
5664 if test -z "$defaultval"; then
5665 if test x"$enablestring" = xdisable; then
5672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5674 # Check whether --enable-rpath was given.
5675 if test "${enable_rpath+set}" = set; then
5676 enableval=$enable_rpath;
5677 if test "$enableval" = yes; then
5678 wx_cv_use_rpath='wxUSE_RPATH=yes'
5680 wx_cv_use_rpath='wxUSE_RPATH=no'
5685 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5690 eval "$wx_cv_use_rpath"
5692 if test x"$enablestring" = xdisable; then
5693 if test $wxUSE_RPATH = no; then
5702 { echo "$as_me:$LINENO: result: $result" >&5
5703 echo "${ECHO_T}$result" >&6; }
5709 if test -z "$defaultval"; then
5710 if test x"$enablestring" = xdisable; then
5717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5719 # Check whether --enable-objc_uniquifying was given.
5720 if test "${enable_objc_uniquifying+set}" = set; then
5721 enableval=$enable_objc_uniquifying;
5722 if test "$enableval" = yes; then
5723 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5725 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5730 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5735 eval "$wx_cv_use_objc_uniquifying"
5737 if test x"$enablestring" = xdisable; then
5738 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5744 result=$wxUSE_OBJC_UNIQUIFYING
5747 { echo "$as_me:$LINENO: result: $result" >&5
5748 echo "${ECHO_T}$result" >&6; }
5752 enablestring=disable
5754 if test -z "$defaultval"; then
5755 if test x"$enablestring" = xdisable; then
5762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5764 # Check whether --enable-visibility was given.
5765 if test "${enable_visibility+set}" = set; then
5766 enableval=$enable_visibility;
5767 if test "$enableval" = yes; then
5768 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5770 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5775 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5780 eval "$wx_cv_use_visibility"
5782 if test x"$enablestring" = xdisable; then
5783 if test $wxUSE_VISIBILITY = no; then
5789 result=$wxUSE_VISIBILITY
5792 { echo "$as_me:$LINENO: result: $result" >&5
5793 echo "${ECHO_T}$result" >&6; }
5796 enablestring=disable
5798 if test -z "$defaultval"; then
5799 if test x"$enablestring" = xdisable; then
5806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5808 # Check whether --enable-tls was given.
5809 if test "${enable_tls+set}" = set; then
5810 enableval=$enable_tls;
5811 if test "$enableval" = yes; then
5812 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5814 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5819 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5824 eval "$wx_cv_use_tls"
5826 if test x"$enablestring" = xdisable; then
5827 if test $wxUSE_COMPILER_TLS = no; then
5833 result=$wxUSE_COMPILER_TLS
5836 { echo "$as_me:$LINENO: result: $result" >&5
5837 echo "${ECHO_T}$result" >&6; }
5843 defaultval=$wxUSE_ALL_FEATURES
5844 if test -z "$defaultval"; then
5845 if test x"$enablestring" = xdisable; then
5852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5853 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5854 # Check whether --enable-intl was given.
5855 if test "${enable_intl+set}" = set; then
5856 enableval=$enable_intl;
5857 if test "$enableval" = yes; then
5858 wx_cv_use_intl='wxUSE_INTL=yes'
5860 wx_cv_use_intl='wxUSE_INTL=no'
5865 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5870 eval "$wx_cv_use_intl"
5872 if test x"$enablestring" = xdisable; then
5873 if test $wxUSE_INTL = no; then
5882 { echo "$as_me:$LINENO: result: $result" >&5
5883 echo "${ECHO_T}$result" >&6; }
5887 defaultval=$wxUSE_ALL_FEATURES
5888 if test -z "$defaultval"; then
5889 if test x"$enablestring" = xdisable; then
5896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5897 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5898 # Check whether --enable-xlocale was given.
5899 if test "${enable_xlocale+set}" = set; then
5900 enableval=$enable_xlocale;
5901 if test "$enableval" = yes; then
5902 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5904 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5909 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5914 eval "$wx_cv_use_xlocale"
5916 if test x"$enablestring" = xdisable; then
5917 if test $wxUSE_XLOCALE = no; then
5923 result=$wxUSE_XLOCALE
5926 { echo "$as_me:$LINENO: result: $result" >&5
5927 echo "${ECHO_T}$result" >&6; }
5931 defaultval=$wxUSE_ALL_FEATURES
5932 if test -z "$defaultval"; then
5933 if test x"$enablestring" = xdisable; then
5940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5941 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5942 # Check whether --enable-config was given.
5943 if test "${enable_config+set}" = set; then
5944 enableval=$enable_config;
5945 if test "$enableval" = yes; then
5946 wx_cv_use_config='wxUSE_CONFIG=yes'
5948 wx_cv_use_config='wxUSE_CONFIG=no'
5953 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5958 eval "$wx_cv_use_config"
5960 if test x"$enablestring" = xdisable; then
5961 if test $wxUSE_CONFIG = no; then
5967 result=$wxUSE_CONFIG
5970 { echo "$as_me:$LINENO: result: $result" >&5
5971 echo "${ECHO_T}$result" >&6; }
5976 defaultval=$wxUSE_ALL_FEATURES
5977 if test -z "$defaultval"; then
5978 if test x"$enablestring" = xdisable; then
5985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5987 # Check whether --enable-protocols was given.
5988 if test "${enable_protocols+set}" = set; then
5989 enableval=$enable_protocols;
5990 if test "$enableval" = yes; then
5991 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5993 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5998 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6003 eval "$wx_cv_use_protocols"
6005 if test x"$enablestring" = xdisable; then
6006 if test $wxUSE_PROTOCOL = no; then
6012 result=$wxUSE_PROTOCOL
6015 { echo "$as_me:$LINENO: result: $result" >&5
6016 echo "${ECHO_T}$result" >&6; }
6020 defaultval=$wxUSE_ALL_FEATURES
6021 if test -z "$defaultval"; then
6022 if test x"$enablestring" = xdisable; then
6029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6031 # Check whether --enable-ftp was given.
6032 if test "${enable_ftp+set}" = set; then
6033 enableval=$enable_ftp;
6034 if test "$enableval" = yes; then
6035 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6037 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6042 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6047 eval "$wx_cv_use_ftp"
6049 if test x"$enablestring" = xdisable; then
6050 if test $wxUSE_PROTOCOL_FTP = no; then
6056 result=$wxUSE_PROTOCOL_FTP
6059 { echo "$as_me:$LINENO: result: $result" >&5
6060 echo "${ECHO_T}$result" >&6; }
6064 defaultval=$wxUSE_ALL_FEATURES
6065 if test -z "$defaultval"; then
6066 if test x"$enablestring" = xdisable; then
6073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6075 # Check whether --enable-http was given.
6076 if test "${enable_http+set}" = set; then
6077 enableval=$enable_http;
6078 if test "$enableval" = yes; then
6079 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6081 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6086 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6091 eval "$wx_cv_use_http"
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_PROTOCOL_HTTP = no; then
6100 result=$wxUSE_PROTOCOL_HTTP
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6108 defaultval=$wxUSE_ALL_FEATURES
6109 if test -z "$defaultval"; then
6110 if test x"$enablestring" = xdisable; then
6117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6118 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6119 # Check whether --enable-fileproto was given.
6120 if test "${enable_fileproto+set}" = set; then
6121 enableval=$enable_fileproto;
6122 if test "$enableval" = yes; then
6123 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6125 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6130 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6135 eval "$wx_cv_use_fileproto"
6137 if test x"$enablestring" = xdisable; then
6138 if test $wxUSE_PROTOCOL_FILE = no; then
6144 result=$wxUSE_PROTOCOL_FILE
6147 { echo "$as_me:$LINENO: result: $result" >&5
6148 echo "${ECHO_T}$result" >&6; }
6152 defaultval=$wxUSE_ALL_FEATURES
6153 if test -z "$defaultval"; then
6154 if test x"$enablestring" = xdisable; then
6161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6162 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6163 # Check whether --enable-sockets was given.
6164 if test "${enable_sockets+set}" = set; then
6165 enableval=$enable_sockets;
6166 if test "$enableval" = yes; then
6167 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6169 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6174 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6179 eval "$wx_cv_use_sockets"
6181 if test x"$enablestring" = xdisable; then
6182 if test $wxUSE_SOCKETS = no; then
6188 result=$wxUSE_SOCKETS
6191 { echo "$as_me:$LINENO: result: $result" >&5
6192 echo "${ECHO_T}$result" >&6; }
6196 defaultval=$wxUSE_ALL_FEATURES
6197 if test -z "$defaultval"; then
6198 if test x"$enablestring" = xdisable; then
6205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6206 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6207 # Check whether --enable-ipv6 was given.
6208 if test "${enable_ipv6+set}" = set; then
6209 enableval=$enable_ipv6;
6210 if test "$enableval" = yes; then
6211 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6213 wx_cv_use_ipv6='wxUSE_IPV6=no'
6218 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6223 eval "$wx_cv_use_ipv6"
6225 if test x"$enablestring" = xdisable; then
6226 if test $wxUSE_IPV6 = no; then
6235 { echo "$as_me:$LINENO: result: $result" >&5
6236 echo "${ECHO_T}$result" >&6; }
6240 defaultval=$wxUSE_ALL_FEATURES
6241 if test -z "$defaultval"; then
6242 if test x"$enablestring" = xdisable; then
6249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6251 # Check whether --enable-ole was given.
6252 if test "${enable_ole+set}" = set; then
6253 enableval=$enable_ole;
6254 if test "$enableval" = yes; then
6255 wx_cv_use_ole='wxUSE_OLE=yes'
6257 wx_cv_use_ole='wxUSE_OLE=no'
6262 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6267 eval "$wx_cv_use_ole"
6269 if test x"$enablestring" = xdisable; then
6270 if test $wxUSE_OLE = no; then
6279 { echo "$as_me:$LINENO: result: $result" >&5
6280 echo "${ECHO_T}$result" >&6; }
6284 defaultval=$wxUSE_ALL_FEATURES
6285 if test -z "$defaultval"; then
6286 if test x"$enablestring" = xdisable; then
6293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6294 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6295 # Check whether --enable-dataobj was given.
6296 if test "${enable_dataobj+set}" = set; then
6297 enableval=$enable_dataobj;
6298 if test "$enableval" = yes; then
6299 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6301 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6306 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6311 eval "$wx_cv_use_dataobj"
6313 if test x"$enablestring" = xdisable; then
6314 if test $wxUSE_DATAOBJ = no; then
6320 result=$wxUSE_DATAOBJ
6323 { echo "$as_me:$LINENO: result: $result" >&5
6324 echo "${ECHO_T}$result" >&6; }
6329 defaultval=$wxUSE_ALL_FEATURES
6330 if test -z "$defaultval"; then
6331 if test x"$enablestring" = xdisable; then
6338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6339 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6340 # Check whether --enable-ipc was given.
6341 if test "${enable_ipc+set}" = set; then
6342 enableval=$enable_ipc;
6343 if test "$enableval" = yes; then
6344 wx_cv_use_ipc='wxUSE_IPC=yes'
6346 wx_cv_use_ipc='wxUSE_IPC=no'
6351 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6356 eval "$wx_cv_use_ipc"
6358 if test x"$enablestring" = xdisable; then
6359 if test $wxUSE_IPC = no; then
6368 { echo "$as_me:$LINENO: result: $result" >&5
6369 echo "${ECHO_T}$result" >&6; }
6374 defaultval=$wxUSE_ALL_FEATURES
6375 if test -z "$defaultval"; then
6376 if test x"$enablestring" = xdisable; then
6383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6385 # Check whether --enable-baseevtloop was given.
6386 if test "${enable_baseevtloop+set}" = set; then
6387 enableval=$enable_baseevtloop;
6388 if test "$enableval" = yes; then
6389 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6391 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6396 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6401 eval "$wx_cv_use_baseevtloop"
6403 if test x"$enablestring" = xdisable; then
6404 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6410 result=$wxUSE_CONSOLE_EVENTLOOP
6413 { echo "$as_me:$LINENO: result: $result" >&5
6414 echo "${ECHO_T}$result" >&6; }
6418 defaultval=$wxUSE_ALL_FEATURES
6419 if test -z "$defaultval"; then
6420 if test x"$enablestring" = xdisable; then
6427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6429 # Check whether --enable-epollloop was given.
6430 if test "${enable_epollloop+set}" = set; then
6431 enableval=$enable_epollloop;
6432 if test "$enableval" = yes; then
6433 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6435 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6440 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6445 eval "$wx_cv_use_epollloop"
6447 if test x"$enablestring" = xdisable; then
6448 if test $wxUSE_EPOLL_DISPATCHER = no; then
6454 result=$wxUSE_EPOLL_DISPATCHER
6457 { echo "$as_me:$LINENO: result: $result" >&5
6458 echo "${ECHO_T}$result" >&6; }
6462 defaultval=$wxUSE_ALL_FEATURES
6463 if test -z "$defaultval"; then
6464 if test x"$enablestring" = xdisable; then
6471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6473 # Check whether --enable-selectloop was given.
6474 if test "${enable_selectloop+set}" = set; then
6475 enableval=$enable_selectloop;
6476 if test "$enableval" = yes; then
6477 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6479 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6484 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6489 eval "$wx_cv_use_selectloop"
6491 if test x"$enablestring" = xdisable; then
6492 if test $wxUSE_SELECT_DISPATCHER = no; then
6498 result=$wxUSE_SELECT_DISPATCHER
6501 { echo "$as_me:$LINENO: result: $result" >&5
6502 echo "${ECHO_T}$result" >&6; }
6507 defaultval=$wxUSE_ALL_FEATURES
6508 if test -z "$defaultval"; then
6509 if test x"$enablestring" = xdisable; then
6516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6517 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6518 # Check whether --enable-any was given.
6519 if test "${enable_any+set}" = set; then
6520 enableval=$enable_any;
6521 if test "$enableval" = yes; then
6522 wx_cv_use_any='wxUSE_ANY=yes'
6524 wx_cv_use_any='wxUSE_ANY=no'
6529 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6534 eval "$wx_cv_use_any"
6536 if test x"$enablestring" = xdisable; then
6537 if test $wxUSE_ANY = no; then
6546 { echo "$as_me:$LINENO: result: $result" >&5
6547 echo "${ECHO_T}$result" >&6; }
6551 defaultval=$wxUSE_ALL_FEATURES
6552 if test -z "$defaultval"; then
6553 if test x"$enablestring" = xdisable; then
6560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6561 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6562 # Check whether --enable-apple_ieee was given.
6563 if test "${enable_apple_ieee+set}" = set; then
6564 enableval=$enable_apple_ieee;
6565 if test "$enableval" = yes; then
6566 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6568 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6573 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6578 eval "$wx_cv_use_apple_ieee"
6580 if test x"$enablestring" = xdisable; then
6581 if test $wxUSE_APPLE_IEEE = no; then
6587 result=$wxUSE_APPLE_IEEE
6590 { echo "$as_me:$LINENO: result: $result" >&5
6591 echo "${ECHO_T}$result" >&6; }
6595 defaultval=$wxUSE_ALL_FEATURES
6596 if test -z "$defaultval"; then
6597 if test x"$enablestring" = xdisable; then
6604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6605 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6606 # Check whether --enable-arcstream was given.
6607 if test "${enable_arcstream+set}" = set; then
6608 enableval=$enable_arcstream;
6609 if test "$enableval" = yes; then
6610 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6612 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6617 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6622 eval "$wx_cv_use_arcstream"
6624 if test x"$enablestring" = xdisable; then
6625 if test $wxUSE_ARCHIVE_STREAMS = no; then
6631 result=$wxUSE_ARCHIVE_STREAMS
6634 { echo "$as_me:$LINENO: result: $result" >&5
6635 echo "${ECHO_T}$result" >&6; }
6639 defaultval=$wxUSE_ALL_FEATURES
6640 if test -z "$defaultval"; then
6641 if test x"$enablestring" = xdisable; then
6648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6650 # Check whether --enable-base64 was given.
6651 if test "${enable_base64+set}" = set; then
6652 enableval=$enable_base64;
6653 if test "$enableval" = yes; then
6654 wx_cv_use_base64='wxUSE_BASE64=yes'
6656 wx_cv_use_base64='wxUSE_BASE64=no'
6661 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6666 eval "$wx_cv_use_base64"
6668 if test x"$enablestring" = xdisable; then
6669 if test $wxUSE_BASE64 = no; then
6675 result=$wxUSE_BASE64
6678 { echo "$as_me:$LINENO: result: $result" >&5
6679 echo "${ECHO_T}$result" >&6; }
6683 defaultval=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x"$enablestring" = xdisable; then
6692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6694 # Check whether --enable-backtrace was given.
6695 if test "${enable_backtrace+set}" = set; then
6696 enableval=$enable_backtrace;
6697 if test "$enableval" = yes; then
6698 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6700 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6705 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6710 eval "$wx_cv_use_backtrace"
6712 if test x"$enablestring" = xdisable; then
6713 if test $wxUSE_STACKWALKER = no; then
6719 result=$wxUSE_STACKWALKER
6722 { echo "$as_me:$LINENO: result: $result" >&5
6723 echo "${ECHO_T}$result" >&6; }
6727 defaultval=$wxUSE_ALL_FEATURES
6728 if test -z "$defaultval"; then
6729 if test x"$enablestring" = xdisable; then
6736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6738 # Check whether --enable-catch_segvs was given.
6739 if test "${enable_catch_segvs+set}" = set; then
6740 enableval=$enable_catch_segvs;
6741 if test "$enableval" = yes; then
6742 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6744 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6749 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6754 eval "$wx_cv_use_catch_segvs"
6756 if test x"$enablestring" = xdisable; then
6757 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6763 result=$wxUSE_ON_FATAL_EXCEPTION
6766 { echo "$as_me:$LINENO: result: $result" >&5
6767 echo "${ECHO_T}$result" >&6; }
6771 defaultval=$wxUSE_ALL_FEATURES
6772 if test -z "$defaultval"; then
6773 if test x"$enablestring" = xdisable; then
6780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6782 # Check whether --enable-cmdline was given.
6783 if test "${enable_cmdline+set}" = set; then
6784 enableval=$enable_cmdline;
6785 if test "$enableval" = yes; then
6786 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6788 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6793 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6798 eval "$wx_cv_use_cmdline"
6800 if test x"$enablestring" = xdisable; then
6801 if test $wxUSE_CMDLINE_PARSER = no; then
6807 result=$wxUSE_CMDLINE_PARSER
6810 { echo "$as_me:$LINENO: result: $result" >&5
6811 echo "${ECHO_T}$result" >&6; }
6815 defaultval=$wxUSE_ALL_FEATURES
6816 if test -z "$defaultval"; then
6817 if test x"$enablestring" = xdisable; then
6824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6825 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6826 # Check whether --enable-datetime was given.
6827 if test "${enable_datetime+set}" = set; then
6828 enableval=$enable_datetime;
6829 if test "$enableval" = yes; then
6830 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6832 wx_cv_use_datetime='wxUSE_DATETIME=no'
6837 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6842 eval "$wx_cv_use_datetime"
6844 if test x"$enablestring" = xdisable; then
6845 if test $wxUSE_DATETIME = no; then
6851 result=$wxUSE_DATETIME
6854 { echo "$as_me:$LINENO: result: $result" >&5
6855 echo "${ECHO_T}$result" >&6; }
6859 defaultval=$wxUSE_ALL_FEATURES
6860 if test -z "$defaultval"; then
6861 if test x"$enablestring" = xdisable; then
6868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6869 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6870 # Check whether --enable-debugreport was given.
6871 if test "${enable_debugreport+set}" = set; then
6872 enableval=$enable_debugreport;
6873 if test "$enableval" = yes; then
6874 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6876 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6881 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6886 eval "$wx_cv_use_debugreport"
6888 if test x"$enablestring" = xdisable; then
6889 if test $wxUSE_DEBUGREPORT = no; then
6895 result=$wxUSE_DEBUGREPORT
6898 { echo "$as_me:$LINENO: result: $result" >&5
6899 echo "${ECHO_T}$result" >&6; }
6903 defaultval=$wxUSE_ALL_FEATURES
6904 if test -z "$defaultval"; then
6905 if test x"$enablestring" = xdisable; then
6912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6914 # Check whether --enable-dialupman was given.
6915 if test "${enable_dialupman+set}" = set; then
6916 enableval=$enable_dialupman;
6917 if test "$enableval" = yes; then
6918 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6920 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6925 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6930 eval "$wx_cv_use_dialupman"
6932 if test x"$enablestring" = xdisable; then
6933 if test $wxUSE_DIALUP_MANAGER = no; then
6939 result=$wxUSE_DIALUP_MANAGER
6942 { echo "$as_me:$LINENO: result: $result" >&5
6943 echo "${ECHO_T}$result" >&6; }
6947 defaultval=$wxUSE_ALL_FEATURES
6948 if test -z "$defaultval"; then
6949 if test x"$enablestring" = xdisable; then
6956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6957 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6958 # Check whether --enable-dynlib was given.
6959 if test "${enable_dynlib+set}" = set; then
6960 enableval=$enable_dynlib;
6961 if test "$enableval" = yes; then
6962 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6964 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6969 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6974 eval "$wx_cv_use_dynlib"
6976 if test x"$enablestring" = xdisable; then
6977 if test $wxUSE_DYNLIB_CLASS = no; then
6983 result=$wxUSE_DYNLIB_CLASS
6986 { echo "$as_me:$LINENO: result: $result" >&5
6987 echo "${ECHO_T}$result" >&6; }
6991 defaultval=$wxUSE_ALL_FEATURES
6992 if test -z "$defaultval"; then
6993 if test x"$enablestring" = xdisable; then
7000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7001 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7002 # Check whether --enable-dynamicloader was given.
7003 if test "${enable_dynamicloader+set}" = set; then
7004 enableval=$enable_dynamicloader;
7005 if test "$enableval" = yes; then
7006 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7008 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7013 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7018 eval "$wx_cv_use_dynamicloader"
7020 if test x"$enablestring" = xdisable; then
7021 if test $wxUSE_DYNAMIC_LOADER = no; then
7027 result=$wxUSE_DYNAMIC_LOADER
7030 { echo "$as_me:$LINENO: result: $result" >&5
7031 echo "${ECHO_T}$result" >&6; }
7035 defaultval=$wxUSE_ALL_FEATURES
7036 if test -z "$defaultval"; then
7037 if test x"$enablestring" = xdisable; then
7044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7046 # Check whether --enable-exceptions was given.
7047 if test "${enable_exceptions+set}" = set; then
7048 enableval=$enable_exceptions;
7049 if test "$enableval" = yes; then
7050 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7052 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7057 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7062 eval "$wx_cv_use_exceptions"
7064 if test x"$enablestring" = xdisable; then
7065 if test $wxUSE_EXCEPTIONS = no; then
7071 result=$wxUSE_EXCEPTIONS
7074 { echo "$as_me:$LINENO: result: $result" >&5
7075 echo "${ECHO_T}$result" >&6; }
7079 defaultval=$wxUSE_ALL_FEATURES
7080 if test -z "$defaultval"; then
7081 if test x"$enablestring" = xdisable; then
7088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7090 # Check whether --enable-ffile was given.
7091 if test "${enable_ffile+set}" = set; then
7092 enableval=$enable_ffile;
7093 if test "$enableval" = yes; then
7094 wx_cv_use_ffile='wxUSE_FFILE=yes'
7096 wx_cv_use_ffile='wxUSE_FFILE=no'
7101 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7106 eval "$wx_cv_use_ffile"
7108 if test x"$enablestring" = xdisable; then
7109 if test $wxUSE_FFILE = no; then
7118 { echo "$as_me:$LINENO: result: $result" >&5
7119 echo "${ECHO_T}$result" >&6; }
7123 defaultval=$wxUSE_ALL_FEATURES
7124 if test -z "$defaultval"; then
7125 if test x"$enablestring" = xdisable; then
7132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7134 # Check whether --enable-file was given.
7135 if test "${enable_file+set}" = set; then
7136 enableval=$enable_file;
7137 if test "$enableval" = yes; then
7138 wx_cv_use_file='wxUSE_FILE=yes'
7140 wx_cv_use_file='wxUSE_FILE=no'
7145 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7150 eval "$wx_cv_use_file"
7152 if test x"$enablestring" = xdisable; then
7153 if test $wxUSE_FILE = no; then
7162 { echo "$as_me:$LINENO: result: $result" >&5
7163 echo "${ECHO_T}$result" >&6; }
7167 defaultval=$wxUSE_ALL_FEATURES
7168 if test -z "$defaultval"; then
7169 if test x"$enablestring" = xdisable; then
7176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7178 # Check whether --enable-filehistory was given.
7179 if test "${enable_filehistory+set}" = set; then
7180 enableval=$enable_filehistory;
7181 if test "$enableval" = yes; then
7182 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7184 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7189 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7194 eval "$wx_cv_use_filehistory"
7196 if test x"$enablestring" = xdisable; then
7197 if test $wxUSE_FILE_HISTORY = no; then
7203 result=$wxUSE_FILE_HISTORY
7206 { echo "$as_me:$LINENO: result: $result" >&5
7207 echo "${ECHO_T}$result" >&6; }
7211 defaultval=$wxUSE_ALL_FEATURES
7212 if test -z "$defaultval"; then
7213 if test x"$enablestring" = xdisable; then
7220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7222 # Check whether --enable-filesystem was given.
7223 if test "${enable_filesystem+set}" = set; then
7224 enableval=$enable_filesystem;
7225 if test "$enableval" = yes; then
7226 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7228 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7233 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7238 eval "$wx_cv_use_filesystem"
7240 if test x"$enablestring" = xdisable; then
7241 if test $wxUSE_FILESYSTEM = no; then
7247 result=$wxUSE_FILESYSTEM
7250 { echo "$as_me:$LINENO: result: $result" >&5
7251 echo "${ECHO_T}$result" >&6; }
7255 defaultval=$wxUSE_ALL_FEATURES
7256 if test -z "$defaultval"; then
7257 if test x"$enablestring" = xdisable; then
7264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7266 # Check whether --enable-fontenum was given.
7267 if test "${enable_fontenum+set}" = set; then
7268 enableval=$enable_fontenum;
7269 if test "$enableval" = yes; then
7270 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7272 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7277 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7282 eval "$wx_cv_use_fontenum"
7284 if test x"$enablestring" = xdisable; then
7285 if test $wxUSE_FONTENUM = no; then
7291 result=$wxUSE_FONTENUM
7294 { echo "$as_me:$LINENO: result: $result" >&5
7295 echo "${ECHO_T}$result" >&6; }
7299 defaultval=$wxUSE_ALL_FEATURES
7300 if test -z "$defaultval"; then
7301 if test x"$enablestring" = xdisable; then
7308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7310 # Check whether --enable-fontmap was given.
7311 if test "${enable_fontmap+set}" = set; then
7312 enableval=$enable_fontmap;
7313 if test "$enableval" = yes; then
7314 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7316 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7321 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7326 eval "$wx_cv_use_fontmap"
7328 if test x"$enablestring" = xdisable; then
7329 if test $wxUSE_FONTMAP = no; then
7335 result=$wxUSE_FONTMAP
7338 { echo "$as_me:$LINENO: result: $result" >&5
7339 echo "${ECHO_T}$result" >&6; }
7343 defaultval=$wxUSE_ALL_FEATURES
7344 if test -z "$defaultval"; then
7345 if test x"$enablestring" = xdisable; then
7352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7353 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7354 # Check whether --enable-fs_archive was given.
7355 if test "${enable_fs_archive+set}" = set; then
7356 enableval=$enable_fs_archive;
7357 if test "$enableval" = yes; then
7358 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7360 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7365 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7370 eval "$wx_cv_use_fs_archive"
7372 if test x"$enablestring" = xdisable; then
7373 if test $wxUSE_FS_ARCHIVE = no; then
7379 result=$wxUSE_FS_ARCHIVE
7382 { echo "$as_me:$LINENO: result: $result" >&5
7383 echo "${ECHO_T}$result" >&6; }
7387 defaultval=$wxUSE_ALL_FEATURES
7388 if test -z "$defaultval"; then
7389 if test x"$enablestring" = xdisable; then
7396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7398 # Check whether --enable-fs_inet was given.
7399 if test "${enable_fs_inet+set}" = set; then
7400 enableval=$enable_fs_inet;
7401 if test "$enableval" = yes; then
7402 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7404 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7409 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7414 eval "$wx_cv_use_fs_inet"
7416 if test x"$enablestring" = xdisable; then
7417 if test $wxUSE_FS_INET = no; then
7423 result=$wxUSE_FS_INET
7426 { echo "$as_me:$LINENO: result: $result" >&5
7427 echo "${ECHO_T}$result" >&6; }
7431 defaultval=$wxUSE_ALL_FEATURES
7432 if test -z "$defaultval"; then
7433 if test x"$enablestring" = xdisable; then
7440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7442 # Check whether --enable-fs_zip was given.
7443 if test "${enable_fs_zip+set}" = set; then
7444 enableval=$enable_fs_zip;
7445 if test "$enableval" = yes; then
7446 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7448 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7453 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7458 eval "$wx_cv_use_fs_zip"
7460 if test x"$enablestring" = xdisable; then
7461 if test $wxUSE_FS_ZIP = no; then
7467 result=$wxUSE_FS_ZIP
7470 { echo "$as_me:$LINENO: result: $result" >&5
7471 echo "${ECHO_T}$result" >&6; }
7475 defaultval=$wxUSE_ALL_FEATURES
7476 if test -z "$defaultval"; then
7477 if test x"$enablestring" = xdisable; then
7484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7486 # Check whether --enable-fswatcher was given.
7487 if test "${enable_fswatcher+set}" = set; then
7488 enableval=$enable_fswatcher;
7489 if test "$enableval" = yes; then
7490 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7492 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7497 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7502 eval "$wx_cv_use_fswatcher"
7504 if test x"$enablestring" = xdisable; then
7505 if test $wxUSE_FSWATCHER = no; then
7511 result=$wxUSE_FSWATCHER
7514 { echo "$as_me:$LINENO: result: $result" >&5
7515 echo "${ECHO_T}$result" >&6; }
7519 defaultval=$wxUSE_ALL_FEATURES
7520 if test -z "$defaultval"; then
7521 if test x"$enablestring" = xdisable; then
7528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7529 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7530 # Check whether --enable-geometry was given.
7531 if test "${enable_geometry+set}" = set; then
7532 enableval=$enable_geometry;
7533 if test "$enableval" = yes; then
7534 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7536 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7541 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7546 eval "$wx_cv_use_geometry"
7548 if test x"$enablestring" = xdisable; then
7549 if test $wxUSE_GEOMETRY = no; then
7555 result=$wxUSE_GEOMETRY
7558 { echo "$as_me:$LINENO: result: $result" >&5
7559 echo "${ECHO_T}$result" >&6; }
7563 defaultval=$wxUSE_ALL_FEATURES
7564 if test -z "$defaultval"; then
7565 if test x"$enablestring" = xdisable; then
7572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7573 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7574 # Check whether --enable-log was given.
7575 if test "${enable_log+set}" = set; then
7576 enableval=$enable_log;
7577 if test "$enableval" = yes; then
7578 wx_cv_use_log='wxUSE_LOG=yes'
7580 wx_cv_use_log='wxUSE_LOG=no'
7585 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7590 eval "$wx_cv_use_log"
7592 if test x"$enablestring" = xdisable; then
7593 if test $wxUSE_LOG = no; then
7602 { echo "$as_me:$LINENO: result: $result" >&5
7603 echo "${ECHO_T}$result" >&6; }
7607 defaultval=$wxUSE_ALL_FEATURES
7608 if test -z "$defaultval"; then
7609 if test x"$enablestring" = xdisable; then
7616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7617 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7618 # Check whether --enable-longlong was given.
7619 if test "${enable_longlong+set}" = set; then
7620 enableval=$enable_longlong;
7621 if test "$enableval" = yes; then
7622 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7624 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7629 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7634 eval "$wx_cv_use_longlong"
7636 if test x"$enablestring" = xdisable; then
7637 if test $wxUSE_LONGLONG = no; then
7643 result=$wxUSE_LONGLONG
7646 { echo "$as_me:$LINENO: result: $result" >&5
7647 echo "${ECHO_T}$result" >&6; }
7651 defaultval=$wxUSE_ALL_FEATURES
7652 if test -z "$defaultval"; then
7653 if test x"$enablestring" = xdisable; then
7660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7662 # Check whether --enable-mimetype was given.
7663 if test "${enable_mimetype+set}" = set; then
7664 enableval=$enable_mimetype;
7665 if test "$enableval" = yes; then
7666 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7668 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7673 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7678 eval "$wx_cv_use_mimetype"
7680 if test x"$enablestring" = xdisable; then
7681 if test $wxUSE_MIMETYPE = no; then
7687 result=$wxUSE_MIMETYPE
7690 { echo "$as_me:$LINENO: result: $result" >&5
7691 echo "${ECHO_T}$result" >&6; }
7695 defaultval=$wxUSE_ALL_FEATURES
7696 if test -z "$defaultval"; then
7697 if test x"$enablestring" = xdisable; then
7704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7706 # Check whether --enable-printfposparam was given.
7707 if test "${enable_printfposparam+set}" = set; then
7708 enableval=$enable_printfposparam;
7709 if test "$enableval" = yes; then
7710 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7712 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7717 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7722 eval "$wx_cv_use_printfposparam"
7724 if test x"$enablestring" = xdisable; then
7725 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7731 result=$wxUSE_PRINTF_POS_PARAMS
7734 { echo "$as_me:$LINENO: result: $result" >&5
7735 echo "${ECHO_T}$result" >&6; }
7739 defaultval=$wxUSE_ALL_FEATURES
7740 if test -z "$defaultval"; then
7741 if test x"$enablestring" = xdisable; then
7748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7750 # Check whether --enable-snglinst was given.
7751 if test "${enable_snglinst+set}" = set; then
7752 enableval=$enable_snglinst;
7753 if test "$enableval" = yes; then
7754 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7756 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7761 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7766 eval "$wx_cv_use_snglinst"
7768 if test x"$enablestring" = xdisable; then
7769 if test $wxUSE_SNGLINST_CHECKER = no; then
7775 result=$wxUSE_SNGLINST_CHECKER
7778 { echo "$as_me:$LINENO: result: $result" >&5
7779 echo "${ECHO_T}$result" >&6; }
7783 defaultval=$wxUSE_ALL_FEATURES
7784 if test -z "$defaultval"; then
7785 if test x"$enablestring" = xdisable; then
7792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7794 # Check whether --enable-sound was given.
7795 if test "${enable_sound+set}" = set; then
7796 enableval=$enable_sound;
7797 if test "$enableval" = yes; then
7798 wx_cv_use_sound='wxUSE_SOUND=yes'
7800 wx_cv_use_sound='wxUSE_SOUND=no'
7805 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7810 eval "$wx_cv_use_sound"
7812 if test x"$enablestring" = xdisable; then
7813 if test $wxUSE_SOUND = no; then
7822 { echo "$as_me:$LINENO: result: $result" >&5
7823 echo "${ECHO_T}$result" >&6; }
7827 defaultval=$wxUSE_ALL_FEATURES
7828 if test -z "$defaultval"; then
7829 if test x"$enablestring" = xdisable; then
7836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7838 # Check whether --enable-stdpaths was given.
7839 if test "${enable_stdpaths+set}" = set; then
7840 enableval=$enable_stdpaths;
7841 if test "$enableval" = yes; then
7842 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7844 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7849 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7854 eval "$wx_cv_use_stdpaths"
7856 if test x"$enablestring" = xdisable; then
7857 if test $wxUSE_STDPATHS = no; then
7863 result=$wxUSE_STDPATHS
7866 { echo "$as_me:$LINENO: result: $result" >&5
7867 echo "${ECHO_T}$result" >&6; }
7871 defaultval=$wxUSE_ALL_FEATURES
7872 if test -z "$defaultval"; then
7873 if test x"$enablestring" = xdisable; then
7880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7881 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7882 # Check whether --enable-stopwatch was given.
7883 if test "${enable_stopwatch+set}" = set; then
7884 enableval=$enable_stopwatch;
7885 if test "$enableval" = yes; then
7886 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7888 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7893 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7898 eval "$wx_cv_use_stopwatch"
7900 if test x"$enablestring" = xdisable; then
7901 if test $wxUSE_STOPWATCH = no; then
7907 result=$wxUSE_STOPWATCH
7910 { echo "$as_me:$LINENO: result: $result" >&5
7911 echo "${ECHO_T}$result" >&6; }
7915 defaultval=$wxUSE_ALL_FEATURES
7916 if test -z "$defaultval"; then
7917 if test x"$enablestring" = xdisable; then
7924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7925 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7926 # Check whether --enable-streams was given.
7927 if test "${enable_streams+set}" = set; then
7928 enableval=$enable_streams;
7929 if test "$enableval" = yes; then
7930 wx_cv_use_streams='wxUSE_STREAMS=yes'
7932 wx_cv_use_streams='wxUSE_STREAMS=no'
7937 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7942 eval "$wx_cv_use_streams"
7944 if test x"$enablestring" = xdisable; then
7945 if test $wxUSE_STREAMS = no; then
7951 result=$wxUSE_STREAMS
7954 { echo "$as_me:$LINENO: result: $result" >&5
7955 echo "${ECHO_T}$result" >&6; }
7959 defaultval=$wxUSE_ALL_FEATURES
7960 if test -z "$defaultval"; then
7961 if test x"$enablestring" = xdisable; then
7968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7969 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7970 # Check whether --enable-sysoptions was given.
7971 if test "${enable_sysoptions+set}" = set; then
7972 enableval=$enable_sysoptions;
7973 if test "$enableval" = yes; then
7974 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7976 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7981 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7986 eval "$wx_cv_use_sysoptions"
7988 if test x"$enablestring" = xdisable; then
7989 if test $wxUSE_SYSTEM_OPTIONS = no; then
7995 result=$wxUSE_SYSTEM_OPTIONS
7998 { echo "$as_me:$LINENO: result: $result" >&5
7999 echo "${ECHO_T}$result" >&6; }
8003 defaultval=$wxUSE_ALL_FEATURES
8004 if test -z "$defaultval"; then
8005 if test x"$enablestring" = xdisable; then
8012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8013 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8014 # Check whether --enable-tarstream was given.
8015 if test "${enable_tarstream+set}" = set; then
8016 enableval=$enable_tarstream;
8017 if test "$enableval" = yes; then
8018 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8020 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8025 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8030 eval "$wx_cv_use_tarstream"
8032 if test x"$enablestring" = xdisable; then
8033 if test $wxUSE_TARSTREAM = no; then
8039 result=$wxUSE_TARSTREAM
8042 { echo "$as_me:$LINENO: result: $result" >&5
8043 echo "${ECHO_T}$result" >&6; }
8047 defaultval=$wxUSE_ALL_FEATURES
8048 if test -z "$defaultval"; then
8049 if test x"$enablestring" = xdisable; then
8056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8058 # Check whether --enable-textbuf was given.
8059 if test "${enable_textbuf+set}" = set; then
8060 enableval=$enable_textbuf;
8061 if test "$enableval" = yes; then
8062 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8064 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8069 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8074 eval "$wx_cv_use_textbuf"
8076 if test x"$enablestring" = xdisable; then
8077 if test $wxUSE_TEXTBUFFER = no; then
8083 result=$wxUSE_TEXTBUFFER
8086 { echo "$as_me:$LINENO: result: $result" >&5
8087 echo "${ECHO_T}$result" >&6; }
8091 defaultval=$wxUSE_ALL_FEATURES
8092 if test -z "$defaultval"; then
8093 if test x"$enablestring" = xdisable; then
8100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8102 # Check whether --enable-textfile was given.
8103 if test "${enable_textfile+set}" = set; then
8104 enableval=$enable_textfile;
8105 if test "$enableval" = yes; then
8106 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8108 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8113 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8118 eval "$wx_cv_use_textfile"
8120 if test x"$enablestring" = xdisable; then
8121 if test $wxUSE_TEXTFILE = no; then
8127 result=$wxUSE_TEXTFILE
8130 { echo "$as_me:$LINENO: result: $result" >&5
8131 echo "${ECHO_T}$result" >&6; }
8135 defaultval=$wxUSE_ALL_FEATURES
8136 if test -z "$defaultval"; then
8137 if test x"$enablestring" = xdisable; then
8144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8145 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8146 # Check whether --enable-timer was given.
8147 if test "${enable_timer+set}" = set; then
8148 enableval=$enable_timer;
8149 if test "$enableval" = yes; then
8150 wx_cv_use_timer='wxUSE_TIMER=yes'
8152 wx_cv_use_timer='wxUSE_TIMER=no'
8157 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8162 eval "$wx_cv_use_timer"
8164 if test x"$enablestring" = xdisable; then
8165 if test $wxUSE_TIMER = no; then
8174 { echo "$as_me:$LINENO: result: $result" >&5
8175 echo "${ECHO_T}$result" >&6; }
8179 defaultval=$wxUSE_ALL_FEATURES
8180 if test -z "$defaultval"; then
8181 if test x"$enablestring" = xdisable; then
8188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8189 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8190 # Check whether --enable-variant was given.
8191 if test "${enable_variant+set}" = set; then
8192 enableval=$enable_variant;
8193 if test "$enableval" = yes; then
8194 wx_cv_use_variant='wxUSE_VARIANT=yes'
8196 wx_cv_use_variant='wxUSE_VARIANT=no'
8201 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8206 eval "$wx_cv_use_variant"
8208 if test x"$enablestring" = xdisable; then
8209 if test $wxUSE_VARIANT = no; then
8215 result=$wxUSE_VARIANT
8218 { echo "$as_me:$LINENO: result: $result" >&5
8219 echo "${ECHO_T}$result" >&6; }
8223 defaultval=$wxUSE_ALL_FEATURES
8224 if test -z "$defaultval"; then
8225 if test x"$enablestring" = xdisable; then
8232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8233 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8234 # Check whether --enable-zipstream was given.
8235 if test "${enable_zipstream+set}" = set; then
8236 enableval=$enable_zipstream;
8237 if test "$enableval" = yes; then
8238 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8240 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8245 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8250 eval "$wx_cv_use_zipstream"
8252 if test x"$enablestring" = xdisable; then
8253 if test $wxUSE_ZIPSTREAM = no; then
8259 result=$wxUSE_ZIPSTREAM
8262 { echo "$as_me:$LINENO: result: $result" >&5
8263 echo "${ECHO_T}$result" >&6; }
8268 defaultval=$wxUSE_ALL_FEATURES
8269 if test -z "$defaultval"; then
8270 if test x"$enablestring" = xdisable; then
8277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8279 # Check whether --enable-url was given.
8280 if test "${enable_url+set}" = set; then
8281 enableval=$enable_url;
8282 if test "$enableval" = yes; then
8283 wx_cv_use_url='wxUSE_URL=yes'
8285 wx_cv_use_url='wxUSE_URL=no'
8290 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8295 eval "$wx_cv_use_url"
8297 if test x"$enablestring" = xdisable; then
8298 if test $wxUSE_URL = no; then
8307 { echo "$as_me:$LINENO: result: $result" >&5
8308 echo "${ECHO_T}$result" >&6; }
8312 defaultval=$wxUSE_ALL_FEATURES
8313 if test -z "$defaultval"; then
8314 if test x"$enablestring" = xdisable; then
8321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8323 # Check whether --enable-protocol was given.
8324 if test "${enable_protocol+set}" = set; then
8325 enableval=$enable_protocol;
8326 if test "$enableval" = yes; then
8327 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8329 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8334 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8339 eval "$wx_cv_use_protocol"
8341 if test x"$enablestring" = xdisable; then
8342 if test $wxUSE_PROTOCOL = no; then
8348 result=$wxUSE_PROTOCOL
8351 { echo "$as_me:$LINENO: result: $result" >&5
8352 echo "${ECHO_T}$result" >&6; }
8356 defaultval=$wxUSE_ALL_FEATURES
8357 if test -z "$defaultval"; then
8358 if test x"$enablestring" = xdisable; then
8365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8366 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8367 # Check whether --enable-protocol_http was given.
8368 if test "${enable_protocol_http+set}" = set; then
8369 enableval=$enable_protocol_http;
8370 if test "$enableval" = yes; then
8371 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8373 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8378 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8383 eval "$wx_cv_use_protocol_http"
8385 if test x"$enablestring" = xdisable; then
8386 if test $wxUSE_PROTOCOL_HTTP = no; then
8392 result=$wxUSE_PROTOCOL_HTTP
8395 { echo "$as_me:$LINENO: result: $result" >&5
8396 echo "${ECHO_T}$result" >&6; }
8400 defaultval=$wxUSE_ALL_FEATURES
8401 if test -z "$defaultval"; then
8402 if test x"$enablestring" = xdisable; then
8409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8411 # Check whether --enable-protocol_ftp was given.
8412 if test "${enable_protocol_ftp+set}" = set; then
8413 enableval=$enable_protocol_ftp;
8414 if test "$enableval" = yes; then
8415 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8417 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8422 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8427 eval "$wx_cv_use_protocol_ftp"
8429 if test x"$enablestring" = xdisable; then
8430 if test $wxUSE_PROTOCOL_FTP = no; then
8436 result=$wxUSE_PROTOCOL_FTP
8439 { echo "$as_me:$LINENO: result: $result" >&5
8440 echo "${ECHO_T}$result" >&6; }
8444 defaultval=$wxUSE_ALL_FEATURES
8445 if test -z "$defaultval"; then
8446 if test x"$enablestring" = xdisable; then
8453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8454 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8455 # Check whether --enable-protocol_file was given.
8456 if test "${enable_protocol_file+set}" = set; then
8457 enableval=$enable_protocol_file;
8458 if test "$enableval" = yes; then
8459 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8461 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8466 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8471 eval "$wx_cv_use_protocol_file"
8473 if test x"$enablestring" = xdisable; then
8474 if test $wxUSE_PROTOCOL_FILE = no; then
8480 result=$wxUSE_PROTOCOL_FILE
8483 { echo "$as_me:$LINENO: result: $result" >&5
8484 echo "${ECHO_T}$result" >&6; }
8489 defaultval=$wxUSE_ALL_FEATURES
8490 if test -z "$defaultval"; then
8491 if test x"$enablestring" = xdisable; then
8498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8499 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8500 # Check whether --enable-threads was given.
8501 if test "${enable_threads+set}" = set; then
8502 enableval=$enable_threads;
8503 if test "$enableval" = yes; then
8504 wx_cv_use_threads='wxUSE_THREADS=yes'
8506 wx_cv_use_threads='wxUSE_THREADS=no'
8511 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8516 eval "$wx_cv_use_threads"
8518 if test x"$enablestring" = xdisable; then
8519 if test $wxUSE_THREADS = no; then
8525 result=$wxUSE_THREADS
8528 { echo "$as_me:$LINENO: result: $result" >&5
8529 echo "${ECHO_T}$result" >&6; }
8535 if test -z "$defaultval"; then
8536 if test x"$enablestring" = xdisable; then
8543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8544 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8545 # Check whether --enable-iniconf was given.
8546 if test "${enable_iniconf+set}" = set; then
8547 enableval=$enable_iniconf;
8548 if test "$enableval" = yes; then
8549 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8551 wx_cv_use_iniconf='wxUSE_INICONF=no'
8556 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8561 eval "$wx_cv_use_iniconf"
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_INICONF = no; then
8570 result=$wxUSE_INICONF
8573 { echo "$as_me:$LINENO: result: $result" >&5
8574 echo "${ECHO_T}$result" >&6; }
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8589 # Check whether --enable-regkey was given.
8590 if test "${enable_regkey+set}" = set; then
8591 enableval=$enable_regkey;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8595 wx_cv_use_regkey='wxUSE_REGKEY=no'
8600 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8605 eval "$wx_cv_use_regkey"
8607 if test x"$enablestring" = xdisable; then
8608 if test $wxUSE_REGKEY = no; then
8614 result=$wxUSE_REGKEY
8617 { echo "$as_me:$LINENO: result: $result" >&5
8618 echo "${ECHO_T}$result" >&6; }
8621 if test "$wxUSE_GUI" = "yes"; then
8626 defaultval=$wxUSE_ALL_FEATURES
8627 if test -z "$defaultval"; then
8628 if test x"$enablestring" = xdisable; then
8635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8637 # Check whether --enable-docview was given.
8638 if test "${enable_docview+set}" = set; then
8639 enableval=$enable_docview;
8640 if test "$enableval" = yes; then
8641 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8643 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8648 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8653 eval "$wx_cv_use_docview"
8655 if test x"$enablestring" = xdisable; then
8656 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8662 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8665 { echo "$as_me:$LINENO: result: $result" >&5
8666 echo "${ECHO_T}$result" >&6; }
8670 defaultval=$wxUSE_ALL_FEATURES
8671 if test -z "$defaultval"; then
8672 if test x"$enablestring" = xdisable; then
8679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8680 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8681 # Check whether --enable-help was given.
8682 if test "${enable_help+set}" = set; then
8683 enableval=$enable_help;
8684 if test "$enableval" = yes; then
8685 wx_cv_use_help='wxUSE_HELP=yes'
8687 wx_cv_use_help='wxUSE_HELP=no'
8692 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8697 eval "$wx_cv_use_help"
8699 if test x"$enablestring" = xdisable; then
8700 if test $wxUSE_HELP = no; then
8709 { echo "$as_me:$LINENO: result: $result" >&5
8710 echo "${ECHO_T}$result" >&6; }
8714 defaultval=$wxUSE_ALL_FEATURES
8715 if test -z "$defaultval"; then
8716 if test x"$enablestring" = xdisable; then
8723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8724 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8725 # Check whether --enable-mshtmlhelp was given.
8726 if test "${enable_mshtmlhelp+set}" = set; then
8727 enableval=$enable_mshtmlhelp;
8728 if test "$enableval" = yes; then
8729 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8731 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8736 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8741 eval "$wx_cv_use_mshtmlhelp"
8743 if test x"$enablestring" = xdisable; then
8744 if test $wxUSE_MS_HTML_HELP = no; then
8750 result=$wxUSE_MS_HTML_HELP
8753 { echo "$as_me:$LINENO: result: $result" >&5
8754 echo "${ECHO_T}$result" >&6; }
8758 defaultval=$wxUSE_ALL_FEATURES
8759 if test -z "$defaultval"; then
8760 if test x"$enablestring" = xdisable; then
8767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8769 # Check whether --enable-html was given.
8770 if test "${enable_html+set}" = set; then
8771 enableval=$enable_html;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_html='wxUSE_HTML=yes'
8775 wx_cv_use_html='wxUSE_HTML=no'
8780 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8785 eval "$wx_cv_use_html"
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_HTML = no; then
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8813 # Check whether --enable-htmlhelp was given.
8814 if test "${enable_htmlhelp+set}" = set; then
8815 enableval=$enable_htmlhelp;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8819 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8824 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8829 eval "$wx_cv_use_htmlhelp"
8831 if test x"$enablestring" = xdisable; then
8832 if test $wxUSE_WXHTML_HELP = no; then
8838 result=$wxUSE_WXHTML_HELP
8841 { echo "$as_me:$LINENO: result: $result" >&5
8842 echo "${ECHO_T}$result" >&6; }
8846 defaultval=$wxUSE_ALL_FEATURES
8847 if test -z "$defaultval"; then
8848 if test x"$enablestring" = xdisable; then
8855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8857 # Check whether --enable-xrc was given.
8858 if test "${enable_xrc+set}" = set; then
8859 enableval=$enable_xrc;
8860 if test "$enableval" = yes; then
8861 wx_cv_use_xrc='wxUSE_XRC=yes'
8863 wx_cv_use_xrc='wxUSE_XRC=no'
8868 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8873 eval "$wx_cv_use_xrc"
8875 if test x"$enablestring" = xdisable; then
8876 if test $wxUSE_XRC = no; then
8885 { echo "$as_me:$LINENO: result: $result" >&5
8886 echo "${ECHO_T}$result" >&6; }
8890 defaultval=$wxUSE_ALL_FEATURES
8891 if test -z "$defaultval"; then
8892 if test x"$enablestring" = xdisable; then
8899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8901 # Check whether --enable-aui was given.
8902 if test "${enable_aui+set}" = set; then
8903 enableval=$enable_aui;
8904 if test "$enableval" = yes; then
8905 wx_cv_use_aui='wxUSE_AUI=yes'
8907 wx_cv_use_aui='wxUSE_AUI=no'
8912 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8917 eval "$wx_cv_use_aui"
8919 if test x"$enablestring" = xdisable; then
8920 if test $wxUSE_AUI = no; then
8929 { echo "$as_me:$LINENO: result: $result" >&5
8930 echo "${ECHO_T}$result" >&6; }
8934 defaultval=$wxUSE_ALL_FEATURES
8935 if test -z "$defaultval"; then
8936 if test x"$enablestring" = xdisable; then
8943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8945 # Check whether --enable-propgrid was given.
8946 if test "${enable_propgrid+set}" = set; then
8947 enableval=$enable_propgrid;
8948 if test "$enableval" = yes; then
8949 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8951 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8956 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8961 eval "$wx_cv_use_propgrid"
8963 if test x"$enablestring" = xdisable; then
8964 if test $wxUSE_PROPGRID = no; then
8970 result=$wxUSE_PROPGRID
8973 { echo "$as_me:$LINENO: result: $result" >&5
8974 echo "${ECHO_T}$result" >&6; }
8978 defaultval=$wxUSE_ALL_FEATURES
8979 if test -z "$defaultval"; then
8980 if test x"$enablestring" = xdisable; then
8987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8988 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8989 # Check whether --enable-ribbon was given.
8990 if test "${enable_ribbon+set}" = set; then
8991 enableval=$enable_ribbon;
8992 if test "$enableval" = yes; then
8993 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8995 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9000 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9005 eval "$wx_cv_use_ribbon"
9007 if test x"$enablestring" = xdisable; then
9008 if test $wxUSE_RIBBON = no; then
9014 result=$wxUSE_RIBBON
9017 { echo "$as_me:$LINENO: result: $result" >&5
9018 echo "${ECHO_T}$result" >&6; }
9022 defaultval=$wxUSE_ALL_FEATURES
9023 if test -z "$defaultval"; then
9024 if test x"$enablestring" = xdisable; then
9031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9033 # Check whether --enable-stc was given.
9034 if test "${enable_stc+set}" = set; then
9035 enableval=$enable_stc;
9036 if test "$enableval" = yes; then
9037 wx_cv_use_stc='wxUSE_STC=yes'
9039 wx_cv_use_stc='wxUSE_STC=no'
9044 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9049 eval "$wx_cv_use_stc"
9051 if test x"$enablestring" = xdisable; then
9052 if test $wxUSE_STC = no; then
9061 { echo "$as_me:$LINENO: result: $result" >&5
9062 echo "${ECHO_T}$result" >&6; }
9066 defaultval=$wxUSE_ALL_FEATURES
9067 if test -z "$defaultval"; then
9068 if test x"$enablestring" = xdisable; then
9075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9077 # Check whether --enable-constraints was given.
9078 if test "${enable_constraints+set}" = set; then
9079 enableval=$enable_constraints;
9080 if test "$enableval" = yes; then
9081 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9083 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9088 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9093 eval "$wx_cv_use_constraints"
9095 if test x"$enablestring" = xdisable; then
9096 if test $wxUSE_CONSTRAINTS = no; then
9102 result=$wxUSE_CONSTRAINTS
9105 { echo "$as_me:$LINENO: result: $result" >&5
9106 echo "${ECHO_T}$result" >&6; }
9110 defaultval=$wxUSE_ALL_FEATURES
9111 if test -z "$defaultval"; then
9112 if test x"$enablestring" = xdisable; then
9119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9120 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9121 # Check whether --enable-loggui was given.
9122 if test "${enable_loggui+set}" = set; then
9123 enableval=$enable_loggui;
9124 if test "$enableval" = yes; then
9125 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9127 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9132 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9137 eval "$wx_cv_use_loggui"
9139 if test x"$enablestring" = xdisable; then
9140 if test $wxUSE_LOGGUI = no; then
9146 result=$wxUSE_LOGGUI
9149 { echo "$as_me:$LINENO: result: $result" >&5
9150 echo "${ECHO_T}$result" >&6; }
9154 defaultval=$wxUSE_ALL_FEATURES
9155 if test -z "$defaultval"; then
9156 if test x"$enablestring" = xdisable; then
9163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9165 # Check whether --enable-logwin was given.
9166 if test "${enable_logwin+set}" = set; then
9167 enableval=$enable_logwin;
9168 if test "$enableval" = yes; then
9169 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9171 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9176 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9181 eval "$wx_cv_use_logwin"
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_LOGWINDOW = no; then
9190 result=$wxUSE_LOGWINDOW
9193 { echo "$as_me:$LINENO: result: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9198 defaultval=$wxUSE_ALL_FEATURES
9199 if test -z "$defaultval"; then
9200 if test x"$enablestring" = xdisable; then
9207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9208 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9209 # Check whether --enable-logdialog was given.
9210 if test "${enable_logdialog+set}" = set; then
9211 enableval=$enable_logdialog;
9212 if test "$enableval" = yes; then
9213 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9215 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9220 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9225 eval "$wx_cv_use_logdialog"
9227 if test x"$enablestring" = xdisable; then
9228 if test $wxUSE_LOGDIALOG = no; then
9234 result=$wxUSE_LOGDIALOG
9237 { echo "$as_me:$LINENO: result: $result" >&5
9238 echo "${ECHO_T}$result" >&6; }
9242 defaultval=$wxUSE_ALL_FEATURES
9243 if test -z "$defaultval"; then
9244 if test x"$enablestring" = xdisable; then
9251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9253 # Check whether --enable-mdi was given.
9254 if test "${enable_mdi+set}" = set; then
9255 enableval=$enable_mdi;
9256 if test "$enableval" = yes; then
9257 wx_cv_use_mdi='wxUSE_MDI=yes'
9259 wx_cv_use_mdi='wxUSE_MDI=no'
9264 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9269 eval "$wx_cv_use_mdi"
9271 if test x"$enablestring" = xdisable; then
9272 if test $wxUSE_MDI = no; then
9281 { echo "$as_me:$LINENO: result: $result" >&5
9282 echo "${ECHO_T}$result" >&6; }
9286 defaultval=$wxUSE_ALL_FEATURES
9287 if test -z "$defaultval"; then
9288 if test x"$enablestring" = xdisable; then
9295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9296 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9297 # Check whether --enable-mdidoc was given.
9298 if test "${enable_mdidoc+set}" = set; then
9299 enableval=$enable_mdidoc;
9300 if test "$enableval" = yes; then
9301 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9303 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9308 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9313 eval "$wx_cv_use_mdidoc"
9315 if test x"$enablestring" = xdisable; then
9316 if test $wxUSE_MDI_ARCHITECTURE = no; then
9322 result=$wxUSE_MDI_ARCHITECTURE
9325 { echo "$as_me:$LINENO: result: $result" >&5
9326 echo "${ECHO_T}$result" >&6; }
9330 defaultval=$wxUSE_ALL_FEATURES
9331 if test -z "$defaultval"; then
9332 if test x"$enablestring" = xdisable; then
9339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9340 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9341 # Check whether --enable-mediactrl was given.
9342 if test "${enable_mediactrl+set}" = set; then
9343 enableval=$enable_mediactrl;
9344 if test "$enableval" = yes; then
9345 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9347 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9352 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9357 eval "$wx_cv_use_mediactrl"
9359 if test x"$enablestring" = xdisable; then
9360 if test $wxUSE_MEDIACTRL = no; then
9366 result=$wxUSE_MEDIACTRL
9369 { echo "$as_me:$LINENO: result: $result" >&5
9370 echo "${ECHO_T}$result" >&6; }
9374 defaultval=$wxUSE_ALL_FEATURES
9375 if test -z "$defaultval"; then
9376 if test x"$enablestring" = xdisable; then
9383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9385 # Check whether --enable-gstreamer8 was given.
9386 if test "${enable_gstreamer8+set}" = set; then
9387 enableval=$enable_gstreamer8;
9388 if test "$enableval" = yes; then
9389 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9391 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9396 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9401 eval "$wx_cv_use_gstreamer8"
9403 if test x"$enablestring" = xdisable; then
9404 if test $wxUSE_GSTREAMER8 = no; then
9410 result=$wxUSE_GSTREAMER8
9413 { echo "$as_me:$LINENO: result: $result" >&5
9414 echo "${ECHO_T}$result" >&6; }
9418 defaultval=$wxUSE_ALL_FEATURES
9419 if test -z "$defaultval"; then
9420 if test x"$enablestring" = xdisable; then
9427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9429 # Check whether --enable-richtext was given.
9430 if test "${enable_richtext+set}" = set; then
9431 enableval=$enable_richtext;
9432 if test "$enableval" = yes; then
9433 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9435 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9440 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9445 eval "$wx_cv_use_richtext"
9447 if test x"$enablestring" = xdisable; then
9448 if test $wxUSE_RICHTEXT = no; then
9454 result=$wxUSE_RICHTEXT
9457 { echo "$as_me:$LINENO: result: $result" >&5
9458 echo "${ECHO_T}$result" >&6; }
9462 defaultval=$wxUSE_ALL_FEATURES
9463 if test -z "$defaultval"; then
9464 if test x"$enablestring" = xdisable; then
9471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9472 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9473 # Check whether --enable-postscript was given.
9474 if test "${enable_postscript+set}" = set; then
9475 enableval=$enable_postscript;
9476 if test "$enableval" = yes; then
9477 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9479 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9484 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9489 eval "$wx_cv_use_postscript"
9491 if test x"$enablestring" = xdisable; then
9492 if test $wxUSE_POSTSCRIPT = no; then
9498 result=$wxUSE_POSTSCRIPT
9501 { echo "$as_me:$LINENO: result: $result" >&5
9502 echo "${ECHO_T}$result" >&6; }
9506 defaultval=$wxUSE_ALL_FEATURES
9507 if test -z "$defaultval"; then
9508 if test x"$enablestring" = xdisable; then
9515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9516 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9517 # Check whether --enable-printarch was given.
9518 if test "${enable_printarch+set}" = set; then
9519 enableval=$enable_printarch;
9520 if test "$enableval" = yes; then
9521 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9523 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9528 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9533 eval "$wx_cv_use_printarch"
9535 if test x"$enablestring" = xdisable; then
9536 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9542 result=$wxUSE_PRINTING_ARCHITECTURE
9545 { echo "$as_me:$LINENO: result: $result" >&5
9546 echo "${ECHO_T}$result" >&6; }
9550 defaultval=$wxUSE_ALL_FEATURES
9551 if test -z "$defaultval"; then
9552 if test x"$enablestring" = xdisable; then
9559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9561 # Check whether --enable-svg was given.
9562 if test "${enable_svg+set}" = set; then
9563 enableval=$enable_svg;
9564 if test "$enableval" = yes; then
9565 wx_cv_use_svg='wxUSE_SVG=yes'
9567 wx_cv_use_svg='wxUSE_SVG=no'
9572 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9577 eval "$wx_cv_use_svg"
9579 if test x"$enablestring" = xdisable; then
9580 if test $wxUSE_SVG = no; then
9589 { echo "$as_me:$LINENO: result: $result" >&5
9590 echo "${ECHO_T}$result" >&6; }
9594 defaultval=$wxUSE_ALL_FEATURES
9595 if test -z "$defaultval"; then
9596 if test x"$enablestring" = xdisable; then
9603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9604 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9605 # Check whether --enable-webkit was given.
9606 if test "${enable_webkit+set}" = set; then
9607 enableval=$enable_webkit;
9608 if test "$enableval" = yes; then
9609 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9611 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9616 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9621 eval "$wx_cv_use_webkit"
9623 if test x"$enablestring" = xdisable; then
9624 if test $wxUSE_WEBKIT = no; then
9630 result=$wxUSE_WEBKIT
9633 { echo "$as_me:$LINENO: result: $result" >&5
9634 echo "${ECHO_T}$result" >&6; }
9638 defaultval=$wxUSE_ALL_FEATURES
9639 if test -z "$defaultval"; then
9640 if test x"$enablestring" = xdisable; then
9647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webview" >&5
9648 echo $ECHO_N "checking for --${enablestring:-enable}-webview... $ECHO_C" >&6; }
9649 # Check whether --enable-webview was given.
9650 if test "${enable_webview+set}" = set; then
9651 enableval=$enable_webview;
9652 if test "$enableval" = yes; then
9653 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9655 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9660 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9665 eval "$wx_cv_use_webview"
9667 if test x"$enablestring" = xdisable; then
9668 if test $wxUSE_WEBVIEW = no; then
9674 result=$wxUSE_WEBVIEW
9677 { echo "$as_me:$LINENO: result: $result" >&5
9678 echo "${ECHO_T}$result" >&6; }
9681 if test "$wxUSE_MAC" != 1; then
9684 defaultval=$wxUSE_ALL_FEATURES
9685 if test -z "$defaultval"; then
9686 if test x"$enablestring" = xdisable; then
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9695 # Check whether --enable-graphics_ctx was given.
9696 if test "${enable_graphics_ctx+set}" = set; then
9697 enableval=$enable_graphics_ctx;
9698 if test "$enableval" = yes; then
9699 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9701 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9706 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9711 eval "$wx_cv_use_graphics_ctx"
9713 if test x"$enablestring" = xdisable; then
9714 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9720 result=$wxUSE_GRAPHICS_CONTEXT
9723 { echo "$as_me:$LINENO: result: $result" >&5
9724 echo "${ECHO_T}$result" >&6; }
9731 defaultval=$wxUSE_ALL_FEATURES
9732 if test -z "$defaultval"; then
9733 if test x"$enablestring" = xdisable; then
9740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9741 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9742 # Check whether --enable-clipboard was given.
9743 if test "${enable_clipboard+set}" = set; then
9744 enableval=$enable_clipboard;
9745 if test "$enableval" = yes; then
9746 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9748 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9753 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9758 eval "$wx_cv_use_clipboard"
9760 if test x"$enablestring" = xdisable; then
9761 if test $wxUSE_CLIPBOARD = no; then
9767 result=$wxUSE_CLIPBOARD
9770 { echo "$as_me:$LINENO: result: $result" >&5
9771 echo "${ECHO_T}$result" >&6; }
9775 defaultval=$wxUSE_ALL_FEATURES
9776 if test -z "$defaultval"; then
9777 if test x"$enablestring" = xdisable; then
9784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9785 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9786 # Check whether --enable-dnd was given.
9787 if test "${enable_dnd+set}" = set; then
9788 enableval=$enable_dnd;
9789 if test "$enableval" = yes; then
9790 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9792 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9797 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9802 eval "$wx_cv_use_dnd"
9804 if test x"$enablestring" = xdisable; then
9805 if test $wxUSE_DRAG_AND_DROP = no; then
9811 result=$wxUSE_DRAG_AND_DROP
9814 { echo "$as_me:$LINENO: result: $result" >&5
9815 echo "${ECHO_T}$result" >&6; }
9819 DEFAULT_wxUSE_CONTROLS=none
9821 enablestring=disable
9823 if test -z "$defaultval"; then
9824 if test x"$enablestring" = xdisable; then
9831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9833 # Check whether --enable-controls was given.
9834 if test "${enable_controls+set}" = set; then
9835 enableval=$enable_controls;
9836 if test "$enableval" = yes; then
9837 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9839 wx_cv_use_controls='wxUSE_CONTROLS=no'
9844 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9849 eval "$wx_cv_use_controls"
9851 if test x"$enablestring" = xdisable; then
9852 if test $wxUSE_CONTROLS = no; then
9858 result=$wxUSE_CONTROLS
9861 { echo "$as_me:$LINENO: result: $result" >&5
9862 echo "${ECHO_T}$result" >&6; }
9865 if test "$wxUSE_CONTROLS" = "no"; then
9866 DEFAULT_wxUSE_ACCEL=no
9867 DEFAULT_wxUSE_ANIMATIONCTRL=no
9868 DEFAULT_wxUSE_BANNERWINDOW=no
9869 DEFAULT_wxUSE_BMPBUTTON=no
9870 DEFAULT_wxUSE_BUTTON=no
9871 DEFAULT_wxUSE_CALCTRL=no
9872 DEFAULT_wxUSE_CARET=no
9873 DEFAULT_wxUSE_CHECKBOX=no
9874 DEFAULT_wxUSE_CHECKLISTBOX=no
9875 DEFAULT_wxUSE_CHOICE=no
9876 DEFAULT_wxUSE_CHOICEBOOK=no
9877 DEFAULT_wxUSE_COLLPANE=no
9878 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9879 DEFAULT_wxUSE_COMBOBOX=no
9880 DEFAULT_wxUSE_COMBOBOX=no
9881 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9882 DEFAULT_wxUSE_DATAVIEWCTRL=no
9883 DEFAULT_wxUSE_DATEPICKCTRL=no
9884 DEFAULT_wxUSE_DETECT_SM=no
9885 DEFAULT_wxUSE_DIRPICKERCTRL=no
9886 DEFAULT_wxUSE_DISPLAY=no
9887 DEFAULT_wxUSE_FILECTRL=no
9888 DEFAULT_wxUSE_FILEPICKERCTRL=no
9889 DEFAULT_wxUSE_FONTPICKERCTRL=no
9890 DEFAULT_wxUSE_GAUGE=no
9891 DEFAULT_wxUSE_GRID=no
9892 DEFAULT_wxUSE_HEADERCTRL=no
9893 DEFAULT_wxUSE_HYPERLINKCTRL=no
9894 DEFAULT_wxUSE_IMAGLIST=no
9895 DEFAULT_wxUSE_LISTBOOK=no
9896 DEFAULT_wxUSE_LISTBOX=no
9897 DEFAULT_wxUSE_LISTCTRL=no
9898 DEFAULT_wxUSE_MARKUP=no
9899 DEFAULT_wxUSE_NOTEBOOK=no
9900 DEFAULT_wxUSE_POPUPWIN=no
9901 DEFAULT_wxUSE_RADIOBOX=no
9902 DEFAULT_wxUSE_RADIOBTN=no
9903 DEFAULT_wxUSE_RICHMSGDLG=no
9904 DEFAULT_wxUSE_RICHTOOLTIP=no
9905 DEFAULT_wxUSE_REARRANGECTRL=no
9906 DEFAULT_wxUSE_SASH=no
9907 DEFAULT_wxUSE_SCROLLBAR=no
9908 DEFAULT_wxUSE_SEARCHCTRL=no
9909 DEFAULT_wxUSE_SLIDER=no
9910 DEFAULT_wxUSE_SPINBTN=no
9911 DEFAULT_wxUSE_SPINCTRL=no
9912 DEFAULT_wxUSE_SPLITTER=no
9913 DEFAULT_wxUSE_STATBMP=no
9914 DEFAULT_wxUSE_STATBOX=no
9915 DEFAULT_wxUSE_STATLINE=no
9916 DEFAULT_wxUSE_STATUSBAR=no
9917 DEFAULT_wxUSE_TIMEPICKCTRL=no
9918 DEFAULT_wxUSE_TIPWINDOW=no
9919 DEFAULT_wxUSE_TOGGLEBTN=no
9920 DEFAULT_wxUSE_TOOLBAR=no
9921 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9922 DEFAULT_wxUSE_TOOLBOOK=no
9923 DEFAULT_wxUSE_TOOLTIPS=no
9924 DEFAULT_wxUSE_TREEBOOK=no
9925 DEFAULT_wxUSE_TREECTRL=no
9926 DEFAULT_wxUSE_TREELISTCTRL=no
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9942 # Check whether --enable-markup was given.
9943 if test "${enable_markup+set}" = set; then
9944 enableval=$enable_markup;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_markup='wxUSE_MARKUP=yes'
9948 wx_cv_use_markup='wxUSE_MARKUP=no'
9953 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9958 eval "$wx_cv_use_markup"
9960 if test x"$enablestring" = xdisable; then
9961 if test $wxUSE_MARKUP = no; then
9967 result=$wxUSE_MARKUP
9970 { echo "$as_me:$LINENO: result: $result" >&5
9971 echo "${ECHO_T}$result" >&6; }
9976 defaultval=$wxUSE_ALL_FEATURES
9977 if test -z "$defaultval"; then
9978 if test x"$enablestring" = xdisable; then
9985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9986 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9987 # Check whether --enable-accel was given.
9988 if test "${enable_accel+set}" = set; then
9989 enableval=$enable_accel;
9990 if test "$enableval" = yes; then
9991 wx_cv_use_accel='wxUSE_ACCEL=yes'
9993 wx_cv_use_accel='wxUSE_ACCEL=no'
9998 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10003 eval "$wx_cv_use_accel"
10005 if test x"$enablestring" = xdisable; then
10006 if test $wxUSE_ACCEL = no; then
10012 result=$wxUSE_ACCEL
10015 { echo "$as_me:$LINENO: result: $result" >&5
10016 echo "${ECHO_T}$result" >&6; }
10020 defaultval=$wxUSE_ALL_FEATURES
10021 if test -z "$defaultval"; then
10022 if test x"$enablestring" = xdisable; then
10029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10030 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10031 # Check whether --enable-animatectrl was given.
10032 if test "${enable_animatectrl+set}" = set; then
10033 enableval=$enable_animatectrl;
10034 if test "$enableval" = yes; then
10035 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10037 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10042 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10047 eval "$wx_cv_use_animatectrl"
10049 if test x"$enablestring" = xdisable; then
10050 if test $wxUSE_ANIMATIONCTRL = no; then
10056 result=$wxUSE_ANIMATIONCTRL
10059 { echo "$as_me:$LINENO: result: $result" >&5
10060 echo "${ECHO_T}$result" >&6; }
10064 defaultval=$wxUSE_ALL_FEATURES
10065 if test -z "$defaultval"; then
10066 if test x"$enablestring" = xdisable; then
10073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10075 # Check whether --enable-bannerwindow was given.
10076 if test "${enable_bannerwindow+set}" = set; then
10077 enableval=$enable_bannerwindow;
10078 if test "$enableval" = yes; then
10079 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10081 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10086 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10091 eval "$wx_cv_use_bannerwindow"
10093 if test x"$enablestring" = xdisable; then
10094 if test $wxUSE_BANNERWINDOW = no; then
10100 result=$wxUSE_BANNERWINDOW
10103 { echo "$as_me:$LINENO: result: $result" >&5
10104 echo "${ECHO_T}$result" >&6; }
10108 defaultval=$wxUSE_ALL_FEATURES
10109 if test -z "$defaultval"; then
10110 if test x"$enablestring" = xdisable; then
10117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10118 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10119 # Check whether --enable-artstd was given.
10120 if test "${enable_artstd+set}" = set; then
10121 enableval=$enable_artstd;
10122 if test "$enableval" = yes; then
10123 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10125 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10130 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10135 eval "$wx_cv_use_artstd"
10137 if test x"$enablestring" = xdisable; then
10138 if test $wxUSE_ARTPROVIDER_STD = no; then
10144 result=$wxUSE_ARTPROVIDER_STD
10147 { echo "$as_me:$LINENO: result: $result" >&5
10148 echo "${ECHO_T}$result" >&6; }
10152 defaultval=$wxUSE_ALL_FEATURES
10153 if test -z "$defaultval"; then
10154 if test x"$enablestring" = xdisable; then
10161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10162 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10163 # Check whether --enable-arttango was given.
10164 if test "${enable_arttango+set}" = set; then
10165 enableval=$enable_arttango;
10166 if test "$enableval" = yes; then
10167 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10169 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10174 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10179 eval "$wx_cv_use_arttango"
10181 if test x"$enablestring" = xdisable; then
10182 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10188 result=$wxUSE_ARTPROVIDER_TANGO
10191 { echo "$as_me:$LINENO: result: $result" >&5
10192 echo "${ECHO_T}$result" >&6; }
10196 defaultval=$wxUSE_ALL_FEATURES
10197 if test -z "$defaultval"; then
10198 if test x"$enablestring" = xdisable; then
10205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10206 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10207 # Check whether --enable-bmpbutton was given.
10208 if test "${enable_bmpbutton+set}" = set; then
10209 enableval=$enable_bmpbutton;
10210 if test "$enableval" = yes; then
10211 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10213 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10218 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10223 eval "$wx_cv_use_bmpbutton"
10225 if test x"$enablestring" = xdisable; then
10226 if test $wxUSE_BMPBUTTON = no; then
10232 result=$wxUSE_BMPBUTTON
10235 { echo "$as_me:$LINENO: result: $result" >&5
10236 echo "${ECHO_T}$result" >&6; }
10240 defaultval=$wxUSE_ALL_FEATURES
10241 if test -z "$defaultval"; then
10242 if test x"$enablestring" = xdisable; then
10249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10251 # Check whether --enable-bmpcombobox was given.
10252 if test "${enable_bmpcombobox+set}" = set; then
10253 enableval=$enable_bmpcombobox;
10254 if test "$enableval" = yes; then
10255 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10257 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10262 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10267 eval "$wx_cv_use_bmpcombobox"
10269 if test x"$enablestring" = xdisable; then
10270 if test $wxUSE_BITMAPCOMBOBOX = no; then
10276 result=$wxUSE_BITMAPCOMBOBOX
10279 { echo "$as_me:$LINENO: result: $result" >&5
10280 echo "${ECHO_T}$result" >&6; }
10284 defaultval=$wxUSE_ALL_FEATURES
10285 if test -z "$defaultval"; then
10286 if test x"$enablestring" = xdisable; then
10293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10294 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10295 # Check whether --enable-button was given.
10296 if test "${enable_button+set}" = set; then
10297 enableval=$enable_button;
10298 if test "$enableval" = yes; then
10299 wx_cv_use_button='wxUSE_BUTTON=yes'
10301 wx_cv_use_button='wxUSE_BUTTON=no'
10306 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10311 eval "$wx_cv_use_button"
10313 if test x"$enablestring" = xdisable; then
10314 if test $wxUSE_BUTTON = no; then
10320 result=$wxUSE_BUTTON
10323 { echo "$as_me:$LINENO: result: $result" >&5
10324 echo "${ECHO_T}$result" >&6; }
10328 defaultval=$wxUSE_ALL_FEATURES
10329 if test -z "$defaultval"; then
10330 if test x"$enablestring" = xdisable; then
10337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10338 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10339 # Check whether --enable-calendar was given.
10340 if test "${enable_calendar+set}" = set; then
10341 enableval=$enable_calendar;
10342 if test "$enableval" = yes; then
10343 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10345 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10350 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10355 eval "$wx_cv_use_calendar"
10357 if test x"$enablestring" = xdisable; then
10358 if test $wxUSE_CALCTRL = no; then
10364 result=$wxUSE_CALCTRL
10367 { echo "$as_me:$LINENO: result: $result" >&5
10368 echo "${ECHO_T}$result" >&6; }
10372 defaultval=$wxUSE_ALL_FEATURES
10373 if test -z "$defaultval"; then
10374 if test x"$enablestring" = xdisable; then
10381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10382 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10383 # Check whether --enable-caret was given.
10384 if test "${enable_caret+set}" = set; then
10385 enableval=$enable_caret;
10386 if test "$enableval" = yes; then
10387 wx_cv_use_caret='wxUSE_CARET=yes'
10389 wx_cv_use_caret='wxUSE_CARET=no'
10394 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10399 eval "$wx_cv_use_caret"
10401 if test x"$enablestring" = xdisable; then
10402 if test $wxUSE_CARET = no; then
10408 result=$wxUSE_CARET
10411 { echo "$as_me:$LINENO: result: $result" >&5
10412 echo "${ECHO_T}$result" >&6; }
10416 defaultval=$wxUSE_ALL_FEATURES
10417 if test -z "$defaultval"; then
10418 if test x"$enablestring" = xdisable; then
10425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10426 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10427 # Check whether --enable-checkbox was given.
10428 if test "${enable_checkbox+set}" = set; then
10429 enableval=$enable_checkbox;
10430 if test "$enableval" = yes; then
10431 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10433 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10438 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10443 eval "$wx_cv_use_checkbox"
10445 if test x"$enablestring" = xdisable; then
10446 if test $wxUSE_CHECKBOX = no; then
10452 result=$wxUSE_CHECKBOX
10455 { echo "$as_me:$LINENO: result: $result" >&5
10456 echo "${ECHO_T}$result" >&6; }
10460 defaultval=$wxUSE_ALL_FEATURES
10461 if test -z "$defaultval"; then
10462 if test x"$enablestring" = xdisable; then
10469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10470 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10471 # Check whether --enable-checklst was given.
10472 if test "${enable_checklst+set}" = set; then
10473 enableval=$enable_checklst;
10474 if test "$enableval" = yes; then
10475 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10477 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10482 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10487 eval "$wx_cv_use_checklst"
10489 if test x"$enablestring" = xdisable; then
10490 if test $wxUSE_CHECKLST = no; then
10496 result=$wxUSE_CHECKLST
10499 { echo "$as_me:$LINENO: result: $result" >&5
10500 echo "${ECHO_T}$result" >&6; }
10504 defaultval=$wxUSE_ALL_FEATURES
10505 if test -z "$defaultval"; then
10506 if test x"$enablestring" = xdisable; then
10513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10514 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10515 # Check whether --enable-choice was given.
10516 if test "${enable_choice+set}" = set; then
10517 enableval=$enable_choice;
10518 if test "$enableval" = yes; then
10519 wx_cv_use_choice='wxUSE_CHOICE=yes'
10521 wx_cv_use_choice='wxUSE_CHOICE=no'
10526 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10531 eval "$wx_cv_use_choice"
10533 if test x"$enablestring" = xdisable; then
10534 if test $wxUSE_CHOICE = no; then
10540 result=$wxUSE_CHOICE
10543 { echo "$as_me:$LINENO: result: $result" >&5
10544 echo "${ECHO_T}$result" >&6; }
10548 defaultval=$wxUSE_ALL_FEATURES
10549 if test -z "$defaultval"; then
10550 if test x"$enablestring" = xdisable; then
10557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10558 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10559 # Check whether --enable-choicebook was given.
10560 if test "${enable_choicebook+set}" = set; then
10561 enableval=$enable_choicebook;
10562 if test "$enableval" = yes; then
10563 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10565 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10570 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10575 eval "$wx_cv_use_choicebook"
10577 if test x"$enablestring" = xdisable; then
10578 if test $wxUSE_CHOICEBOOK = no; then
10584 result=$wxUSE_CHOICEBOOK
10587 { echo "$as_me:$LINENO: result: $result" >&5
10588 echo "${ECHO_T}$result" >&6; }
10592 defaultval=$wxUSE_ALL_FEATURES
10593 if test -z "$defaultval"; then
10594 if test x"$enablestring" = xdisable; then
10601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10602 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10603 # Check whether --enable-collpane was given.
10604 if test "${enable_collpane+set}" = set; then
10605 enableval=$enable_collpane;
10606 if test "$enableval" = yes; then
10607 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10609 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10614 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10619 eval "$wx_cv_use_collpane"
10621 if test x"$enablestring" = xdisable; then
10622 if test $wxUSE_COLLPANE = no; then
10628 result=$wxUSE_COLLPANE
10631 { echo "$as_me:$LINENO: result: $result" >&5
10632 echo "${ECHO_T}$result" >&6; }
10636 defaultval=$wxUSE_ALL_FEATURES
10637 if test -z "$defaultval"; then
10638 if test x"$enablestring" = xdisable; then
10645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10646 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10647 # Check whether --enable-colourpicker was given.
10648 if test "${enable_colourpicker+set}" = set; then
10649 enableval=$enable_colourpicker;
10650 if test "$enableval" = yes; then
10651 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10653 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10658 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10663 eval "$wx_cv_use_colourpicker"
10665 if test x"$enablestring" = xdisable; then
10666 if test $wxUSE_COLOURPICKERCTRL = no; then
10672 result=$wxUSE_COLOURPICKERCTRL
10675 { echo "$as_me:$LINENO: result: $result" >&5
10676 echo "${ECHO_T}$result" >&6; }
10680 defaultval=$wxUSE_ALL_FEATURES
10681 if test -z "$defaultval"; then
10682 if test x"$enablestring" = xdisable; then
10689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10690 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10691 # Check whether --enable-combobox was given.
10692 if test "${enable_combobox+set}" = set; then
10693 enableval=$enable_combobox;
10694 if test "$enableval" = yes; then
10695 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10697 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10702 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10707 eval "$wx_cv_use_combobox"
10709 if test x"$enablestring" = xdisable; then
10710 if test $wxUSE_COMBOBOX = no; then
10716 result=$wxUSE_COMBOBOX
10719 { echo "$as_me:$LINENO: result: $result" >&5
10720 echo "${ECHO_T}$result" >&6; }
10724 defaultval=$wxUSE_ALL_FEATURES
10725 if test -z "$defaultval"; then
10726 if test x"$enablestring" = xdisable; then
10733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10734 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10735 # Check whether --enable-comboctrl was given.
10736 if test "${enable_comboctrl+set}" = set; then
10737 enableval=$enable_comboctrl;
10738 if test "$enableval" = yes; then
10739 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10741 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10746 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10751 eval "$wx_cv_use_comboctrl"
10753 if test x"$enablestring" = xdisable; then
10754 if test $wxUSE_COMBOCTRL = no; then
10760 result=$wxUSE_COMBOCTRL
10763 { echo "$as_me:$LINENO: result: $result" >&5
10764 echo "${ECHO_T}$result" >&6; }
10768 defaultval=$wxUSE_ALL_FEATURES
10769 if test -z "$defaultval"; then
10770 if test x"$enablestring" = xdisable; then
10777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10778 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10779 # Check whether --enable-commandlinkbutton was given.
10780 if test "${enable_commandlinkbutton+set}" = set; then
10781 enableval=$enable_commandlinkbutton;
10782 if test "$enableval" = yes; then
10783 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10785 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10790 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10795 eval "$wx_cv_use_commandlinkbutton"
10797 if test x"$enablestring" = xdisable; then
10798 if test $wxUSE_COMMANDLINKBUTTON = no; then
10804 result=$wxUSE_COMMANDLINKBUTTON
10807 { echo "$as_me:$LINENO: result: $result" >&5
10808 echo "${ECHO_T}$result" >&6; }
10812 defaultval=$wxUSE_ALL_FEATURES
10813 if test -z "$defaultval"; then
10814 if test x"$enablestring" = xdisable; then
10821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10822 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10823 # Check whether --enable-dataviewctrl was given.
10824 if test "${enable_dataviewctrl+set}" = set; then
10825 enableval=$enable_dataviewctrl;
10826 if test "$enableval" = yes; then
10827 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10829 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10834 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10839 eval "$wx_cv_use_dataviewctrl"
10841 if test x"$enablestring" = xdisable; then
10842 if test $wxUSE_DATAVIEWCTRL = no; then
10848 result=$wxUSE_DATAVIEWCTRL
10851 { echo "$as_me:$LINENO: result: $result" >&5
10852 echo "${ECHO_T}$result" >&6; }
10856 defaultval=$wxUSE_ALL_FEATURES
10857 if test -z "$defaultval"; then
10858 if test x"$enablestring" = xdisable; then
10865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10866 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10867 # Check whether --enable-datepick was given.
10868 if test "${enable_datepick+set}" = set; then
10869 enableval=$enable_datepick;
10870 if test "$enableval" = yes; then
10871 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10873 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10878 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10883 eval "$wx_cv_use_datepick"
10885 if test x"$enablestring" = xdisable; then
10886 if test $wxUSE_DATEPICKCTRL = no; then
10892 result=$wxUSE_DATEPICKCTRL
10895 { echo "$as_me:$LINENO: result: $result" >&5
10896 echo "${ECHO_T}$result" >&6; }
10900 defaultval=$wxUSE_ALL_FEATURES
10901 if test -z "$defaultval"; then
10902 if test x"$enablestring" = xdisable; then
10909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10910 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10911 # Check whether --enable-detect_sm was given.
10912 if test "${enable_detect_sm+set}" = set; then
10913 enableval=$enable_detect_sm;
10914 if test "$enableval" = yes; then
10915 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10917 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10922 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10927 eval "$wx_cv_use_detect_sm"
10929 if test x"$enablestring" = xdisable; then
10930 if test $wxUSE_DETECT_SM = no; then
10936 result=$wxUSE_DETECT_SM
10939 { echo "$as_me:$LINENO: result: $result" >&5
10940 echo "${ECHO_T}$result" >&6; }
10944 defaultval=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x"$enablestring" = xdisable; then
10953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10954 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10955 # Check whether --enable-dirpicker was given.
10956 if test "${enable_dirpicker+set}" = set; then
10957 enableval=$enable_dirpicker;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10961 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10966 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10971 eval "$wx_cv_use_dirpicker"
10973 if test x"$enablestring" = xdisable; then
10974 if test $wxUSE_DIRPICKERCTRL = no; then
10980 result=$wxUSE_DIRPICKERCTRL
10983 { echo "$as_me:$LINENO: result: $result" >&5
10984 echo "${ECHO_T}$result" >&6; }
10988 defaultval=$wxUSE_ALL_FEATURES
10989 if test -z "$defaultval"; then
10990 if test x"$enablestring" = xdisable; then
10997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10998 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10999 # Check whether --enable-display was given.
11000 if test "${enable_display+set}" = set; then
11001 enableval=$enable_display;
11002 if test "$enableval" = yes; then
11003 wx_cv_use_display='wxUSE_DISPLAY=yes'
11005 wx_cv_use_display='wxUSE_DISPLAY=no'
11010 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11015 eval "$wx_cv_use_display"
11017 if test x"$enablestring" = xdisable; then
11018 if test $wxUSE_DISPLAY = no; then
11024 result=$wxUSE_DISPLAY
11027 { echo "$as_me:$LINENO: result: $result" >&5
11028 echo "${ECHO_T}$result" >&6; }
11032 defaultval=$wxUSE_ALL_FEATURES
11033 if test -z "$defaultval"; then
11034 if test x"$enablestring" = xdisable; then
11041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11042 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11043 # Check whether --enable-editablebox was given.
11044 if test "${enable_editablebox+set}" = set; then
11045 enableval=$enable_editablebox;
11046 if test "$enableval" = yes; then
11047 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11049 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11054 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11059 eval "$wx_cv_use_editablebox"
11061 if test x"$enablestring" = xdisable; then
11062 if test $wxUSE_EDITABLELISTBOX = no; then
11068 result=$wxUSE_EDITABLELISTBOX
11071 { echo "$as_me:$LINENO: result: $result" >&5
11072 echo "${ECHO_T}$result" >&6; }
11076 defaultval=$wxUSE_ALL_FEATURES
11077 if test -z "$defaultval"; then
11078 if test x"$enablestring" = xdisable; then
11085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11086 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11087 # Check whether --enable-filectrl was given.
11088 if test "${enable_filectrl+set}" = set; then
11089 enableval=$enable_filectrl;
11090 if test "$enableval" = yes; then
11091 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11093 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11098 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11103 eval "$wx_cv_use_filectrl"
11105 if test x"$enablestring" = xdisable; then
11106 if test $wxUSE_FILECTRL = no; then
11112 result=$wxUSE_FILECTRL
11115 { echo "$as_me:$LINENO: result: $result" >&5
11116 echo "${ECHO_T}$result" >&6; }
11120 defaultval=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x"$enablestring" = xdisable; then
11129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11130 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11131 # Check whether --enable-filepicker was given.
11132 if test "${enable_filepicker+set}" = set; then
11133 enableval=$enable_filepicker;
11134 if test "$enableval" = yes; then
11135 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11137 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11142 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11147 eval "$wx_cv_use_filepicker"
11149 if test x"$enablestring" = xdisable; then
11150 if test $wxUSE_FILEPICKERCTRL = no; then
11156 result=$wxUSE_FILEPICKERCTRL
11159 { echo "$as_me:$LINENO: result: $result" >&5
11160 echo "${ECHO_T}$result" >&6; }
11164 defaultval=$wxUSE_ALL_FEATURES
11165 if test -z "$defaultval"; then
11166 if test x"$enablestring" = xdisable; then
11173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11174 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11175 # Check whether --enable-fontpicker was given.
11176 if test "${enable_fontpicker+set}" = set; then
11177 enableval=$enable_fontpicker;
11178 if test "$enableval" = yes; then
11179 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11181 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11186 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11191 eval "$wx_cv_use_fontpicker"
11193 if test x"$enablestring" = xdisable; then
11194 if test $wxUSE_FONTPICKERCTRL = no; then
11200 result=$wxUSE_FONTPICKERCTRL
11203 { echo "$as_me:$LINENO: result: $result" >&5
11204 echo "${ECHO_T}$result" >&6; }
11208 defaultval=$wxUSE_ALL_FEATURES
11209 if test -z "$defaultval"; then
11210 if test x"$enablestring" = xdisable; then
11217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11218 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11219 # Check whether --enable-gauge was given.
11220 if test "${enable_gauge+set}" = set; then
11221 enableval=$enable_gauge;
11222 if test "$enableval" = yes; then
11223 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11225 wx_cv_use_gauge='wxUSE_GAUGE=no'
11230 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11235 eval "$wx_cv_use_gauge"
11237 if test x"$enablestring" = xdisable; then
11238 if test $wxUSE_GAUGE = no; then
11244 result=$wxUSE_GAUGE
11247 { echo "$as_me:$LINENO: result: $result" >&5
11248 echo "${ECHO_T}$result" >&6; }
11252 defaultval=$wxUSE_ALL_FEATURES
11253 if test -z "$defaultval"; then
11254 if test x"$enablestring" = xdisable; then
11261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11262 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11263 # Check whether --enable-grid was given.
11264 if test "${enable_grid+set}" = set; then
11265 enableval=$enable_grid;
11266 if test "$enableval" = yes; then
11267 wx_cv_use_grid='wxUSE_GRID=yes'
11269 wx_cv_use_grid='wxUSE_GRID=no'
11274 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11279 eval "$wx_cv_use_grid"
11281 if test x"$enablestring" = xdisable; then
11282 if test $wxUSE_GRID = no; then
11291 { echo "$as_me:$LINENO: result: $result" >&5
11292 echo "${ECHO_T}$result" >&6; }
11296 defaultval=$wxUSE_ALL_FEATURES
11297 if test -z "$defaultval"; then
11298 if test x"$enablestring" = xdisable; then
11305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11306 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11307 # Check whether --enable-headerctrl was given.
11308 if test "${enable_headerctrl+set}" = set; then
11309 enableval=$enable_headerctrl;
11310 if test "$enableval" = yes; then
11311 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11313 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11318 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11323 eval "$wx_cv_use_headerctrl"
11325 if test x"$enablestring" = xdisable; then
11326 if test $wxUSE_HEADERCTRL = no; then
11332 result=$wxUSE_HEADERCTRL
11335 { echo "$as_me:$LINENO: result: $result" >&5
11336 echo "${ECHO_T}$result" >&6; }
11340 defaultval=$wxUSE_ALL_FEATURES
11341 if test -z "$defaultval"; then
11342 if test x"$enablestring" = xdisable; then
11349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11350 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11351 # Check whether --enable-hyperlink was given.
11352 if test "${enable_hyperlink+set}" = set; then
11353 enableval=$enable_hyperlink;
11354 if test "$enableval" = yes; then
11355 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11357 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11362 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11367 eval "$wx_cv_use_hyperlink"
11369 if test x"$enablestring" = xdisable; then
11370 if test $wxUSE_HYPERLINKCTRL = no; then
11376 result=$wxUSE_HYPERLINKCTRL
11379 { echo "$as_me:$LINENO: result: $result" >&5
11380 echo "${ECHO_T}$result" >&6; }
11384 defaultval=$wxUSE_ALL_FEATURES
11385 if test -z "$defaultval"; then
11386 if test x"$enablestring" = xdisable; then
11393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11394 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11395 # Check whether --enable-imaglist was given.
11396 if test "${enable_imaglist+set}" = set; then
11397 enableval=$enable_imaglist;
11398 if test "$enableval" = yes; then
11399 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11401 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11406 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11411 eval "$wx_cv_use_imaglist"
11413 if test x"$enablestring" = xdisable; then
11414 if test $wxUSE_IMAGLIST = no; then
11420 result=$wxUSE_IMAGLIST
11423 { echo "$as_me:$LINENO: result: $result" >&5
11424 echo "${ECHO_T}$result" >&6; }
11428 defaultval=$wxUSE_ALL_FEATURES
11429 if test -z "$defaultval"; then
11430 if test x"$enablestring" = xdisable; then
11437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11438 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11439 # Check whether --enable-infobar was given.
11440 if test "${enable_infobar+set}" = set; then
11441 enableval=$enable_infobar;
11442 if test "$enableval" = yes; then
11443 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11445 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11450 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11455 eval "$wx_cv_use_infobar"
11457 if test x"$enablestring" = xdisable; then
11458 if test $wxUSE_INFOBAR = no; then
11464 result=$wxUSE_INFOBAR
11467 { echo "$as_me:$LINENO: result: $result" >&5
11468 echo "${ECHO_T}$result" >&6; }
11472 defaultval=$wxUSE_ALL_FEATURES
11473 if test -z "$defaultval"; then
11474 if test x"$enablestring" = xdisable; then
11481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11482 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11483 # Check whether --enable-listbook was given.
11484 if test "${enable_listbook+set}" = set; then
11485 enableval=$enable_listbook;
11486 if test "$enableval" = yes; then
11487 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11489 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11494 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11499 eval "$wx_cv_use_listbook"
11501 if test x"$enablestring" = xdisable; then
11502 if test $wxUSE_LISTBOOK = no; then
11508 result=$wxUSE_LISTBOOK
11511 { echo "$as_me:$LINENO: result: $result" >&5
11512 echo "${ECHO_T}$result" >&6; }
11516 defaultval=$wxUSE_ALL_FEATURES
11517 if test -z "$defaultval"; then
11518 if test x"$enablestring" = xdisable; then
11525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11526 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11527 # Check whether --enable-listbox was given.
11528 if test "${enable_listbox+set}" = set; then
11529 enableval=$enable_listbox;
11530 if test "$enableval" = yes; then
11531 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11533 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11538 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11543 eval "$wx_cv_use_listbox"
11545 if test x"$enablestring" = xdisable; then
11546 if test $wxUSE_LISTBOX = no; then
11552 result=$wxUSE_LISTBOX
11555 { echo "$as_me:$LINENO: result: $result" >&5
11556 echo "${ECHO_T}$result" >&6; }
11560 defaultval=$wxUSE_ALL_FEATURES
11561 if test -z "$defaultval"; then
11562 if test x"$enablestring" = xdisable; then
11569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11570 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11571 # Check whether --enable-listctrl was given.
11572 if test "${enable_listctrl+set}" = set; then
11573 enableval=$enable_listctrl;
11574 if test "$enableval" = yes; then
11575 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11577 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11582 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11587 eval "$wx_cv_use_listctrl"
11589 if test x"$enablestring" = xdisable; then
11590 if test $wxUSE_LISTCTRL = no; then
11596 result=$wxUSE_LISTCTRL
11599 { echo "$as_me:$LINENO: result: $result" >&5
11600 echo "${ECHO_T}$result" >&6; }
11604 defaultval=$wxUSE_ALL_FEATURES
11605 if test -z "$defaultval"; then
11606 if test x"$enablestring" = xdisable; then
11613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11614 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11615 # Check whether --enable-notebook was given.
11616 if test "${enable_notebook+set}" = set; then
11617 enableval=$enable_notebook;
11618 if test "$enableval" = yes; then
11619 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11621 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11626 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11631 eval "$wx_cv_use_notebook"
11633 if test x"$enablestring" = xdisable; then
11634 if test $wxUSE_NOTEBOOK = no; then
11640 result=$wxUSE_NOTEBOOK
11643 { echo "$as_me:$LINENO: result: $result" >&5
11644 echo "${ECHO_T}$result" >&6; }
11648 defaultval=$wxUSE_ALL_FEATURES
11649 if test -z "$defaultval"; then
11650 if test x"$enablestring" = xdisable; then
11657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11658 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11659 # Check whether --enable-notifmsg was given.
11660 if test "${enable_notifmsg+set}" = set; then
11661 enableval=$enable_notifmsg;
11662 if test "$enableval" = yes; then
11663 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11665 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11670 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11675 eval "$wx_cv_use_notifmsg"
11677 if test x"$enablestring" = xdisable; then
11678 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11684 result=$wxUSE_NOTIFICATION_MESSAGE
11687 { echo "$as_me:$LINENO: result: $result" >&5
11688 echo "${ECHO_T}$result" >&6; }
11692 defaultval=$wxUSE_ALL_FEATURES
11693 if test -z "$defaultval"; then
11694 if test x"$enablestring" = xdisable; then
11701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11702 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11703 # Check whether --enable-odcombobox was given.
11704 if test "${enable_odcombobox+set}" = set; then
11705 enableval=$enable_odcombobox;
11706 if test "$enableval" = yes; then
11707 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11709 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11714 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11719 eval "$wx_cv_use_odcombobox"
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_ODCOMBOBOX = no; then
11728 result=$wxUSE_ODCOMBOBOX
11731 { echo "$as_me:$LINENO: result: $result" >&5
11732 echo "${ECHO_T}$result" >&6; }
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11746 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11747 # Check whether --enable-popupwin was given.
11748 if test "${enable_popupwin+set}" = set; then
11749 enableval=$enable_popupwin;
11750 if test "$enableval" = yes; then
11751 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11753 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11758 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11763 eval "$wx_cv_use_popupwin"
11765 if test x"$enablestring" = xdisable; then
11766 if test $wxUSE_POPUPWIN = no; then
11772 result=$wxUSE_POPUPWIN
11775 { echo "$as_me:$LINENO: result: $result" >&5
11776 echo "${ECHO_T}$result" >&6; }
11780 defaultval=$wxUSE_ALL_FEATURES
11781 if test -z "$defaultval"; then
11782 if test x"$enablestring" = xdisable; then
11789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11790 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11791 # Check whether --enable-radiobox was given.
11792 if test "${enable_radiobox+set}" = set; then
11793 enableval=$enable_radiobox;
11794 if test "$enableval" = yes; then
11795 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11797 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11802 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11807 eval "$wx_cv_use_radiobox"
11809 if test x"$enablestring" = xdisable; then
11810 if test $wxUSE_RADIOBOX = no; then
11816 result=$wxUSE_RADIOBOX
11819 { echo "$as_me:$LINENO: result: $result" >&5
11820 echo "${ECHO_T}$result" >&6; }
11824 defaultval=$wxUSE_ALL_FEATURES
11825 if test -z "$defaultval"; then
11826 if test x"$enablestring" = xdisable; then
11833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11834 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11835 # Check whether --enable-radiobtn was given.
11836 if test "${enable_radiobtn+set}" = set; then
11837 enableval=$enable_radiobtn;
11838 if test "$enableval" = yes; then
11839 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11841 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11846 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11851 eval "$wx_cv_use_radiobtn"
11853 if test x"$enablestring" = xdisable; then
11854 if test $wxUSE_RADIOBTN = no; then
11860 result=$wxUSE_RADIOBTN
11863 { echo "$as_me:$LINENO: result: $result" >&5
11864 echo "${ECHO_T}$result" >&6; }
11868 defaultval=$wxUSE_ALL_FEATURES
11869 if test -z "$defaultval"; then
11870 if test x"$enablestring" = xdisable; then
11877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11878 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11879 # Check whether --enable-richmsgdlg was given.
11880 if test "${enable_richmsgdlg+set}" = set; then
11881 enableval=$enable_richmsgdlg;
11882 if test "$enableval" = yes; then
11883 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11885 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11890 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11895 eval "$wx_cv_use_richmsgdlg"
11897 if test x"$enablestring" = xdisable; then
11898 if test $wxUSE_RICHMSGDLG = no; then
11904 result=$wxUSE_RICHMSGDLG
11907 { echo "$as_me:$LINENO: result: $result" >&5
11908 echo "${ECHO_T}$result" >&6; }
11912 defaultval=$wxUSE_ALL_FEATURES
11913 if test -z "$defaultval"; then
11914 if test x"$enablestring" = xdisable; then
11921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11922 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11923 # Check whether --enable-richtooltip was given.
11924 if test "${enable_richtooltip+set}" = set; then
11925 enableval=$enable_richtooltip;
11926 if test "$enableval" = yes; then
11927 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
11929 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
11934 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11939 eval "$wx_cv_use_richtooltip"
11941 if test x"$enablestring" = xdisable; then
11942 if test $wxUSE_RICHTOOLTIP = no; then
11948 result=$wxUSE_RICHTOOLTIP
11951 { echo "$as_me:$LINENO: result: $result" >&5
11952 echo "${ECHO_T}$result" >&6; }
11956 defaultval=$wxUSE_ALL_FEATURES
11957 if test -z "$defaultval"; then
11958 if test x"$enablestring" = xdisable; then
11965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11966 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11967 # Check whether --enable-rearrangectrl was given.
11968 if test "${enable_rearrangectrl+set}" = set; then
11969 enableval=$enable_rearrangectrl;
11970 if test "$enableval" = yes; then
11971 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11973 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11978 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11983 eval "$wx_cv_use_rearrangectrl"
11985 if test x"$enablestring" = xdisable; then
11986 if test $wxUSE_REARRANGECTRL = no; then
11992 result=$wxUSE_REARRANGECTRL
11995 { echo "$as_me:$LINENO: result: $result" >&5
11996 echo "${ECHO_T}$result" >&6; }
12000 defaultval=$wxUSE_ALL_FEATURES
12001 if test -z "$defaultval"; then
12002 if test x"$enablestring" = xdisable; then
12009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12010 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12011 # Check whether --enable-sash was given.
12012 if test "${enable_sash+set}" = set; then
12013 enableval=$enable_sash;
12014 if test "$enableval" = yes; then
12015 wx_cv_use_sash='wxUSE_SASH=yes'
12017 wx_cv_use_sash='wxUSE_SASH=no'
12022 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12027 eval "$wx_cv_use_sash"
12029 if test x"$enablestring" = xdisable; then
12030 if test $wxUSE_SASH = no; then
12039 { echo "$as_me:$LINENO: result: $result" >&5
12040 echo "${ECHO_T}$result" >&6; }
12044 defaultval=$wxUSE_ALL_FEATURES
12045 if test -z "$defaultval"; then
12046 if test x"$enablestring" = xdisable; then
12053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12054 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12055 # Check whether --enable-scrollbar was given.
12056 if test "${enable_scrollbar+set}" = set; then
12057 enableval=$enable_scrollbar;
12058 if test "$enableval" = yes; then
12059 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12061 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12066 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12071 eval "$wx_cv_use_scrollbar"
12073 if test x"$enablestring" = xdisable; then
12074 if test $wxUSE_SCROLLBAR = no; then
12080 result=$wxUSE_SCROLLBAR
12083 { echo "$as_me:$LINENO: result: $result" >&5
12084 echo "${ECHO_T}$result" >&6; }
12088 defaultval=$wxUSE_ALL_FEATURES
12089 if test -z "$defaultval"; then
12090 if test x"$enablestring" = xdisable; then
12097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12098 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12099 # Check whether --enable-searchctrl was given.
12100 if test "${enable_searchctrl+set}" = set; then
12101 enableval=$enable_searchctrl;
12102 if test "$enableval" = yes; then
12103 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12105 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12110 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12115 eval "$wx_cv_use_searchctrl"
12117 if test x"$enablestring" = xdisable; then
12118 if test $wxUSE_SEARCHCTRL = no; then
12124 result=$wxUSE_SEARCHCTRL
12127 { echo "$as_me:$LINENO: result: $result" >&5
12128 echo "${ECHO_T}$result" >&6; }
12132 defaultval=$wxUSE_ALL_FEATURES
12133 if test -z "$defaultval"; then
12134 if test x"$enablestring" = xdisable; then
12141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12142 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12143 # Check whether --enable-slider was given.
12144 if test "${enable_slider+set}" = set; then
12145 enableval=$enable_slider;
12146 if test "$enableval" = yes; then
12147 wx_cv_use_slider='wxUSE_SLIDER=yes'
12149 wx_cv_use_slider='wxUSE_SLIDER=no'
12154 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12159 eval "$wx_cv_use_slider"
12161 if test x"$enablestring" = xdisable; then
12162 if test $wxUSE_SLIDER = no; then
12168 result=$wxUSE_SLIDER
12171 { echo "$as_me:$LINENO: result: $result" >&5
12172 echo "${ECHO_T}$result" >&6; }
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12186 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12187 # Check whether --enable-spinbtn was given.
12188 if test "${enable_spinbtn+set}" = set; then
12189 enableval=$enable_spinbtn;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12193 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12198 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12203 eval "$wx_cv_use_spinbtn"
12205 if test x"$enablestring" = xdisable; then
12206 if test $wxUSE_SPINBTN = no; then
12212 result=$wxUSE_SPINBTN
12215 { echo "$as_me:$LINENO: result: $result" >&5
12216 echo "${ECHO_T}$result" >&6; }
12220 defaultval=$wxUSE_ALL_FEATURES
12221 if test -z "$defaultval"; then
12222 if test x"$enablestring" = xdisable; then
12229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12230 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12231 # Check whether --enable-spinctrl was given.
12232 if test "${enable_spinctrl+set}" = set; then
12233 enableval=$enable_spinctrl;
12234 if test "$enableval" = yes; then
12235 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12237 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12242 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12247 eval "$wx_cv_use_spinctrl"
12249 if test x"$enablestring" = xdisable; then
12250 if test $wxUSE_SPINCTRL = no; then
12256 result=$wxUSE_SPINCTRL
12259 { echo "$as_me:$LINENO: result: $result" >&5
12260 echo "${ECHO_T}$result" >&6; }
12264 defaultval=$wxUSE_ALL_FEATURES
12265 if test -z "$defaultval"; then
12266 if test x"$enablestring" = xdisable; then
12273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12274 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12275 # Check whether --enable-splitter was given.
12276 if test "${enable_splitter+set}" = set; then
12277 enableval=$enable_splitter;
12278 if test "$enableval" = yes; then
12279 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12281 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12286 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12291 eval "$wx_cv_use_splitter"
12293 if test x"$enablestring" = xdisable; then
12294 if test $wxUSE_SPLITTER = no; then
12300 result=$wxUSE_SPLITTER
12303 { echo "$as_me:$LINENO: result: $result" >&5
12304 echo "${ECHO_T}$result" >&6; }
12308 defaultval=$wxUSE_ALL_FEATURES
12309 if test -z "$defaultval"; then
12310 if test x"$enablestring" = xdisable; then
12317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12318 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12319 # Check whether --enable-statbmp was given.
12320 if test "${enable_statbmp+set}" = set; then
12321 enableval=$enable_statbmp;
12322 if test "$enableval" = yes; then
12323 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12325 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12330 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12335 eval "$wx_cv_use_statbmp"
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_STATBMP = no; then
12344 result=$wxUSE_STATBMP
12347 { echo "$as_me:$LINENO: result: $result" >&5
12348 echo "${ECHO_T}$result" >&6; }
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12363 # Check whether --enable-statbox was given.
12364 if test "${enable_statbox+set}" = set; then
12365 enableval=$enable_statbox;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12369 wx_cv_use_statbox='wxUSE_STATBOX=no'
12374 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12379 eval "$wx_cv_use_statbox"
12381 if test x"$enablestring" = xdisable; then
12382 if test $wxUSE_STATBOX = no; then
12388 result=$wxUSE_STATBOX
12391 { echo "$as_me:$LINENO: result: $result" >&5
12392 echo "${ECHO_T}$result" >&6; }
12396 defaultval=$wxUSE_ALL_FEATURES
12397 if test -z "$defaultval"; then
12398 if test x"$enablestring" = xdisable; then
12405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12406 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12407 # Check whether --enable-statline was given.
12408 if test "${enable_statline+set}" = set; then
12409 enableval=$enable_statline;
12410 if test "$enableval" = yes; then
12411 wx_cv_use_statline='wxUSE_STATLINE=yes'
12413 wx_cv_use_statline='wxUSE_STATLINE=no'
12418 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12423 eval "$wx_cv_use_statline"
12425 if test x"$enablestring" = xdisable; then
12426 if test $wxUSE_STATLINE = no; then
12432 result=$wxUSE_STATLINE
12435 { echo "$as_me:$LINENO: result: $result" >&5
12436 echo "${ECHO_T}$result" >&6; }
12440 defaultval=$wxUSE_ALL_FEATURES
12441 if test -z "$defaultval"; then
12442 if test x"$enablestring" = xdisable; then
12449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12450 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12451 # Check whether --enable-stattext was given.
12452 if test "${enable_stattext+set}" = set; then
12453 enableval=$enable_stattext;
12454 if test "$enableval" = yes; then
12455 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12457 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12462 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12467 eval "$wx_cv_use_stattext"
12469 if test x"$enablestring" = xdisable; then
12470 if test $wxUSE_STATTEXT = no; then
12476 result=$wxUSE_STATTEXT
12479 { echo "$as_me:$LINENO: result: $result" >&5
12480 echo "${ECHO_T}$result" >&6; }
12484 defaultval=$wxUSE_ALL_FEATURES
12485 if test -z "$defaultval"; then
12486 if test x"$enablestring" = xdisable; then
12493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12494 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12495 # Check whether --enable-statusbar was given.
12496 if test "${enable_statusbar+set}" = set; then
12497 enableval=$enable_statusbar;
12498 if test "$enableval" = yes; then
12499 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12501 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12506 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12511 eval "$wx_cv_use_statusbar"
12513 if test x"$enablestring" = xdisable; then
12514 if test $wxUSE_STATUSBAR = no; then
12520 result=$wxUSE_STATUSBAR
12523 { echo "$as_me:$LINENO: result: $result" >&5
12524 echo "${ECHO_T}$result" >&6; }
12528 defaultval=$wxUSE_ALL_FEATURES
12529 if test -z "$defaultval"; then
12530 if test x"$enablestring" = xdisable; then
12537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12538 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12539 # Check whether --enable-taskbaricon was given.
12540 if test "${enable_taskbaricon+set}" = set; then
12541 enableval=$enable_taskbaricon;
12542 if test "$enableval" = yes; then
12543 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12545 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12550 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12555 eval "$wx_cv_use_taskbaricon"
12557 if test x"$enablestring" = xdisable; then
12558 if test $wxUSE_TASKBARICON = no; then
12564 result=$wxUSE_TASKBARICON
12567 { echo "$as_me:$LINENO: result: $result" >&5
12568 echo "${ECHO_T}$result" >&6; }
12572 defaultval=$wxUSE_ALL_FEATURES
12573 if test -z "$defaultval"; then
12574 if test x"$enablestring" = xdisable; then
12581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12582 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12583 # Check whether --enable-tbarnative was given.
12584 if test "${enable_tbarnative+set}" = set; then
12585 enableval=$enable_tbarnative;
12586 if test "$enableval" = yes; then
12587 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12589 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12594 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12599 eval "$wx_cv_use_tbarnative"
12601 if test x"$enablestring" = xdisable; then
12602 if test $wxUSE_TOOLBAR_NATIVE = no; then
12608 result=$wxUSE_TOOLBAR_NATIVE
12611 { echo "$as_me:$LINENO: result: $result" >&5
12612 echo "${ECHO_T}$result" >&6; }
12616 defaultval=$wxUSE_ALL_FEATURES
12617 if test -z "$defaultval"; then
12618 if test x"$enablestring" = xdisable; then
12625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12626 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12627 # Check whether --enable-textctrl was given.
12628 if test "${enable_textctrl+set}" = set; then
12629 enableval=$enable_textctrl;
12630 if test "$enableval" = yes; then
12631 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12633 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12638 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12643 eval "$wx_cv_use_textctrl"
12645 if test x"$enablestring" = xdisable; then
12646 if test $wxUSE_TEXTCTRL = no; then
12652 result=$wxUSE_TEXTCTRL
12655 { echo "$as_me:$LINENO: result: $result" >&5
12656 echo "${ECHO_T}$result" >&6; }
12660 defaultval=$wxUSE_ALL_FEATURES
12661 if test -z "$defaultval"; then
12662 if test x"$enablestring" = xdisable; then
12669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12670 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12671 # Check whether --enable-datepick was given.
12672 if test "${enable_datepick+set}" = set; then
12673 enableval=$enable_datepick;
12674 if test "$enableval" = yes; then
12675 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
12677 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
12682 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12687 eval "$wx_cv_use_datepick"
12689 if test x"$enablestring" = xdisable; then
12690 if test $wxUSE_TIMEPICKCTRL = no; then
12696 result=$wxUSE_TIMEPICKCTRL
12699 { echo "$as_me:$LINENO: result: $result" >&5
12700 echo "${ECHO_T}$result" >&6; }
12704 defaultval=$wxUSE_ALL_FEATURES
12705 if test -z "$defaultval"; then
12706 if test x"$enablestring" = xdisable; then
12713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12714 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12715 # Check whether --enable-tipwindow was given.
12716 if test "${enable_tipwindow+set}" = set; then
12717 enableval=$enable_tipwindow;
12718 if test "$enableval" = yes; then
12719 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12721 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12726 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12731 eval "$wx_cv_use_tipwindow"
12733 if test x"$enablestring" = xdisable; then
12734 if test $wxUSE_TIPWINDOW = no; then
12740 result=$wxUSE_TIPWINDOW
12743 { echo "$as_me:$LINENO: result: $result" >&5
12744 echo "${ECHO_T}$result" >&6; }
12748 defaultval=$wxUSE_ALL_FEATURES
12749 if test -z "$defaultval"; then
12750 if test x"$enablestring" = xdisable; then
12757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12758 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12759 # Check whether --enable-togglebtn was given.
12760 if test "${enable_togglebtn+set}" = set; then
12761 enableval=$enable_togglebtn;
12762 if test "$enableval" = yes; then
12763 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12765 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12770 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12775 eval "$wx_cv_use_togglebtn"
12777 if test x"$enablestring" = xdisable; then
12778 if test $wxUSE_TOGGLEBTN = no; then
12784 result=$wxUSE_TOGGLEBTN
12787 { echo "$as_me:$LINENO: result: $result" >&5
12788 echo "${ECHO_T}$result" >&6; }
12792 defaultval=$wxUSE_ALL_FEATURES
12793 if test -z "$defaultval"; then
12794 if test x"$enablestring" = xdisable; then
12801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12802 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12803 # Check whether --enable-toolbar was given.
12804 if test "${enable_toolbar+set}" = set; then
12805 enableval=$enable_toolbar;
12806 if test "$enableval" = yes; then
12807 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12809 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12814 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12819 eval "$wx_cv_use_toolbar"
12821 if test x"$enablestring" = xdisable; then
12822 if test $wxUSE_TOOLBAR = no; then
12828 result=$wxUSE_TOOLBAR
12831 { echo "$as_me:$LINENO: result: $result" >&5
12832 echo "${ECHO_T}$result" >&6; }
12836 defaultval=$wxUSE_ALL_FEATURES
12837 if test -z "$defaultval"; then
12838 if test x"$enablestring" = xdisable; then
12845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12846 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12847 # Check whether --enable-toolbook was given.
12848 if test "${enable_toolbook+set}" = set; then
12849 enableval=$enable_toolbook;
12850 if test "$enableval" = yes; then
12851 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12853 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12858 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12863 eval "$wx_cv_use_toolbook"
12865 if test x"$enablestring" = xdisable; then
12866 if test $wxUSE_TOOLBOOK = no; then
12872 result=$wxUSE_TOOLBOOK
12875 { echo "$as_me:$LINENO: result: $result" >&5
12876 echo "${ECHO_T}$result" >&6; }
12880 defaultval=$wxUSE_ALL_FEATURES
12881 if test -z "$defaultval"; then
12882 if test x"$enablestring" = xdisable; then
12889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12890 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12891 # Check whether --enable-treebook was given.
12892 if test "${enable_treebook+set}" = set; then
12893 enableval=$enable_treebook;
12894 if test "$enableval" = yes; then
12895 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12897 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12902 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12907 eval "$wx_cv_use_treebook"
12909 if test x"$enablestring" = xdisable; then
12910 if test $wxUSE_TREEBOOK = no; then
12916 result=$wxUSE_TREEBOOK
12919 { echo "$as_me:$LINENO: result: $result" >&5
12920 echo "${ECHO_T}$result" >&6; }
12924 defaultval=$wxUSE_ALL_FEATURES
12925 if test -z "$defaultval"; then
12926 if test x"$enablestring" = xdisable; then
12933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12934 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12935 # Check whether --enable-treectrl was given.
12936 if test "${enable_treectrl+set}" = set; then
12937 enableval=$enable_treectrl;
12938 if test "$enableval" = yes; then
12939 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12941 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12946 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12951 eval "$wx_cv_use_treectrl"
12953 if test x"$enablestring" = xdisable; then
12954 if test $wxUSE_TREECTRL = no; then
12960 result=$wxUSE_TREECTRL
12963 { echo "$as_me:$LINENO: result: $result" >&5
12964 echo "${ECHO_T}$result" >&6; }
12968 defaultval=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x"$enablestring" = xdisable; then
12977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
12978 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
12979 # Check whether --enable-treelist was given.
12980 if test "${enable_treelist+set}" = set; then
12981 enableval=$enable_treelist;
12982 if test "$enableval" = yes; then
12983 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
12985 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
12990 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
12995 eval "$wx_cv_use_treelist"
12997 if test x"$enablestring" = xdisable; then
12998 if test $wxUSE_TREELISTCTRL = no; then
13004 result=$wxUSE_TREELISTCTRL
13007 { echo "$as_me:$LINENO: result: $result" >&5
13008 echo "${ECHO_T}$result" >&6; }
13014 defaultval=$wxUSE_ALL_FEATURES
13015 if test -z "$defaultval"; then
13016 if test x"$enablestring" = xdisable; then
13023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13024 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13025 # Check whether --enable-commondlg was given.
13026 if test "${enable_commondlg+set}" = set; then
13027 enableval=$enable_commondlg;
13028 if test "$enableval" = yes; then
13029 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13031 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13036 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13041 eval "$wx_cv_use_commondlg"
13043 if test x"$enablestring" = xdisable; then
13044 if test $wxUSE_COMMONDLGS = no; then
13050 result=$wxUSE_COMMONDLGS
13053 { echo "$as_me:$LINENO: result: $result" >&5
13054 echo "${ECHO_T}$result" >&6; }
13058 defaultval=$wxUSE_ALL_FEATURES
13059 if test -z "$defaultval"; then
13060 if test x"$enablestring" = xdisable; then
13067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13068 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13069 # Check whether --enable-aboutdlg was given.
13070 if test "${enable_aboutdlg+set}" = set; then
13071 enableval=$enable_aboutdlg;
13072 if test "$enableval" = yes; then
13073 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13075 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13080 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13085 eval "$wx_cv_use_aboutdlg"
13087 if test x"$enablestring" = xdisable; then
13088 if test $wxUSE_ABOUTDLG = no; then
13094 result=$wxUSE_ABOUTDLG
13097 { echo "$as_me:$LINENO: result: $result" >&5
13098 echo "${ECHO_T}$result" >&6; }
13102 defaultval=$wxUSE_ALL_FEATURES
13103 if test -z "$defaultval"; then
13104 if test x"$enablestring" = xdisable; then
13111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13112 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13113 # Check whether --enable-choicedlg was given.
13114 if test "${enable_choicedlg+set}" = set; then
13115 enableval=$enable_choicedlg;
13116 if test "$enableval" = yes; then
13117 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13119 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13124 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13129 eval "$wx_cv_use_choicedlg"
13131 if test x"$enablestring" = xdisable; then
13132 if test $wxUSE_CHOICEDLG = no; then
13138 result=$wxUSE_CHOICEDLG
13141 { echo "$as_me:$LINENO: result: $result" >&5
13142 echo "${ECHO_T}$result" >&6; }
13146 defaultval=$wxUSE_ALL_FEATURES
13147 if test -z "$defaultval"; then
13148 if test x"$enablestring" = xdisable; then
13155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13156 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13157 # Check whether --enable-coldlg was given.
13158 if test "${enable_coldlg+set}" = set; then
13159 enableval=$enable_coldlg;
13160 if test "$enableval" = yes; then
13161 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13163 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13168 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13173 eval "$wx_cv_use_coldlg"
13175 if test x"$enablestring" = xdisable; then
13176 if test $wxUSE_COLOURDLG = no; then
13182 result=$wxUSE_COLOURDLG
13185 { echo "$as_me:$LINENO: result: $result" >&5
13186 echo "${ECHO_T}$result" >&6; }
13190 defaultval=$wxUSE_ALL_FEATURES
13191 if test -z "$defaultval"; then
13192 if test x"$enablestring" = xdisable; then
13199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13200 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13201 # Check whether --enable-filedlg was given.
13202 if test "${enable_filedlg+set}" = set; then
13203 enableval=$enable_filedlg;
13204 if test "$enableval" = yes; then
13205 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13207 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13212 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13217 eval "$wx_cv_use_filedlg"
13219 if test x"$enablestring" = xdisable; then
13220 if test $wxUSE_FILEDLG = no; then
13226 result=$wxUSE_FILEDLG
13229 { echo "$as_me:$LINENO: result: $result" >&5
13230 echo "${ECHO_T}$result" >&6; }
13234 defaultval=$wxUSE_ALL_FEATURES
13235 if test -z "$defaultval"; then
13236 if test x"$enablestring" = xdisable; then
13243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13244 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13245 # Check whether --enable-finddlg was given.
13246 if test "${enable_finddlg+set}" = set; then
13247 enableval=$enable_finddlg;
13248 if test "$enableval" = yes; then
13249 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13251 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13256 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13261 eval "$wx_cv_use_finddlg"
13263 if test x"$enablestring" = xdisable; then
13264 if test $wxUSE_FINDREPLDLG = no; then
13270 result=$wxUSE_FINDREPLDLG
13273 { echo "$as_me:$LINENO: result: $result" >&5
13274 echo "${ECHO_T}$result" >&6; }
13278 defaultval=$wxUSE_ALL_FEATURES
13279 if test -z "$defaultval"; then
13280 if test x"$enablestring" = xdisable; then
13287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13288 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13289 # Check whether --enable-fontdlg was given.
13290 if test "${enable_fontdlg+set}" = set; then
13291 enableval=$enable_fontdlg;
13292 if test "$enableval" = yes; then
13293 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13295 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13300 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13305 eval "$wx_cv_use_fontdlg"
13307 if test x"$enablestring" = xdisable; then
13308 if test $wxUSE_FONTDLG = no; then
13314 result=$wxUSE_FONTDLG
13317 { echo "$as_me:$LINENO: result: $result" >&5
13318 echo "${ECHO_T}$result" >&6; }
13322 defaultval=$wxUSE_ALL_FEATURES
13323 if test -z "$defaultval"; then
13324 if test x"$enablestring" = xdisable; then
13331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13332 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13333 # Check whether --enable-dirdlg was given.
13334 if test "${enable_dirdlg+set}" = set; then
13335 enableval=$enable_dirdlg;
13336 if test "$enableval" = yes; then
13337 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13339 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13344 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13349 eval "$wx_cv_use_dirdlg"
13351 if test x"$enablestring" = xdisable; then
13352 if test $wxUSE_DIRDLG = no; then
13358 result=$wxUSE_DIRDLG
13361 { echo "$as_me:$LINENO: result: $result" >&5
13362 echo "${ECHO_T}$result" >&6; }
13366 defaultval=$wxUSE_ALL_FEATURES
13367 if test -z "$defaultval"; then
13368 if test x"$enablestring" = xdisable; then
13375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13376 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13377 # Check whether --enable-msgdlg was given.
13378 if test "${enable_msgdlg+set}" = set; then
13379 enableval=$enable_msgdlg;
13380 if test "$enableval" = yes; then
13381 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13383 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13388 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13393 eval "$wx_cv_use_msgdlg"
13395 if test x"$enablestring" = xdisable; then
13396 if test $wxUSE_MSGDLG = no; then
13402 result=$wxUSE_MSGDLG
13405 { echo "$as_me:$LINENO: result: $result" >&5
13406 echo "${ECHO_T}$result" >&6; }
13410 defaultval=$wxUSE_ALL_FEATURES
13411 if test -z "$defaultval"; then
13412 if test x"$enablestring" = xdisable; then
13419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13420 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13421 # Check whether --enable-numberdlg was given.
13422 if test "${enable_numberdlg+set}" = set; then
13423 enableval=$enable_numberdlg;
13424 if test "$enableval" = yes; then
13425 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13427 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13432 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13437 eval "$wx_cv_use_numberdlg"
13439 if test x"$enablestring" = xdisable; then
13440 if test $wxUSE_NUMBERDLG = no; then
13446 result=$wxUSE_NUMBERDLG
13449 { echo "$as_me:$LINENO: result: $result" >&5
13450 echo "${ECHO_T}$result" >&6; }
13454 defaultval=$wxUSE_ALL_FEATURES
13455 if test -z "$defaultval"; then
13456 if test x"$enablestring" = xdisable; then
13463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13464 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13465 # Check whether --enable-splash was given.
13466 if test "${enable_splash+set}" = set; then
13467 enableval=$enable_splash;
13468 if test "$enableval" = yes; then
13469 wx_cv_use_splash='wxUSE_SPLASH=yes'
13471 wx_cv_use_splash='wxUSE_SPLASH=no'
13476 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13481 eval "$wx_cv_use_splash"
13483 if test x"$enablestring" = xdisable; then
13484 if test $wxUSE_SPLASH = no; then
13490 result=$wxUSE_SPLASH
13493 { echo "$as_me:$LINENO: result: $result" >&5
13494 echo "${ECHO_T}$result" >&6; }
13498 defaultval=$wxUSE_ALL_FEATURES
13499 if test -z "$defaultval"; then
13500 if test x"$enablestring" = xdisable; then
13507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13508 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13509 # Check whether --enable-textdlg was given.
13510 if test "${enable_textdlg+set}" = set; then
13511 enableval=$enable_textdlg;
13512 if test "$enableval" = yes; then
13513 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13515 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13520 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13525 eval "$wx_cv_use_textdlg"
13527 if test x"$enablestring" = xdisable; then
13528 if test $wxUSE_TEXTDLG = no; then
13534 result=$wxUSE_TEXTDLG
13537 { echo "$as_me:$LINENO: result: $result" >&5
13538 echo "${ECHO_T}$result" >&6; }
13542 defaultval=$wxUSE_ALL_FEATURES
13543 if test -z "$defaultval"; then
13544 if test x"$enablestring" = xdisable; then
13551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13552 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13553 # Check whether --enable-tipdlg was given.
13554 if test "${enable_tipdlg+set}" = set; then
13555 enableval=$enable_tipdlg;
13556 if test "$enableval" = yes; then
13557 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13559 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13564 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13569 eval "$wx_cv_use_tipdlg"
13571 if test x"$enablestring" = xdisable; then
13572 if test $wxUSE_STARTUP_TIPS = no; then
13578 result=$wxUSE_STARTUP_TIPS
13581 { echo "$as_me:$LINENO: result: $result" >&5
13582 echo "${ECHO_T}$result" >&6; }
13586 defaultval=$wxUSE_ALL_FEATURES
13587 if test -z "$defaultval"; then
13588 if test x"$enablestring" = xdisable; then
13595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13596 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13597 # Check whether --enable-progressdlg was given.
13598 if test "${enable_progressdlg+set}" = set; then
13599 enableval=$enable_progressdlg;
13600 if test "$enableval" = yes; then
13601 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13603 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13608 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13613 eval "$wx_cv_use_progressdlg"
13615 if test x"$enablestring" = xdisable; then
13616 if test $wxUSE_PROGRESSDLG = no; then
13622 result=$wxUSE_PROGRESSDLG
13625 { echo "$as_me:$LINENO: result: $result" >&5
13626 echo "${ECHO_T}$result" >&6; }
13630 defaultval=$wxUSE_ALL_FEATURES
13631 if test -z "$defaultval"; then
13632 if test x"$enablestring" = xdisable; then
13639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13640 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13641 # Check whether --enable-wizarddlg was given.
13642 if test "${enable_wizarddlg+set}" = set; then
13643 enableval=$enable_wizarddlg;
13644 if test "$enableval" = yes; then
13645 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13647 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13652 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13657 eval "$wx_cv_use_wizarddlg"
13659 if test x"$enablestring" = xdisable; then
13660 if test $wxUSE_WIZARDDLG = no; then
13666 result=$wxUSE_WIZARDDLG
13669 { echo "$as_me:$LINENO: result: $result" >&5
13670 echo "${ECHO_T}$result" >&6; }
13676 defaultval=$wxUSE_ALL_FEATURES
13677 if test -z "$defaultval"; then
13678 if test x"$enablestring" = xdisable; then
13685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13686 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13687 # Check whether --enable-menus was given.
13688 if test "${enable_menus+set}" = set; then
13689 enableval=$enable_menus;
13690 if test "$enableval" = yes; then
13691 wx_cv_use_menus='wxUSE_MENUS=yes'
13693 wx_cv_use_menus='wxUSE_MENUS=no'
13698 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13703 eval "$wx_cv_use_menus"
13705 if test x"$enablestring" = xdisable; then
13706 if test $wxUSE_MENUS = no; then
13712 result=$wxUSE_MENUS
13715 { echo "$as_me:$LINENO: result: $result" >&5
13716 echo "${ECHO_T}$result" >&6; }
13720 defaultval=$wxUSE_ALL_FEATURES
13721 if test -z "$defaultval"; then
13722 if test x"$enablestring" = xdisable; then
13729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13730 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13731 # Check whether --enable-miniframe was given.
13732 if test "${enable_miniframe+set}" = set; then
13733 enableval=$enable_miniframe;
13734 if test "$enableval" = yes; then
13735 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13737 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13742 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13747 eval "$wx_cv_use_miniframe"
13749 if test x"$enablestring" = xdisable; then
13750 if test $wxUSE_MINIFRAME = no; then
13756 result=$wxUSE_MINIFRAME
13759 { echo "$as_me:$LINENO: result: $result" >&5
13760 echo "${ECHO_T}$result" >&6; }
13764 defaultval=$wxUSE_ALL_FEATURES
13765 if test -z "$defaultval"; then
13766 if test x"$enablestring" = xdisable; then
13773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13774 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13775 # Check whether --enable-tooltips was given.
13776 if test "${enable_tooltips+set}" = set; then
13777 enableval=$enable_tooltips;
13778 if test "$enableval" = yes; then
13779 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13781 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13786 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13791 eval "$wx_cv_use_tooltips"
13793 if test x"$enablestring" = xdisable; then
13794 if test $wxUSE_TOOLTIPS = no; then
13800 result=$wxUSE_TOOLTIPS
13803 { echo "$as_me:$LINENO: result: $result" >&5
13804 echo "${ECHO_T}$result" >&6; }
13808 defaultval=$wxUSE_ALL_FEATURES
13809 if test -z "$defaultval"; then
13810 if test x"$enablestring" = xdisable; then
13817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13818 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13819 # Check whether --enable-splines was given.
13820 if test "${enable_splines+set}" = set; then
13821 enableval=$enable_splines;
13822 if test "$enableval" = yes; then
13823 wx_cv_use_splines='wxUSE_SPLINES=yes'
13825 wx_cv_use_splines='wxUSE_SPLINES=no'
13830 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13835 eval "$wx_cv_use_splines"
13837 if test x"$enablestring" = xdisable; then
13838 if test $wxUSE_SPLINES = no; then
13844 result=$wxUSE_SPLINES
13847 { echo "$as_me:$LINENO: result: $result" >&5
13848 echo "${ECHO_T}$result" >&6; }
13852 defaultval=$wxUSE_ALL_FEATURES
13853 if test -z "$defaultval"; then
13854 if test x"$enablestring" = xdisable; then
13861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13862 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13863 # Check whether --enable-mousewheel was given.
13864 if test "${enable_mousewheel+set}" = set; then
13865 enableval=$enable_mousewheel;
13866 if test "$enableval" = yes; then
13867 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13869 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13874 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13879 eval "$wx_cv_use_mousewheel"
13881 if test x"$enablestring" = xdisable; then
13882 if test $wxUSE_MOUSEWHEEL = no; then
13888 result=$wxUSE_MOUSEWHEEL
13891 { echo "$as_me:$LINENO: result: $result" >&5
13892 echo "${ECHO_T}$result" >&6; }
13896 defaultval=$wxUSE_ALL_FEATURES
13897 if test -z "$defaultval"; then
13898 if test x"$enablestring" = xdisable; then
13905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13906 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13907 # Check whether --enable-validators was given.
13908 if test "${enable_validators+set}" = set; then
13909 enableval=$enable_validators;
13910 if test "$enableval" = yes; then
13911 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13913 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13918 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13923 eval "$wx_cv_use_validators"
13925 if test x"$enablestring" = xdisable; then
13926 if test $wxUSE_VALIDATORS = no; then
13932 result=$wxUSE_VALIDATORS
13935 { echo "$as_me:$LINENO: result: $result" >&5
13936 echo "${ECHO_T}$result" >&6; }
13940 defaultval=$wxUSE_ALL_FEATURES
13941 if test -z "$defaultval"; then
13942 if test x"$enablestring" = xdisable; then
13949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13950 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13951 # Check whether --enable-busyinfo was given.
13952 if test "${enable_busyinfo+set}" = set; then
13953 enableval=$enable_busyinfo;
13954 if test "$enableval" = yes; then
13955 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13957 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13962 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13967 eval "$wx_cv_use_busyinfo"
13969 if test x"$enablestring" = xdisable; then
13970 if test $wxUSE_BUSYINFO = no; then
13976 result=$wxUSE_BUSYINFO
13979 { echo "$as_me:$LINENO: result: $result" >&5
13980 echo "${ECHO_T}$result" >&6; }
13984 defaultval=$wxUSE_ALL_FEATURES
13985 if test -z "$defaultval"; then
13986 if test x"$enablestring" = xdisable; then
13993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
13994 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
13995 # Check whether --enable-hotkey was given.
13996 if test "${enable_hotkey+set}" = set; then
13997 enableval=$enable_hotkey;
13998 if test "$enableval" = yes; then
13999 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
14001 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
14006 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14011 eval "$wx_cv_use_hotkey"
14013 if test x"$enablestring" = xdisable; then
14014 if test $wxUSE_HOTKEY = no; then
14020 result=$wxUSE_HOTKEY
14023 { echo "$as_me:$LINENO: result: $result" >&5
14024 echo "${ECHO_T}$result" >&6; }
14028 defaultval=$wxUSE_ALL_FEATURES
14029 if test -z "$defaultval"; then
14030 if test x"$enablestring" = xdisable; then
14037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14038 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14039 # Check whether --enable-joystick was given.
14040 if test "${enable_joystick+set}" = set; then
14041 enableval=$enable_joystick;
14042 if test "$enableval" = yes; then
14043 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14045 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14050 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14055 eval "$wx_cv_use_joystick"
14057 if test x"$enablestring" = xdisable; then
14058 if test $wxUSE_JOYSTICK = no; then
14064 result=$wxUSE_JOYSTICK
14067 { echo "$as_me:$LINENO: result: $result" >&5
14068 echo "${ECHO_T}$result" >&6; }
14072 defaultval=$wxUSE_ALL_FEATURES
14073 if test -z "$defaultval"; then
14074 if test x"$enablestring" = xdisable; then
14081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14082 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14083 # Check whether --enable-metafile was given.
14084 if test "${enable_metafile+set}" = set; then
14085 enableval=$enable_metafile;
14086 if test "$enableval" = yes; then
14087 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14089 wx_cv_use_metafile='wxUSE_METAFILE=no'
14094 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14099 eval "$wx_cv_use_metafile"
14101 if test x"$enablestring" = xdisable; then
14102 if test $wxUSE_METAFILE = no; then
14108 result=$wxUSE_METAFILE
14111 { echo "$as_me:$LINENO: result: $result" >&5
14112 echo "${ECHO_T}$result" >&6; }
14116 defaultval=$wxUSE_ALL_FEATURES
14117 if test -z "$defaultval"; then
14118 if test x"$enablestring" = xdisable; then
14125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14126 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14127 # Check whether --enable-dragimage was given.
14128 if test "${enable_dragimage+set}" = set; then
14129 enableval=$enable_dragimage;
14130 if test "$enableval" = yes; then
14131 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14133 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14138 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14143 eval "$wx_cv_use_dragimage"
14145 if test x"$enablestring" = xdisable; then
14146 if test $wxUSE_DRAGIMAGE = no; then
14152 result=$wxUSE_DRAGIMAGE
14155 { echo "$as_me:$LINENO: result: $result" >&5
14156 echo "${ECHO_T}$result" >&6; }
14160 defaultval=$wxUSE_ALL_FEATURES
14161 if test -z "$defaultval"; then
14162 if test x"$enablestring" = xdisable; then
14169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14170 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14171 # Check whether --enable-accessibility was given.
14172 if test "${enable_accessibility+set}" = set; then
14173 enableval=$enable_accessibility;
14174 if test "$enableval" = yes; then
14175 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14177 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14182 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14187 eval "$wx_cv_use_accessibility"
14189 if test x"$enablestring" = xdisable; then
14190 if test $wxUSE_ACCESSIBILITY = no; then
14196 result=$wxUSE_ACCESSIBILITY
14199 { echo "$as_me:$LINENO: result: $result" >&5
14200 echo "${ECHO_T}$result" >&6; }
14204 defaultval=$wxUSE_ALL_FEATURES
14205 if test -z "$defaultval"; then
14206 if test x"$enablestring" = xdisable; then
14213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14214 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14215 # Check whether --enable-uiactionsim was given.
14216 if test "${enable_uiactionsim+set}" = set; then
14217 enableval=$enable_uiactionsim;
14218 if test "$enableval" = yes; then
14219 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14221 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14226 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14231 eval "$wx_cv_use_uiactionsim"
14233 if test x"$enablestring" = xdisable; then
14234 if test $wxUSE_UIACTIONSIMULATOR = no; then
14240 result=$wxUSE_UIACTIONSIMULATOR
14243 { echo "$as_me:$LINENO: result: $result" >&5
14244 echo "${ECHO_T}$result" >&6; }
14248 defaultval=$wxUSE_ALL_FEATURES
14249 if test -z "$defaultval"; then
14250 if test x"$enablestring" = xdisable; then
14257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14258 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14259 # Check whether --enable-dctransform was given.
14260 if test "${enable_dctransform+set}" = set; then
14261 enableval=$enable_dctransform;
14262 if test "$enableval" = yes; then
14263 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14265 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14270 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14275 eval "$wx_cv_use_dctransform"
14277 if test x"$enablestring" = xdisable; then
14278 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14284 result=$wxUSE_DC_TRANSFORM_MATRIX
14287 { echo "$as_me:$LINENO: result: $result" >&5
14288 echo "${ECHO_T}$result" >&6; }
14292 defaultval=$wxUSE_ALL_FEATURES
14293 if test -z "$defaultval"; then
14294 if test x"$enablestring" = xdisable; then
14301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14302 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14303 # Check whether --enable-webviewwebkit was given.
14304 if test "${enable_webviewwebkit+set}" = set; then
14305 enableval=$enable_webviewwebkit;
14306 if test "$enableval" = yes; then
14307 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
14309 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
14314 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14319 eval "$wx_cv_use_webviewwebkit"
14321 if test x"$enablestring" = xdisable; then
14322 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14328 result=$wxUSE_WEBVIEW_WEBKIT
14331 { echo "$as_me:$LINENO: result: $result" >&5
14332 echo "${ECHO_T}$result" >&6; }
14338 defaultval=$wxUSE_ALL_FEATURES
14339 if test -z "$defaultval"; then
14340 if test x"$enablestring" = xdisable; then
14347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14348 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14349 # Check whether --enable-palette was given.
14350 if test "${enable_palette+set}" = set; then
14351 enableval=$enable_palette;
14352 if test "$enableval" = yes; then
14353 wx_cv_use_palette='wxUSE_PALETTE=yes'
14355 wx_cv_use_palette='wxUSE_PALETTE=no'
14360 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14365 eval "$wx_cv_use_palette"
14367 if test x"$enablestring" = xdisable; then
14368 if test $wxUSE_PALETTE = no; then
14374 result=$wxUSE_PALETTE
14377 { echo "$as_me:$LINENO: result: $result" >&5
14378 echo "${ECHO_T}$result" >&6; }
14382 defaultval=$wxUSE_ALL_FEATURES
14383 if test -z "$defaultval"; then
14384 if test x"$enablestring" = xdisable; then
14391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14392 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14393 # Check whether --enable-image was given.
14394 if test "${enable_image+set}" = set; then
14395 enableval=$enable_image;
14396 if test "$enableval" = yes; then
14397 wx_cv_use_image='wxUSE_IMAGE=yes'
14399 wx_cv_use_image='wxUSE_IMAGE=no'
14404 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14409 eval "$wx_cv_use_image"
14411 if test x"$enablestring" = xdisable; then
14412 if test $wxUSE_IMAGE = no; then
14418 result=$wxUSE_IMAGE
14421 { echo "$as_me:$LINENO: result: $result" >&5
14422 echo "${ECHO_T}$result" >&6; }
14426 defaultval=$wxUSE_ALL_FEATURES
14427 if test -z "$defaultval"; then
14428 if test x"$enablestring" = xdisable; then
14435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14436 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14437 # Check whether --enable-gif was given.
14438 if test "${enable_gif+set}" = set; then
14439 enableval=$enable_gif;
14440 if test "$enableval" = yes; then
14441 wx_cv_use_gif='wxUSE_GIF=yes'
14443 wx_cv_use_gif='wxUSE_GIF=no'
14448 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14453 eval "$wx_cv_use_gif"
14455 if test x"$enablestring" = xdisable; then
14456 if test $wxUSE_GIF = no; then
14465 { echo "$as_me:$LINENO: result: $result" >&5
14466 echo "${ECHO_T}$result" >&6; }
14470 defaultval=$wxUSE_ALL_FEATURES
14471 if test -z "$defaultval"; then
14472 if test x"$enablestring" = xdisable; then
14479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14480 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14481 # Check whether --enable-pcx was given.
14482 if test "${enable_pcx+set}" = set; then
14483 enableval=$enable_pcx;
14484 if test "$enableval" = yes; then
14485 wx_cv_use_pcx='wxUSE_PCX=yes'
14487 wx_cv_use_pcx='wxUSE_PCX=no'
14492 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14497 eval "$wx_cv_use_pcx"
14499 if test x"$enablestring" = xdisable; then
14500 if test $wxUSE_PCX = no; then
14509 { echo "$as_me:$LINENO: result: $result" >&5
14510 echo "${ECHO_T}$result" >&6; }
14514 defaultval=$wxUSE_ALL_FEATURES
14515 if test -z "$defaultval"; then
14516 if test x"$enablestring" = xdisable; then
14523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14524 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14525 # Check whether --enable-tga was given.
14526 if test "${enable_tga+set}" = set; then
14527 enableval=$enable_tga;
14528 if test "$enableval" = yes; then
14529 wx_cv_use_tga='wxUSE_TGA=yes'
14531 wx_cv_use_tga='wxUSE_TGA=no'
14536 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14541 eval "$wx_cv_use_tga"
14543 if test x"$enablestring" = xdisable; then
14544 if test $wxUSE_TGA = no; then
14553 { echo "$as_me:$LINENO: result: $result" >&5
14554 echo "${ECHO_T}$result" >&6; }
14558 defaultval=$wxUSE_ALL_FEATURES
14559 if test -z "$defaultval"; then
14560 if test x"$enablestring" = xdisable; then
14567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14568 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14569 # Check whether --enable-iff was given.
14570 if test "${enable_iff+set}" = set; then
14571 enableval=$enable_iff;
14572 if test "$enableval" = yes; then
14573 wx_cv_use_iff='wxUSE_IFF=yes'
14575 wx_cv_use_iff='wxUSE_IFF=no'
14580 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14585 eval "$wx_cv_use_iff"
14587 if test x"$enablestring" = xdisable; then
14588 if test $wxUSE_IFF = no; then
14597 { echo "$as_me:$LINENO: result: $result" >&5
14598 echo "${ECHO_T}$result" >&6; }
14602 defaultval=$wxUSE_ALL_FEATURES
14603 if test -z "$defaultval"; then
14604 if test x"$enablestring" = xdisable; then
14611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14612 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14613 # Check whether --enable-pnm was given.
14614 if test "${enable_pnm+set}" = set; then
14615 enableval=$enable_pnm;
14616 if test "$enableval" = yes; then
14617 wx_cv_use_pnm='wxUSE_PNM=yes'
14619 wx_cv_use_pnm='wxUSE_PNM=no'
14624 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14629 eval "$wx_cv_use_pnm"
14631 if test x"$enablestring" = xdisable; then
14632 if test $wxUSE_PNM = no; then
14641 { echo "$as_me:$LINENO: result: $result" >&5
14642 echo "${ECHO_T}$result" >&6; }
14646 defaultval=$wxUSE_ALL_FEATURES
14647 if test -z "$defaultval"; then
14648 if test x"$enablestring" = xdisable; then
14655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14656 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14657 # Check whether --enable-xpm was given.
14658 if test "${enable_xpm+set}" = set; then
14659 enableval=$enable_xpm;
14660 if test "$enableval" = yes; then
14661 wx_cv_use_xpm='wxUSE_XPM=yes'
14663 wx_cv_use_xpm='wxUSE_XPM=no'
14668 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14673 eval "$wx_cv_use_xpm"
14675 if test x"$enablestring" = xdisable; then
14676 if test $wxUSE_XPM = no; then
14685 { echo "$as_me:$LINENO: result: $result" >&5
14686 echo "${ECHO_T}$result" >&6; }
14690 defaultval=$wxUSE_ALL_FEATURES
14691 if test -z "$defaultval"; then
14692 if test x"$enablestring" = xdisable; then
14699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14700 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14701 # Check whether --enable-ico_cur was given.
14702 if test "${enable_ico_cur+set}" = set; then
14703 enableval=$enable_ico_cur;
14704 if test "$enableval" = yes; then
14705 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14707 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14712 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14717 eval "$wx_cv_use_ico_cur"
14719 if test x"$enablestring" = xdisable; then
14720 if test $wxUSE_ICO_CUR = no; then
14726 result=$wxUSE_ICO_CUR
14729 { echo "$as_me:$LINENO: result: $result" >&5
14730 echo "${ECHO_T}$result" >&6; }
14736 defaultval=$wxUSE_ALL_FEATURES
14737 if test -z "$defaultval"; then
14738 if test x"$enablestring" = xdisable; then
14745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14746 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14747 # Check whether --enable-dccache was given.
14748 if test "${enable_dccache+set}" = set; then
14749 enableval=$enable_dccache;
14750 if test "$enableval" = yes; then
14751 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14753 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14758 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14763 eval "$wx_cv_use_dccache"
14765 if test x"$enablestring" = xdisable; then
14766 if test $wxUSE_DC_CACHEING = no; then
14772 result=$wxUSE_DC_CACHEING
14775 { echo "$as_me:$LINENO: result: $result" >&5
14776 echo "${ECHO_T}$result" >&6; }
14780 defaultval=$wxUSE_ALL_FEATURES
14781 if test -z "$defaultval"; then
14782 if test x"$enablestring" = xdisable; then
14789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14790 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14791 # Check whether --enable-ps-in-msw was given.
14792 if test "${enable_ps_in_msw+set}" = set; then
14793 enableval=$enable_ps_in_msw;
14794 if test "$enableval" = yes; then
14795 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14797 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14802 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14807 eval "$wx_cv_use_ps_in_msw"
14809 if test x"$enablestring" = xdisable; then
14810 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14816 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14819 { echo "$as_me:$LINENO: result: $result" >&5
14820 echo "${ECHO_T}$result" >&6; }
14824 defaultval=$wxUSE_ALL_FEATURES
14825 if test -z "$defaultval"; then
14826 if test x"$enablestring" = xdisable; then
14833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14834 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14835 # Check whether --enable-ownerdrawn was given.
14836 if test "${enable_ownerdrawn+set}" = set; then
14837 enableval=$enable_ownerdrawn;
14838 if test "$enableval" = yes; then
14839 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14841 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14846 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14851 eval "$wx_cv_use_ownerdrawn"
14853 if test x"$enablestring" = xdisable; then
14854 if test $wxUSE_OWNER_DRAWN = no; then
14860 result=$wxUSE_OWNER_DRAWN
14863 { echo "$as_me:$LINENO: result: $result" >&5
14864 echo "${ECHO_T}$result" >&6; }
14868 defaultval=$wxUSE_ALL_FEATURES
14869 if test -z "$defaultval"; then
14870 if test x"$enablestring" = xdisable; then
14877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14878 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14879 # Check whether --enable-uxtheme was given.
14880 if test "${enable_uxtheme+set}" = set; then
14881 enableval=$enable_uxtheme;
14882 if test "$enableval" = yes; then
14883 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14885 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14890 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14895 eval "$wx_cv_use_uxtheme"
14897 if test x"$enablestring" = xdisable; then
14898 if test $wxUSE_UXTHEME = no; then
14904 result=$wxUSE_UXTHEME
14907 { echo "$as_me:$LINENO: result: $result" >&5
14908 echo "${ECHO_T}$result" >&6; }
14912 defaultval=$wxUSE_ALL_FEATURES
14913 if test -z "$defaultval"; then
14914 if test x"$enablestring" = xdisable; then
14921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14922 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14923 # Check whether --enable-wxdib was given.
14924 if test "${enable_wxdib+set}" = set; then
14925 enableval=$enable_wxdib;
14926 if test "$enableval" = yes; then
14927 wx_cv_use_wxdib='wxUSE_DIB=yes'
14929 wx_cv_use_wxdib='wxUSE_DIB=no'
14934 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14939 eval "$wx_cv_use_wxdib"
14941 if test x"$enablestring" = xdisable; then
14942 if test $wxUSE_DIB = no; then
14951 { echo "$as_me:$LINENO: result: $result" >&5
14952 echo "${ECHO_T}$result" >&6; }
14956 defaultval=$wxUSE_ALL_FEATURES
14957 if test -z "$defaultval"; then
14958 if test x"$enablestring" = xdisable; then
14965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
14966 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
14967 # Check whether --enable-webviewie was given.
14968 if test "${enable_webviewie+set}" = set; then
14969 enableval=$enable_webviewie;
14970 if test "$enableval" = yes; then
14971 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
14973 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
14978 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
14983 eval "$wx_cv_use_webviewie"
14985 if test x"$enablestring" = xdisable; then
14986 if test $wxUSE_WEBVIEW_IE = no; then
14992 result=$wxUSE_WEBVIEW_IE
14995 { echo "$as_me:$LINENO: result: $result" >&5
14996 echo "${ECHO_T}$result" >&6; }
14999 if test "$wxUSE_MSW" != 1; then
15000 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15005 defaultval=$wxUSE_ALL_FEATURES
15006 if test -z "$defaultval"; then
15007 if test x"$enablestring" = xdisable; then
15014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
15015 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
15016 # Check whether --enable-autoidman was given.
15017 if test "${enable_autoidman+set}" = set; then
15018 enableval=$enable_autoidman;
15019 if test "$enableval" = yes; then
15020 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15022 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15027 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15032 eval "$wx_cv_use_autoidman"
15034 if test x"$enablestring" = xdisable; then
15035 if test $wxUSE_AUTOID_MANAGEMENT = no; then
15041 result=$wxUSE_AUTOID_MANAGEMENT
15044 { echo "$as_me:$LINENO: result: $result" >&5
15045 echo "${ECHO_T}$result" >&6; }
15051 cat >confcache <<\_ACEOF
15052 # This file is a shell script that caches the results of configure
15053 # tests run on this system so they can be shared between configure
15054 # scripts and configure runs, see configure's option --config-cache.
15055 # It is not useful on other systems. If it contains results you don't
15056 # want to keep, you may remove or edit it.
15058 # config.status only pays attention to the cache file if you give it
15059 # the --recheck option to rerun configure.
15061 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15062 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15063 # following values.
15067 # The following way of writing the cache mishandles newlines in values,
15068 # but we know of no workaround that is simple, portable, and efficient.
15069 # So, we kill variables containing newlines.
15070 # Ultrix sh set writes to stderr and can't be redirected directly,
15071 # and sets the high bit in the cache file unless we assign to the vars.
15073 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15074 eval ac_val=\$$ac_var
15078 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15079 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15082 _ | IFS | as_nl) ;; #(
15083 *) $as_unset $ac_var ;;
15089 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15090 *${as_nl}ac_space=\ *)
15091 # `set' does not quote correctly, so add quotes (double-quote
15092 # substitution turns \\\\ into \\, and sed turns \\ into \).
15095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15098 # `set' quotes correctly as required by POSIX, so do not add quotes.
15099 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15108 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15110 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15112 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15113 if test -w "$cache_file"; then
15114 test "x$cache_file" != "x/dev/null" &&
15115 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15116 echo "$as_me: updating cache $cache_file" >&6;}
15117 cat confcache >$cache_file
15119 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15120 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15127 ac_cpp='$CPP $CPPFLAGS'
15128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15131 if test -n "$ac_tool_prefix"; then
15132 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15133 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15136 if test "${ac_cv_prog_CC+set}" = set; then
15137 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 if test -n "$CC"; then
15140 ac_cv_prog_CC="$CC" # Let the user override the test.
15142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15143 for as_dir in $PATH
15146 test -z "$as_dir" && as_dir=.
15147 for ac_exec_ext in '' $ac_executable_extensions; do
15148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15149 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15160 if test -n "$CC"; then
15161 { echo "$as_me:$LINENO: result: $CC" >&5
15162 echo "${ECHO_T}$CC" >&6; }
15164 { echo "$as_me:$LINENO: result: no" >&5
15165 echo "${ECHO_T}no" >&6; }
15170 if test -z "$ac_cv_prog_CC"; then
15172 # Extract the first word of "gcc", so it can be a program name with args.
15173 set dummy gcc; ac_word=$2
15174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15176 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15177 echo $ECHO_N "(cached) $ECHO_C" >&6
15179 if test -n "$ac_ct_CC"; then
15180 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15183 for as_dir in $PATH
15186 test -z "$as_dir" && as_dir=.
15187 for ac_exec_ext in '' $ac_executable_extensions; do
15188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15189 ac_cv_prog_ac_ct_CC="gcc"
15190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15200 if test -n "$ac_ct_CC"; then
15201 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15202 echo "${ECHO_T}$ac_ct_CC" >&6; }
15204 { echo "$as_me:$LINENO: result: no" >&5
15205 echo "${ECHO_T}no" >&6; }
15208 if test "x$ac_ct_CC" = x; then
15211 case $cross_compiling:$ac_tool_warned in
15213 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15214 whose name does not start with the host triplet. If you think this
15215 configuration is useful to you, please write to autoconf@gnu.org." >&5
15216 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15217 whose name does not start with the host triplet. If you think this
15218 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15219 ac_tool_warned=yes ;;
15224 CC="$ac_cv_prog_CC"
15227 if test -z "$CC"; then
15228 if test -n "$ac_tool_prefix"; then
15229 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15230 set dummy ${ac_tool_prefix}cc; ac_word=$2
15231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15233 if test "${ac_cv_prog_CC+set}" = set; then
15234 echo $ECHO_N "(cached) $ECHO_C" >&6
15236 if test -n "$CC"; then
15237 ac_cv_prog_CC="$CC" # Let the user override the test.
15239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15240 for as_dir in $PATH
15243 test -z "$as_dir" && as_dir=.
15244 for ac_exec_ext in '' $ac_executable_extensions; do
15245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15246 ac_cv_prog_CC="${ac_tool_prefix}cc"
15247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15257 if test -n "$CC"; then
15258 { echo "$as_me:$LINENO: result: $CC" >&5
15259 echo "${ECHO_T}$CC" >&6; }
15261 { echo "$as_me:$LINENO: result: no" >&5
15262 echo "${ECHO_T}no" >&6; }
15268 if test -z "$CC"; then
15269 # Extract the first word of "cc", so it can be a program name with args.
15270 set dummy cc; ac_word=$2
15271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15273 if test "${ac_cv_prog_CC+set}" = set; then
15274 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 if test -n "$CC"; then
15277 ac_cv_prog_CC="$CC" # Let the user override the test.
15279 ac_prog_rejected=no
15280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $PATH
15284 test -z "$as_dir" && as_dir=.
15285 for ac_exec_ext in '' $ac_executable_extensions; do
15286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15287 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15288 ac_prog_rejected=yes
15292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15299 if test $ac_prog_rejected = yes; then
15300 # We found a bogon in the path, so make sure we never use it.
15301 set dummy $ac_cv_prog_CC
15303 if test $# != 0; then
15304 # We chose a different compiler from the bogus one.
15305 # However, it has the same basename, so the bogon will be chosen
15306 # first if we set CC to just the basename; use the full file name.
15308 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15314 if test -n "$CC"; then
15315 { echo "$as_me:$LINENO: result: $CC" >&5
15316 echo "${ECHO_T}$CC" >&6; }
15318 { echo "$as_me:$LINENO: result: no" >&5
15319 echo "${ECHO_T}no" >&6; }
15324 if test -z "$CC"; then
15325 if test -n "$ac_tool_prefix"; then
15326 for ac_prog in cl.exe
15328 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15329 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15332 if test "${ac_cv_prog_CC+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 if test -n "$CC"; then
15336 ac_cv_prog_CC="$CC" # Let the user override the test.
15338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15339 for as_dir in $PATH
15342 test -z "$as_dir" && as_dir=.
15343 for ac_exec_ext in '' $ac_executable_extensions; do
15344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15345 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15356 if test -n "$CC"; then
15357 { echo "$as_me:$LINENO: result: $CC" >&5
15358 echo "${ECHO_T}$CC" >&6; }
15360 { echo "$as_me:$LINENO: result: no" >&5
15361 echo "${ECHO_T}no" >&6; }
15365 test -n "$CC" && break
15368 if test -z "$CC"; then
15370 for ac_prog in cl.exe
15372 # Extract the first word of "$ac_prog", so it can be a program name with args.
15373 set dummy $ac_prog; ac_word=$2
15374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15376 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15379 if test -n "$ac_ct_CC"; then
15380 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15383 for as_dir in $PATH
15386 test -z "$as_dir" && as_dir=.
15387 for ac_exec_ext in '' $ac_executable_extensions; do
15388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15389 ac_cv_prog_ac_ct_CC="$ac_prog"
15390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15399 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15400 if test -n "$ac_ct_CC"; then
15401 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15402 echo "${ECHO_T}$ac_ct_CC" >&6; }
15404 { echo "$as_me:$LINENO: result: no" >&5
15405 echo "${ECHO_T}no" >&6; }
15409 test -n "$ac_ct_CC" && break
15412 if test "x$ac_ct_CC" = x; then
15415 case $cross_compiling:$ac_tool_warned in
15417 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15418 whose name does not start with the host triplet. If you think this
15419 configuration is useful to you, please write to autoconf@gnu.org." >&5
15420 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15421 whose name does not start with the host triplet. If you think this
15422 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15423 ac_tool_warned=yes ;;
15432 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15433 See \`config.log' for more details." >&5
15434 echo "$as_me: error: no acceptable C compiler found in \$PATH
15435 See \`config.log' for more details." >&2;}
15436 { (exit 1); exit 1; }; }
15438 # Provide some information about the compiler.
15439 echo "$as_me:$LINENO: checking for C compiler version" >&5
15440 ac_compiler=`set X $ac_compile; echo $2`
15441 { (ac_try="$ac_compiler --version >&5"
15442 case "(($ac_try" in
15443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15444 *) ac_try_echo=$ac_try;;
15446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15447 (eval "$ac_compiler --version >&5") 2>&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); }
15451 { (ac_try="$ac_compiler -v >&5"
15452 case "(($ac_try" in
15453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15454 *) ac_try_echo=$ac_try;;
15456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15457 (eval "$ac_compiler -v >&5") 2>&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }
15461 { (ac_try="$ac_compiler -V >&5"
15462 case "(($ac_try" in
15463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15464 *) ac_try_echo=$ac_try;;
15466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15467 (eval "$ac_compiler -V >&5") 2>&5
15469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); }
15472 cat >conftest.$ac_ext <<_ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15487 ac_clean_files_save=$ac_clean_files
15488 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15489 # Try to create an executable without -o first, disregard a.out.
15490 # It will help us diagnose broken compilers, and finding out an intuition
15492 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15493 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15494 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15496 # List of possible output files, starting from the most likely.
15497 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15498 # only as a last resort. b.out is created by i960 compilers.
15499 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15501 # The IRIX 6 linker writes into existing files which may not be
15502 # executable, retaining their permissions. Remove them first so a
15503 # subsequent execution test works.
15505 for ac_file in $ac_files
15508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15509 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15514 if { (ac_try="$ac_link_default"
15515 case "(($ac_try" in
15516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_link_default") 2>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; then
15524 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15525 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15526 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15527 # so that the user can short-circuit this test for compilers unknown to
15529 for ac_file in $ac_files ''
15531 test -f "$ac_file" || continue
15533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15536 # We found the default executable, but exeext='' is most
15540 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15542 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15544 # We set ac_cv_exeext here because the later test for it is not
15545 # safe: cross compilers may not add the suffix if given an `-o'
15546 # argument, so we may need to know it at that point already.
15547 # Even if this section looks crufty: it has the advantage of
15548 # actually working.
15554 test "$ac_cv_exeext" = no && ac_cv_exeext=
15560 { echo "$as_me:$LINENO: result: $ac_file" >&5
15561 echo "${ECHO_T}$ac_file" >&6; }
15562 if test -z "$ac_file"; then
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15566 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15567 See \`config.log' for more details." >&5
15568 echo "$as_me: error: C compiler cannot create executables
15569 See \`config.log' for more details." >&2;}
15570 { (exit 77); exit 77; }; }
15573 ac_exeext=$ac_cv_exeext
15575 # Check that the compiler produces executables we can run. If not, either
15576 # the compiler is broken, or we cross compile.
15577 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15578 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15579 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15580 # If not cross compiling, check that we can run a simple program.
15581 if test "$cross_compiling" != yes; then
15582 if { ac_try='./$ac_file'
15583 { (case "(($ac_try" in
15584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15585 *) ac_try_echo=$ac_try;;
15587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15588 (eval "$ac_try") 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; }; then
15594 if test "$cross_compiling" = maybe; then
15595 cross_compiling=yes
15597 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15598 If you meant to cross compile, use \`--host'.
15599 See \`config.log' for more details." >&5
15600 echo "$as_me: error: cannot run C compiled programs.
15601 If you meant to cross compile, use \`--host'.
15602 See \`config.log' for more details." >&2;}
15603 { (exit 1); exit 1; }; }
15607 { echo "$as_me:$LINENO: result: yes" >&5
15608 echo "${ECHO_T}yes" >&6; }
15610 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15611 ac_clean_files=$ac_clean_files_save
15612 # Check that the compiler produces executables we can run. If not, either
15613 # the compiler is broken, or we cross compile.
15614 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15615 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15616 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15617 echo "${ECHO_T}$cross_compiling" >&6; }
15619 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15620 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15621 if { (ac_try="$ac_link"
15622 case "(($ac_try" in
15623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15624 *) ac_try_echo=$ac_try;;
15626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15627 (eval "$ac_link") 2>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; then
15631 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15632 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15633 # work properly (i.e., refer to `conftest.exe'), while it won't with
15635 for ac_file in conftest.exe conftest conftest.*; do
15636 test -f "$ac_file" || continue
15638 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15639 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15645 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15646 See \`config.log' for more details." >&5
15647 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15648 See \`config.log' for more details." >&2;}
15649 { (exit 1); exit 1; }; }
15652 rm -f conftest$ac_cv_exeext
15653 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15654 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15656 rm -f conftest.$ac_ext
15657 EXEEXT=$ac_cv_exeext
15659 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15660 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15661 if test "${ac_cv_objext+set}" = set; then
15662 echo $ECHO_N "(cached) $ECHO_C" >&6
15664 cat >conftest.$ac_ext <<_ACEOF
15667 cat confdefs.h >>conftest.$ac_ext
15668 cat >>conftest.$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15679 rm -f conftest.o conftest.obj
15680 if { (ac_try="$ac_compile"
15681 case "(($ac_try" in
15682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15683 *) ac_try_echo=$ac_try;;
15685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15686 (eval "$ac_compile") 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; then
15690 for ac_file in conftest.o conftest.obj conftest.*; do
15691 test -f "$ac_file" || continue;
15693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15694 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15699 echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.$ac_ext >&5
15702 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15703 See \`config.log' for more details." >&5
15704 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15705 See \`config.log' for more details." >&2;}
15706 { (exit 1); exit 1; }; }
15709 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15711 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15712 echo "${ECHO_T}$ac_cv_objext" >&6; }
15713 OBJEXT=$ac_cv_objext
15715 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15716 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15717 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15720 cat >conftest.$ac_ext <<_ACEOF
15723 cat confdefs.h >>conftest.$ac_ext
15724 cat >>conftest.$ac_ext <<_ACEOF
15725 /* end confdefs.h. */
15738 rm -f conftest.$ac_objext
15739 if { (ac_try="$ac_compile"
15740 case "(($ac_try" in
15741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15742 *) ac_try_echo=$ac_try;;
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745 (eval "$ac_compile") 2>conftest.er1
15747 grep -v '^ *+' conftest.er1 >conftest.err
15749 cat conftest.err >&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } && {
15752 test -z "$ac_c_werror_flag" ||
15753 test ! -s conftest.err
15754 } && test -s conftest.$ac_objext; then
15755 ac_compiler_gnu=yes
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.$ac_ext >&5
15763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15764 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15767 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15768 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15769 GCC=`test $ac_compiler_gnu = yes && echo yes`
15770 ac_test_CFLAGS=${CFLAGS+set}
15771 ac_save_CFLAGS=$CFLAGS
15772 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15773 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15774 if test "${ac_cv_prog_cc_g+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 ac_save_c_werror_flag=$ac_c_werror_flag
15778 ac_c_werror_flag=yes
15781 cat >conftest.$ac_ext <<_ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15796 rm -f conftest.$ac_objext
15797 if { (ac_try="$ac_compile"
15798 case "(($ac_try" in
15799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15800 *) ac_try_echo=$ac_try;;
15802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15803 (eval "$ac_compile") 2>conftest.er1
15805 grep -v '^ *+' conftest.er1 >conftest.err
15807 cat conftest.err >&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } && {
15810 test -z "$ac_c_werror_flag" ||
15811 test ! -s conftest.err
15812 } && test -s conftest.$ac_objext; then
15813 ac_cv_prog_cc_g=yes
15815 echo "$as_me: failed program was:" >&5
15816 sed 's/^/| /' conftest.$ac_ext >&5
15819 cat >conftest.$ac_ext <<_ACEOF
15822 cat confdefs.h >>conftest.$ac_ext
15823 cat >>conftest.$ac_ext <<_ACEOF
15824 /* end confdefs.h. */
15834 rm -f conftest.$ac_objext
15835 if { (ac_try="$ac_compile"
15836 case "(($ac_try" in
15837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15838 *) ac_try_echo=$ac_try;;
15840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15841 (eval "$ac_compile") 2>conftest.er1
15843 grep -v '^ *+' conftest.er1 >conftest.err
15845 cat conftest.err >&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); } && {
15848 test -z "$ac_c_werror_flag" ||
15849 test ! -s conftest.err
15850 } && test -s conftest.$ac_objext; then
15853 echo "$as_me: failed program was:" >&5
15854 sed 's/^/| /' conftest.$ac_ext >&5
15856 ac_c_werror_flag=$ac_save_c_werror_flag
15858 cat >conftest.$ac_ext <<_ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15873 rm -f conftest.$ac_objext
15874 if { (ac_try="$ac_compile"
15875 case "(($ac_try" in
15876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15877 *) ac_try_echo=$ac_try;;
15879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15880 (eval "$ac_compile") 2>conftest.er1
15882 grep -v '^ *+' conftest.er1 >conftest.err
15884 cat conftest.err >&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } && {
15887 test -z "$ac_c_werror_flag" ||
15888 test ! -s conftest.err
15889 } && test -s conftest.$ac_objext; then
15890 ac_cv_prog_cc_g=yes
15892 echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.$ac_ext >&5
15898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15905 ac_c_werror_flag=$ac_save_c_werror_flag
15907 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15908 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15909 if test "$ac_test_CFLAGS" = set; then
15910 CFLAGS=$ac_save_CFLAGS
15911 elif test $ac_cv_prog_cc_g = yes; then
15912 if test "$GCC" = yes; then
15918 if test "$GCC" = yes; then
15924 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15925 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15926 if test "${ac_cv_prog_cc_c89+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 ac_cv_prog_cc_c89=no
15931 cat >conftest.$ac_ext <<_ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 #include <stdarg.h>
15939 #include <sys/types.h>
15940 #include <sys/stat.h>
15941 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15942 struct buf { int x; };
15943 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15944 static char *e (p, i)
15950 static char *f (char * (*g) (char **, int), char **p, ...)
15955 s = g (p, va_arg (v,int));
15960 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15961 function prototypes and stuff, but not '\xHH' hex character constants.
15962 These don't provoke an error unfortunately, instead are silently treated
15963 as 'x'. The following induces an error, until -std is added to get
15964 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15965 array size at least. It's necessary to write '\x00'==0 to get something
15966 that's true only with -std. */
15967 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15969 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15970 inside strings and character constants. */
15972 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15974 int test (int i, double x);
15975 struct s1 {int (*f) (int a);};
15976 struct s2 {int (*f) (double a);};
15977 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15983 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15988 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15989 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15991 CC="$ac_save_CC $ac_arg"
15992 rm -f conftest.$ac_objext
15993 if { (ac_try="$ac_compile"
15994 case "(($ac_try" in
15995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15996 *) ac_try_echo=$ac_try;;
15998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15999 (eval "$ac_compile") 2>conftest.er1
16001 grep -v '^ *+' conftest.er1 >conftest.err
16003 cat conftest.err >&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } && {
16006 test -z "$ac_c_werror_flag" ||
16007 test ! -s conftest.err
16008 } && test -s conftest.$ac_objext; then
16009 ac_cv_prog_cc_c89=$ac_arg
16011 echo "$as_me: failed program was:" >&5
16012 sed 's/^/| /' conftest.$ac_ext >&5
16017 rm -f core conftest.err conftest.$ac_objext
16018 test "x$ac_cv_prog_cc_c89" != "xno" && break
16020 rm -f conftest.$ac_ext
16025 case "x$ac_cv_prog_cc_c89" in
16027 { echo "$as_me:$LINENO: result: none needed" >&5
16028 echo "${ECHO_T}none needed" >&6; } ;;
16030 { echo "$as_me:$LINENO: result: unsupported" >&5
16031 echo "${ECHO_T}unsupported" >&6; } ;;
16033 CC="$CC $ac_cv_prog_cc_c89"
16034 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16035 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16040 ac_cpp='$CPP $CPPFLAGS'
16041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16053 ac_cpp='$CPP $CPPFLAGS'
16054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16058 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16059 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16060 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16061 echo $ECHO_N "(cached) $ECHO_C" >&6
16063 cat >conftest.$ac_ext <<_ACEOF
16066 cat confdefs.h >>conftest.$ac_ext
16067 cat >>conftest.$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16074 #ifndef __INTEL_COMPILER
16082 rm -f conftest.$ac_objext
16083 if { (ac_try="$ac_compile"
16084 case "(($ac_try" in
16085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16086 *) ac_try_echo=$ac_try;;
16088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16089 (eval "$ac_compile") 2>conftest.er1
16091 grep -v '^ *+' conftest.er1 >conftest.err
16093 cat conftest.err >&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } && {
16096 test -z "$ac_c_werror_flag" ||
16097 test ! -s conftest.err
16098 } && test -s conftest.$ac_objext; then
16099 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16101 echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.$ac_ext >&5
16104 bakefile_cv_c_compiler___INTEL_COMPILER=no
16108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16112 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16113 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16114 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16120 ac_cpp='$CPP $CPPFLAGS'
16121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16128 if test "$INTELCC" = "yes"; then
16132 ac_cpp='$CPP $CPPFLAGS'
16133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16137 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
16138 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
16139 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16140 echo $ECHO_N "(cached) $ECHO_C" >&6
16142 cat >conftest.$ac_ext <<_ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16153 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16161 rm -f conftest.$ac_objext
16162 if { (ac_try="$ac_compile"
16163 case "(($ac_try" in
16164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16165 *) ac_try_echo=$ac_try;;
16167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16168 (eval "$ac_compile") 2>conftest.er1
16170 grep -v '^ *+' conftest.er1 >conftest.err
16172 cat conftest.err >&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } && {
16175 test -z "$ac_c_werror_flag" ||
16176 test ! -s conftest.err
16177 } && test -s conftest.$ac_objext; then
16178 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16180 echo "$as_me: failed program was:" >&5
16181 sed 's/^/| /' conftest.$ac_ext >&5
16183 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16191 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16192 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16193 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16199 ac_cpp='$CPP $CPPFLAGS'
16200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16209 ac_cpp='$CPP $CPPFLAGS'
16210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16214 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
16215 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
16216 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16219 cat >conftest.$ac_ext <<_ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16230 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16238 rm -f conftest.$ac_objext
16239 if { (ac_try="$ac_compile"
16240 case "(($ac_try" in
16241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16242 *) ac_try_echo=$ac_try;;
16244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16245 (eval "$ac_compile") 2>conftest.er1
16247 grep -v '^ *+' conftest.er1 >conftest.err
16249 cat conftest.err >&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } && {
16252 test -z "$ac_c_werror_flag" ||
16253 test ! -s conftest.err
16254 } && test -s conftest.$ac_objext; then
16255 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16260 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16268 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16269 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16270 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16276 ac_cpp='$CPP $CPPFLAGS'
16277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16285 if test "x$GCC" != "xyes"; then
16286 if test "xCC" = "xC"; then
16287 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16288 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16289 if test "${bakefile_cv_c_exto+set}" = set; then
16290 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 cat >conftest.$ac_ext <<_ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16307 rm -f conftest.$ac_objext conftest.$ac_ext.o
16308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16309 (eval $ac_compile) 2>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; then
16313 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16315 conftest.$ac_ext.o)
16316 bakefile_cv_c_exto="-ext o"
16323 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16324 See \`config.log' for more details." >&5
16325 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16326 See \`config.log' for more details." >&2;}
16327 { (exit 1); exit 1; }; }
16331 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16334 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16335 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16336 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16337 if test "c" = "c"; then
16338 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16340 if test "c" = "cxx"; then
16341 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16345 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16346 unset ac_cv_prog_cc_g
16347 ac_test_CFLAGS=${CFLAGS+set}
16348 ac_save_CFLAGS=$CFLAGS
16349 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16350 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16351 if test "${ac_cv_prog_cc_g+set}" = set; then
16352 echo $ECHO_N "(cached) $ECHO_C" >&6
16354 ac_save_c_werror_flag=$ac_c_werror_flag
16355 ac_c_werror_flag=yes
16358 cat >conftest.$ac_ext <<_ACEOF
16361 cat confdefs.h >>conftest.$ac_ext
16362 cat >>conftest.$ac_ext <<_ACEOF
16363 /* end confdefs.h. */
16373 rm -f conftest.$ac_objext
16374 if { (ac_try="$ac_compile"
16375 case "(($ac_try" in
16376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16377 *) ac_try_echo=$ac_try;;
16379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16380 (eval "$ac_compile") 2>conftest.er1
16382 grep -v '^ *+' conftest.er1 >conftest.err
16384 cat conftest.err >&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } && {
16387 test -z "$ac_c_werror_flag" ||
16388 test ! -s conftest.err
16389 } && test -s conftest.$ac_objext; then
16390 ac_cv_prog_cc_g=yes
16392 echo "$as_me: failed program was:" >&5
16393 sed 's/^/| /' conftest.$ac_ext >&5
16396 cat >conftest.$ac_ext <<_ACEOF
16399 cat confdefs.h >>conftest.$ac_ext
16400 cat >>conftest.$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16411 rm -f conftest.$ac_objext
16412 if { (ac_try="$ac_compile"
16413 case "(($ac_try" in
16414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16415 *) ac_try_echo=$ac_try;;
16417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16418 (eval "$ac_compile") 2>conftest.er1
16420 grep -v '^ *+' conftest.er1 >conftest.err
16422 cat conftest.err >&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } && {
16425 test -z "$ac_c_werror_flag" ||
16426 test ! -s conftest.err
16427 } && test -s conftest.$ac_objext; then
16430 echo "$as_me: failed program was:" >&5
16431 sed 's/^/| /' conftest.$ac_ext >&5
16433 ac_c_werror_flag=$ac_save_c_werror_flag
16435 cat >conftest.$ac_ext <<_ACEOF
16438 cat confdefs.h >>conftest.$ac_ext
16439 cat >>conftest.$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16450 rm -f conftest.$ac_objext
16451 if { (ac_try="$ac_compile"
16452 case "(($ac_try" in
16453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16454 *) ac_try_echo=$ac_try;;
16456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16457 (eval "$ac_compile") 2>conftest.er1
16459 grep -v '^ *+' conftest.er1 >conftest.err
16461 cat conftest.err >&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); } && {
16464 test -z "$ac_c_werror_flag" ||
16465 test ! -s conftest.err
16466 } && test -s conftest.$ac_objext; then
16467 ac_cv_prog_cc_g=yes
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.$ac_ext >&5
16475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482 ac_c_werror_flag=$ac_save_c_werror_flag
16484 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16485 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16486 if test "$ac_test_CFLAGS" = set; then
16487 CFLAGS=$ac_save_CFLAGS
16488 elif test $ac_cv_prog_cc_g = yes; then
16489 if test "$GCC" = yes; then
16495 if test "$GCC" = yes; then
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16514 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16515 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16516 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16517 echo $ECHO_N "(cached) $ECHO_C" >&6
16519 cat >conftest.$ac_ext <<_ACEOF
16522 cat confdefs.h >>conftest.$ac_ext
16523 cat >>conftest.$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16538 rm -f conftest.$ac_objext
16539 if { (ac_try="$ac_compile"
16540 case "(($ac_try" in
16541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16542 *) ac_try_echo=$ac_try;;
16544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16545 (eval "$ac_compile") 2>conftest.er1
16547 grep -v '^ *+' conftest.er1 >conftest.err
16549 cat conftest.err >&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); } && {
16552 test -z "$ac_c_werror_flag" ||
16553 test ! -s conftest.err
16554 } && test -s conftest.$ac_objext; then
16555 bakefile_cv_c_compiler___xlC__=yes
16557 echo "$as_me: failed program was:" >&5
16558 sed 's/^/| /' conftest.$ac_ext >&5
16560 bakefile_cv_c_compiler___xlC__=no
16564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16568 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16569 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16570 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16576 ac_cpp='$CPP $CPPFLAGS'
16577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16589 ac_cpp='$CPP $CPPFLAGS'
16590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16594 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16595 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16596 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 cat >conftest.$ac_ext <<_ACEOF
16602 cat confdefs.h >>conftest.$ac_ext
16603 cat >>conftest.$ac_ext <<_ACEOF
16604 /* end confdefs.h. */
16618 rm -f conftest.$ac_objext
16619 if { (ac_try="$ac_compile"
16620 case "(($ac_try" in
16621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16622 *) ac_try_echo=$ac_try;;
16624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16625 (eval "$ac_compile") 2>conftest.er1
16627 grep -v '^ *+' conftest.er1 >conftest.err
16629 cat conftest.err >&5
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); } && {
16632 test -z "$ac_c_werror_flag" ||
16633 test ! -s conftest.err
16634 } && test -s conftest.$ac_objext; then
16635 bakefile_cv_c_compiler___MWERKS__=yes
16637 echo "$as_me: failed program was:" >&5
16638 sed 's/^/| /' conftest.$ac_ext >&5
16640 bakefile_cv_c_compiler___MWERKS__=no
16644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16648 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16649 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16650 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16656 ac_cpp='$CPP $CPPFLAGS'
16657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16663 if test "$MWCC" != "yes"; then
16667 ac_cpp='$CPP $CPPFLAGS'
16668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16672 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16673 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16674 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16675 echo $ECHO_N "(cached) $ECHO_C" >&6
16677 cat >conftest.$ac_ext <<_ACEOF
16680 cat confdefs.h >>conftest.$ac_ext
16681 cat >>conftest.$ac_ext <<_ACEOF
16682 /* end confdefs.h. */
16696 rm -f conftest.$ac_objext
16697 if { (ac_try="$ac_compile"
16698 case "(($ac_try" in
16699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16700 *) ac_try_echo=$ac_try;;
16702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16703 (eval "$ac_compile") 2>conftest.er1
16705 grep -v '^ *+' conftest.er1 >conftest.err
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } && {
16710 test -z "$ac_c_werror_flag" ||
16711 test ! -s conftest.err
16712 } && test -s conftest.$ac_objext; then
16713 bakefile_cv_c_compiler___xlC__=yes
16715 echo "$as_me: failed program was:" >&5
16716 sed 's/^/| /' conftest.$ac_ext >&5
16718 bakefile_cv_c_compiler___xlC__=no
16722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16726 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16727 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16728 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16734 ac_cpp='$CPP $CPPFLAGS'
16735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16748 ac_cpp='$CPP $CPPFLAGS'
16749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16753 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16754 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16755 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 cat >conftest.$ac_ext <<_ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16769 #ifndef _SGI_COMPILER_VERSION
16777 rm -f conftest.$ac_objext
16778 if { (ac_try="$ac_compile"
16779 case "(($ac_try" in
16780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16781 *) ac_try_echo=$ac_try;;
16783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16784 (eval "$ac_compile") 2>conftest.er1
16786 grep -v '^ *+' conftest.er1 >conftest.err
16788 cat conftest.err >&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } && {
16791 test -z "$ac_c_werror_flag" ||
16792 test ! -s conftest.err
16793 } && test -s conftest.$ac_objext; then
16794 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.$ac_ext >&5
16799 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16807 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16808 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16809 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16815 ac_cpp='$CPP $CPPFLAGS'
16816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16825 if test "$INTELCC" != "yes"; then
16829 ac_cpp='$CPP $CPPFLAGS'
16830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16834 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16835 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16836 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 cat >conftest.$ac_ext <<_ACEOF
16842 cat confdefs.h >>conftest.$ac_ext
16843 cat >>conftest.$ac_ext <<_ACEOF
16844 /* end confdefs.h. */
16858 rm -f conftest.$ac_objext
16859 if { (ac_try="$ac_compile"
16860 case "(($ac_try" in
16861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16862 *) ac_try_echo=$ac_try;;
16864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16865 (eval "$ac_compile") 2>conftest.er1
16867 grep -v '^ *+' conftest.er1 >conftest.err
16869 cat conftest.err >&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } && {
16872 test -z "$ac_c_werror_flag" ||
16873 test ! -s conftest.err
16874 } && test -s conftest.$ac_objext; then
16875 bakefile_cv_c_compiler___SUNPRO_C=yes
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.$ac_ext >&5
16880 bakefile_cv_c_compiler___SUNPRO_C=no
16884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16888 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16889 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16890 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16896 ac_cpp='$CPP $CPPFLAGS'
16897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16910 ac_cpp='$CPP $CPPFLAGS'
16911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16915 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16916 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16917 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16918 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 cat >conftest.$ac_ext <<_ACEOF
16923 cat confdefs.h >>conftest.$ac_ext
16924 cat >>conftest.$ac_ext <<_ACEOF
16925 /* end confdefs.h. */
16939 rm -f conftest.$ac_objext
16940 if { (ac_try="$ac_compile"
16941 case "(($ac_try" in
16942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16943 *) ac_try_echo=$ac_try;;
16945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16946 (eval "$ac_compile") 2>conftest.er1
16948 grep -v '^ *+' conftest.er1 >conftest.err
16950 cat conftest.err >&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); } && {
16953 test -z "$ac_c_werror_flag" ||
16954 test ! -s conftest.err
16955 } && test -s conftest.$ac_objext; then
16956 bakefile_cv_c_compiler___HP_cc=yes
16958 echo "$as_me: failed program was:" >&5
16959 sed 's/^/| /' conftest.$ac_ext >&5
16961 bakefile_cv_c_compiler___HP_cc=no
16965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16969 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16970 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16971 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16977 ac_cpp='$CPP $CPPFLAGS'
16978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16990 ac_cpp='$CPP $CPPFLAGS'
16991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16995 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16996 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16997 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16998 echo $ECHO_N "(cached) $ECHO_C" >&6
17000 cat >conftest.$ac_ext <<_ACEOF
17003 cat confdefs.h >>conftest.$ac_ext
17004 cat >>conftest.$ac_ext <<_ACEOF
17005 /* end confdefs.h. */
17019 rm -f conftest.$ac_objext
17020 if { (ac_try="$ac_compile"
17021 case "(($ac_try" in
17022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17023 *) ac_try_echo=$ac_try;;
17025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17026 (eval "$ac_compile") 2>conftest.er1
17028 grep -v '^ *+' conftest.er1 >conftest.err
17030 cat conftest.err >&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } && {
17033 test -z "$ac_c_werror_flag" ||
17034 test ! -s conftest.err
17035 } && test -s conftest.$ac_objext; then
17036 bakefile_cv_c_compiler___DECC=yes
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.$ac_ext >&5
17041 bakefile_cv_c_compiler___DECC=no
17045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17050 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17051 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17057 ac_cpp='$CPP $CPPFLAGS'
17058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17070 ac_cpp='$CPP $CPPFLAGS'
17071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17075 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17076 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17077 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17078 echo $ECHO_N "(cached) $ECHO_C" >&6
17080 cat >conftest.$ac_ext <<_ACEOF
17083 cat confdefs.h >>conftest.$ac_ext
17084 cat >>conftest.$ac_ext <<_ACEOF
17085 /* end confdefs.h. */
17099 rm -f conftest.$ac_objext
17100 if { (ac_try="$ac_compile"
17101 case "(($ac_try" in
17102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17103 *) ac_try_echo=$ac_try;;
17105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17106 (eval "$ac_compile") 2>conftest.er1
17108 grep -v '^ *+' conftest.er1 >conftest.err
17110 cat conftest.err >&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } && {
17113 test -z "$ac_c_werror_flag" ||
17114 test ! -s conftest.err
17115 } && test -s conftest.$ac_objext; then
17116 bakefile_cv_c_compiler___SUNPRO_C=yes
17118 echo "$as_me: failed program was:" >&5
17119 sed 's/^/| /' conftest.$ac_ext >&5
17121 bakefile_cv_c_compiler___SUNPRO_C=no
17125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17130 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17131 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17137 ac_cpp='$CPP $CPPFLAGS'
17138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17151 ac_cpp='$CPP $CPPFLAGS'
17152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17155 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17156 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17157 # On Suns, sometimes $CPP names a directory.
17158 if test -n "$CPP" && test -d "$CPP"; then
17161 if test -z "$CPP"; then
17162 if test "${ac_cv_prog_CPP+set}" = set; then
17163 echo $ECHO_N "(cached) $ECHO_C" >&6
17165 # Double quotes because CPP needs to be expanded
17166 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17168 ac_preproc_ok=false
17169 for ac_c_preproc_warn_flag in '' yes
17171 # Use a header file that comes with gcc, so configuring glibc
17172 # with a fresh cross-compiler works.
17173 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17174 # <limits.h> exists even on freestanding compilers.
17175 # On the NeXT, cc -E runs the code through the compiler's parser,
17176 # not just through cpp. "Syntax error" is here to catch this case.
17177 cat >conftest.$ac_ext <<_ACEOF
17180 cat confdefs.h >>conftest.$ac_ext
17181 cat >>conftest.$ac_ext <<_ACEOF
17182 /* end confdefs.h. */
17184 # include <limits.h>
17186 # include <assert.h>
17190 if { (ac_try="$ac_cpp conftest.$ac_ext"
17191 case "(($ac_try" in
17192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17193 *) ac_try_echo=$ac_try;;
17195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17196 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17198 grep -v '^ *+' conftest.er1 >conftest.err
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } >/dev/null && {
17203 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17204 test ! -s conftest.err
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17211 # Broken: fails on valid input.
17215 rm -f conftest.err conftest.$ac_ext
17217 # OK, works on sane cases. Now check whether nonexistent headers
17218 # can be detected and how.
17219 cat >conftest.$ac_ext <<_ACEOF
17222 cat confdefs.h >>conftest.$ac_ext
17223 cat >>conftest.$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17225 #include <ac_nonexistent.h>
17227 if { (ac_try="$ac_cpp conftest.$ac_ext"
17228 case "(($ac_try" in
17229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17230 *) ac_try_echo=$ac_try;;
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17235 grep -v '^ *+' conftest.er1 >conftest.err
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } >/dev/null && {
17240 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17241 test ! -s conftest.err
17243 # Broken: success on invalid input.
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17249 # Passes both tests.
17254 rm -f conftest.err conftest.$ac_ext
17257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17258 rm -f conftest.err conftest.$ac_ext
17259 if $ac_preproc_ok; then
17264 ac_cv_prog_CPP=$CPP
17267 CPP=$ac_cv_prog_CPP
17269 ac_cv_prog_CPP=$CPP
17271 { echo "$as_me:$LINENO: result: $CPP" >&5
17272 echo "${ECHO_T}$CPP" >&6; }
17273 ac_preproc_ok=false
17274 for ac_c_preproc_warn_flag in '' yes
17276 # Use a header file that comes with gcc, so configuring glibc
17277 # with a fresh cross-compiler works.
17278 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17279 # <limits.h> exists even on freestanding compilers.
17280 # On the NeXT, cc -E runs the code through the compiler's parser,
17281 # not just through cpp. "Syntax error" is here to catch this case.
17282 cat >conftest.$ac_ext <<_ACEOF
17285 cat confdefs.h >>conftest.$ac_ext
17286 cat >>conftest.$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17289 # include <limits.h>
17291 # include <assert.h>
17295 if { (ac_try="$ac_cpp conftest.$ac_ext"
17296 case "(($ac_try" in
17297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17298 *) ac_try_echo=$ac_try;;
17300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17301 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17303 grep -v '^ *+' conftest.er1 >conftest.err
17305 cat conftest.err >&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); } >/dev/null && {
17308 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17309 test ! -s conftest.err
17313 echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.$ac_ext >&5
17316 # Broken: fails on valid input.
17320 rm -f conftest.err conftest.$ac_ext
17322 # OK, works on sane cases. Now check whether nonexistent headers
17323 # can be detected and how.
17324 cat >conftest.$ac_ext <<_ACEOF
17327 cat confdefs.h >>conftest.$ac_ext
17328 cat >>conftest.$ac_ext <<_ACEOF
17329 /* end confdefs.h. */
17330 #include <ac_nonexistent.h>
17332 if { (ac_try="$ac_cpp conftest.$ac_ext"
17333 case "(($ac_try" in
17334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17335 *) ac_try_echo=$ac_try;;
17337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17338 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17340 grep -v '^ *+' conftest.er1 >conftest.err
17342 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } >/dev/null && {
17345 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17346 test ! -s conftest.err
17348 # Broken: success on invalid input.
17351 echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.$ac_ext >&5
17354 # Passes both tests.
17359 rm -f conftest.err conftest.$ac_ext
17362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17363 rm -f conftest.err conftest.$ac_ext
17364 if $ac_preproc_ok; then
17367 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17368 See \`config.log' for more details." >&5
17369 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17370 See \`config.log' for more details." >&2;}
17371 { (exit 1); exit 1; }; }
17375 ac_cpp='$CPP $CPPFLAGS'
17376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17381 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17382 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17383 if test "${ac_cv_path_GREP+set}" = set; then
17384 echo $ECHO_N "(cached) $ECHO_C" >&6
17386 # Extract the first word of "grep ggrep" to use in msg output
17387 if test -z "$GREP"; then
17388 set dummy grep ggrep; ac_prog_name=$2
17389 if test "${ac_cv_path_GREP+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 ac_path_GREP_found=false
17393 # Loop through the user's path and test for each of PROGNAME-LIST
17394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17398 test -z "$as_dir" && as_dir=.
17399 for ac_prog in grep ggrep; do
17400 for ac_exec_ext in '' $ac_executable_extensions; do
17401 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17402 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17403 # Check for GNU ac_path_GREP and select it if it is found.
17404 # Check for GNU $ac_path_GREP
17405 case `"$ac_path_GREP" --version 2>&1` in
17407 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17410 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17413 cat "conftest.in" "conftest.in" >"conftest.tmp"
17414 mv "conftest.tmp" "conftest.in"
17415 cp "conftest.in" "conftest.nl"
17416 echo 'GREP' >> "conftest.nl"
17417 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17418 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17419 ac_count=`expr $ac_count + 1`
17420 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17421 # Best one so far, save it but keep looking for a better one
17422 ac_cv_path_GREP="$ac_path_GREP"
17423 ac_path_GREP_max=$ac_count
17425 # 10*(2^10) chars as input seems more than enough
17426 test $ac_count -gt 10 && break
17428 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17432 $ac_path_GREP_found && break 3
17442 GREP="$ac_cv_path_GREP"
17443 if test -z "$GREP"; then
17444 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17445 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17446 { (exit 1); exit 1; }; }
17450 ac_cv_path_GREP=$GREP
17455 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17456 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17457 GREP="$ac_cv_path_GREP"
17460 { echo "$as_me:$LINENO: checking for egrep" >&5
17461 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17462 if test "${ac_cv_path_EGREP+set}" = set; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17465 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17466 then ac_cv_path_EGREP="$GREP -E"
17468 # Extract the first word of "egrep" to use in msg output
17469 if test -z "$EGREP"; then
17470 set dummy egrep; ac_prog_name=$2
17471 if test "${ac_cv_path_EGREP+set}" = set; then
17472 echo $ECHO_N "(cached) $ECHO_C" >&6
17474 ac_path_EGREP_found=false
17475 # Loop through the user's path and test for each of PROGNAME-LIST
17476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17477 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17480 test -z "$as_dir" && as_dir=.
17481 for ac_prog in egrep; do
17482 for ac_exec_ext in '' $ac_executable_extensions; do
17483 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17484 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17485 # Check for GNU ac_path_EGREP and select it if it is found.
17486 # Check for GNU $ac_path_EGREP
17487 case `"$ac_path_EGREP" --version 2>&1` in
17489 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17492 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17495 cat "conftest.in" "conftest.in" >"conftest.tmp"
17496 mv "conftest.tmp" "conftest.in"
17497 cp "conftest.in" "conftest.nl"
17498 echo 'EGREP' >> "conftest.nl"
17499 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17500 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17501 ac_count=`expr $ac_count + 1`
17502 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17503 # Best one so far, save it but keep looking for a better one
17504 ac_cv_path_EGREP="$ac_path_EGREP"
17505 ac_path_EGREP_max=$ac_count
17507 # 10*(2^10) chars as input seems more than enough
17508 test $ac_count -gt 10 && break
17510 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17514 $ac_path_EGREP_found && break 3
17524 EGREP="$ac_cv_path_EGREP"
17525 if test -z "$EGREP"; then
17526 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17527 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17528 { (exit 1); exit 1; }; }
17532 ac_cv_path_EGREP=$EGREP
17538 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17539 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17540 EGREP="$ac_cv_path_EGREP"
17543 if test $ac_cv_c_compiler_gnu = yes; then
17544 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17545 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17546 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 ac_pattern="Autoconf.*'x'"
17550 cat >conftest.$ac_ext <<_ACEOF
17553 cat confdefs.h >>conftest.$ac_ext
17554 cat >>conftest.$ac_ext <<_ACEOF
17555 /* end confdefs.h. */
17559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17560 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17561 ac_cv_prog_gcc_traditional=yes
17563 ac_cv_prog_gcc_traditional=no
17568 if test $ac_cv_prog_gcc_traditional = no; then
17569 cat >conftest.$ac_ext <<_ACEOF
17572 cat confdefs.h >>conftest.$ac_ext
17573 cat >>conftest.$ac_ext <<_ACEOF
17574 /* end confdefs.h. */
17575 #include <termio.h>
17578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17579 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17580 ac_cv_prog_gcc_traditional=yes
17586 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17587 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17588 if test $ac_cv_prog_gcc_traditional = yes; then
17589 CC="$CC -traditional"
17594 CXXFLAGS=${CXXFLAGS:=}
17596 ac_cpp='$CXXCPP $CPPFLAGS'
17597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17600 if test -z "$CXX"; then
17601 if test -n "$CCC"; then
17604 if test -n "$ac_tool_prefix"; then
17605 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17611 if test "${ac_cv_prog_CXX+set}" = set; then
17612 echo $ECHO_N "(cached) $ECHO_C" >&6
17614 if test -n "$CXX"; then
17615 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17618 for as_dir in $PATH
17621 test -z "$as_dir" && as_dir=.
17622 for ac_exec_ext in '' $ac_executable_extensions; do
17623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17624 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17634 CXX=$ac_cv_prog_CXX
17635 if test -n "$CXX"; then
17636 { echo "$as_me:$LINENO: result: $CXX" >&5
17637 echo "${ECHO_T}$CXX" >&6; }
17639 { echo "$as_me:$LINENO: result: no" >&5
17640 echo "${ECHO_T}no" >&6; }
17644 test -n "$CXX" && break
17647 if test -z "$CXX"; then
17649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17651 # Extract the first word of "$ac_prog", so it can be a program name with args.
17652 set dummy $ac_prog; ac_word=$2
17653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17655 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17658 if test -n "$ac_ct_CXX"; then
17659 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17662 for as_dir in $PATH
17665 test -z "$as_dir" && as_dir=.
17666 for ac_exec_ext in '' $ac_executable_extensions; do
17667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17668 ac_cv_prog_ac_ct_CXX="$ac_prog"
17669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17678 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17679 if test -n "$ac_ct_CXX"; then
17680 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17681 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17683 { echo "$as_me:$LINENO: result: no" >&5
17684 echo "${ECHO_T}no" >&6; }
17688 test -n "$ac_ct_CXX" && break
17691 if test "x$ac_ct_CXX" = x; then
17694 case $cross_compiling:$ac_tool_warned in
17696 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17697 whose name does not start with the host triplet. If you think this
17698 configuration is useful to you, please write to autoconf@gnu.org." >&5
17699 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17700 whose name does not start with the host triplet. If you think this
17701 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17702 ac_tool_warned=yes ;;
17710 # Provide some information about the compiler.
17711 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17712 ac_compiler=`set X $ac_compile; echo $2`
17713 { (ac_try="$ac_compiler --version >&5"
17714 case "(($ac_try" in
17715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17716 *) ac_try_echo=$ac_try;;
17718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17719 (eval "$ac_compiler --version >&5") 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }
17723 { (ac_try="$ac_compiler -v >&5"
17724 case "(($ac_try" in
17725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17726 *) ac_try_echo=$ac_try;;
17728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17729 (eval "$ac_compiler -v >&5") 2>&5
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); }
17733 { (ac_try="$ac_compiler -V >&5"
17734 case "(($ac_try" in
17735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17736 *) ac_try_echo=$ac_try;;
17738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17739 (eval "$ac_compiler -V >&5") 2>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }
17744 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17745 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17746 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17747 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 cat >conftest.$ac_ext <<_ACEOF
17752 cat confdefs.h >>conftest.$ac_ext
17753 cat >>conftest.$ac_ext <<_ACEOF
17754 /* end confdefs.h. */
17767 rm -f conftest.$ac_objext
17768 if { (ac_try="$ac_compile"
17769 case "(($ac_try" in
17770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17771 *) ac_try_echo=$ac_try;;
17773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17774 (eval "$ac_compile") 2>conftest.er1
17776 grep -v '^ *+' conftest.er1 >conftest.err
17778 cat conftest.err >&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } && {
17781 test -z "$ac_cxx_werror_flag" ||
17782 test ! -s conftest.err
17783 } && test -s conftest.$ac_objext; then
17784 ac_compiler_gnu=yes
17786 echo "$as_me: failed program was:" >&5
17787 sed 's/^/| /' conftest.$ac_ext >&5
17792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17793 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17796 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17797 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17798 GXX=`test $ac_compiler_gnu = yes && echo yes`
17799 ac_test_CXXFLAGS=${CXXFLAGS+set}
17800 ac_save_CXXFLAGS=$CXXFLAGS
17801 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17802 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17803 if test "${ac_cv_prog_cxx_g+set}" = set; then
17804 echo $ECHO_N "(cached) $ECHO_C" >&6
17806 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17807 ac_cxx_werror_flag=yes
17808 ac_cv_prog_cxx_g=no
17810 cat >conftest.$ac_ext <<_ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17825 rm -f conftest.$ac_objext
17826 if { (ac_try="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17834 grep -v '^ *+' conftest.er1 >conftest.err
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_cxx_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.$ac_objext; then
17842 ac_cv_prog_cxx_g=yes
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.$ac_ext >&5
17848 cat >conftest.$ac_ext <<_ACEOF
17851 cat confdefs.h >>conftest.$ac_ext
17852 cat >>conftest.$ac_ext <<_ACEOF
17853 /* end confdefs.h. */
17863 rm -f conftest.$ac_objext
17864 if { (ac_try="$ac_compile"
17865 case "(($ac_try" in
17866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17867 *) ac_try_echo=$ac_try;;
17869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17870 (eval "$ac_compile") 2>conftest.er1
17872 grep -v '^ *+' conftest.er1 >conftest.err
17874 cat conftest.err >&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); } && {
17877 test -z "$ac_cxx_werror_flag" ||
17878 test ! -s conftest.err
17879 } && test -s conftest.$ac_objext; then
17882 echo "$as_me: failed program was:" >&5
17883 sed 's/^/| /' conftest.$ac_ext >&5
17885 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17887 cat >conftest.$ac_ext <<_ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17902 rm -f conftest.$ac_objext
17903 if { (ac_try="$ac_compile"
17904 case "(($ac_try" in
17905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17906 *) ac_try_echo=$ac_try;;
17908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17909 (eval "$ac_compile") 2>conftest.er1
17911 grep -v '^ *+' conftest.er1 >conftest.err
17913 cat conftest.err >&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); } && {
17916 test -z "$ac_cxx_werror_flag" ||
17917 test ! -s conftest.err
17918 } && test -s conftest.$ac_objext; then
17919 ac_cv_prog_cxx_g=yes
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.$ac_ext >&5
17927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17936 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17937 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17938 if test "$ac_test_CXXFLAGS" = set; then
17939 CXXFLAGS=$ac_save_CXXFLAGS
17940 elif test $ac_cv_prog_cxx_g = yes; then
17941 if test "$GXX" = yes; then
17947 if test "$GXX" = yes; then
17954 ac_cpp='$CPP $CPPFLAGS'
17955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17967 ac_cpp='$CXXCPP $CPPFLAGS'
17968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17972 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17973 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17974 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17975 echo $ECHO_N "(cached) $ECHO_C" >&6
17977 cat >conftest.$ac_ext <<_ACEOF
17980 cat confdefs.h >>conftest.$ac_ext
17981 cat >>conftest.$ac_ext <<_ACEOF
17982 /* end confdefs.h. */
17988 #ifndef __INTEL_COMPILER
17996 rm -f conftest.$ac_objext
17997 if { (ac_try="$ac_compile"
17998 case "(($ac_try" in
17999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18000 *) ac_try_echo=$ac_try;;
18002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18003 (eval "$ac_compile") 2>conftest.er1
18005 grep -v '^ *+' conftest.er1 >conftest.err
18007 cat conftest.err >&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); } && {
18010 test -z "$ac_cxx_werror_flag" ||
18011 test ! -s conftest.err
18012 } && test -s conftest.$ac_objext; then
18013 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18018 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18026 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18027 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18028 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18034 ac_cpp='$CPP $CPPFLAGS'
18035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18042 if test "$INTELCXX" = "yes"; then
18046 ac_cpp='$CXXCPP $CPPFLAGS'
18047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18051 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18052 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18053 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18056 cat >conftest.$ac_ext <<_ACEOF
18059 cat confdefs.h >>conftest.$ac_ext
18060 cat >>conftest.$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18067 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18075 rm -f conftest.$ac_objext
18076 if { (ac_try="$ac_compile"
18077 case "(($ac_try" in
18078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_compile") 2>conftest.er1
18084 grep -v '^ *+' conftest.er1 >conftest.err
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } && {
18089 test -z "$ac_cxx_werror_flag" ||
18090 test ! -s conftest.err
18091 } && test -s conftest.$ac_objext; then
18092 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18097 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18106 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18107 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18113 ac_cpp='$CPP $CPPFLAGS'
18114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18123 ac_cpp='$CXXCPP $CPPFLAGS'
18124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18128 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18129 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18130 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 cat >conftest.$ac_ext <<_ACEOF
18136 cat confdefs.h >>conftest.$ac_ext
18137 cat >>conftest.$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18144 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_compile") 2>conftest.er1
18161 grep -v '^ *+' conftest.er1 >conftest.err
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } && {
18166 test -z "$ac_cxx_werror_flag" ||
18167 test ! -s conftest.err
18168 } && test -s conftest.$ac_objext; then
18169 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18174 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18182 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18183 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18184 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18190 ac_cpp='$CPP $CPPFLAGS'
18191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18199 if test "x$GCXX" != "xyes"; then
18200 if test "xCXX" = "xC"; then
18201 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18202 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18203 if test "${bakefile_cv_c_exto+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 cat >conftest.$ac_ext <<_ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18221 rm -f conftest.$ac_objext conftest.$ac_ext.o
18222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18223 (eval $ac_compile) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; then
18227 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18229 conftest.$ac_ext.o)
18230 bakefile_cv_c_exto="-ext o"
18237 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18238 See \`config.log' for more details." >&5
18239 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18240 See \`config.log' for more details." >&2;}
18241 { (exit 1); exit 1; }; }
18245 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18248 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18249 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18250 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18251 if test "c" = "c"; then
18252 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18254 if test "c" = "cxx"; then
18255 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18259 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18260 unset ac_cv_prog_cc_g
18261 ac_test_CFLAGS=${CFLAGS+set}
18262 ac_save_CFLAGS=$CFLAGS
18263 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18264 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18265 if test "${ac_cv_prog_cc_g+set}" = set; then
18266 echo $ECHO_N "(cached) $ECHO_C" >&6
18268 ac_save_c_werror_flag=$ac_c_werror_flag
18269 ac_c_werror_flag=yes
18272 cat >conftest.$ac_ext <<_ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18287 rm -f conftest.$ac_objext
18288 if { (ac_try="$ac_compile"
18289 case "(($ac_try" in
18290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18291 *) ac_try_echo=$ac_try;;
18293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18294 (eval "$ac_compile") 2>conftest.er1
18296 grep -v '^ *+' conftest.er1 >conftest.err
18298 cat conftest.err >&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } && {
18301 test -z "$ac_c_werror_flag" ||
18302 test ! -s conftest.err
18303 } && test -s conftest.$ac_objext; then
18304 ac_cv_prog_cc_g=yes
18306 echo "$as_me: failed program was:" >&5
18307 sed 's/^/| /' conftest.$ac_ext >&5
18310 cat >conftest.$ac_ext <<_ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18325 rm -f conftest.$ac_objext
18326 if { (ac_try="$ac_compile"
18327 case "(($ac_try" in
18328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18329 *) ac_try_echo=$ac_try;;
18331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18332 (eval "$ac_compile") 2>conftest.er1
18334 grep -v '^ *+' conftest.er1 >conftest.err
18336 cat conftest.err >&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } && {
18339 test -z "$ac_c_werror_flag" ||
18340 test ! -s conftest.err
18341 } && test -s conftest.$ac_objext; then
18344 echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.$ac_ext >&5
18347 ac_c_werror_flag=$ac_save_c_werror_flag
18349 cat >conftest.$ac_ext <<_ACEOF
18352 cat confdefs.h >>conftest.$ac_ext
18353 cat >>conftest.$ac_ext <<_ACEOF
18354 /* end confdefs.h. */
18364 rm -f conftest.$ac_objext
18365 if { (ac_try="$ac_compile"
18366 case "(($ac_try" in
18367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18368 *) ac_try_echo=$ac_try;;
18370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18371 (eval "$ac_compile") 2>conftest.er1
18373 grep -v '^ *+' conftest.er1 >conftest.err
18375 cat conftest.err >&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); } && {
18378 test -z "$ac_c_werror_flag" ||
18379 test ! -s conftest.err
18380 } && test -s conftest.$ac_objext; then
18381 ac_cv_prog_cc_g=yes
18383 echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.$ac_ext >&5
18389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18396 ac_c_werror_flag=$ac_save_c_werror_flag
18398 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18399 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18400 if test "$ac_test_CFLAGS" = set; then
18401 CFLAGS=$ac_save_CFLAGS
18402 elif test $ac_cv_prog_cc_g = yes; then
18403 if test "$GCC" = yes; then
18409 if test "$GCC" = yes; then
18423 ac_cpp='$CXXCPP $CPPFLAGS'
18424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18428 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18429 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18430 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18431 echo $ECHO_N "(cached) $ECHO_C" >&6
18433 cat >conftest.$ac_ext <<_ACEOF
18436 cat confdefs.h >>conftest.$ac_ext
18437 cat >>conftest.$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18452 rm -f conftest.$ac_objext
18453 if { (ac_try="$ac_compile"
18454 case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_compile") 2>conftest.er1
18461 grep -v '^ *+' conftest.er1 >conftest.err
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_cxx_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest.$ac_objext; then
18469 bakefile_cv_cxx_compiler___xlC__=yes
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18474 bakefile_cv_cxx_compiler___xlC__=no
18478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18482 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18483 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18484 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18490 ac_cpp='$CPP $CPPFLAGS'
18491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18503 ac_cpp='$CXXCPP $CPPFLAGS'
18504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18508 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18509 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18510 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18513 cat >conftest.$ac_ext <<_ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18532 rm -f conftest.$ac_objext
18533 if { (ac_try="$ac_compile"
18534 case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_compile") 2>conftest.er1
18541 grep -v '^ *+' conftest.er1 >conftest.err
18543 cat conftest.err >&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); } && {
18546 test -z "$ac_cxx_werror_flag" ||
18547 test ! -s conftest.err
18548 } && test -s conftest.$ac_objext; then
18549 bakefile_cv_cxx_compiler___MWERKS__=yes
18551 echo "$as_me: failed program was:" >&5
18552 sed 's/^/| /' conftest.$ac_ext >&5
18554 bakefile_cv_cxx_compiler___MWERKS__=no
18558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18562 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18563 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18564 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18570 ac_cpp='$CPP $CPPFLAGS'
18571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18577 if test "$MWCXX" != "yes"; then
18581 ac_cpp='$CXXCPP $CPPFLAGS'
18582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18586 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18587 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18588 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18589 echo $ECHO_N "(cached) $ECHO_C" >&6
18591 cat >conftest.$ac_ext <<_ACEOF
18594 cat confdefs.h >>conftest.$ac_ext
18595 cat >>conftest.$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18610 rm -f conftest.$ac_objext
18611 if { (ac_try="$ac_compile"
18612 case "(($ac_try" in
18613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18614 *) ac_try_echo=$ac_try;;
18616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18617 (eval "$ac_compile") 2>conftest.er1
18619 grep -v '^ *+' conftest.er1 >conftest.err
18621 cat conftest.err >&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } && {
18624 test -z "$ac_cxx_werror_flag" ||
18625 test ! -s conftest.err
18626 } && test -s conftest.$ac_objext; then
18627 bakefile_cv_cxx_compiler___xlC__=yes
18629 echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.$ac_ext >&5
18632 bakefile_cv_cxx_compiler___xlC__=no
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18640 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18641 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18642 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18648 ac_cpp='$CPP $CPPFLAGS'
18649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18662 ac_cpp='$CXXCPP $CPPFLAGS'
18663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18667 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18668 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18669 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 cat >conftest.$ac_ext <<_ACEOF
18675 cat confdefs.h >>conftest.$ac_ext
18676 cat >>conftest.$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18683 #ifndef _SGI_COMPILER_VERSION
18691 rm -f conftest.$ac_objext
18692 if { (ac_try="$ac_compile"
18693 case "(($ac_try" in
18694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18695 *) ac_try_echo=$ac_try;;
18697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18698 (eval "$ac_compile") 2>conftest.er1
18700 grep -v '^ *+' conftest.er1 >conftest.err
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } && {
18705 test -z "$ac_cxx_werror_flag" ||
18706 test ! -s conftest.err
18707 } && test -s conftest.$ac_objext; then
18708 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18710 echo "$as_me: failed program was:" >&5
18711 sed 's/^/| /' conftest.$ac_ext >&5
18713 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18721 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18722 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18723 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18729 ac_cpp='$CPP $CPPFLAGS'
18730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18739 if test "$INTELCXX" != "yes"; then
18743 ac_cpp='$CXXCPP $CPPFLAGS'
18744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18748 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18749 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18750 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18751 echo $ECHO_N "(cached) $ECHO_C" >&6
18753 cat >conftest.$ac_ext <<_ACEOF
18756 cat confdefs.h >>conftest.$ac_ext
18757 cat >>conftest.$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18764 #ifndef __SUNPRO_CC
18772 rm -f conftest.$ac_objext
18773 if { (ac_try="$ac_compile"
18774 case "(($ac_try" in
18775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18776 *) ac_try_echo=$ac_try;;
18778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18779 (eval "$ac_compile") 2>conftest.er1
18781 grep -v '^ *+' conftest.er1 >conftest.err
18783 cat conftest.err >&5
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); } && {
18786 test -z "$ac_cxx_werror_flag" ||
18787 test ! -s conftest.err
18788 } && test -s conftest.$ac_objext; then
18789 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18794 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18802 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18803 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18804 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18810 ac_cpp='$CPP $CPPFLAGS'
18811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18824 ac_cpp='$CXXCPP $CPPFLAGS'
18825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18829 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18830 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18831 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 cat >conftest.$ac_ext <<_ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18853 rm -f conftest.$ac_objext
18854 if { (ac_try="$ac_compile"
18855 case "(($ac_try" in
18856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18857 *) ac_try_echo=$ac_try;;
18859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18860 (eval "$ac_compile") 2>conftest.er1
18862 grep -v '^ *+' conftest.er1 >conftest.err
18864 cat conftest.err >&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } && {
18867 test -z "$ac_cxx_werror_flag" ||
18868 test ! -s conftest.err
18869 } && test -s conftest.$ac_objext; then
18870 bakefile_cv_cxx_compiler___HP_aCC=yes
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18875 bakefile_cv_cxx_compiler___HP_aCC=no
18879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18883 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18884 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18885 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18891 ac_cpp='$CPP $CPPFLAGS'
18892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18904 ac_cpp='$CXXCPP $CPPFLAGS'
18905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18909 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18910 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18911 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18912 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 cat >conftest.$ac_ext <<_ACEOF
18917 cat confdefs.h >>conftest.$ac_ext
18918 cat >>conftest.$ac_ext <<_ACEOF
18919 /* end confdefs.h. */
18933 rm -f conftest.$ac_objext
18934 if { (ac_try="$ac_compile"
18935 case "(($ac_try" in
18936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18937 *) ac_try_echo=$ac_try;;
18939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18940 (eval "$ac_compile") 2>conftest.er1
18942 grep -v '^ *+' conftest.er1 >conftest.err
18944 cat conftest.err >&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); } && {
18947 test -z "$ac_cxx_werror_flag" ||
18948 test ! -s conftest.err
18949 } && test -s conftest.$ac_objext; then
18950 bakefile_cv_cxx_compiler___DECCXX=yes
18952 echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.$ac_ext >&5
18955 bakefile_cv_cxx_compiler___DECCXX=no
18959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18963 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18964 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18965 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18971 ac_cpp='$CPP $CPPFLAGS'
18972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18984 ac_cpp='$CXXCPP $CPPFLAGS'
18985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18989 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18990 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18991 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18992 echo $ECHO_N "(cached) $ECHO_C" >&6
18994 cat >conftest.$ac_ext <<_ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19005 #ifndef __SUNPRO_CC
19013 rm -f conftest.$ac_objext
19014 if { (ac_try="$ac_compile"
19015 case "(($ac_try" in
19016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19017 *) ac_try_echo=$ac_try;;
19019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19020 (eval "$ac_compile") 2>conftest.er1
19022 grep -v '^ *+' conftest.er1 >conftest.err
19024 cat conftest.err >&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } && {
19027 test -z "$ac_cxx_werror_flag" ||
19028 test ! -s conftest.err
19029 } && test -s conftest.$ac_objext; then
19030 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19032 echo "$as_me: failed program was:" >&5
19033 sed 's/^/| /' conftest.$ac_ext >&5
19035 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19043 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19044 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19045 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19051 ac_cpp='$CPP $CPPFLAGS'
19052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19064 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19065 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19066 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19067 { (exit 1); exit 1; }; }
19070 if test "x$SUNCXX" != xyes; then
19071 if test -n "$ac_tool_prefix"; then
19072 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19073 set dummy ${ac_tool_prefix}ar; ac_word=$2
19074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19076 if test "${ac_cv_prog_AR+set}" = set; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6
19079 if test -n "$AR"; then
19080 ac_cv_prog_AR="$AR" # Let the user override the test.
19082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19083 for as_dir in $PATH
19086 test -z "$as_dir" && as_dir=.
19087 for ac_exec_ext in '' $ac_executable_extensions; do
19088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19089 ac_cv_prog_AR="${ac_tool_prefix}ar"
19090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19100 if test -n "$AR"; then
19101 { echo "$as_me:$LINENO: result: $AR" >&5
19102 echo "${ECHO_T}$AR" >&6; }
19104 { echo "$as_me:$LINENO: result: no" >&5
19105 echo "${ECHO_T}no" >&6; }
19110 if test -z "$ac_cv_prog_AR"; then
19112 # Extract the first word of "ar", so it can be a program name with args.
19113 set dummy ar; ac_word=$2
19114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19116 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6
19119 if test -n "$ac_ct_AR"; then
19120 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19123 for as_dir in $PATH
19126 test -z "$as_dir" && as_dir=.
19127 for ac_exec_ext in '' $ac_executable_extensions; do
19128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19129 ac_cv_prog_ac_ct_AR="ar"
19130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19139 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19140 if test -n "$ac_ct_AR"; then
19141 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19142 echo "${ECHO_T}$ac_ct_AR" >&6; }
19144 { echo "$as_me:$LINENO: result: no" >&5
19145 echo "${ECHO_T}no" >&6; }
19148 if test "x$ac_ct_AR" = x; then
19151 case $cross_compiling:$ac_tool_warned in
19153 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19154 whose name does not start with the host triplet. If you think this
19155 configuration is useful to you, please write to autoconf@gnu.org." >&5
19156 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19157 whose name does not start with the host triplet. If you think this
19158 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19159 ac_tool_warned=yes ;;
19164 AR="$ac_cv_prog_AR"
19167 if test "x$AR" = "x" ; then
19168 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19169 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19170 { (exit 1); exit 1; }; }
19175 if test "$wxUSE_MAC" = 1; then
19177 retest_macosx_linking=no
19180 if test "x$wxUSE_MAC_ARCH" != xno; then
19181 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19184 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19185 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19186 # Implicitly turn on the new --with-macosx-sdk using the default
19187 # SDK which provides the behaviour this option has always had.
19188 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19189 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19190 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19191 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19192 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19193 wxUSE_MACOSX_SDK=yes
19196 # Complain to user if he specified an argument to --enable-universal_binary
19197 # and also 1) specified --with-macosx-sdk using the default (yes) or
19198 # 2) specified --with-macosx-sdk using a path or 3) specified
19199 # --without-macosx-sdk (no).
19200 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19201 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19202 See \`config.log' for more details." >&5
19203 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19204 See \`config.log' for more details." >&2;}
19205 { (exit 1); exit 1; }; }
19207 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19208 # special-case the empty string because the below test simply
19209 # converts "no" to the empty string anyway.
19210 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19211 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19212 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19215 OSX_ARCH_OPTS="-arch ppc -arch i386"
19216 if test "$wxUSE_OSX_COCOA" = 1; then
19217 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
19219 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
19220 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
19221 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19222 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19224 retest_macosx_linking=yes
19226 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19227 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19231 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19232 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19233 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19234 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19235 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19237 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19239 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19240 # TODO: Search for most recent SDK and use it.
19241 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19245 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19246 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19247 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19248 if ! test -d "$wxUSE_MACOSX_SDK"; then
19249 { { echo "$as_me:$LINENO: error: not found
19250 See \`config.log' for more details." >&5
19251 echo "$as_me: error: not found
19252 See \`config.log' for more details." >&2;}
19253 { (exit 1); exit 1; }; }
19255 { echo "$as_me:$LINENO: result: exists" >&5
19256 echo "${ECHO_T}exists" >&6; }
19258 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19259 retest_macosx_linking=yes
19262 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19263 wxUSE_MACOSX_VERSION_MIN=
19264 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19265 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19266 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19267 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19269 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/'`
19271 # If that failed, try again with the new key
19272 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19274 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/'`
19278 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19279 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19280 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19281 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19283 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19284 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19285 wxUSE_MACOSX_VERSION_MIN=
19288 wxUSE_MACOSX_VERSION_MIN=
19290 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19291 for ac_prog in sw_vers
19293 # Extract the first word of "$ac_prog", so it can be a program name with args.
19294 set dummy $ac_prog; ac_word=$2
19295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19297 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19298 echo $ECHO_N "(cached) $ECHO_C" >&6
19300 if test -n "$OSX_SW_VERS"; then
19301 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19304 for as_dir in $PATH
19307 test -z "$as_dir" && as_dir=.
19308 for ac_exec_ext in '' $ac_executable_extensions; do
19309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19310 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19320 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19321 if test -n "$OSX_SW_VERS"; then
19322 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19323 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19325 { echo "$as_me:$LINENO: result: no" >&5
19326 echo "${ECHO_T}no" >&6; }
19330 test -n "$OSX_SW_VERS" && break
19333 if test "$OSX_SW_VERS" != ""; then
19334 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19336 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19337 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19341 case "$OSX_VERSION" in
19343 wxUSE_MACOSX_VERSION_MIN=10.4
19347 if test "$wxUSE_OSX_CARBON" = 1; then
19348 # otherwise configure stops on leopard for universal_binary
19349 wxUSE_MACOSX_VERSION_MIN=10.4
19351 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19352 wxUSE_MACOSX_VERSION_MIN=10.5
19359 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19363 if test "$wxUSE_OSX_CARBON" = 1; then
19367 if test "x$NEEDS_GCC40" == "xyes"; then
19368 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19369 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19370 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19371 if test "x$CC" = "xgcc"; then
19372 CCVERSION=`$CC --version | grep 4.[2-9].`
19373 if test "x$CCVERSION" != "x"; then
19374 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19379 if test "x$CXX" = "xg++"; then
19380 CCVERSION=`$CXX --version | grep 4.[2-9].`
19381 if test "x$CCVERSION" != "x"; then
19387 if test "x$MACOSX_SDK_OPTS" != "x"; then
19388 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19389 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19390 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19393 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19394 if test "$wxUSE_OSX_IPHONE" = 1; then
19395 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19397 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19399 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19400 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19401 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19402 retest_macosx_linking=yes
19405 if test "x$retest_macosx_linking" = "xyes"; then
19407 ac_cpp='$CPP $CPPFLAGS'
19408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19412 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19413 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19414 cat >conftest.$ac_ext <<_ACEOF
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19429 rm -f conftest.$ac_objext conftest$ac_exeext
19430 if { (ac_try="$ac_link"
19431 case "(($ac_try" in
19432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19433 *) ac_try_echo=$ac_try;;
19435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19436 (eval "$ac_link") 2>conftest.er1
19438 grep -v '^ *+' conftest.er1 >conftest.err
19440 cat conftest.err >&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } && {
19443 test -z "$ac_c_werror_flag" ||
19444 test ! -s conftest.err
19445 } && test -s conftest$ac_exeext &&
19446 $as_test_x conftest$ac_exeext; then
19447 { echo "$as_me:$LINENO: result: yes" >&5
19448 echo "${ECHO_T}yes" >&6; }
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19453 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19454 See \`config.log' for more details." >&5
19455 echo "$as_me: error: no. Try a different SDK
19456 See \`config.log' for more details." >&2;}
19457 { (exit 1); exit 1; }; }; exit 1
19460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19461 conftest$ac_exeext conftest.$ac_ext
19463 ac_cpp='$CPP $CPPFLAGS'
19464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19470 ac_cpp='$CXXCPP $CPPFLAGS'
19471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19475 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19476 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19477 cat >conftest.$ac_ext <<_ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19492 rm -f conftest.$ac_objext conftest$ac_exeext
19493 if { (ac_try="$ac_link"
19494 case "(($ac_try" in
19495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19496 *) ac_try_echo=$ac_try;;
19498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19499 (eval "$ac_link") 2>conftest.er1
19501 grep -v '^ *+' conftest.er1 >conftest.err
19503 cat conftest.err >&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } && {
19506 test -z "$ac_cxx_werror_flag" ||
19507 test ! -s conftest.err
19508 } && test -s conftest$ac_exeext &&
19509 $as_test_x conftest$ac_exeext; then
19510 { echo "$as_me:$LINENO: result: yes" >&5
19511 echo "${ECHO_T}yes" >&6; }
19513 echo "$as_me: failed program was:" >&5
19514 sed 's/^/| /' conftest.$ac_ext >&5
19516 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19517 See \`config.log' for more details." >&5
19518 echo "$as_me: error: no. Try a different SDK
19519 See \`config.log' for more details." >&2;}
19520 { (exit 1); exit 1; }; }; exit 1
19523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19524 conftest$ac_exeext conftest.$ac_ext
19526 ac_cpp='$CPP $CPPFLAGS'
19527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19537 INSTALL_PROGRAM="cp -fp"
19538 INSTALL_DATA="cp -fp"
19545 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19546 CXXFLAGS="-qunique $CXXFLAGS"
19550 powerpc-*-darwin* )
19551 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19552 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19553 cat >conftest.$ac_ext <<_ACEOF
19556 cat confdefs.h >>conftest.$ac_ext
19557 cat >>conftest.$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19563 #ifndef __POWERPC__
19564 choke me for lack of PowerPC
19571 rm -f conftest.$ac_objext
19572 if { (ac_try="$ac_compile"
19573 case "(($ac_try" in
19574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19575 *) ac_try_echo=$ac_try;;
19577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19578 (eval "$ac_compile") 2>conftest.er1
19580 grep -v '^ *+' conftest.er1 >conftest.err
19582 cat conftest.err >&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); } && {
19585 test -z "$ac_c_werror_flag" ||
19586 test ! -s conftest.err
19587 } && test -s conftest.$ac_objext; then
19588 { echo "$as_me:$LINENO: result: yes" >&5
19589 echo "${ECHO_T}yes" >&6; }
19591 echo "$as_me: failed program was:" >&5
19592 sed 's/^/| /' conftest.$ac_ext >&5
19594 { echo "$as_me:$LINENO: result: no" >&5
19595 echo "${ECHO_T}no" >&6; }
19596 cat >>confdefs.h <<\_ACEOF
19597 #define __POWERPC__ 1
19603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19609 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19610 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19611 cat >conftest.$ac_ext <<_ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 #include <CoreFoundation/CFBase.h>
19627 rm -f conftest.$ac_objext
19628 if { (ac_try="$ac_compile"
19629 case "(($ac_try" in
19630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19631 *) ac_try_echo=$ac_try;;
19633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19634 (eval "$ac_compile") 2>conftest.er1
19636 grep -v '^ *+' conftest.er1 >conftest.err
19638 cat conftest.err >&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); } && {
19641 test -z "$ac_c_werror_flag" ||
19642 test ! -s conftest.err
19643 } && test -s conftest.$ac_objext; then
19644 { echo "$as_me:$LINENO: result: yes" >&5
19645 echo "${ECHO_T}yes" >&6; }
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19650 { echo "$as_me:$LINENO: result: no" >&5
19651 echo "${ECHO_T}no" >&6; }
19652 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19653 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19654 cat >conftest.$ac_ext <<_ACEOF
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 #define __CF_USE_FRAMEWORK_INCLUDES__
19661 #include <CoreFoundation/CFBase.h>
19671 rm -f conftest.$ac_objext
19672 if { (ac_try="$ac_compile"
19673 case "(($ac_try" in
19674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19675 *) ac_try_echo=$ac_try;;
19677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19678 (eval "$ac_compile") 2>conftest.er1
19680 grep -v '^ *+' conftest.er1 >conftest.err
19682 cat conftest.err >&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } && {
19685 test -z "$ac_c_werror_flag" ||
19686 test ! -s conftest.err
19687 } && test -s conftest.$ac_objext; then
19688 { echo "$as_me:$LINENO: result: yes" >&5
19689 echo "${ECHO_T}yes" >&6; }
19690 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.$ac_ext >&5
19695 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19696 See \`config.log' for more details." >&5
19697 echo "$as_me: error: no. CoreFoundation not available.
19698 See \`config.log' for more details." >&2;}
19699 { (exit 1); exit 1; }; }
19703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19713 doesnt_want_win32=0
19716 if test "$wxUSE_MSW" = 1 ; then
19719 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19720 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19721 if test "${wx_cv_nocygwin+set}" = set; then
19722 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 cat >conftest.$ac_ext <<_ACEOF
19728 cat confdefs.h >>conftest.$ac_ext
19729 cat >>conftest.$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19744 rm -f conftest.$ac_objext
19745 if { (ac_try="$ac_compile"
19746 case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_compile") 2>conftest.er1
19753 grep -v '^ *+' conftest.er1 >conftest.err
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } && {
19758 test -z "$ac_c_werror_flag" ||
19759 test ! -s conftest.err
19760 } && test -s conftest.$ac_objext; then
19763 echo "$as_me: failed program was:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19774 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19775 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19777 if test "$wx_cv_nocygwin" = "yes"; then
19780 doesnt_want_win32=1
19783 if test "$wants_win32" = 1 ; then
19784 BAKEFILE_FORCE_PLATFORM=win32
19792 if test "$wxUSE_WINE" = "yes"; then
19794 LDFLAGS_GUI="-mwindows"
19797 if test "$wants_win32" = 1 ; then
19800 cat >>confdefs.h <<\_ACEOF
19801 #define __WIN32__ 1
19804 cat >>confdefs.h <<\_ACEOF
19805 #define __WIN95__ 1
19808 cat >>confdefs.h <<\_ACEOF
19809 #define __WINDOWS__ 1
19812 cat >>confdefs.h <<\_ACEOF
19813 #define __GNUWIN32__ 1
19816 cat >>confdefs.h <<\_ACEOF
19821 if test "$doesnt_want_win32" = 1 ; then
19826 if test "$USE_UNIX" = 1 ; then
19828 cat >>confdefs.h <<\_ACEOF
19835 *-pc-os2_emx | *-pc-os2-emx )
19836 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19837 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19838 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19839 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19840 echo $ECHO_N "(cached) $ECHO_C" >&6
19842 ac_check_lib_save_LIBS=$LIBS
19843 LIBS="-lcExt $LIBS"
19844 cat >conftest.$ac_ext <<_ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19851 /* Override any GCC internal prototype to avoid an error.
19852 Use char because int might match the return type of a GCC
19853 builtin and then its argument prototype would still apply. */
19866 rm -f conftest.$ac_objext conftest$ac_exeext
19867 if { (ac_try="$ac_link"
19868 case "(($ac_try" in
19869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19870 *) ac_try_echo=$ac_try;;
19872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19873 (eval "$ac_link") 2>conftest.er1
19875 grep -v '^ *+' conftest.er1 >conftest.err
19877 cat conftest.err >&5
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); } && {
19880 test -z "$ac_c_werror_flag" ||
19881 test ! -s conftest.err
19882 } && test -s conftest$ac_exeext &&
19883 $as_test_x conftest$ac_exeext; then
19884 ac_cv_lib_cExt_drand48=yes
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.$ac_ext >&5
19889 ac_cv_lib_cExt_drand48=no
19892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19893 conftest$ac_exeext conftest.$ac_ext
19894 LIBS=$ac_check_lib_save_LIBS
19896 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19897 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19898 if test $ac_cv_lib_cExt_drand48 = yes; then
19899 LIBS="$LIBS -lcExt"
19903 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19905 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19906 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19907 if test "${wx_cv_gccversion+set}" = set; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19911 if test "$cross_compiling" = yes; then
19912 wx_cv_gccversion="EMX2"
19915 cat >conftest.$ac_ext <<_ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19926 FILE *f=fopen("conftestval", "w");
19931 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19933 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19943 rm -f conftest$ac_exeext
19944 if { (ac_try="$ac_link"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_link") 2>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19954 { (case "(($ac_try" in
19955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19956 *) ac_try_echo=$ac_try;;
19958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19959 (eval "$ac_try") 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 wx_cv_gccversion=`cat conftestval`
19965 echo "$as_me: program exited with status $ac_status" >&5
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.$ac_ext >&5
19969 ( exit $ac_status )
19970 wx_cv_gccversion="EMX2"
19972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19978 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19979 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19980 if test "$wx_cv_gccversion" = "EMX2"; then
19981 LIBS="$LIBS -lstdcpp"
19982 LDFLAGS="$LDFLAGS -Zsysv-signals"
19984 if test "$wx_cv_gccversion" = "EMX3"; then
19985 LIBS="$LIBS -lstdcxx -lgcc"
19986 LDFLAGS="$LDFLAGS -Zsysv-signals"
19988 LIBS="$LIBS -lstdc++"
19991 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19992 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19993 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20000 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20001 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20002 if test "${ac_cv_string_strcasecmp+set}" = set; then
20003 echo $ECHO_N "(cached) $ECHO_C" >&6
20006 cat >conftest.$ac_ext <<_ACEOF
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20013 #include <string.h>
20019 strcasecmp("foo", "bar");
20025 rm -f conftest.$ac_objext conftest$ac_exeext
20026 if { (ac_try="$ac_link"
20027 case "(($ac_try" in
20028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20029 *) ac_try_echo=$ac_try;;
20031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20032 (eval "$ac_link") 2>conftest.er1
20034 grep -v '^ *+' conftest.er1 >conftest.err
20036 cat conftest.err >&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); } && {
20039 test -z "$ac_c_werror_flag" ||
20040 test ! -s conftest.err
20041 } && test -s conftest$ac_exeext &&
20042 $as_test_x conftest$ac_exeext; then
20043 ac_cv_string_strcasecmp=yes
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20048 ac_cv_string_strcasecmp=no
20052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20053 conftest$ac_exeext conftest.$ac_ext
20056 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20057 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20059 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20060 cat >>confdefs.h <<\_ACEOF
20061 #define HAVE_STRCASECMP_IN_STRING_H 1
20065 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20066 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20067 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20068 echo $ECHO_N "(cached) $ECHO_C" >&6
20071 cat >conftest.$ac_ext <<_ACEOF
20074 cat confdefs.h >>conftest.$ac_ext
20075 cat >>conftest.$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20078 #include <strings.h>
20084 strcasecmp("foo", "bar");
20090 rm -f conftest.$ac_objext conftest$ac_exeext
20091 if { (ac_try="$ac_link"
20092 case "(($ac_try" in
20093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20094 *) ac_try_echo=$ac_try;;
20096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20097 (eval "$ac_link") 2>conftest.er1
20099 grep -v '^ *+' conftest.er1 >conftest.err
20101 cat conftest.err >&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_c_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest$ac_exeext &&
20107 $as_test_x conftest$ac_exeext; then
20108 ac_cv_strings_strcasecmp=yes
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.$ac_ext >&5
20113 ac_cv_strings_strcasecmp=no
20117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20118 conftest$ac_exeext conftest.$ac_ext
20121 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20122 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20124 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20125 cat >>confdefs.h <<\_ACEOF
20126 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20130 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20131 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20132 { (exit 1); exit 1; }; }
20140 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20141 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20142 if test "${ac_cv_header_stdc+set}" = set; then
20143 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 cat >conftest.$ac_ext <<_ACEOF
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20151 #include <stdlib.h>
20152 #include <stdarg.h>
20153 #include <string.h>
20164 rm -f conftest.$ac_objext
20165 if { (ac_try="$ac_compile"
20166 case "(($ac_try" in
20167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20168 *) ac_try_echo=$ac_try;;
20170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20171 (eval "$ac_compile") 2>conftest.er1
20173 grep -v '^ *+' conftest.er1 >conftest.err
20175 cat conftest.err >&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); } && {
20178 test -z "$ac_c_werror_flag" ||
20179 test ! -s conftest.err
20180 } && test -s conftest.$ac_objext; then
20181 ac_cv_header_stdc=yes
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.$ac_ext >&5
20186 ac_cv_header_stdc=no
20189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20191 if test $ac_cv_header_stdc = yes; then
20192 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20193 cat >conftest.$ac_ext <<_ACEOF
20196 cat confdefs.h >>conftest.$ac_ext
20197 cat >>conftest.$ac_ext <<_ACEOF
20198 /* end confdefs.h. */
20199 #include <string.h>
20202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20203 $EGREP "memchr" >/dev/null 2>&1; then
20206 ac_cv_header_stdc=no
20212 if test $ac_cv_header_stdc = yes; then
20213 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20214 cat >conftest.$ac_ext <<_ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 #include <stdlib.h>
20223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20224 $EGREP "free" >/dev/null 2>&1; then
20227 ac_cv_header_stdc=no
20233 if test $ac_cv_header_stdc = yes; then
20234 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20235 if test "$cross_compiling" = yes; then
20238 cat >conftest.$ac_ext <<_ACEOF
20241 cat confdefs.h >>conftest.$ac_ext
20242 cat >>conftest.$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20245 #include <stdlib.h>
20246 #if ((' ' & 0x0FF) == 0x020)
20247 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20248 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20250 # define ISLOWER(c) \
20251 (('a' <= (c) && (c) <= 'i') \
20252 || ('j' <= (c) && (c) <= 'r') \
20253 || ('s' <= (c) && (c) <= 'z'))
20254 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20257 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20262 for (i = 0; i < 256; i++)
20263 if (XOR (islower (i), ISLOWER (i))
20264 || toupper (i) != TOUPPER (i))
20269 rm -f conftest$ac_exeext
20270 if { (ac_try="$ac_link"
20271 case "(($ac_try" in
20272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20273 *) ac_try_echo=$ac_try;;
20275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20276 (eval "$ac_link") 2>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20280 { (case "(($ac_try" in
20281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20282 *) ac_try_echo=$ac_try;;
20284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20285 (eval "$ac_try") 2>&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; }; then
20291 echo "$as_me: program exited with status $ac_status" >&5
20292 echo "$as_me: failed program was:" >&5
20293 sed 's/^/| /' conftest.$ac_ext >&5
20295 ( exit $ac_status )
20296 ac_cv_header_stdc=no
20298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20304 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20305 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20306 if test $ac_cv_header_stdc = yes; then
20308 cat >>confdefs.h <<\_ACEOF
20309 #define STDC_HEADERS 1
20314 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20324 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20325 inttypes.h stdint.h unistd.h
20327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20328 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20331 echo $ECHO_N "(cached) $ECHO_C" >&6
20333 cat >conftest.$ac_ext <<_ACEOF
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20339 $ac_includes_default
20341 #include <$ac_header>
20343 rm -f conftest.$ac_objext
20344 if { (ac_try="$ac_compile"
20345 case "(($ac_try" in
20346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20347 *) ac_try_echo=$ac_try;;
20349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20350 (eval "$ac_compile") 2>conftest.er1
20352 grep -v '^ *+' conftest.er1 >conftest.err
20354 cat conftest.err >&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); } && {
20357 test -z "$ac_c_werror_flag" ||
20358 test ! -s conftest.err
20359 } && test -s conftest.$ac_objext; then
20360 eval "$as_ac_Header=yes"
20362 echo "$as_me: failed program was:" >&5
20363 sed 's/^/| /' conftest.$ac_ext >&5
20365 eval "$as_ac_Header=no"
20368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20370 ac_res=`eval echo '${'$as_ac_Header'}'`
20371 { echo "$as_me:$LINENO: result: $ac_res" >&5
20372 echo "${ECHO_T}$ac_res" >&6; }
20373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20374 cat >>confdefs.h <<_ACEOF
20375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20385 for ac_header in langinfo.h wchar.h
20387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20388 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 cat >conftest.$ac_ext <<_ACEOF
20396 cat confdefs.h >>conftest.$ac_ext
20397 cat >>conftest.$ac_ext <<_ACEOF
20398 /* end confdefs.h. */
20399 $ac_includes_default
20401 #include <$ac_header>
20403 rm -f conftest.$ac_objext
20404 if { (ac_try="$ac_compile"
20405 case "(($ac_try" in
20406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20410 (eval "$ac_compile") 2>conftest.er1
20412 grep -v '^ *+' conftest.er1 >conftest.err
20414 cat conftest.err >&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } && {
20417 test -z "$ac_c_werror_flag" ||
20418 test ! -s conftest.err
20419 } && test -s conftest.$ac_objext; then
20420 eval "$as_ac_Header=yes"
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20425 eval "$as_ac_Header=no"
20428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20430 ac_res=`eval echo '${'$as_ac_Header'}'`
20431 { echo "$as_me:$LINENO: result: $ac_res" >&5
20432 echo "${ECHO_T}$ac_res" >&6; }
20433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20434 cat >>confdefs.h <<_ACEOF
20435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20443 if test "$ac_cv_header_wchar_h" != "yes"; then
20445 for ac_header in wcstr.h
20447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20448 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20451 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 cat >conftest.$ac_ext <<_ACEOF
20456 cat confdefs.h >>conftest.$ac_ext
20457 cat >>conftest.$ac_ext <<_ACEOF
20458 /* end confdefs.h. */
20459 $ac_includes_default
20461 #include <$ac_header>
20463 rm -f conftest.$ac_objext
20464 if { (ac_try="$ac_compile"
20465 case "(($ac_try" in
20466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20467 *) ac_try_echo=$ac_try;;
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_compile") 2>conftest.er1
20472 grep -v '^ *+' conftest.er1 >conftest.err
20474 cat conftest.err >&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } && {
20477 test -z "$ac_c_werror_flag" ||
20478 test ! -s conftest.err
20479 } && test -s conftest.$ac_objext; then
20480 eval "$as_ac_Header=yes"
20482 echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.$ac_ext >&5
20485 eval "$as_ac_Header=no"
20488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20490 ac_res=`eval echo '${'$as_ac_Header'}'`
20491 { echo "$as_me:$LINENO: result: $ac_res" >&5
20492 echo "${ECHO_T}$ac_res" >&6; }
20493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20494 cat >>confdefs.h <<_ACEOF
20495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20505 *-pc-os2_emx | *-pc-os2-emx )
20506 if test $ac_cv_header_langinfo_h = "yes" \
20507 -a \( "$wx_cv_gccversion" = "EMX2" \
20508 -o "$wx_cv_gccversion" = "EMX3" \
20509 -o "$wx_cv_gccversion" = "Innotek5" \); then
20510 LIBS="$LIBS -lintl"
20515 if test "$USE_UNIX" = 1 ; then
20517 for ac_header in sys/select.h
20519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20520 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20522 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20523 echo $ECHO_N "(cached) $ECHO_C" >&6
20525 cat >conftest.$ac_ext <<_ACEOF
20528 cat confdefs.h >>conftest.$ac_ext
20529 cat >>conftest.$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20531 $ac_includes_default
20533 #include <$ac_header>
20535 rm -f conftest.$ac_objext
20536 if { (ac_try="$ac_compile"
20537 case "(($ac_try" in
20538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20539 *) ac_try_echo=$ac_try;;
20541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20542 (eval "$ac_compile") 2>conftest.er1
20544 grep -v '^ *+' conftest.er1 >conftest.err
20546 cat conftest.err >&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } && {
20549 test -z "$ac_c_werror_flag" ||
20550 test ! -s conftest.err
20551 } && test -s conftest.$ac_objext; then
20552 eval "$as_ac_Header=yes"
20554 echo "$as_me: failed program was:" >&5
20555 sed 's/^/| /' conftest.$ac_ext >&5
20557 eval "$as_ac_Header=no"
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20562 ac_res=`eval echo '${'$as_ac_Header'}'`
20563 { echo "$as_me:$LINENO: result: $ac_res" >&5
20564 echo "${ECHO_T}$ac_res" >&6; }
20565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20566 cat >>confdefs.h <<_ACEOF
20567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20577 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20578 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20579 if test "${ac_cv_c_const+set}" = set; then
20580 echo $ECHO_N "(cached) $ECHO_C" >&6
20582 cat >conftest.$ac_ext <<_ACEOF
20585 cat confdefs.h >>conftest.$ac_ext
20586 cat >>conftest.$ac_ext <<_ACEOF
20587 /* end confdefs.h. */
20592 /* FIXME: Include the comments suggested by Paul. */
20593 #ifndef __cplusplus
20594 /* Ultrix mips cc rejects this. */
20595 typedef int charset[2];
20597 /* SunOS 4.1.1 cc rejects this. */
20598 char const *const *pcpcc;
20600 /* NEC SVR4.0.2 mips cc rejects this. */
20601 struct point {int x, y;};
20602 static struct point const zero = {0,0};
20603 /* AIX XL C 1.02.0.0 rejects this.
20604 It does not let you subtract one const X* pointer from another in
20605 an arm of an if-expression whose if-part is not a constant
20607 const char *g = "string";
20608 pcpcc = &g + (g ? g-g : 0);
20609 /* HPUX 7.0 cc rejects these. */
20611 ppc = (char**) pcpcc;
20612 pcpcc = (char const *const *) ppc;
20613 { /* SCO 3.2v4 cc rejects this. */
20615 char const *s = 0 ? (char *) 0 : (char const *) 0;
20620 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20621 int x[] = {25, 17};
20622 const int *foo = &x[0];
20625 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20626 typedef const int *iptr;
20630 { /* AIX XL C 1.02.0.0 rejects this saying
20631 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20632 struct s { int j; const int *ap[3]; };
20633 struct s *b; b->j = 5;
20635 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20636 const int foo = 10;
20637 if (!foo) return 0;
20639 return !cs[0] && !zero.x;
20646 rm -f conftest.$ac_objext
20647 if { (ac_try="$ac_compile"
20648 case "(($ac_try" in
20649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;;
20652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20653 (eval "$ac_compile") 2>conftest.er1
20655 grep -v '^ *+' conftest.er1 >conftest.err
20657 cat conftest.err >&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); } && {
20660 test -z "$ac_c_werror_flag" ||
20661 test ! -s conftest.err
20662 } && test -s conftest.$ac_objext; then
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.$ac_ext >&5
20671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20673 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20674 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20675 if test $ac_cv_c_const = no; then
20677 cat >>confdefs.h <<\_ACEOF
20683 { echo "$as_me:$LINENO: checking for inline" >&5
20684 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20685 if test "${ac_cv_c_inline+set}" = set; then
20686 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 for ac_kw in inline __inline__ __inline; do
20690 cat >conftest.$ac_ext <<_ACEOF
20693 cat confdefs.h >>conftest.$ac_ext
20694 cat >>conftest.$ac_ext <<_ACEOF
20695 /* end confdefs.h. */
20696 #ifndef __cplusplus
20698 static $ac_kw foo_t static_foo () {return 0; }
20699 $ac_kw foo_t foo () {return 0; }
20703 rm -f conftest.$ac_objext
20704 if { (ac_try="$ac_compile"
20705 case "(($ac_try" in
20706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20707 *) ac_try_echo=$ac_try;;
20709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20710 (eval "$ac_compile") 2>conftest.er1
20712 grep -v '^ *+' conftest.er1 >conftest.err
20714 cat conftest.err >&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } && {
20717 test -z "$ac_c_werror_flag" ||
20718 test ! -s conftest.err
20719 } && test -s conftest.$ac_objext; then
20720 ac_cv_c_inline=$ac_kw
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20729 test "$ac_cv_c_inline" != no && break
20733 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20734 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20737 case $ac_cv_c_inline in
20740 case $ac_cv_c_inline in
20742 *) ac_val=$ac_cv_c_inline;;
20744 cat >>confdefs.h <<_ACEOF
20745 #ifndef __cplusplus
20746 #define inline $ac_val
20753 { echo "$as_me:$LINENO: checking for short" >&5
20754 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20755 if test "${ac_cv_type_short+set}" = set; then
20756 echo $ECHO_N "(cached) $ECHO_C" >&6
20758 cat >conftest.$ac_ext <<_ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 $ac_includes_default
20765 typedef short ac__type_new_;
20769 if ((ac__type_new_ *) 0)
20771 if (sizeof (ac__type_new_))
20777 rm -f conftest.$ac_objext
20778 if { (ac_try="$ac_compile"
20779 case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_compile") 2>conftest.er1
20786 grep -v '^ *+' conftest.er1 >conftest.err
20788 cat conftest.err >&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } && {
20791 test -z "$ac_c_werror_flag" ||
20792 test ! -s conftest.err
20793 } && test -s conftest.$ac_objext; then
20794 ac_cv_type_short=yes
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20799 ac_cv_type_short=no
20802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20804 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20805 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20807 # The cast to long int works around a bug in the HP C Compiler
20808 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20809 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20810 # This bug is HP SR number 8606223364.
20811 { echo "$as_me:$LINENO: checking size of short" >&5
20812 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20813 if test "${ac_cv_sizeof_short+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 if test "$cross_compiling" = yes; then
20817 # Depending upon the size, compute the lo and hi bounds.
20818 cat >conftest.$ac_ext <<_ACEOF
20821 cat confdefs.h >>conftest.$ac_ext
20822 cat >>conftest.$ac_ext <<_ACEOF
20823 /* end confdefs.h. */
20824 $ac_includes_default
20825 typedef short ac__type_sizeof_;
20829 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20836 rm -f conftest.$ac_objext
20837 if { (ac_try="$ac_compile"
20838 case "(($ac_try" in
20839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20840 *) ac_try_echo=$ac_try;;
20842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20843 (eval "$ac_compile") 2>conftest.er1
20845 grep -v '^ *+' conftest.er1 >conftest.err
20847 cat conftest.err >&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); } && {
20850 test -z "$ac_c_werror_flag" ||
20851 test ! -s conftest.err
20852 } && test -s conftest.$ac_objext; then
20855 cat >conftest.$ac_ext <<_ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861 $ac_includes_default
20862 typedef short ac__type_sizeof_;
20866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20873 rm -f conftest.$ac_objext
20874 if { (ac_try="$ac_compile"
20875 case "(($ac_try" in
20876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20877 *) ac_try_echo=$ac_try;;
20879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20880 (eval "$ac_compile") 2>conftest.er1
20882 grep -v '^ *+' conftest.er1 >conftest.err
20884 cat conftest.err >&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } && {
20887 test -z "$ac_c_werror_flag" ||
20888 test ! -s conftest.err
20889 } && test -s conftest.$ac_objext; then
20890 ac_hi=$ac_mid; break
20892 echo "$as_me: failed program was:" >&5
20893 sed 's/^/| /' conftest.$ac_ext >&5
20895 ac_lo=`expr $ac_mid + 1`
20896 if test $ac_lo -le $ac_mid; then
20900 ac_mid=`expr 2 '*' $ac_mid + 1`
20903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.$ac_ext >&5
20909 cat >conftest.$ac_ext <<_ACEOF
20912 cat confdefs.h >>conftest.$ac_ext
20913 cat >>conftest.$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 $ac_includes_default
20916 typedef short ac__type_sizeof_;
20920 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20927 rm -f conftest.$ac_objext
20928 if { (ac_try="$ac_compile"
20929 case "(($ac_try" in
20930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20931 *) ac_try_echo=$ac_try;;
20933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20934 (eval "$ac_compile") 2>conftest.er1
20936 grep -v '^ *+' conftest.er1 >conftest.err
20938 cat conftest.err >&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); } && {
20941 test -z "$ac_c_werror_flag" ||
20942 test ! -s conftest.err
20943 } && test -s conftest.$ac_objext; then
20946 cat >conftest.$ac_ext <<_ACEOF
20949 cat confdefs.h >>conftest.$ac_ext
20950 cat >>conftest.$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 $ac_includes_default
20953 typedef short ac__type_sizeof_;
20957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20964 rm -f conftest.$ac_objext
20965 if { (ac_try="$ac_compile"
20966 case "(($ac_try" in
20967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;;
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_compile") 2>conftest.er1
20973 grep -v '^ *+' conftest.er1 >conftest.err
20975 cat conftest.err >&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } && {
20978 test -z "$ac_c_werror_flag" ||
20979 test ! -s conftest.err
20980 } && test -s conftest.$ac_objext; then
20981 ac_lo=$ac_mid; break
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.$ac_ext >&5
20986 ac_hi=`expr '(' $ac_mid ')' - 1`
20987 if test $ac_mid -le $ac_hi; then
20991 ac_mid=`expr 2 '*' $ac_mid`
20994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20997 echo "$as_me: failed program was:" >&5
20998 sed 's/^/| /' conftest.$ac_ext >&5
21003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 # Binary search between lo and hi bounds.
21008 while test "x$ac_lo" != "x$ac_hi"; do
21009 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21010 cat >conftest.$ac_ext <<_ACEOF
21013 cat confdefs.h >>conftest.$ac_ext
21014 cat >>conftest.$ac_ext <<_ACEOF
21015 /* end confdefs.h. */
21016 $ac_includes_default
21017 typedef short ac__type_sizeof_;
21021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21028 rm -f conftest.$ac_objext
21029 if { (ac_try="$ac_compile"
21030 case "(($ac_try" in
21031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21032 *) ac_try_echo=$ac_try;;
21034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21035 (eval "$ac_compile") 2>conftest.er1
21037 grep -v '^ *+' conftest.er1 >conftest.err
21039 cat conftest.err >&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); } && {
21042 test -z "$ac_c_werror_flag" ||
21043 test ! -s conftest.err
21044 } && test -s conftest.$ac_objext; then
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21050 ac_lo=`expr '(' $ac_mid ')' + 1`
21053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21056 ?*) ac_cv_sizeof_short=$ac_lo;;
21057 '') if test "$ac_cv_type_short" = yes; then
21058 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21059 See \`config.log' for more details." >&5
21060 echo "$as_me: error: cannot compute sizeof (short)
21061 See \`config.log' for more details." >&2;}
21062 { (exit 77); exit 77; }; }
21064 ac_cv_sizeof_short=0
21068 cat >conftest.$ac_ext <<_ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 $ac_includes_default
21075 typedef short ac__type_sizeof_;
21076 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21077 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21079 #include <stdlib.h>
21084 FILE *f = fopen ("conftest.val", "w");
21087 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21089 long int i = longval ();
21090 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21092 fprintf (f, "%ld\n", i);
21096 unsigned long int i = ulongval ();
21097 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21099 fprintf (f, "%lu\n", i);
21101 return ferror (f) || fclose (f) != 0;
21107 rm -f conftest$ac_exeext
21108 if { (ac_try="$ac_link"
21109 case "(($ac_try" in
21110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21111 *) ac_try_echo=$ac_try;;
21113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21114 (eval "$ac_link") 2>&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21118 { (case "(($ac_try" in
21119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21120 *) ac_try_echo=$ac_try;;
21122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21123 (eval "$ac_try") 2>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); }; }; then
21127 ac_cv_sizeof_short=`cat conftest.val`
21129 echo "$as_me: program exited with status $ac_status" >&5
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21133 ( exit $ac_status )
21134 if test "$ac_cv_type_short" = yes; then
21135 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21136 See \`config.log' for more details." >&5
21137 echo "$as_me: error: cannot compute sizeof (short)
21138 See \`config.log' for more details." >&2;}
21139 { (exit 77); exit 77; }; }
21141 ac_cv_sizeof_short=0
21144 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21148 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21149 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21153 cat >>confdefs.h <<_ACEOF
21154 #define SIZEOF_SHORT $ac_cv_sizeof_short
21158 { echo "$as_me:$LINENO: checking for void *" >&5
21159 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21160 if test "${ac_cv_type_void_p+set}" = set; then
21161 echo $ECHO_N "(cached) $ECHO_C" >&6
21163 cat >conftest.$ac_ext <<_ACEOF
21166 cat confdefs.h >>conftest.$ac_ext
21167 cat >>conftest.$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 $ac_includes_default
21170 typedef void * ac__type_new_;
21174 if ((ac__type_new_ *) 0)
21176 if (sizeof (ac__type_new_))
21182 rm -f conftest.$ac_objext
21183 if { (ac_try="$ac_compile"
21184 case "(($ac_try" in
21185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21186 *) ac_try_echo=$ac_try;;
21188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21189 (eval "$ac_compile") 2>conftest.er1
21191 grep -v '^ *+' conftest.er1 >conftest.err
21193 cat conftest.err >&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } && {
21196 test -z "$ac_c_werror_flag" ||
21197 test ! -s conftest.err
21198 } && test -s conftest.$ac_objext; then
21199 ac_cv_type_void_p=yes
21201 echo "$as_me: failed program was:" >&5
21202 sed 's/^/| /' conftest.$ac_ext >&5
21204 ac_cv_type_void_p=no
21207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21209 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21210 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21212 # The cast to long int works around a bug in the HP C Compiler
21213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21215 # This bug is HP SR number 8606223364.
21216 { echo "$as_me:$LINENO: checking size of void *" >&5
21217 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21218 if test "${ac_cv_sizeof_void_p+set}" = set; then
21219 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 if test "$cross_compiling" = yes; then
21222 # Depending upon the size, compute the lo and hi bounds.
21223 cat >conftest.$ac_ext <<_ACEOF
21226 cat confdefs.h >>conftest.$ac_ext
21227 cat >>conftest.$ac_ext <<_ACEOF
21228 /* end confdefs.h. */
21229 $ac_includes_default
21230 typedef void * ac__type_sizeof_;
21234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21241 rm -f conftest.$ac_objext
21242 if { (ac_try="$ac_compile"
21243 case "(($ac_try" in
21244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21245 *) ac_try_echo=$ac_try;;
21247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21248 (eval "$ac_compile") 2>conftest.er1
21250 grep -v '^ *+' conftest.er1 >conftest.err
21252 cat conftest.err >&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } && {
21255 test -z "$ac_c_werror_flag" ||
21256 test ! -s conftest.err
21257 } && test -s conftest.$ac_objext; then
21260 cat >conftest.$ac_ext <<_ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21266 $ac_includes_default
21267 typedef void * ac__type_sizeof_;
21271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21278 rm -f conftest.$ac_objext
21279 if { (ac_try="$ac_compile"
21280 case "(($ac_try" in
21281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21282 *) ac_try_echo=$ac_try;;
21284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21285 (eval "$ac_compile") 2>conftest.er1
21287 grep -v '^ *+' conftest.er1 >conftest.err
21289 cat conftest.err >&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); } && {
21292 test -z "$ac_c_werror_flag" ||
21293 test ! -s conftest.err
21294 } && test -s conftest.$ac_objext; then
21295 ac_hi=$ac_mid; break
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21300 ac_lo=`expr $ac_mid + 1`
21301 if test $ac_lo -le $ac_mid; then
21305 ac_mid=`expr 2 '*' $ac_mid + 1`
21308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.$ac_ext >&5
21314 cat >conftest.$ac_ext <<_ACEOF
21317 cat confdefs.h >>conftest.$ac_ext
21318 cat >>conftest.$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21320 $ac_includes_default
21321 typedef void * ac__type_sizeof_;
21325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21332 rm -f conftest.$ac_objext
21333 if { (ac_try="$ac_compile"
21334 case "(($ac_try" in
21335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21336 *) ac_try_echo=$ac_try;;
21338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21339 (eval "$ac_compile") 2>conftest.er1
21341 grep -v '^ *+' conftest.er1 >conftest.err
21343 cat conftest.err >&5
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); } && {
21346 test -z "$ac_c_werror_flag" ||
21347 test ! -s conftest.err
21348 } && test -s conftest.$ac_objext; then
21351 cat >conftest.$ac_ext <<_ACEOF
21354 cat confdefs.h >>conftest.$ac_ext
21355 cat >>conftest.$ac_ext <<_ACEOF
21356 /* end confdefs.h. */
21357 $ac_includes_default
21358 typedef void * ac__type_sizeof_;
21362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21369 rm -f conftest.$ac_objext
21370 if { (ac_try="$ac_compile"
21371 case "(($ac_try" in
21372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21373 *) ac_try_echo=$ac_try;;
21375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21376 (eval "$ac_compile") 2>conftest.er1
21378 grep -v '^ *+' conftest.er1 >conftest.err
21380 cat conftest.err >&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } && {
21383 test -z "$ac_c_werror_flag" ||
21384 test ! -s conftest.err
21385 } && test -s conftest.$ac_objext; then
21386 ac_lo=$ac_mid; break
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.$ac_ext >&5
21391 ac_hi=`expr '(' $ac_mid ')' - 1`
21392 if test $ac_mid -le $ac_hi; then
21396 ac_mid=`expr 2 '*' $ac_mid`
21399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21402 echo "$as_me: failed program was:" >&5
21403 sed 's/^/| /' conftest.$ac_ext >&5
21408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21412 # Binary search between lo and hi bounds.
21413 while test "x$ac_lo" != "x$ac_hi"; do
21414 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21415 cat >conftest.$ac_ext <<_ACEOF
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 $ac_includes_default
21422 typedef void * ac__type_sizeof_;
21426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21433 rm -f conftest.$ac_objext
21434 if { (ac_try="$ac_compile"
21435 case "(($ac_try" in
21436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21437 *) ac_try_echo=$ac_try;;
21439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21440 (eval "$ac_compile") 2>conftest.er1
21442 grep -v '^ *+' conftest.er1 >conftest.err
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } && {
21447 test -z "$ac_c_werror_flag" ||
21448 test ! -s conftest.err
21449 } && test -s conftest.$ac_objext; then
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21455 ac_lo=`expr '(' $ac_mid ')' + 1`
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21461 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21462 '') if test "$ac_cv_type_void_p" = yes; then
21463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21464 See \`config.log' for more details." >&5
21465 echo "$as_me: error: cannot compute sizeof (void *)
21466 See \`config.log' for more details." >&2;}
21467 { (exit 77); exit 77; }; }
21469 ac_cv_sizeof_void_p=0
21473 cat >conftest.$ac_ext <<_ACEOF
21476 cat confdefs.h >>conftest.$ac_ext
21477 cat >>conftest.$ac_ext <<_ACEOF
21478 /* end confdefs.h. */
21479 $ac_includes_default
21480 typedef void * ac__type_sizeof_;
21481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21484 #include <stdlib.h>
21489 FILE *f = fopen ("conftest.val", "w");
21492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21494 long int i = longval ();
21495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21497 fprintf (f, "%ld\n", i);
21501 unsigned long int i = ulongval ();
21502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21504 fprintf (f, "%lu\n", i);
21506 return ferror (f) || fclose (f) != 0;
21512 rm -f conftest$ac_exeext
21513 if { (ac_try="$ac_link"
21514 case "(($ac_try" in
21515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21516 *) ac_try_echo=$ac_try;;
21518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21519 (eval "$ac_link") 2>&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21523 { (case "(($ac_try" in
21524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21525 *) ac_try_echo=$ac_try;;
21527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21528 (eval "$ac_try") 2>&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); }; }; then
21532 ac_cv_sizeof_void_p=`cat conftest.val`
21534 echo "$as_me: program exited with status $ac_status" >&5
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21538 ( exit $ac_status )
21539 if test "$ac_cv_type_void_p" = yes; then
21540 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21541 See \`config.log' for more details." >&5
21542 echo "$as_me: error: cannot compute sizeof (void *)
21543 See \`config.log' for more details." >&2;}
21544 { (exit 77); exit 77; }; }
21546 ac_cv_sizeof_void_p=0
21549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21554 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21558 cat >>confdefs.h <<_ACEOF
21559 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21563 { echo "$as_me:$LINENO: checking for int" >&5
21564 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21565 if test "${ac_cv_type_int+set}" = set; then
21566 echo $ECHO_N "(cached) $ECHO_C" >&6
21568 cat >conftest.$ac_ext <<_ACEOF
21571 cat confdefs.h >>conftest.$ac_ext
21572 cat >>conftest.$ac_ext <<_ACEOF
21573 /* end confdefs.h. */
21574 $ac_includes_default
21575 typedef int ac__type_new_;
21579 if ((ac__type_new_ *) 0)
21581 if (sizeof (ac__type_new_))
21587 rm -f conftest.$ac_objext
21588 if { (ac_try="$ac_compile"
21589 case "(($ac_try" in
21590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21591 *) ac_try_echo=$ac_try;;
21593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21594 (eval "$ac_compile") 2>conftest.er1
21596 grep -v '^ *+' conftest.er1 >conftest.err
21598 cat conftest.err >&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } && {
21601 test -z "$ac_c_werror_flag" ||
21602 test ! -s conftest.err
21603 } && test -s conftest.$ac_objext; then
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.$ac_ext >&5
21612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21614 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21615 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21617 # The cast to long int works around a bug in the HP C Compiler
21618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21620 # This bug is HP SR number 8606223364.
21621 { echo "$as_me:$LINENO: checking size of int" >&5
21622 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21623 if test "${ac_cv_sizeof_int+set}" = set; then
21624 echo $ECHO_N "(cached) $ECHO_C" >&6
21626 if test "$cross_compiling" = yes; then
21627 # Depending upon the size, compute the lo and hi bounds.
21628 cat >conftest.$ac_ext <<_ACEOF
21631 cat confdefs.h >>conftest.$ac_ext
21632 cat >>conftest.$ac_ext <<_ACEOF
21633 /* end confdefs.h. */
21634 $ac_includes_default
21635 typedef int ac__type_sizeof_;
21639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21646 rm -f conftest.$ac_objext
21647 if { (ac_try="$ac_compile"
21648 case "(($ac_try" in
21649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21650 *) ac_try_echo=$ac_try;;
21652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21653 (eval "$ac_compile") 2>conftest.er1
21655 grep -v '^ *+' conftest.er1 >conftest.err
21657 cat conftest.err >&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } && {
21660 test -z "$ac_c_werror_flag" ||
21661 test ! -s conftest.err
21662 } && test -s conftest.$ac_objext; then
21665 cat >conftest.$ac_ext <<_ACEOF
21668 cat confdefs.h >>conftest.$ac_ext
21669 cat >>conftest.$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 $ac_includes_default
21672 typedef int ac__type_sizeof_;
21676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21683 rm -f conftest.$ac_objext
21684 if { (ac_try="$ac_compile"
21685 case "(($ac_try" in
21686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21687 *) ac_try_echo=$ac_try;;
21689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21690 (eval "$ac_compile") 2>conftest.er1
21692 grep -v '^ *+' conftest.er1 >conftest.err
21694 cat conftest.err >&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); } && {
21697 test -z "$ac_c_werror_flag" ||
21698 test ! -s conftest.err
21699 } && test -s conftest.$ac_objext; then
21700 ac_hi=$ac_mid; break
21702 echo "$as_me: failed program was:" >&5
21703 sed 's/^/| /' conftest.$ac_ext >&5
21705 ac_lo=`expr $ac_mid + 1`
21706 if test $ac_lo -le $ac_mid; then
21710 ac_mid=`expr 2 '*' $ac_mid + 1`
21713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21719 cat >conftest.$ac_ext <<_ACEOF
21722 cat confdefs.h >>conftest.$ac_ext
21723 cat >>conftest.$ac_ext <<_ACEOF
21724 /* end confdefs.h. */
21725 $ac_includes_default
21726 typedef int ac__type_sizeof_;
21730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21737 rm -f conftest.$ac_objext
21738 if { (ac_try="$ac_compile"
21739 case "(($ac_try" in
21740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21741 *) ac_try_echo=$ac_try;;
21743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21744 (eval "$ac_compile") 2>conftest.er1
21746 grep -v '^ *+' conftest.er1 >conftest.err
21748 cat conftest.err >&5
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); } && {
21751 test -z "$ac_c_werror_flag" ||
21752 test ! -s conftest.err
21753 } && test -s conftest.$ac_objext; then
21756 cat >conftest.$ac_ext <<_ACEOF
21759 cat confdefs.h >>conftest.$ac_ext
21760 cat >>conftest.$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 $ac_includes_default
21763 typedef int ac__type_sizeof_;
21767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21774 rm -f conftest.$ac_objext
21775 if { (ac_try="$ac_compile"
21776 case "(($ac_try" in
21777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21778 *) ac_try_echo=$ac_try;;
21780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21781 (eval "$ac_compile") 2>conftest.er1
21783 grep -v '^ *+' conftest.er1 >conftest.err
21785 cat conftest.err >&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } && {
21788 test -z "$ac_c_werror_flag" ||
21789 test ! -s conftest.err
21790 } && test -s conftest.$ac_objext; then
21791 ac_lo=$ac_mid; break
21793 echo "$as_me: failed program was:" >&5
21794 sed 's/^/| /' conftest.$ac_ext >&5
21796 ac_hi=`expr '(' $ac_mid ')' - 1`
21797 if test $ac_mid -le $ac_hi; then
21801 ac_mid=`expr 2 '*' $ac_mid`
21804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.$ac_ext >&5
21813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21817 # Binary search between lo and hi bounds.
21818 while test "x$ac_lo" != "x$ac_hi"; do
21819 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21820 cat >conftest.$ac_ext <<_ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 $ac_includes_default
21827 typedef int ac__type_sizeof_;
21831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21838 rm -f conftest.$ac_objext
21839 if { (ac_try="$ac_compile"
21840 case "(($ac_try" in
21841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21842 *) ac_try_echo=$ac_try;;
21844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21845 (eval "$ac_compile") 2>conftest.er1
21847 grep -v '^ *+' conftest.er1 >conftest.err
21849 cat conftest.err >&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); } && {
21852 test -z "$ac_c_werror_flag" ||
21853 test ! -s conftest.err
21854 } && test -s conftest.$ac_objext; then
21857 echo "$as_me: failed program was:" >&5
21858 sed 's/^/| /' conftest.$ac_ext >&5
21860 ac_lo=`expr '(' $ac_mid ')' + 1`
21863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21866 ?*) ac_cv_sizeof_int=$ac_lo;;
21867 '') if test "$ac_cv_type_int" = yes; then
21868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21869 See \`config.log' for more details." >&5
21870 echo "$as_me: error: cannot compute sizeof (int)
21871 See \`config.log' for more details." >&2;}
21872 { (exit 77); exit 77; }; }
21878 cat >conftest.$ac_ext <<_ACEOF
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21884 $ac_includes_default
21885 typedef int ac__type_sizeof_;
21886 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21887 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21889 #include <stdlib.h>
21894 FILE *f = fopen ("conftest.val", "w");
21897 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21899 long int i = longval ();
21900 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21902 fprintf (f, "%ld\n", i);
21906 unsigned long int i = ulongval ();
21907 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21909 fprintf (f, "%lu\n", i);
21911 return ferror (f) || fclose (f) != 0;
21917 rm -f conftest$ac_exeext
21918 if { (ac_try="$ac_link"
21919 case "(($ac_try" in
21920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21921 *) ac_try_echo=$ac_try;;
21923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21924 (eval "$ac_link") 2>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21928 { (case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;;
21932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933 (eval "$ac_try") 2>&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); }; }; then
21937 ac_cv_sizeof_int=`cat conftest.val`
21939 echo "$as_me: program exited with status $ac_status" >&5
21940 echo "$as_me: failed program was:" >&5
21941 sed 's/^/| /' conftest.$ac_ext >&5
21943 ( exit $ac_status )
21944 if test "$ac_cv_type_int" = yes; then
21945 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21946 See \`config.log' for more details." >&5
21947 echo "$as_me: error: cannot compute sizeof (int)
21948 See \`config.log' for more details." >&2;}
21949 { (exit 77); exit 77; }; }
21954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21958 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21959 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21963 cat >>confdefs.h <<_ACEOF
21964 #define SIZEOF_INT $ac_cv_sizeof_int
21968 { echo "$as_me:$LINENO: checking for long" >&5
21969 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21970 if test "${ac_cv_type_long+set}" = set; then
21971 echo $ECHO_N "(cached) $ECHO_C" >&6
21973 cat >conftest.$ac_ext <<_ACEOF
21976 cat confdefs.h >>conftest.$ac_ext
21977 cat >>conftest.$ac_ext <<_ACEOF
21978 /* end confdefs.h. */
21979 $ac_includes_default
21980 typedef long ac__type_new_;
21984 if ((ac__type_new_ *) 0)
21986 if (sizeof (ac__type_new_))
21992 rm -f conftest.$ac_objext
21993 if { (ac_try="$ac_compile"
21994 case "(($ac_try" in
21995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21996 *) ac_try_echo=$ac_try;;
21998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21999 (eval "$ac_compile") 2>conftest.er1
22001 grep -v '^ *+' conftest.er1 >conftest.err
22003 cat conftest.err >&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); } && {
22006 test -z "$ac_c_werror_flag" ||
22007 test ! -s conftest.err
22008 } && test -s conftest.$ac_objext; then
22009 ac_cv_type_long=yes
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.$ac_ext >&5
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22019 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22020 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22022 # The cast to long int works around a bug in the HP C Compiler
22023 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22024 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22025 # This bug is HP SR number 8606223364.
22026 { echo "$as_me:$LINENO: checking size of long" >&5
22027 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22028 if test "${ac_cv_sizeof_long+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22031 if test "$cross_compiling" = yes; then
22032 # Depending upon the size, compute the lo and hi bounds.
22033 cat >conftest.$ac_ext <<_ACEOF
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039 $ac_includes_default
22040 typedef long ac__type_sizeof_;
22044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22051 rm -f conftest.$ac_objext
22052 if { (ac_try="$ac_compile"
22053 case "(($ac_try" in
22054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22055 *) ac_try_echo=$ac_try;;
22057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22058 (eval "$ac_compile") 2>conftest.er1
22060 grep -v '^ *+' conftest.er1 >conftest.err
22062 cat conftest.err >&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } && {
22065 test -z "$ac_c_werror_flag" ||
22066 test ! -s conftest.err
22067 } && test -s conftest.$ac_objext; then
22070 cat >conftest.$ac_ext <<_ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 $ac_includes_default
22077 typedef long ac__type_sizeof_;
22081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22088 rm -f conftest.$ac_objext
22089 if { (ac_try="$ac_compile"
22090 case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_compile") 2>conftest.er1
22097 grep -v '^ *+' conftest.er1 >conftest.err
22099 cat conftest.err >&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_c_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest.$ac_objext; then
22105 ac_hi=$ac_mid; break
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.$ac_ext >&5
22110 ac_lo=`expr $ac_mid + 1`
22111 if test $ac_lo -le $ac_mid; then
22115 ac_mid=`expr 2 '*' $ac_mid + 1`
22118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22121 echo "$as_me: failed program was:" >&5
22122 sed 's/^/| /' conftest.$ac_ext >&5
22124 cat >conftest.$ac_ext <<_ACEOF
22127 cat confdefs.h >>conftest.$ac_ext
22128 cat >>conftest.$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 $ac_includes_default
22131 typedef long ac__type_sizeof_;
22135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22142 rm -f conftest.$ac_objext
22143 if { (ac_try="$ac_compile"
22144 case "(($ac_try" in
22145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22146 *) ac_try_echo=$ac_try;;
22148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22149 (eval "$ac_compile") 2>conftest.er1
22151 grep -v '^ *+' conftest.er1 >conftest.err
22153 cat conftest.err >&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } && {
22156 test -z "$ac_c_werror_flag" ||
22157 test ! -s conftest.err
22158 } && test -s conftest.$ac_objext; then
22161 cat >conftest.$ac_ext <<_ACEOF
22164 cat confdefs.h >>conftest.$ac_ext
22165 cat >>conftest.$ac_ext <<_ACEOF
22166 /* end confdefs.h. */
22167 $ac_includes_default
22168 typedef long ac__type_sizeof_;
22172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22179 rm -f conftest.$ac_objext
22180 if { (ac_try="$ac_compile"
22181 case "(($ac_try" in
22182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22183 *) ac_try_echo=$ac_try;;
22185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22186 (eval "$ac_compile") 2>conftest.er1
22188 grep -v '^ *+' conftest.er1 >conftest.err
22190 cat conftest.err >&5
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); } && {
22193 test -z "$ac_c_werror_flag" ||
22194 test ! -s conftest.err
22195 } && test -s conftest.$ac_objext; then
22196 ac_lo=$ac_mid; break
22198 echo "$as_me: failed program was:" >&5
22199 sed 's/^/| /' conftest.$ac_ext >&5
22201 ac_hi=`expr '(' $ac_mid ')' - 1`
22202 if test $ac_mid -le $ac_hi; then
22206 ac_mid=`expr 2 '*' $ac_mid`
22209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22212 echo "$as_me: failed program was:" >&5
22213 sed 's/^/| /' conftest.$ac_ext >&5
22218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22222 # Binary search between lo and hi bounds.
22223 while test "x$ac_lo" != "x$ac_hi"; do
22224 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22225 cat >conftest.$ac_ext <<_ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 $ac_includes_default
22232 typedef long ac__type_sizeof_;
22236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22243 rm -f conftest.$ac_objext
22244 if { (ac_try="$ac_compile"
22245 case "(($ac_try" in
22246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22247 *) ac_try_echo=$ac_try;;
22249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22250 (eval "$ac_compile") 2>conftest.er1
22252 grep -v '^ *+' conftest.er1 >conftest.err
22254 cat conftest.err >&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } && {
22257 test -z "$ac_c_werror_flag" ||
22258 test ! -s conftest.err
22259 } && test -s conftest.$ac_objext; then
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.$ac_ext >&5
22265 ac_lo=`expr '(' $ac_mid ')' + 1`
22268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22271 ?*) ac_cv_sizeof_long=$ac_lo;;
22272 '') if test "$ac_cv_type_long" = yes; then
22273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22274 See \`config.log' for more details." >&5
22275 echo "$as_me: error: cannot compute sizeof (long)
22276 See \`config.log' for more details." >&2;}
22277 { (exit 77); exit 77; }; }
22279 ac_cv_sizeof_long=0
22283 cat >conftest.$ac_ext <<_ACEOF
22286 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22289 $ac_includes_default
22290 typedef long ac__type_sizeof_;
22291 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22292 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22294 #include <stdlib.h>
22299 FILE *f = fopen ("conftest.val", "w");
22302 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22304 long int i = longval ();
22305 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22307 fprintf (f, "%ld\n", i);
22311 unsigned long int i = ulongval ();
22312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22314 fprintf (f, "%lu\n", i);
22316 return ferror (f) || fclose (f) != 0;
22322 rm -f conftest$ac_exeext
22323 if { (ac_try="$ac_link"
22324 case "(($ac_try" in
22325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22326 *) ac_try_echo=$ac_try;;
22328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22329 (eval "$ac_link") 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22333 { (case "(($ac_try" in
22334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22335 *) ac_try_echo=$ac_try;;
22337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22338 (eval "$ac_try") 2>&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; }; then
22342 ac_cv_sizeof_long=`cat conftest.val`
22344 echo "$as_me: program exited with status $ac_status" >&5
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22348 ( exit $ac_status )
22349 if test "$ac_cv_type_long" = yes; then
22350 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22351 See \`config.log' for more details." >&5
22352 echo "$as_me: error: cannot compute sizeof (long)
22353 See \`config.log' for more details." >&2;}
22354 { (exit 77); exit 77; }; }
22356 ac_cv_sizeof_long=0
22359 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22363 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22364 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22368 cat >>confdefs.h <<_ACEOF
22369 #define SIZEOF_LONG $ac_cv_sizeof_long
22373 { echo "$as_me:$LINENO: checking for size_t" >&5
22374 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22375 if test "${ac_cv_type_size_t+set}" = set; then
22376 echo $ECHO_N "(cached) $ECHO_C" >&6
22378 cat >conftest.$ac_ext <<_ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 $ac_includes_default
22385 typedef size_t ac__type_new_;
22389 if ((ac__type_new_ *) 0)
22391 if (sizeof (ac__type_new_))
22397 rm -f conftest.$ac_objext
22398 if { (ac_try="$ac_compile"
22399 case "(($ac_try" in
22400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22401 *) ac_try_echo=$ac_try;;
22403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22404 (eval "$ac_compile") 2>conftest.er1
22406 grep -v '^ *+' conftest.er1 >conftest.err
22408 cat conftest.err >&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); } && {
22411 test -z "$ac_c_werror_flag" ||
22412 test ! -s conftest.err
22413 } && test -s conftest.$ac_objext; then
22414 ac_cv_type_size_t=yes
22416 echo "$as_me: failed program was:" >&5
22417 sed 's/^/| /' conftest.$ac_ext >&5
22419 ac_cv_type_size_t=no
22422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22424 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22425 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22427 # The cast to long int works around a bug in the HP C Compiler
22428 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22429 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22430 # This bug is HP SR number 8606223364.
22431 { echo "$as_me:$LINENO: checking size of size_t" >&5
22432 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22433 if test "${ac_cv_sizeof_size_t+set}" = set; then
22434 echo $ECHO_N "(cached) $ECHO_C" >&6
22436 if test "$cross_compiling" = yes; then
22437 # Depending upon the size, compute the lo and hi bounds.
22438 cat >conftest.$ac_ext <<_ACEOF
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 $ac_includes_default
22445 typedef size_t ac__type_sizeof_;
22449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22456 rm -f conftest.$ac_objext
22457 if { (ac_try="$ac_compile"
22458 case "(($ac_try" in
22459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22460 *) ac_try_echo=$ac_try;;
22462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22463 (eval "$ac_compile") 2>conftest.er1
22465 grep -v '^ *+' conftest.er1 >conftest.err
22467 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } && {
22470 test -z "$ac_c_werror_flag" ||
22471 test ! -s conftest.err
22472 } && test -s conftest.$ac_objext; then
22475 cat >conftest.$ac_ext <<_ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h. */
22481 $ac_includes_default
22482 typedef size_t ac__type_sizeof_;
22486 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22493 rm -f conftest.$ac_objext
22494 if { (ac_try="$ac_compile"
22495 case "(($ac_try" in
22496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22497 *) ac_try_echo=$ac_try;;
22499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22500 (eval "$ac_compile") 2>conftest.er1
22502 grep -v '^ *+' conftest.er1 >conftest.err
22504 cat conftest.err >&5
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); } && {
22507 test -z "$ac_c_werror_flag" ||
22508 test ! -s conftest.err
22509 } && test -s conftest.$ac_objext; then
22510 ac_hi=$ac_mid; break
22512 echo "$as_me: failed program was:" >&5
22513 sed 's/^/| /' conftest.$ac_ext >&5
22515 ac_lo=`expr $ac_mid + 1`
22516 if test $ac_lo -le $ac_mid; then
22520 ac_mid=`expr 2 '*' $ac_mid + 1`
22523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22526 echo "$as_me: failed program was:" >&5
22527 sed 's/^/| /' conftest.$ac_ext >&5
22529 cat >conftest.$ac_ext <<_ACEOF
22532 cat confdefs.h >>conftest.$ac_ext
22533 cat >>conftest.$ac_ext <<_ACEOF
22534 /* end confdefs.h. */
22535 $ac_includes_default
22536 typedef size_t ac__type_sizeof_;
22540 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22547 rm -f conftest.$ac_objext
22548 if { (ac_try="$ac_compile"
22549 case "(($ac_try" in
22550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22551 *) ac_try_echo=$ac_try;;
22553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22554 (eval "$ac_compile") 2>conftest.er1
22556 grep -v '^ *+' conftest.er1 >conftest.err
22558 cat conftest.err >&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); } && {
22561 test -z "$ac_c_werror_flag" ||
22562 test ! -s conftest.err
22563 } && test -s conftest.$ac_objext; then
22566 cat >conftest.$ac_ext <<_ACEOF
22569 cat confdefs.h >>conftest.$ac_ext
22570 cat >>conftest.$ac_ext <<_ACEOF
22571 /* end confdefs.h. */
22572 $ac_includes_default
22573 typedef size_t ac__type_sizeof_;
22577 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22584 rm -f conftest.$ac_objext
22585 if { (ac_try="$ac_compile"
22586 case "(($ac_try" in
22587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22588 *) ac_try_echo=$ac_try;;
22590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22591 (eval "$ac_compile") 2>conftest.er1
22593 grep -v '^ *+' conftest.er1 >conftest.err
22595 cat conftest.err >&5
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); } && {
22598 test -z "$ac_c_werror_flag" ||
22599 test ! -s conftest.err
22600 } && test -s conftest.$ac_objext; then
22601 ac_lo=$ac_mid; break
22603 echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.$ac_ext >&5
22606 ac_hi=`expr '(' $ac_mid ')' - 1`
22607 if test $ac_mid -le $ac_hi; then
22611 ac_mid=`expr 2 '*' $ac_mid`
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22617 echo "$as_me: failed program was:" >&5
22618 sed 's/^/| /' conftest.$ac_ext >&5
22623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22627 # Binary search between lo and hi bounds.
22628 while test "x$ac_lo" != "x$ac_hi"; do
22629 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22630 cat >conftest.$ac_ext <<_ACEOF
22633 cat confdefs.h >>conftest.$ac_ext
22634 cat >>conftest.$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 $ac_includes_default
22637 typedef size_t ac__type_sizeof_;
22641 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22648 rm -f conftest.$ac_objext
22649 if { (ac_try="$ac_compile"
22650 case "(($ac_try" in
22651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22652 *) ac_try_echo=$ac_try;;
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_compile") 2>conftest.er1
22657 grep -v '^ *+' conftest.er1 >conftest.err
22659 cat conftest.err >&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } && {
22662 test -z "$ac_c_werror_flag" ||
22663 test ! -s conftest.err
22664 } && test -s conftest.$ac_objext; then
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.$ac_ext >&5
22670 ac_lo=`expr '(' $ac_mid ')' + 1`
22673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22677 '') if test "$ac_cv_type_size_t" = yes; then
22678 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22679 See \`config.log' for more details." >&5
22680 echo "$as_me: error: cannot compute sizeof (size_t)
22681 See \`config.log' for more details." >&2;}
22682 { (exit 77); exit 77; }; }
22684 ac_cv_sizeof_size_t=0
22688 cat >conftest.$ac_ext <<_ACEOF
22691 cat confdefs.h >>conftest.$ac_ext
22692 cat >>conftest.$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22694 $ac_includes_default
22695 typedef size_t ac__type_sizeof_;
22696 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22697 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22699 #include <stdlib.h>
22704 FILE *f = fopen ("conftest.val", "w");
22707 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22709 long int i = longval ();
22710 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22712 fprintf (f, "%ld\n", i);
22716 unsigned long int i = ulongval ();
22717 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22719 fprintf (f, "%lu\n", i);
22721 return ferror (f) || fclose (f) != 0;
22727 rm -f conftest$ac_exeext
22728 if { (ac_try="$ac_link"
22729 case "(($ac_try" in
22730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22731 *) ac_try_echo=$ac_try;;
22733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22734 (eval "$ac_link") 2>&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22738 { (case "(($ac_try" in
22739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22740 *) ac_try_echo=$ac_try;;
22742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22743 (eval "$ac_try") 2>&5
22745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); }; }; then
22747 ac_cv_sizeof_size_t=`cat conftest.val`
22749 echo "$as_me: program exited with status $ac_status" >&5
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22753 ( exit $ac_status )
22754 if test "$ac_cv_type_size_t" = yes; then
22755 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22756 See \`config.log' for more details." >&5
22757 echo "$as_me: error: cannot compute sizeof (size_t)
22758 See \`config.log' for more details." >&2;}
22759 { (exit 77); exit 77; }; }
22761 ac_cv_sizeof_size_t=0
22764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22768 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22769 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22773 cat >>confdefs.h <<_ACEOF
22774 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22781 { echo "$as_me:$LINENO: checking for long long" >&5
22782 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22783 if test "${ac_cv_type_long_long+set}" = set; then
22784 echo $ECHO_N "(cached) $ECHO_C" >&6
22786 cat >conftest.$ac_ext <<_ACEOF
22789 cat confdefs.h >>conftest.$ac_ext
22790 cat >>conftest.$ac_ext <<_ACEOF
22791 /* end confdefs.h. */
22792 $ac_includes_default
22793 typedef long long ac__type_new_;
22797 if ((ac__type_new_ *) 0)
22799 if (sizeof (ac__type_new_))
22805 rm -f conftest.$ac_objext
22806 if { (ac_try="$ac_compile"
22807 case "(($ac_try" in
22808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22809 *) ac_try_echo=$ac_try;;
22811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22812 (eval "$ac_compile") 2>conftest.er1
22814 grep -v '^ *+' conftest.er1 >conftest.err
22816 cat conftest.err >&5
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); } && {
22819 test -z "$ac_c_werror_flag" ||
22820 test ! -s conftest.err
22821 } && test -s conftest.$ac_objext; then
22822 ac_cv_type_long_long=yes
22824 echo "$as_me: failed program was:" >&5
22825 sed 's/^/| /' conftest.$ac_ext >&5
22827 ac_cv_type_long_long=no
22830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22832 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22833 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22835 # The cast to long int works around a bug in the HP C Compiler
22836 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22837 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22838 # This bug is HP SR number 8606223364.
22839 { echo "$as_me:$LINENO: checking size of long long" >&5
22840 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22841 if test "${ac_cv_sizeof_long_long+set}" = set; then
22842 echo $ECHO_N "(cached) $ECHO_C" >&6
22844 if test "$cross_compiling" = yes; then
22845 # Depending upon the size, compute the lo and hi bounds.
22846 cat >conftest.$ac_ext <<_ACEOF
22849 cat confdefs.h >>conftest.$ac_ext
22850 cat >>conftest.$ac_ext <<_ACEOF
22851 /* end confdefs.h. */
22852 $ac_includes_default
22853 typedef long long ac__type_sizeof_;
22857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22864 rm -f conftest.$ac_objext
22865 if { (ac_try="$ac_compile"
22866 case "(($ac_try" in
22867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22868 *) ac_try_echo=$ac_try;;
22870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22871 (eval "$ac_compile") 2>conftest.er1
22873 grep -v '^ *+' conftest.er1 >conftest.err
22875 cat conftest.err >&5
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); } && {
22878 test -z "$ac_c_werror_flag" ||
22879 test ! -s conftest.err
22880 } && test -s conftest.$ac_objext; then
22883 cat >conftest.$ac_ext <<_ACEOF
22886 cat confdefs.h >>conftest.$ac_ext
22887 cat >>conftest.$ac_ext <<_ACEOF
22888 /* end confdefs.h. */
22889 $ac_includes_default
22890 typedef long long ac__type_sizeof_;
22894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22901 rm -f conftest.$ac_objext
22902 if { (ac_try="$ac_compile"
22903 case "(($ac_try" in
22904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22905 *) ac_try_echo=$ac_try;;
22907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22908 (eval "$ac_compile") 2>conftest.er1
22910 grep -v '^ *+' conftest.er1 >conftest.err
22912 cat conftest.err >&5
22913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22914 (exit $ac_status); } && {
22915 test -z "$ac_c_werror_flag" ||
22916 test ! -s conftest.err
22917 } && test -s conftest.$ac_objext; then
22918 ac_hi=$ac_mid; break
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.$ac_ext >&5
22923 ac_lo=`expr $ac_mid + 1`
22924 if test $ac_lo -le $ac_mid; then
22928 ac_mid=`expr 2 '*' $ac_mid + 1`
22931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22934 echo "$as_me: failed program was:" >&5
22935 sed 's/^/| /' conftest.$ac_ext >&5
22937 cat >conftest.$ac_ext <<_ACEOF
22940 cat confdefs.h >>conftest.$ac_ext
22941 cat >>conftest.$ac_ext <<_ACEOF
22942 /* end confdefs.h. */
22943 $ac_includes_default
22944 typedef long long ac__type_sizeof_;
22948 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22955 rm -f conftest.$ac_objext
22956 if { (ac_try="$ac_compile"
22957 case "(($ac_try" in
22958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22959 *) ac_try_echo=$ac_try;;
22961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22962 (eval "$ac_compile") 2>conftest.er1
22964 grep -v '^ *+' conftest.er1 >conftest.err
22966 cat conftest.err >&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } && {
22969 test -z "$ac_c_werror_flag" ||
22970 test ! -s conftest.err
22971 } && test -s conftest.$ac_objext; then
22974 cat >conftest.$ac_ext <<_ACEOF
22977 cat confdefs.h >>conftest.$ac_ext
22978 cat >>conftest.$ac_ext <<_ACEOF
22979 /* end confdefs.h. */
22980 $ac_includes_default
22981 typedef long long ac__type_sizeof_;
22985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22992 rm -f conftest.$ac_objext
22993 if { (ac_try="$ac_compile"
22994 case "(($ac_try" in
22995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22996 *) ac_try_echo=$ac_try;;
22998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22999 (eval "$ac_compile") 2>conftest.er1
23001 grep -v '^ *+' conftest.er1 >conftest.err
23003 cat conftest.err >&5
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); } && {
23006 test -z "$ac_c_werror_flag" ||
23007 test ! -s conftest.err
23008 } && test -s conftest.$ac_objext; then
23009 ac_lo=$ac_mid; break
23011 echo "$as_me: failed program was:" >&5
23012 sed 's/^/| /' conftest.$ac_ext >&5
23014 ac_hi=`expr '(' $ac_mid ')' - 1`
23015 if test $ac_mid -le $ac_hi; then
23019 ac_mid=`expr 2 '*' $ac_mid`
23022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23025 echo "$as_me: failed program was:" >&5
23026 sed 's/^/| /' conftest.$ac_ext >&5
23031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23035 # Binary search between lo and hi bounds.
23036 while test "x$ac_lo" != "x$ac_hi"; do
23037 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23038 cat >conftest.$ac_ext <<_ACEOF
23041 cat confdefs.h >>conftest.$ac_ext
23042 cat >>conftest.$ac_ext <<_ACEOF
23043 /* end confdefs.h. */
23044 $ac_includes_default
23045 typedef long long ac__type_sizeof_;
23049 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23056 rm -f conftest.$ac_objext
23057 if { (ac_try="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23065 grep -v '^ *+' conftest.er1 >conftest.err
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } && {
23070 test -z "$ac_c_werror_flag" ||
23071 test ! -s conftest.err
23072 } && test -s conftest.$ac_objext; then
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23078 ac_lo=`expr '(' $ac_mid ')' + 1`
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23084 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23085 '') if test "$ac_cv_type_long_long" = yes; then
23086 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23087 See \`config.log' for more details." >&5
23088 echo "$as_me: error: cannot compute sizeof (long long)
23089 See \`config.log' for more details." >&2;}
23090 { (exit 77); exit 77; }; }
23092 ac_cv_sizeof_long_long=0
23096 cat >conftest.$ac_ext <<_ACEOF
23099 cat confdefs.h >>conftest.$ac_ext
23100 cat >>conftest.$ac_ext <<_ACEOF
23101 /* end confdefs.h. */
23102 $ac_includes_default
23103 typedef long long ac__type_sizeof_;
23104 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23105 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23107 #include <stdlib.h>
23112 FILE *f = fopen ("conftest.val", "w");
23115 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23117 long int i = longval ();
23118 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23120 fprintf (f, "%ld\n", i);
23124 unsigned long int i = ulongval ();
23125 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23127 fprintf (f, "%lu\n", i);
23129 return ferror (f) || fclose (f) != 0;
23135 rm -f conftest$ac_exeext
23136 if { (ac_try="$ac_link"
23137 case "(($ac_try" in
23138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23139 *) ac_try_echo=$ac_try;;
23141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23142 (eval "$ac_link") 2>&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23146 { (case "(($ac_try" in
23147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23148 *) ac_try_echo=$ac_try;;
23150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23151 (eval "$ac_try") 2>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; }; then
23155 ac_cv_sizeof_long_long=`cat conftest.val`
23157 echo "$as_me: program exited with status $ac_status" >&5
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.$ac_ext >&5
23161 ( exit $ac_status )
23162 if test "$ac_cv_type_long_long" = yes; then
23163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23164 See \`config.log' for more details." >&5
23165 echo "$as_me: error: cannot compute sizeof (long long)
23166 See \`config.log' for more details." >&2;}
23167 { (exit 77); exit 77; }; }
23169 ac_cv_sizeof_long_long=0
23172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23176 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23177 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23181 cat >>confdefs.h <<_ACEOF
23182 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23188 { echo "$as_me:$LINENO: checking for long long" >&5
23189 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23190 if test "${ac_cv_type_long_long+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23193 cat >conftest.$ac_ext <<_ACEOF
23196 cat confdefs.h >>conftest.$ac_ext
23197 cat >>conftest.$ac_ext <<_ACEOF
23198 /* end confdefs.h. */
23199 $ac_includes_default
23200 typedef long long ac__type_new_;
23204 if ((ac__type_new_ *) 0)
23206 if (sizeof (ac__type_new_))
23212 rm -f conftest.$ac_objext
23213 if { (ac_try="$ac_compile"
23214 case "(($ac_try" in
23215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23216 *) ac_try_echo=$ac_try;;
23218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_compile") 2>conftest.er1
23221 grep -v '^ *+' conftest.er1 >conftest.err
23223 cat conftest.err >&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); } && {
23226 test -z "$ac_c_werror_flag" ||
23227 test ! -s conftest.err
23228 } && test -s conftest.$ac_objext; then
23229 ac_cv_type_long_long=yes
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.$ac_ext >&5
23234 ac_cv_type_long_long=no
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23239 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23240 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23242 # The cast to long int works around a bug in the HP C Compiler
23243 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23244 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23245 # This bug is HP SR number 8606223364.
23246 { echo "$as_me:$LINENO: checking size of long long" >&5
23247 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23248 if test "${ac_cv_sizeof_long_long+set}" = set; then
23249 echo $ECHO_N "(cached) $ECHO_C" >&6
23251 if test "$cross_compiling" = yes; then
23252 # Depending upon the size, compute the lo and hi bounds.
23253 cat >conftest.$ac_ext <<_ACEOF
23256 cat confdefs.h >>conftest.$ac_ext
23257 cat >>conftest.$ac_ext <<_ACEOF
23258 /* end confdefs.h. */
23259 $ac_includes_default
23260 typedef long long ac__type_sizeof_;
23264 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23271 rm -f conftest.$ac_objext
23272 if { (ac_try="$ac_compile"
23273 case "(($ac_try" in
23274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23275 *) ac_try_echo=$ac_try;;
23277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23278 (eval "$ac_compile") 2>conftest.er1
23280 grep -v '^ *+' conftest.er1 >conftest.err
23282 cat conftest.err >&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } && {
23285 test -z "$ac_c_werror_flag" ||
23286 test ! -s conftest.err
23287 } && test -s conftest.$ac_objext; then
23290 cat >conftest.$ac_ext <<_ACEOF
23293 cat confdefs.h >>conftest.$ac_ext
23294 cat >>conftest.$ac_ext <<_ACEOF
23295 /* end confdefs.h. */
23296 $ac_includes_default
23297 typedef long long ac__type_sizeof_;
23301 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23308 rm -f conftest.$ac_objext
23309 if { (ac_try="$ac_compile"
23310 case "(($ac_try" in
23311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23312 *) ac_try_echo=$ac_try;;
23314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23315 (eval "$ac_compile") 2>conftest.er1
23317 grep -v '^ *+' conftest.er1 >conftest.err
23319 cat conftest.err >&5
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); } && {
23322 test -z "$ac_c_werror_flag" ||
23323 test ! -s conftest.err
23324 } && test -s conftest.$ac_objext; then
23325 ac_hi=$ac_mid; break
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.$ac_ext >&5
23330 ac_lo=`expr $ac_mid + 1`
23331 if test $ac_lo -le $ac_mid; then
23335 ac_mid=`expr 2 '*' $ac_mid + 1`
23338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23341 echo "$as_me: failed program was:" >&5
23342 sed 's/^/| /' conftest.$ac_ext >&5
23344 cat >conftest.$ac_ext <<_ACEOF
23347 cat confdefs.h >>conftest.$ac_ext
23348 cat >>conftest.$ac_ext <<_ACEOF
23349 /* end confdefs.h. */
23350 $ac_includes_default
23351 typedef long long ac__type_sizeof_;
23355 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23362 rm -f conftest.$ac_objext
23363 if { (ac_try="$ac_compile"
23364 case "(($ac_try" in
23365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23366 *) ac_try_echo=$ac_try;;
23368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23369 (eval "$ac_compile") 2>conftest.er1
23371 grep -v '^ *+' conftest.er1 >conftest.err
23373 cat conftest.err >&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); } && {
23376 test -z "$ac_c_werror_flag" ||
23377 test ! -s conftest.err
23378 } && test -s conftest.$ac_objext; then
23381 cat >conftest.$ac_ext <<_ACEOF
23384 cat confdefs.h >>conftest.$ac_ext
23385 cat >>conftest.$ac_ext <<_ACEOF
23386 /* end confdefs.h. */
23387 $ac_includes_default
23388 typedef long long ac__type_sizeof_;
23392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23399 rm -f conftest.$ac_objext
23400 if { (ac_try="$ac_compile"
23401 case "(($ac_try" in
23402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23403 *) ac_try_echo=$ac_try;;
23405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23406 (eval "$ac_compile") 2>conftest.er1
23408 grep -v '^ *+' conftest.er1 >conftest.err
23410 cat conftest.err >&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); } && {
23413 test -z "$ac_c_werror_flag" ||
23414 test ! -s conftest.err
23415 } && test -s conftest.$ac_objext; then
23416 ac_lo=$ac_mid; break
23418 echo "$as_me: failed program was:" >&5
23419 sed 's/^/| /' conftest.$ac_ext >&5
23421 ac_hi=`expr '(' $ac_mid ')' - 1`
23422 if test $ac_mid -le $ac_hi; then
23426 ac_mid=`expr 2 '*' $ac_mid`
23429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23432 echo "$as_me: failed program was:" >&5
23433 sed 's/^/| /' conftest.$ac_ext >&5
23438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23442 # Binary search between lo and hi bounds.
23443 while test "x$ac_lo" != "x$ac_hi"; do
23444 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23445 cat >conftest.$ac_ext <<_ACEOF
23448 cat confdefs.h >>conftest.$ac_ext
23449 cat >>conftest.$ac_ext <<_ACEOF
23450 /* end confdefs.h. */
23451 $ac_includes_default
23452 typedef long long ac__type_sizeof_;
23456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23463 rm -f conftest.$ac_objext
23464 if { (ac_try="$ac_compile"
23465 case "(($ac_try" in
23466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23467 *) ac_try_echo=$ac_try;;
23469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23470 (eval "$ac_compile") 2>conftest.er1
23472 grep -v '^ *+' conftest.er1 >conftest.err
23474 cat conftest.err >&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } && {
23477 test -z "$ac_c_werror_flag" ||
23478 test ! -s conftest.err
23479 } && test -s conftest.$ac_objext; then
23482 echo "$as_me: failed program was:" >&5
23483 sed 's/^/| /' conftest.$ac_ext >&5
23485 ac_lo=`expr '(' $ac_mid ')' + 1`
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23492 '') if test "$ac_cv_type_long_long" = yes; then
23493 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23494 See \`config.log' for more details." >&5
23495 echo "$as_me: error: cannot compute sizeof (long long)
23496 See \`config.log' for more details." >&2;}
23497 { (exit 77); exit 77; }; }
23499 ac_cv_sizeof_long_long=0
23503 cat >conftest.$ac_ext <<_ACEOF
23506 cat confdefs.h >>conftest.$ac_ext
23507 cat >>conftest.$ac_ext <<_ACEOF
23508 /* end confdefs.h. */
23509 $ac_includes_default
23510 typedef long long ac__type_sizeof_;
23511 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23512 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23514 #include <stdlib.h>
23519 FILE *f = fopen ("conftest.val", "w");
23522 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23524 long int i = longval ();
23525 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23527 fprintf (f, "%ld\n", i);
23531 unsigned long int i = ulongval ();
23532 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23534 fprintf (f, "%lu\n", i);
23536 return ferror (f) || fclose (f) != 0;
23542 rm -f conftest$ac_exeext
23543 if { (ac_try="$ac_link"
23544 case "(($ac_try" in
23545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23546 *) ac_try_echo=$ac_try;;
23548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23549 (eval "$ac_link") 2>&5
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23553 { (case "(($ac_try" in
23554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23555 *) ac_try_echo=$ac_try;;
23557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23558 (eval "$ac_try") 2>&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); }; }; then
23562 ac_cv_sizeof_long_long=`cat conftest.val`
23564 echo "$as_me: program exited with status $ac_status" >&5
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23568 ( exit $ac_status )
23569 if test "$ac_cv_type_long_long" = yes; then
23570 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23571 See \`config.log' for more details." >&5
23572 echo "$as_me: error: cannot compute sizeof (long long)
23573 See \`config.log' for more details." >&2;}
23574 { (exit 77); exit 77; }; }
23576 ac_cv_sizeof_long_long=0
23579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23583 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23584 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23588 cat >>confdefs.h <<_ACEOF
23589 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23593 if test "$ac_cv_sizeof_long_long" != 0; then
23594 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23598 { echo "$as_me:$LINENO: checking for long long" >&5
23599 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23600 if test "${ac_cv_type_long_long+set}" = set; then
23601 echo $ECHO_N "(cached) $ECHO_C" >&6
23603 cat >conftest.$ac_ext <<_ACEOF
23606 cat confdefs.h >>conftest.$ac_ext
23607 cat >>conftest.$ac_ext <<_ACEOF
23608 /* end confdefs.h. */
23609 $ac_includes_default
23610 typedef long long ac__type_new_;
23614 if ((ac__type_new_ *) 0)
23616 if (sizeof (ac__type_new_))
23622 rm -f conftest.$ac_objext
23623 if { (ac_try="$ac_compile"
23624 case "(($ac_try" in
23625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23626 *) ac_try_echo=$ac_try;;
23628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23629 (eval "$ac_compile") 2>conftest.er1
23631 grep -v '^ *+' conftest.er1 >conftest.err
23633 cat conftest.err >&5
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); } && {
23636 test -z "$ac_c_werror_flag" ||
23637 test ! -s conftest.err
23638 } && test -s conftest.$ac_objext; then
23639 ac_cv_type_long_long=yes
23641 echo "$as_me: failed program was:" >&5
23642 sed 's/^/| /' conftest.$ac_ext >&5
23644 ac_cv_type_long_long=no
23647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23649 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23650 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23652 # The cast to long int works around a bug in the HP C Compiler
23653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23655 # This bug is HP SR number 8606223364.
23656 { echo "$as_me:$LINENO: checking size of long long" >&5
23657 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23658 if test "${ac_cv_sizeof_long_long+set}" = set; then
23659 echo $ECHO_N "(cached) $ECHO_C" >&6
23661 if test "$cross_compiling" = yes; then
23662 # Depending upon the size, compute the lo and hi bounds.
23663 cat >conftest.$ac_ext <<_ACEOF
23666 cat confdefs.h >>conftest.$ac_ext
23667 cat >>conftest.$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23669 $ac_includes_default
23670 typedef long long ac__type_sizeof_;
23674 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23681 rm -f conftest.$ac_objext
23682 if { (ac_try="$ac_compile"
23683 case "(($ac_try" in
23684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685 *) ac_try_echo=$ac_try;;
23687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23688 (eval "$ac_compile") 2>conftest.er1
23690 grep -v '^ *+' conftest.er1 >conftest.err
23692 cat conftest.err >&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } && {
23695 test -z "$ac_c_werror_flag" ||
23696 test ! -s conftest.err
23697 } && test -s conftest.$ac_objext; then
23700 cat >conftest.$ac_ext <<_ACEOF
23703 cat confdefs.h >>conftest.$ac_ext
23704 cat >>conftest.$ac_ext <<_ACEOF
23705 /* end confdefs.h. */
23706 $ac_includes_default
23707 typedef long long ac__type_sizeof_;
23711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23718 rm -f conftest.$ac_objext
23719 if { (ac_try="$ac_compile"
23720 case "(($ac_try" in
23721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23722 *) ac_try_echo=$ac_try;;
23724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23725 (eval "$ac_compile") 2>conftest.er1
23727 grep -v '^ *+' conftest.er1 >conftest.err
23729 cat conftest.err >&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); } && {
23732 test -z "$ac_c_werror_flag" ||
23733 test ! -s conftest.err
23734 } && test -s conftest.$ac_objext; then
23735 ac_hi=$ac_mid; break
23737 echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.$ac_ext >&5
23740 ac_lo=`expr $ac_mid + 1`
23741 if test $ac_lo -le $ac_mid; then
23745 ac_mid=`expr 2 '*' $ac_mid + 1`
23748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23751 echo "$as_me: failed program was:" >&5
23752 sed 's/^/| /' conftest.$ac_ext >&5
23754 cat >conftest.$ac_ext <<_ACEOF
23757 cat confdefs.h >>conftest.$ac_ext
23758 cat >>conftest.$ac_ext <<_ACEOF
23759 /* end confdefs.h. */
23760 $ac_includes_default
23761 typedef long long ac__type_sizeof_;
23765 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23772 rm -f conftest.$ac_objext
23773 if { (ac_try="$ac_compile"
23774 case "(($ac_try" in
23775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23776 *) ac_try_echo=$ac_try;;
23778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23779 (eval "$ac_compile") 2>conftest.er1
23781 grep -v '^ *+' conftest.er1 >conftest.err
23783 cat conftest.err >&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); } && {
23786 test -z "$ac_c_werror_flag" ||
23787 test ! -s conftest.err
23788 } && test -s conftest.$ac_objext; then
23791 cat >conftest.$ac_ext <<_ACEOF
23794 cat confdefs.h >>conftest.$ac_ext
23795 cat >>conftest.$ac_ext <<_ACEOF
23796 /* end confdefs.h. */
23797 $ac_includes_default
23798 typedef long long ac__type_sizeof_;
23802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23809 rm -f conftest.$ac_objext
23810 if { (ac_try="$ac_compile"
23811 case "(($ac_try" in
23812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23813 *) ac_try_echo=$ac_try;;
23815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23816 (eval "$ac_compile") 2>conftest.er1
23818 grep -v '^ *+' conftest.er1 >conftest.err
23820 cat conftest.err >&5
23821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23822 (exit $ac_status); } && {
23823 test -z "$ac_c_werror_flag" ||
23824 test ! -s conftest.err
23825 } && test -s conftest.$ac_objext; then
23826 ac_lo=$ac_mid; break
23828 echo "$as_me: failed program was:" >&5
23829 sed 's/^/| /' conftest.$ac_ext >&5
23831 ac_hi=`expr '(' $ac_mid ')' - 1`
23832 if test $ac_mid -le $ac_hi; then
23836 ac_mid=`expr 2 '*' $ac_mid`
23839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23842 echo "$as_me: failed program was:" >&5
23843 sed 's/^/| /' conftest.$ac_ext >&5
23848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23852 # Binary search between lo and hi bounds.
23853 while test "x$ac_lo" != "x$ac_hi"; do
23854 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23855 cat >conftest.$ac_ext <<_ACEOF
23858 cat confdefs.h >>conftest.$ac_ext
23859 cat >>conftest.$ac_ext <<_ACEOF
23860 /* end confdefs.h. */
23861 $ac_includes_default
23862 typedef long long ac__type_sizeof_;
23866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23873 rm -f conftest.$ac_objext
23874 if { (ac_try="$ac_compile"
23875 case "(($ac_try" in
23876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23877 *) ac_try_echo=$ac_try;;
23879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23880 (eval "$ac_compile") 2>conftest.er1
23882 grep -v '^ *+' conftest.er1 >conftest.err
23884 cat conftest.err >&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); } && {
23887 test -z "$ac_c_werror_flag" ||
23888 test ! -s conftest.err
23889 } && test -s conftest.$ac_objext; then
23892 echo "$as_me: failed program was:" >&5
23893 sed 's/^/| /' conftest.$ac_ext >&5
23895 ac_lo=`expr '(' $ac_mid ')' + 1`
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23901 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23902 '') if test "$ac_cv_type_long_long" = yes; then
23903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23904 See \`config.log' for more details." >&5
23905 echo "$as_me: error: cannot compute sizeof (long long)
23906 See \`config.log' for more details." >&2;}
23907 { (exit 77); exit 77; }; }
23909 ac_cv_sizeof_long_long=0
23913 cat >conftest.$ac_ext <<_ACEOF
23916 cat confdefs.h >>conftest.$ac_ext
23917 cat >>conftest.$ac_ext <<_ACEOF
23918 /* end confdefs.h. */
23919 $ac_includes_default
23920 typedef long long ac__type_sizeof_;
23921 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23922 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23924 #include <stdlib.h>
23929 FILE *f = fopen ("conftest.val", "w");
23932 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23934 long int i = longval ();
23935 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23937 fprintf (f, "%ld\n", i);
23941 unsigned long int i = ulongval ();
23942 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23944 fprintf (f, "%lu\n", i);
23946 return ferror (f) || fclose (f) != 0;
23952 rm -f conftest$ac_exeext
23953 if { (ac_try="$ac_link"
23954 case "(($ac_try" in
23955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23956 *) ac_try_echo=$ac_try;;
23958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23959 (eval "$ac_link") 2>&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23963 { (case "(($ac_try" in
23964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23965 *) ac_try_echo=$ac_try;;
23967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23968 (eval "$ac_try") 2>&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); }; }; then
23972 ac_cv_sizeof_long_long=`cat conftest.val`
23974 echo "$as_me: program exited with status $ac_status" >&5
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.$ac_ext >&5
23978 ( exit $ac_status )
23979 if test "$ac_cv_type_long_long" = yes; then
23980 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23981 See \`config.log' for more details." >&5
23982 echo "$as_me: error: cannot compute sizeof (long long)
23983 See \`config.log' for more details." >&2;}
23984 { (exit 77); exit 77; }; }
23986 ac_cv_sizeof_long_long=0
23989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23993 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23994 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23998 cat >>confdefs.h <<_ACEOF
23999 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24005 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24006 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24007 if test "${ac_cv_type_wchar_t+set}" = set; then
24008 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 cat >conftest.$ac_ext <<_ACEOF
24013 cat confdefs.h >>conftest.$ac_ext
24014 cat >>conftest.$ac_ext <<_ACEOF
24015 /* end confdefs.h. */
24017 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24018 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24019 # error "fake wchar_t"
24021 #ifdef HAVE_WCHAR_H
24023 # include <stddef.h>
24025 # include <wchar.h>
24027 #ifdef HAVE_STDLIB_H
24028 # include <stdlib.h>
24034 typedef wchar_t ac__type_new_;
24038 if ((ac__type_new_ *) 0)
24040 if (sizeof (ac__type_new_))
24046 rm -f conftest.$ac_objext
24047 if { (ac_try="$ac_compile"
24048 case "(($ac_try" in
24049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24050 *) ac_try_echo=$ac_try;;
24052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24053 (eval "$ac_compile") 2>conftest.er1
24055 grep -v '^ *+' conftest.er1 >conftest.err
24057 cat conftest.err >&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); } && {
24060 test -z "$ac_c_werror_flag" ||
24061 test ! -s conftest.err
24062 } && test -s conftest.$ac_objext; then
24063 ac_cv_type_wchar_t=yes
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.$ac_ext >&5
24068 ac_cv_type_wchar_t=no
24071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24073 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24074 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24076 # The cast to long int works around a bug in the HP C Compiler
24077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24079 # This bug is HP SR number 8606223364.
24080 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24081 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24082 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24083 echo $ECHO_N "(cached) $ECHO_C" >&6
24085 if test "$cross_compiling" = yes; then
24086 # Depending upon the size, compute the lo and hi bounds.
24087 cat >conftest.$ac_ext <<_ACEOF
24090 cat confdefs.h >>conftest.$ac_ext
24091 cat >>conftest.$ac_ext <<_ACEOF
24092 /* end confdefs.h. */
24094 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24095 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24096 # error "fake wchar_t"
24098 #ifdef HAVE_WCHAR_H
24100 # include <stddef.h>
24102 # include <wchar.h>
24104 #ifdef HAVE_STDLIB_H
24105 # include <stdlib.h>
24111 typedef wchar_t ac__type_sizeof_;
24115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24122 rm -f conftest.$ac_objext
24123 if { (ac_try="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24131 grep -v '^ *+' conftest.er1 >conftest.err
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_c_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.$ac_objext; then
24141 cat >conftest.$ac_ext <<_ACEOF
24144 cat confdefs.h >>conftest.$ac_ext
24145 cat >>conftest.$ac_ext <<_ACEOF
24146 /* end confdefs.h. */
24148 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24149 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24150 # error "fake wchar_t"
24152 #ifdef HAVE_WCHAR_H
24154 # include <stddef.h>
24156 # include <wchar.h>
24158 #ifdef HAVE_STDLIB_H
24159 # include <stdlib.h>
24165 typedef wchar_t ac__type_sizeof_;
24169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24176 rm -f conftest.$ac_objext
24177 if { (ac_try="$ac_compile"
24178 case "(($ac_try" in
24179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24180 *) ac_try_echo=$ac_try;;
24182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24183 (eval "$ac_compile") 2>conftest.er1
24185 grep -v '^ *+' conftest.er1 >conftest.err
24187 cat conftest.err >&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); } && {
24190 test -z "$ac_c_werror_flag" ||
24191 test ! -s conftest.err
24192 } && test -s conftest.$ac_objext; then
24193 ac_hi=$ac_mid; break
24195 echo "$as_me: failed program was:" >&5
24196 sed 's/^/| /' conftest.$ac_ext >&5
24198 ac_lo=`expr $ac_mid + 1`
24199 if test $ac_lo -le $ac_mid; then
24203 ac_mid=`expr 2 '*' $ac_mid + 1`
24206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24209 echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.$ac_ext >&5
24212 cat >conftest.$ac_ext <<_ACEOF
24215 cat confdefs.h >>conftest.$ac_ext
24216 cat >>conftest.$ac_ext <<_ACEOF
24217 /* end confdefs.h. */
24219 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24220 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24221 # error "fake wchar_t"
24223 #ifdef HAVE_WCHAR_H
24225 # include <stddef.h>
24227 # include <wchar.h>
24229 #ifdef HAVE_STDLIB_H
24230 # include <stdlib.h>
24236 typedef wchar_t ac__type_sizeof_;
24240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24247 rm -f conftest.$ac_objext
24248 if { (ac_try="$ac_compile"
24249 case "(($ac_try" in
24250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24251 *) ac_try_echo=$ac_try;;
24253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24254 (eval "$ac_compile") 2>conftest.er1
24256 grep -v '^ *+' conftest.er1 >conftest.err
24258 cat conftest.err >&5
24259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24260 (exit $ac_status); } && {
24261 test -z "$ac_c_werror_flag" ||
24262 test ! -s conftest.err
24263 } && test -s conftest.$ac_objext; then
24266 cat >conftest.$ac_ext <<_ACEOF
24269 cat confdefs.h >>conftest.$ac_ext
24270 cat >>conftest.$ac_ext <<_ACEOF
24271 /* end confdefs.h. */
24273 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24274 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24275 # error "fake wchar_t"
24277 #ifdef HAVE_WCHAR_H
24279 # include <stddef.h>
24281 # include <wchar.h>
24283 #ifdef HAVE_STDLIB_H
24284 # include <stdlib.h>
24290 typedef wchar_t ac__type_sizeof_;
24294 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24301 rm -f conftest.$ac_objext
24302 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
24310 grep -v '^ *+' conftest.er1 >conftest.err
24312 cat conftest.err >&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } && {
24315 test -z "$ac_c_werror_flag" ||
24316 test ! -s conftest.err
24317 } && test -s conftest.$ac_objext; then
24318 ac_lo=$ac_mid; break
24320 echo "$as_me: failed program was:" >&5
24321 sed 's/^/| /' conftest.$ac_ext >&5
24323 ac_hi=`expr '(' $ac_mid ')' - 1`
24324 if test $ac_mid -le $ac_hi; then
24328 ac_mid=`expr 2 '*' $ac_mid`
24331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24334 echo "$as_me: failed program was:" >&5
24335 sed 's/^/| /' conftest.$ac_ext >&5
24340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24344 # Binary search between lo and hi bounds.
24345 while test "x$ac_lo" != "x$ac_hi"; do
24346 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24347 cat >conftest.$ac_ext <<_ACEOF
24350 cat confdefs.h >>conftest.$ac_ext
24351 cat >>conftest.$ac_ext <<_ACEOF
24352 /* end confdefs.h. */
24354 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24355 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24356 # error "fake wchar_t"
24358 #ifdef HAVE_WCHAR_H
24360 # include <stddef.h>
24362 # include <wchar.h>
24364 #ifdef HAVE_STDLIB_H
24365 # include <stdlib.h>
24371 typedef wchar_t ac__type_sizeof_;
24375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24382 rm -f conftest.$ac_objext
24383 if { (ac_try="$ac_compile"
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_compile") 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_c_werror_flag" ||
24397 test ! -s conftest.err
24398 } && test -s conftest.$ac_objext; then
24401 echo "$as_me: failed program was:" >&5
24402 sed 's/^/| /' conftest.$ac_ext >&5
24404 ac_lo=`expr '(' $ac_mid ')' + 1`
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24410 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24411 '') if test "$ac_cv_type_wchar_t" = yes; then
24412 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24413 See \`config.log' for more details." >&5
24414 echo "$as_me: error: cannot compute sizeof (wchar_t)
24415 See \`config.log' for more details." >&2;}
24416 { (exit 77); exit 77; }; }
24418 ac_cv_sizeof_wchar_t=0
24422 cat >conftest.$ac_ext <<_ACEOF
24425 cat confdefs.h >>conftest.$ac_ext
24426 cat >>conftest.$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24429 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24430 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24431 # error "fake wchar_t"
24433 #ifdef HAVE_WCHAR_H
24435 # include <stddef.h>
24437 # include <wchar.h>
24439 #ifdef HAVE_STDLIB_H
24440 # include <stdlib.h>
24446 typedef wchar_t ac__type_sizeof_;
24447 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24448 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24450 #include <stdlib.h>
24455 FILE *f = fopen ("conftest.val", "w");
24458 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24460 long int i = longval ();
24461 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24463 fprintf (f, "%ld\n", i);
24467 unsigned long int i = ulongval ();
24468 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24470 fprintf (f, "%lu\n", i);
24472 return ferror (f) || fclose (f) != 0;
24478 rm -f conftest$ac_exeext
24479 if { (ac_try="$ac_link"
24480 case "(($ac_try" in
24481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24482 *) ac_try_echo=$ac_try;;
24484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24485 (eval "$ac_link") 2>&5
24487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24489 { (case "(($ac_try" in
24490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24491 *) ac_try_echo=$ac_try;;
24493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24494 (eval "$ac_try") 2>&5
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); }; }; then
24498 ac_cv_sizeof_wchar_t=`cat conftest.val`
24500 echo "$as_me: program exited with status $ac_status" >&5
24501 echo "$as_me: failed program was:" >&5
24502 sed 's/^/| /' conftest.$ac_ext >&5
24504 ( exit $ac_status )
24505 if test "$ac_cv_type_wchar_t" = yes; then
24506 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24507 See \`config.log' for more details." >&5
24508 echo "$as_me: error: cannot compute sizeof (wchar_t)
24509 See \`config.log' for more details." >&2;}
24510 { (exit 77); exit 77; }; }
24512 ac_cv_sizeof_wchar_t=0
24515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24519 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24520 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24524 cat >>confdefs.h <<_ACEOF
24525 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24529 if test "$ac_cv_sizeof_wchar_t" = 0; then
24530 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24531 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24532 { (exit 1); exit 1; }; }
24534 cat >>confdefs.h <<\_ACEOF
24535 #define wxUSE_WCHAR_T 1
24539 { echo "$as_me:$LINENO: checking for va_copy" >&5
24540 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24541 if test "${wx_cv_func_va_copy+set}" = set; then
24542 echo $ECHO_N "(cached) $ECHO_C" >&6
24546 ac_cpp='$CXXCPP $CPPFLAGS'
24547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24551 cat >conftest.$ac_ext <<_ACEOF
24555 cat confdefs.h >>conftest.$ac_ext
24556 cat >>conftest.$ac_ext <<_ACEOF
24557 /* end confdefs.h. */
24559 #include <stdarg.h>
24560 void foo(char *f, ...)
24575 rm -f conftest.$ac_objext conftest$ac_exeext
24576 if { (ac_try="$ac_link"
24577 case "(($ac_try" in
24578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24579 *) ac_try_echo=$ac_try;;
24581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24582 (eval "$ac_link") 2>conftest.er1
24584 grep -v '^ *+' conftest.er1 >conftest.err
24586 cat conftest.err >&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } && {
24589 test -z "$ac_cxx_werror_flag" ||
24590 test ! -s conftest.err
24591 } && test -s conftest$ac_exeext &&
24592 $as_test_x conftest$ac_exeext; then
24593 wx_cv_func_va_copy=yes
24595 echo "$as_me: failed program was:" >&5
24596 sed 's/^/| /' conftest.$ac_ext >&5
24598 wx_cv_func_va_copy=no
24602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24603 conftest$ac_exeext conftest.$ac_ext
24605 ac_cpp='$CPP $CPPFLAGS'
24606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24613 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24614 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24616 if test $wx_cv_func_va_copy = "yes"; then
24617 cat >>confdefs.h <<\_ACEOF
24618 #define HAVE_VA_COPY 1
24622 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24623 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24624 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24625 echo $ECHO_N "(cached) $ECHO_C" >&6
24628 if test "$cross_compiling" = yes; then
24629 wx_cv_type_va_list_lvalue=yes
24632 cat >conftest.$ac_ext <<_ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24640 #include <stdarg.h>
24641 int foo(char *f, ...)
24646 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24654 return foo("hi", 17);
24658 rm -f conftest$ac_exeext
24659 if { (ac_try="$ac_link"
24660 case "(($ac_try" in
24661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24662 *) ac_try_echo=$ac_try;;
24664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24665 (eval "$ac_link") 2>&5
24667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24669 { (case "(($ac_try" in
24670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24671 *) ac_try_echo=$ac_try;;
24673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24674 (eval "$ac_try") 2>&5
24676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); }; }; then
24678 wx_cv_type_va_list_lvalue=yes
24680 echo "$as_me: program exited with status $ac_status" >&5
24681 echo "$as_me: failed program was:" >&5
24682 sed 's/^/| /' conftest.$ac_ext >&5
24684 ( exit $ac_status )
24685 wx_cv_type_va_list_lvalue=no
24687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24694 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24695 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24697 if test $wx_cv_type_va_list_lvalue != "yes"; then
24698 cat >>confdefs.h <<\_ACEOF
24699 #define VA_LIST_IS_ARRAY 1
24705 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24707 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24708 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24709 if test "${wx_cv_have_variadic_macros+set}" = set; then
24710 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 ac_cpp='$CXXCPP $CPPFLAGS'
24715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24719 cat >conftest.$ac_ext <<_ACEOF
24723 cat confdefs.h >>conftest.$ac_ext
24724 cat >>conftest.$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24728 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24734 test("%s %d %p", "test", 1, 0);
24741 rm -f conftest.$ac_objext
24742 if { (ac_try="$ac_compile"
24743 case "(($ac_try" in
24744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24745 *) ac_try_echo=$ac_try;;
24747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24748 (eval "$ac_compile") 2>conftest.er1
24750 grep -v '^ *+' conftest.er1 >conftest.err
24752 cat conftest.err >&5
24753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754 (exit $ac_status); } && {
24755 test -z "$ac_cxx_werror_flag" ||
24756 test ! -s conftest.err
24757 } && test -s conftest.$ac_objext; then
24758 wx_cv_have_variadic_macros=yes
24760 echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.$ac_ext >&5
24763 wx_cv_have_variadic_macros=no
24767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24769 ac_cpp='$CPP $CPPFLAGS'
24770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24777 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24778 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24780 if test $wx_cv_have_variadic_macros = "yes"; then
24781 cat >>confdefs.h <<\_ACEOF
24782 #define HAVE_VARIADIC_MACROS 1
24789 LARGEFILE_CPPFLAGS=
24790 # Check whether --enable-largefile was given.
24791 if test "${enable_largefile+set}" = set; then
24792 enableval=$enable_largefile;
24795 if test "$enable_largefile" != no; then
24798 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24799 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24800 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24804 cat >conftest.$ac_ext <<_ACEOF
24807 cat confdefs.h >>conftest.$ac_ext
24808 cat >>conftest.$ac_ext <<_ACEOF
24809 /* end confdefs.h. */
24810 #define _FILE_OFFSET_BITS 64
24811 #include <sys/types.h>
24816 unsigned int field: sizeof(off_t) == 8;
24823 rm -f conftest.$ac_objext
24824 if { (ac_try="$ac_compile"
24825 case "(($ac_try" in
24826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24827 *) ac_try_echo=$ac_try;;
24829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24830 (eval "$ac_compile") 2>conftest.er1
24832 grep -v '^ *+' conftest.er1 >conftest.err
24834 cat conftest.err >&5
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); } && {
24837 test -z "$ac_c_werror_flag" ||
24838 test ! -s conftest.err
24839 } && test -s conftest.$ac_objext; then
24840 ac_cv_sys_file_offset_bits=64
24842 echo "$as_me: failed program was:" >&5
24843 sed 's/^/| /' conftest.$ac_ext >&5
24845 ac_cv_sys_file_offset_bits=no
24848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24852 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24853 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24855 if test "$ac_cv_sys_file_offset_bits" != no; then
24857 cat >>confdefs.h <<_ACEOF
24858 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24863 if test "x$wx_largefile" != "xyes"; then
24865 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24866 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24867 if test "${ac_cv_sys_large_files+set}" = set; then
24868 echo $ECHO_N "(cached) $ECHO_C" >&6
24871 cat >conftest.$ac_ext <<_ACEOF
24874 cat confdefs.h >>conftest.$ac_ext
24875 cat >>conftest.$ac_ext <<_ACEOF
24876 /* end confdefs.h. */
24877 #define _LARGE_FILES 1
24878 #include <sys/types.h>
24883 unsigned int field: sizeof(off_t) == 8;
24890 rm -f conftest.$ac_objext
24891 if { (ac_try="$ac_compile"
24892 case "(($ac_try" in
24893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24894 *) ac_try_echo=$ac_try;;
24896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24897 (eval "$ac_compile") 2>conftest.er1
24899 grep -v '^ *+' conftest.er1 >conftest.err
24901 cat conftest.err >&5
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); } && {
24904 test -z "$ac_c_werror_flag" ||
24905 test ! -s conftest.err
24906 } && test -s conftest.$ac_objext; then
24907 ac_cv_sys_large_files=1
24909 echo "$as_me: failed program was:" >&5
24910 sed 's/^/| /' conftest.$ac_ext >&5
24912 ac_cv_sys_large_files=no
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24919 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24920 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24922 if test "$ac_cv_sys_large_files" != no; then
24924 cat >>confdefs.h <<_ACEOF
24925 #define _LARGE_FILES $ac_cv_sys_large_files
24932 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24933 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24934 if test "x$wx_largefile" = "xyes"; then
24935 cat >>confdefs.h <<\_ACEOF
24936 #define HAVE_LARGEFILE_SUPPORT 1
24940 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24941 echo "${ECHO_T}$wx_largefile" >&6; }
24944 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24945 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24946 elif test "$ac_cv_sys_large_files" = 1; then
24947 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24950 if test -n "$LARGEFILE_CPPFLAGS"; then
24951 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24953 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24954 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24955 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24956 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24957 echo $ECHO_N "(cached) $ECHO_C" >&6
24961 ac_cpp='$CXXCPP $CPPFLAGS'
24962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24966 cat >conftest.$ac_ext <<_ACEOF
24969 cat confdefs.h >>conftest.$ac_ext
24970 cat >>conftest.$ac_ext <<_ACEOF
24971 /* end confdefs.h. */
24977 #ifndef __STDC_EXT__
24985 rm -f conftest.$ac_objext
24986 if { (ac_try="$ac_compile"
24987 case "(($ac_try" in
24988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24989 *) ac_try_echo=$ac_try;;
24991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24992 (eval "$ac_compile") 2>conftest.er1
24994 grep -v '^ *+' conftest.er1 >conftest.err
24996 cat conftest.err >&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } && {
24999 test -z "$ac_cxx_werror_flag" ||
25000 test ! -s conftest.err
25001 } && test -s conftest.$ac_objext; then
25002 wx_cv_STDC_EXT_required=no
25004 echo "$as_me: failed program was:" >&5
25005 sed 's/^/| /' conftest.$ac_ext >&5
25007 wx_cv_STDC_EXT_required=yes
25011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25013 ac_cpp='$CPP $CPPFLAGS'
25014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25021 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25022 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25023 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25024 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25030 ac_cpp='$CXXCPP $CPPFLAGS'
25031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25035 old_CPPFLAGS="$CPPFLAGS"
25036 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25037 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25038 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25039 if test "${ac_cv_sys_largefile_source+set}" = set; then
25040 echo $ECHO_N "(cached) $ECHO_C" >&6
25043 cat >conftest.$ac_ext <<_ACEOF
25046 cat confdefs.h >>conftest.$ac_ext
25047 cat >>conftest.$ac_ext <<_ACEOF
25048 /* end confdefs.h. */
25049 #include <sys/types.h> /* for off_t */
25054 int (*fp) (FILE *, off_t, int) = fseeko;
25055 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25060 rm -f conftest.$ac_objext conftest$ac_exeext
25061 if { (ac_try="$ac_link"
25062 case "(($ac_try" in
25063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25064 *) ac_try_echo=$ac_try;;
25066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25067 (eval "$ac_link") 2>conftest.er1
25069 grep -v '^ *+' conftest.er1 >conftest.err
25071 cat conftest.err >&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); } && {
25074 test -z "$ac_cxx_werror_flag" ||
25075 test ! -s conftest.err
25076 } && test -s conftest$ac_exeext &&
25077 $as_test_x conftest$ac_exeext; then
25078 ac_cv_sys_largefile_source=no; break
25080 echo "$as_me: failed program was:" >&5
25081 sed 's/^/| /' conftest.$ac_ext >&5
25086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25087 conftest$ac_exeext conftest.$ac_ext
25088 cat >conftest.$ac_ext <<_ACEOF
25091 cat confdefs.h >>conftest.$ac_ext
25092 cat >>conftest.$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25094 #define _LARGEFILE_SOURCE 1
25095 #include <sys/types.h> /* for off_t */
25100 int (*fp) (FILE *, off_t, int) = fseeko;
25101 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25106 rm -f conftest.$ac_objext conftest$ac_exeext
25107 if { (ac_try="$ac_link"
25108 case "(($ac_try" in
25109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25110 *) ac_try_echo=$ac_try;;
25112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25113 (eval "$ac_link") 2>conftest.er1
25115 grep -v '^ *+' conftest.er1 >conftest.err
25117 cat conftest.err >&5
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); } && {
25120 test -z "$ac_cxx_werror_flag" ||
25121 test ! -s conftest.err
25122 } && test -s conftest$ac_exeext &&
25123 $as_test_x conftest$ac_exeext; then
25124 ac_cv_sys_largefile_source=1; break
25126 echo "$as_me: failed program was:" >&5
25127 sed 's/^/| /' conftest.$ac_ext >&5
25132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25133 conftest$ac_exeext conftest.$ac_ext
25134 ac_cv_sys_largefile_source=unknown
25138 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25139 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25140 case $ac_cv_sys_largefile_source in #(
25143 cat >>confdefs.h <<_ACEOF
25144 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25150 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25151 # in glibc 2.1.3, but that breaks too many other things.
25152 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25153 if test $ac_cv_sys_largefile_source != unknown; then
25155 cat >>confdefs.h <<\_ACEOF
25156 #define HAVE_FSEEKO 1
25161 CPPFLAGS="$old_CPPFLAGS"
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25168 if test "$ac_cv_sys_largefile_source" != no; then
25169 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25172 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25173 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25174 if test "${ac_cv_c_bigendian+set}" = set; then
25175 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 ac_cv_c_bigendian=unknown
25178 # See if sys/param.h defines the BYTE_ORDER macro.
25179 cat >conftest.$ac_ext <<_ACEOF
25182 cat confdefs.h >>conftest.$ac_ext
25183 cat >>conftest.$ac_ext <<_ACEOF
25184 /* end confdefs.h. */
25185 #include <sys/types.h>
25186 #include <sys/param.h>
25191 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25192 bogus endian macros
25198 rm -f conftest.$ac_objext
25199 if { (ac_try="$ac_compile"
25200 case "(($ac_try" in
25201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25202 *) ac_try_echo=$ac_try;;
25204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25205 (eval "$ac_compile") 2>conftest.er1
25207 grep -v '^ *+' conftest.er1 >conftest.err
25209 cat conftest.err >&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } && {
25212 test -z "$ac_c_werror_flag" ||
25213 test ! -s conftest.err
25214 } && test -s conftest.$ac_objext; then
25215 # It does; now see whether it defined to BIG_ENDIAN or not.
25216 cat >conftest.$ac_ext <<_ACEOF
25219 cat confdefs.h >>conftest.$ac_ext
25220 cat >>conftest.$ac_ext <<_ACEOF
25221 /* end confdefs.h. */
25222 #include <sys/types.h>
25223 #include <sys/param.h>
25228 #if BYTE_ORDER != BIG_ENDIAN
25235 rm -f conftest.$ac_objext
25236 if { (ac_try="$ac_compile"
25237 case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25239 *) ac_try_echo=$ac_try;;
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_compile") 2>conftest.er1
25244 grep -v '^ *+' conftest.er1 >conftest.err
25246 cat conftest.err >&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } && {
25249 test -z "$ac_c_werror_flag" ||
25250 test ! -s conftest.err
25251 } && test -s conftest.$ac_objext; then
25252 ac_cv_c_bigendian=yes
25254 echo "$as_me: failed program was:" >&5
25255 sed 's/^/| /' conftest.$ac_ext >&5
25257 ac_cv_c_bigendian=no
25260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25262 echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.$ac_ext >&5
25268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25269 if test $ac_cv_c_bigendian = unknown; then
25270 if test "$cross_compiling" = yes; then
25271 ac_cv_c_bigendian=unknown
25273 cat >conftest.$ac_ext <<_ACEOF
25276 cat confdefs.h >>conftest.$ac_ext
25277 cat >>conftest.$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25280 /* Are we little or big endian? From Harbison&Steele. */
25284 char c[sizeof (long)];
25287 exit (u.c[sizeof (long) - 1] == 1);
25290 rm -f conftest$ac_exeext
25291 if { (ac_try="$ac_link"
25292 case "(($ac_try" in
25293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25294 *) ac_try_echo=$ac_try;;
25296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25297 (eval "$ac_link") 2>&5
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25301 { (case "(($ac_try" in
25302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25303 *) ac_try_echo=$ac_try;;
25305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25306 (eval "$ac_try") 2>&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); }; }; then
25310 ac_cv_c_bigendian=no
25312 echo "$as_me: program exited with status $ac_status" >&5
25313 echo "$as_me: failed program was:" >&5
25314 sed 's/^/| /' conftest.$ac_ext >&5
25316 ( exit $ac_status )
25317 ac_cv_c_bigendian=yes
25319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25325 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25326 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25327 if test $ac_cv_c_bigendian = unknown; then
25328 { 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
25329 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;}
25331 if test $ac_cv_c_bigendian = yes; then
25332 cat >>confdefs.h <<\_ACEOF
25333 #define WORDS_BIGENDIAN 1
25342 ac_cpp='$CXXCPP $CPPFLAGS'
25343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25349 for ac_header in iostream
25351 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25352 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25354 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25355 echo $ECHO_N "(cached) $ECHO_C" >&6
25357 cat >conftest.$ac_ext <<_ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25365 #include <$ac_header>
25367 rm -f conftest.$ac_objext
25368 if { (ac_try="$ac_compile"
25369 case "(($ac_try" in
25370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25371 *) ac_try_echo=$ac_try;;
25373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25374 (eval "$ac_compile") 2>conftest.er1
25376 grep -v '^ *+' conftest.er1 >conftest.err
25378 cat conftest.err >&5
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); } && {
25381 test -z "$ac_cxx_werror_flag" ||
25382 test ! -s conftest.err
25383 } && test -s conftest.$ac_objext; then
25384 eval "$as_ac_Header=yes"
25386 echo "$as_me: failed program was:" >&5
25387 sed 's/^/| /' conftest.$ac_ext >&5
25389 eval "$as_ac_Header=no"
25392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25394 ac_res=`eval echo '${'$as_ac_Header'}'`
25395 { echo "$as_me:$LINENO: result: $ac_res" >&5
25396 echo "${ECHO_T}$ac_res" >&6; }
25397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25398 cat >>confdefs.h <<_ACEOF
25399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25407 if test "$ac_cv_header_iostream" = "yes" ; then
25410 cat >>confdefs.h <<\_ACEOF
25411 #define wxUSE_IOSTREAMH 1
25417 ac_cpp='$CPP $CPPFLAGS'
25418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25425 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25426 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25427 if test "${wx_cv_explicit+set}" = set; then
25428 echo $ECHO_N "(cached) $ECHO_C" >&6
25433 ac_cpp='$CXXCPP $CPPFLAGS'
25434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25439 cat >conftest.$ac_ext <<_ACEOF
25442 cat confdefs.h >>conftest.$ac_ext
25443 cat >>conftest.$ac_ext <<_ACEOF
25444 /* end confdefs.h. */
25446 class Foo { public: explicit Foo(int) {} };
25458 rm -f conftest.$ac_objext
25459 if { (ac_try="$ac_compile"
25460 case "(($ac_try" in
25461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25462 *) ac_try_echo=$ac_try;;
25464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25465 (eval "$ac_compile") 2>conftest.er1
25467 grep -v '^ *+' conftest.er1 >conftest.err
25469 cat conftest.err >&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); } && {
25472 test -z "$ac_cxx_werror_flag" ||
25473 test ! -s conftest.err
25474 } && test -s conftest.$ac_objext; then
25476 cat >conftest.$ac_ext <<_ACEOF
25479 cat confdefs.h >>conftest.$ac_ext
25480 cat >>conftest.$ac_ext <<_ACEOF
25481 /* end confdefs.h. */
25483 class Foo { public: explicit Foo(int) {} };
25484 static void TakeFoo(const Foo& foo) { }
25497 rm -f conftest.$ac_objext
25498 if { (ac_try="$ac_compile"
25499 case "(($ac_try" in
25500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25501 *) ac_try_echo=$ac_try;;
25503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25504 (eval "$ac_compile") 2>conftest.er1
25506 grep -v '^ *+' conftest.er1 >conftest.err
25508 cat conftest.err >&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); } && {
25511 test -z "$ac_cxx_werror_flag" ||
25512 test ! -s conftest.err
25513 } && test -s conftest.$ac_objext; then
25516 echo "$as_me: failed program was:" >&5
25517 sed 's/^/| /' conftest.$ac_ext >&5
25523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25526 echo "$as_me: failed program was:" >&5
25527 sed 's/^/| /' conftest.$ac_ext >&5
25533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25536 ac_cpp='$CPP $CPPFLAGS'
25537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25543 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25544 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25546 if test "$wx_cv_explicit" = "yes"; then
25547 cat >>confdefs.h <<\_ACEOF
25548 #define HAVE_EXPLICIT 1
25554 if test "x$SUNCXX" = xyes; then
25555 CXXFLAGS="-features=tmplife $CXXFLAGS"
25558 if test "x$SUNCC" = xyes; then
25559 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25562 if test "x$SGICC" = "xyes"; then
25563 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25564 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25565 if test "${wx_cv_prog_sgicc744+set}" = set; then
25566 echo $ECHO_N "(cached) $ECHO_C" >&6
25569 cat >conftest.$ac_ext <<_ACEOF
25572 cat confdefs.h >>conftest.$ac_ext
25573 cat >>conftest.$ac_ext <<_ACEOF
25574 /* end confdefs.h. */
25580 #if _SGI_COMPILER_VERSION >= 744
25581 chock me: mipsPro is 7.4.4 or later
25588 rm -f conftest.$ac_objext
25589 if { (ac_try="$ac_compile"
25590 case "(($ac_try" in
25591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25592 *) ac_try_echo=$ac_try;;
25594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25595 (eval "$ac_compile") 2>conftest.er1
25597 grep -v '^ *+' conftest.er1 >conftest.err
25599 cat conftest.err >&5
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); } && {
25602 test -z "$ac_c_werror_flag" ||
25603 test ! -s conftest.err
25604 } && test -s conftest.$ac_objext; then
25605 wx_cv_prog_sgicc744=no
25607 echo "$as_me: failed program was:" >&5
25608 sed 's/^/| /' conftest.$ac_ext >&5
25610 wx_cv_prog_sgicc744=yes
25614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25618 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25619 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25621 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25622 CFLAGS="-woff 3970 $CFLAGS"
25625 if test "x$SGICXX" = "xyes"; then
25626 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25627 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25628 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25629 echo $ECHO_N "(cached) $ECHO_C" >&6
25633 ac_cpp='$CXXCPP $CPPFLAGS'
25634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25638 cat >conftest.$ac_ext <<_ACEOF
25641 cat confdefs.h >>conftest.$ac_ext
25642 cat >>conftest.$ac_ext <<_ACEOF
25643 /* end confdefs.h. */
25649 #if _SGI_COMPILER_VERSION >= 744
25650 chock me: mipsPro is 7.4.4 or later
25657 rm -f conftest.$ac_objext
25658 if { (ac_try="$ac_compile"
25659 case "(($ac_try" in
25660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25661 *) ac_try_echo=$ac_try;;
25663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25664 (eval "$ac_compile") 2>conftest.er1
25666 grep -v '^ *+' conftest.er1 >conftest.err
25668 cat conftest.err >&5
25669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670 (exit $ac_status); } && {
25671 test -z "$ac_cxx_werror_flag" ||
25672 test ! -s conftest.err
25673 } && test -s conftest.$ac_objext; then
25674 wx_cv_prog_sgicxx744=no
25676 echo "$as_me: failed program was:" >&5
25677 sed 's/^/| /' conftest.$ac_ext >&5
25679 wx_cv_prog_sgicxx744=yes
25683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25685 ac_cpp='$CPP $CPPFLAGS'
25686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25693 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25694 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25696 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25697 CXXFLAGS="-woff 3970 $CXXFLAGS"
25701 if test "x$HPCC" = "xyes"; then
25702 CFLAGS="+W 2011,2450 $CFLAGS"
25704 if test "x$HPCXX" = "xyes"; then
25705 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25708 if test "x$COMPAQCXX" = "xyes"; then
25709 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25713 ac_cpp='$CXXCPP $CPPFLAGS'
25714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25719 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25720 if test "$wxUSE_UNICODE" = "yes"; then
25721 std_string="std::wstring"
25722 char_type="wchar_t"
25724 std_string="std::string"
25728 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25729 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25730 if test "${wx_cv_class_stdstring+set}" = set; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25734 cat >conftest.$ac_ext <<_ACEOF
25737 cat confdefs.h >>conftest.$ac_ext
25738 cat >>conftest.$ac_ext <<_ACEOF
25739 /* end confdefs.h. */
25749 rm -f conftest.$ac_objext
25750 if { (ac_try="$ac_compile"
25751 case "(($ac_try" in
25752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25753 *) ac_try_echo=$ac_try;;
25755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25756 (eval "$ac_compile") 2>conftest.er1
25758 grep -v '^ *+' conftest.er1 >conftest.err
25760 cat conftest.err >&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } && {
25763 test -z "$ac_cxx_werror_flag" ||
25764 test ! -s conftest.err
25765 } && test -s conftest.$ac_objext; then
25766 wx_cv_class_stdstring=yes
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.$ac_ext >&5
25771 wx_cv_class_stdstring=no
25775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25779 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25780 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25782 if test "$wx_cv_class_stdstring" = yes; then
25783 if test "$wxUSE_UNICODE" = "yes"; then
25784 cat >>confdefs.h <<\_ACEOF
25785 #define HAVE_STD_WSTRING 1
25790 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25791 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25792 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25793 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 cat >conftest.$ac_ext <<_ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25803 #ifdef HAVE_WCHAR_H
25805 # include <stddef.h>
25807 # include <wchar.h>
25809 #ifdef HAVE_STDLIB_H
25810 # include <stdlib.h>
25818 std::basic_string<$char_type> foo;
25819 const $char_type* dummy = foo.c_str();
25824 rm -f conftest.$ac_objext
25825 if { (ac_try="$ac_compile"
25826 case "(($ac_try" in
25827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25828 *) ac_try_echo=$ac_try;;
25830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25831 (eval "$ac_compile") 2>conftest.er1
25833 grep -v '^ *+' conftest.er1 >conftest.err
25835 cat conftest.err >&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } && {
25838 test -z "$ac_cxx_werror_flag" ||
25839 test ! -s conftest.err
25840 } && test -s conftest.$ac_objext; then
25841 wx_cv_class_stdbasicstring=yes
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25846 wx_cv_class_stdbasicstring=no
25850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25854 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25855 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25857 if test "$wx_cv_class_stdbasicstring" != yes; then
25858 if test "$wxUSE_STL" = "yes"; then
25859 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25860 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25861 { (exit 1); exit 1; }; }
25862 elif test "$wxUSE_STD_STRING" = "yes"; then
25863 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25864 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25865 { (exit 1); exit 1; }; }
25867 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25868 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25869 wxUSE_STD_STRING=no
25875 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25876 { echo "$as_me:$LINENO: checking for std::istream" >&5
25877 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25878 if test "${ac_cv_type_std__istream+set}" = set; then
25879 echo $ECHO_N "(cached) $ECHO_C" >&6
25881 cat >conftest.$ac_ext <<_ACEOF
25884 cat confdefs.h >>conftest.$ac_ext
25885 cat >>conftest.$ac_ext <<_ACEOF
25886 /* end confdefs.h. */
25887 #include <iostream>
25889 typedef std::istream ac__type_new_;
25893 if ((ac__type_new_ *) 0)
25895 if (sizeof (ac__type_new_))
25901 rm -f conftest.$ac_objext
25902 if { (ac_try="$ac_compile"
25903 case "(($ac_try" in
25904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25905 *) ac_try_echo=$ac_try;;
25907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25908 (eval "$ac_compile") 2>conftest.er1
25910 grep -v '^ *+' conftest.er1 >conftest.err
25912 cat conftest.err >&5
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); } && {
25915 test -z "$ac_cxx_werror_flag" ||
25916 test ! -s conftest.err
25917 } && test -s conftest.$ac_objext; then
25918 ac_cv_type_std__istream=yes
25920 echo "$as_me: failed program was:" >&5
25921 sed 's/^/| /' conftest.$ac_ext >&5
25923 ac_cv_type_std__istream=no
25926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25928 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25929 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25930 if test $ac_cv_type_std__istream = yes; then
25932 cat >>confdefs.h <<_ACEOF
25933 #define HAVE_STD__ISTREAM 1
25938 wxUSE_STD_IOSTREAM=no
25940 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25941 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25942 if test "${ac_cv_type_std__ostream+set}" = set; then
25943 echo $ECHO_N "(cached) $ECHO_C" >&6
25945 cat >conftest.$ac_ext <<_ACEOF
25948 cat confdefs.h >>conftest.$ac_ext
25949 cat >>conftest.$ac_ext <<_ACEOF
25950 /* end confdefs.h. */
25951 #include <iostream>
25953 typedef std::ostream ac__type_new_;
25957 if ((ac__type_new_ *) 0)
25959 if (sizeof (ac__type_new_))
25965 rm -f conftest.$ac_objext
25966 if { (ac_try="$ac_compile"
25967 case "(($ac_try" in
25968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25969 *) ac_try_echo=$ac_try;;
25971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25972 (eval "$ac_compile") 2>conftest.er1
25974 grep -v '^ *+' conftest.er1 >conftest.err
25976 cat conftest.err >&5
25977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25978 (exit $ac_status); } && {
25979 test -z "$ac_cxx_werror_flag" ||
25980 test ! -s conftest.err
25981 } && test -s conftest.$ac_objext; then
25982 ac_cv_type_std__ostream=yes
25984 echo "$as_me: failed program was:" >&5
25985 sed 's/^/| /' conftest.$ac_ext >&5
25987 ac_cv_type_std__ostream=no
25990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25992 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25993 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25994 if test $ac_cv_type_std__ostream = yes; then
25996 cat >>confdefs.h <<_ACEOF
25997 #define HAVE_STD__OSTREAM 1
26002 wxUSE_STD_IOSTREAM=no
26006 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26007 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26008 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26009 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26010 { (exit 1); exit 1; }; }
26012 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26013 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26018 if test "$wxUSE_STL" = "yes"; then
26019 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26020 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26021 if test "${wx_cv_lib_stl+set}" = set; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26024 cat >conftest.$ac_ext <<_ACEOF
26027 cat confdefs.h >>conftest.$ac_ext
26028 cat >>conftest.$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26031 #include <functional>
26032 #include <algorithm>
26038 std::vector<int> moo;
26039 std::list<int> foo;
26040 std::vector<int>::iterator it =
26041 std::find_if(moo.begin(), moo.end(),
26042 std::bind2nd(std::less<int>(), 3));
26047 rm -f conftest.$ac_objext
26048 if { (ac_try="$ac_compile"
26049 case "(($ac_try" in
26050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26051 *) ac_try_echo=$ac_try;;
26053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26054 (eval "$ac_compile") 2>conftest.er1
26056 grep -v '^ *+' conftest.er1 >conftest.err
26058 cat conftest.err >&5
26059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060 (exit $ac_status); } && {
26061 test -z "$ac_cxx_werror_flag" ||
26062 test ! -s conftest.err
26063 } && test -s conftest.$ac_objext; then
26066 echo "$as_me: failed program was:" >&5
26067 sed 's/^/| /' conftest.$ac_ext >&5
26073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26076 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26077 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26079 if test "$wx_cv_lib_stl" != yes; then
26080 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26081 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26082 { (exit 1); exit 1; }; }
26085 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26086 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26087 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26088 echo $ECHO_N "(cached) $ECHO_C" >&6
26090 cat >conftest.$ac_ext <<_ACEOF
26093 cat confdefs.h >>conftest.$ac_ext
26094 cat >>conftest.$ac_ext <<_ACEOF
26095 /* end confdefs.h. */
26100 std::string foo, bar;
26102 foo.compare(1, 1, bar);
26103 foo.compare(1, 1, bar, 1, 1);
26105 foo.compare(1, 1, "");
26106 foo.compare(1, 1, "", 2);
26111 rm -f conftest.$ac_objext
26112 if { (ac_try="$ac_compile"
26113 case "(($ac_try" in
26114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26115 *) ac_try_echo=$ac_try;;
26117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26118 (eval "$ac_compile") 2>conftest.er1
26120 grep -v '^ *+' conftest.er1 >conftest.err
26122 cat conftest.err >&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } && {
26125 test -z "$ac_cxx_werror_flag" ||
26126 test ! -s conftest.err
26127 } && test -s conftest.$ac_objext; then
26128 wx_cv_func_stdstring_compare=yes
26130 echo "$as_me: failed program was:" >&5
26131 sed 's/^/| /' conftest.$ac_ext >&5
26133 wx_cv_func_stdstring_compare=no
26137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26140 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26141 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26143 if test "$wx_cv_func_stdstring_compare" = yes; then
26144 cat >>confdefs.h <<\_ACEOF
26145 #define HAVE_STD_STRING_COMPARE 1
26150 if test "$wx_cv_class_gnuhashmapset" = yes; then
26151 cat >>confdefs.h <<\_ACEOF
26152 #define HAVE_EXT_HASH_MAP 1
26155 cat >>confdefs.h <<\_ACEOF
26156 #define HAVE_GNU_CXX_HASH_MAP 1
26161 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26162 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26163 if test "${ac_cv_header_unordered_map+set}" = set; then
26164 echo $ECHO_N "(cached) $ECHO_C" >&6
26166 cat >conftest.$ac_ext <<_ACEOF
26169 cat confdefs.h >>conftest.$ac_ext
26170 cat >>conftest.$ac_ext <<_ACEOF
26171 /* end confdefs.h. */
26175 #include <unordered_map>
26177 rm -f conftest.$ac_objext
26178 if { (ac_try="$ac_compile"
26179 case "(($ac_try" in
26180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26181 *) ac_try_echo=$ac_try;;
26183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26184 (eval "$ac_compile") 2>conftest.er1
26186 grep -v '^ *+' conftest.er1 >conftest.err
26188 cat conftest.err >&5
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); } && {
26191 test -z "$ac_cxx_werror_flag" ||
26192 test ! -s conftest.err
26193 } && test -s conftest.$ac_objext; then
26194 ac_cv_header_unordered_map=yes
26196 echo "$as_me: failed program was:" >&5
26197 sed 's/^/| /' conftest.$ac_ext >&5
26199 ac_cv_header_unordered_map=no
26202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26204 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26205 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26206 if test $ac_cv_header_unordered_map = yes; then
26207 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26208 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26209 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26210 echo $ECHO_N "(cached) $ECHO_C" >&6
26212 cat >conftest.$ac_ext <<_ACEOF
26215 cat confdefs.h >>conftest.$ac_ext
26216 cat >>conftest.$ac_ext <<_ACEOF
26217 /* end confdefs.h. */
26218 #include <unordered_map>
26219 #include <unordered_set>
26223 std::unordered_map<double*, char*> test1;
26224 std::unordered_set<char*> test2;
26229 rm -f conftest.$ac_objext
26230 if { (ac_try="$ac_compile"
26231 case "(($ac_try" in
26232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26233 *) ac_try_echo=$ac_try;;
26235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26236 (eval "$ac_compile") 2>conftest.er1
26238 grep -v '^ *+' conftest.er1 >conftest.err
26240 cat conftest.err >&5
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); } && {
26243 test -z "$ac_cxx_werror_flag" ||
26244 test ! -s conftest.err
26245 } && test -s conftest.$ac_objext; then
26246 wx_cv_class_stdunorderedmapset=yes
26248 echo "$as_me: failed program was:" >&5
26249 sed 's/^/| /' conftest.$ac_ext >&5
26251 wx_cv_class_stdunorderedmapset=no
26254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26258 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26259 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26264 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26265 cat >>confdefs.h <<\_ACEOF
26266 #define HAVE_STD_UNORDERED_MAP 1
26269 cat >>confdefs.h <<\_ACEOF
26270 #define HAVE_STD_UNORDERED_SET 1
26274 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26275 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26276 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26277 echo $ECHO_N "(cached) $ECHO_C" >&6
26279 cat >conftest.$ac_ext <<_ACEOF
26282 cat confdefs.h >>conftest.$ac_ext
26283 cat >>conftest.$ac_ext <<_ACEOF
26284 /* end confdefs.h. */
26288 #include <tr1/unordered_map>
26290 rm -f conftest.$ac_objext
26291 if { (ac_try="$ac_compile"
26292 case "(($ac_try" in
26293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26294 *) ac_try_echo=$ac_try;;
26296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26297 (eval "$ac_compile") 2>conftest.er1
26299 grep -v '^ *+' conftest.er1 >conftest.err
26301 cat conftest.err >&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } && {
26304 test -z "$ac_cxx_werror_flag" ||
26305 test ! -s conftest.err
26306 } && test -s conftest.$ac_objext; then
26307 ac_cv_header_tr1_unordered_map=yes
26309 echo "$as_me: failed program was:" >&5
26310 sed 's/^/| /' conftest.$ac_ext >&5
26312 ac_cv_header_tr1_unordered_map=no
26315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26317 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26318 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26319 if test $ac_cv_header_tr1_unordered_map = yes; then
26320 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26321 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26322 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26323 echo $ECHO_N "(cached) $ECHO_C" >&6
26325 cat >conftest.$ac_ext <<_ACEOF
26328 cat confdefs.h >>conftest.$ac_ext
26329 cat >>conftest.$ac_ext <<_ACEOF
26330 /* end confdefs.h. */
26331 #include <tr1/unordered_map>
26332 #include <tr1/unordered_set>
26336 std::tr1::unordered_map<double*, char*> test1;
26337 std::tr1::unordered_set<char*> test2;
26338 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26339 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26345 rm -f conftest.$ac_objext
26346 if { (ac_try="$ac_compile"
26347 case "(($ac_try" in
26348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26349 *) ac_try_echo=$ac_try;;
26351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26352 (eval "$ac_compile") 2>conftest.er1
26354 grep -v '^ *+' conftest.er1 >conftest.err
26356 cat conftest.err >&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); } && {
26359 test -z "$ac_cxx_werror_flag" ||
26360 test ! -s conftest.err
26361 } && test -s conftest.$ac_objext; then
26362 wx_cv_class_tr1unorderedmapset=yes
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.$ac_ext >&5
26367 wx_cv_class_tr1unorderedmapset=no
26370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26374 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26375 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26380 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26381 cat >>confdefs.h <<\_ACEOF
26382 #define HAVE_TR1_UNORDERED_MAP 1
26385 cat >>confdefs.h <<\_ACEOF
26386 #define HAVE_TR1_UNORDERED_SET 1
26390 { echo "$as_me:$LINENO: checking for hash_map" >&5
26391 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26392 if test "${ac_cv_header_hash_map+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26395 cat >conftest.$ac_ext <<_ACEOF
26398 cat confdefs.h >>conftest.$ac_ext
26399 cat >>conftest.$ac_ext <<_ACEOF
26400 /* end confdefs.h. */
26404 #include <hash_map>
26406 rm -f conftest.$ac_objext
26407 if { (ac_try="$ac_compile"
26408 case "(($ac_try" in
26409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26410 *) ac_try_echo=$ac_try;;
26412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26413 (eval "$ac_compile") 2>conftest.er1
26415 grep -v '^ *+' conftest.er1 >conftest.err
26417 cat conftest.err >&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); } && {
26420 test -z "$ac_cxx_werror_flag" ||
26421 test ! -s conftest.err
26422 } && test -s conftest.$ac_objext; then
26423 ac_cv_header_hash_map=yes
26425 echo "$as_me: failed program was:" >&5
26426 sed 's/^/| /' conftest.$ac_ext >&5
26428 ac_cv_header_hash_map=no
26431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26433 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26434 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26435 if test $ac_cv_header_hash_map = yes; then
26436 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26437 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26438 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26439 echo $ECHO_N "(cached) $ECHO_C" >&6
26441 cat >conftest.$ac_ext <<_ACEOF
26444 cat confdefs.h >>conftest.$ac_ext
26445 cat >>conftest.$ac_ext <<_ACEOF
26446 /* end confdefs.h. */
26447 #include <hash_map>
26448 #include <hash_set>
26452 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26453 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26458 rm -f conftest.$ac_objext
26459 if { (ac_try="$ac_compile"
26460 case "(($ac_try" in
26461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26462 *) ac_try_echo=$ac_try;;
26464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26465 (eval "$ac_compile") 2>conftest.er1
26467 grep -v '^ *+' conftest.er1 >conftest.err
26469 cat conftest.err >&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } && {
26472 test -z "$ac_cxx_werror_flag" ||
26473 test ! -s conftest.err
26474 } && test -s conftest.$ac_objext; then
26475 wx_cv_class_stdhashmapset=yes
26477 echo "$as_me: failed program was:" >&5
26478 sed 's/^/| /' conftest.$ac_ext >&5
26480 wx_cv_class_stdhashmapset=no
26483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26487 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26488 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26493 if test "$wx_cv_class_stdhashmapset" = yes; then
26494 cat >>confdefs.h <<\_ACEOF
26495 #define HAVE_HASH_MAP 1
26498 cat >>confdefs.h <<\_ACEOF
26499 #define HAVE_STD_HASH_MAP 1
26504 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26505 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26506 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26507 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 cat >conftest.$ac_ext <<_ACEOF
26512 cat confdefs.h >>conftest.$ac_ext
26513 cat >>conftest.$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26518 #include <ext/hash_map>
26520 rm -f conftest.$ac_objext
26521 if { (ac_try="$ac_compile"
26522 case "(($ac_try" in
26523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26524 *) ac_try_echo=$ac_try;;
26526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26527 (eval "$ac_compile") 2>conftest.er1
26529 grep -v '^ *+' conftest.er1 >conftest.err
26531 cat conftest.err >&5
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); } && {
26534 test -z "$ac_cxx_werror_flag" ||
26535 test ! -s conftest.err
26536 } && test -s conftest.$ac_objext; then
26537 ac_cv_header_ext_hash_map=yes
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.$ac_ext >&5
26542 ac_cv_header_ext_hash_map=no
26545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26547 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26548 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26549 if test $ac_cv_header_ext_hash_map = yes; then
26550 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26551 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26552 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26553 echo $ECHO_N "(cached) $ECHO_C" >&6
26555 cat >conftest.$ac_ext <<_ACEOF
26558 cat confdefs.h >>conftest.$ac_ext
26559 cat >>conftest.$ac_ext <<_ACEOF
26560 /* end confdefs.h. */
26561 #include <ext/hash_map>
26562 #include <ext/hash_set>
26566 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26567 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26572 rm -f conftest.$ac_objext
26573 if { (ac_try="$ac_compile"
26574 case "(($ac_try" in
26575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26576 *) ac_try_echo=$ac_try;;
26578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26579 (eval "$ac_compile") 2>conftest.er1
26581 grep -v '^ *+' conftest.er1 >conftest.err
26583 cat conftest.err >&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } && {
26586 test -z "$ac_cxx_werror_flag" ||
26587 test ! -s conftest.err
26588 } && test -s conftest.$ac_objext; then
26589 wx_cv_class_gnuhashmapset=yes
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.$ac_ext >&5
26594 wx_cv_class_gnuhashmapset=no
26597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26601 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26602 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26612 ac_cpp='$CXXCPP $CPPFLAGS'
26613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26616 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26617 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26618 if test -z "$CXXCPP"; then
26619 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26620 echo $ECHO_N "(cached) $ECHO_C" >&6
26622 # Double quotes because CXXCPP needs to be expanded
26623 for CXXCPP in "$CXX -E" "/lib/cpp"
26625 ac_preproc_ok=false
26626 for ac_cxx_preproc_warn_flag in '' yes
26628 # Use a header file that comes with gcc, so configuring glibc
26629 # with a fresh cross-compiler works.
26630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26631 # <limits.h> exists even on freestanding compilers.
26632 # On the NeXT, cc -E runs the code through the compiler's parser,
26633 # not just through cpp. "Syntax error" is here to catch this case.
26634 cat >conftest.$ac_ext <<_ACEOF
26637 cat confdefs.h >>conftest.$ac_ext
26638 cat >>conftest.$ac_ext <<_ACEOF
26639 /* end confdefs.h. */
26641 # include <limits.h>
26643 # include <assert.h>
26647 if { (ac_try="$ac_cpp conftest.$ac_ext"
26648 case "(($ac_try" in
26649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26650 *) ac_try_echo=$ac_try;;
26652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26655 grep -v '^ *+' conftest.er1 >conftest.err
26657 cat conftest.err >&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } >/dev/null && {
26660 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26661 test ! -s conftest.err
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26668 # Broken: fails on valid input.
26672 rm -f conftest.err conftest.$ac_ext
26674 # OK, works on sane cases. Now check whether nonexistent headers
26675 # can be detected and how.
26676 cat >conftest.$ac_ext <<_ACEOF
26679 cat confdefs.h >>conftest.$ac_ext
26680 cat >>conftest.$ac_ext <<_ACEOF
26681 /* end confdefs.h. */
26682 #include <ac_nonexistent.h>
26684 if { (ac_try="$ac_cpp conftest.$ac_ext"
26685 case "(($ac_try" in
26686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26687 *) ac_try_echo=$ac_try;;
26689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26692 grep -v '^ *+' conftest.er1 >conftest.err
26694 cat conftest.err >&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); } >/dev/null && {
26697 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26698 test ! -s conftest.err
26700 # Broken: success on invalid input.
26703 echo "$as_me: failed program was:" >&5
26704 sed 's/^/| /' conftest.$ac_ext >&5
26706 # Passes both tests.
26711 rm -f conftest.err conftest.$ac_ext
26714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26715 rm -f conftest.err conftest.$ac_ext
26716 if $ac_preproc_ok; then
26721 ac_cv_prog_CXXCPP=$CXXCPP
26724 CXXCPP=$ac_cv_prog_CXXCPP
26726 ac_cv_prog_CXXCPP=$CXXCPP
26728 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26729 echo "${ECHO_T}$CXXCPP" >&6; }
26730 ac_preproc_ok=false
26731 for ac_cxx_preproc_warn_flag in '' yes
26733 # Use a header file that comes with gcc, so configuring glibc
26734 # with a fresh cross-compiler works.
26735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26736 # <limits.h> exists even on freestanding compilers.
26737 # On the NeXT, cc -E runs the code through the compiler's parser,
26738 # not just through cpp. "Syntax error" is here to catch this case.
26739 cat >conftest.$ac_ext <<_ACEOF
26742 cat confdefs.h >>conftest.$ac_ext
26743 cat >>conftest.$ac_ext <<_ACEOF
26744 /* end confdefs.h. */
26746 # include <limits.h>
26748 # include <assert.h>
26752 if { (ac_try="$ac_cpp conftest.$ac_ext"
26753 case "(($ac_try" in
26754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26755 *) ac_try_echo=$ac_try;;
26757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26760 grep -v '^ *+' conftest.er1 >conftest.err
26762 cat conftest.err >&5
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); } >/dev/null && {
26765 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26766 test ! -s conftest.err
26770 echo "$as_me: failed program was:" >&5
26771 sed 's/^/| /' conftest.$ac_ext >&5
26773 # Broken: fails on valid input.
26777 rm -f conftest.err conftest.$ac_ext
26779 # OK, works on sane cases. Now check whether nonexistent headers
26780 # can be detected and how.
26781 cat >conftest.$ac_ext <<_ACEOF
26784 cat confdefs.h >>conftest.$ac_ext
26785 cat >>conftest.$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26787 #include <ac_nonexistent.h>
26789 if { (ac_try="$ac_cpp conftest.$ac_ext"
26790 case "(($ac_try" in
26791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26792 *) ac_try_echo=$ac_try;;
26794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26797 grep -v '^ *+' conftest.er1 >conftest.err
26799 cat conftest.err >&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } >/dev/null && {
26802 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26803 test ! -s conftest.err
26805 # Broken: success on invalid input.
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26811 # Passes both tests.
26816 rm -f conftest.err conftest.$ac_ext
26819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26820 rm -f conftest.err conftest.$ac_ext
26821 if $ac_preproc_ok; then
26824 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26825 See \`config.log' for more details." >&5
26826 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26827 See \`config.log' for more details." >&2;}
26828 { (exit 1); exit 1; }; }
26832 ac_cpp='$CXXCPP $CPPFLAGS'
26833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26840 for ac_header in type_traits tr1/type_traits
26842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26844 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26847 echo $ECHO_N "(cached) $ECHO_C" >&6
26849 ac_res=`eval echo '${'$as_ac_Header'}'`
26850 { echo "$as_me:$LINENO: result: $ac_res" >&5
26851 echo "${ECHO_T}$ac_res" >&6; }
26853 # Is the header compilable?
26854 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26856 cat >conftest.$ac_ext <<_ACEOF
26859 cat confdefs.h >>conftest.$ac_ext
26860 cat >>conftest.$ac_ext <<_ACEOF
26861 /* end confdefs.h. */
26862 $ac_includes_default
26863 #include <$ac_header>
26865 rm -f conftest.$ac_objext
26866 if { (ac_try="$ac_compile"
26867 case "(($ac_try" in
26868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26869 *) ac_try_echo=$ac_try;;
26871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26872 (eval "$ac_compile") 2>conftest.er1
26874 grep -v '^ *+' conftest.er1 >conftest.err
26876 cat conftest.err >&5
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); } && {
26879 test -z "$ac_cxx_werror_flag" ||
26880 test ! -s conftest.err
26881 } && test -s conftest.$ac_objext; then
26882 ac_header_compiler=yes
26884 echo "$as_me: failed program was:" >&5
26885 sed 's/^/| /' conftest.$ac_ext >&5
26887 ac_header_compiler=no
26890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26891 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26892 echo "${ECHO_T}$ac_header_compiler" >&6; }
26894 # Is the header present?
26895 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26897 cat >conftest.$ac_ext <<_ACEOF
26900 cat confdefs.h >>conftest.$ac_ext
26901 cat >>conftest.$ac_ext <<_ACEOF
26902 /* end confdefs.h. */
26903 #include <$ac_header>
26905 if { (ac_try="$ac_cpp conftest.$ac_ext"
26906 case "(($ac_try" in
26907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26908 *) ac_try_echo=$ac_try;;
26910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26911 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26913 grep -v '^ *+' conftest.er1 >conftest.err
26915 cat conftest.err >&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); } >/dev/null && {
26918 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26919 test ! -s conftest.err
26921 ac_header_preproc=yes
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.$ac_ext >&5
26926 ac_header_preproc=no
26929 rm -f conftest.err conftest.$ac_ext
26930 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26931 echo "${ECHO_T}$ac_header_preproc" >&6; }
26933 # So? What about this header?
26934 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26939 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26940 ac_header_preproc=yes
26943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26947 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26948 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26949 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26950 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26953 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26954 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26956 ## ----------------------------------------- ##
26957 ## Report this to wx-dev@lists.wxwidgets.org ##
26958 ## ----------------------------------------- ##
26960 ) | sed "s/^/$as_me: WARNING: /" >&2
26963 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26966 echo $ECHO_N "(cached) $ECHO_C" >&6
26968 eval "$as_ac_Header=\$ac_header_preproc"
26970 ac_res=`eval echo '${'$as_ac_Header'}'`
26971 { echo "$as_me:$LINENO: result: $ac_res" >&5
26972 echo "${ECHO_T}$ac_res" >&6; }
26975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26976 cat >>confdefs.h <<_ACEOF
26977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26987 if test -n "$GCC"; then
26988 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26989 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26990 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26991 echo $ECHO_N "(cached) $ECHO_C" >&6
26994 cat >conftest.$ac_ext <<_ACEOF
26997 cat confdefs.h >>conftest.$ac_ext
26998 cat >>conftest.$ac_ext <<_ACEOF
26999 /* end confdefs.h. */
27005 unsigned int value=0;
27006 /* wxAtomicInc doesn't use return value here */
27007 __sync_fetch_and_add(&value, 2);
27008 __sync_sub_and_fetch(&value, 1);
27009 /* but wxAtomicDec does, so mimic that: */
27010 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27016 rm -f conftest.$ac_objext conftest$ac_exeext
27017 if { (ac_try="$ac_link"
27018 case "(($ac_try" in
27019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27020 *) ac_try_echo=$ac_try;;
27022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27023 (eval "$ac_link") 2>conftest.er1
27025 grep -v '^ *+' conftest.er1 >conftest.err
27027 cat conftest.err >&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } && {
27030 test -z "$ac_cxx_werror_flag" ||
27031 test ! -s conftest.err
27032 } && test -s conftest$ac_exeext &&
27033 $as_test_x conftest$ac_exeext; then
27034 wx_cv_cc_gcc_atomic_builtins=yes
27036 echo "$as_me: failed program was:" >&5
27037 sed 's/^/| /' conftest.$ac_ext >&5
27039 wx_cv_cc_gcc_atomic_builtins=no
27042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27043 conftest$ac_exeext conftest.$ac_ext
27047 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27048 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27049 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27050 cat >>confdefs.h <<\_ACEOF
27051 #define HAVE_GCC_ATOMIC_BUILTINS 1
27059 ac_cpp='$CPP $CPPFLAGS'
27060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27067 /usr/local/include \
27068 /usr/local/X11/include \
27069 /usr/local/include/X11 \
27070 /usr/local/X11R7/include \
27071 /usr/local/X11R6/include \
27072 /usr/local/include/X11R7 \
27073 /usr/local/include/X11R6 \
27075 /usr/Motif-2.1/include \
27076 /usr/Motif-1.2/include \
27077 /usr/include/Motif1.2 \
27080 /usr/openwin/include \
27084 /usr/X11R7/include \
27085 /usr/X11R6/include \
27086 /usr/X11R6.4/include \
27088 /usr/include/X11R7 \
27089 /usr/include/X11R6 \
27094 /usr/XFree86/include/X11 \
27097 /usr/local/X1R5/include \
27098 /usr/local/include/X11R5 \
27099 /usr/X11R5/include \
27100 /usr/include/X11R5 \
27102 /usr/local/X11R4/include \
27103 /usr/local/include/X11R4 \
27104 /usr/X11R4/include \
27105 /usr/include/X11R4 \
27107 /usr/openwin/share/include"
27109 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27110 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27114 if test "${wx_cv_std_libpath+set}" = set; then
27115 echo $ECHO_N "(cached) $ECHO_C" >&6
27118 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27119 for e in a so sl dylib dll.a; do
27121 if test -f $libc; then
27124 cat >conftest.$ac_ext <<_ACEOF
27128 cat confdefs.h >>conftest.$ac_ext
27129 cat >>conftest.$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27131 int main() { return 0; }
27134 rm -f conftest.$ac_objext conftest$ac_exeext
27135 if { (ac_try="$ac_link"
27136 case "(($ac_try" in
27137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27138 *) ac_try_echo=$ac_try;;
27140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27141 (eval "$ac_link") 2>conftest.er1
27143 grep -v '^ *+' conftest.er1 >conftest.err
27145 cat conftest.err >&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } && {
27148 test -z "$ac_c_werror_flag" ||
27149 test ! -s conftest.err
27150 } && test -s conftest$ac_exeext &&
27151 $as_test_x conftest$ac_exeext; then
27152 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27161 conftest$ac_exeext conftest.$ac_ext
27163 if test "x$wx_cv_std_libpath" != "x"; then
27176 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27177 wx_cv_std_libpath="lib/64"
27182 if test "$ac_cv_sizeof_void_p" = 8; then
27183 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27184 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
27185 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27186 wx_cv_std_libpath="lib64"
27191 if test -d '/usr/lib/i386-linux-gnu'; then
27192 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
27197 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27198 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
27203 if test -z "$wx_cv_std_libpath"; then
27204 wx_cv_std_libpath="lib"
27207 if test -z "$wx_cv_std_libfullpath"; then
27208 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
27212 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27213 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27215 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27217 if test "$build" != "$host" -a "$GCC" = yes; then
27218 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27219 cross_root=`dirname $cross_root`
27220 cross_root=`dirname $cross_root`
27222 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27223 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27224 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27226 if test -z "$PKG_CONFIG_PATH"; then
27227 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27228 export PKG_CONFIG_PATH
27231 if test -z "$x_includes" -o "$x_includes" = NONE; then
27234 for ac_dir in $SEARCH_INCLUDE /usr/include
27236 if test -f "$ac_dir/X11/Intrinsic.h"; then
27237 ac_find_includes=$ac_dir
27242 x_includes=$ac_find_includes
27244 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27247 for ac_dir in $SEARCH_LIB
27249 for ac_extension in a so sl dylib dll.a; do
27250 if test -f "$ac_dir/libXt.$ac_extension"; then
27251 ac_find_libraries=$ac_dir
27257 x_libraries=$ac_find_libraries
27263 cat >confcache <<\_ACEOF
27264 # This file is a shell script that caches the results of configure
27265 # tests run on this system so they can be shared between configure
27266 # scripts and configure runs, see configure's option --config-cache.
27267 # It is not useful on other systems. If it contains results you don't
27268 # want to keep, you may remove or edit it.
27270 # config.status only pays attention to the cache file if you give it
27271 # the --recheck option to rerun configure.
27273 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27274 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27275 # following values.
27279 # The following way of writing the cache mishandles newlines in values,
27280 # but we know of no workaround that is simple, portable, and efficient.
27281 # So, we kill variables containing newlines.
27282 # Ultrix sh set writes to stderr and can't be redirected directly,
27283 # and sets the high bit in the cache file unless we assign to the vars.
27285 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27286 eval ac_val=\$$ac_var
27290 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27291 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27294 _ | IFS | as_nl) ;; #(
27295 *) $as_unset $ac_var ;;
27301 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27302 *${as_nl}ac_space=\ *)
27303 # `set' does not quote correctly, so add quotes (double-quote
27304 # substitution turns \\\\ into \\, and sed turns \\ into \).
27307 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27310 # `set' quotes correctly as required by POSIX, so do not add quotes.
27311 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27320 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27322 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27324 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27325 if test -w "$cache_file"; then
27326 test "x$cache_file" != "x/dev/null" &&
27327 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27328 echo "$as_me: updating cache $cache_file" >&6;}
27329 cat confcache >$cache_file
27331 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27332 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27337 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27338 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27339 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27340 if test "${wx_cv_lib_glibc21+set}" = set; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27344 cat >conftest.$ac_ext <<_ACEOF
27347 cat confdefs.h >>conftest.$ac_ext
27348 cat >>conftest.$ac_ext <<_ACEOF
27349 /* end confdefs.h. */
27350 #include <features.h>
27355 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27363 rm -f conftest.$ac_objext
27364 if { (ac_try="$ac_compile"
27365 case "(($ac_try" in
27366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27367 *) ac_try_echo=$ac_try;;
27369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27370 (eval "$ac_compile") 2>conftest.er1
27372 grep -v '^ *+' conftest.er1 >conftest.err
27374 cat conftest.err >&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } && {
27377 test -z "$ac_c_werror_flag" ||
27378 test ! -s conftest.err
27379 } && test -s conftest.$ac_objext; then
27381 wx_cv_lib_glibc21=yes
27384 echo "$as_me: failed program was:" >&5
27385 sed 's/^/| /' conftest.$ac_ext >&5
27388 wx_cv_lib_glibc21=no
27393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27396 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27397 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27398 if test "$wx_cv_lib_glibc21" = "yes"; then
27399 cat >>confdefs.h <<\_ACEOF
27400 #define wxHAVE_GLIBC2 1
27406 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27407 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27408 cat >>confdefs.h <<\_ACEOF
27409 #define _GNU_SOURCE 1
27420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27424 echo $ECHO_N "(cached) $ECHO_C" >&6
27426 cat >conftest.$ac_ext <<_ACEOF
27429 cat confdefs.h >>conftest.$ac_ext
27430 cat >>conftest.$ac_ext <<_ACEOF
27431 /* end confdefs.h. */
27432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27434 #define $ac_func innocuous_$ac_func
27436 /* System header to define __stub macros and hopefully few prototypes,
27437 which can conflict with char $ac_func (); below.
27438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27439 <limits.h> exists even on freestanding compilers. */
27442 # include <limits.h>
27444 # include <assert.h>
27449 /* Override any GCC internal prototype to avoid an error.
27450 Use char because int might match the return type of a GCC
27451 builtin and then its argument prototype would still apply. */
27456 /* The GNU C library defines this for functions which it implements
27457 to always fail with ENOSYS. Some functions are actually named
27458 something starting with __ and the normal name is an alias. */
27459 #if defined __stub_$ac_func || defined __stub___$ac_func
27466 return $ac_func ();
27471 rm -f conftest.$ac_objext conftest$ac_exeext
27472 if { (ac_try="$ac_link"
27473 case "(($ac_try" in
27474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27475 *) ac_try_echo=$ac_try;;
27477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27478 (eval "$ac_link") 2>conftest.er1
27480 grep -v '^ *+' conftest.er1 >conftest.err
27482 cat conftest.err >&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); } && {
27485 test -z "$ac_c_werror_flag" ||
27486 test ! -s conftest.err
27487 } && test -s conftest$ac_exeext &&
27488 $as_test_x conftest$ac_exeext; then
27489 eval "$as_ac_var=yes"
27491 echo "$as_me: failed program was:" >&5
27492 sed 's/^/| /' conftest.$ac_ext >&5
27494 eval "$as_ac_var=no"
27497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27498 conftest$ac_exeext conftest.$ac_ext
27500 ac_res=`eval echo '${'$as_ac_var'}'`
27501 { echo "$as_me:$LINENO: result: $ac_res" >&5
27502 echo "${ECHO_T}$ac_res" >&6; }
27503 if test `eval echo '${'$as_ac_var'}'` = yes; then
27504 cat >>confdefs.h <<_ACEOF
27505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27512 for ac_func in floor
27514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27515 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27517 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27518 echo $ECHO_N "(cached) $ECHO_C" >&6
27520 cat >conftest.$ac_ext <<_ACEOF
27523 cat confdefs.h >>conftest.$ac_ext
27524 cat >>conftest.$ac_ext <<_ACEOF
27525 /* end confdefs.h. */
27526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27528 #define $ac_func innocuous_$ac_func
27530 /* System header to define __stub macros and hopefully few prototypes,
27531 which can conflict with char $ac_func (); below.
27532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27533 <limits.h> exists even on freestanding compilers. */
27536 # include <limits.h>
27538 # include <assert.h>
27543 /* Override any GCC internal prototype to avoid an error.
27544 Use char because int might match the return type of a GCC
27545 builtin and then its argument prototype would still apply. */
27550 /* The GNU C library defines this for functions which it implements
27551 to always fail with ENOSYS. Some functions are actually named
27552 something starting with __ and the normal name is an alias. */
27553 #if defined __stub_$ac_func || defined __stub___$ac_func
27560 return $ac_func ();
27565 rm -f conftest.$ac_objext conftest$ac_exeext
27566 if { (ac_try="$ac_link"
27567 case "(($ac_try" in
27568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27569 *) ac_try_echo=$ac_try;;
27571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27572 (eval "$ac_link") 2>conftest.er1
27574 grep -v '^ *+' conftest.er1 >conftest.err
27576 cat conftest.err >&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); } && {
27579 test -z "$ac_c_werror_flag" ||
27580 test ! -s conftest.err
27581 } && test -s conftest$ac_exeext &&
27582 $as_test_x conftest$ac_exeext; then
27583 eval "$as_ac_var=yes"
27585 echo "$as_me: failed program was:" >&5
27586 sed 's/^/| /' conftest.$ac_ext >&5
27588 eval "$as_ac_var=no"
27591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27592 conftest$ac_exeext conftest.$ac_ext
27594 ac_res=`eval echo '${'$as_ac_var'}'`
27595 { echo "$as_me:$LINENO: result: $ac_res" >&5
27596 echo "${ECHO_T}$ac_res" >&6; }
27597 if test `eval echo '${'$as_ac_var'}'` = yes; then
27598 cat >>confdefs.h <<_ACEOF
27599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27605 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27606 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27607 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27608 { echo "$as_me:$LINENO: result: yes" >&5
27609 echo "${ECHO_T}yes" >&6; }
27611 { echo "$as_me:$LINENO: result: no" >&5
27612 echo "${ECHO_T}no" >&6; }
27614 # use different functions to avoid configure caching
27620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27621 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27624 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 cat >conftest.$ac_ext <<_ACEOF
27629 cat confdefs.h >>conftest.$ac_ext
27630 cat >>conftest.$ac_ext <<_ACEOF
27631 /* end confdefs.h. */
27632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27634 #define $ac_func innocuous_$ac_func
27636 /* System header to define __stub macros and hopefully few prototypes,
27637 which can conflict with char $ac_func (); below.
27638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27639 <limits.h> exists even on freestanding compilers. */
27642 # include <limits.h>
27644 # include <assert.h>
27649 /* Override any GCC internal prototype to avoid an error.
27650 Use char because int might match the return type of a GCC
27651 builtin and then its argument prototype would still apply. */
27656 /* The GNU C library defines this for functions which it implements
27657 to always fail with ENOSYS. Some functions are actually named
27658 something starting with __ and the normal name is an alias. */
27659 #if defined __stub_$ac_func || defined __stub___$ac_func
27666 return $ac_func ();
27671 rm -f conftest.$ac_objext conftest$ac_exeext
27672 if { (ac_try="$ac_link"
27673 case "(($ac_try" in
27674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27675 *) ac_try_echo=$ac_try;;
27677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27678 (eval "$ac_link") 2>conftest.er1
27680 grep -v '^ *+' conftest.er1 >conftest.err
27682 cat conftest.err >&5
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); } && {
27685 test -z "$ac_c_werror_flag" ||
27686 test ! -s conftest.err
27687 } && test -s conftest$ac_exeext &&
27688 $as_test_x conftest$ac_exeext; then
27689 eval "$as_ac_var=yes"
27691 echo "$as_me: failed program was:" >&5
27692 sed 's/^/| /' conftest.$ac_ext >&5
27694 eval "$as_ac_var=no"
27697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27698 conftest$ac_exeext conftest.$ac_ext
27700 ac_res=`eval echo '${'$as_ac_var'}'`
27701 { echo "$as_me:$LINENO: result: $ac_res" >&5
27702 echo "${ECHO_T}$ac_res" >&6; }
27703 if test `eval echo '${'$as_ac_var'}'` = yes; then
27704 cat >>confdefs.h <<_ACEOF
27705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27712 for ac_func in ceil
27714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27715 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27717 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27718 echo $ECHO_N "(cached) $ECHO_C" >&6
27720 cat >conftest.$ac_ext <<_ACEOF
27723 cat confdefs.h >>conftest.$ac_ext
27724 cat >>conftest.$ac_ext <<_ACEOF
27725 /* end confdefs.h. */
27726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27728 #define $ac_func innocuous_$ac_func
27730 /* System header to define __stub macros and hopefully few prototypes,
27731 which can conflict with char $ac_func (); below.
27732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27733 <limits.h> exists even on freestanding compilers. */
27736 # include <limits.h>
27738 # include <assert.h>
27743 /* Override any GCC internal prototype to avoid an error.
27744 Use char because int might match the return type of a GCC
27745 builtin and then its argument prototype would still apply. */
27750 /* The GNU C library defines this for functions which it implements
27751 to always fail with ENOSYS. Some functions are actually named
27752 something starting with __ and the normal name is an alias. */
27753 #if defined __stub_$ac_func || defined __stub___$ac_func
27760 return $ac_func ();
27765 rm -f conftest.$ac_objext conftest$ac_exeext
27766 if { (ac_try="$ac_link"
27767 case "(($ac_try" in
27768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27769 *) ac_try_echo=$ac_try;;
27771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27772 (eval "$ac_link") 2>conftest.er1
27774 grep -v '^ *+' conftest.er1 >conftest.err
27776 cat conftest.err >&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } && {
27779 test -z "$ac_c_werror_flag" ||
27780 test ! -s conftest.err
27781 } && test -s conftest$ac_exeext &&
27782 $as_test_x conftest$ac_exeext; then
27783 eval "$as_ac_var=yes"
27785 echo "$as_me: failed program was:" >&5
27786 sed 's/^/| /' conftest.$ac_ext >&5
27788 eval "$as_ac_var=no"
27791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27792 conftest$ac_exeext conftest.$ac_ext
27794 ac_res=`eval echo '${'$as_ac_var'}'`
27795 { echo "$as_me:$LINENO: result: $ac_res" >&5
27796 echo "${ECHO_T}$ac_res" >&6; }
27797 if test `eval echo '${'$as_ac_var'}'` = yes; then
27798 cat >>confdefs.h <<_ACEOF
27799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27805 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27806 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27807 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27808 { echo "$as_me:$LINENO: result: yes" >&5
27809 echo "${ECHO_T}yes" >&6; }
27811 { echo "$as_me:$LINENO: result: no" >&5
27812 echo "${ECHO_T}no" >&6; }
27813 # not sure we should warn the user, crash, etc.
27818 ac_cpp='$CXXCPP $CPPFLAGS'
27819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27823 if test "wxUSE_UNICODE" = "yes"; then
27825 for wx_func in wcstoull
27827 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27828 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27829 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27830 echo $ECHO_N "(cached) $ECHO_C" >&6
27833 cat >conftest.$ac_ext <<_ACEOF
27837 cat confdefs.h >>conftest.$ac_ext
27838 cat >>conftest.$ac_ext <<_ACEOF
27839 /* end confdefs.h. */
27842 $ac_includes_default
27858 rm -f conftest.$ac_objext conftest$ac_exeext
27859 if { (ac_try="$ac_link"
27860 case "(($ac_try" in
27861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27862 *) ac_try_echo=$ac_try;;
27864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27865 (eval "$ac_link") 2>conftest.er1
27867 grep -v '^ *+' conftest.er1 >conftest.err
27869 cat conftest.err >&5
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); } && {
27872 test -z "$ac_cxx_werror_flag" ||
27873 test ! -s conftest.err
27874 } && test -s conftest$ac_exeext &&
27875 $as_test_x conftest$ac_exeext; then
27876 eval wx_cv_func_$wx_func=yes
27878 echo "$as_me: failed program was:" >&5
27879 sed 's/^/| /' conftest.$ac_ext >&5
27881 eval wx_cv_func_$wx_func=no
27884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27885 conftest$ac_exeext conftest.$ac_ext
27888 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27889 { echo "$as_me:$LINENO: result: $ac_res" >&5
27890 echo "${ECHO_T}$ac_res" >&6; }
27892 if eval test \$wx_cv_func_$wx_func = yes
27894 cat >>confdefs.h <<_ACEOF
27895 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27907 for wx_func in strtoull
27909 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27910 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27911 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27915 cat >conftest.$ac_ext <<_ACEOF
27919 cat confdefs.h >>conftest.$ac_ext
27920 cat >>conftest.$ac_ext <<_ACEOF
27921 /* end confdefs.h. */
27924 $ac_includes_default
27940 rm -f conftest.$ac_objext conftest$ac_exeext
27941 if { (ac_try="$ac_link"
27942 case "(($ac_try" in
27943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27944 *) ac_try_echo=$ac_try;;
27946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27947 (eval "$ac_link") 2>conftest.er1
27949 grep -v '^ *+' conftest.er1 >conftest.err
27951 cat conftest.err >&5
27952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27953 (exit $ac_status); } && {
27954 test -z "$ac_cxx_werror_flag" ||
27955 test ! -s conftest.err
27956 } && test -s conftest$ac_exeext &&
27957 $as_test_x conftest$ac_exeext; then
27958 eval wx_cv_func_$wx_func=yes
27960 echo "$as_me: failed program was:" >&5
27961 sed 's/^/| /' conftest.$ac_ext >&5
27963 eval wx_cv_func_$wx_func=no
27966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27967 conftest$ac_exeext conftest.$ac_ext
27970 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27971 { echo "$as_me:$LINENO: result: $ac_res" >&5
27972 echo "${ECHO_T}$ac_res" >&6; }
27974 if eval test \$wx_cv_func_$wx_func = yes
27976 cat >>confdefs.h <<_ACEOF
27977 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27989 ac_cpp='$CPP $CPPFLAGS'
27990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27997 if test "$wxUSE_REGEX" != "no"; then
27998 cat >>confdefs.h <<\_ACEOF
27999 #define wxUSE_REGEX 1
28003 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28004 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
28005 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
28006 wxUSE_REGEX=builtin
28009 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28010 { echo "$as_me:$LINENO: checking for regex.h" >&5
28011 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28012 if test "${ac_cv_header_regex_h+set}" = set; then
28013 echo $ECHO_N "(cached) $ECHO_C" >&6
28015 cat >conftest.$ac_ext <<_ACEOF
28018 cat confdefs.h >>conftest.$ac_ext
28019 cat >>conftest.$ac_ext <<_ACEOF
28020 /* end confdefs.h. */
28025 rm -f conftest.$ac_objext
28026 if { (ac_try="$ac_compile"
28027 case "(($ac_try" in
28028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28029 *) ac_try_echo=$ac_try;;
28031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28032 (eval "$ac_compile") 2>conftest.er1
28034 grep -v '^ *+' conftest.er1 >conftest.err
28036 cat conftest.err >&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); } && {
28039 test -z "$ac_c_werror_flag" ||
28040 test ! -s conftest.err
28041 } && test -s conftest.$ac_objext; then
28042 ac_cv_header_regex_h=yes
28044 echo "$as_me: failed program was:" >&5
28045 sed 's/^/| /' conftest.$ac_ext >&5
28047 ac_cv_header_regex_h=no
28050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28052 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28053 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28054 if test $ac_cv_header_regex_h = yes; then
28057 for ac_func in regcomp re_search
28059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28060 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28062 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28063 echo $ECHO_N "(cached) $ECHO_C" >&6
28065 cat >conftest.$ac_ext <<_ACEOF
28068 cat confdefs.h >>conftest.$ac_ext
28069 cat >>conftest.$ac_ext <<_ACEOF
28070 /* end confdefs.h. */
28071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28073 #define $ac_func innocuous_$ac_func
28075 /* System header to define __stub macros and hopefully few prototypes,
28076 which can conflict with char $ac_func (); below.
28077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28078 <limits.h> exists even on freestanding compilers. */
28081 # include <limits.h>
28083 # include <assert.h>
28088 /* Override any GCC internal prototype to avoid an error.
28089 Use char because int might match the return type of a GCC
28090 builtin and then its argument prototype would still apply. */
28095 /* The GNU C library defines this for functions which it implements
28096 to always fail with ENOSYS. Some functions are actually named
28097 something starting with __ and the normal name is an alias. */
28098 #if defined __stub_$ac_func || defined __stub___$ac_func
28105 return $ac_func ();
28110 rm -f conftest.$ac_objext conftest$ac_exeext
28111 if { (ac_try="$ac_link"
28112 case "(($ac_try" in
28113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28114 *) ac_try_echo=$ac_try;;
28116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28117 (eval "$ac_link") 2>conftest.er1
28119 grep -v '^ *+' conftest.er1 >conftest.err
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } && {
28124 test -z "$ac_c_werror_flag" ||
28125 test ! -s conftest.err
28126 } && test -s conftest$ac_exeext &&
28127 $as_test_x conftest$ac_exeext; then
28128 eval "$as_ac_var=yes"
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28133 eval "$as_ac_var=no"
28136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28137 conftest$ac_exeext conftest.$ac_ext
28139 ac_res=`eval echo '${'$as_ac_var'}'`
28140 { echo "$as_me:$LINENO: result: $ac_res" >&5
28141 echo "${ECHO_T}$ac_res" >&6; }
28142 if test `eval echo '${'$as_ac_var'}'` = yes; then
28143 cat >>confdefs.h <<_ACEOF
28144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28154 if test "x$ac_cv_func_regcomp" != "xyes"; then
28155 if test "$wxUSE_REGEX" = "sys" ; then
28156 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28157 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28158 { (exit 1); exit 1; }; }
28160 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28161 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28162 wxUSE_REGEX=builtin
28166 cat >>confdefs.h <<\_ACEOF
28167 #define WX_NO_REGEX_ADVANCED 1
28176 if test "$wxUSE_ZLIB" != "no" ; then
28177 cat >>confdefs.h <<\_ACEOF
28178 #define wxUSE_ZLIB 1
28182 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28183 if test "$USE_DARWIN" = 1; then
28184 system_zlib_h_ok="yes"
28186 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28187 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28188 if test "${ac_cv_header_zlib_h+set}" = set; then
28189 echo $ECHO_N "(cached) $ECHO_C" >&6
28191 if test "$cross_compiling" = yes; then
28192 unset ac_cv_header_zlib_h
28195 cat >conftest.$ac_ext <<_ACEOF
28198 cat confdefs.h >>conftest.$ac_ext
28199 cat >>conftest.$ac_ext <<_ACEOF
28200 /* end confdefs.h. */
28207 FILE *f=fopen("conftestval", "w");
28210 ZLIB_VERSION[0] == '1' &&
28211 (ZLIB_VERSION[2] > '1' ||
28212 (ZLIB_VERSION[2] == '1' &&
28213 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28218 rm -f conftest$ac_exeext
28219 if { (ac_try="$ac_link"
28220 case "(($ac_try" in
28221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28222 *) ac_try_echo=$ac_try;;
28224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28225 (eval "$ac_link") 2>&5
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28229 { (case "(($ac_try" in
28230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28231 *) ac_try_echo=$ac_try;;
28233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28234 (eval "$ac_try") 2>&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); }; }; then
28238 ac_cv_header_zlib_h=`cat conftestval`
28240 echo "$as_me: program exited with status $ac_status" >&5
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28244 ( exit $ac_status )
28245 ac_cv_header_zlib_h=no
28247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28253 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28254 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28255 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28256 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28257 if test "${ac_cv_header_zlib_h+set}" = set; then
28258 echo $ECHO_N "(cached) $ECHO_C" >&6
28260 cat >conftest.$ac_ext <<_ACEOF
28263 cat confdefs.h >>conftest.$ac_ext
28264 cat >>conftest.$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28270 rm -f conftest.$ac_objext
28271 if { (ac_try="$ac_compile"
28272 case "(($ac_try" in
28273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28274 *) ac_try_echo=$ac_try;;
28276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28277 (eval "$ac_compile") 2>conftest.er1
28279 grep -v '^ *+' conftest.er1 >conftest.err
28281 cat conftest.err >&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } && {
28284 test -z "$ac_c_werror_flag" ||
28285 test ! -s conftest.err
28286 } && test -s conftest.$ac_objext; then
28287 ac_cv_header_zlib_h=yes
28289 echo "$as_me: failed program was:" >&5
28290 sed 's/^/| /' conftest.$ac_ext >&5
28292 ac_cv_header_zlib_h=no
28295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28297 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28298 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28302 system_zlib_h_ok=$ac_cv_header_zlib_h
28305 if test "$system_zlib_h_ok" = "yes"; then
28306 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28307 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28308 if test "${ac_cv_lib_z_deflate+set}" = set; then
28309 echo $ECHO_N "(cached) $ECHO_C" >&6
28311 ac_check_lib_save_LIBS=$LIBS
28313 cat >conftest.$ac_ext <<_ACEOF
28316 cat confdefs.h >>conftest.$ac_ext
28317 cat >>conftest.$ac_ext <<_ACEOF
28318 /* end confdefs.h. */
28320 /* Override any GCC internal prototype to avoid an error.
28321 Use char because int might match the return type of a GCC
28322 builtin and then its argument prototype would still apply. */
28335 rm -f conftest.$ac_objext conftest$ac_exeext
28336 if { (ac_try="$ac_link"
28337 case "(($ac_try" in
28338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28339 *) ac_try_echo=$ac_try;;
28341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28342 (eval "$ac_link") 2>conftest.er1
28344 grep -v '^ *+' conftest.er1 >conftest.err
28346 cat conftest.err >&5
28347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28348 (exit $ac_status); } && {
28349 test -z "$ac_c_werror_flag" ||
28350 test ! -s conftest.err
28351 } && test -s conftest$ac_exeext &&
28352 $as_test_x conftest$ac_exeext; then
28353 ac_cv_lib_z_deflate=yes
28355 echo "$as_me: failed program was:" >&5
28356 sed 's/^/| /' conftest.$ac_ext >&5
28358 ac_cv_lib_z_deflate=no
28361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28362 conftest$ac_exeext conftest.$ac_ext
28363 LIBS=$ac_check_lib_save_LIBS
28365 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28366 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28367 if test $ac_cv_lib_z_deflate = yes; then
28373 if test "x$ZLIB_LINK" = "x" ; then
28374 if test "$wxUSE_ZLIB" = "sys" ; then
28375 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28376 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28377 { (exit 1); exit 1; }; }
28379 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28380 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28391 if test "$wxUSE_LIBPNG" != "no" ; then
28392 cat >>confdefs.h <<\_ACEOF
28393 #define wxUSE_LIBPNG 1
28397 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28398 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28399 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28403 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28404 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28405 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28406 wxUSE_LIBPNG=builtin
28409 if test "$wxUSE_MGL" != 1 ; then
28410 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28411 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28412 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28413 if test "${ac_cv_header_png_h+set}" = set; then
28414 echo $ECHO_N "(cached) $ECHO_C" >&6
28416 if test "$cross_compiling" = yes; then
28417 unset ac_cv_header_png_h
28420 cat >conftest.$ac_ext <<_ACEOF
28423 cat confdefs.h >>conftest.$ac_ext
28424 cat >>conftest.$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28432 FILE *f=fopen("conftestval", "w");
28435 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28440 rm -f conftest$ac_exeext
28441 if { (ac_try="$ac_link"
28442 case "(($ac_try" in
28443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28444 *) ac_try_echo=$ac_try;;
28446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28447 (eval "$ac_link") 2>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28451 { (case "(($ac_try" in
28452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28453 *) ac_try_echo=$ac_try;;
28455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28456 (eval "$ac_try") 2>&5
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); }; }; then
28460 ac_cv_header_png_h=`cat conftestval`
28462 echo "$as_me: program exited with status $ac_status" >&5
28463 echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.$ac_ext >&5
28466 ( exit $ac_status )
28467 ac_cv_header_png_h=no
28469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28475 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28476 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28477 { echo "$as_me:$LINENO: checking for png.h" >&5
28478 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28479 if test "${ac_cv_header_png_h+set}" = set; then
28480 echo $ECHO_N "(cached) $ECHO_C" >&6
28482 cat >conftest.$ac_ext <<_ACEOF
28485 cat confdefs.h >>conftest.$ac_ext
28486 cat >>conftest.$ac_ext <<_ACEOF
28487 /* end confdefs.h. */
28492 rm -f conftest.$ac_objext
28493 if { (ac_try="$ac_compile"
28494 case "(($ac_try" in
28495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28496 *) ac_try_echo=$ac_try;;
28498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28499 (eval "$ac_compile") 2>conftest.er1
28501 grep -v '^ *+' conftest.er1 >conftest.err
28503 cat conftest.err >&5
28504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 (exit $ac_status); } && {
28506 test -z "$ac_c_werror_flag" ||
28507 test ! -s conftest.err
28508 } && test -s conftest.$ac_objext; then
28509 ac_cv_header_png_h=yes
28511 echo "$as_me: failed program was:" >&5
28512 sed 's/^/| /' conftest.$ac_ext >&5
28514 ac_cv_header_png_h=no
28517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28519 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28520 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28524 if test "$ac_cv_header_png_h" = "yes"; then
28525 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28526 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28527 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28528 echo $ECHO_N "(cached) $ECHO_C" >&6
28530 ac_check_lib_save_LIBS=$LIBS
28531 LIBS="-lpng -lz -lm $LIBS"
28532 cat >conftest.$ac_ext <<_ACEOF
28535 cat confdefs.h >>conftest.$ac_ext
28536 cat >>conftest.$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28539 /* Override any GCC internal prototype to avoid an error.
28540 Use char because int might match the return type of a GCC
28541 builtin and then its argument prototype would still apply. */
28545 char png_sig_cmp ();
28549 return png_sig_cmp ();
28554 rm -f conftest.$ac_objext conftest$ac_exeext
28555 if { (ac_try="$ac_link"
28556 case "(($ac_try" in
28557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28558 *) ac_try_echo=$ac_try;;
28560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28561 (eval "$ac_link") 2>conftest.er1
28563 grep -v '^ *+' conftest.er1 >conftest.err
28565 cat conftest.err >&5
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); } && {
28568 test -z "$ac_c_werror_flag" ||
28569 test ! -s conftest.err
28570 } && test -s conftest$ac_exeext &&
28571 $as_test_x conftest$ac_exeext; then
28572 ac_cv_lib_png_png_sig_cmp=yes
28574 echo "$as_me: failed program was:" >&5
28575 sed 's/^/| /' conftest.$ac_ext >&5
28577 ac_cv_lib_png_png_sig_cmp=no
28580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28581 conftest$ac_exeext conftest.$ac_ext
28582 LIBS=$ac_check_lib_save_LIBS
28584 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28585 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28586 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28587 PNG_LINK=" -lpng -lz"
28592 if test "x$PNG_LINK" = "x" ; then
28593 if test "$wxUSE_LIBPNG" = "sys" ; then
28594 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28595 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28596 { (exit 1); exit 1; }; }
28598 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28599 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28600 wxUSE_LIBPNG=builtin
28611 if test "$wxUSE_LIBJPEG" != "no" ; then
28612 cat >>confdefs.h <<\_ACEOF
28613 #define wxUSE_LIBJPEG 1
28617 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28618 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28619 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28623 if test "$wxUSE_MGL" != 1 ; then
28624 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28625 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28626 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28627 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28628 echo $ECHO_N "(cached) $ECHO_C" >&6
28630 cat >conftest.$ac_ext <<_ACEOF
28633 cat confdefs.h >>conftest.$ac_ext
28634 cat >>conftest.$ac_ext <<_ACEOF
28635 /* end confdefs.h. */
28637 #undef HAVE_STDLIB_H
28639 #include <jpeglib.h>
28650 rm -f conftest.$ac_objext
28651 if { (ac_try="$ac_compile"
28652 case "(($ac_try" in
28653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28654 *) ac_try_echo=$ac_try;;
28656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28657 (eval "$ac_compile") 2>conftest.er1
28659 grep -v '^ *+' conftest.er1 >conftest.err
28661 cat conftest.err >&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); } && {
28664 test -z "$ac_c_werror_flag" ||
28665 test ! -s conftest.err
28666 } && test -s conftest.$ac_objext; then
28667 ac_cv_header_jpeglib_h=yes
28669 echo "$as_me: failed program was:" >&5
28670 sed 's/^/| /' conftest.$ac_ext >&5
28672 ac_cv_header_jpeglib_h=no
28676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28680 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28681 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28683 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28684 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28685 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28686 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28687 echo $ECHO_N "(cached) $ECHO_C" >&6
28689 ac_check_lib_save_LIBS=$LIBS
28690 LIBS="-ljpeg $LIBS"
28691 cat >conftest.$ac_ext <<_ACEOF
28694 cat confdefs.h >>conftest.$ac_ext
28695 cat >>conftest.$ac_ext <<_ACEOF
28696 /* end confdefs.h. */
28698 /* Override any GCC internal prototype to avoid an error.
28699 Use char because int might match the return type of a GCC
28700 builtin and then its argument prototype would still apply. */
28704 char jpeg_read_header ();
28708 return jpeg_read_header ();
28713 rm -f conftest.$ac_objext conftest$ac_exeext
28714 if { (ac_try="$ac_link"
28715 case "(($ac_try" in
28716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28717 *) ac_try_echo=$ac_try;;
28719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28720 (eval "$ac_link") 2>conftest.er1
28722 grep -v '^ *+' conftest.er1 >conftest.err
28724 cat conftest.err >&5
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); } && {
28727 test -z "$ac_c_werror_flag" ||
28728 test ! -s conftest.err
28729 } && test -s conftest$ac_exeext &&
28730 $as_test_x conftest$ac_exeext; then
28731 ac_cv_lib_jpeg_jpeg_read_header=yes
28733 echo "$as_me: failed program was:" >&5
28734 sed 's/^/| /' conftest.$ac_ext >&5
28736 ac_cv_lib_jpeg_jpeg_read_header=no
28739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28740 conftest$ac_exeext conftest.$ac_ext
28741 LIBS=$ac_check_lib_save_LIBS
28743 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28744 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28745 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28746 JPEG_LINK=" -ljpeg"
28751 if test "x$JPEG_LINK" = "x" ; then
28752 if test "$wxUSE_LIBJPEG" = "sys" ; then
28753 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28754 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28755 { (exit 1); exit 1; }; }
28757 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28758 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28759 wxUSE_LIBJPEG=builtin
28764 if test "$wxUSE_MSW" = 1; then
28765 { echo "$as_me:$LINENO: checking for boolean" >&5
28766 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28767 if test "${ac_cv_type_boolean+set}" = set; then
28768 echo $ECHO_N "(cached) $ECHO_C" >&6
28770 cat >conftest.$ac_ext <<_ACEOF
28773 cat confdefs.h >>conftest.$ac_ext
28774 cat >>conftest.$ac_ext <<_ACEOF
28775 /* end confdefs.h. */
28776 #include <windows.h>
28778 typedef boolean ac__type_new_;
28782 if ((ac__type_new_ *) 0)
28784 if (sizeof (ac__type_new_))
28790 rm -f conftest.$ac_objext
28791 if { (ac_try="$ac_compile"
28792 case "(($ac_try" in
28793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28794 *) ac_try_echo=$ac_try;;
28796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28797 (eval "$ac_compile") 2>conftest.er1
28799 grep -v '^ *+' conftest.er1 >conftest.err
28801 cat conftest.err >&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); } && {
28804 test -z "$ac_c_werror_flag" ||
28805 test ! -s conftest.err
28806 } && test -s conftest.$ac_objext; then
28807 ac_cv_type_boolean=yes
28809 echo "$as_me: failed program was:" >&5
28810 sed 's/^/| /' conftest.$ac_ext >&5
28812 ac_cv_type_boolean=no
28815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28817 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28818 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28819 if test $ac_cv_type_boolean = yes; then
28821 cat >>confdefs.h <<_ACEOF
28822 #define HAVE_BOOLEAN 1
28826 { echo "$as_me:$LINENO: checking for boolean" >&5
28827 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28828 if test "${ac_cv_type_boolean+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28831 cat >conftest.$ac_ext <<_ACEOF
28834 cat confdefs.h >>conftest.$ac_ext
28835 cat >>conftest.$ac_ext <<_ACEOF
28836 /* end confdefs.h. */
28838 #undef HAVE_BOOLEAN
28840 #include <jpeglib.h>
28843 typedef boolean ac__type_new_;
28847 if ((ac__type_new_ *) 0)
28849 if (sizeof (ac__type_new_))
28855 rm -f conftest.$ac_objext
28856 if { (ac_try="$ac_compile"
28857 case "(($ac_try" in
28858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28859 *) ac_try_echo=$ac_try;;
28861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28862 (eval "$ac_compile") 2>conftest.er1
28864 grep -v '^ *+' conftest.er1 >conftest.err
28866 cat conftest.err >&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } && {
28869 test -z "$ac_c_werror_flag" ||
28870 test ! -s conftest.err
28871 } && test -s conftest.$ac_objext; then
28872 ac_cv_type_boolean=yes
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.$ac_ext >&5
28877 ac_cv_type_boolean=no
28880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28882 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28883 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28885 # The cast to long int works around a bug in the HP C Compiler
28886 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28887 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28888 # This bug is HP SR number 8606223364.
28889 { echo "$as_me:$LINENO: checking size of boolean" >&5
28890 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28891 if test "${ac_cv_sizeof_boolean+set}" = set; then
28892 echo $ECHO_N "(cached) $ECHO_C" >&6
28894 if test "$cross_compiling" = yes; then
28895 # Depending upon the size, compute the lo and hi bounds.
28896 cat >conftest.$ac_ext <<_ACEOF
28899 cat confdefs.h >>conftest.$ac_ext
28900 cat >>conftest.$ac_ext <<_ACEOF
28901 /* end confdefs.h. */
28903 #undef HAVE_BOOLEAN
28905 #include <jpeglib.h>
28908 typedef boolean ac__type_sizeof_;
28912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28919 rm -f conftest.$ac_objext
28920 if { (ac_try="$ac_compile"
28921 case "(($ac_try" in
28922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28923 *) ac_try_echo=$ac_try;;
28925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28926 (eval "$ac_compile") 2>conftest.er1
28928 grep -v '^ *+' conftest.er1 >conftest.err
28930 cat conftest.err >&5
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); } && {
28933 test -z "$ac_c_werror_flag" ||
28934 test ! -s conftest.err
28935 } && test -s conftest.$ac_objext; then
28938 cat >conftest.$ac_ext <<_ACEOF
28941 cat confdefs.h >>conftest.$ac_ext
28942 cat >>conftest.$ac_ext <<_ACEOF
28943 /* end confdefs.h. */
28945 #undef HAVE_BOOLEAN
28947 #include <jpeglib.h>
28950 typedef boolean ac__type_sizeof_;
28954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28961 rm -f conftest.$ac_objext
28962 if { (ac_try="$ac_compile"
28963 case "(($ac_try" in
28964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28965 *) ac_try_echo=$ac_try;;
28967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28968 (eval "$ac_compile") 2>conftest.er1
28970 grep -v '^ *+' conftest.er1 >conftest.err
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } && {
28975 test -z "$ac_c_werror_flag" ||
28976 test ! -s conftest.err
28977 } && test -s conftest.$ac_objext; then
28978 ac_hi=$ac_mid; break
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.$ac_ext >&5
28983 ac_lo=`expr $ac_mid + 1`
28984 if test $ac_lo -le $ac_mid; then
28988 ac_mid=`expr 2 '*' $ac_mid + 1`
28991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28994 echo "$as_me: failed program was:" >&5
28995 sed 's/^/| /' conftest.$ac_ext >&5
28997 cat >conftest.$ac_ext <<_ACEOF
29000 cat confdefs.h >>conftest.$ac_ext
29001 cat >>conftest.$ac_ext <<_ACEOF
29002 /* end confdefs.h. */
29004 #undef HAVE_BOOLEAN
29006 #include <jpeglib.h>
29009 typedef boolean ac__type_sizeof_;
29013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29020 rm -f conftest.$ac_objext
29021 if { (ac_try="$ac_compile"
29022 case "(($ac_try" in
29023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29024 *) ac_try_echo=$ac_try;;
29026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29027 (eval "$ac_compile") 2>conftest.er1
29029 grep -v '^ *+' conftest.er1 >conftest.err
29031 cat conftest.err >&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); } && {
29034 test -z "$ac_c_werror_flag" ||
29035 test ! -s conftest.err
29036 } && test -s conftest.$ac_objext; then
29039 cat >conftest.$ac_ext <<_ACEOF
29042 cat confdefs.h >>conftest.$ac_ext
29043 cat >>conftest.$ac_ext <<_ACEOF
29044 /* end confdefs.h. */
29046 #undef HAVE_BOOLEAN
29048 #include <jpeglib.h>
29051 typedef boolean ac__type_sizeof_;
29055 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29062 rm -f conftest.$ac_objext
29063 if { (ac_try="$ac_compile"
29064 case "(($ac_try" in
29065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29066 *) ac_try_echo=$ac_try;;
29068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29069 (eval "$ac_compile") 2>conftest.er1
29071 grep -v '^ *+' conftest.er1 >conftest.err
29073 cat conftest.err >&5
29074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 (exit $ac_status); } && {
29076 test -z "$ac_c_werror_flag" ||
29077 test ! -s conftest.err
29078 } && test -s conftest.$ac_objext; then
29079 ac_lo=$ac_mid; break
29081 echo "$as_me: failed program was:" >&5
29082 sed 's/^/| /' conftest.$ac_ext >&5
29084 ac_hi=`expr '(' $ac_mid ')' - 1`
29085 if test $ac_mid -le $ac_hi; then
29089 ac_mid=`expr 2 '*' $ac_mid`
29092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29095 echo "$as_me: failed program was:" >&5
29096 sed 's/^/| /' conftest.$ac_ext >&5
29101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29105 # Binary search between lo and hi bounds.
29106 while test "x$ac_lo" != "x$ac_hi"; do
29107 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29108 cat >conftest.$ac_ext <<_ACEOF
29111 cat confdefs.h >>conftest.$ac_ext
29112 cat >>conftest.$ac_ext <<_ACEOF
29113 /* end confdefs.h. */
29115 #undef HAVE_BOOLEAN
29117 #include <jpeglib.h>
29120 typedef boolean ac__type_sizeof_;
29124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29131 rm -f conftest.$ac_objext
29132 if { (ac_try="$ac_compile"
29133 case "(($ac_try" in
29134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29135 *) ac_try_echo=$ac_try;;
29137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29138 (eval "$ac_compile") 2>conftest.er1
29140 grep -v '^ *+' conftest.er1 >conftest.err
29142 cat conftest.err >&5
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); } && {
29145 test -z "$ac_c_werror_flag" ||
29146 test ! -s conftest.err
29147 } && test -s conftest.$ac_objext; then
29150 echo "$as_me: failed program was:" >&5
29151 sed 's/^/| /' conftest.$ac_ext >&5
29153 ac_lo=`expr '(' $ac_mid ')' + 1`
29156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29159 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29160 '') if test "$ac_cv_type_boolean" = yes; then
29161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29162 See \`config.log' for more details." >&5
29163 echo "$as_me: error: cannot compute sizeof (boolean)
29164 See \`config.log' for more details." >&2;}
29165 { (exit 77); exit 77; }; }
29167 ac_cv_sizeof_boolean=0
29171 cat >conftest.$ac_ext <<_ACEOF
29174 cat confdefs.h >>conftest.$ac_ext
29175 cat >>conftest.$ac_ext <<_ACEOF
29176 /* end confdefs.h. */
29178 #undef HAVE_BOOLEAN
29180 #include <jpeglib.h>
29183 typedef boolean ac__type_sizeof_;
29184 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29185 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29187 #include <stdlib.h>
29192 FILE *f = fopen ("conftest.val", "w");
29195 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29197 long int i = longval ();
29198 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29200 fprintf (f, "%ld\n", i);
29204 unsigned long int i = ulongval ();
29205 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29207 fprintf (f, "%lu\n", i);
29209 return ferror (f) || fclose (f) != 0;
29215 rm -f conftest$ac_exeext
29216 if { (ac_try="$ac_link"
29217 case "(($ac_try" in
29218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29219 *) ac_try_echo=$ac_try;;
29221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29222 (eval "$ac_link") 2>&5
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29226 { (case "(($ac_try" in
29227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29228 *) ac_try_echo=$ac_try;;
29230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29231 (eval "$ac_try") 2>&5
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); }; }; then
29235 ac_cv_sizeof_boolean=`cat conftest.val`
29237 echo "$as_me: program exited with status $ac_status" >&5
29238 echo "$as_me: failed program was:" >&5
29239 sed 's/^/| /' conftest.$ac_ext >&5
29241 ( exit $ac_status )
29242 if test "$ac_cv_type_boolean" = yes; then
29243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29244 See \`config.log' for more details." >&5
29245 echo "$as_me: error: cannot compute sizeof (boolean)
29246 See \`config.log' for more details." >&2;}
29247 { (exit 77); exit 77; }; }
29249 ac_cv_sizeof_boolean=0
29252 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29256 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29257 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29261 cat >>confdefs.h <<_ACEOF
29262 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29266 cat >>confdefs.h <<_ACEOF
29267 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29281 TIFF_PREREQ_LINKS=-lm
29282 if test "$wxUSE_LIBTIFF" != "no" ; then
29283 cat >>confdefs.h <<\_ACEOF
29284 #define wxUSE_LIBTIFF 1
29288 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29289 if test "$wxUSE_LIBJPEG" = "sys"; then
29290 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29292 if test "$wxUSE_ZLIB" = "sys"; then
29293 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29295 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29296 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29297 if test "${ac_cv_header_tiffio_h+set}" = set; then
29298 echo $ECHO_N "(cached) $ECHO_C" >&6
29300 cat >conftest.$ac_ext <<_ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29309 #include <tiffio.h>
29311 rm -f conftest.$ac_objext
29312 if { (ac_try="$ac_compile"
29313 case "(($ac_try" in
29314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29315 *) ac_try_echo=$ac_try;;
29317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29318 (eval "$ac_compile") 2>conftest.er1
29320 grep -v '^ *+' conftest.er1 >conftest.err
29322 cat conftest.err >&5
29323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324 (exit $ac_status); } && {
29325 test -z "$ac_c_werror_flag" ||
29326 test ! -s conftest.err
29327 } && test -s conftest.$ac_objext; then
29328 ac_cv_header_tiffio_h=yes
29330 echo "$as_me: failed program was:" >&5
29331 sed 's/^/| /' conftest.$ac_ext >&5
29333 ac_cv_header_tiffio_h=no
29336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29338 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29339 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29340 if test $ac_cv_header_tiffio_h = yes; then
29342 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29343 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29344 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29345 echo $ECHO_N "(cached) $ECHO_C" >&6
29347 ac_check_lib_save_LIBS=$LIBS
29348 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29349 cat >conftest.$ac_ext <<_ACEOF
29352 cat confdefs.h >>conftest.$ac_ext
29353 cat >>conftest.$ac_ext <<_ACEOF
29354 /* end confdefs.h. */
29356 /* Override any GCC internal prototype to avoid an error.
29357 Use char because int might match the return type of a GCC
29358 builtin and then its argument prototype would still apply. */
29366 return TIFFError ();
29371 rm -f conftest.$ac_objext conftest$ac_exeext
29372 if { (ac_try="$ac_link"
29373 case "(($ac_try" in
29374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29375 *) ac_try_echo=$ac_try;;
29377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29378 (eval "$ac_link") 2>conftest.er1
29380 grep -v '^ *+' conftest.er1 >conftest.err
29382 cat conftest.err >&5
29383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29384 (exit $ac_status); } && {
29385 test -z "$ac_c_werror_flag" ||
29386 test ! -s conftest.err
29387 } && test -s conftest$ac_exeext &&
29388 $as_test_x conftest$ac_exeext; then
29389 ac_cv_lib_tiff_TIFFError=yes
29391 echo "$as_me: failed program was:" >&5
29392 sed 's/^/| /' conftest.$ac_ext >&5
29394 ac_cv_lib_tiff_TIFFError=no
29397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29398 conftest$ac_exeext conftest.$ac_ext
29399 LIBS=$ac_check_lib_save_LIBS
29401 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29402 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29403 if test $ac_cv_lib_tiff_TIFFError = yes; then
29404 TIFF_LINK=" -ltiff"
29412 if test "x$TIFF_LINK" = "x" ; then
29413 if test "$wxUSE_LIBTIFF" = "sys" ; then
29414 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29415 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29416 { (exit 1); exit 1; }; }
29418 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29419 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29420 wxUSE_LIBTIFF=builtin
29426 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29427 if test "$wxUSE_LIBJPEG" = "no"; then
29428 ac_configure_args="$ac_configure_args --disable-jpeg"
29430 subdirs="$subdirs src/tiff"
29436 if test "$wxUSE_EXPAT" != "no"; then
29438 cat >>confdefs.h <<\_ACEOF
29439 #define wxUSE_EXPAT 1
29442 cat >>confdefs.h <<\_ACEOF
29443 #define wxUSE_XML 1
29447 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29448 { echo "$as_me:$LINENO: checking for expat.h" >&5
29449 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29450 if test "${ac_cv_header_expat_h+set}" = set; then
29451 echo $ECHO_N "(cached) $ECHO_C" >&6
29453 cat >conftest.$ac_ext <<_ACEOF
29456 cat confdefs.h >>conftest.$ac_ext
29457 cat >>conftest.$ac_ext <<_ACEOF
29458 /* end confdefs.h. */
29463 rm -f conftest.$ac_objext
29464 if { (ac_try="$ac_compile"
29465 case "(($ac_try" in
29466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29467 *) ac_try_echo=$ac_try;;
29469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29470 (eval "$ac_compile") 2>conftest.er1
29472 grep -v '^ *+' conftest.er1 >conftest.err
29474 cat conftest.err >&5
29475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476 (exit $ac_status); } && {
29477 test -z "$ac_c_werror_flag" ||
29478 test ! -s conftest.err
29479 } && test -s conftest.$ac_objext; then
29480 ac_cv_header_expat_h=yes
29482 echo "$as_me: failed program was:" >&5
29483 sed 's/^/| /' conftest.$ac_ext >&5
29485 ac_cv_header_expat_h=no
29488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29490 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29491 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29492 if test $ac_cv_header_expat_h = yes; then
29497 if test "x$found_expat_h" = "x1"; then
29498 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29499 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29500 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29501 echo $ECHO_N "(cached) $ECHO_C" >&6
29505 ac_cpp='$CXXCPP $CPPFLAGS'
29506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29510 cat >conftest.$ac_ext <<_ACEOF
29513 cat confdefs.h >>conftest.$ac_ext
29514 cat >>conftest.$ac_ext <<_ACEOF
29515 /* end confdefs.h. */
29525 rm -f conftest.$ac_objext
29526 if { (ac_try="$ac_compile"
29527 case "(($ac_try" in
29528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29529 *) ac_try_echo=$ac_try;;
29531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29532 (eval "$ac_compile") 2>conftest.er1
29534 grep -v '^ *+' conftest.er1 >conftest.err
29536 cat conftest.err >&5
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); } && {
29539 test -z "$ac_cxx_werror_flag" ||
29540 test ! -s conftest.err
29541 } && test -s conftest.$ac_objext; then
29542 wx_cv_expat_is_not_broken=yes
29544 echo "$as_me: failed program was:" >&5
29545 sed 's/^/| /' conftest.$ac_ext >&5
29547 wx_cv_expat_is_not_broken=no
29551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29553 ac_cpp='$CPP $CPPFLAGS'
29554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29561 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29562 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29563 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29564 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29565 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29566 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29567 echo $ECHO_N "(cached) $ECHO_C" >&6
29569 ac_check_lib_save_LIBS=$LIBS
29570 LIBS="-lexpat $LIBS"
29571 cat >conftest.$ac_ext <<_ACEOF
29574 cat confdefs.h >>conftest.$ac_ext
29575 cat >>conftest.$ac_ext <<_ACEOF
29576 /* end confdefs.h. */
29578 /* Override any GCC internal prototype to avoid an error.
29579 Use char because int might match the return type of a GCC
29580 builtin and then its argument prototype would still apply. */
29584 char XML_ParserCreate ();
29588 return XML_ParserCreate ();
29593 rm -f conftest.$ac_objext conftest$ac_exeext
29594 if { (ac_try="$ac_link"
29595 case "(($ac_try" in
29596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29597 *) ac_try_echo=$ac_try;;
29599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29600 (eval "$ac_link") 2>conftest.er1
29602 grep -v '^ *+' conftest.er1 >conftest.err
29604 cat conftest.err >&5
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); } && {
29607 test -z "$ac_c_werror_flag" ||
29608 test ! -s conftest.err
29609 } && test -s conftest$ac_exeext &&
29610 $as_test_x conftest$ac_exeext; then
29611 ac_cv_lib_expat_XML_ParserCreate=yes
29613 echo "$as_me: failed program was:" >&5
29614 sed 's/^/| /' conftest.$ac_ext >&5
29616 ac_cv_lib_expat_XML_ParserCreate=no
29619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29620 conftest$ac_exeext conftest.$ac_ext
29621 LIBS=$ac_check_lib_save_LIBS
29623 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29624 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29625 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29626 EXPAT_LINK=" -lexpat"
29631 if test "x$EXPAT_LINK" = "x" ; then
29632 if test "$wxUSE_EXPAT" = "sys" ; then
29633 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29634 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29635 { (exit 1); exit 1; }; }
29637 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29638 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29639 wxUSE_EXPAT=builtin
29645 if test "$wxUSE_EXPAT" = "builtin" ; then
29646 subdirs="$subdirs src/expat"
29653 if test "$wxUSE_LIBMSPACK" != "no"; then
29654 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29655 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29656 if test "${ac_cv_header_mspack_h+set}" = set; then
29657 echo $ECHO_N "(cached) $ECHO_C" >&6
29659 cat >conftest.$ac_ext <<_ACEOF
29662 cat confdefs.h >>conftest.$ac_ext
29663 cat >>conftest.$ac_ext <<_ACEOF
29664 /* end confdefs.h. */
29667 #include <mspack.h>
29669 rm -f conftest.$ac_objext
29670 if { (ac_try="$ac_compile"
29671 case "(($ac_try" in
29672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29673 *) ac_try_echo=$ac_try;;
29675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29676 (eval "$ac_compile") 2>conftest.er1
29678 grep -v '^ *+' conftest.er1 >conftest.err
29680 cat conftest.err >&5
29681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29682 (exit $ac_status); } && {
29683 test -z "$ac_c_werror_flag" ||
29684 test ! -s conftest.err
29685 } && test -s conftest.$ac_objext; then
29686 ac_cv_header_mspack_h=yes
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.$ac_ext >&5
29691 ac_cv_header_mspack_h=no
29694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29696 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29697 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29698 if test $ac_cv_header_mspack_h = yes; then
29703 if test "x$found_mspack_h" = "x1"; then
29704 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29705 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29706 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29707 echo $ECHO_N "(cached) $ECHO_C" >&6
29709 ac_check_lib_save_LIBS=$LIBS
29710 LIBS="-lmspack $LIBS"
29711 cat >conftest.$ac_ext <<_ACEOF
29714 cat confdefs.h >>conftest.$ac_ext
29715 cat >>conftest.$ac_ext <<_ACEOF
29716 /* end confdefs.h. */
29718 /* Override any GCC internal prototype to avoid an error.
29719 Use char because int might match the return type of a GCC
29720 builtin and then its argument prototype would still apply. */
29724 char mspack_create_chm_decompressor ();
29728 return mspack_create_chm_decompressor ();
29733 rm -f conftest.$ac_objext conftest$ac_exeext
29734 if { (ac_try="$ac_link"
29735 case "(($ac_try" in
29736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29737 *) ac_try_echo=$ac_try;;
29739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29740 (eval "$ac_link") 2>conftest.er1
29742 grep -v '^ *+' conftest.er1 >conftest.err
29744 cat conftest.err >&5
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } && {
29747 test -z "$ac_c_werror_flag" ||
29748 test ! -s conftest.err
29749 } && test -s conftest$ac_exeext &&
29750 $as_test_x conftest$ac_exeext; then
29751 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29753 echo "$as_me: failed program was:" >&5
29754 sed 's/^/| /' conftest.$ac_ext >&5
29756 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29760 conftest$ac_exeext conftest.$ac_ext
29761 LIBS=$ac_check_lib_save_LIBS
29763 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29764 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29765 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29766 MSPACK_LINK=" -lmspack"
29770 if test "x$MSPACK_LINK" = "x" ; then
29775 if test "$wxUSE_LIBMSPACK" != "no"; then
29776 cat >>confdefs.h <<\_ACEOF
29777 #define wxUSE_LIBMSPACK 1
29791 if test "$USE_WIN32" = 1 ; then
29793 for ac_header in w32api.h
29795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29796 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29798 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29799 echo $ECHO_N "(cached) $ECHO_C" >&6
29801 cat >conftest.$ac_ext <<_ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29809 #include <$ac_header>
29811 rm -f conftest.$ac_objext
29812 if { (ac_try="$ac_compile"
29813 case "(($ac_try" in
29814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29815 *) ac_try_echo=$ac_try;;
29817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29818 (eval "$ac_compile") 2>conftest.er1
29820 grep -v '^ *+' conftest.er1 >conftest.err
29822 cat conftest.err >&5
29823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29824 (exit $ac_status); } && {
29825 test -z "$ac_c_werror_flag" ||
29826 test ! -s conftest.err
29827 } && test -s conftest.$ac_objext; then
29828 eval "$as_ac_Header=yes"
29830 echo "$as_me: failed program was:" >&5
29831 sed 's/^/| /' conftest.$ac_ext >&5
29833 eval "$as_ac_Header=no"
29836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29838 ac_res=`eval echo '${'$as_ac_Header'}'`
29839 { echo "$as_me:$LINENO: result: $ac_res" >&5
29840 echo "${ECHO_T}$ac_res" >&6; }
29841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29842 cat >>confdefs.h <<_ACEOF
29843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29850 { echo "$as_me:$LINENO: checking for windows.h" >&5
29851 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29852 if test "${ac_cv_header_windows_h+set}" = set; then
29853 echo $ECHO_N "(cached) $ECHO_C" >&6
29855 cat >conftest.$ac_ext <<_ACEOF
29858 cat confdefs.h >>conftest.$ac_ext
29859 cat >>conftest.$ac_ext <<_ACEOF
29860 /* end confdefs.h. */
29863 #include <windows.h>
29865 rm -f conftest.$ac_objext
29866 if { (ac_try="$ac_compile"
29867 case "(($ac_try" in
29868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29869 *) ac_try_echo=$ac_try;;
29871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29872 (eval "$ac_compile") 2>conftest.er1
29874 grep -v '^ *+' conftest.er1 >conftest.err
29876 cat conftest.err >&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } && {
29879 test -z "$ac_c_werror_flag" ||
29880 test ! -s conftest.err
29881 } && test -s conftest.$ac_objext; then
29882 ac_cv_header_windows_h=yes
29884 echo "$as_me: failed program was:" >&5
29885 sed 's/^/| /' conftest.$ac_ext >&5
29887 ac_cv_header_windows_h=no
29890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29892 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29893 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29894 if test $ac_cv_header_windows_h = yes; then
29898 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29899 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29900 { (exit 1); exit 1; }; }
29906 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29908 x86_64-*-mingw32* )
29909 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29912 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29913 LIBS="$LIBS -loleacc"
29918 LIBS="$LIBS -lkernel32 -luser32"
29921 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29922 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29924 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29926 WIN32INSTALL=win32install
29928 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29929 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29930 if test "${ac_cv_header_pbt_h+set}" = set; then
29931 echo $ECHO_N "(cached) $ECHO_C" >&6
29933 cat >conftest.$ac_ext <<_ACEOF
29936 cat confdefs.h >>conftest.$ac_ext
29937 cat >>conftest.$ac_ext <<_ACEOF
29938 /* end confdefs.h. */
29943 rm -f conftest.$ac_objext
29944 if { (ac_try="$ac_compile"
29945 case "(($ac_try" in
29946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29947 *) ac_try_echo=$ac_try;;
29949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29950 (eval "$ac_compile") 2>conftest.er1
29952 grep -v '^ *+' conftest.er1 >conftest.err
29954 cat conftest.err >&5
29955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956 (exit $ac_status); } && {
29957 test -z "$ac_c_werror_flag" ||
29958 test ! -s conftest.err
29959 } && test -s conftest.$ac_objext; then
29960 ac_cv_header_pbt_h=yes
29962 echo "$as_me: failed program was:" >&5
29963 sed 's/^/| /' conftest.$ac_ext >&5
29965 ac_cv_header_pbt_h=no
29968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29970 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29971 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29972 if test $ac_cv_header_pbt_h = yes; then
29975 cat >>confdefs.h <<\_ACEOF
29976 #define NEED_PBT_H 1
29984 if test "$wxUSE_GUI" = "yes"; then
29993 if test "$wxUSE_OLD_COCOA" = 1 ; then
29994 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29995 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29996 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29997 wxUSE_PRINTING_ARCHITECTURE=no
29999 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30000 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30001 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30002 wxUSE_DRAG_AND_DROP=no
30004 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30005 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30006 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30011 if test "$wxUSE_MSW" = 1 ; then
30017 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30021 if test "$wxUSE_GTK" = 1; then
30022 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30023 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30025 gtk_version_cached=1
30026 if test "${wx_cv_lib_gtk+set}" = set; then
30027 echo $ECHO_N "(cached) $ECHO_C" >&6
30030 gtk_version_cached=0
30031 { echo "$as_me:$LINENO: result: " >&5
30032 echo "${ECHO_T}" >&6; }
30035 if test "$wxUSE_THREADS" = "yes"; then
30036 GTK_MODULES=gthread
30040 if test "x$wxGTK_VERSION" != "x1"
30044 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30049 # Check whether --enable-gtktest was given.
30050 if test "${enable_gtktest+set}" = set; then
30051 enableval=$enable_gtktest;
30057 pkg_config_args=gtk+-2.0
30058 for module in . $GTK_MODULES
30062 pkg_config_args="$pkg_config_args gthread-2.0"
30069 # Extract the first word of "pkg-config", so it can be a program name with args.
30070 set dummy pkg-config; ac_word=$2
30071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30073 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30074 echo $ECHO_N "(cached) $ECHO_C" >&6
30076 case $PKG_CONFIG in
30078 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30082 for as_dir in $PATH
30085 test -z "$as_dir" && as_dir=.
30086 for ac_exec_ext in '' $ac_executable_extensions; do
30087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30088 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30096 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30100 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30101 if test -n "$PKG_CONFIG"; then
30102 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30103 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30105 { echo "$as_me:$LINENO: result: no" >&5
30106 echo "${ECHO_T}no" >&6; }
30111 if test x$PKG_CONFIG != xno ; then
30112 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30115 echo "*** pkg-config too old; version 0.7 or better required."
30123 min_gtk_version=2.4.0
30124 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30125 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30127 if test x$PKG_CONFIG != xno ; then
30128 ## don't try to run the test against uninstalled libtool libs
30129 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30130 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30134 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30141 if test x"$no_gtk" = x ; then
30142 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30143 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30144 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30146 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30148 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30150 if test "x$enable_gtktest" = "xyes" ; then
30151 ac_save_CFLAGS="$CFLAGS"
30152 ac_save_LIBS="$LIBS"
30153 CFLAGS="$CFLAGS $GTK_CFLAGS"
30154 LIBS="$GTK_LIBS $LIBS"
30156 if test "$cross_compiling" = yes; then
30157 echo $ac_n "cross compiling; assumed OK... $ac_c"
30159 cat >conftest.$ac_ext <<_ACEOF
30162 cat confdefs.h >>conftest.$ac_ext
30163 cat >>conftest.$ac_ext <<_ACEOF
30164 /* end confdefs.h. */
30166 #include <gtk/gtk.h>
30168 #include <stdlib.h>
30173 int major, minor, micro;
30176 system ("touch conf.gtktest");
30178 /* HP/UX 9 (%@#!) writes to sscanf strings */
30179 tmp_version = g_strdup("$min_gtk_version");
30180 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30181 printf("%s, bad version string\n", "$min_gtk_version");
30185 if ((gtk_major_version != $gtk_config_major_version) ||
30186 (gtk_minor_version != $gtk_config_minor_version) ||
30187 (gtk_micro_version != $gtk_config_micro_version))
30189 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30190 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30191 gtk_major_version, gtk_minor_version, gtk_micro_version);
30192 printf ("*** was found! If pkg-config was correct, then it is best\n");
30193 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30194 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30195 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30196 printf("*** required on your system.\n");
30197 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30198 printf("*** to point to the correct configuration files\n");
30200 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30201 (gtk_minor_version != GTK_MINOR_VERSION) ||
30202 (gtk_micro_version != GTK_MICRO_VERSION))
30204 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30205 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30206 printf("*** library (version %d.%d.%d)\n",
30207 gtk_major_version, gtk_minor_version, gtk_micro_version);
30211 if ((gtk_major_version > major) ||
30212 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30213 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30219 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30220 gtk_major_version, gtk_minor_version, gtk_micro_version);
30221 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30222 major, minor, micro);
30223 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30225 printf("*** If you have already installed a sufficiently new version, this error\n");
30226 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30227 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30228 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30229 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30230 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30231 printf("*** so that the correct libraries are found at run-time))\n");
30238 rm -f conftest$ac_exeext
30239 if { (ac_try="$ac_link"
30240 case "(($ac_try" in
30241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30242 *) ac_try_echo=$ac_try;;
30244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30245 (eval "$ac_link") 2>&5
30247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30249 { (case "(($ac_try" in
30250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30251 *) ac_try_echo=$ac_try;;
30253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30254 (eval "$ac_try") 2>&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; }; then
30260 echo "$as_me: program exited with status $ac_status" >&5
30261 echo "$as_me: failed program was:" >&5
30262 sed 's/^/| /' conftest.$ac_ext >&5
30264 ( exit $ac_status )
30267 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30271 CFLAGS="$ac_save_CFLAGS"
30272 LIBS="$ac_save_LIBS"
30275 if test "x$no_gtk" = x ; then
30276 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30277 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30280 { echo "$as_me:$LINENO: result: no" >&5
30281 echo "${ECHO_T}no" >&6; }
30282 if test "$PKG_CONFIG" = "no" ; then
30283 echo "*** A new enough version of pkg-config was not found."
30284 echo "*** See http://pkgconfig.sourceforge.net"
30286 if test -f conf.gtktest ; then
30289 echo "*** Could not run GTK+ test program, checking why..."
30290 ac_save_CFLAGS="$CFLAGS"
30291 ac_save_LIBS="$LIBS"
30292 CFLAGS="$CFLAGS $GTK_CFLAGS"
30293 LIBS="$LIBS $GTK_LIBS"
30294 cat >conftest.$ac_ext <<_ACEOF
30297 cat confdefs.h >>conftest.$ac_ext
30298 cat >>conftest.$ac_ext <<_ACEOF
30299 /* end confdefs.h. */
30301 #include <gtk/gtk.h>
30307 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30312 rm -f conftest.$ac_objext conftest$ac_exeext
30313 if { (ac_try="$ac_link"
30314 case "(($ac_try" in
30315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30316 *) ac_try_echo=$ac_try;;
30318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30319 (eval "$ac_link") 2>conftest.er1
30321 grep -v '^ *+' conftest.er1 >conftest.err
30323 cat conftest.err >&5
30324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325 (exit $ac_status); } && {
30326 test -z "$ac_c_werror_flag" ||
30327 test ! -s conftest.err
30328 } && test -s conftest$ac_exeext &&
30329 $as_test_x conftest$ac_exeext; then
30330 echo "*** The test program compiled, but did not run. This usually means"
30331 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30332 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30333 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30334 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30335 echo "*** is required on your system"
30337 echo "*** If you have an old version installed, it is best to remove it, although"
30338 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30343 echo "*** The test program failed to compile or link. See the file config.log for the"
30344 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30348 conftest$ac_exeext conftest.$ac_ext
30349 CFLAGS="$ac_save_CFLAGS"
30350 LIBS="$ac_save_LIBS"
30363 if test -z "$wx_cv_lib_gtk"; then
30364 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30366 # Check whether --with-gtk-prefix was given.
30367 if test "${with_gtk_prefix+set}" = set; then
30368 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30370 gtk_config_prefix=""
30374 # Check whether --with-gtk-exec-prefix was given.
30375 if test "${with_gtk_exec_prefix+set}" = set; then
30376 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30378 gtk_config_exec_prefix=""
30381 # Check whether --enable-gtktest was given.
30382 if test "${enable_gtktest+set}" = set; then
30383 enableval=$enable_gtktest;
30389 for module in . $GTK_MODULES
30393 gtk_config_args="$gtk_config_args gthread"
30398 if test x$gtk_config_exec_prefix != x ; then
30399 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30400 if test x${GTK_CONFIG+set} != xset ; then
30401 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30404 if test x$gtk_config_prefix != x ; then
30405 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30406 if test x${GTK_CONFIG+set} != xset ; then
30407 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30411 # Extract the first word of "gtk-config", so it can be a program name with args.
30412 set dummy gtk-config; ac_word=$2
30413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30415 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30416 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 case $GTK_CONFIG in
30420 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30424 for as_dir in $PATH
30427 test -z "$as_dir" && as_dir=.
30428 for ac_exec_ext in '' $ac_executable_extensions; do
30429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30430 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30438 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30442 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30443 if test -n "$GTK_CONFIG"; then
30444 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30445 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30447 { echo "$as_me:$LINENO: result: no" >&5
30448 echo "${ECHO_T}no" >&6; }
30452 min_gtk_version=1.2.7
30453 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30454 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30456 if test "$GTK_CONFIG" = "no" ; then
30459 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30460 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30461 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30463 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30465 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30466 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30467 if test "x$enable_gtktest" = "xyes" ; then
30468 ac_save_CFLAGS="$CFLAGS"
30469 ac_save_LIBS="$LIBS"
30470 CFLAGS="$CFLAGS $GTK_CFLAGS"
30471 LIBS="$GTK_LIBS $LIBS"
30473 if test "$cross_compiling" = yes; then
30474 echo $ac_n "cross compiling; assumed OK... $ac_c"
30476 cat >conftest.$ac_ext <<_ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30483 #include <gtk/gtk.h>
30485 #include <stdlib.h>
30490 int major, minor, micro;
30493 system ("touch conf.gtktest");
30495 /* HP/UX 9 (%@#!) writes to sscanf strings */
30496 tmp_version = g_strdup("$min_gtk_version");
30497 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30498 printf("%s, bad version string\n", "$min_gtk_version");
30502 if ((gtk_major_version != $gtk_config_major_version) ||
30503 (gtk_minor_version != $gtk_config_minor_version) ||
30504 (gtk_micro_version != $gtk_config_micro_version))
30506 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30507 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30508 gtk_major_version, gtk_minor_version, gtk_micro_version);
30509 printf ("*** was found! If gtk-config was correct, then it is best\n");
30510 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30511 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30512 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30513 printf("*** required on your system.\n");
30514 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30515 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30516 printf("*** before re-running configure\n");
30518 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30519 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30520 (gtk_minor_version != GTK_MINOR_VERSION) ||
30521 (gtk_micro_version != GTK_MICRO_VERSION))
30523 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30524 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30525 printf("*** library (version %d.%d.%d)\n",
30526 gtk_major_version, gtk_minor_version, gtk_micro_version);
30528 #endif /* defined (GTK_MAJOR_VERSION) ... */
30531 if ((gtk_major_version > major) ||
30532 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30533 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30539 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30540 gtk_major_version, gtk_minor_version, gtk_micro_version);
30541 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30542 major, minor, micro);
30543 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30545 printf("*** If you have already installed a sufficiently new version, this error\n");
30546 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30547 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30548 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30549 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30550 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30551 printf("*** so that the correct libraries are found at run-time))\n");
30558 rm -f conftest$ac_exeext
30559 if { (ac_try="$ac_link"
30560 case "(($ac_try" in
30561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30562 *) ac_try_echo=$ac_try;;
30564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30565 (eval "$ac_link") 2>&5
30567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30568 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30569 { (case "(($ac_try" in
30570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30571 *) ac_try_echo=$ac_try;;
30573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30574 (eval "$ac_try") 2>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; }; then
30580 echo "$as_me: program exited with status $ac_status" >&5
30581 echo "$as_me: failed program was:" >&5
30582 sed 's/^/| /' conftest.$ac_ext >&5
30584 ( exit $ac_status )
30587 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30591 CFLAGS="$ac_save_CFLAGS"
30592 LIBS="$ac_save_LIBS"
30595 if test "x$no_gtk" = x ; then
30596 { echo "$as_me:$LINENO: result: yes" >&5
30597 echo "${ECHO_T}yes" >&6; }
30598 wx_cv_lib_gtk=1.2.7
30600 { echo "$as_me:$LINENO: result: no" >&5
30601 echo "${ECHO_T}no" >&6; }
30602 if test "$GTK_CONFIG" = "no" ; then
30603 echo "*** The gtk-config script installed by GTK could not be found"
30604 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30605 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30606 echo "*** full path to gtk-config."
30608 if test -f conf.gtktest ; then
30611 echo "*** Could not run GTK test program, checking why..."
30612 CFLAGS="$CFLAGS $GTK_CFLAGS"
30613 LIBS="$LIBS $GTK_LIBS"
30614 cat >conftest.$ac_ext <<_ACEOF
30617 cat confdefs.h >>conftest.$ac_ext
30618 cat >>conftest.$ac_ext <<_ACEOF
30619 /* end confdefs.h. */
30621 #include <gtk/gtk.h>
30627 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30632 rm -f conftest.$ac_objext conftest$ac_exeext
30633 if { (ac_try="$ac_link"
30634 case "(($ac_try" in
30635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30636 *) ac_try_echo=$ac_try;;
30638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30639 (eval "$ac_link") 2>conftest.er1
30641 grep -v '^ *+' conftest.er1 >conftest.err
30643 cat conftest.err >&5
30644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30645 (exit $ac_status); } && {
30646 test -z "$ac_c_werror_flag" ||
30647 test ! -s conftest.err
30648 } && test -s conftest$ac_exeext &&
30649 $as_test_x conftest$ac_exeext; then
30650 echo "*** The test program compiled, but did not run. This usually means"
30651 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30652 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30653 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30654 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30655 echo "*** is required on your system"
30657 echo "*** If you have an old version installed, it is best to remove it, although"
30658 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30660 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30661 echo "*** came with the system with the command"
30663 echo "*** rpm --erase --nodeps gtk gtk-devel"
30665 echo "$as_me: failed program was:" >&5
30666 sed 's/^/| /' conftest.$ac_ext >&5
30668 echo "*** The test program failed to compile or link. See the file config.log for the"
30669 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30670 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30671 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30675 conftest$ac_exeext conftest.$ac_ext
30676 CFLAGS="$ac_save_CFLAGS"
30677 LIBS="$ac_save_LIBS"
30689 if test -z "$wx_cv_lib_gtk"; then
30691 # Check whether --with-gtk-prefix was given.
30692 if test "${with_gtk_prefix+set}" = set; then
30693 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30695 gtk_config_prefix=""
30699 # Check whether --with-gtk-exec-prefix was given.
30700 if test "${with_gtk_exec_prefix+set}" = set; then
30701 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30703 gtk_config_exec_prefix=""
30706 # Check whether --enable-gtktest was given.
30707 if test "${enable_gtktest+set}" = set; then
30708 enableval=$enable_gtktest;
30714 for module in . $GTK_MODULES
30718 gtk_config_args="$gtk_config_args gthread"
30723 if test x$gtk_config_exec_prefix != x ; then
30724 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30725 if test x${GTK_CONFIG+set} != xset ; then
30726 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30729 if test x$gtk_config_prefix != x ; then
30730 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30731 if test x${GTK_CONFIG+set} != xset ; then
30732 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30736 # Extract the first word of "gtk-config", so it can be a program name with args.
30737 set dummy gtk-config; ac_word=$2
30738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30740 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30741 echo $ECHO_N "(cached) $ECHO_C" >&6
30743 case $GTK_CONFIG in
30745 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30749 for as_dir in $PATH
30752 test -z "$as_dir" && as_dir=.
30753 for ac_exec_ext in '' $ac_executable_extensions; do
30754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30755 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30763 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30767 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30768 if test -n "$GTK_CONFIG"; then
30769 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30770 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30772 { echo "$as_me:$LINENO: result: no" >&5
30773 echo "${ECHO_T}no" >&6; }
30777 min_gtk_version=1.2.3
30778 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30779 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30781 if test "$GTK_CONFIG" = "no" ; then
30784 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30785 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30786 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30787 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30788 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30789 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30790 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30791 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30792 if test "x$enable_gtktest" = "xyes" ; then
30793 ac_save_CFLAGS="$CFLAGS"
30794 ac_save_LIBS="$LIBS"
30795 CFLAGS="$CFLAGS $GTK_CFLAGS"
30796 LIBS="$GTK_LIBS $LIBS"
30798 if test "$cross_compiling" = yes; then
30799 echo $ac_n "cross compiling; assumed OK... $ac_c"
30801 cat >conftest.$ac_ext <<_ACEOF
30804 cat confdefs.h >>conftest.$ac_ext
30805 cat >>conftest.$ac_ext <<_ACEOF
30806 /* end confdefs.h. */
30808 #include <gtk/gtk.h>
30810 #include <stdlib.h>
30815 int major, minor, micro;
30818 system ("touch conf.gtktest");
30820 /* HP/UX 9 (%@#!) writes to sscanf strings */
30821 tmp_version = g_strdup("$min_gtk_version");
30822 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30823 printf("%s, bad version string\n", "$min_gtk_version");
30827 if ((gtk_major_version != $gtk_config_major_version) ||
30828 (gtk_minor_version != $gtk_config_minor_version) ||
30829 (gtk_micro_version != $gtk_config_micro_version))
30831 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30832 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30833 gtk_major_version, gtk_minor_version, gtk_micro_version);
30834 printf ("*** was found! If gtk-config was correct, then it is best\n");
30835 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30836 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30837 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30838 printf("*** required on your system.\n");
30839 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30840 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30841 printf("*** before re-running configure\n");
30843 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30844 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30845 (gtk_minor_version != GTK_MINOR_VERSION) ||
30846 (gtk_micro_version != GTK_MICRO_VERSION))
30848 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30849 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30850 printf("*** library (version %d.%d.%d)\n",
30851 gtk_major_version, gtk_minor_version, gtk_micro_version);
30853 #endif /* defined (GTK_MAJOR_VERSION) ... */
30856 if ((gtk_major_version > major) ||
30857 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30858 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30864 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30865 gtk_major_version, gtk_minor_version, gtk_micro_version);
30866 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30867 major, minor, micro);
30868 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30870 printf("*** If you have already installed a sufficiently new version, this error\n");
30871 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30872 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30873 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30874 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30875 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30876 printf("*** so that the correct libraries are found at run-time))\n");
30883 rm -f conftest$ac_exeext
30884 if { (ac_try="$ac_link"
30885 case "(($ac_try" in
30886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30887 *) ac_try_echo=$ac_try;;
30889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30890 (eval "$ac_link") 2>&5
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30894 { (case "(($ac_try" in
30895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30896 *) ac_try_echo=$ac_try;;
30898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30899 (eval "$ac_try") 2>&5
30901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 (exit $ac_status); }; }; then
30905 echo "$as_me: program exited with status $ac_status" >&5
30906 echo "$as_me: failed program was:" >&5
30907 sed 's/^/| /' conftest.$ac_ext >&5
30909 ( exit $ac_status )
30912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30916 CFLAGS="$ac_save_CFLAGS"
30917 LIBS="$ac_save_LIBS"
30920 if test "x$no_gtk" = x ; then
30921 { echo "$as_me:$LINENO: result: yes" >&5
30922 echo "${ECHO_T}yes" >&6; }
30923 wx_cv_lib_gtk=1.2.3
30925 { echo "$as_me:$LINENO: result: no" >&5
30926 echo "${ECHO_T}no" >&6; }
30927 if test "$GTK_CONFIG" = "no" ; then
30928 echo "*** The gtk-config script installed by GTK could not be found"
30929 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30930 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30931 echo "*** full path to gtk-config."
30933 if test -f conf.gtktest ; then
30936 echo "*** Could not run GTK test program, checking why..."
30937 CFLAGS="$CFLAGS $GTK_CFLAGS"
30938 LIBS="$LIBS $GTK_LIBS"
30939 cat >conftest.$ac_ext <<_ACEOF
30942 cat confdefs.h >>conftest.$ac_ext
30943 cat >>conftest.$ac_ext <<_ACEOF
30944 /* end confdefs.h. */
30946 #include <gtk/gtk.h>
30952 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30957 rm -f conftest.$ac_objext conftest$ac_exeext
30958 if { (ac_try="$ac_link"
30959 case "(($ac_try" in
30960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30961 *) ac_try_echo=$ac_try;;
30963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30964 (eval "$ac_link") 2>conftest.er1
30966 grep -v '^ *+' conftest.er1 >conftest.err
30968 cat conftest.err >&5
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); } && {
30971 test -z "$ac_c_werror_flag" ||
30972 test ! -s conftest.err
30973 } && test -s conftest$ac_exeext &&
30974 $as_test_x conftest$ac_exeext; then
30975 echo "*** The test program compiled, but did not run. This usually means"
30976 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30977 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30978 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30979 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30980 echo "*** is required on your system"
30982 echo "*** If you have an old version installed, it is best to remove it, although"
30983 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30985 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30986 echo "*** came with the system with the command"
30988 echo "*** rpm --erase --nodeps gtk gtk-devel"
30990 echo "$as_me: failed program was:" >&5
30991 sed 's/^/| /' conftest.$ac_ext >&5
30993 echo "*** The test program failed to compile or link. See the file config.log for the"
30994 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30995 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30996 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31000 conftest$ac_exeext conftest.$ac_ext
31001 CFLAGS="$ac_save_CFLAGS"
31002 LIBS="$ac_save_LIBS"
31017 if test -z "$wx_cv_lib_gtk"; then
31020 GTK_LIBS="$GTK_LIBS -lX11"
31022 wx_cv_cflags_gtk=$GTK_CFLAGS
31023 wx_cv_libs_gtk=$GTK_LIBS
31030 if test "$gtk_version_cached" = 1; then
31031 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31032 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31035 case "$wx_cv_lib_gtk" in
31042 *) { { echo "$as_me:$LINENO: error:
31043 The development files for GTK+ were not found. For GTK+ 2, please
31044 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31045 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31046 and that the version is 1.2.3 or above. Also check that the
31047 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31048 --libs' are in the LD_LIBRARY_PATH or equivalent.
31050 echo "$as_me: error:
31051 The development files for GTK+ were not found. For GTK+ 2, please
31052 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31053 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31054 and that the version is 1.2.3 or above. Also check that the
31055 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31056 --libs' are in the LD_LIBRARY_PATH or equivalent.
31058 { (exit 1); exit 1; }; }
31062 if test "$WXGTK2" = 1; then
31063 save_CFLAGS="$CFLAGS"
31065 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31066 LIBS="$LIBS $wx_cv_libs_gtk"
31068 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
31069 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
31070 cat >conftest.$ac_ext <<_ACEOF
31073 cat confdefs.h >>conftest.$ac_ext
31074 cat >>conftest.$ac_ext <<_ACEOF
31075 /* end confdefs.h. */
31077 #include <gtk/gtk.h>
31083 #if !GTK_CHECK_VERSION(2,18,0)
31091 rm -f conftest.$ac_objext
31092 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
31109 cat >>confdefs.h <<\_ACEOF
31110 #define __WXGTK218__ 1
31113 cat >>confdefs.h <<\_ACEOF
31114 #define __WXGTK210__ 1
31117 cat >>confdefs.h <<\_ACEOF
31118 #define __WXGTK26__ 1
31121 { echo "$as_me:$LINENO: result: yes" >&5
31122 echo "${ECHO_T}yes" >&6; }
31126 echo "$as_me: failed program was:" >&5
31127 sed 's/^/| /' conftest.$ac_ext >&5
31130 { echo "$as_me:$LINENO: result: no" >&5
31131 echo "${ECHO_T}no" >&6; }
31136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31138 if test "$ac_wxgtk218" = 0; then
31139 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31140 echo $ECHO_N "checking if GTK+ is version >= 2.10... $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. */
31148 #include <gtk/gtk.h>
31154 #if !GTK_CHECK_VERSION(2,10,0)
31162 rm -f conftest.$ac_objext
31163 if { (ac_try="$ac_compile"
31164 case "(($ac_try" in
31165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31166 *) ac_try_echo=$ac_try;;
31168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31169 (eval "$ac_compile") 2>conftest.er1
31171 grep -v '^ *+' conftest.er1 >conftest.err
31173 cat conftest.err >&5
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); } && {
31176 test -z "$ac_c_werror_flag" ||
31177 test ! -s conftest.err
31178 } && test -s conftest.$ac_objext; then
31180 cat >>confdefs.h <<\_ACEOF
31181 #define __WXGTK210__ 1
31184 cat >>confdefs.h <<\_ACEOF
31185 #define __WXGTK26__ 1
31188 { echo "$as_me:$LINENO: result: yes" >&5
31189 echo "${ECHO_T}yes" >&6; }
31193 echo "$as_me: failed program was:" >&5
31194 sed 's/^/| /' conftest.$ac_ext >&5
31197 { echo "$as_me:$LINENO: result: no" >&5
31198 echo "${ECHO_T}no" >&6; }
31203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31205 if test "$ac_wxgtk210" = 0; then
31206 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31207 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31208 cat >conftest.$ac_ext <<_ACEOF
31211 cat confdefs.h >>conftest.$ac_ext
31212 cat >>conftest.$ac_ext <<_ACEOF
31213 /* end confdefs.h. */
31215 #include <gtk/gtk.h>
31221 #if !GTK_CHECK_VERSION(2,6,0)
31229 rm -f conftest.$ac_objext
31230 if { (ac_try="$ac_compile"
31231 case "(($ac_try" in
31232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31233 *) ac_try_echo=$ac_try;;
31235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31236 (eval "$ac_compile") 2>conftest.er1
31238 grep -v '^ *+' conftest.er1 >conftest.err
31240 cat conftest.err >&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); } && {
31243 test -z "$ac_c_werror_flag" ||
31244 test ! -s conftest.err
31245 } && test -s conftest.$ac_objext; then
31247 cat >>confdefs.h <<\_ACEOF
31248 #define __WXGTK26__ 1
31251 { echo "$as_me:$LINENO: result: yes" >&5
31252 echo "${ECHO_T}yes" >&6; }
31256 echo "$as_me: failed program was:" >&5
31257 sed 's/^/| /' conftest.$ac_ext >&5
31260 { echo "$as_me:$LINENO: result: no" >&5
31261 echo "${ECHO_T}no" >&6; }
31266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31270 CFLAGS="$save_CFLAGS"
31273 if test "$wxUSE_UNICODE" = "yes"; then
31274 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31275 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31279 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31280 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31281 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31284 ac_check_lib_save_LIBS=$LIBS
31286 cat >conftest.$ac_ext <<_ACEOF
31289 cat confdefs.h >>conftest.$ac_ext
31290 cat >>conftest.$ac_ext <<_ACEOF
31291 /* end confdefs.h. */
31293 /* Override any GCC internal prototype to avoid an error.
31294 Use char because int might match the return type of a GCC
31295 builtin and then its argument prototype would still apply. */
31299 char gdk_im_open ();
31303 return gdk_im_open ();
31308 rm -f conftest.$ac_objext conftest$ac_exeext
31309 if { (ac_try="$ac_link"
31310 case "(($ac_try" in
31311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31312 *) ac_try_echo=$ac_try;;
31314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31315 (eval "$ac_link") 2>conftest.er1
31317 grep -v '^ *+' conftest.er1 >conftest.err
31319 cat conftest.err >&5
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); } && {
31322 test -z "$ac_c_werror_flag" ||
31323 test ! -s conftest.err
31324 } && test -s conftest$ac_exeext &&
31325 $as_test_x conftest$ac_exeext; then
31326 ac_cv_lib_gdk_gdk_im_open=yes
31328 echo "$as_me: failed program was:" >&5
31329 sed 's/^/| /' conftest.$ac_ext >&5
31331 ac_cv_lib_gdk_gdk_im_open=no
31334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31335 conftest$ac_exeext conftest.$ac_ext
31336 LIBS=$ac_check_lib_save_LIBS
31338 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31339 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31340 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31341 cat >>confdefs.h <<\_ACEOF
31348 if test "$USE_DARWIN" != 1; then
31350 for ac_func in poll
31352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31353 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31355 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 cat >conftest.$ac_ext <<_ACEOF
31361 cat confdefs.h >>conftest.$ac_ext
31362 cat >>conftest.$ac_ext <<_ACEOF
31363 /* end confdefs.h. */
31364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31366 #define $ac_func innocuous_$ac_func
31368 /* System header to define __stub macros and hopefully few prototypes,
31369 which can conflict with char $ac_func (); below.
31370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31371 <limits.h> exists even on freestanding compilers. */
31374 # include <limits.h>
31376 # include <assert.h>
31381 /* Override any GCC internal prototype to avoid an error.
31382 Use char because int might match the return type of a GCC
31383 builtin and then its argument prototype would still apply. */
31388 /* The GNU C library defines this for functions which it implements
31389 to always fail with ENOSYS. Some functions are actually named
31390 something starting with __ and the normal name is an alias. */
31391 #if defined __stub_$ac_func || defined __stub___$ac_func
31398 return $ac_func ();
31403 rm -f conftest.$ac_objext conftest$ac_exeext
31404 if { (ac_try="$ac_link"
31405 case "(($ac_try" in
31406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31407 *) ac_try_echo=$ac_try;;
31409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31410 (eval "$ac_link") 2>conftest.er1
31412 grep -v '^ *+' conftest.er1 >conftest.err
31414 cat conftest.err >&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); } && {
31417 test -z "$ac_c_werror_flag" ||
31418 test ! -s conftest.err
31419 } && test -s conftest$ac_exeext &&
31420 $as_test_x conftest$ac_exeext; then
31421 eval "$as_ac_var=yes"
31423 echo "$as_me: failed program was:" >&5
31424 sed 's/^/| /' conftest.$ac_ext >&5
31426 eval "$as_ac_var=no"
31429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31430 conftest$ac_exeext conftest.$ac_ext
31432 ac_res=`eval echo '${'$as_ac_var'}'`
31433 { echo "$as_me:$LINENO: result: $ac_res" >&5
31434 echo "${ECHO_T}$ac_res" >&6; }
31435 if test `eval echo '${'$as_ac_var'}'` = yes; then
31436 cat >>confdefs.h <<_ACEOF
31437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31446 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31447 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31448 AFMINSTALL=afminstall
31452 if test "$wxUSE_GPE" = "yes"; then
31453 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31454 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31457 for ac_dir in $SEARCH_LIB
31459 for ac_extension in a so sl dylib dll.a; do
31460 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31461 ac_find_libraries=$ac_dir
31467 if test "$ac_find_libraries" != "" ; then
31469 if test "$ac_find_libraries" = "default location"; then
31472 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31474 if test $result = 0; then
31477 ac_path_to_link=" -L$ac_find_libraries"
31481 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31483 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31484 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31486 { echo "$as_me:$LINENO: result: not found" >&5
31487 echo "${ECHO_T}not found" >&6; }
31493 if test "$wxUSE_MGL" = 1; then
31494 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31495 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31496 if test "x$MGL_ROOT" = x ; then
31497 { echo "$as_me:$LINENO: result: not found" >&5
31498 echo "${ECHO_T}not found" >&6; }
31499 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31500 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31501 { (exit 1); exit 1; }; }
31503 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31504 echo "${ECHO_T}$MGL_ROOT" >&6; }
31507 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31508 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31511 if test "x$wxUSE_SHARED" = xyes ; then
31512 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31514 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31518 mgl_os_candidates="dos32/dj2"
31521 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31522 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31523 { (exit 1); exit 1; }; }
31529 for mgl_os_i in $mgl_os_candidates ; do
31530 if test "x$mgl_os" = x ; then
31531 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31532 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31533 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31538 if test "x$mgl_lib_type" = x ; then
31539 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31540 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31541 mgl_lib_type=release
31548 if test "x$mgl_os" = x ; then
31549 { echo "$as_me:$LINENO: result: not found" >&5
31550 echo "${ECHO_T}not found" >&6; }
31551 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31552 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31553 { (exit 1); exit 1; }; }
31555 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31556 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31558 wxUSE_UNIVERSAL="yes"
31560 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31561 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31563 AFMINSTALL=afminstall
31568 if test "$wxUSE_DFB" = 1; then
31571 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31572 if test -n "$ac_tool_prefix"; then
31573 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31574 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31575 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31577 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31578 echo $ECHO_N "(cached) $ECHO_C" >&6
31580 case $PKG_CONFIG in
31582 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31586 for as_dir in $PATH
31589 test -z "$as_dir" && as_dir=.
31590 for ac_exec_ext in '' $ac_executable_extensions; do
31591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31592 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31603 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31604 if test -n "$PKG_CONFIG"; then
31605 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31606 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31608 { echo "$as_me:$LINENO: result: no" >&5
31609 echo "${ECHO_T}no" >&6; }
31614 if test -z "$ac_cv_path_PKG_CONFIG"; then
31615 ac_pt_PKG_CONFIG=$PKG_CONFIG
31616 # Extract the first word of "pkg-config", so it can be a program name with args.
31617 set dummy pkg-config; ac_word=$2
31618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31620 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31621 echo $ECHO_N "(cached) $ECHO_C" >&6
31623 case $ac_pt_PKG_CONFIG in
31625 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31629 for as_dir in $PATH
31632 test -z "$as_dir" && as_dir=.
31633 for ac_exec_ext in '' $ac_executable_extensions; do
31634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31635 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31646 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31647 if test -n "$ac_pt_PKG_CONFIG"; then
31648 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31649 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31651 { echo "$as_me:$LINENO: result: no" >&5
31652 echo "${ECHO_T}no" >&6; }
31655 if test "x$ac_pt_PKG_CONFIG" = x; then
31658 case $cross_compiling:$ac_tool_warned in
31660 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31661 whose name does not start with the host triplet. If you think this
31662 configuration is useful to you, please write to autoconf@gnu.org." >&5
31663 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31664 whose name does not start with the host triplet. If you think this
31665 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31666 ac_tool_warned=yes ;;
31668 PKG_CONFIG=$ac_pt_PKG_CONFIG
31671 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31675 if test -n "$PKG_CONFIG"; then
31676 _pkg_min_version=0.9.0
31677 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31678 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31679 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31680 { echo "$as_me:$LINENO: result: yes" >&5
31681 echo "${ECHO_T}yes" >&6; }
31683 { echo "$as_me:$LINENO: result: no" >&5
31684 echo "${ECHO_T}no" >&6; }
31692 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31693 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31695 if test -n "$PKG_CONFIG"; then
31696 if test -n "$DIRECTFB_CFLAGS"; then
31697 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31699 if test -n "$PKG_CONFIG" && \
31700 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31701 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31704 (exit $ac_status); }; then
31705 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31713 if test -n "$PKG_CONFIG"; then
31714 if test -n "$DIRECTFB_LIBS"; then
31715 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31717 if test -n "$PKG_CONFIG" && \
31718 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31719 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); }; then
31723 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31734 if test $pkg_failed = yes; then
31736 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31737 _pkg_short_errors_supported=yes
31739 _pkg_short_errors_supported=no
31741 if test $_pkg_short_errors_supported = yes; then
31742 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31744 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31746 # Put the nasty error message in config.log where it belongs
31747 echo "$DIRECTFB_PKG_ERRORS" >&5
31750 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31751 echo "$as_me: error: DirectFB not found." >&2;}
31752 { (exit 1); exit 1; }; }
31755 elif test $pkg_failed = untried; then
31757 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31758 echo "$as_me: error: DirectFB not found." >&2;}
31759 { (exit 1); exit 1; }; }
31763 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31764 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31765 { echo "$as_me:$LINENO: result: yes" >&5
31766 echo "${ECHO_T}yes" >&6; }
31768 wxUSE_UNIVERSAL="yes"
31769 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31770 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31777 if test "$wxUSE_MICROWIN" = 1; then
31778 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31779 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31780 if test "x$MICROWINDOWS" = x ; then
31781 { echo "$as_me:$LINENO: result: not found" >&5
31782 echo "${ECHO_T}not found" >&6; }
31783 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31784 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31785 { (exit 1); exit 1; }; }
31787 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31788 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31791 if test -f $MICROWINDOWS/lib/libmwin.a; then
31792 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31793 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31795 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31796 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31797 { (exit 1); exit 1; }; }
31800 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31801 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31803 wxUSE_UNIVERSAL="yes"
31805 AFMINSTALL=afminstall
31807 GUIDIST=MICROWIN_DIST
31809 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31812 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31813 { echo "$as_me:$LINENO: checking for X" >&5
31814 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31817 # Check whether --with-x was given.
31818 if test "${with_x+set}" = set; then
31822 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31823 if test "x$with_x" = xno; then
31824 # The user explicitly disabled X.
31827 case $x_includes,$x_libraries in #(
31828 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31829 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31830 { (exit 1); exit 1; }; };; #(
31831 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31832 echo $ECHO_N "(cached) $ECHO_C" >&6
31834 # One or both of the vars are not set, and there is no cached value.
31835 ac_x_includes=no ac_x_libraries=no
31836 rm -f -r conftest.dir
31837 if mkdir conftest.dir; then
31839 cat >Imakefile <<'_ACEOF'
31841 @echo incroot='${INCROOT}'
31843 @echo usrlibdir='${USRLIBDIR}'
31845 @echo libdir='${LIBDIR}'
31847 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31848 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31849 for ac_var in incroot usrlibdir libdir; do
31850 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31852 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31853 for ac_extension in a so sl; do
31854 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31855 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31856 ac_im_usrlibdir=$ac_im_libdir; break
31859 # Screen out bogus values from the imake configuration. They are
31860 # bogus both because they are the default anyway, and because
31861 # using them would break gcc on systems where it needs fixed includes.
31862 case $ac_im_incroot in
31863 /usr/include) ac_x_includes= ;;
31864 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31866 case $ac_im_usrlibdir in
31867 /usr/lib | /lib) ;;
31868 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31872 rm -f -r conftest.dir
31875 # Standard set of common directories for X headers.
31876 # Check X11 before X11Rn because it is often a symlink to the current release.
31888 /usr/local/X11/include
31889 /usr/local/X11R6/include
31890 /usr/local/X11R5/include
31891 /usr/local/X11R4/include
31893 /usr/local/include/X11
31894 /usr/local/include/X11R6
31895 /usr/local/include/X11R5
31896 /usr/local/include/X11R4
31900 /usr/XFree86/include/X11
31904 /usr/unsupported/include
31905 /usr/athena/include
31906 /usr/local/x11r5/include
31907 /usr/lpp/Xamples/include
31909 /usr/openwin/include
31910 /usr/openwin/share/include'
31912 if test "$ac_x_includes" = no; then
31913 # Guess where to find include files, by looking for Xlib.h.
31914 # First, try using that file with no special directory specified.
31915 cat >conftest.$ac_ext <<_ACEOF
31918 cat confdefs.h >>conftest.$ac_ext
31919 cat >>conftest.$ac_ext <<_ACEOF
31920 /* end confdefs.h. */
31921 #include <X11/Xlib.h>
31923 if { (ac_try="$ac_cpp conftest.$ac_ext"
31924 case "(($ac_try" in
31925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31926 *) ac_try_echo=$ac_try;;
31928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31931 grep -v '^ *+' conftest.er1 >conftest.err
31933 cat conftest.err >&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); } >/dev/null && {
31936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31937 test ! -s conftest.err
31939 # We can compile using X headers with no special include directory.
31942 echo "$as_me: failed program was:" >&5
31943 sed 's/^/| /' conftest.$ac_ext >&5
31945 for ac_dir in $ac_x_header_dirs; do
31946 if test -r "$ac_dir/X11/Xlib.h"; then
31947 ac_x_includes=$ac_dir
31953 rm -f conftest.err conftest.$ac_ext
31954 fi # $ac_x_includes = no
31956 if test "$ac_x_libraries" = no; then
31957 # Check for the libraries.
31958 # See if we find them without any special options.
31959 # Don't add to $LIBS permanently.
31962 cat >conftest.$ac_ext <<_ACEOF
31965 cat confdefs.h >>conftest.$ac_ext
31966 cat >>conftest.$ac_ext <<_ACEOF
31967 /* end confdefs.h. */
31968 #include <X11/Xlib.h>
31977 rm -f conftest.$ac_objext conftest$ac_exeext
31978 if { (ac_try="$ac_link"
31979 case "(($ac_try" in
31980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31981 *) ac_try_echo=$ac_try;;
31983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31984 (eval "$ac_link") 2>conftest.er1
31986 grep -v '^ *+' conftest.er1 >conftest.err
31988 cat conftest.err >&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); } && {
31991 test -z "$ac_c_werror_flag" ||
31992 test ! -s conftest.err
31993 } && test -s conftest$ac_exeext &&
31994 $as_test_x conftest$ac_exeext; then
31996 # We can link X programs with no special library path.
31999 echo "$as_me: failed program was:" >&5
32000 sed 's/^/| /' conftest.$ac_ext >&5
32003 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32005 # Don't even attempt the hair of trying to link an X program!
32006 for ac_extension in a so sl; do
32007 if test -r "$ac_dir/libX11.$ac_extension"; then
32008 ac_x_libraries=$ac_dir
32015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32016 conftest$ac_exeext conftest.$ac_ext
32017 fi # $ac_x_libraries = no
32019 case $ac_x_includes,$ac_x_libraries in #(
32020 no,* | *,no | *\'*)
32021 # Didn't find X, or a directory has "'" in its name.
32022 ac_cv_have_x="have_x=no";; #(
32024 # Record where we found X for the cache.
32025 ac_cv_have_x="have_x=yes\
32026 ac_x_includes='$ac_x_includes'\
32027 ac_x_libraries='$ac_x_libraries'"
32033 eval "$ac_cv_have_x"
32036 if test "$have_x" != yes; then
32037 { echo "$as_me:$LINENO: result: $have_x" >&5
32038 echo "${ECHO_T}$have_x" >&6; }
32041 # If each of the values was on the command line, it overrides each guess.
32042 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32043 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32044 # Update the cache value to reflect the command line values.
32045 ac_cv_have_x="have_x=yes\
32046 ac_x_includes='$x_includes'\
32047 ac_x_libraries='$x_libraries'"
32048 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32049 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32052 if test "$no_x" = yes; then
32053 # Not all programs may use this symbol, but it does not hurt to define it.
32055 cat >>confdefs.h <<\_ACEOF
32056 #define X_DISPLAY_MISSING 1
32059 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32061 if test -n "$x_includes"; then
32062 X_CFLAGS="$X_CFLAGS -I$x_includes"
32065 # It would also be nice to do this for all -L options, not just this one.
32066 if test -n "$x_libraries"; then
32067 X_LIBS="$X_LIBS -L$x_libraries"
32068 # For Solaris; some versions of Sun CC require a space after -R and
32069 # others require no space. Words are not sufficient . . . .
32070 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32071 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32072 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32073 ac_xsave_c_werror_flag=$ac_c_werror_flag
32074 ac_c_werror_flag=yes
32075 cat >conftest.$ac_ext <<_ACEOF
32078 cat confdefs.h >>conftest.$ac_ext
32079 cat >>conftest.$ac_ext <<_ACEOF
32080 /* end confdefs.h. */
32090 rm -f conftest.$ac_objext conftest$ac_exeext
32091 if { (ac_try="$ac_link"
32092 case "(($ac_try" in
32093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32094 *) ac_try_echo=$ac_try;;
32096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32097 (eval "$ac_link") 2>conftest.er1
32099 grep -v '^ *+' conftest.er1 >conftest.err
32101 cat conftest.err >&5
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); } && {
32104 test -z "$ac_c_werror_flag" ||
32105 test ! -s conftest.err
32106 } && test -s conftest$ac_exeext &&
32107 $as_test_x conftest$ac_exeext; then
32108 { echo "$as_me:$LINENO: result: no" >&5
32109 echo "${ECHO_T}no" >&6; }
32110 X_LIBS="$X_LIBS -R$x_libraries"
32112 echo "$as_me: failed program was:" >&5
32113 sed 's/^/| /' conftest.$ac_ext >&5
32115 LIBS="$ac_xsave_LIBS -R $x_libraries"
32116 cat >conftest.$ac_ext <<_ACEOF
32119 cat confdefs.h >>conftest.$ac_ext
32120 cat >>conftest.$ac_ext <<_ACEOF
32121 /* end confdefs.h. */
32131 rm -f conftest.$ac_objext conftest$ac_exeext
32132 if { (ac_try="$ac_link"
32133 case "(($ac_try" in
32134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32135 *) ac_try_echo=$ac_try;;
32137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32138 (eval "$ac_link") 2>conftest.er1
32140 grep -v '^ *+' conftest.er1 >conftest.err
32142 cat conftest.err >&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); } && {
32145 test -z "$ac_c_werror_flag" ||
32146 test ! -s conftest.err
32147 } && test -s conftest$ac_exeext &&
32148 $as_test_x conftest$ac_exeext; then
32149 { echo "$as_me:$LINENO: result: yes" >&5
32150 echo "${ECHO_T}yes" >&6; }
32151 X_LIBS="$X_LIBS -R $x_libraries"
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.$ac_ext >&5
32156 { echo "$as_me:$LINENO: result: neither works" >&5
32157 echo "${ECHO_T}neither works" >&6; }
32160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32161 conftest$ac_exeext conftest.$ac_ext
32164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32165 conftest$ac_exeext conftest.$ac_ext
32166 ac_c_werror_flag=$ac_xsave_c_werror_flag
32167 LIBS=$ac_xsave_LIBS
32170 # Check for system-dependent libraries X programs must link with.
32171 # Do this before checking for the system-independent R6 libraries
32172 # (-lICE), since we may need -lsocket or whatever for X linking.
32174 if test "$ISC" = yes; then
32175 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32177 # Martyn Johnson says this is needed for Ultrix, if the X
32178 # libraries were built with DECnet support. And Karl Berry says
32179 # the Alpha needs dnet_stub (dnet does not exist).
32180 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32181 cat >conftest.$ac_ext <<_ACEOF
32184 cat confdefs.h >>conftest.$ac_ext
32185 cat >>conftest.$ac_ext <<_ACEOF
32186 /* end confdefs.h. */
32188 /* Override any GCC internal prototype to avoid an error.
32189 Use char because int might match the return type of a GCC
32190 builtin and then its argument prototype would still apply. */
32194 char XOpenDisplay ();
32198 return XOpenDisplay ();
32203 rm -f conftest.$ac_objext conftest$ac_exeext
32204 if { (ac_try="$ac_link"
32205 case "(($ac_try" in
32206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32207 *) ac_try_echo=$ac_try;;
32209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32210 (eval "$ac_link") 2>conftest.er1
32212 grep -v '^ *+' conftest.er1 >conftest.err
32214 cat conftest.err >&5
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); } && {
32217 test -z "$ac_c_werror_flag" ||
32218 test ! -s conftest.err
32219 } && test -s conftest$ac_exeext &&
32220 $as_test_x conftest$ac_exeext; then
32223 echo "$as_me: failed program was:" >&5
32224 sed 's/^/| /' conftest.$ac_ext >&5
32226 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32227 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32228 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32229 echo $ECHO_N "(cached) $ECHO_C" >&6
32231 ac_check_lib_save_LIBS=$LIBS
32232 LIBS="-ldnet $LIBS"
32233 cat >conftest.$ac_ext <<_ACEOF
32236 cat confdefs.h >>conftest.$ac_ext
32237 cat >>conftest.$ac_ext <<_ACEOF
32238 /* end confdefs.h. */
32240 /* Override any GCC internal prototype to avoid an error.
32241 Use char because int might match the return type of a GCC
32242 builtin and then its argument prototype would still apply. */
32250 return dnet_ntoa ();
32255 rm -f conftest.$ac_objext conftest$ac_exeext
32256 if { (ac_try="$ac_link"
32257 case "(($ac_try" in
32258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32259 *) ac_try_echo=$ac_try;;
32261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32262 (eval "$ac_link") 2>conftest.er1
32264 grep -v '^ *+' conftest.er1 >conftest.err
32266 cat conftest.err >&5
32267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32268 (exit $ac_status); } && {
32269 test -z "$ac_c_werror_flag" ||
32270 test ! -s conftest.err
32271 } && test -s conftest$ac_exeext &&
32272 $as_test_x conftest$ac_exeext; then
32273 ac_cv_lib_dnet_dnet_ntoa=yes
32275 echo "$as_me: failed program was:" >&5
32276 sed 's/^/| /' conftest.$ac_ext >&5
32278 ac_cv_lib_dnet_dnet_ntoa=no
32281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32282 conftest$ac_exeext conftest.$ac_ext
32283 LIBS=$ac_check_lib_save_LIBS
32285 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32286 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32287 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32288 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32291 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32292 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32293 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32294 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32295 echo $ECHO_N "(cached) $ECHO_C" >&6
32297 ac_check_lib_save_LIBS=$LIBS
32298 LIBS="-ldnet_stub $LIBS"
32299 cat >conftest.$ac_ext <<_ACEOF
32302 cat confdefs.h >>conftest.$ac_ext
32303 cat >>conftest.$ac_ext <<_ACEOF
32304 /* end confdefs.h. */
32306 /* Override any GCC internal prototype to avoid an error.
32307 Use char because int might match the return type of a GCC
32308 builtin and then its argument prototype would still apply. */
32316 return dnet_ntoa ();
32321 rm -f conftest.$ac_objext conftest$ac_exeext
32322 if { (ac_try="$ac_link"
32323 case "(($ac_try" in
32324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32325 *) ac_try_echo=$ac_try;;
32327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32328 (eval "$ac_link") 2>conftest.er1
32330 grep -v '^ *+' conftest.er1 >conftest.err
32332 cat conftest.err >&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); } && {
32335 test -z "$ac_c_werror_flag" ||
32336 test ! -s conftest.err
32337 } && test -s conftest$ac_exeext &&
32338 $as_test_x conftest$ac_exeext; then
32339 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32344 ac_cv_lib_dnet_stub_dnet_ntoa=no
32347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32348 conftest$ac_exeext conftest.$ac_ext
32349 LIBS=$ac_check_lib_save_LIBS
32351 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32352 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32353 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32354 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32361 conftest$ac_exeext conftest.$ac_ext
32362 LIBS="$ac_xsave_LIBS"
32364 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32365 # to get the SysV transport functions.
32366 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32368 # The nsl library prevents programs from opening the X display
32369 # on Irix 5.2, according to T.E. Dickey.
32370 # The functions gethostbyname, getservbyname, and inet_addr are
32371 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32372 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32373 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32374 if test "${ac_cv_func_gethostbyname+set}" = set; then
32375 echo $ECHO_N "(cached) $ECHO_C" >&6
32377 cat >conftest.$ac_ext <<_ACEOF
32380 cat confdefs.h >>conftest.$ac_ext
32381 cat >>conftest.$ac_ext <<_ACEOF
32382 /* end confdefs.h. */
32383 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32385 #define gethostbyname innocuous_gethostbyname
32387 /* System header to define __stub macros and hopefully few prototypes,
32388 which can conflict with char gethostbyname (); below.
32389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32390 <limits.h> exists even on freestanding compilers. */
32393 # include <limits.h>
32395 # include <assert.h>
32398 #undef gethostbyname
32400 /* Override any GCC internal prototype to avoid an error.
32401 Use char because int might match the return type of a GCC
32402 builtin and then its argument prototype would still apply. */
32406 char gethostbyname ();
32407 /* The GNU C library defines this for functions which it implements
32408 to always fail with ENOSYS. Some functions are actually named
32409 something starting with __ and the normal name is an alias. */
32410 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32417 return gethostbyname ();
32422 rm -f conftest.$ac_objext conftest$ac_exeext
32423 if { (ac_try="$ac_link"
32424 case "(($ac_try" in
32425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32426 *) ac_try_echo=$ac_try;;
32428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32429 (eval "$ac_link") 2>conftest.er1
32431 grep -v '^ *+' conftest.er1 >conftest.err
32433 cat conftest.err >&5
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); } && {
32436 test -z "$ac_c_werror_flag" ||
32437 test ! -s conftest.err
32438 } && test -s conftest$ac_exeext &&
32439 $as_test_x conftest$ac_exeext; then
32440 ac_cv_func_gethostbyname=yes
32442 echo "$as_me: failed program was:" >&5
32443 sed 's/^/| /' conftest.$ac_ext >&5
32445 ac_cv_func_gethostbyname=no
32448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32449 conftest$ac_exeext conftest.$ac_ext
32451 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32452 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32454 if test $ac_cv_func_gethostbyname = no; then
32455 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32456 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32457 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32458 echo $ECHO_N "(cached) $ECHO_C" >&6
32460 ac_check_lib_save_LIBS=$LIBS
32462 cat >conftest.$ac_ext <<_ACEOF
32465 cat confdefs.h >>conftest.$ac_ext
32466 cat >>conftest.$ac_ext <<_ACEOF
32467 /* end confdefs.h. */
32469 /* Override any GCC internal prototype to avoid an error.
32470 Use char because int might match the return type of a GCC
32471 builtin and then its argument prototype would still apply. */
32475 char gethostbyname ();
32479 return gethostbyname ();
32484 rm -f conftest.$ac_objext conftest$ac_exeext
32485 if { (ac_try="$ac_link"
32486 case "(($ac_try" in
32487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32488 *) ac_try_echo=$ac_try;;
32490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32491 (eval "$ac_link") 2>conftest.er1
32493 grep -v '^ *+' conftest.er1 >conftest.err
32495 cat conftest.err >&5
32496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32497 (exit $ac_status); } && {
32498 test -z "$ac_c_werror_flag" ||
32499 test ! -s conftest.err
32500 } && test -s conftest$ac_exeext &&
32501 $as_test_x conftest$ac_exeext; then
32502 ac_cv_lib_nsl_gethostbyname=yes
32504 echo "$as_me: failed program was:" >&5
32505 sed 's/^/| /' conftest.$ac_ext >&5
32507 ac_cv_lib_nsl_gethostbyname=no
32510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32511 conftest$ac_exeext conftest.$ac_ext
32512 LIBS=$ac_check_lib_save_LIBS
32514 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32515 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32516 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32517 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32520 if test $ac_cv_lib_nsl_gethostbyname = no; then
32521 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32522 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32523 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32524 echo $ECHO_N "(cached) $ECHO_C" >&6
32526 ac_check_lib_save_LIBS=$LIBS
32528 cat >conftest.$ac_ext <<_ACEOF
32531 cat confdefs.h >>conftest.$ac_ext
32532 cat >>conftest.$ac_ext <<_ACEOF
32533 /* end confdefs.h. */
32535 /* Override any GCC internal prototype to avoid an error.
32536 Use char because int might match the return type of a GCC
32537 builtin and then its argument prototype would still apply. */
32541 char gethostbyname ();
32545 return gethostbyname ();
32550 rm -f conftest.$ac_objext conftest$ac_exeext
32551 if { (ac_try="$ac_link"
32552 case "(($ac_try" in
32553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32554 *) ac_try_echo=$ac_try;;
32556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32557 (eval "$ac_link") 2>conftest.er1
32559 grep -v '^ *+' conftest.er1 >conftest.err
32561 cat conftest.err >&5
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); } && {
32564 test -z "$ac_c_werror_flag" ||
32565 test ! -s conftest.err
32566 } && test -s conftest$ac_exeext &&
32567 $as_test_x conftest$ac_exeext; then
32568 ac_cv_lib_bsd_gethostbyname=yes
32570 echo "$as_me: failed program was:" >&5
32571 sed 's/^/| /' conftest.$ac_ext >&5
32573 ac_cv_lib_bsd_gethostbyname=no
32576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32577 conftest$ac_exeext conftest.$ac_ext
32578 LIBS=$ac_check_lib_save_LIBS
32580 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32581 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32582 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32583 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32589 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32590 # socket/setsockopt and other routines are undefined under SCO ODT
32591 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32592 # on later versions), says Simon Leinen: it contains gethostby*
32593 # variants that don't use the name server (or something). -lsocket
32594 # must be given before -lnsl if both are needed. We assume that
32595 # if connect needs -lnsl, so does gethostbyname.
32596 { echo "$as_me:$LINENO: checking for connect" >&5
32597 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32598 if test "${ac_cv_func_connect+set}" = set; then
32599 echo $ECHO_N "(cached) $ECHO_C" >&6
32601 cat >conftest.$ac_ext <<_ACEOF
32604 cat confdefs.h >>conftest.$ac_ext
32605 cat >>conftest.$ac_ext <<_ACEOF
32606 /* end confdefs.h. */
32607 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32609 #define connect innocuous_connect
32611 /* System header to define __stub macros and hopefully few prototypes,
32612 which can conflict with char connect (); below.
32613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32614 <limits.h> exists even on freestanding compilers. */
32617 # include <limits.h>
32619 # include <assert.h>
32624 /* Override any GCC internal prototype to avoid an error.
32625 Use char because int might match the return type of a GCC
32626 builtin and then its argument prototype would still apply. */
32631 /* The GNU C library defines this for functions which it implements
32632 to always fail with ENOSYS. Some functions are actually named
32633 something starting with __ and the normal name is an alias. */
32634 #if defined __stub_connect || defined __stub___connect
32646 rm -f conftest.$ac_objext conftest$ac_exeext
32647 if { (ac_try="$ac_link"
32648 case "(($ac_try" in
32649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32650 *) ac_try_echo=$ac_try;;
32652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32653 (eval "$ac_link") 2>conftest.er1
32655 grep -v '^ *+' conftest.er1 >conftest.err
32657 cat conftest.err >&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); } && {
32660 test -z "$ac_c_werror_flag" ||
32661 test ! -s conftest.err
32662 } && test -s conftest$ac_exeext &&
32663 $as_test_x conftest$ac_exeext; then
32664 ac_cv_func_connect=yes
32666 echo "$as_me: failed program was:" >&5
32667 sed 's/^/| /' conftest.$ac_ext >&5
32669 ac_cv_func_connect=no
32672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32673 conftest$ac_exeext conftest.$ac_ext
32675 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32676 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32678 if test $ac_cv_func_connect = no; then
32679 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32680 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32681 if test "${ac_cv_lib_socket_connect+set}" = set; then
32682 echo $ECHO_N "(cached) $ECHO_C" >&6
32684 ac_check_lib_save_LIBS=$LIBS
32685 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32686 cat >conftest.$ac_ext <<_ACEOF
32689 cat confdefs.h >>conftest.$ac_ext
32690 cat >>conftest.$ac_ext <<_ACEOF
32691 /* end confdefs.h. */
32693 /* Override any GCC internal prototype to avoid an error.
32694 Use char because int might match the return type of a GCC
32695 builtin and then its argument prototype would still apply. */
32708 rm -f conftest.$ac_objext conftest$ac_exeext
32709 if { (ac_try="$ac_link"
32710 case "(($ac_try" in
32711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32712 *) ac_try_echo=$ac_try;;
32714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32715 (eval "$ac_link") 2>conftest.er1
32717 grep -v '^ *+' conftest.er1 >conftest.err
32719 cat conftest.err >&5
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); } && {
32722 test -z "$ac_c_werror_flag" ||
32723 test ! -s conftest.err
32724 } && test -s conftest$ac_exeext &&
32725 $as_test_x conftest$ac_exeext; then
32726 ac_cv_lib_socket_connect=yes
32728 echo "$as_me: failed program was:" >&5
32729 sed 's/^/| /' conftest.$ac_ext >&5
32731 ac_cv_lib_socket_connect=no
32734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32735 conftest$ac_exeext conftest.$ac_ext
32736 LIBS=$ac_check_lib_save_LIBS
32738 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32739 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32740 if test $ac_cv_lib_socket_connect = yes; then
32741 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32746 # Guillermo Gomez says -lposix is necessary on A/UX.
32747 { echo "$as_me:$LINENO: checking for remove" >&5
32748 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32749 if test "${ac_cv_func_remove+set}" = set; then
32750 echo $ECHO_N "(cached) $ECHO_C" >&6
32752 cat >conftest.$ac_ext <<_ACEOF
32755 cat confdefs.h >>conftest.$ac_ext
32756 cat >>conftest.$ac_ext <<_ACEOF
32757 /* end confdefs.h. */
32758 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32760 #define remove innocuous_remove
32762 /* System header to define __stub macros and hopefully few prototypes,
32763 which can conflict with char remove (); below.
32764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32765 <limits.h> exists even on freestanding compilers. */
32768 # include <limits.h>
32770 # include <assert.h>
32775 /* Override any GCC internal prototype to avoid an error.
32776 Use char because int might match the return type of a GCC
32777 builtin and then its argument prototype would still apply. */
32782 /* The GNU C library defines this for functions which it implements
32783 to always fail with ENOSYS. Some functions are actually named
32784 something starting with __ and the normal name is an alias. */
32785 #if defined __stub_remove || defined __stub___remove
32797 rm -f conftest.$ac_objext conftest$ac_exeext
32798 if { (ac_try="$ac_link"
32799 case "(($ac_try" in
32800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32801 *) ac_try_echo=$ac_try;;
32803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32804 (eval "$ac_link") 2>conftest.er1
32806 grep -v '^ *+' conftest.er1 >conftest.err
32808 cat conftest.err >&5
32809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810 (exit $ac_status); } && {
32811 test -z "$ac_c_werror_flag" ||
32812 test ! -s conftest.err
32813 } && test -s conftest$ac_exeext &&
32814 $as_test_x conftest$ac_exeext; then
32815 ac_cv_func_remove=yes
32817 echo "$as_me: failed program was:" >&5
32818 sed 's/^/| /' conftest.$ac_ext >&5
32820 ac_cv_func_remove=no
32823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32824 conftest$ac_exeext conftest.$ac_ext
32826 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32827 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32829 if test $ac_cv_func_remove = no; then
32830 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32831 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32832 if test "${ac_cv_lib_posix_remove+set}" = set; then
32833 echo $ECHO_N "(cached) $ECHO_C" >&6
32835 ac_check_lib_save_LIBS=$LIBS
32836 LIBS="-lposix $LIBS"
32837 cat >conftest.$ac_ext <<_ACEOF
32840 cat confdefs.h >>conftest.$ac_ext
32841 cat >>conftest.$ac_ext <<_ACEOF
32842 /* end confdefs.h. */
32844 /* Override any GCC internal prototype to avoid an error.
32845 Use char because int might match the return type of a GCC
32846 builtin and then its argument prototype would still apply. */
32859 rm -f conftest.$ac_objext conftest$ac_exeext
32860 if { (ac_try="$ac_link"
32861 case "(($ac_try" in
32862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32863 *) ac_try_echo=$ac_try;;
32865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32866 (eval "$ac_link") 2>conftest.er1
32868 grep -v '^ *+' conftest.er1 >conftest.err
32870 cat conftest.err >&5
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); } && {
32873 test -z "$ac_c_werror_flag" ||
32874 test ! -s conftest.err
32875 } && test -s conftest$ac_exeext &&
32876 $as_test_x conftest$ac_exeext; then
32877 ac_cv_lib_posix_remove=yes
32879 echo "$as_me: failed program was:" >&5
32880 sed 's/^/| /' conftest.$ac_ext >&5
32882 ac_cv_lib_posix_remove=no
32885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32886 conftest$ac_exeext conftest.$ac_ext
32887 LIBS=$ac_check_lib_save_LIBS
32889 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32890 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32891 if test $ac_cv_lib_posix_remove = yes; then
32892 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32897 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32898 { echo "$as_me:$LINENO: checking for shmat" >&5
32899 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32900 if test "${ac_cv_func_shmat+set}" = set; then
32901 echo $ECHO_N "(cached) $ECHO_C" >&6
32903 cat >conftest.$ac_ext <<_ACEOF
32906 cat confdefs.h >>conftest.$ac_ext
32907 cat >>conftest.$ac_ext <<_ACEOF
32908 /* end confdefs.h. */
32909 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32911 #define shmat innocuous_shmat
32913 /* System header to define __stub macros and hopefully few prototypes,
32914 which can conflict with char shmat (); below.
32915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32916 <limits.h> exists even on freestanding compilers. */
32919 # include <limits.h>
32921 # include <assert.h>
32926 /* Override any GCC internal prototype to avoid an error.
32927 Use char because int might match the return type of a GCC
32928 builtin and then its argument prototype would still apply. */
32933 /* The GNU C library defines this for functions which it implements
32934 to always fail with ENOSYS. Some functions are actually named
32935 something starting with __ and the normal name is an alias. */
32936 #if defined __stub_shmat || defined __stub___shmat
32948 rm -f conftest.$ac_objext conftest$ac_exeext
32949 if { (ac_try="$ac_link"
32950 case "(($ac_try" in
32951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32952 *) ac_try_echo=$ac_try;;
32954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32955 (eval "$ac_link") 2>conftest.er1
32957 grep -v '^ *+' conftest.er1 >conftest.err
32959 cat conftest.err >&5
32960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32961 (exit $ac_status); } && {
32962 test -z "$ac_c_werror_flag" ||
32963 test ! -s conftest.err
32964 } && test -s conftest$ac_exeext &&
32965 $as_test_x conftest$ac_exeext; then
32966 ac_cv_func_shmat=yes
32968 echo "$as_me: failed program was:" >&5
32969 sed 's/^/| /' conftest.$ac_ext >&5
32971 ac_cv_func_shmat=no
32974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32975 conftest$ac_exeext conftest.$ac_ext
32977 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32978 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32980 if test $ac_cv_func_shmat = no; then
32981 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32982 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32983 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32984 echo $ECHO_N "(cached) $ECHO_C" >&6
32986 ac_check_lib_save_LIBS=$LIBS
32988 cat >conftest.$ac_ext <<_ACEOF
32991 cat confdefs.h >>conftest.$ac_ext
32992 cat >>conftest.$ac_ext <<_ACEOF
32993 /* end confdefs.h. */
32995 /* Override any GCC internal prototype to avoid an error.
32996 Use char because int might match the return type of a GCC
32997 builtin and then its argument prototype would still apply. */
33010 rm -f conftest.$ac_objext conftest$ac_exeext
33011 if { (ac_try="$ac_link"
33012 case "(($ac_try" in
33013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33014 *) ac_try_echo=$ac_try;;
33016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33017 (eval "$ac_link") 2>conftest.er1
33019 grep -v '^ *+' conftest.er1 >conftest.err
33021 cat conftest.err >&5
33022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33023 (exit $ac_status); } && {
33024 test -z "$ac_c_werror_flag" ||
33025 test ! -s conftest.err
33026 } && test -s conftest$ac_exeext &&
33027 $as_test_x conftest$ac_exeext; then
33028 ac_cv_lib_ipc_shmat=yes
33030 echo "$as_me: failed program was:" >&5
33031 sed 's/^/| /' conftest.$ac_ext >&5
33033 ac_cv_lib_ipc_shmat=no
33036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33037 conftest$ac_exeext conftest.$ac_ext
33038 LIBS=$ac_check_lib_save_LIBS
33040 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33041 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33042 if test $ac_cv_lib_ipc_shmat = yes; then
33043 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33049 # Check for libraries that X11R6 Xt/Xaw programs need.
33050 ac_save_LDFLAGS=$LDFLAGS
33051 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33052 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33053 # check for ICE first), but we must link in the order -lSM -lICE or
33054 # we get undefined symbols. So assume we have SM if we have ICE.
33055 # These have to be linked with before -lX11, unlike the other
33056 # libraries we check for below, so use a different variable.
33057 # John Interrante, Karl Berry
33058 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33059 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33060 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33061 echo $ECHO_N "(cached) $ECHO_C" >&6
33063 ac_check_lib_save_LIBS=$LIBS
33064 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33065 cat >conftest.$ac_ext <<_ACEOF
33068 cat confdefs.h >>conftest.$ac_ext
33069 cat >>conftest.$ac_ext <<_ACEOF
33070 /* end confdefs.h. */
33072 /* Override any GCC internal prototype to avoid an error.
33073 Use char because int might match the return type of a GCC
33074 builtin and then its argument prototype would still apply. */
33078 char IceConnectionNumber ();
33082 return IceConnectionNumber ();
33087 rm -f conftest.$ac_objext conftest$ac_exeext
33088 if { (ac_try="$ac_link"
33089 case "(($ac_try" in
33090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33091 *) ac_try_echo=$ac_try;;
33093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33094 (eval "$ac_link") 2>conftest.er1
33096 grep -v '^ *+' conftest.er1 >conftest.err
33098 cat conftest.err >&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); } && {
33101 test -z "$ac_c_werror_flag" ||
33102 test ! -s conftest.err
33103 } && test -s conftest$ac_exeext &&
33104 $as_test_x conftest$ac_exeext; then
33105 ac_cv_lib_ICE_IceConnectionNumber=yes
33107 echo "$as_me: failed program was:" >&5
33108 sed 's/^/| /' conftest.$ac_ext >&5
33110 ac_cv_lib_ICE_IceConnectionNumber=no
33113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33114 conftest$ac_exeext conftest.$ac_ext
33115 LIBS=$ac_check_lib_save_LIBS
33117 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33118 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33119 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33120 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33123 LDFLAGS=$ac_save_LDFLAGS
33128 if test "$no_x" = "yes"; then
33129 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33130 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33131 { (exit 1); exit 1; }; }
33134 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33135 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33136 AFMINSTALL=afminstall
33137 COMPILED_X_PROGRAM=0
33141 if test "$wxUSE_X11" = 1; then
33142 if test "$wxUSE_NANOX" = "yes"; then
33143 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33144 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33145 if test "x$MICROWIN" = x ; then
33146 { echo "$as_me:$LINENO: result: not found" >&5
33147 echo "${ECHO_T}not found" >&6; }
33148 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33149 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33150 { (exit 1); exit 1; }; }
33152 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33153 echo "${ECHO_T}$MICROWIN" >&6; }
33154 cat >>confdefs.h <<\_ACEOF
33155 #define wxUSE_NANOX 1
33161 if test "$wxUSE_UNICODE" = "yes"; then
33164 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33165 if test -n "$ac_tool_prefix"; then
33166 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33167 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33170 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33171 echo $ECHO_N "(cached) $ECHO_C" >&6
33173 case $PKG_CONFIG in
33175 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33179 for as_dir in $PATH
33182 test -z "$as_dir" && as_dir=.
33183 for ac_exec_ext in '' $ac_executable_extensions; do
33184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33185 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33196 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33197 if test -n "$PKG_CONFIG"; then
33198 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33199 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33201 { echo "$as_me:$LINENO: result: no" >&5
33202 echo "${ECHO_T}no" >&6; }
33207 if test -z "$ac_cv_path_PKG_CONFIG"; then
33208 ac_pt_PKG_CONFIG=$PKG_CONFIG
33209 # Extract the first word of "pkg-config", so it can be a program name with args.
33210 set dummy pkg-config; ac_word=$2
33211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33213 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33214 echo $ECHO_N "(cached) $ECHO_C" >&6
33216 case $ac_pt_PKG_CONFIG in
33218 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33222 for as_dir in $PATH
33225 test -z "$as_dir" && as_dir=.
33226 for ac_exec_ext in '' $ac_executable_extensions; do
33227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33228 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33239 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33240 if test -n "$ac_pt_PKG_CONFIG"; then
33241 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33242 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33244 { echo "$as_me:$LINENO: result: no" >&5
33245 echo "${ECHO_T}no" >&6; }
33248 if test "x$ac_pt_PKG_CONFIG" = x; then
33251 case $cross_compiling:$ac_tool_warned in
33253 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33254 whose name does not start with the host triplet. If you think this
33255 configuration is useful to you, please write to autoconf@gnu.org." >&5
33256 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33257 whose name does not start with the host triplet. If you think this
33258 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33259 ac_tool_warned=yes ;;
33261 PKG_CONFIG=$ac_pt_PKG_CONFIG
33264 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33268 if test -n "$PKG_CONFIG"; then
33269 _pkg_min_version=0.9.0
33270 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33271 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33272 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33273 { echo "$as_me:$LINENO: result: yes" >&5
33274 echo "${ECHO_T}yes" >&6; }
33276 { echo "$as_me:$LINENO: result: no" >&5
33277 echo "${ECHO_T}no" >&6; }
33285 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33286 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33288 if test -n "$PKG_CONFIG"; then
33289 if test -n "$PANGOX_CFLAGS"; then
33290 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33292 if test -n "$PKG_CONFIG" && \
33293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33294 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); }; then
33298 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33306 if test -n "$PKG_CONFIG"; then
33307 if test -n "$PANGOX_LIBS"; then
33308 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33310 if test -n "$PKG_CONFIG" && \
33311 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33312 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315 (exit $ac_status); }; then
33316 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33327 if test $pkg_failed = yes; then
33329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33330 _pkg_short_errors_supported=yes
33332 _pkg_short_errors_supported=no
33334 if test $_pkg_short_errors_supported = yes; then
33335 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33337 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33339 # Put the nasty error message in config.log where it belongs
33340 echo "$PANGOX_PKG_ERRORS" >&5
33343 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33344 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33345 { (exit 1); exit 1; }; }
33348 elif test $pkg_failed = untried; then
33350 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33351 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33352 { (exit 1); exit 1; }; }
33356 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33357 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33358 { echo "$as_me:$LINENO: result: yes" >&5
33359 echo "${ECHO_T}yes" >&6; }
33361 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33362 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33363 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33368 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33369 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33371 if test -n "$PKG_CONFIG"; then
33372 if test -n "$PANGOFT2_CFLAGS"; then
33373 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33375 if test -n "$PKG_CONFIG" && \
33376 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33377 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380 (exit $ac_status); }; then
33381 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33389 if test -n "$PKG_CONFIG"; then
33390 if test -n "$PANGOFT2_LIBS"; then
33391 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33393 if test -n "$PKG_CONFIG" && \
33394 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33395 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398 (exit $ac_status); }; then
33399 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33410 if test $pkg_failed = yes; then
33412 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33413 _pkg_short_errors_supported=yes
33415 _pkg_short_errors_supported=no
33417 if test $_pkg_short_errors_supported = yes; then
33418 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33420 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33422 # Put the nasty error message in config.log where it belongs
33423 echo "$PANGOFT2_PKG_ERRORS" >&5
33426 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33427 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33428 wxUSE_PRINTING_ARCHITECTURE="no"
33431 elif test $pkg_failed = untried; then
33433 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33434 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33435 wxUSE_PRINTING_ARCHITECTURE="no"
33439 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33440 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33441 { echo "$as_me:$LINENO: result: yes" >&5
33442 echo "${ECHO_T}yes" >&6; }
33444 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33445 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33446 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33451 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33452 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33454 if test -n "$PKG_CONFIG"; then
33455 if test -n "$PANGOXFT_CFLAGS"; then
33456 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33458 if test -n "$PKG_CONFIG" && \
33459 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33460 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; then
33464 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33472 if test -n "$PKG_CONFIG"; then
33473 if test -n "$PANGOXFT_LIBS"; then
33474 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33476 if test -n "$PKG_CONFIG" && \
33477 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33478 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; then
33482 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33493 if test $pkg_failed = yes; then
33495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33496 _pkg_short_errors_supported=yes
33498 _pkg_short_errors_supported=no
33500 if test $_pkg_short_errors_supported = yes; then
33501 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33503 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33505 # Put the nasty error message in config.log where it belongs
33506 echo "$PANGOXFT_PKG_ERRORS" >&5
33509 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33510 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33513 elif test $pkg_failed = untried; then
33515 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33516 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33520 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33521 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33522 { echo "$as_me:$LINENO: result: yes" >&5
33523 echo "${ECHO_T}yes" >&6; }
33525 cat >>confdefs.h <<\_ACEOF
33526 #define HAVE_PANGO_XFT 1
33529 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33530 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33531 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33535 LIBS="$LIBS $PANGOX_LIBS"
33537 for ac_func in pango_font_family_is_monospace
33539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33543 echo $ECHO_N "(cached) $ECHO_C" >&6
33545 cat >conftest.$ac_ext <<_ACEOF
33548 cat confdefs.h >>conftest.$ac_ext
33549 cat >>conftest.$ac_ext <<_ACEOF
33550 /* end confdefs.h. */
33551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33553 #define $ac_func innocuous_$ac_func
33555 /* System header to define __stub macros and hopefully few prototypes,
33556 which can conflict with char $ac_func (); below.
33557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33558 <limits.h> exists even on freestanding compilers. */
33561 # include <limits.h>
33563 # include <assert.h>
33568 /* Override any GCC internal prototype to avoid an error.
33569 Use char because int might match the return type of a GCC
33570 builtin and then its argument prototype would still apply. */
33575 /* The GNU C library defines this for functions which it implements
33576 to always fail with ENOSYS. Some functions are actually named
33577 something starting with __ and the normal name is an alias. */
33578 #if defined __stub_$ac_func || defined __stub___$ac_func
33585 return $ac_func ();
33590 rm -f conftest.$ac_objext conftest$ac_exeext
33591 if { (ac_try="$ac_link"
33592 case "(($ac_try" in
33593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33594 *) ac_try_echo=$ac_try;;
33596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33597 (eval "$ac_link") 2>conftest.er1
33599 grep -v '^ *+' conftest.er1 >conftest.err
33601 cat conftest.err >&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); } && {
33604 test -z "$ac_c_werror_flag" ||
33605 test ! -s conftest.err
33606 } && test -s conftest$ac_exeext &&
33607 $as_test_x conftest$ac_exeext; then
33608 eval "$as_ac_var=yes"
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.$ac_ext >&5
33613 eval "$as_ac_var=no"
33616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33617 conftest$ac_exeext conftest.$ac_ext
33619 ac_res=`eval echo '${'$as_ac_var'}'`
33620 { echo "$as_me:$LINENO: result: $ac_res" >&5
33621 echo "${ECHO_T}$ac_res" >&6; }
33622 if test `eval echo '${'$as_ac_var'}'` = yes; then
33623 cat >>confdefs.h <<_ACEOF
33624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33633 wxUSE_UNIVERSAL="yes"
33635 if test "$wxUSE_NANOX" = "yes"; then
33636 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33637 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"
33638 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33640 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33647 if test "$wxUSE_MOTIF" = 1; then
33648 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33649 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33652 for ac_dir in $SEARCH_INCLUDE /usr/include
33654 if test -f "$ac_dir/Xm/Xm.h"; then
33655 ac_find_includes=$ac_dir
33660 if test "$ac_find_includes" != "" ; then
33661 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33662 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33664 if test "x$ac_find_includes" = "x/usr/include"; then
33665 ac_path_to_include=""
33667 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33669 if test $result = 0; then
33670 ac_path_to_include=""
33672 ac_path_to_include=" -I$ac_find_includes"
33676 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33678 save_CFLAGS=$CFLAGS
33679 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33681 cat >conftest.$ac_ext <<_ACEOF
33684 cat confdefs.h >>conftest.$ac_ext
33685 cat >>conftest.$ac_ext <<_ACEOF
33686 /* end confdefs.h. */
33695 version = xmUseVersion;
33701 rm -f conftest.$ac_objext
33702 if { (ac_try="$ac_compile"
33703 case "(($ac_try" in
33704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33705 *) ac_try_echo=$ac_try;;
33707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33708 (eval "$ac_compile") 2>conftest.er1
33710 grep -v '^ *+' conftest.er1 >conftest.err
33712 cat conftest.err >&5
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); } && {
33715 test -z "$ac_c_werror_flag" ||
33716 test ! -s conftest.err
33717 } && test -s conftest.$ac_objext; then
33719 { echo "$as_me:$LINENO: result: found in default search path" >&5
33720 echo "${ECHO_T}found in default search path" >&6; }
33721 COMPILED_X_PROGRAM=1
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.$ac_ext >&5
33728 { echo "$as_me:$LINENO: result: no" >&5
33729 echo "${ECHO_T}no" >&6; }
33730 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33731 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33732 { (exit 1); exit 1; }; }
33737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33739 CFLAGS=$save_CFLAGS
33743 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33744 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33747 for ac_dir in $SEARCH_LIB
33749 for ac_extension in a so sl dylib dll.a; do
33750 if test -f "$ac_dir/libXm.$ac_extension"; then
33751 ac_find_libraries=$ac_dir
33758 if test "x$ac_find_libraries" != "x" ; then
33759 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33760 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33763 if test "$ac_find_libraries" = "default location"; then
33766 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33768 if test $result = 0; then
33771 ac_path_to_link=" -L$ac_find_libraries"
33775 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33777 save_CFLAGS=$CFLAGS
33778 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33780 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33782 cat >conftest.$ac_ext <<_ACEOF
33785 cat confdefs.h >>conftest.$ac_ext
33786 cat >>conftest.$ac_ext <<_ACEOF
33787 /* end confdefs.h. */
33796 version = xmUseVersion;
33802 rm -f conftest.$ac_objext conftest$ac_exeext
33803 if { (ac_try="$ac_link"
33804 case "(($ac_try" in
33805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33806 *) ac_try_echo=$ac_try;;
33808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33809 (eval "$ac_link") 2>conftest.er1
33811 grep -v '^ *+' conftest.er1 >conftest.err
33813 cat conftest.err >&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); } && {
33816 test -z "$ac_c_werror_flag" ||
33817 test ! -s conftest.err
33818 } && test -s conftest$ac_exeext &&
33819 $as_test_x conftest$ac_exeext; then
33821 { echo "$as_me:$LINENO: result: found in default search path" >&5
33822 echo "${ECHO_T}found in default search path" >&6; }
33823 COMPILED_X_PROGRAM=1
33826 echo "$as_me: failed program was:" >&5
33827 sed 's/^/| /' conftest.$ac_ext >&5
33830 { echo "$as_me:$LINENO: result: no" >&5
33831 echo "${ECHO_T}no" >&6; }
33832 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33833 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33834 { (exit 1); exit 1; }; }
33839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33840 conftest$ac_exeext conftest.$ac_ext
33842 CFLAGS=$save_CFLAGS
33846 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33847 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33851 for libp in "" " -lXp"; do
33852 if test "$libs_found" = 0; then
33853 for libsm_ice in "" " -lSM -lICE"; do
33854 if test "$libs_found" = 0; then
33856 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33857 save_CFLAGS=$CFLAGS
33858 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33860 cat >conftest.$ac_ext <<_ACEOF
33863 cat confdefs.h >>conftest.$ac_ext
33864 cat >>conftest.$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33868 #include <Xm/List.h>
33874 XmString string = NULL;
33877 XmListAddItem(w, string, position);
33883 rm -f conftest.$ac_objext conftest$ac_exeext
33884 if { (ac_try="$ac_link"
33885 case "(($ac_try" in
33886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33887 *) ac_try_echo=$ac_try;;
33889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33890 (eval "$ac_link") 2>conftest.er1
33892 grep -v '^ *+' conftest.er1 >conftest.err
33894 cat conftest.err >&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); } && {
33897 test -z "$ac_c_werror_flag" ||
33898 test ! -s conftest.err
33899 } && test -s conftest$ac_exeext &&
33900 $as_test_x conftest$ac_exeext; then
33903 libsm_ice_link="$libsm_ice"
33904 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33905 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33909 echo "$as_me: failed program was:" >&5
33910 sed 's/^/| /' conftest.$ac_ext >&5
33916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33917 conftest$ac_exeext conftest.$ac_ext
33920 CFLAGS=$save_CFLAGS
33926 if test "$libs_found" = 0; then
33927 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33928 echo "${ECHO_T}can't find the right libraries" >&6; }
33929 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33930 echo "$as_me: error: can't link a simple motif program" >&2;}
33931 { (exit 1); exit 1; }; }
33934 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33935 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33936 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33937 echo $ECHO_N "(cached) $ECHO_C" >&6
33939 ac_check_lib_save_LIBS=$LIBS
33941 cat >conftest.$ac_ext <<_ACEOF
33944 cat confdefs.h >>conftest.$ac_ext
33945 cat >>conftest.$ac_ext <<_ACEOF
33946 /* end confdefs.h. */
33948 /* Override any GCC internal prototype to avoid an error.
33949 Use char because int might match the return type of a GCC
33950 builtin and then its argument prototype would still apply. */
33954 char SgCreateList ();
33958 return SgCreateList ();
33963 rm -f conftest.$ac_objext conftest$ac_exeext
33964 if { (ac_try="$ac_link"
33965 case "(($ac_try" in
33966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33967 *) ac_try_echo=$ac_try;;
33969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33970 (eval "$ac_link") 2>conftest.er1
33972 grep -v '^ *+' conftest.er1 >conftest.err
33974 cat conftest.err >&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); } && {
33977 test -z "$ac_c_werror_flag" ||
33978 test ! -s conftest.err
33979 } && test -s conftest$ac_exeext &&
33980 $as_test_x conftest$ac_exeext; then
33981 ac_cv_lib_Sgm_SgCreateList=yes
33983 echo "$as_me: failed program was:" >&5
33984 sed 's/^/| /' conftest.$ac_ext >&5
33986 ac_cv_lib_Sgm_SgCreateList=no
33989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33990 conftest$ac_exeext conftest.$ac_ext
33991 LIBS=$ac_check_lib_save_LIBS
33993 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33994 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33995 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33996 libsgm_link=" -lSgm"
34000 save_CFLAGS=$CFLAGS
34001 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34003 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34004 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34005 if test "${wx_cv_lib_motif2+set}" = set; then
34006 echo $ECHO_N "(cached) $ECHO_C" >&6
34008 cat >conftest.$ac_ext <<_ACEOF
34011 cat confdefs.h >>conftest.$ac_ext
34012 cat >>conftest.$ac_ext <<_ACEOF
34013 /* end confdefs.h. */
34021 #if XmVersion < 2000
34029 rm -f conftest.$ac_objext
34030 if { (ac_try="$ac_compile"
34031 case "(($ac_try" in
34032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34033 *) ac_try_echo=$ac_try;;
34035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34036 (eval "$ac_compile") 2>conftest.er1
34038 grep -v '^ *+' conftest.er1 >conftest.err
34040 cat conftest.err >&5
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); } && {
34043 test -z "$ac_c_werror_flag" ||
34044 test ! -s conftest.err
34045 } && test -s conftest.$ac_objext; then
34046 wx_cv_lib_motif2="yes"
34048 echo "$as_me: failed program was:" >&5
34049 sed 's/^/| /' conftest.$ac_ext >&5
34051 wx_cv_lib_motif2="no"
34054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34056 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34057 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34058 if test "$wx_cv_lib_motif2" = "yes"; then
34059 cat >>confdefs.h <<\_ACEOF
34060 #define __WXMOTIF20__ 1
34064 cat >>confdefs.h <<\_ACEOF
34065 #define __WXMOTIF20__ 0
34070 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34071 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34072 if test "${wx_cv_lib_lesstif+set}" = set; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34075 cat >conftest.$ac_ext <<_ACEOF
34078 cat confdefs.h >>conftest.$ac_ext
34079 cat >>conftest.$ac_ext <<_ACEOF
34080 /* end confdefs.h. */
34088 #if !defined(LesstifVersion) || LesstifVersion <= 0
34096 rm -f conftest.$ac_objext
34097 if { (ac_try="$ac_compile"
34098 case "(($ac_try" in
34099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34100 *) ac_try_echo=$ac_try;;
34102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34103 (eval "$ac_compile") 2>conftest.er1
34105 grep -v '^ *+' conftest.er1 >conftest.err
34107 cat conftest.err >&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); } && {
34110 test -z "$ac_c_werror_flag" ||
34111 test ! -s conftest.err
34112 } && test -s conftest.$ac_objext; then
34113 wx_cv_lib_lesstif="yes"
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.$ac_ext >&5
34118 wx_cv_lib_lesstif="no"
34121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34124 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34125 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34126 if test "$wx_cv_lib_lesstif" = "yes"; then
34127 cat >>confdefs.h <<\_ACEOF
34128 #define __WXLESSTIF__ 1
34132 cat >>confdefs.h <<\_ACEOF
34133 #define __WXLESSTIF__ 0
34138 CFLAGS=$save_CFLAGS
34140 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34145 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34146 if test "$wxUSE_LIBXPM" = "sys"; then
34147 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34148 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34151 for ac_dir in $SEARCH_LIB
34153 for ac_extension in a so sl dylib dll.a; do
34154 if test -f "$ac_dir/libXpm.$ac_extension"; then
34155 ac_find_libraries=$ac_dir
34161 if test "$ac_find_libraries" != "" ; then
34163 if test "$ac_find_libraries" = "default location"; then
34166 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34168 if test $result = 0; then
34171 ac_path_to_link=" -L$ac_find_libraries"
34175 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34176 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34177 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34179 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34180 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34181 if test "${wx_cv_x11_xpm_h+set}" = set; then
34182 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 save_CFLAGS=$CFLAGS
34186 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34188 cat >conftest.$ac_ext <<_ACEOF
34191 cat confdefs.h >>conftest.$ac_ext
34192 cat >>conftest.$ac_ext <<_ACEOF
34193 /* end confdefs.h. */
34195 #include <X11/xpm.h>
34202 version = XpmLibraryVersion();
34208 rm -f conftest.$ac_objext
34209 if { (ac_try="$ac_compile"
34210 case "(($ac_try" in
34211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34212 *) ac_try_echo=$ac_try;;
34214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34215 (eval "$ac_compile") 2>conftest.er1
34217 grep -v '^ *+' conftest.er1 >conftest.err
34219 cat conftest.err >&5
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); } && {
34222 test -z "$ac_c_werror_flag" ||
34223 test ! -s conftest.err
34224 } && test -s conftest.$ac_objext; then
34225 wx_cv_x11_xpm_h=yes
34227 echo "$as_me: failed program was:" >&5
34228 sed 's/^/| /' conftest.$ac_ext >&5
34234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34236 CFLAGS=$save_CFLAGS
34240 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34241 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34243 if test $wx_cv_x11_xpm_h = "yes"; then
34244 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34245 cat >>confdefs.h <<\_ACEOF
34246 #define wxHAVE_LIB_XPM 1
34250 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34251 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34257 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34258 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34259 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34260 echo $ECHO_N "(cached) $ECHO_C" >&6
34262 ac_check_lib_save_LIBS=$LIBS
34263 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34264 cat >conftest.$ac_ext <<_ACEOF
34267 cat confdefs.h >>conftest.$ac_ext
34268 cat >>conftest.$ac_ext <<_ACEOF
34269 /* end confdefs.h. */
34271 /* Override any GCC internal prototype to avoid an error.
34272 Use char because int might match the return type of a GCC
34273 builtin and then its argument prototype would still apply. */
34277 char XShapeQueryExtension ();
34281 return XShapeQueryExtension ();
34286 rm -f conftest.$ac_objext conftest$ac_exeext
34287 if { (ac_try="$ac_link"
34288 case "(($ac_try" in
34289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34290 *) ac_try_echo=$ac_try;;
34292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34293 (eval "$ac_link") 2>conftest.er1
34295 grep -v '^ *+' conftest.er1 >conftest.err
34297 cat conftest.err >&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } && {
34300 test -z "$ac_c_werror_flag" ||
34301 test ! -s conftest.err
34302 } && test -s conftest$ac_exeext &&
34303 $as_test_x conftest$ac_exeext; then
34304 ac_cv_lib_Xext_XShapeQueryExtension=yes
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34309 ac_cv_lib_Xext_XShapeQueryExtension=no
34312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34313 conftest$ac_exeext conftest.$ac_ext
34314 LIBS=$ac_check_lib_save_LIBS
34316 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34317 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34318 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34320 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34326 if test "$wxHAVE_XEXT_LIB" = 1; then
34327 save_CFLAGS="$CFLAGS"
34328 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34330 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34331 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34332 cat >conftest.$ac_ext <<_ACEOF
34335 cat confdefs.h >>conftest.$ac_ext
34336 cat >>conftest.$ac_ext <<_ACEOF
34337 /* end confdefs.h. */
34339 #include <X11/Xlib.h>
34340 #include <X11/extensions/shape.h>
34346 int dummy1, dummy2;
34347 XShapeQueryExtension((Display*)NULL,
34348 (int*)NULL, (int*)NULL);
34354 rm -f conftest.$ac_objext
34355 if { (ac_try="$ac_compile"
34356 case "(($ac_try" in
34357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34358 *) ac_try_echo=$ac_try;;
34360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34361 (eval "$ac_compile") 2>conftest.er1
34363 grep -v '^ *+' conftest.er1 >conftest.err
34365 cat conftest.err >&5
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); } && {
34368 test -z "$ac_c_werror_flag" ||
34369 test ! -s conftest.err
34370 } && test -s conftest.$ac_objext; then
34372 cat >>confdefs.h <<\_ACEOF
34373 #define HAVE_XSHAPE 1
34376 { echo "$as_me:$LINENO: result: found" >&5
34377 echo "${ECHO_T}found" >&6; }
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34384 { echo "$as_me:$LINENO: result: not found" >&5
34385 echo "${ECHO_T}not found" >&6; }
34389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34390 CFLAGS="$save_CFLAGS"
34395 if test "$wxUSE_OSX_CARBON" = 1; then
34396 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34397 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34398 if test "$GCC" = yes; then
34399 { echo "$as_me:$LINENO: result: gcc" >&5
34400 echo "${ECHO_T}gcc" >&6; }
34401 CPPFLAGS_PASCAL="-fpascal-strings"
34402 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34403 { echo "$as_me:$LINENO: result: xlc" >&5
34404 echo "${ECHO_T}xlc" >&6; }
34405 CPPFLAGS_PASCAL="-qmacpstr"
34407 { echo "$as_me:$LINENO: result: none" >&5
34408 echo "${ECHO_T}none" >&6; }
34411 if test "x$wxUSE_UNIX" = "xyes"; then
34412 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34414 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34418 GUIDIST=OSX_CARBON_DIST
34419 WXBASEPORT="_carbon"
34421 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34424 if test "$wxUSE_OSX_COCOA" = 1; then
34426 GUIDIST=OSX_COCOA_DIST
34428 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34431 if test "$wxUSE_OSX_IPHONE" = 1; then
34435 if test "$wxUSE_OLD_COCOA" = 1; then
34440 if test "$wxUSE_PM" = 1; then
34443 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34444 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34445 if test "${wx_cv_spbcdata+set}" = set; then
34446 echo $ECHO_N "(cached) $ECHO_C" >&6
34449 cat >conftest.$ac_ext <<_ACEOF
34452 cat confdefs.h >>conftest.$ac_ext
34453 cat >>conftest.$ac_ext <<_ACEOF
34454 /* end confdefs.h. */
34469 rm -f conftest.$ac_objext
34470 if { (ac_try="$ac_compile"
34471 case "(($ac_try" in
34472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34473 *) ac_try_echo=$ac_try;;
34475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34476 (eval "$ac_compile") 2>conftest.er1
34478 grep -v '^ *+' conftest.er1 >conftest.err
34480 cat conftest.err >&5
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); } && {
34483 test -z "$ac_c_werror_flag" ||
34484 test ! -s conftest.err
34485 } && test -s conftest.$ac_objext; then
34488 echo "$as_me: failed program was:" >&5
34489 sed 's/^/| /' conftest.$ac_ext >&5
34495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34499 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34500 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34502 if test $wx_cv_spbcdata = "yes"; then
34503 cat >>confdefs.h <<\_ACEOF
34504 #define HAVE_SPBCDATA 1
34510 if test "$TOOLKIT" = "PM" ; then
34513 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34516 if test "$wxUSE_UNIVERSAL" = "yes"; then
34517 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34521 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34522 DISTDIR="wx\$(TOOLKIT)"
34528 if test "$USE_WIN32" = 1 ; then
34532 GUIDIST="BASE_DIST"
34538 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34539 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34540 wxUSE_UNICODE_UTF8=yes
34541 elif test "$USE_OS2" = 1 ; then
34542 wxUSE_UNICODE_UTF8=yes
34544 wxUSE_UNICODE_UTF8=no
34549 if test "$wxUSE_GUI" = "yes"; then
34550 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34552 for ac_header in X11/Xlib.h
34554 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34555 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34557 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34558 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 cat >conftest.$ac_ext <<_ACEOF
34563 cat confdefs.h >>conftest.$ac_ext
34564 cat >>conftest.$ac_ext <<_ACEOF
34565 /* end confdefs.h. */
34568 #include <$ac_header>
34570 rm -f conftest.$ac_objext
34571 if { (ac_try="$ac_compile"
34572 case "(($ac_try" in
34573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34574 *) ac_try_echo=$ac_try;;
34576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34577 (eval "$ac_compile") 2>conftest.er1
34579 grep -v '^ *+' conftest.er1 >conftest.err
34581 cat conftest.err >&5
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); } && {
34584 test -z "$ac_c_werror_flag" ||
34585 test ! -s conftest.err
34586 } && test -s conftest.$ac_objext; then
34587 eval "$as_ac_Header=yes"
34589 echo "$as_me: failed program was:" >&5
34590 sed 's/^/| /' conftest.$ac_ext >&5
34592 eval "$as_ac_Header=no"
34595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34597 ac_res=`eval echo '${'$as_ac_Header'}'`
34598 { echo "$as_me:$LINENO: result: $ac_res" >&5
34599 echo "${ECHO_T}$ac_res" >&6; }
34600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34601 cat >>confdefs.h <<_ACEOF
34602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34610 for ac_header in X11/XKBlib.h
34612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34616 echo $ECHO_N "(cached) $ECHO_C" >&6
34618 cat >conftest.$ac_ext <<_ACEOF
34621 cat confdefs.h >>conftest.$ac_ext
34622 cat >>conftest.$ac_ext <<_ACEOF
34623 /* end confdefs.h. */
34625 #if HAVE_X11_XLIB_H
34626 #include <X11/Xlib.h>
34630 #include <$ac_header>
34632 rm -f conftest.$ac_objext
34633 if { (ac_try="$ac_compile"
34634 case "(($ac_try" in
34635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34636 *) ac_try_echo=$ac_try;;
34638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34639 (eval "$ac_compile") 2>conftest.er1
34641 grep -v '^ *+' conftest.er1 >conftest.err
34643 cat conftest.err >&5
34644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34645 (exit $ac_status); } && {
34646 test -z "$ac_c_werror_flag" ||
34647 test ! -s conftest.err
34648 } && test -s conftest.$ac_objext; then
34649 eval "$as_ac_Header=yes"
34651 echo "$as_me: failed program was:" >&5
34652 sed 's/^/| /' conftest.$ac_ext >&5
34654 eval "$as_ac_Header=no"
34657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34659 ac_res=`eval echo '${'$as_ac_Header'}'`
34660 { echo "$as_me:$LINENO: result: $ac_res" >&5
34661 echo "${ECHO_T}$ac_res" >&6; }
34662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34663 cat >>confdefs.h <<_ACEOF
34664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34677 if test "$wxUSE_DISPLAY" = "yes"; then
34678 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34679 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34680 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34683 for ac_dir in $SEARCH_LIB
34685 for ac_extension in a so sl dylib dll.a; do
34686 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34687 ac_find_libraries=$ac_dir
34693 if test "$ac_find_libraries" != "" ; then
34695 if test "$ac_find_libraries" = "default location"; then
34698 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34700 if test $result = 0; then
34703 ac_path_to_link=" -L$ac_find_libraries"
34707 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34708 LDFLAGS="$LDFLAGS $ac_path_to_link"
34711 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34712 { echo "$as_me:$LINENO: result: yes" >&5
34713 echo "${ECHO_T}yes" >&6; }
34715 { echo "$as_me:$LINENO: result: no" >&5
34716 echo "${ECHO_T}no" >&6; }
34717 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34718 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34721 elif test "$wxUSE_MSW" = 1; then
34722 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34723 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34724 if test "${ac_cv_header_ddraw_h+set}" = set; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34727 cat >conftest.$ac_ext <<_ACEOF
34730 cat confdefs.h >>conftest.$ac_ext
34731 cat >>conftest.$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 #include <windows.h>
34737 rm -f conftest.$ac_objext
34738 if { (ac_try="$ac_compile"
34739 case "(($ac_try" in
34740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34741 *) ac_try_echo=$ac_try;;
34743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34744 (eval "$ac_compile") 2>conftest.er1
34746 grep -v '^ *+' conftest.er1 >conftest.err
34748 cat conftest.err >&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); } && {
34751 test -z "$ac_c_werror_flag" ||
34752 test ! -s conftest.err
34753 } && test -s conftest.$ac_objext; then
34754 ac_cv_header_ddraw_h=yes
34756 echo "$as_me: failed program was:" >&5
34757 sed 's/^/| /' conftest.$ac_ext >&5
34759 ac_cv_header_ddraw_h=no
34762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34764 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34765 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34771 if test "$wxUSE_DISPLAY" = "yes"; then
34772 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34773 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34774 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34777 for ac_dir in $SEARCH_LIB
34779 for ac_extension in a so sl dylib dll.a; do
34780 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34781 ac_find_libraries=$ac_dir
34787 if test "$ac_find_libraries" != "" ; then
34788 { echo "$as_me:$LINENO: result: yes" >&5
34789 echo "${ECHO_T}yes" >&6; }
34791 for ac_header in X11/extensions/xf86vmode.h
34793 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34794 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34796 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34797 echo $ECHO_N "(cached) $ECHO_C" >&6
34799 cat >conftest.$ac_ext <<_ACEOF
34802 cat confdefs.h >>conftest.$ac_ext
34803 cat >>conftest.$ac_ext <<_ACEOF
34804 /* end confdefs.h. */
34806 #if HAVE_X11_XLIB_H
34807 #include <X11/Xlib.h>
34811 #include <$ac_header>
34813 rm -f conftest.$ac_objext
34814 if { (ac_try="$ac_compile"
34815 case "(($ac_try" in
34816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34817 *) ac_try_echo=$ac_try;;
34819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34820 (eval "$ac_compile") 2>conftest.er1
34822 grep -v '^ *+' conftest.er1 >conftest.err
34824 cat conftest.err >&5
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); } && {
34827 test -z "$ac_c_werror_flag" ||
34828 test ! -s conftest.err
34829 } && test -s conftest.$ac_objext; then
34830 eval "$as_ac_Header=yes"
34832 echo "$as_me: failed program was:" >&5
34833 sed 's/^/| /' conftest.$ac_ext >&5
34835 eval "$as_ac_Header=no"
34838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34840 ac_res=`eval echo '${'$as_ac_Header'}'`
34841 { echo "$as_me:$LINENO: result: $ac_res" >&5
34842 echo "${ECHO_T}$ac_res" >&6; }
34843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34844 cat >>confdefs.h <<_ACEOF
34845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34848 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34855 { echo "$as_me:$LINENO: result: no" >&5
34856 echo "${ECHO_T}no" >&6; }
34861 if test "$wxUSE_DETECT_SM" = "yes"; then
34862 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34863 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34864 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34867 for ac_dir in $SEARCH_LIB
34869 for ac_extension in a so sl dylib dll.a; do
34870 if test -f "$ac_dir/libSM.$ac_extension"; then
34871 ac_find_libraries=$ac_dir
34877 if test "$ac_find_libraries" != "" ; then
34879 if test "$ac_find_libraries" = "default location"; then
34882 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34884 if test $result = 0; then
34887 ac_path_to_link=" -L$ac_find_libraries"
34891 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34892 LDFLAGS="$LDFLAGS $ac_path_to_link"
34894 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34895 { echo "$as_me:$LINENO: result: yes" >&5
34896 echo "${ECHO_T}yes" >&6; }
34898 { echo "$as_me:$LINENO: result: no" >&5
34899 echo "${ECHO_T}no" >&6; }
34900 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34901 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34902 wxUSE_DETECT_SM="no"
34905 wxUSE_DETECT_SM="no"
34912 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34915 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34916 OPENGL_LIBS="-framework OpenGL -framework AGL"
34917 elif test "$wxUSE_MSW" = 1; then
34918 OPENGL_LIBS="-lopengl32 -lglu32"
34919 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34921 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34922 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34925 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34927 if test -f "$ac_dir/GL/gl.h"; then
34928 ac_find_includes=$ac_dir
34933 if test "$ac_find_includes" != "" ; then
34934 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34935 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34937 if test "x$ac_find_includes" = "x/usr/include"; then
34938 ac_path_to_include=""
34940 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34942 if test $result = 0; then
34943 ac_path_to_include=""
34945 ac_path_to_include=" -I$ac_find_includes"
34949 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34951 { echo "$as_me:$LINENO: result: not found" >&5
34952 echo "${ECHO_T}not found" >&6; }
34955 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34956 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34957 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34958 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 cat >conftest.$ac_ext <<_ACEOF
34963 cat confdefs.h >>conftest.$ac_ext
34964 cat >>conftest.$ac_ext <<_ACEOF
34965 /* end confdefs.h. */
34970 rm -f conftest.$ac_objext
34971 if { (ac_try="$ac_compile"
34972 case "(($ac_try" in
34973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34974 *) ac_try_echo=$ac_try;;
34976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34977 (eval "$ac_compile") 2>conftest.er1
34979 grep -v '^ *+' conftest.er1 >conftest.err
34981 cat conftest.err >&5
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); } && {
34984 test -z "$ac_c_werror_flag" ||
34985 test ! -s conftest.err
34986 } && test -s conftest.$ac_objext; then
34987 ac_cv_header_GL_gl_h=yes
34989 echo "$as_me: failed program was:" >&5
34990 sed 's/^/| /' conftest.$ac_ext >&5
34992 ac_cv_header_GL_gl_h=no
34995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34997 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34998 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34999 if test $ac_cv_header_GL_gl_h = yes; then
35001 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35002 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35003 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35004 echo $ECHO_N "(cached) $ECHO_C" >&6
35006 cat >conftest.$ac_ext <<_ACEOF
35009 cat confdefs.h >>conftest.$ac_ext
35010 cat >>conftest.$ac_ext <<_ACEOF
35011 /* end confdefs.h. */
35014 #include <GL/glu.h>
35016 rm -f conftest.$ac_objext
35017 if { (ac_try="$ac_compile"
35018 case "(($ac_try" in
35019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35020 *) ac_try_echo=$ac_try;;
35022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35023 (eval "$ac_compile") 2>conftest.er1
35025 grep -v '^ *+' conftest.er1 >conftest.err
35027 cat conftest.err >&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); } && {
35030 test -z "$ac_c_werror_flag" ||
35031 test ! -s conftest.err
35032 } && test -s conftest.$ac_objext; then
35033 ac_cv_header_GL_glu_h=yes
35035 echo "$as_me: failed program was:" >&5
35036 sed 's/^/| /' conftest.$ac_ext >&5
35038 ac_cv_header_GL_glu_h=no
35041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35043 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35044 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35045 if test $ac_cv_header_GL_glu_h = yes; then
35049 { echo "$as_me:$LINENO: checking for -lGL" >&5
35050 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35053 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
35055 for ac_extension in a so sl dylib dll.a; do
35056 if test -f "$ac_dir/libGL.$ac_extension"; then
35057 ac_find_libraries=$ac_dir
35063 if test "$ac_find_libraries" != "" ; then
35064 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35065 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35068 if test "$ac_find_libraries" = "default location"; then
35071 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35073 if test $result = 0; then
35076 ac_path_to_link=" -L$ac_find_libraries"
35080 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35081 LDFLAGS_GL="$ac_path_to_link"
35084 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35085 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35088 for ac_dir in $SEARCH_LIB
35090 for ac_extension in a so sl dylib dll.a; do
35091 if test -f "$ac_dir/libGLU.$ac_extension"; then
35092 ac_find_libraries=$ac_dir
35098 if test "$ac_find_libraries" != "" ; then
35100 if test "$ac_find_libraries" = "default location"; then
35103 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35105 if test $result = 0; then
35108 ac_path_to_link=" -L$ac_find_libraries"
35112 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35113 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35114 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35118 OPENGL_LIBS="-lGL -lGLU"
35119 { echo "$as_me:$LINENO: result: yes" >&5
35120 echo "${ECHO_T}yes" >&6; }
35122 { echo "$as_me:$LINENO: result: no" >&5
35123 echo "${ECHO_T}no" >&6; }
35126 { echo "$as_me:$LINENO: result: no" >&5
35127 echo "${ECHO_T}no" >&6; }
35130 if test "$found_gl" != 1; then
35131 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35132 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35135 for ac_dir in $SEARCH_LIB
35137 for ac_extension in a so sl dylib dll.a; do
35138 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35139 ac_find_libraries=$ac_dir
35145 if test "$ac_find_libraries" != "" ; then
35147 if test "$ac_find_libraries" = "default location"; then
35150 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35152 if test $result = 0; then
35155 ac_path_to_link=" -L$ac_find_libraries"
35159 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35160 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35161 { echo "$as_me:$LINENO: result: yes" >&5
35162 echo "${ECHO_T}yes" >&6; }
35164 { echo "$as_me:$LINENO: result: no" >&5
35165 echo "${ECHO_T}no" >&6; }
35177 if test "x$OPENGL_LIBS" = "x"; then
35178 if test "$wxUSE_OPENGL" = "yes"; then
35179 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35180 echo "$as_me: error: OpenGL libraries not available" >&2;}
35181 { (exit 1); exit 1; }; }
35183 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
35184 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
35190 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35191 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35195 if test "$wxUSE_OPENGL" = "auto"; then
35199 if test "$wxUSE_OPENGL" = "yes"; then
35201 cat >>confdefs.h <<\_ACEOF
35202 #define wxUSE_OPENGL 1
35205 cat >>confdefs.h <<\_ACEOF
35206 #define wxUSE_GLCANVAS 1
35209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35214 if test -n "$TOOLKIT" ; then
35215 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35220 if test "$wxUSE_SHARED" = "yes"; then
35224 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35225 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35230 if test "$wxUSE_SHARED" = "yes"; then
35234 *-*-cygwin* | *-*-mingw* )
35235 wx_cv_version_script=no
35239 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35240 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35241 if test "${wx_cv_version_script+set}" = set; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35245 echo "VER_1 { *; };" >conftest.sym
35246 echo "int main() { return 0; }" >conftest.cpp
35249 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35250 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35252 (eval $ac_try) 2>&5
35254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255 (exit $ac_status); }; } ; then
35256 if test -s conftest.stderr ; then
35257 wx_cv_version_script=no
35259 wx_cv_version_script=yes
35262 wx_cv_version_script=no
35265 if test $wx_cv_version_script = yes
35267 echo "struct B { virtual ~B() { } }; \
35268 struct D : public B { }; \
35269 void F() { D d; }" > conftest.cpp
35272 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35273 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35275 (eval $ac_try) 2>&5
35277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278 (exit $ac_status); }; } &&
35280 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35281 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35283 (eval $ac_try) 2>&5
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); }; }
35289 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35290 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35292 (eval $ac_try) 2>&5
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); }; }
35297 wx_cv_version_script=yes
35299 wx_cv_version_script=no
35304 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35305 rm -f conftest1.output conftest2.output conftest3.output
35308 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35309 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35311 if test $wx_cv_version_script = yes ; then
35312 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35318 if test "$wxUSE_VISIBILITY" != "no"; then
35321 if test -n "$GCC"; then
35322 CFLAGS_VISIBILITY="-fvisibility=hidden"
35323 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35324 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35325 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35326 if test "${wx_cv_cc_visibility+set}" = set; then
35327 echo $ECHO_N "(cached) $ECHO_C" >&6
35330 wx_save_CXXFLAGS="$CXXFLAGS"
35331 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35333 ac_cpp='$CXXCPP $CPPFLAGS'
35334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35338 cat >conftest.$ac_ext <<_ACEOF
35341 cat confdefs.h >>conftest.$ac_ext
35342 cat >>conftest.$ac_ext <<_ACEOF
35343 /* end confdefs.h. */
35345 /* we need gcc >= 4.0, older versions with visibility support
35346 didn't have class visibility: */
35347 #if defined(__GNUC__) && __GNUC__ < 4
35348 error this gcc is too old;
35351 /* visibility only makes sense for ELF shared libs: */
35352 #if !defined(__ELF__) && !defined(__APPLE__)
35353 error this platform has no visibility;
35356 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35357 #if defined(__clang__)
35358 clang compiler is still broken w.r.t. visibility;
35361 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35362 extern __attribute__((__visibility__("default"))) int exportedvar;
35363 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35364 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35365 class __attribute__((__visibility__("default"))) Foo {
35377 rm -f conftest.$ac_objext
35378 if { (ac_try="$ac_compile"
35379 case "(($ac_try" in
35380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35381 *) ac_try_echo=$ac_try;;
35383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35384 (eval "$ac_compile") 2>conftest.er1
35386 grep -v '^ *+' conftest.er1 >conftest.err
35388 cat conftest.err >&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); } && {
35391 test -z "$ac_cxx_werror_flag" ||
35392 test ! -s conftest.err
35393 } && test -s conftest.$ac_objext; then
35394 wx_cv_cc_visibility=yes
35396 echo "$as_me: failed program was:" >&5
35397 sed 's/^/| /' conftest.$ac_ext >&5
35399 wx_cv_cc_visibility=no
35402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35404 ac_cpp='$CPP $CPPFLAGS'
35405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35409 CXXFLAGS="$wx_save_CXXFLAGS"
35412 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35413 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35414 if test $wx_cv_cc_visibility = yes; then
35415 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35416 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35417 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35418 echo $ECHO_N "(cached) $ECHO_C" >&6
35421 wx_save_CXXFLAGS="$CXXFLAGS"
35422 wx_save_LDFLAGS="$LDFLAGS"
35423 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35424 LDFLAGS="$LDFLAGS -shared -fPIC"
35426 ac_cpp='$CXXCPP $CPPFLAGS'
35427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35431 cat >conftest.$ac_ext <<_ACEOF
35434 cat confdefs.h >>conftest.$ac_ext
35435 cat >>conftest.$ac_ext <<_ACEOF
35436 /* end confdefs.h. */
35444 std::string s("hello");
35451 rm -f conftest.$ac_objext conftest$ac_exeext
35452 if { (ac_try="$ac_link"
35453 case "(($ac_try" in
35454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35455 *) ac_try_echo=$ac_try;;
35457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35458 (eval "$ac_link") 2>conftest.er1
35460 grep -v '^ *+' conftest.er1 >conftest.err
35462 cat conftest.err >&5
35463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35464 (exit $ac_status); } && {
35465 test -z "$ac_cxx_werror_flag" ||
35466 test ! -s conftest.err
35467 } && test -s conftest$ac_exeext &&
35468 $as_test_x conftest$ac_exeext; then
35469 wx_cv_cc_broken_libstdcxx_visibility=no
35471 echo "$as_me: failed program was:" >&5
35472 sed 's/^/| /' conftest.$ac_ext >&5
35474 wx_cv_cc_broken_libstdcxx_visibility=yes
35477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35478 conftest$ac_exeext conftest.$ac_ext
35480 ac_cpp='$CPP $CPPFLAGS'
35481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35485 CXXFLAGS="$wx_save_CXXFLAGS"
35486 LDFLAGS="$wx_save_LDFLAGS"
35489 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35490 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35492 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35493 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35494 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35495 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35496 echo $ECHO_N "(cached) $ECHO_C" >&6
35500 ac_cpp='$CXXCPP $CPPFLAGS'
35501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35505 cat >conftest.$ac_ext <<_ACEOF
35508 cat confdefs.h >>conftest.$ac_ext
35509 cat >>conftest.$ac_ext <<_ACEOF
35510 /* end confdefs.h. */
35512 #pragma GCC visibility push(default)
35514 #pragma GCC visibility pop
35520 std::string s("hello");
35527 rm -f conftest.$ac_objext conftest$ac_exeext
35528 if { (ac_try="$ac_link"
35529 case "(($ac_try" in
35530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35531 *) ac_try_echo=$ac_try;;
35533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35534 (eval "$ac_link") 2>conftest.er1
35536 grep -v '^ *+' conftest.er1 >conftest.err
35538 cat conftest.err >&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); } && {
35541 test -z "$ac_cxx_werror_flag" ||
35542 test ! -s conftest.err
35543 } && test -s conftest$ac_exeext &&
35544 $as_test_x conftest$ac_exeext; then
35545 wx_cv_cc_visibility_workaround=no
35547 echo "$as_me: failed program was:" >&5
35548 sed 's/^/| /' conftest.$ac_ext >&5
35550 wx_cv_cc_visibility_workaround=yes
35553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35554 conftest$ac_exeext conftest.$ac_ext
35556 ac_cpp='$CPP $CPPFLAGS'
35557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35564 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35565 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35567 if test $wx_cv_cc_visibility_workaround = no; then
35568 wx_cv_cc_visibility=no
35573 if test $wx_cv_cc_visibility = yes; then
35574 cat >>confdefs.h <<\_ACEOF
35575 #define HAVE_VISIBILITY 1
35578 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35579 cat >>confdefs.h <<\_ACEOF
35580 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35585 CFLAGS_VISIBILITY=""
35586 CXXFLAGS_VISIBILITY=""
35594 if test "x$SUNCXX" = xyes; then
35595 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35596 WXCONFIG_RPATH="-R\$libdir"
35599 *-*-linux* | *-*-gnu* )
35600 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35601 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35606 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35608 saveLdflags="$LDFLAGS"
35609 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35610 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35611 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35612 cat >conftest.$ac_ext <<_ACEOF
35615 cat confdefs.h >>conftest.$ac_ext
35616 cat >>conftest.$ac_ext <<_ACEOF
35617 /* end confdefs.h. */
35627 rm -f conftest.$ac_objext conftest$ac_exeext
35628 if { (ac_try="$ac_link"
35629 case "(($ac_try" in
35630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35631 *) ac_try_echo=$ac_try;;
35633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35634 (eval "$ac_link") 2>conftest.er1
35636 grep -v '^ *+' conftest.er1 >conftest.err
35638 cat conftest.err >&5
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); } && {
35641 test -z "$ac_c_werror_flag" ||
35642 test ! -s conftest.err
35643 } && test -s conftest$ac_exeext &&
35644 $as_test_x conftest$ac_exeext; then
35646 { echo "$as_me:$LINENO: result: yes" >&5
35647 echo "${ECHO_T}yes" >&6; }
35648 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35649 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35652 echo "$as_me: failed program was:" >&5
35653 sed 's/^/| /' conftest.$ac_ext >&5
35656 { echo "$as_me:$LINENO: result: no" >&5
35657 echo "${ECHO_T}no" >&6; }
35658 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35659 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35660 LDFLAGS="$saveLdflags -Wl,-R,/"
35661 cat >conftest.$ac_ext <<_ACEOF
35664 cat confdefs.h >>conftest.$ac_ext
35665 cat >>conftest.$ac_ext <<_ACEOF
35666 /* end confdefs.h. */
35676 rm -f conftest.$ac_objext conftest$ac_exeext
35677 if { (ac_try="$ac_link"
35678 case "(($ac_try" in
35679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35680 *) ac_try_echo=$ac_try;;
35682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35683 (eval "$ac_link") 2>conftest.er1
35685 grep -v '^ *+' conftest.er1 >conftest.err
35687 cat conftest.err >&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); } && {
35690 test -z "$ac_c_werror_flag" ||
35691 test ! -s conftest.err
35692 } && test -s conftest$ac_exeext &&
35693 $as_test_x conftest$ac_exeext; then
35695 { echo "$as_me:$LINENO: result: yes" >&5
35696 echo "${ECHO_T}yes" >&6; }
35697 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35698 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35701 echo "$as_me: failed program was:" >&5
35702 sed 's/^/| /' conftest.$ac_ext >&5
35705 { echo "$as_me:$LINENO: result: no" >&5
35706 echo "${ECHO_T}no" >&6; }
35710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35711 conftest$ac_exeext conftest.$ac_ext
35715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35716 conftest$ac_exeext conftest.$ac_ext
35717 LDFLAGS="$saveLdflags"
35721 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35722 if test "$install_name_tool" -a -x "$install_name_tool"; then
35723 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35724 cat <<EOF >change-install-names
35726 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35727 for i in \${libnames} ; do
35728 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35729 for dep in \${libnames} ; do
35730 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35734 chmod +x change-install-names
35735 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35738 HEADER_PAD_OPTION="-headerpad_max_install_names"
35741 *-*-cygwin* | *-*-mingw32* )
35745 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35746 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35752 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35754 if test $wxUSE_RPATH = "no"; then
35755 SAMPLES_RPATH_FLAG=''
35756 DYLIB_PATH_POSTLINK=''
35764 config_linkage_component="-static"
35771 lib_unicode_suffix=
35773 if test "$wxUSE_UNICODE" = "yes"; then
35774 lib_unicode_suffix=u
35775 WX_CHARTYPE="unicode"
35779 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35780 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35783 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35787 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35789 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35791 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35794 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35795 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35797 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35799 if test "${TOOLKIT_DIR}" = "os2"; then
35800 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35802 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35807 if test "$wxUSE_OLD_COCOA" = 1; then
35810 ac_cpp='$CPP $CPPFLAGS'
35811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35817 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35818 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35819 cat >conftest.$ac_ext <<_ACEOF
35822 cat confdefs.h >>conftest.$ac_ext
35823 cat >>conftest.$ac_ext <<_ACEOF
35824 /* end confdefs.h. */
35825 #include <AppKit/NSEvent.h>
35826 #include <CoreFoundation/CoreFoundation.h>
35836 rm -f conftest.$ac_objext
35837 if { (ac_try="$ac_compile"
35838 case "(($ac_try" in
35839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35840 *) ac_try_echo=$ac_try;;
35842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35843 (eval "$ac_compile") 2>conftest.er1
35845 grep -v '^ *+' conftest.er1 >conftest.err
35847 cat conftest.err >&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); } && {
35850 test -z "$ac_c_werror_flag" ||
35851 test ! -s conftest.err
35852 } && test -s conftest.$ac_objext; then
35853 { echo "$as_me:$LINENO: result: no" >&5
35854 echo "${ECHO_T}no" >&6; }
35856 echo "$as_me: failed program was:" >&5
35857 sed 's/^/| /' conftest.$ac_ext >&5
35859 { echo "$as_me:$LINENO: result: yes" >&5
35860 echo "${ECHO_T}yes" >&6; }
35861 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35862 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35863 cat >conftest.$ac_ext <<_ACEOF
35866 cat confdefs.h >>conftest.$ac_ext
35867 cat >>conftest.$ac_ext <<_ACEOF
35868 /* end confdefs.h. */
35869 #define __Point__ 1
35870 #include <AppKit/NSEvent.h>
35871 #include <CoreFoundation/CoreFoundation.h>
35881 rm -f conftest.$ac_objext
35882 if { (ac_try="$ac_compile"
35883 case "(($ac_try" in
35884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35885 *) ac_try_echo=$ac_try;;
35887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35888 (eval "$ac_compile") 2>conftest.er1
35890 grep -v '^ *+' conftest.er1 >conftest.err
35892 cat conftest.err >&5
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); } && {
35895 test -z "$ac_c_werror_flag" ||
35896 test ! -s conftest.err
35897 } && test -s conftest.$ac_objext; then
35898 { echo "$as_me:$LINENO: result: yes" >&5
35899 echo "${ECHO_T}yes" >&6; }
35900 cat >>confdefs.h <<\_ACEOF
35901 #define __Point__ 1
35906 echo "$as_me: failed program was:" >&5
35907 sed 's/^/| /' conftest.$ac_ext >&5
35909 { { echo "$as_me:$LINENO: error: no
35910 See \`config.log' for more details." >&5
35911 echo "$as_me: error: no
35912 See \`config.log' for more details." >&2;}
35913 { (exit 1); exit 1; }; }
35917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35923 ac_cpp='$CPP $CPPFLAGS'
35924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35931 { echo "$as_me:$LINENO: checking for mode_t" >&5
35932 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35933 if test "${ac_cv_type_mode_t+set}" = set; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 cat >conftest.$ac_ext <<_ACEOF
35939 cat confdefs.h >>conftest.$ac_ext
35940 cat >>conftest.$ac_ext <<_ACEOF
35941 /* end confdefs.h. */
35942 $ac_includes_default
35943 typedef mode_t ac__type_new_;
35947 if ((ac__type_new_ *) 0)
35949 if (sizeof (ac__type_new_))
35955 rm -f conftest.$ac_objext
35956 if { (ac_try="$ac_compile"
35957 case "(($ac_try" in
35958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35959 *) ac_try_echo=$ac_try;;
35961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35962 (eval "$ac_compile") 2>conftest.er1
35964 grep -v '^ *+' conftest.er1 >conftest.err
35966 cat conftest.err >&5
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); } && {
35969 test -z "$ac_c_werror_flag" ||
35970 test ! -s conftest.err
35971 } && test -s conftest.$ac_objext; then
35972 ac_cv_type_mode_t=yes
35974 echo "$as_me: failed program was:" >&5
35975 sed 's/^/| /' conftest.$ac_ext >&5
35977 ac_cv_type_mode_t=no
35980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35982 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35983 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35984 if test $ac_cv_type_mode_t = yes; then
35988 cat >>confdefs.h <<_ACEOF
35994 { echo "$as_me:$LINENO: checking for off_t" >&5
35995 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35996 if test "${ac_cv_type_off_t+set}" = set; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35999 cat >conftest.$ac_ext <<_ACEOF
36002 cat confdefs.h >>conftest.$ac_ext
36003 cat >>conftest.$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36005 $ac_includes_default
36006 typedef off_t ac__type_new_;
36010 if ((ac__type_new_ *) 0)
36012 if (sizeof (ac__type_new_))
36018 rm -f conftest.$ac_objext
36019 if { (ac_try="$ac_compile"
36020 case "(($ac_try" in
36021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36022 *) ac_try_echo=$ac_try;;
36024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36025 (eval "$ac_compile") 2>conftest.er1
36027 grep -v '^ *+' conftest.er1 >conftest.err
36029 cat conftest.err >&5
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); } && {
36032 test -z "$ac_c_werror_flag" ||
36033 test ! -s conftest.err
36034 } && test -s conftest.$ac_objext; then
36035 ac_cv_type_off_t=yes
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36040 ac_cv_type_off_t=no
36043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36045 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36046 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36047 if test $ac_cv_type_off_t = yes; then
36051 cat >>confdefs.h <<_ACEOF
36052 #define off_t long int
36057 { echo "$as_me:$LINENO: checking for pid_t" >&5
36058 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36059 if test "${ac_cv_type_pid_t+set}" = set; then
36060 echo $ECHO_N "(cached) $ECHO_C" >&6
36062 cat >conftest.$ac_ext <<_ACEOF
36065 cat confdefs.h >>conftest.$ac_ext
36066 cat >>conftest.$ac_ext <<_ACEOF
36067 /* end confdefs.h. */
36068 $ac_includes_default
36069 typedef pid_t ac__type_new_;
36073 if ((ac__type_new_ *) 0)
36075 if (sizeof (ac__type_new_))
36081 rm -f conftest.$ac_objext
36082 if { (ac_try="$ac_compile"
36083 case "(($ac_try" in
36084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36085 *) ac_try_echo=$ac_try;;
36087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36088 (eval "$ac_compile") 2>conftest.er1
36090 grep -v '^ *+' conftest.er1 >conftest.err
36092 cat conftest.err >&5
36093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36094 (exit $ac_status); } && {
36095 test -z "$ac_c_werror_flag" ||
36096 test ! -s conftest.err
36097 } && test -s conftest.$ac_objext; then
36098 ac_cv_type_pid_t=yes
36100 echo "$as_me: failed program was:" >&5
36101 sed 's/^/| /' conftest.$ac_ext >&5
36103 ac_cv_type_pid_t=no
36106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36108 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36109 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36110 if test $ac_cv_type_pid_t = yes; then
36114 cat >>confdefs.h <<_ACEOF
36120 { echo "$as_me:$LINENO: checking for size_t" >&5
36121 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36122 if test "${ac_cv_type_size_t+set}" = set; then
36123 echo $ECHO_N "(cached) $ECHO_C" >&6
36125 cat >conftest.$ac_ext <<_ACEOF
36128 cat confdefs.h >>conftest.$ac_ext
36129 cat >>conftest.$ac_ext <<_ACEOF
36130 /* end confdefs.h. */
36131 $ac_includes_default
36132 typedef size_t ac__type_new_;
36136 if ((ac__type_new_ *) 0)
36138 if (sizeof (ac__type_new_))
36144 rm -f conftest.$ac_objext
36145 if { (ac_try="$ac_compile"
36146 case "(($ac_try" in
36147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36148 *) ac_try_echo=$ac_try;;
36150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36151 (eval "$ac_compile") 2>conftest.er1
36153 grep -v '^ *+' conftest.er1 >conftest.err
36155 cat conftest.err >&5
36156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36157 (exit $ac_status); } && {
36158 test -z "$ac_c_werror_flag" ||
36159 test ! -s conftest.err
36160 } && test -s conftest.$ac_objext; then
36161 ac_cv_type_size_t=yes
36163 echo "$as_me: failed program was:" >&5
36164 sed 's/^/| /' conftest.$ac_ext >&5
36166 ac_cv_type_size_t=no
36169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36171 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36172 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36173 if test $ac_cv_type_size_t = yes; then
36177 cat >>confdefs.h <<_ACEOF
36178 #define size_t unsigned int
36184 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36185 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36186 if test "${ac_cv_type_ssize_t+set}" = set; then
36187 echo $ECHO_N "(cached) $ECHO_C" >&6
36189 cat >conftest.$ac_ext <<_ACEOF
36192 cat confdefs.h >>conftest.$ac_ext
36193 cat >>conftest.$ac_ext <<_ACEOF
36194 /* end confdefs.h. */
36195 $ac_includes_default
36196 typedef ssize_t ac__type_new_;
36200 if ((ac__type_new_ *) 0)
36202 if (sizeof (ac__type_new_))
36208 rm -f conftest.$ac_objext
36209 if { (ac_try="$ac_compile"
36210 case "(($ac_try" in
36211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36212 *) ac_try_echo=$ac_try;;
36214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36215 (eval "$ac_compile") 2>conftest.er1
36217 grep -v '^ *+' conftest.er1 >conftest.err
36219 cat conftest.err >&5
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); } && {
36222 test -z "$ac_c_werror_flag" ||
36223 test ! -s conftest.err
36224 } && test -s conftest.$ac_objext; then
36225 ac_cv_type_ssize_t=yes
36227 echo "$as_me: failed program was:" >&5
36228 sed 's/^/| /' conftest.$ac_ext >&5
36230 ac_cv_type_ssize_t=no
36233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36235 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36236 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36237 if test $ac_cv_type_ssize_t = yes; then
36239 cat >>confdefs.h <<_ACEOF
36240 #define HAVE_SSIZE_T 1
36248 ac_cpp='$CXXCPP $CPPFLAGS'
36249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36252 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36253 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36254 if test "${wx_cv_size_t_is_uint+set}" = set; then
36255 echo $ECHO_N "(cached) $ECHO_C" >&6
36258 cat >conftest.$ac_ext <<_ACEOF
36261 cat confdefs.h >>conftest.$ac_ext
36262 cat >>conftest.$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36264 #include <stddef.h>
36271 struct Foo { void foo(size_t); void foo(unsigned int); };
36279 rm -f conftest.$ac_objext
36280 if { (ac_try="$ac_compile"
36281 case "(($ac_try" in
36282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36283 *) ac_try_echo=$ac_try;;
36285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36286 (eval "$ac_compile") 2>conftest.er1
36288 grep -v '^ *+' conftest.er1 >conftest.err
36290 cat conftest.err >&5
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); } && {
36293 test -z "$ac_cxx_werror_flag" ||
36294 test ! -s conftest.err
36295 } && test -s conftest.$ac_objext; then
36296 wx_cv_size_t_is_uint=no
36298 echo "$as_me: failed program was:" >&5
36299 sed 's/^/| /' conftest.$ac_ext >&5
36301 wx_cv_size_t_is_uint=yes
36305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36309 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36310 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36312 if test "$wx_cv_size_t_is_uint" = "yes"; then
36313 cat >>confdefs.h <<\_ACEOF
36314 #define wxSIZE_T_IS_UINT 1
36318 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36319 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36320 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36321 echo $ECHO_N "(cached) $ECHO_C" >&6
36323 cat >conftest.$ac_ext <<_ACEOF
36326 cat confdefs.h >>conftest.$ac_ext
36327 cat >>conftest.$ac_ext <<_ACEOF
36328 /* end confdefs.h. */
36329 #include <stddef.h>
36336 struct Foo { void foo(size_t); void foo(unsigned long); };
36344 rm -f conftest.$ac_objext
36345 if { (ac_try="$ac_compile"
36346 case "(($ac_try" in
36347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36348 *) ac_try_echo=$ac_try;;
36350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36351 (eval "$ac_compile") 2>conftest.er1
36353 grep -v '^ *+' conftest.er1 >conftest.err
36355 cat conftest.err >&5
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); } && {
36358 test -z "$ac_cxx_werror_flag" ||
36359 test ! -s conftest.err
36360 } && test -s conftest.$ac_objext; then
36361 wx_cv_size_t_is_ulong=no
36363 echo "$as_me: failed program was:" >&5
36364 sed 's/^/| /' conftest.$ac_ext >&5
36366 wx_cv_size_t_is_ulong=yes
36370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36373 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36374 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36376 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36377 cat >>confdefs.h <<\_ACEOF
36378 #define wxSIZE_T_IS_ULONG 1
36384 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36385 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36386 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36387 echo $ECHO_N "(cached) $ECHO_C" >&6
36389 cat >conftest.$ac_ext <<_ACEOF
36392 cat confdefs.h >>conftest.$ac_ext
36393 cat >>conftest.$ac_ext <<_ACEOF
36394 /* end confdefs.h. */
36402 struct Foo { void foo(wchar_t);
36403 void foo(unsigned short);
36404 void foo(unsigned int);
36405 void foo(unsigned long); };
36413 rm -f conftest.$ac_objext
36414 if { (ac_try="$ac_compile"
36415 case "(($ac_try" in
36416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36417 *) ac_try_echo=$ac_try;;
36419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36420 (eval "$ac_compile") 2>conftest.er1
36422 grep -v '^ *+' conftest.er1 >conftest.err
36424 cat conftest.err >&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); } && {
36427 test -z "$ac_cxx_werror_flag" ||
36428 test ! -s conftest.err
36429 } && test -s conftest.$ac_objext; then
36430 wx_cv_wchar_t_is_separate_type=yes
36432 echo "$as_me: failed program was:" >&5
36433 sed 's/^/| /' conftest.$ac_ext >&5
36435 wx_cv_wchar_t_is_separate_type=no
36439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36442 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36443 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36445 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36446 cat >>confdefs.h <<\_ACEOF
36447 #define wxWCHAR_T_IS_REAL_TYPE 1
36451 cat >>confdefs.h <<\_ACEOF
36452 #define wxWCHAR_T_IS_REAL_TYPE 0
36458 ac_cpp='$CPP $CPPFLAGS'
36459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36464 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36465 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36466 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36467 echo $ECHO_N "(cached) $ECHO_C" >&6
36470 cat >conftest.$ac_ext <<_ACEOF
36473 cat confdefs.h >>conftest.$ac_ext
36474 cat >>conftest.$ac_ext <<_ACEOF
36475 /* end confdefs.h. */
36489 rm -f conftest.$ac_objext
36490 if { (ac_try="$ac_compile"
36491 case "(($ac_try" in
36492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36493 *) ac_try_echo=$ac_try;;
36495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36496 (eval "$ac_compile") 2>conftest.er1
36498 grep -v '^ *+' conftest.er1 >conftest.err
36500 cat conftest.err >&5
36501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36502 (exit $ac_status); } && {
36503 test -z "$ac_c_werror_flag" ||
36504 test ! -s conftest.err
36505 } && test -s conftest.$ac_objext; then
36507 wx_cv_struct_pw_gecos=yes
36510 echo "$as_me: failed program was:" >&5
36511 sed 's/^/| /' conftest.$ac_ext >&5
36514 wx_cv_struct_pw_gecos=no
36519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36523 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36524 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36526 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36527 cat >>confdefs.h <<\_ACEOF
36528 #define HAVE_PW_GECOS 1
36537 for ac_func in wcslen
36539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36545 cat >conftest.$ac_ext <<_ACEOF
36548 cat confdefs.h >>conftest.$ac_ext
36549 cat >>conftest.$ac_ext <<_ACEOF
36550 /* end confdefs.h. */
36551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36553 #define $ac_func innocuous_$ac_func
36555 /* System header to define __stub macros and hopefully few prototypes,
36556 which can conflict with char $ac_func (); below.
36557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36558 <limits.h> exists even on freestanding compilers. */
36561 # include <limits.h>
36563 # include <assert.h>
36568 /* Override any GCC internal prototype to avoid an error.
36569 Use char because int might match the return type of a GCC
36570 builtin and then its argument prototype would still apply. */
36575 /* The GNU C library defines this for functions which it implements
36576 to always fail with ENOSYS. Some functions are actually named
36577 something starting with __ and the normal name is an alias. */
36578 #if defined __stub_$ac_func || defined __stub___$ac_func
36585 return $ac_func ();
36590 rm -f conftest.$ac_objext conftest$ac_exeext
36591 if { (ac_try="$ac_link"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36594 *) ac_try_echo=$ac_try;;
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_link") 2>conftest.er1
36599 grep -v '^ *+' conftest.er1 >conftest.err
36601 cat conftest.err >&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest$ac_exeext &&
36607 $as_test_x conftest$ac_exeext; then
36608 eval "$as_ac_var=yes"
36610 echo "$as_me: failed program was:" >&5
36611 sed 's/^/| /' conftest.$ac_ext >&5
36613 eval "$as_ac_var=no"
36616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36617 conftest$ac_exeext conftest.$ac_ext
36619 ac_res=`eval echo '${'$as_ac_var'}'`
36620 { echo "$as_me:$LINENO: result: $ac_res" >&5
36621 echo "${ECHO_T}$ac_res" >&6; }
36622 if test `eval echo '${'$as_ac_var'}'` = yes; then
36623 cat >>confdefs.h <<_ACEOF
36624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36631 if test "$WCSLEN_FOUND" = 0; then
36632 if test "$TOOLKIT" = "MSW"; then
36633 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36634 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36635 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36636 echo $ECHO_N "(cached) $ECHO_C" >&6
36638 ac_check_lib_save_LIBS=$LIBS
36639 LIBS="-lmsvcrt $LIBS"
36640 cat >conftest.$ac_ext <<_ACEOF
36643 cat confdefs.h >>conftest.$ac_ext
36644 cat >>conftest.$ac_ext <<_ACEOF
36645 /* end confdefs.h. */
36647 /* Override any GCC internal prototype to avoid an error.
36648 Use char because int might match the return type of a GCC
36649 builtin and then its argument prototype would still apply. */
36662 rm -f conftest.$ac_objext conftest$ac_exeext
36663 if { (ac_try="$ac_link"
36664 case "(($ac_try" in
36665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36666 *) ac_try_echo=$ac_try;;
36668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36669 (eval "$ac_link") 2>conftest.er1
36671 grep -v '^ *+' conftest.er1 >conftest.err
36673 cat conftest.err >&5
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); } && {
36676 test -z "$ac_c_werror_flag" ||
36677 test ! -s conftest.err
36678 } && test -s conftest$ac_exeext &&
36679 $as_test_x conftest$ac_exeext; then
36680 ac_cv_lib_msvcrt_wcslen=yes
36682 echo "$as_me: failed program was:" >&5
36683 sed 's/^/| /' conftest.$ac_ext >&5
36685 ac_cv_lib_msvcrt_wcslen=no
36688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36689 conftest$ac_exeext conftest.$ac_ext
36690 LIBS=$ac_check_lib_save_LIBS
36692 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36693 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36694 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36699 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36700 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36701 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36702 echo $ECHO_N "(cached) $ECHO_C" >&6
36704 ac_check_lib_save_LIBS=$LIBS
36706 cat >conftest.$ac_ext <<_ACEOF
36709 cat confdefs.h >>conftest.$ac_ext
36710 cat >>conftest.$ac_ext <<_ACEOF
36711 /* end confdefs.h. */
36713 /* Override any GCC internal prototype to avoid an error.
36714 Use char because int might match the return type of a GCC
36715 builtin and then its argument prototype would still apply. */
36728 rm -f conftest.$ac_objext conftest$ac_exeext
36729 if { (ac_try="$ac_link"
36730 case "(($ac_try" in
36731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36732 *) ac_try_echo=$ac_try;;
36734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36735 (eval "$ac_link") 2>conftest.er1
36737 grep -v '^ *+' conftest.er1 >conftest.err
36739 cat conftest.err >&5
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); } && {
36742 test -z "$ac_c_werror_flag" ||
36743 test ! -s conftest.err
36744 } && test -s conftest$ac_exeext &&
36745 $as_test_x conftest$ac_exeext; then
36746 ac_cv_lib_w_wcslen=yes
36748 echo "$as_me: failed program was:" >&5
36749 sed 's/^/| /' conftest.$ac_ext >&5
36751 ac_cv_lib_w_wcslen=no
36754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36755 conftest$ac_exeext conftest.$ac_ext
36756 LIBS=$ac_check_lib_save_LIBS
36758 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36759 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36760 if test $ac_cv_lib_w_wcslen = yes; then
36770 if test "$WCSLEN_FOUND" = 1; then
36771 cat >>confdefs.h <<\_ACEOF
36772 #define HAVE_WCSLEN 1
36783 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36786 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36788 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36789 echo $ECHO_N "(cached) $ECHO_C" >&6
36791 cat >conftest.$ac_ext <<_ACEOF
36794 cat confdefs.h >>conftest.$ac_ext
36795 cat >>conftest.$ac_ext <<_ACEOF
36796 /* end confdefs.h. */
36797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36799 #define $ac_func innocuous_$ac_func
36801 /* System header to define __stub macros and hopefully few prototypes,
36802 which can conflict with char $ac_func (); below.
36803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36804 <limits.h> exists even on freestanding compilers. */
36807 # include <limits.h>
36809 # include <assert.h>
36814 /* Override any GCC internal prototype to avoid an error.
36815 Use char because int might match the return type of a GCC
36816 builtin and then its argument prototype would still apply. */
36821 /* The GNU C library defines this for functions which it implements
36822 to always fail with ENOSYS. Some functions are actually named
36823 something starting with __ and the normal name is an alias. */
36824 #if defined __stub_$ac_func || defined __stub___$ac_func
36831 return $ac_func ();
36836 rm -f conftest.$ac_objext conftest$ac_exeext
36837 if { (ac_try="$ac_link"
36838 case "(($ac_try" in
36839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36840 *) ac_try_echo=$ac_try;;
36842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36843 (eval "$ac_link") 2>conftest.er1
36845 grep -v '^ *+' conftest.er1 >conftest.err
36847 cat conftest.err >&5
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); } && {
36850 test -z "$ac_c_werror_flag" ||
36851 test ! -s conftest.err
36852 } && test -s conftest$ac_exeext &&
36853 $as_test_x conftest$ac_exeext; then
36854 eval "$as_ac_var=yes"
36856 echo "$as_me: failed program was:" >&5
36857 sed 's/^/| /' conftest.$ac_ext >&5
36859 eval "$as_ac_var=no"
36862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36863 conftest$ac_exeext conftest.$ac_ext
36865 ac_res=`eval echo '${'$as_ac_var'}'`
36866 { echo "$as_me:$LINENO: result: $ac_res" >&5
36867 echo "${ECHO_T}$ac_res" >&6; }
36868 if test `eval echo '${'$as_ac_var'}'` = yes; then
36869 cat >>confdefs.h <<_ACEOF
36870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36877 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36878 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36881 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36882 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36883 if test "${ac_cv_type_mbstate_t+set}" = set; then
36884 echo $ECHO_N "(cached) $ECHO_C" >&6
36886 cat >conftest.$ac_ext <<_ACEOF
36889 cat confdefs.h >>conftest.$ac_ext
36890 cat >>conftest.$ac_ext <<_ACEOF
36891 /* end confdefs.h. */
36894 typedef mbstate_t ac__type_new_;
36898 if ((ac__type_new_ *) 0)
36900 if (sizeof (ac__type_new_))
36906 rm -f conftest.$ac_objext
36907 if { (ac_try="$ac_compile"
36908 case "(($ac_try" in
36909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36910 *) ac_try_echo=$ac_try;;
36912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36913 (eval "$ac_compile") 2>conftest.er1
36915 grep -v '^ *+' conftest.er1 >conftest.err
36917 cat conftest.err >&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); } && {
36920 test -z "$ac_c_werror_flag" ||
36921 test ! -s conftest.err
36922 } && test -s conftest.$ac_objext; then
36923 ac_cv_type_mbstate_t=yes
36925 echo "$as_me: failed program was:" >&5
36926 sed 's/^/| /' conftest.$ac_ext >&5
36928 ac_cv_type_mbstate_t=no
36931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36933 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36934 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36935 if test $ac_cv_type_mbstate_t = yes; then
36937 cat >>confdefs.h <<_ACEOF
36938 #define HAVE_MBSTATE_T 1
36942 for ac_func in wcsrtombs
36944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36945 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36947 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36948 echo $ECHO_N "(cached) $ECHO_C" >&6
36950 cat >conftest.$ac_ext <<_ACEOF
36953 cat confdefs.h >>conftest.$ac_ext
36954 cat >>conftest.$ac_ext <<_ACEOF
36955 /* end confdefs.h. */
36956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36958 #define $ac_func innocuous_$ac_func
36960 /* System header to define __stub macros and hopefully few prototypes,
36961 which can conflict with char $ac_func (); below.
36962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36963 <limits.h> exists even on freestanding compilers. */
36966 # include <limits.h>
36968 # include <assert.h>
36973 /* Override any GCC internal prototype to avoid an error.
36974 Use char because int might match the return type of a GCC
36975 builtin and then its argument prototype would still apply. */
36980 /* The GNU C library defines this for functions which it implements
36981 to always fail with ENOSYS. Some functions are actually named
36982 something starting with __ and the normal name is an alias. */
36983 #if defined __stub_$ac_func || defined __stub___$ac_func
36990 return $ac_func ();
36995 rm -f conftest.$ac_objext conftest$ac_exeext
36996 if { (ac_try="$ac_link"
36997 case "(($ac_try" in
36998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36999 *) ac_try_echo=$ac_try;;
37001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37002 (eval "$ac_link") 2>conftest.er1
37004 grep -v '^ *+' conftest.er1 >conftest.err
37006 cat conftest.err >&5
37007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37008 (exit $ac_status); } && {
37009 test -z "$ac_c_werror_flag" ||
37010 test ! -s conftest.err
37011 } && test -s conftest$ac_exeext &&
37012 $as_test_x conftest$ac_exeext; then
37013 eval "$as_ac_var=yes"
37015 echo "$as_me: failed program was:" >&5
37016 sed 's/^/| /' conftest.$ac_ext >&5
37018 eval "$as_ac_var=no"
37021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37022 conftest$ac_exeext conftest.$ac_ext
37024 ac_res=`eval echo '${'$as_ac_var'}'`
37025 { echo "$as_me:$LINENO: result: $ac_res" >&5
37026 echo "${ECHO_T}$ac_res" >&6; }
37027 if test `eval echo '${'$as_ac_var'}'` = yes; then
37028 cat >>confdefs.h <<_ACEOF
37029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37041 for ac_func in snprintf vsnprintf vsscanf
37043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37044 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37046 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37047 echo $ECHO_N "(cached) $ECHO_C" >&6
37049 cat >conftest.$ac_ext <<_ACEOF
37052 cat confdefs.h >>conftest.$ac_ext
37053 cat >>conftest.$ac_ext <<_ACEOF
37054 /* end confdefs.h. */
37055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37057 #define $ac_func innocuous_$ac_func
37059 /* System header to define __stub macros and hopefully few prototypes,
37060 which can conflict with char $ac_func (); below.
37061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37062 <limits.h> exists even on freestanding compilers. */
37065 # include <limits.h>
37067 # include <assert.h>
37072 /* Override any GCC internal prototype to avoid an error.
37073 Use char because int might match the return type of a GCC
37074 builtin and then its argument prototype would still apply. */
37079 /* The GNU C library defines this for functions which it implements
37080 to always fail with ENOSYS. Some functions are actually named
37081 something starting with __ and the normal name is an alias. */
37082 #if defined __stub_$ac_func || defined __stub___$ac_func
37089 return $ac_func ();
37094 rm -f conftest.$ac_objext conftest$ac_exeext
37095 if { (ac_try="$ac_link"
37096 case "(($ac_try" in
37097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37098 *) ac_try_echo=$ac_try;;
37100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37101 (eval "$ac_link") 2>conftest.er1
37103 grep -v '^ *+' conftest.er1 >conftest.err
37105 cat conftest.err >&5
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); } && {
37108 test -z "$ac_c_werror_flag" ||
37109 test ! -s conftest.err
37110 } && test -s conftest$ac_exeext &&
37111 $as_test_x conftest$ac_exeext; then
37112 eval "$as_ac_var=yes"
37114 echo "$as_me: failed program was:" >&5
37115 sed 's/^/| /' conftest.$ac_ext >&5
37117 eval "$as_ac_var=no"
37120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37121 conftest$ac_exeext conftest.$ac_ext
37123 ac_res=`eval echo '${'$as_ac_var'}'`
37124 { echo "$as_me:$LINENO: result: $ac_res" >&5
37125 echo "${ECHO_T}$ac_res" >&6; }
37126 if test `eval echo '${'$as_ac_var'}'` = yes; then
37127 cat >>confdefs.h <<_ACEOF
37128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37136 ac_cpp='$CXXCPP $CPPFLAGS'
37137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37141 if test "$ac_cv_func_vsnprintf" = "yes"; then
37142 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37143 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37144 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37145 echo $ECHO_N "(cached) $ECHO_C" >&6
37148 cat >conftest.$ac_ext <<_ACEOF
37151 cat confdefs.h >>conftest.$ac_ext
37152 cat >>conftest.$ac_ext <<_ACEOF
37153 /* end confdefs.h. */
37156 #include <stdarg.h>
37158 #if __MSL__ >= 0x6000
37160 using namespace std;
37170 vsnprintf(buf, 10u, "%s", ap);
37176 rm -f conftest.$ac_objext
37177 if { (ac_try="$ac_compile"
37178 case "(($ac_try" in
37179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37180 *) ac_try_echo=$ac_try;;
37182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37183 (eval "$ac_compile") 2>conftest.er1
37185 grep -v '^ *+' conftest.er1 >conftest.err
37187 cat conftest.err >&5
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); } && {
37190 test -z "$ac_cxx_werror_flag" ||
37191 test ! -s conftest.err
37192 } && test -s conftest.$ac_objext; then
37193 wx_cv_func_vsnprintf_decl=yes
37195 echo "$as_me: failed program was:" >&5
37196 sed 's/^/| /' conftest.$ac_ext >&5
37198 wx_cv_func_vsnprintf_decl=no
37202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37206 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37207 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37209 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37210 cat >>confdefs.h <<\_ACEOF
37211 #define HAVE_VSNPRINTF_DECL 1
37215 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37216 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37217 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 cat >conftest.$ac_ext <<_ACEOF
37224 cat confdefs.h >>conftest.$ac_ext
37225 cat >>conftest.$ac_ext <<_ACEOF
37226 /* end confdefs.h. */
37229 #include <stdarg.h>
37231 #if __MSL__ >= 0x6000
37233 using namespace std;
37243 const char *fmt = "%s";
37244 vsnprintf(buf, 10u, fmt, ap);
37250 rm -f conftest.$ac_objext
37251 if { (ac_try="$ac_compile"
37252 case "(($ac_try" in
37253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37254 *) ac_try_echo=$ac_try;;
37256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37257 (eval "$ac_compile") 2>conftest.er1
37259 grep -v '^ *+' conftest.er1 >conftest.err
37261 cat conftest.err >&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); } && {
37264 test -z "$ac_cxx_werror_flag" ||
37265 test ! -s conftest.err
37266 } && test -s conftest.$ac_objext; then
37267 wx_cv_func_broken_vsnprintf_decl=no
37269 echo "$as_me: failed program was:" >&5
37270 sed 's/^/| /' conftest.$ac_ext >&5
37272 wx_cv_func_broken_vsnprintf_decl=yes
37276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37280 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37281 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37283 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37284 cat >>confdefs.h <<\_ACEOF
37285 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37292 if test "$ac_cv_func_snprintf" = "yes"; then
37293 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37294 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37295 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37296 echo $ECHO_N "(cached) $ECHO_C" >&6
37299 cat >conftest.$ac_ext <<_ACEOF
37302 cat confdefs.h >>conftest.$ac_ext
37303 cat >>conftest.$ac_ext <<_ACEOF
37304 /* end confdefs.h. */
37307 #include <stdarg.h>
37309 #if __MSL__ >= 0x6000
37311 using namespace std;
37320 snprintf(buf, 10u, "%s", "wx");
37326 rm -f conftest.$ac_objext
37327 if { (ac_try="$ac_compile"
37328 case "(($ac_try" in
37329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37330 *) ac_try_echo=$ac_try;;
37332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37333 (eval "$ac_compile") 2>conftest.er1
37335 grep -v '^ *+' conftest.er1 >conftest.err
37337 cat conftest.err >&5
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); } && {
37340 test -z "$ac_cxx_werror_flag" ||
37341 test ! -s conftest.err
37342 } && test -s conftest.$ac_objext; then
37343 wx_cv_func_snprintf_decl=yes
37345 echo "$as_me: failed program was:" >&5
37346 sed 's/^/| /' conftest.$ac_ext >&5
37348 wx_cv_func_snprintf_decl=no
37352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37356 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37357 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37359 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37360 cat >>confdefs.h <<\_ACEOF
37361 #define HAVE_SNPRINTF_DECL 1
37366 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37368 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37369 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37370 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37371 echo $ECHO_N "(cached) $ECHO_C" >&6
37374 if test "$cross_compiling" = yes; then
37376 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37377 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37378 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37379 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37380 wx_cv_func_snprintf_pos_params=no
37384 cat >conftest.$ac_ext <<_ACEOF
37387 cat confdefs.h >>conftest.$ac_ext
37388 cat >>conftest.$ac_ext <<_ACEOF
37389 /* end confdefs.h. */
37396 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37397 if (strcmp ("2 3 1", buffer) == 0)
37403 rm -f conftest$ac_exeext
37404 if { (ac_try="$ac_link"
37405 case "(($ac_try" in
37406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37407 *) ac_try_echo=$ac_try;;
37409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37410 (eval "$ac_link") 2>&5
37412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37414 { (case "(($ac_try" in
37415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37416 *) ac_try_echo=$ac_try;;
37418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37419 (eval "$ac_try") 2>&5
37421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37422 (exit $ac_status); }; }; then
37423 wx_cv_func_snprintf_pos_params=no
37425 echo "$as_me: program exited with status $ac_status" >&5
37426 echo "$as_me: failed program was:" >&5
37427 sed 's/^/| /' conftest.$ac_ext >&5
37429 ( exit $ac_status )
37430 wx_cv_func_snprintf_pos_params=yes
37432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37439 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37440 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37442 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37443 cat >>confdefs.h <<\_ACEOF
37444 #define HAVE_UNIX98_PRINTF 1
37451 if test "$ac_cv_func_vsscanf" = "yes"; then
37452 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37453 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37454 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37455 echo $ECHO_N "(cached) $ECHO_C" >&6
37458 cat >conftest.$ac_ext <<_ACEOF
37461 cat confdefs.h >>conftest.$ac_ext
37462 cat >>conftest.$ac_ext <<_ACEOF
37463 /* end confdefs.h. */
37466 #include <stdarg.h>
37468 #if __MSL__ >= 0x6000
37470 using namespace std;
37480 vsscanf(buf, "%s", args);
37486 rm -f conftest.$ac_objext
37487 if { (ac_try="$ac_compile"
37488 case "(($ac_try" in
37489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37490 *) ac_try_echo=$ac_try;;
37492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37493 (eval "$ac_compile") 2>conftest.er1
37495 grep -v '^ *+' conftest.er1 >conftest.err
37497 cat conftest.err >&5
37498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37499 (exit $ac_status); } && {
37500 test -z "$ac_cxx_werror_flag" ||
37501 test ! -s conftest.err
37502 } && test -s conftest.$ac_objext; then
37503 wx_cv_func_vsscanf_decl=yes
37505 echo "$as_me: failed program was:" >&5
37506 sed 's/^/| /' conftest.$ac_ext >&5
37508 wx_cv_func_vsscanf_decl=no
37512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37516 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37517 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37519 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37520 cat >>confdefs.h <<\_ACEOF
37521 #define HAVE_VSSCANF_DECL 1
37527 ac_cpp='$CPP $CPPFLAGS'
37528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37533 if test "$wxUSE_UNICODE" = yes; then
37535 wchar_headers="#include <stdio.h>
37536 #include <wchar.h>"
37540 for ac_header in widec.h
37542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37546 echo $ECHO_N "(cached) $ECHO_C" >&6
37548 cat >conftest.$ac_ext <<_ACEOF
37551 cat confdefs.h >>conftest.$ac_ext
37552 cat >>conftest.$ac_ext <<_ACEOF
37553 /* end confdefs.h. */
37554 $ac_includes_default
37556 #include <$ac_header>
37558 rm -f conftest.$ac_objext
37559 if { (ac_try="$ac_compile"
37560 case "(($ac_try" in
37561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37562 *) ac_try_echo=$ac_try;;
37564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37565 (eval "$ac_compile") 2>conftest.er1
37567 grep -v '^ *+' conftest.er1 >conftest.err
37569 cat conftest.err >&5
37570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37571 (exit $ac_status); } && {
37572 test -z "$ac_c_werror_flag" ||
37573 test ! -s conftest.err
37574 } && test -s conftest.$ac_objext; then
37575 eval "$as_ac_Header=yes"
37577 echo "$as_me: failed program was:" >&5
37578 sed 's/^/| /' conftest.$ac_ext >&5
37580 eval "$as_ac_Header=no"
37583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37585 ac_res=`eval echo '${'$as_ac_Header'}'`
37586 { echo "$as_me:$LINENO: result: $ac_res" >&5
37587 echo "${ECHO_T}$ac_res" >&6; }
37588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37589 cat >>confdefs.h <<_ACEOF
37590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37597 if test "$ac_cv_header_widec_h" = "yes"; then
37598 wchar_headers="$wchar_headers
37599 #include <widec.h>"
37604 for wx_func in putws fputws wprintf vswprintf vswscanf
37606 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37607 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37608 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37609 echo $ECHO_N "(cached) $ECHO_C" >&6
37612 cat >conftest.$ac_ext <<_ACEOF
37616 cat confdefs.h >>conftest.$ac_ext
37617 cat >>conftest.$ac_ext <<_ACEOF
37618 /* end confdefs.h. */
37621 $ac_includes_default
37637 rm -f conftest.$ac_objext conftest$ac_exeext
37638 if { (ac_try="$ac_link"
37639 case "(($ac_try" in
37640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37641 *) ac_try_echo=$ac_try;;
37643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37644 (eval "$ac_link") 2>conftest.er1
37646 grep -v '^ *+' conftest.er1 >conftest.err
37648 cat conftest.err >&5
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); } && {
37651 test -z "$ac_c_werror_flag" ||
37652 test ! -s conftest.err
37653 } && test -s conftest$ac_exeext &&
37654 $as_test_x conftest$ac_exeext; then
37655 eval wx_cv_func_$wx_func=yes
37657 echo "$as_me: failed program was:" >&5
37658 sed 's/^/| /' conftest.$ac_ext >&5
37660 eval wx_cv_func_$wx_func=no
37663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37664 conftest$ac_exeext conftest.$ac_ext
37667 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37668 { echo "$as_me:$LINENO: result: $ac_res" >&5
37669 echo "${ECHO_T}$ac_res" >&6; }
37671 if eval test \$wx_cv_func_$wx_func = yes
37673 cat >>confdefs.h <<_ACEOF
37674 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37685 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37686 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37687 cat >conftest.$ac_ext <<_ACEOF
37690 cat confdefs.h >>conftest.$ac_ext
37691 cat >>conftest.$ac_ext <<_ACEOF
37692 /* end confdefs.h. */
37702 rm -f conftest.$ac_objext
37703 if { (ac_try="$ac_compile"
37704 case "(($ac_try" in
37705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37706 *) ac_try_echo=$ac_try;;
37708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37709 (eval "$ac_compile") 2>conftest.er1
37711 grep -v '^ *+' conftest.er1 >conftest.err
37713 cat conftest.err >&5
37714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37715 (exit $ac_status); } && {
37716 test -z "$ac_c_werror_flag" ||
37717 test ! -s conftest.err
37718 } && test -s conftest.$ac_objext; then
37719 { echo "$as_me:$LINENO: result: yes" >&5
37720 echo "${ECHO_T}yes" >&6; }
37721 cat >>confdefs.h <<\_ACEOF
37722 #define HAVE__VSNWPRINTF 1
37726 echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.$ac_ext >&5
37729 { echo "$as_me:$LINENO: result: no" >&5
37730 echo "${ECHO_T}no" >&6; }
37733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37736 if test "$wxUSE_FILE" = "yes"; then
37738 for wx_func in fsync
37740 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37741 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37742 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37743 echo $ECHO_N "(cached) $ECHO_C" >&6
37746 cat >conftest.$ac_ext <<_ACEOF
37750 cat confdefs.h >>conftest.$ac_ext
37751 cat >>conftest.$ac_ext <<_ACEOF
37752 /* end confdefs.h. */
37755 $ac_includes_default
37771 rm -f conftest.$ac_objext conftest$ac_exeext
37772 if { (ac_try="$ac_link"
37773 case "(($ac_try" in
37774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37775 *) ac_try_echo=$ac_try;;
37777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37778 (eval "$ac_link") 2>conftest.er1
37780 grep -v '^ *+' conftest.er1 >conftest.err
37782 cat conftest.err >&5
37783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784 (exit $ac_status); } && {
37785 test -z "$ac_c_werror_flag" ||
37786 test ! -s conftest.err
37787 } && test -s conftest$ac_exeext &&
37788 $as_test_x conftest$ac_exeext; then
37789 eval wx_cv_func_$wx_func=yes
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.$ac_ext >&5
37794 eval wx_cv_func_$wx_func=no
37797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37798 conftest$ac_exeext conftest.$ac_ext
37801 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37802 { echo "$as_me:$LINENO: result: $ac_res" >&5
37803 echo "${ECHO_T}$ac_res" >&6; }
37805 if eval test \$wx_cv_func_$wx_func = yes
37807 cat >>confdefs.h <<_ACEOF
37808 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37821 ac_cpp='$CXXCPP $CPPFLAGS'
37822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37827 for wx_func in round
37829 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37830 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37831 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37832 echo $ECHO_N "(cached) $ECHO_C" >&6
37835 cat >conftest.$ac_ext <<_ACEOF
37839 cat confdefs.h >>conftest.$ac_ext
37840 cat >>conftest.$ac_ext <<_ACEOF
37841 /* end confdefs.h. */
37844 $ac_includes_default
37860 rm -f conftest.$ac_objext conftest$ac_exeext
37861 if { (ac_try="$ac_link"
37862 case "(($ac_try" in
37863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37864 *) ac_try_echo=$ac_try;;
37866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37867 (eval "$ac_link") 2>conftest.er1
37869 grep -v '^ *+' conftest.er1 >conftest.err
37871 cat conftest.err >&5
37872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873 (exit $ac_status); } && {
37874 test -z "$ac_cxx_werror_flag" ||
37875 test ! -s conftest.err
37876 } && test -s conftest$ac_exeext &&
37877 $as_test_x conftest$ac_exeext; then
37878 eval wx_cv_func_$wx_func=yes
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.$ac_ext >&5
37883 eval wx_cv_func_$wx_func=no
37886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37887 conftest$ac_exeext conftest.$ac_ext
37890 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37891 { echo "$as_me:$LINENO: result: $ac_res" >&5
37892 echo "${ECHO_T}$ac_res" >&6; }
37894 if eval test \$wx_cv_func_$wx_func = yes
37896 cat >>confdefs.h <<_ACEOF
37897 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37908 ac_cpp='$CPP $CPPFLAGS'
37909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37914 if test "$TOOLKIT" != "MSW"; then
37916 if test "$wxUSE_LIBICONV" != "no" ; then
37920 # Check whether --with-libiconv-prefix was given.
37921 if test "${with_libiconv_prefix+set}" = set; then
37922 withval=$with_libiconv_prefix;
37923 for dir in `echo "$withval" | tr : ' '`; do
37924 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37925 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37931 { echo "$as_me:$LINENO: checking for iconv" >&5
37932 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37933 if test "${am_cv_func_iconv+set}" = set; then
37934 echo $ECHO_N "(cached) $ECHO_C" >&6
37937 am_cv_func_iconv="no, consider installing GNU libiconv"
37939 cat >conftest.$ac_ext <<_ACEOF
37942 cat confdefs.h >>conftest.$ac_ext
37943 cat >>conftest.$ac_ext <<_ACEOF
37944 /* end confdefs.h. */
37945 #include <stdlib.h>
37950 iconv_t cd = iconv_open("","");
37951 iconv(cd,NULL,NULL,NULL,NULL);
37957 rm -f conftest.$ac_objext conftest$ac_exeext
37958 if { (ac_try="$ac_link"
37959 case "(($ac_try" in
37960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37961 *) ac_try_echo=$ac_try;;
37963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37964 (eval "$ac_link") 2>conftest.er1
37966 grep -v '^ *+' conftest.er1 >conftest.err
37968 cat conftest.err >&5
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); } && {
37971 test -z "$ac_c_werror_flag" ||
37972 test ! -s conftest.err
37973 } && test -s conftest$ac_exeext &&
37974 $as_test_x conftest$ac_exeext; then
37975 am_cv_func_iconv=yes
37977 echo "$as_me: failed program was:" >&5
37978 sed 's/^/| /' conftest.$ac_ext >&5
37983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37984 conftest$ac_exeext conftest.$ac_ext
37985 if test "$am_cv_func_iconv" != yes; then
37986 am_save_LIBS="$LIBS"
37987 LIBS="$LIBS -liconv"
37988 cat >conftest.$ac_ext <<_ACEOF
37991 cat confdefs.h >>conftest.$ac_ext
37992 cat >>conftest.$ac_ext <<_ACEOF
37993 /* end confdefs.h. */
37994 #include <stdlib.h>
37999 iconv_t cd = iconv_open("","");
38000 iconv(cd,NULL,NULL,NULL,NULL);
38006 rm -f conftest.$ac_objext conftest$ac_exeext
38007 if { (ac_try="$ac_link"
38008 case "(($ac_try" in
38009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38010 *) ac_try_echo=$ac_try;;
38012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38013 (eval "$ac_link") 2>conftest.er1
38015 grep -v '^ *+' conftest.er1 >conftest.err
38017 cat conftest.err >&5
38018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019 (exit $ac_status); } && {
38020 test -z "$ac_c_werror_flag" ||
38021 test ! -s conftest.err
38022 } && test -s conftest$ac_exeext &&
38023 $as_test_x conftest$ac_exeext; then
38024 am_cv_lib_iconv=yes
38025 am_cv_func_iconv=yes
38027 echo "$as_me: failed program was:" >&5
38028 sed 's/^/| /' conftest.$ac_ext >&5
38033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38034 conftest$ac_exeext conftest.$ac_ext
38035 LIBS="$am_save_LIBS"
38039 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38040 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38041 if test "$am_cv_func_iconv" = yes; then
38043 cat >>confdefs.h <<\_ACEOF
38044 #define HAVE_ICONV 1
38047 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38048 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38049 if test "${wx_cv_func_iconv_const+set}" = set; then
38050 echo $ECHO_N "(cached) $ECHO_C" >&6
38052 cat >conftest.$ac_ext <<_ACEOF
38055 cat confdefs.h >>conftest.$ac_ext
38056 cat >>conftest.$ac_ext <<_ACEOF
38057 /* end confdefs.h. */
38059 #include <stdlib.h>
38065 #if defined(__STDC__) || defined(__cplusplus)
38066 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38079 rm -f conftest.$ac_objext
38080 if { (ac_try="$ac_compile"
38081 case "(($ac_try" in
38082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38083 *) ac_try_echo=$ac_try;;
38085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38086 (eval "$ac_compile") 2>conftest.er1
38088 grep -v '^ *+' conftest.er1 >conftest.err
38090 cat conftest.err >&5
38091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38092 (exit $ac_status); } && {
38093 test -z "$ac_c_werror_flag" ||
38094 test ! -s conftest.err
38095 } && test -s conftest.$ac_objext; then
38096 wx_cv_func_iconv_const="no"
38098 echo "$as_me: failed program was:" >&5
38099 sed 's/^/| /' conftest.$ac_ext >&5
38101 wx_cv_func_iconv_const="yes"
38105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38108 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38109 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38112 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38113 iconv_const="const"
38117 cat >>confdefs.h <<_ACEOF
38118 #define ICONV_CONST $iconv_const
38123 if test "$am_cv_lib_iconv" = yes; then
38128 LIBS="$LIBICONV $LIBS"
38131 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38133 for ac_func in sigaction
38135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38139 echo $ECHO_N "(cached) $ECHO_C" >&6
38141 cat >conftest.$ac_ext <<_ACEOF
38144 cat confdefs.h >>conftest.$ac_ext
38145 cat >>conftest.$ac_ext <<_ACEOF
38146 /* end confdefs.h. */
38147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38149 #define $ac_func innocuous_$ac_func
38151 /* System header to define __stub macros and hopefully few prototypes,
38152 which can conflict with char $ac_func (); below.
38153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38154 <limits.h> exists even on freestanding compilers. */
38157 # include <limits.h>
38159 # include <assert.h>
38164 /* Override any GCC internal prototype to avoid an error.
38165 Use char because int might match the return type of a GCC
38166 builtin and then its argument prototype would still apply. */
38171 /* The GNU C library defines this for functions which it implements
38172 to always fail with ENOSYS. Some functions are actually named
38173 something starting with __ and the normal name is an alias. */
38174 #if defined __stub_$ac_func || defined __stub___$ac_func
38181 return $ac_func ();
38186 rm -f conftest.$ac_objext conftest$ac_exeext
38187 if { (ac_try="$ac_link"
38188 case "(($ac_try" in
38189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38190 *) ac_try_echo=$ac_try;;
38192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38193 (eval "$ac_link") 2>conftest.er1
38195 grep -v '^ *+' conftest.er1 >conftest.err
38197 cat conftest.err >&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); } && {
38200 test -z "$ac_c_werror_flag" ||
38201 test ! -s conftest.err
38202 } && test -s conftest$ac_exeext &&
38203 $as_test_x conftest$ac_exeext; then
38204 eval "$as_ac_var=yes"
38206 echo "$as_me: failed program was:" >&5
38207 sed 's/^/| /' conftest.$ac_ext >&5
38209 eval "$as_ac_var=no"
38212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38213 conftest$ac_exeext conftest.$ac_ext
38215 ac_res=`eval echo '${'$as_ac_var'}'`
38216 { echo "$as_me:$LINENO: result: $ac_res" >&5
38217 echo "${ECHO_T}$ac_res" >&6; }
38218 if test `eval echo '${'$as_ac_var'}'` = yes; then
38219 cat >>confdefs.h <<_ACEOF
38220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38227 if test "$ac_cv_func_sigaction" = "no"; then
38228 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38229 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38230 wxUSE_ON_FATAL_EXCEPTION=no
38233 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38234 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38235 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38236 if test "${wx_cv_type_sa_handler+set}" = set; then
38237 echo $ECHO_N "(cached) $ECHO_C" >&6
38241 ac_cpp='$CXXCPP $CPPFLAGS'
38242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38246 cat >conftest.$ac_ext <<_ACEOF
38249 cat confdefs.h >>conftest.$ac_ext
38250 cat >>conftest.$ac_ext <<_ACEOF
38251 /* end confdefs.h. */
38252 #include <signal.h>
38257 extern void testSigHandler(int);
38259 struct sigaction sa;
38260 sa.sa_handler = testSigHandler;
38266 rm -f conftest.$ac_objext
38267 if { (ac_try="$ac_compile"
38268 case "(($ac_try" in
38269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38270 *) ac_try_echo=$ac_try;;
38272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38273 (eval "$ac_compile") 2>conftest.er1
38275 grep -v '^ *+' conftest.er1 >conftest.err
38277 cat conftest.err >&5
38278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38279 (exit $ac_status); } && {
38280 test -z "$ac_cxx_werror_flag" ||
38281 test ! -s conftest.err
38282 } && test -s conftest.$ac_objext; then
38284 wx_cv_type_sa_handler=int
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.$ac_ext >&5
38291 wx_cv_type_sa_handler=void
38295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38297 ac_cpp='$CPP $CPPFLAGS'
38298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38304 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38305 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38307 cat >>confdefs.h <<_ACEOF
38308 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38314 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38315 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38316 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38317 if test "${wx_cv_func_backtrace+set}" = set; then
38318 echo $ECHO_N "(cached) $ECHO_C" >&6
38322 ac_cpp='$CXXCPP $CPPFLAGS'
38323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38327 cat >conftest.$ac_ext <<_ACEOF
38330 cat confdefs.h >>conftest.$ac_ext
38331 cat >>conftest.$ac_ext <<_ACEOF
38332 /* end confdefs.h. */
38333 #include <execinfo.h>
38341 backtrace(trace, 1);
38342 messages = backtrace_symbols(trace, 1);
38348 rm -f conftest.$ac_objext
38349 if { (ac_try="$ac_compile"
38350 case "(($ac_try" in
38351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38352 *) ac_try_echo=$ac_try;;
38354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38355 (eval "$ac_compile") 2>conftest.er1
38357 grep -v '^ *+' conftest.er1 >conftest.err
38359 cat conftest.err >&5
38360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38361 (exit $ac_status); } && {
38362 test -z "$ac_cxx_werror_flag" ||
38363 test ! -s conftest.err
38364 } && test -s conftest.$ac_objext; then
38365 wx_cv_func_backtrace=yes
38367 echo "$as_me: failed program was:" >&5
38368 sed 's/^/| /' conftest.$ac_ext >&5
38370 wx_cv_func_backtrace=no
38374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38376 ac_cpp='$CPP $CPPFLAGS'
38377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38384 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38385 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38388 if test "$wx_cv_func_backtrace" = "no"; then
38389 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38390 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38391 wxUSE_STACKWALKER=no
38393 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38394 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38395 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38396 echo $ECHO_N "(cached) $ECHO_C" >&6
38400 ac_cpp='$CXXCPP $CPPFLAGS'
38401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38405 cat >conftest.$ac_ext <<_ACEOF
38408 cat confdefs.h >>conftest.$ac_ext
38409 cat >>conftest.$ac_ext <<_ACEOF
38410 /* end confdefs.h. */
38411 #include <cxxabi.h>
38417 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38423 rm -f conftest.$ac_objext conftest$ac_exeext
38424 if { (ac_try="$ac_link"
38425 case "(($ac_try" in
38426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38427 *) ac_try_echo=$ac_try;;
38429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38430 (eval "$ac_link") 2>conftest.er1
38432 grep -v '^ *+' conftest.er1 >conftest.err
38434 cat conftest.err >&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); } && {
38437 test -z "$ac_cxx_werror_flag" ||
38438 test ! -s conftest.err
38439 } && test -s conftest$ac_exeext &&
38440 $as_test_x conftest$ac_exeext; then
38441 wx_cv_func_cxa_demangle=yes
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38446 wx_cv_func_cxa_demangle=no
38450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38451 conftest$ac_exeext conftest.$ac_ext
38453 ac_cpp='$CPP $CPPFLAGS'
38454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38461 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38462 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38464 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38465 cat >>confdefs.h <<\_ACEOF
38466 #define HAVE_CXA_DEMANGLE 1
38473 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38474 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38475 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38476 wxUSE_STACKWALKER=no
38482 for ac_func in mkstemp mktemp
38484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38485 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38487 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38488 echo $ECHO_N "(cached) $ECHO_C" >&6
38490 cat >conftest.$ac_ext <<_ACEOF
38493 cat confdefs.h >>conftest.$ac_ext
38494 cat >>conftest.$ac_ext <<_ACEOF
38495 /* end confdefs.h. */
38496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38498 #define $ac_func innocuous_$ac_func
38500 /* System header to define __stub macros and hopefully few prototypes,
38501 which can conflict with char $ac_func (); below.
38502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38503 <limits.h> exists even on freestanding compilers. */
38506 # include <limits.h>
38508 # include <assert.h>
38513 /* Override any GCC internal prototype to avoid an error.
38514 Use char because int might match the return type of a GCC
38515 builtin and then its argument prototype would still apply. */
38520 /* The GNU C library defines this for functions which it implements
38521 to always fail with ENOSYS. Some functions are actually named
38522 something starting with __ and the normal name is an alias. */
38523 #if defined __stub_$ac_func || defined __stub___$ac_func
38530 return $ac_func ();
38535 rm -f conftest.$ac_objext conftest$ac_exeext
38536 if { (ac_try="$ac_link"
38537 case "(($ac_try" in
38538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38539 *) ac_try_echo=$ac_try;;
38541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38542 (eval "$ac_link") 2>conftest.er1
38544 grep -v '^ *+' conftest.er1 >conftest.err
38546 cat conftest.err >&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); } && {
38549 test -z "$ac_c_werror_flag" ||
38550 test ! -s conftest.err
38551 } && test -s conftest$ac_exeext &&
38552 $as_test_x conftest$ac_exeext; then
38553 eval "$as_ac_var=yes"
38555 echo "$as_me: failed program was:" >&5
38556 sed 's/^/| /' conftest.$ac_ext >&5
38558 eval "$as_ac_var=no"
38561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38562 conftest$ac_exeext conftest.$ac_ext
38564 ac_res=`eval echo '${'$as_ac_var'}'`
38565 { echo "$as_me:$LINENO: result: $ac_res" >&5
38566 echo "${ECHO_T}$ac_res" >&6; }
38567 if test `eval echo '${'$as_ac_var'}'` = yes; then
38568 cat >>confdefs.h <<_ACEOF
38569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38576 { echo "$as_me:$LINENO: checking for statfs" >&5
38577 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38578 if test "${wx_cv_func_statfs+set}" = set; then
38579 echo $ECHO_N "(cached) $ECHO_C" >&6
38581 cat >conftest.$ac_ext <<_ACEOF
38584 cat confdefs.h >>conftest.$ac_ext
38585 cat >>conftest.$ac_ext <<_ACEOF
38586 /* end confdefs.h. */
38588 #if defined(__BSD__)
38589 #include <sys/param.h>
38590 #include <sys/mount.h>
38592 #include <sys/vfs.h>
38610 rm -f conftest.$ac_objext
38611 if { (ac_try="$ac_compile"
38612 case "(($ac_try" in
38613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38614 *) ac_try_echo=$ac_try;;
38616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38617 (eval "$ac_compile") 2>conftest.er1
38619 grep -v '^ *+' conftest.er1 >conftest.err
38621 cat conftest.err >&5
38622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38623 (exit $ac_status); } && {
38624 test -z "$ac_c_werror_flag" ||
38625 test ! -s conftest.err
38626 } && test -s conftest.$ac_objext; then
38627 wx_cv_func_statfs=yes
38629 echo "$as_me: failed program was:" >&5
38630 sed 's/^/| /' conftest.$ac_ext >&5
38632 wx_cv_func_statfs=no
38636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38639 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38640 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38642 if test "$wx_cv_func_statfs" = "yes"; then
38643 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38644 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38645 if test "${wx_cv_func_statfs_decl+set}" = set; then
38646 echo $ECHO_N "(cached) $ECHO_C" >&6
38649 ac_cpp='$CXXCPP $CPPFLAGS'
38650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38654 cat >conftest.$ac_ext <<_ACEOF
38657 cat confdefs.h >>conftest.$ac_ext
38658 cat >>conftest.$ac_ext <<_ACEOF
38659 /* end confdefs.h. */
38661 #if defined(__BSD__)
38662 #include <sys/param.h>
38663 #include <sys/mount.h>
38665 #include <sys/vfs.h>
38679 rm -f conftest.$ac_objext
38680 if { (ac_try="$ac_compile"
38681 case "(($ac_try" in
38682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38683 *) ac_try_echo=$ac_try;;
38685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38686 (eval "$ac_compile") 2>conftest.er1
38688 grep -v '^ *+' conftest.er1 >conftest.err
38690 cat conftest.err >&5
38691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38692 (exit $ac_status); } && {
38693 test -z "$ac_cxx_werror_flag" ||
38694 test ! -s conftest.err
38695 } && test -s conftest.$ac_objext; then
38696 wx_cv_func_statfs_decl=yes
38698 echo "$as_me: failed program was:" >&5
38699 sed 's/^/| /' conftest.$ac_ext >&5
38701 wx_cv_func_statfs_decl=no
38705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38707 ac_cpp='$CPP $CPPFLAGS'
38708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38714 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38715 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38717 if test "$wx_cv_func_statfs_decl" = "yes"; then
38718 cat >>confdefs.h <<\_ACEOF
38719 #define HAVE_STATFS_DECL 1
38724 wx_cv_type_statvfs_t="struct statfs"
38725 cat >>confdefs.h <<\_ACEOF
38726 #define HAVE_STATFS 1
38730 { echo "$as_me:$LINENO: checking for statvfs" >&5
38731 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38732 if test "${wx_cv_func_statvfs+set}" = set; then
38733 echo $ECHO_N "(cached) $ECHO_C" >&6
38735 cat >conftest.$ac_ext <<_ACEOF
38738 cat confdefs.h >>conftest.$ac_ext
38739 cat >>conftest.$ac_ext <<_ACEOF
38740 /* end confdefs.h. */
38742 #include <stddef.h>
38743 #include <sys/statvfs.h>
38749 statvfs("/", NULL);
38755 rm -f conftest.$ac_objext
38756 if { (ac_try="$ac_compile"
38757 case "(($ac_try" in
38758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38759 *) ac_try_echo=$ac_try;;
38761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38762 (eval "$ac_compile") 2>conftest.er1
38764 grep -v '^ *+' conftest.er1 >conftest.err
38766 cat conftest.err >&5
38767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38768 (exit $ac_status); } && {
38769 test -z "$ac_c_werror_flag" ||
38770 test ! -s conftest.err
38771 } && test -s conftest.$ac_objext; then
38772 wx_cv_func_statvfs=yes
38774 echo "$as_me: failed program was:" >&5
38775 sed 's/^/| /' conftest.$ac_ext >&5
38777 wx_cv_func_statvfs=no
38781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38784 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38785 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38787 if test "$wx_cv_func_statvfs" = "yes"; then
38788 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38789 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38790 if test "${wx_cv_type_statvfs_t+set}" = set; then
38791 echo $ECHO_N "(cached) $ECHO_C" >&6
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38799 cat >conftest.$ac_ext <<_ACEOF
38802 cat confdefs.h >>conftest.$ac_ext
38803 cat >>conftest.$ac_ext <<_ACEOF
38804 /* end confdefs.h. */
38806 #include <sys/statvfs.h>
38823 rm -f conftest.$ac_objext
38824 if { (ac_try="$ac_compile"
38825 case "(($ac_try" in
38826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38827 *) ac_try_echo=$ac_try;;
38829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38830 (eval "$ac_compile") 2>conftest.er1
38832 grep -v '^ *+' conftest.er1 >conftest.err
38834 cat conftest.err >&5
38835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38836 (exit $ac_status); } && {
38837 test -z "$ac_cxx_werror_flag" ||
38838 test ! -s conftest.err
38839 } && test -s conftest.$ac_objext; then
38840 wx_cv_type_statvfs_t=statvfs_t
38842 echo "$as_me: failed program was:" >&5
38843 sed 's/^/| /' conftest.$ac_ext >&5
38846 cat >conftest.$ac_ext <<_ACEOF
38849 cat confdefs.h >>conftest.$ac_ext
38850 cat >>conftest.$ac_ext <<_ACEOF
38851 /* end confdefs.h. */
38853 #include <sys/statvfs.h>
38870 rm -f conftest.$ac_objext
38871 if { (ac_try="$ac_compile"
38872 case "(($ac_try" in
38873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38874 *) ac_try_echo=$ac_try;;
38876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38877 (eval "$ac_compile") 2>conftest.er1
38879 grep -v '^ *+' conftest.er1 >conftest.err
38881 cat conftest.err >&5
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); } && {
38884 test -z "$ac_cxx_werror_flag" ||
38885 test ! -s conftest.err
38886 } && test -s conftest.$ac_objext; then
38887 wx_cv_type_statvfs_t="struct statvfs"
38889 echo "$as_me: failed program was:" >&5
38890 sed 's/^/| /' conftest.$ac_ext >&5
38892 wx_cv_type_statvfs_t="unknown"
38896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38903 ac_cpp='$CPP $CPPFLAGS'
38904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38910 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38911 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38913 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38914 cat >>confdefs.h <<\_ACEOF
38915 #define HAVE_STATVFS 1
38920 wx_cv_type_statvfs_t="unknown"
38924 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38925 cat >>confdefs.h <<_ACEOF
38926 #define WX_STATFS_T $wx_cv_type_statvfs_t
38930 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38931 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38934 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38937 for ac_func in fcntl flock
38939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38943 echo $ECHO_N "(cached) $ECHO_C" >&6
38945 cat >conftest.$ac_ext <<_ACEOF
38948 cat confdefs.h >>conftest.$ac_ext
38949 cat >>conftest.$ac_ext <<_ACEOF
38950 /* end confdefs.h. */
38951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38953 #define $ac_func innocuous_$ac_func
38955 /* System header to define __stub macros and hopefully few prototypes,
38956 which can conflict with char $ac_func (); below.
38957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38958 <limits.h> exists even on freestanding compilers. */
38961 # include <limits.h>
38963 # include <assert.h>
38968 /* Override any GCC internal prototype to avoid an error.
38969 Use char because int might match the return type of a GCC
38970 builtin and then its argument prototype would still apply. */
38975 /* The GNU C library defines this for functions which it implements
38976 to always fail with ENOSYS. Some functions are actually named
38977 something starting with __ and the normal name is an alias. */
38978 #if defined __stub_$ac_func || defined __stub___$ac_func
38985 return $ac_func ();
38990 rm -f conftest.$ac_objext conftest$ac_exeext
38991 if { (ac_try="$ac_link"
38992 case "(($ac_try" in
38993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38994 *) ac_try_echo=$ac_try;;
38996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38997 (eval "$ac_link") 2>conftest.er1
38999 grep -v '^ *+' conftest.er1 >conftest.err
39001 cat conftest.err >&5
39002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39003 (exit $ac_status); } && {
39004 test -z "$ac_c_werror_flag" ||
39005 test ! -s conftest.err
39006 } && test -s conftest$ac_exeext &&
39007 $as_test_x conftest$ac_exeext; then
39008 eval "$as_ac_var=yes"
39010 echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.$ac_ext >&5
39013 eval "$as_ac_var=no"
39016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39017 conftest$ac_exeext conftest.$ac_ext
39019 ac_res=`eval echo '${'$as_ac_var'}'`
39020 { echo "$as_me:$LINENO: result: $ac_res" >&5
39021 echo "${ECHO_T}$ac_res" >&6; }
39022 if test `eval echo '${'$as_ac_var'}'` = yes; then
39023 cat >>confdefs.h <<_ACEOF
39024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39031 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39032 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39033 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39034 wxUSE_SNGLINST_CHECKER=no
39040 for ac_func in setenv putenv
39042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39043 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39046 echo $ECHO_N "(cached) $ECHO_C" >&6
39048 cat >conftest.$ac_ext <<_ACEOF
39051 cat confdefs.h >>conftest.$ac_ext
39052 cat >>conftest.$ac_ext <<_ACEOF
39053 /* end confdefs.h. */
39054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39056 #define $ac_func innocuous_$ac_func
39058 /* System header to define __stub macros and hopefully few prototypes,
39059 which can conflict with char $ac_func (); below.
39060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39061 <limits.h> exists even on freestanding compilers. */
39064 # include <limits.h>
39066 # include <assert.h>
39071 /* Override any GCC internal prototype to avoid an error.
39072 Use char because int might match the return type of a GCC
39073 builtin and then its argument prototype would still apply. */
39078 /* The GNU C library defines this for functions which it implements
39079 to always fail with ENOSYS. Some functions are actually named
39080 something starting with __ and the normal name is an alias. */
39081 #if defined __stub_$ac_func || defined __stub___$ac_func
39088 return $ac_func ();
39093 rm -f conftest.$ac_objext conftest$ac_exeext
39094 if { (ac_try="$ac_link"
39095 case "(($ac_try" in
39096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39097 *) ac_try_echo=$ac_try;;
39099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39100 (eval "$ac_link") 2>conftest.er1
39102 grep -v '^ *+' conftest.er1 >conftest.err
39104 cat conftest.err >&5
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); } && {
39107 test -z "$ac_c_werror_flag" ||
39108 test ! -s conftest.err
39109 } && test -s conftest$ac_exeext &&
39110 $as_test_x conftest$ac_exeext; then
39111 eval "$as_ac_var=yes"
39113 echo "$as_me: failed program was:" >&5
39114 sed 's/^/| /' conftest.$ac_ext >&5
39116 eval "$as_ac_var=no"
39119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39120 conftest$ac_exeext conftest.$ac_ext
39122 ac_res=`eval echo '${'$as_ac_var'}'`
39123 { echo "$as_me:$LINENO: result: $ac_res" >&5
39124 echo "${ECHO_T}$ac_res" >&6; }
39125 if test `eval echo '${'$as_ac_var'}'` = yes; then
39126 cat >>confdefs.h <<_ACEOF
39127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39133 if test "$ac_cv_func_setenv" = "yes"; then
39135 for ac_func in unsetenv
39137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39138 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39140 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39141 echo $ECHO_N "(cached) $ECHO_C" >&6
39143 cat >conftest.$ac_ext <<_ACEOF
39146 cat confdefs.h >>conftest.$ac_ext
39147 cat >>conftest.$ac_ext <<_ACEOF
39148 /* end confdefs.h. */
39149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39151 #define $ac_func innocuous_$ac_func
39153 /* System header to define __stub macros and hopefully few prototypes,
39154 which can conflict with char $ac_func (); below.
39155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39156 <limits.h> exists even on freestanding compilers. */
39159 # include <limits.h>
39161 # include <assert.h>
39166 /* Override any GCC internal prototype to avoid an error.
39167 Use char because int might match the return type of a GCC
39168 builtin and then its argument prototype would still apply. */
39173 /* The GNU C library defines this for functions which it implements
39174 to always fail with ENOSYS. Some functions are actually named
39175 something starting with __ and the normal name is an alias. */
39176 #if defined __stub_$ac_func || defined __stub___$ac_func
39183 return $ac_func ();
39188 rm -f conftest.$ac_objext conftest$ac_exeext
39189 if { (ac_try="$ac_link"
39190 case "(($ac_try" in
39191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39192 *) ac_try_echo=$ac_try;;
39194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39195 (eval "$ac_link") 2>conftest.er1
39197 grep -v '^ *+' conftest.er1 >conftest.err
39199 cat conftest.err >&5
39200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39201 (exit $ac_status); } && {
39202 test -z "$ac_c_werror_flag" ||
39203 test ! -s conftest.err
39204 } && test -s conftest$ac_exeext &&
39205 $as_test_x conftest$ac_exeext; then
39206 eval "$as_ac_var=yes"
39208 echo "$as_me: failed program was:" >&5
39209 sed 's/^/| /' conftest.$ac_ext >&5
39211 eval "$as_ac_var=no"
39214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39215 conftest$ac_exeext conftest.$ac_ext
39217 ac_res=`eval echo '${'$as_ac_var'}'`
39218 { echo "$as_me:$LINENO: result: $ac_res" >&5
39219 echo "${ECHO_T}$ac_res" >&6; }
39220 if test `eval echo '${'$as_ac_var'}'` = yes; then
39221 cat >>confdefs.h <<_ACEOF
39222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39230 HAVE_SOME_SLEEP_FUNC=0
39231 if test "$USE_BEOS" = 1; then
39232 cat >>confdefs.h <<\_ACEOF
39233 #define HAVE_SLEEP 1
39236 HAVE_SOME_SLEEP_FUNC=1
39239 if test "$USE_DARWIN" = 1; then
39240 cat >>confdefs.h <<\_ACEOF
39241 #define HAVE_USLEEP 1
39244 HAVE_SOME_SLEEP_FUNC=1
39247 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39250 for ac_func in nanosleep
39252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39258 cat >conftest.$ac_ext <<_ACEOF
39261 cat confdefs.h >>conftest.$ac_ext
39262 cat >>conftest.$ac_ext <<_ACEOF
39263 /* end confdefs.h. */
39264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39266 #define $ac_func innocuous_$ac_func
39268 /* System header to define __stub macros and hopefully few prototypes,
39269 which can conflict with char $ac_func (); below.
39270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39271 <limits.h> exists even on freestanding compilers. */
39274 # include <limits.h>
39276 # include <assert.h>
39281 /* Override any GCC internal prototype to avoid an error.
39282 Use char because int might match the return type of a GCC
39283 builtin and then its argument prototype would still apply. */
39288 /* The GNU C library defines this for functions which it implements
39289 to always fail with ENOSYS. Some functions are actually named
39290 something starting with __ and the normal name is an alias. */
39291 #if defined __stub_$ac_func || defined __stub___$ac_func
39298 return $ac_func ();
39303 rm -f conftest.$ac_objext conftest$ac_exeext
39304 if { (ac_try="$ac_link"
39305 case "(($ac_try" in
39306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39307 *) ac_try_echo=$ac_try;;
39309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39310 (eval "$ac_link") 2>conftest.er1
39312 grep -v '^ *+' conftest.er1 >conftest.err
39314 cat conftest.err >&5
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); } && {
39317 test -z "$ac_c_werror_flag" ||
39318 test ! -s conftest.err
39319 } && test -s conftest$ac_exeext &&
39320 $as_test_x conftest$ac_exeext; then
39321 eval "$as_ac_var=yes"
39323 echo "$as_me: failed program was:" >&5
39324 sed 's/^/| /' conftest.$ac_ext >&5
39326 eval "$as_ac_var=no"
39329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39330 conftest$ac_exeext conftest.$ac_ext
39332 ac_res=`eval echo '${'$as_ac_var'}'`
39333 { echo "$as_me:$LINENO: result: $ac_res" >&5
39334 echo "${ECHO_T}$ac_res" >&6; }
39335 if test `eval echo '${'$as_ac_var'}'` = yes; then
39336 cat >>confdefs.h <<_ACEOF
39337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39339 cat >>confdefs.h <<\_ACEOF
39340 #define HAVE_NANOSLEEP 1
39345 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39346 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39347 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39348 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 ac_check_lib_save_LIBS=$LIBS
39351 LIBS="-lposix4 $LIBS"
39352 cat >conftest.$ac_ext <<_ACEOF
39355 cat confdefs.h >>conftest.$ac_ext
39356 cat >>conftest.$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39359 /* Override any GCC internal prototype to avoid an error.
39360 Use char because int might match the return type of a GCC
39361 builtin and then its argument prototype would still apply. */
39369 return nanosleep ();
39374 rm -f conftest.$ac_objext conftest$ac_exeext
39375 if { (ac_try="$ac_link"
39376 case "(($ac_try" in
39377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39378 *) ac_try_echo=$ac_try;;
39380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39381 (eval "$ac_link") 2>conftest.er1
39383 grep -v '^ *+' conftest.er1 >conftest.err
39385 cat conftest.err >&5
39386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39387 (exit $ac_status); } && {
39388 test -z "$ac_c_werror_flag" ||
39389 test ! -s conftest.err
39390 } && test -s conftest$ac_exeext &&
39391 $as_test_x conftest$ac_exeext; then
39392 ac_cv_lib_posix4_nanosleep=yes
39394 echo "$as_me: failed program was:" >&5
39395 sed 's/^/| /' conftest.$ac_ext >&5
39397 ac_cv_lib_posix4_nanosleep=no
39400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39401 conftest$ac_exeext conftest.$ac_ext
39402 LIBS=$ac_check_lib_save_LIBS
39404 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39405 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39406 if test $ac_cv_lib_posix4_nanosleep = yes; then
39408 cat >>confdefs.h <<\_ACEOF
39409 #define HAVE_NANOSLEEP 1
39412 POSIX4_LINK=" -lposix4"
39417 for wx_func in usleep
39419 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39420 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39421 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39422 echo $ECHO_N "(cached) $ECHO_C" >&6
39425 cat >conftest.$ac_ext <<_ACEOF
39429 cat confdefs.h >>conftest.$ac_ext
39430 cat >>conftest.$ac_ext <<_ACEOF
39431 /* end confdefs.h. */
39434 $ac_includes_default
39450 rm -f conftest.$ac_objext conftest$ac_exeext
39451 if { (ac_try="$ac_link"
39452 case "(($ac_try" in
39453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39454 *) ac_try_echo=$ac_try;;
39456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39457 (eval "$ac_link") 2>conftest.er1
39459 grep -v '^ *+' conftest.er1 >conftest.err
39461 cat conftest.err >&5
39462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39463 (exit $ac_status); } && {
39464 test -z "$ac_c_werror_flag" ||
39465 test ! -s conftest.err
39466 } && test -s conftest$ac_exeext &&
39467 $as_test_x conftest$ac_exeext; then
39468 eval wx_cv_func_$wx_func=yes
39470 echo "$as_me: failed program was:" >&5
39471 sed 's/^/| /' conftest.$ac_ext >&5
39473 eval wx_cv_func_$wx_func=no
39476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39477 conftest$ac_exeext conftest.$ac_ext
39480 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39481 { echo "$as_me:$LINENO: result: $ac_res" >&5
39482 echo "${ECHO_T}$ac_res" >&6; }
39484 if eval test \$wx_cv_func_$wx_func = yes
39486 cat >>confdefs.h <<_ACEOF
39487 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39493 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39494 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39511 for wx_func in uname
39513 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39514 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39515 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39516 echo $ECHO_N "(cached) $ECHO_C" >&6
39519 cat >conftest.$ac_ext <<_ACEOF
39523 cat confdefs.h >>conftest.$ac_ext
39524 cat >>conftest.$ac_ext <<_ACEOF
39525 /* end confdefs.h. */
39527 #include <sys/utsname.h>
39528 $ac_includes_default
39544 rm -f conftest.$ac_objext conftest$ac_exeext
39545 if { (ac_try="$ac_link"
39546 case "(($ac_try" in
39547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39548 *) ac_try_echo=$ac_try;;
39550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39551 (eval "$ac_link") 2>conftest.er1
39553 grep -v '^ *+' conftest.er1 >conftest.err
39555 cat conftest.err >&5
39556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39557 (exit $ac_status); } && {
39558 test -z "$ac_c_werror_flag" ||
39559 test ! -s conftest.err
39560 } && test -s conftest$ac_exeext &&
39561 $as_test_x conftest$ac_exeext; then
39562 eval wx_cv_func_$wx_func=yes
39564 echo "$as_me: failed program was:" >&5
39565 sed 's/^/| /' conftest.$ac_ext >&5
39567 eval wx_cv_func_$wx_func=no
39570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39571 conftest$ac_exeext conftest.$ac_ext
39574 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39575 { echo "$as_me:$LINENO: result: $ac_res" >&5
39576 echo "${ECHO_T}$ac_res" >&6; }
39578 if eval test \$wx_cv_func_$wx_func = yes
39580 cat >>confdefs.h <<_ACEOF
39581 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39591 if test "$wx_cv_func_uname" != yes; then
39593 for wx_func in gethostname
39595 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39597 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39598 echo $ECHO_N "(cached) $ECHO_C" >&6
39601 cat >conftest.$ac_ext <<_ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39610 $ac_includes_default
39626 rm -f conftest.$ac_objext conftest$ac_exeext
39627 if { (ac_try="$ac_link"
39628 case "(($ac_try" in
39629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39630 *) ac_try_echo=$ac_try;;
39632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39633 (eval "$ac_link") 2>conftest.er1
39635 grep -v '^ *+' conftest.er1 >conftest.err
39637 cat conftest.err >&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); } && {
39640 test -z "$ac_c_werror_flag" ||
39641 test ! -s conftest.err
39642 } && test -s conftest$ac_exeext &&
39643 $as_test_x conftest$ac_exeext; then
39644 eval wx_cv_func_$wx_func=yes
39646 echo "$as_me: failed program was:" >&5
39647 sed 's/^/| /' conftest.$ac_ext >&5
39649 eval wx_cv_func_$wx_func=no
39652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39653 conftest$ac_exeext conftest.$ac_ext
39656 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39657 { echo "$as_me:$LINENO: result: $ac_res" >&5
39658 echo "${ECHO_T}$ac_res" >&6; }
39660 if eval test \$wx_cv_func_$wx_func = yes
39662 cat >>confdefs.h <<_ACEOF
39663 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39676 for wx_func in strtok_r
39678 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39679 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39680 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 cat >conftest.$ac_ext <<_ACEOF
39688 cat confdefs.h >>conftest.$ac_ext
39689 cat >>conftest.$ac_ext <<_ACEOF
39690 /* end confdefs.h. */
39693 $ac_includes_default
39709 rm -f conftest.$ac_objext conftest$ac_exeext
39710 if { (ac_try="$ac_link"
39711 case "(($ac_try" in
39712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39713 *) ac_try_echo=$ac_try;;
39715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39716 (eval "$ac_link") 2>conftest.er1
39718 grep -v '^ *+' conftest.er1 >conftest.err
39720 cat conftest.err >&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); } && {
39723 test -z "$ac_c_werror_flag" ||
39724 test ! -s conftest.err
39725 } && test -s conftest$ac_exeext &&
39726 $as_test_x conftest$ac_exeext; then
39727 eval wx_cv_func_$wx_func=yes
39729 echo "$as_me: failed program was:" >&5
39730 sed 's/^/| /' conftest.$ac_ext >&5
39732 eval wx_cv_func_$wx_func=no
39735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39736 conftest$ac_exeext conftest.$ac_ext
39739 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39740 { echo "$as_me:$LINENO: result: $ac_res" >&5
39741 echo "${ECHO_T}$ac_res" >&6; }
39743 if eval test \$wx_cv_func_$wx_func = yes
39745 cat >>confdefs.h <<_ACEOF
39746 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39759 for ac_func in inet_addr
39761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39762 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39764 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39765 echo $ECHO_N "(cached) $ECHO_C" >&6
39767 cat >conftest.$ac_ext <<_ACEOF
39770 cat confdefs.h >>conftest.$ac_ext
39771 cat >>conftest.$ac_ext <<_ACEOF
39772 /* end confdefs.h. */
39773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39775 #define $ac_func innocuous_$ac_func
39777 /* System header to define __stub macros and hopefully few prototypes,
39778 which can conflict with char $ac_func (); below.
39779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39780 <limits.h> exists even on freestanding compilers. */
39783 # include <limits.h>
39785 # include <assert.h>
39790 /* Override any GCC internal prototype to avoid an error.
39791 Use char because int might match the return type of a GCC
39792 builtin and then its argument prototype would still apply. */
39797 /* The GNU C library defines this for functions which it implements
39798 to always fail with ENOSYS. Some functions are actually named
39799 something starting with __ and the normal name is an alias. */
39800 #if defined __stub_$ac_func || defined __stub___$ac_func
39807 return $ac_func ();
39812 rm -f conftest.$ac_objext conftest$ac_exeext
39813 if { (ac_try="$ac_link"
39814 case "(($ac_try" in
39815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39816 *) ac_try_echo=$ac_try;;
39818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39819 (eval "$ac_link") 2>conftest.er1
39821 grep -v '^ *+' conftest.er1 >conftest.err
39823 cat conftest.err >&5
39824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39825 (exit $ac_status); } && {
39826 test -z "$ac_c_werror_flag" ||
39827 test ! -s conftest.err
39828 } && test -s conftest$ac_exeext &&
39829 $as_test_x conftest$ac_exeext; then
39830 eval "$as_ac_var=yes"
39832 echo "$as_me: failed program was:" >&5
39833 sed 's/^/| /' conftest.$ac_ext >&5
39835 eval "$as_ac_var=no"
39838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39839 conftest$ac_exeext conftest.$ac_ext
39841 ac_res=`eval echo '${'$as_ac_var'}'`
39842 { echo "$as_me:$LINENO: result: $ac_res" >&5
39843 echo "${ECHO_T}$ac_res" >&6; }
39844 if test `eval echo '${'$as_ac_var'}'` = yes; then
39845 cat >>confdefs.h <<_ACEOF
39846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39848 cat >>confdefs.h <<\_ACEOF
39849 #define HAVE_INET_ADDR 1
39854 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39855 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39856 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39859 ac_check_lib_save_LIBS=$LIBS
39861 cat >conftest.$ac_ext <<_ACEOF
39864 cat confdefs.h >>conftest.$ac_ext
39865 cat >>conftest.$ac_ext <<_ACEOF
39866 /* end confdefs.h. */
39868 /* Override any GCC internal prototype to avoid an error.
39869 Use char because int might match the return type of a GCC
39870 builtin and then its argument prototype would still apply. */
39878 return inet_addr ();
39883 rm -f conftest.$ac_objext conftest$ac_exeext
39884 if { (ac_try="$ac_link"
39885 case "(($ac_try" in
39886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39887 *) ac_try_echo=$ac_try;;
39889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39890 (eval "$ac_link") 2>conftest.er1
39892 grep -v '^ *+' conftest.er1 >conftest.err
39894 cat conftest.err >&5
39895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896 (exit $ac_status); } && {
39897 test -z "$ac_c_werror_flag" ||
39898 test ! -s conftest.err
39899 } && test -s conftest$ac_exeext &&
39900 $as_test_x conftest$ac_exeext; then
39901 ac_cv_lib_nsl_inet_addr=yes
39903 echo "$as_me: failed program was:" >&5
39904 sed 's/^/| /' conftest.$ac_ext >&5
39906 ac_cv_lib_nsl_inet_addr=no
39909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39910 conftest$ac_exeext conftest.$ac_ext
39911 LIBS=$ac_check_lib_save_LIBS
39913 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39914 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39915 if test $ac_cv_lib_nsl_inet_addr = yes; then
39919 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39920 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39921 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39922 echo $ECHO_N "(cached) $ECHO_C" >&6
39924 ac_check_lib_save_LIBS=$LIBS
39925 LIBS="-lresolv $LIBS"
39926 cat >conftest.$ac_ext <<_ACEOF
39929 cat confdefs.h >>conftest.$ac_ext
39930 cat >>conftest.$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39933 /* Override any GCC internal prototype to avoid an error.
39934 Use char because int might match the return type of a GCC
39935 builtin and then its argument prototype would still apply. */
39943 return inet_addr ();
39948 rm -f conftest.$ac_objext conftest$ac_exeext
39949 if { (ac_try="$ac_link"
39950 case "(($ac_try" in
39951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39952 *) ac_try_echo=$ac_try;;
39954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39955 (eval "$ac_link") 2>conftest.er1
39957 grep -v '^ *+' conftest.er1 >conftest.err
39959 cat conftest.err >&5
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); } && {
39962 test -z "$ac_c_werror_flag" ||
39963 test ! -s conftest.err
39964 } && test -s conftest$ac_exeext &&
39965 $as_test_x conftest$ac_exeext; then
39966 ac_cv_lib_resolv_inet_addr=yes
39968 echo "$as_me: failed program was:" >&5
39969 sed 's/^/| /' conftest.$ac_ext >&5
39971 ac_cv_lib_resolv_inet_addr=no
39974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39975 conftest$ac_exeext conftest.$ac_ext
39976 LIBS=$ac_check_lib_save_LIBS
39978 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39979 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39980 if test $ac_cv_lib_resolv_inet_addr = yes; then
39984 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39985 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39986 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39987 echo $ECHO_N "(cached) $ECHO_C" >&6
39989 ac_check_lib_save_LIBS=$LIBS
39990 LIBS="-lsocket $LIBS"
39991 cat >conftest.$ac_ext <<_ACEOF
39994 cat confdefs.h >>conftest.$ac_ext
39995 cat >>conftest.$ac_ext <<_ACEOF
39996 /* end confdefs.h. */
39998 /* Override any GCC internal prototype to avoid an error.
39999 Use char because int might match the return type of a GCC
40000 builtin and then its argument prototype would still apply. */
40008 return inet_addr ();
40013 rm -f conftest.$ac_objext conftest$ac_exeext
40014 if { (ac_try="$ac_link"
40015 case "(($ac_try" in
40016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40017 *) ac_try_echo=$ac_try;;
40019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40020 (eval "$ac_link") 2>conftest.er1
40022 grep -v '^ *+' conftest.er1 >conftest.err
40024 cat conftest.err >&5
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); } && {
40027 test -z "$ac_c_werror_flag" ||
40028 test ! -s conftest.err
40029 } && test -s conftest$ac_exeext &&
40030 $as_test_x conftest$ac_exeext; then
40031 ac_cv_lib_socket_inet_addr=yes
40033 echo "$as_me: failed program was:" >&5
40034 sed 's/^/| /' conftest.$ac_ext >&5
40036 ac_cv_lib_socket_inet_addr=no
40039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40040 conftest$ac_exeext conftest.$ac_ext
40041 LIBS=$ac_check_lib_save_LIBS
40043 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40044 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40045 if test $ac_cv_lib_socket_inet_addr = yes; then
40065 for ac_func in inet_aton
40067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40068 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40070 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40073 cat >conftest.$ac_ext <<_ACEOF
40076 cat confdefs.h >>conftest.$ac_ext
40077 cat >>conftest.$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40081 #define $ac_func innocuous_$ac_func
40083 /* System header to define __stub macros and hopefully few prototypes,
40084 which can conflict with char $ac_func (); below.
40085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40086 <limits.h> exists even on freestanding compilers. */
40089 # include <limits.h>
40091 # include <assert.h>
40096 /* Override any GCC internal prototype to avoid an error.
40097 Use char because int might match the return type of a GCC
40098 builtin and then its argument prototype would still apply. */
40103 /* The GNU C library defines this for functions which it implements
40104 to always fail with ENOSYS. Some functions are actually named
40105 something starting with __ and the normal name is an alias. */
40106 #if defined __stub_$ac_func || defined __stub___$ac_func
40113 return $ac_func ();
40118 rm -f conftest.$ac_objext conftest$ac_exeext
40119 if { (ac_try="$ac_link"
40120 case "(($ac_try" in
40121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40122 *) ac_try_echo=$ac_try;;
40124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40125 (eval "$ac_link") 2>conftest.er1
40127 grep -v '^ *+' conftest.er1 >conftest.err
40129 cat conftest.err >&5
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); } && {
40132 test -z "$ac_c_werror_flag" ||
40133 test ! -s conftest.err
40134 } && test -s conftest$ac_exeext &&
40135 $as_test_x conftest$ac_exeext; then
40136 eval "$as_ac_var=yes"
40138 echo "$as_me: failed program was:" >&5
40139 sed 's/^/| /' conftest.$ac_ext >&5
40141 eval "$as_ac_var=no"
40144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40145 conftest$ac_exeext conftest.$ac_ext
40147 ac_res=`eval echo '${'$as_ac_var'}'`
40148 { echo "$as_me:$LINENO: result: $ac_res" >&5
40149 echo "${ECHO_T}$ac_res" >&6; }
40150 if test `eval echo '${'$as_ac_var'}'` = yes; then
40151 cat >>confdefs.h <<_ACEOF
40152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40154 cat >>confdefs.h <<\_ACEOF
40155 #define HAVE_INET_ATON 1
40160 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40161 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40162 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40163 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40164 echo $ECHO_N "(cached) $ECHO_C" >&6
40166 ac_check_lib_save_LIBS=$LIBS
40167 LIBS="-l$INET_LINK $LIBS"
40168 cat >conftest.$ac_ext <<_ACEOF
40171 cat confdefs.h >>conftest.$ac_ext
40172 cat >>conftest.$ac_ext <<_ACEOF
40173 /* end confdefs.h. */
40175 /* Override any GCC internal prototype to avoid an error.
40176 Use char because int might match the return type of a GCC
40177 builtin and then its argument prototype would still apply. */
40185 return inet_aton ();
40190 rm -f conftest.$ac_objext conftest$ac_exeext
40191 if { (ac_try="$ac_link"
40192 case "(($ac_try" in
40193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40194 *) ac_try_echo=$ac_try;;
40196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40197 (eval "$ac_link") 2>conftest.er1
40199 grep -v '^ *+' conftest.er1 >conftest.err
40201 cat conftest.err >&5
40202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40203 (exit $ac_status); } && {
40204 test -z "$ac_c_werror_flag" ||
40205 test ! -s conftest.err
40206 } && test -s conftest$ac_exeext &&
40207 $as_test_x conftest$ac_exeext; then
40208 eval "$as_ac_Lib=yes"
40210 echo "$as_me: failed program was:" >&5
40211 sed 's/^/| /' conftest.$ac_ext >&5
40213 eval "$as_ac_Lib=no"
40216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40217 conftest$ac_exeext conftest.$ac_ext
40218 LIBS=$ac_check_lib_save_LIBS
40220 ac_res=`eval echo '${'$as_ac_Lib'}'`
40221 { echo "$as_me:$LINENO: result: $ac_res" >&5
40222 echo "${ECHO_T}$ac_res" >&6; }
40223 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40224 cat >>confdefs.h <<\_ACEOF
40225 #define HAVE_INET_ATON 1
40235 if test "x$INET_LINK" != "x"; then
40236 cat >>confdefs.h <<\_ACEOF
40237 #define HAVE_INET_ADDR 1
40240 INET_LINK=" -l$INET_LINK"
40244 for wx_func in fdopen
40246 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40247 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40248 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40249 echo $ECHO_N "(cached) $ECHO_C" >&6
40252 cat >conftest.$ac_ext <<_ACEOF
40256 cat confdefs.h >>conftest.$ac_ext
40257 cat >>conftest.$ac_ext <<_ACEOF
40258 /* end confdefs.h. */
40261 $ac_includes_default
40277 rm -f conftest.$ac_objext conftest$ac_exeext
40278 if { (ac_try="$ac_link"
40279 case "(($ac_try" in
40280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40281 *) ac_try_echo=$ac_try;;
40283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40284 (eval "$ac_link") 2>conftest.er1
40286 grep -v '^ *+' conftest.er1 >conftest.err
40288 cat conftest.err >&5
40289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40290 (exit $ac_status); } && {
40291 test -z "$ac_c_werror_flag" ||
40292 test ! -s conftest.err
40293 } && test -s conftest$ac_exeext &&
40294 $as_test_x conftest$ac_exeext; then
40295 eval wx_cv_func_$wx_func=yes
40297 echo "$as_me: failed program was:" >&5
40298 sed 's/^/| /' conftest.$ac_ext >&5
40300 eval wx_cv_func_$wx_func=no
40303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40304 conftest$ac_exeext conftest.$ac_ext
40307 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40308 { echo "$as_me:$LINENO: result: $ac_res" >&5
40309 echo "${ECHO_T}$ac_res" >&6; }
40311 if eval test \$wx_cv_func_$wx_func = yes
40313 cat >>confdefs.h <<_ACEOF
40314 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40325 if test "$wxUSE_TARSTREAM" = "yes"; then
40327 for wx_func in sysconf
40329 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40330 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40331 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40332 echo $ECHO_N "(cached) $ECHO_C" >&6
40335 cat >conftest.$ac_ext <<_ACEOF
40339 cat confdefs.h >>conftest.$ac_ext
40340 cat >>conftest.$ac_ext <<_ACEOF
40341 /* end confdefs.h. */
40344 $ac_includes_default
40360 rm -f conftest.$ac_objext conftest$ac_exeext
40361 if { (ac_try="$ac_link"
40362 case "(($ac_try" in
40363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40364 *) ac_try_echo=$ac_try;;
40366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40367 (eval "$ac_link") 2>conftest.er1
40369 grep -v '^ *+' conftest.er1 >conftest.err
40371 cat conftest.err >&5
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); } && {
40374 test -z "$ac_c_werror_flag" ||
40375 test ! -s conftest.err
40376 } && test -s conftest$ac_exeext &&
40377 $as_test_x conftest$ac_exeext; then
40378 eval wx_cv_func_$wx_func=yes
40380 echo "$as_me: failed program was:" >&5
40381 sed 's/^/| /' conftest.$ac_ext >&5
40383 eval wx_cv_func_$wx_func=no
40386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40387 conftest$ac_exeext conftest.$ac_ext
40390 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40391 { echo "$as_me:$LINENO: result: $ac_res" >&5
40392 echo "${ECHO_T}$ac_res" >&6; }
40394 if eval test \$wx_cv_func_$wx_func = yes
40396 cat >>confdefs.h <<_ACEOF
40397 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40409 for wx_func in getpwuid_r
40411 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40412 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40413 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40414 echo $ECHO_N "(cached) $ECHO_C" >&6
40417 cat >conftest.$ac_ext <<_ACEOF
40421 cat confdefs.h >>conftest.$ac_ext
40422 cat >>conftest.$ac_ext <<_ACEOF
40423 /* end confdefs.h. */
40429 $ac_includes_default
40439 struct passwd pw, *ppw;
40441 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40449 rm -f conftest.$ac_objext conftest$ac_exeext
40450 if { (ac_try="$ac_link"
40451 case "(($ac_try" in
40452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40453 *) ac_try_echo=$ac_try;;
40455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40456 (eval "$ac_link") 2>conftest.er1
40458 grep -v '^ *+' conftest.er1 >conftest.err
40460 cat conftest.err >&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); } && {
40463 test -z "$ac_c_werror_flag" ||
40464 test ! -s conftest.err
40465 } && test -s conftest$ac_exeext &&
40466 $as_test_x conftest$ac_exeext; then
40467 eval wx_cv_func_$wx_func=yes
40469 echo "$as_me: failed program was:" >&5
40470 sed 's/^/| /' conftest.$ac_ext >&5
40472 eval wx_cv_func_$wx_func=no
40475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40476 conftest$ac_exeext conftest.$ac_ext
40479 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40480 { echo "$as_me:$LINENO: result: $ac_res" >&5
40481 echo "${ECHO_T}$ac_res" >&6; }
40483 if eval test \$wx_cv_func_$wx_func = yes
40485 cat >>confdefs.h <<_ACEOF
40486 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40498 for wx_func in getgrgid_r
40500 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40501 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40502 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40503 echo $ECHO_N "(cached) $ECHO_C" >&6
40506 cat >conftest.$ac_ext <<_ACEOF
40510 cat confdefs.h >>conftest.$ac_ext
40511 cat >>conftest.$ac_ext <<_ACEOF
40512 /* end confdefs.h. */
40518 $ac_includes_default
40528 struct group grp, *pgrp;
40530 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40538 rm -f conftest.$ac_objext conftest$ac_exeext
40539 if { (ac_try="$ac_link"
40540 case "(($ac_try" in
40541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40542 *) ac_try_echo=$ac_try;;
40544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40545 (eval "$ac_link") 2>conftest.er1
40547 grep -v '^ *+' conftest.er1 >conftest.err
40549 cat conftest.err >&5
40550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40551 (exit $ac_status); } && {
40552 test -z "$ac_c_werror_flag" ||
40553 test ! -s conftest.err
40554 } && test -s conftest$ac_exeext &&
40555 $as_test_x conftest$ac_exeext; then
40556 eval wx_cv_func_$wx_func=yes
40558 echo "$as_me: failed program was:" >&5
40559 sed 's/^/| /' conftest.$ac_ext >&5
40561 eval wx_cv_func_$wx_func=no
40564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40565 conftest$ac_exeext conftest.$ac_ext
40568 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40569 { echo "$as_me:$LINENO: result: $ac_res" >&5
40570 echo "${ECHO_T}$ac_res" >&6; }
40572 if eval test \$wx_cv_func_$wx_func = yes
40574 cat >>confdefs.h <<_ACEOF
40575 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40591 cat >confcache <<\_ACEOF
40592 # This file is a shell script that caches the results of configure
40593 # tests run on this system so they can be shared between configure
40594 # scripts and configure runs, see configure's option --config-cache.
40595 # It is not useful on other systems. If it contains results you don't
40596 # want to keep, you may remove or edit it.
40598 # config.status only pays attention to the cache file if you give it
40599 # the --recheck option to rerun configure.
40601 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40602 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40603 # following values.
40607 # The following way of writing the cache mishandles newlines in values,
40608 # but we know of no workaround that is simple, portable, and efficient.
40609 # So, we kill variables containing newlines.
40610 # Ultrix sh set writes to stderr and can't be redirected directly,
40611 # and sets the high bit in the cache file unless we assign to the vars.
40613 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40614 eval ac_val=\$$ac_var
40618 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40619 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40622 _ | IFS | as_nl) ;; #(
40623 *) $as_unset $ac_var ;;
40629 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40630 *${as_nl}ac_space=\ *)
40631 # `set' does not quote correctly, so add quotes (double-quote
40632 # substitution turns \\\\ into \\, and sed turns \\ into \).
40635 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40638 # `set' quotes correctly as required by POSIX, so do not add quotes.
40639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40648 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40650 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40652 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40653 if test -w "$cache_file"; then
40654 test "x$cache_file" != "x/dev/null" &&
40655 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40656 echo "$as_me: updating cache $cache_file" >&6;}
40657 cat confcache >$cache_file
40659 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40660 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40666 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40672 if test "$wxUSE_THREADS" = "yes" ; then
40673 if test "$USE_BEOS" = 1; then
40674 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40675 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40680 if test "$wxUSE_THREADS" = "yes" ; then
40683 THREAD_OPTS="-pthread"
40684 if test "x$SUNCXX" = xyes; then
40685 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40689 *-*-solaris2* | *-*-sunos4* )
40690 if test "x$GCC" = "xyes"; then
40691 THREAD_OPTS="-pthreads $THREAD_OPTS"
40695 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40697 *-*-darwin* | *-*-cygwin* )
40701 THREAD_OPTS="pthreads"
40704 if test "x$GCC" = "xyes"; then
40705 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40713 if test "x$GCC" = "xyes"; then
40723 if test "x$GCC" != "xyes"; then
40724 THREAD_OPTS="-Ethread"
40731 THREAD_OPTS="none pthread"
40735 THREAD_OPTS="$THREAD_OPTS pthread none"
40740 for flag in $THREAD_OPTS; do
40743 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40744 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40748 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40749 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40750 THREADS_CFLAGS="$flag"
40754 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40755 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40756 THREADS_LINK="-l$flag"
40761 save_CFLAGS="$CFLAGS"
40762 LIBS="$THREADS_LINK $LIBS"
40763 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40765 cat >conftest.$ac_ext <<_ACEOF
40768 cat confdefs.h >>conftest.$ac_ext
40769 cat >>conftest.$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40771 #include <pthread.h>
40775 pthread_create(0,0,0,0);
40780 rm -f conftest.$ac_objext conftest$ac_exeext
40781 if { (ac_try="$ac_link"
40782 case "(($ac_try" in
40783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40784 *) ac_try_echo=$ac_try;;
40786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40787 (eval "$ac_link") 2>conftest.er1
40789 grep -v '^ *+' conftest.er1 >conftest.err
40791 cat conftest.err >&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); } && {
40794 test -z "$ac_c_werror_flag" ||
40795 test ! -s conftest.err
40796 } && test -s conftest$ac_exeext &&
40797 $as_test_x conftest$ac_exeext; then
40800 echo "$as_me: failed program was:" >&5
40801 sed 's/^/| /' conftest.$ac_ext >&5
40806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40807 conftest$ac_exeext conftest.$ac_ext
40810 CFLAGS="$save_CFLAGS"
40812 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40813 echo "${ECHO_T}$THREADS_OK" >&6; }
40814 if test "x$THREADS_OK" = "xyes"; then
40822 if test "x$THREADS_OK" != "xyes"; then
40824 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40825 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40827 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40828 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40829 LIBS="$THREADS_LINK $LIBS"
40831 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40832 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40836 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40837 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40838 flag="-D_THREAD_SAFE"
40841 flag="-D_THREAD_SAFE"
40844 flag="-D_REENTRANT"
40845 if test "x$GCC" != "xyes"; then
40846 flag="$flag -D_RWSTD_MULTI_THREAD"
40849 *solaris* | alpha*-osf*)
40850 flag="-D_REENTRANT"
40853 { echo "$as_me:$LINENO: result: ${flag}" >&5
40854 echo "${ECHO_T}${flag}" >&6; }
40855 if test "x$flag" != xno; then
40856 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40859 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40863 if test "$wxUSE_THREADS" = "yes" ; then
40865 for ac_func in thr_setconcurrency
40867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40871 echo $ECHO_N "(cached) $ECHO_C" >&6
40873 cat >conftest.$ac_ext <<_ACEOF
40876 cat confdefs.h >>conftest.$ac_ext
40877 cat >>conftest.$ac_ext <<_ACEOF
40878 /* end confdefs.h. */
40879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40881 #define $ac_func innocuous_$ac_func
40883 /* System header to define __stub macros and hopefully few prototypes,
40884 which can conflict with char $ac_func (); below.
40885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40886 <limits.h> exists even on freestanding compilers. */
40889 # include <limits.h>
40891 # include <assert.h>
40896 /* Override any GCC internal prototype to avoid an error.
40897 Use char because int might match the return type of a GCC
40898 builtin and then its argument prototype would still apply. */
40903 /* The GNU C library defines this for functions which it implements
40904 to always fail with ENOSYS. Some functions are actually named
40905 something starting with __ and the normal name is an alias. */
40906 #if defined __stub_$ac_func || defined __stub___$ac_func
40913 return $ac_func ();
40918 rm -f conftest.$ac_objext conftest$ac_exeext
40919 if { (ac_try="$ac_link"
40920 case "(($ac_try" in
40921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40922 *) ac_try_echo=$ac_try;;
40924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40925 (eval "$ac_link") 2>conftest.er1
40927 grep -v '^ *+' conftest.er1 >conftest.err
40929 cat conftest.err >&5
40930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931 (exit $ac_status); } && {
40932 test -z "$ac_c_werror_flag" ||
40933 test ! -s conftest.err
40934 } && test -s conftest$ac_exeext &&
40935 $as_test_x conftest$ac_exeext; then
40936 eval "$as_ac_var=yes"
40938 echo "$as_me: failed program was:" >&5
40939 sed 's/^/| /' conftest.$ac_ext >&5
40941 eval "$as_ac_var=no"
40944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40945 conftest$ac_exeext conftest.$ac_ext
40947 ac_res=`eval echo '${'$as_ac_var'}'`
40948 { echo "$as_me:$LINENO: result: $ac_res" >&5
40949 echo "${ECHO_T}$ac_res" >&6; }
40950 if test `eval echo '${'$as_ac_var'}'` = yes; then
40951 cat >>confdefs.h <<_ACEOF
40952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40959 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40960 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40961 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40962 echo $ECHO_N "(cached) $ECHO_C" >&6
40966 ac_cpp='$CXXCPP $CPPFLAGS'
40967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40971 cat >conftest.$ac_ext <<_ACEOF
40974 cat confdefs.h >>conftest.$ac_ext
40975 cat >>conftest.$ac_ext <<_ACEOF
40976 /* end confdefs.h. */
40977 #include <pthread.h>
40978 void ThreadCleanupFunc(void *p);
40985 pthread_cleanup_push(ThreadCleanupFunc, p);
40986 pthread_cleanup_pop(0);
40992 rm -f conftest.$ac_objext
40993 if { (ac_try="$ac_compile"
40994 case "(($ac_try" in
40995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40996 *) ac_try_echo=$ac_try;;
40998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40999 (eval "$ac_compile") 2>conftest.er1
41001 grep -v '^ *+' conftest.er1 >conftest.err
41003 cat conftest.err >&5
41004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41005 (exit $ac_status); } && {
41006 test -z "$ac_cxx_werror_flag" ||
41007 test ! -s conftest.err
41008 } && test -s conftest.$ac_objext; then
41010 wx_cv_func_pthread_cleanup=yes
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41017 wx_cv_func_pthread_cleanup=no
41022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41024 ac_cpp='$CPP $CPPFLAGS'
41025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41031 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41032 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41033 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41034 cat >>confdefs.h <<\_ACEOF
41035 #define wxHAVE_PTHREAD_CLEANUP 1
41041 for ac_header in sched.h
41043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41044 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41046 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41047 echo $ECHO_N "(cached) $ECHO_C" >&6
41049 cat >conftest.$ac_ext <<_ACEOF
41052 cat confdefs.h >>conftest.$ac_ext
41053 cat >>conftest.$ac_ext <<_ACEOF
41054 /* end confdefs.h. */
41055 $ac_includes_default
41057 #include <$ac_header>
41059 rm -f conftest.$ac_objext
41060 if { (ac_try="$ac_compile"
41061 case "(($ac_try" in
41062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41063 *) ac_try_echo=$ac_try;;
41065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41066 (eval "$ac_compile") 2>conftest.er1
41068 grep -v '^ *+' conftest.er1 >conftest.err
41070 cat conftest.err >&5
41071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072 (exit $ac_status); } && {
41073 test -z "$ac_c_werror_flag" ||
41074 test ! -s conftest.err
41075 } && test -s conftest.$ac_objext; then
41076 eval "$as_ac_Header=yes"
41078 echo "$as_me: failed program was:" >&5
41079 sed 's/^/| /' conftest.$ac_ext >&5
41081 eval "$as_ac_Header=no"
41084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41086 ac_res=`eval echo '${'$as_ac_Header'}'`
41087 { echo "$as_me:$LINENO: result: $ac_res" >&5
41088 echo "${ECHO_T}$ac_res" >&6; }
41089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41090 cat >>confdefs.h <<_ACEOF
41091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41098 if test "$ac_cv_header_sched_h" = "yes"; then
41099 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41100 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41101 if test "${ac_cv_func_sched_yield+set}" = set; then
41102 echo $ECHO_N "(cached) $ECHO_C" >&6
41104 cat >conftest.$ac_ext <<_ACEOF
41107 cat confdefs.h >>conftest.$ac_ext
41108 cat >>conftest.$ac_ext <<_ACEOF
41109 /* end confdefs.h. */
41110 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41112 #define sched_yield innocuous_sched_yield
41114 /* System header to define __stub macros and hopefully few prototypes,
41115 which can conflict with char sched_yield (); below.
41116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41117 <limits.h> exists even on freestanding compilers. */
41120 # include <limits.h>
41122 # include <assert.h>
41127 /* Override any GCC internal prototype to avoid an error.
41128 Use char because int might match the return type of a GCC
41129 builtin and then its argument prototype would still apply. */
41133 char sched_yield ();
41134 /* The GNU C library defines this for functions which it implements
41135 to always fail with ENOSYS. Some functions are actually named
41136 something starting with __ and the normal name is an alias. */
41137 #if defined __stub_sched_yield || defined __stub___sched_yield
41144 return sched_yield ();
41149 rm -f conftest.$ac_objext conftest$ac_exeext
41150 if { (ac_try="$ac_link"
41151 case "(($ac_try" in
41152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41153 *) ac_try_echo=$ac_try;;
41155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41156 (eval "$ac_link") 2>conftest.er1
41158 grep -v '^ *+' conftest.er1 >conftest.err
41160 cat conftest.err >&5
41161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41162 (exit $ac_status); } && {
41163 test -z "$ac_c_werror_flag" ||
41164 test ! -s conftest.err
41165 } && test -s conftest$ac_exeext &&
41166 $as_test_x conftest$ac_exeext; then
41167 ac_cv_func_sched_yield=yes
41169 echo "$as_me: failed program was:" >&5
41170 sed 's/^/| /' conftest.$ac_ext >&5
41172 ac_cv_func_sched_yield=no
41175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41176 conftest$ac_exeext conftest.$ac_ext
41178 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41179 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41180 if test $ac_cv_func_sched_yield = yes; then
41181 cat >>confdefs.h <<\_ACEOF
41182 #define HAVE_SCHED_YIELD 1
41187 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41188 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41189 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41190 echo $ECHO_N "(cached) $ECHO_C" >&6
41192 ac_check_lib_save_LIBS=$LIBS
41193 LIBS="-lposix4 $LIBS"
41194 cat >conftest.$ac_ext <<_ACEOF
41197 cat confdefs.h >>conftest.$ac_ext
41198 cat >>conftest.$ac_ext <<_ACEOF
41199 /* end confdefs.h. */
41201 /* Override any GCC internal prototype to avoid an error.
41202 Use char because int might match the return type of a GCC
41203 builtin and then its argument prototype would still apply. */
41207 char sched_yield ();
41211 return sched_yield ();
41216 rm -f conftest.$ac_objext conftest$ac_exeext
41217 if { (ac_try="$ac_link"
41218 case "(($ac_try" in
41219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41220 *) ac_try_echo=$ac_try;;
41222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41223 (eval "$ac_link") 2>conftest.er1
41225 grep -v '^ *+' conftest.er1 >conftest.err
41227 cat conftest.err >&5
41228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229 (exit $ac_status); } && {
41230 test -z "$ac_c_werror_flag" ||
41231 test ! -s conftest.err
41232 } && test -s conftest$ac_exeext &&
41233 $as_test_x conftest$ac_exeext; then
41234 ac_cv_lib_posix4_sched_yield=yes
41236 echo "$as_me: failed program was:" >&5
41237 sed 's/^/| /' conftest.$ac_ext >&5
41239 ac_cv_lib_posix4_sched_yield=no
41242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41243 conftest$ac_exeext conftest.$ac_ext
41244 LIBS=$ac_check_lib_save_LIBS
41246 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41247 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41248 if test $ac_cv_lib_posix4_sched_yield = yes; then
41249 cat >>confdefs.h <<\_ACEOF
41250 #define HAVE_SCHED_YIELD 1
41252 POSIX4_LINK=" -lposix4"
41254 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41255 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41266 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41267 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41268 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41269 echo $ECHO_N "(cached) $ECHO_C" >&6
41271 cat >conftest.$ac_ext <<_ACEOF
41274 cat confdefs.h >>conftest.$ac_ext
41275 cat >>conftest.$ac_ext <<_ACEOF
41276 /* end confdefs.h. */
41277 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41279 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41281 /* System header to define __stub macros and hopefully few prototypes,
41282 which can conflict with char pthread_attr_getschedpolicy (); below.
41283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41284 <limits.h> exists even on freestanding compilers. */
41287 # include <limits.h>
41289 # include <assert.h>
41292 #undef pthread_attr_getschedpolicy
41294 /* Override any GCC internal prototype to avoid an error.
41295 Use char because int might match the return type of a GCC
41296 builtin and then its argument prototype would still apply. */
41300 char pthread_attr_getschedpolicy ();
41301 /* The GNU C library defines this for functions which it implements
41302 to always fail with ENOSYS. Some functions are actually named
41303 something starting with __ and the normal name is an alias. */
41304 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41311 return pthread_attr_getschedpolicy ();
41316 rm -f conftest.$ac_objext conftest$ac_exeext
41317 if { (ac_try="$ac_link"
41318 case "(($ac_try" in
41319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41320 *) ac_try_echo=$ac_try;;
41322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41323 (eval "$ac_link") 2>conftest.er1
41325 grep -v '^ *+' conftest.er1 >conftest.err
41327 cat conftest.err >&5
41328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41329 (exit $ac_status); } && {
41330 test -z "$ac_c_werror_flag" ||
41331 test ! -s conftest.err
41332 } && test -s conftest$ac_exeext &&
41333 $as_test_x conftest$ac_exeext; then
41334 ac_cv_func_pthread_attr_getschedpolicy=yes
41336 echo "$as_me: failed program was:" >&5
41337 sed 's/^/| /' conftest.$ac_ext >&5
41339 ac_cv_func_pthread_attr_getschedpolicy=no
41342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41343 conftest$ac_exeext conftest.$ac_ext
41345 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41346 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41347 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41348 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41349 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41350 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41351 echo $ECHO_N "(cached) $ECHO_C" >&6
41353 cat >conftest.$ac_ext <<_ACEOF
41356 cat confdefs.h >>conftest.$ac_ext
41357 cat >>conftest.$ac_ext <<_ACEOF
41358 /* end confdefs.h. */
41359 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41361 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41363 /* System header to define __stub macros and hopefully few prototypes,
41364 which can conflict with char pthread_attr_setschedparam (); below.
41365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41366 <limits.h> exists even on freestanding compilers. */
41369 # include <limits.h>
41371 # include <assert.h>
41374 #undef pthread_attr_setschedparam
41376 /* Override any GCC internal prototype to avoid an error.
41377 Use char because int might match the return type of a GCC
41378 builtin and then its argument prototype would still apply. */
41382 char pthread_attr_setschedparam ();
41383 /* The GNU C library defines this for functions which it implements
41384 to always fail with ENOSYS. Some functions are actually named
41385 something starting with __ and the normal name is an alias. */
41386 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41393 return pthread_attr_setschedparam ();
41398 rm -f conftest.$ac_objext conftest$ac_exeext
41399 if { (ac_try="$ac_link"
41400 case "(($ac_try" in
41401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41402 *) ac_try_echo=$ac_try;;
41404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41405 (eval "$ac_link") 2>conftest.er1
41407 grep -v '^ *+' conftest.er1 >conftest.err
41409 cat conftest.err >&5
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); } && {
41412 test -z "$ac_c_werror_flag" ||
41413 test ! -s conftest.err
41414 } && test -s conftest$ac_exeext &&
41415 $as_test_x conftest$ac_exeext; then
41416 ac_cv_func_pthread_attr_setschedparam=yes
41418 echo "$as_me: failed program was:" >&5
41419 sed 's/^/| /' conftest.$ac_ext >&5
41421 ac_cv_func_pthread_attr_setschedparam=no
41424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41425 conftest$ac_exeext conftest.$ac_ext
41427 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41428 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41429 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41430 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41431 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41432 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41433 echo $ECHO_N "(cached) $ECHO_C" >&6
41435 cat >conftest.$ac_ext <<_ACEOF
41438 cat confdefs.h >>conftest.$ac_ext
41439 cat >>conftest.$ac_ext <<_ACEOF
41440 /* end confdefs.h. */
41441 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41443 #define sched_get_priority_max innocuous_sched_get_priority_max
41445 /* System header to define __stub macros and hopefully few prototypes,
41446 which can conflict with char sched_get_priority_max (); below.
41447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41448 <limits.h> exists even on freestanding compilers. */
41451 # include <limits.h>
41453 # include <assert.h>
41456 #undef sched_get_priority_max
41458 /* Override any GCC internal prototype to avoid an error.
41459 Use char because int might match the return type of a GCC
41460 builtin and then its argument prototype would still apply. */
41464 char sched_get_priority_max ();
41465 /* The GNU C library defines this for functions which it implements
41466 to always fail with ENOSYS. Some functions are actually named
41467 something starting with __ and the normal name is an alias. */
41468 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41475 return sched_get_priority_max ();
41480 rm -f conftest.$ac_objext conftest$ac_exeext
41481 if { (ac_try="$ac_link"
41482 case "(($ac_try" in
41483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41484 *) ac_try_echo=$ac_try;;
41486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41487 (eval "$ac_link") 2>conftest.er1
41489 grep -v '^ *+' conftest.er1 >conftest.err
41491 cat conftest.err >&5
41492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493 (exit $ac_status); } && {
41494 test -z "$ac_c_werror_flag" ||
41495 test ! -s conftest.err
41496 } && test -s conftest$ac_exeext &&
41497 $as_test_x conftest$ac_exeext; then
41498 ac_cv_func_sched_get_priority_max=yes
41500 echo "$as_me: failed program was:" >&5
41501 sed 's/^/| /' conftest.$ac_ext >&5
41503 ac_cv_func_sched_get_priority_max=no
41506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41507 conftest$ac_exeext conftest.$ac_ext
41509 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41510 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41511 if test $ac_cv_func_sched_get_priority_max = yes; then
41514 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41515 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41516 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41517 echo $ECHO_N "(cached) $ECHO_C" >&6
41519 ac_check_lib_save_LIBS=$LIBS
41520 LIBS="-lposix4 $LIBS"
41521 cat >conftest.$ac_ext <<_ACEOF
41524 cat confdefs.h >>conftest.$ac_ext
41525 cat >>conftest.$ac_ext <<_ACEOF
41526 /* end confdefs.h. */
41528 /* Override any GCC internal prototype to avoid an error.
41529 Use char because int might match the return type of a GCC
41530 builtin and then its argument prototype would still apply. */
41534 char sched_get_priority_max ();
41538 return sched_get_priority_max ();
41543 rm -f conftest.$ac_objext conftest$ac_exeext
41544 if { (ac_try="$ac_link"
41545 case "(($ac_try" in
41546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41547 *) ac_try_echo=$ac_try;;
41549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41550 (eval "$ac_link") 2>conftest.er1
41552 grep -v '^ *+' conftest.er1 >conftest.err
41554 cat conftest.err >&5
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); } && {
41557 test -z "$ac_c_werror_flag" ||
41558 test ! -s conftest.err
41559 } && test -s conftest$ac_exeext &&
41560 $as_test_x conftest$ac_exeext; then
41561 ac_cv_lib_posix4_sched_get_priority_max=yes
41563 echo "$as_me: failed program was:" >&5
41564 sed 's/^/| /' conftest.$ac_ext >&5
41566 ac_cv_lib_posix4_sched_get_priority_max=no
41569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41570 conftest$ac_exeext conftest.$ac_ext
41571 LIBS=$ac_check_lib_save_LIBS
41573 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41574 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41575 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41578 POSIX4_LINK=" -lposix4"
41592 if test "$HAVE_PRIOR_FUNCS" = 1; then
41593 cat >>confdefs.h <<\_ACEOF
41594 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41598 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41599 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41602 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41603 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41604 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41605 echo $ECHO_N "(cached) $ECHO_C" >&6
41607 cat >conftest.$ac_ext <<_ACEOF
41610 cat confdefs.h >>conftest.$ac_ext
41611 cat >>conftest.$ac_ext <<_ACEOF
41612 /* end confdefs.h. */
41613 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41615 #define pthread_cancel innocuous_pthread_cancel
41617 /* System header to define __stub macros and hopefully few prototypes,
41618 which can conflict with char pthread_cancel (); below.
41619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41620 <limits.h> exists even on freestanding compilers. */
41623 # include <limits.h>
41625 # include <assert.h>
41628 #undef pthread_cancel
41630 /* Override any GCC internal prototype to avoid an error.
41631 Use char because int might match the return type of a GCC
41632 builtin and then its argument prototype would still apply. */
41636 char pthread_cancel ();
41637 /* The GNU C library defines this for functions which it implements
41638 to always fail with ENOSYS. Some functions are actually named
41639 something starting with __ and the normal name is an alias. */
41640 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41647 return pthread_cancel ();
41652 rm -f conftest.$ac_objext conftest$ac_exeext
41653 if { (ac_try="$ac_link"
41654 case "(($ac_try" in
41655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41656 *) ac_try_echo=$ac_try;;
41658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41659 (eval "$ac_link") 2>conftest.er1
41661 grep -v '^ *+' conftest.er1 >conftest.err
41663 cat conftest.err >&5
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); } && {
41666 test -z "$ac_c_werror_flag" ||
41667 test ! -s conftest.err
41668 } && test -s conftest$ac_exeext &&
41669 $as_test_x conftest$ac_exeext; then
41670 ac_cv_func_pthread_cancel=yes
41672 echo "$as_me: failed program was:" >&5
41673 sed 's/^/| /' conftest.$ac_ext >&5
41675 ac_cv_func_pthread_cancel=no
41678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41679 conftest$ac_exeext conftest.$ac_ext
41681 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41682 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41683 if test $ac_cv_func_pthread_cancel = yes; then
41684 cat >>confdefs.h <<\_ACEOF
41685 #define HAVE_PTHREAD_CANCEL 1
41689 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41690 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41694 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41695 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41696 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41697 echo $ECHO_N "(cached) $ECHO_C" >&6
41699 cat >conftest.$ac_ext <<_ACEOF
41702 cat confdefs.h >>conftest.$ac_ext
41703 cat >>conftest.$ac_ext <<_ACEOF
41704 /* end confdefs.h. */
41705 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41707 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41709 /* System header to define __stub macros and hopefully few prototypes,
41710 which can conflict with char pthread_mutex_timedlock (); below.
41711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41712 <limits.h> exists even on freestanding compilers. */
41715 # include <limits.h>
41717 # include <assert.h>
41720 #undef pthread_mutex_timedlock
41722 /* Override any GCC internal prototype to avoid an error.
41723 Use char because int might match the return type of a GCC
41724 builtin and then its argument prototype would still apply. */
41728 char pthread_mutex_timedlock ();
41729 /* The GNU C library defines this for functions which it implements
41730 to always fail with ENOSYS. Some functions are actually named
41731 something starting with __ and the normal name is an alias. */
41732 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41739 return pthread_mutex_timedlock ();
41744 rm -f conftest.$ac_objext conftest$ac_exeext
41745 if { (ac_try="$ac_link"
41746 case "(($ac_try" in
41747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41748 *) ac_try_echo=$ac_try;;
41750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41751 (eval "$ac_link") 2>conftest.er1
41753 grep -v '^ *+' conftest.er1 >conftest.err
41755 cat conftest.err >&5
41756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757 (exit $ac_status); } && {
41758 test -z "$ac_c_werror_flag" ||
41759 test ! -s conftest.err
41760 } && test -s conftest$ac_exeext &&
41761 $as_test_x conftest$ac_exeext; then
41762 ac_cv_func_pthread_mutex_timedlock=yes
41764 echo "$as_me: failed program was:" >&5
41765 sed 's/^/| /' conftest.$ac_ext >&5
41767 ac_cv_func_pthread_mutex_timedlock=no
41770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41771 conftest$ac_exeext conftest.$ac_ext
41773 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41774 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41775 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41776 cat >>confdefs.h <<\_ACEOF
41777 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41781 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41782 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41786 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41787 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41788 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41789 echo $ECHO_N "(cached) $ECHO_C" >&6
41791 cat >conftest.$ac_ext <<_ACEOF
41794 cat confdefs.h >>conftest.$ac_ext
41795 cat >>conftest.$ac_ext <<_ACEOF
41796 /* end confdefs.h. */
41797 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41799 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41801 /* System header to define __stub macros and hopefully few prototypes,
41802 which can conflict with char pthread_attr_setstacksize (); below.
41803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41804 <limits.h> exists even on freestanding compilers. */
41807 # include <limits.h>
41809 # include <assert.h>
41812 #undef pthread_attr_setstacksize
41814 /* Override any GCC internal prototype to avoid an error.
41815 Use char because int might match the return type of a GCC
41816 builtin and then its argument prototype would still apply. */
41820 char pthread_attr_setstacksize ();
41821 /* The GNU C library defines this for functions which it implements
41822 to always fail with ENOSYS. Some functions are actually named
41823 something starting with __ and the normal name is an alias. */
41824 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41831 return pthread_attr_setstacksize ();
41836 rm -f conftest.$ac_objext conftest$ac_exeext
41837 if { (ac_try="$ac_link"
41838 case "(($ac_try" in
41839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41840 *) ac_try_echo=$ac_try;;
41842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41843 (eval "$ac_link") 2>conftest.er1
41845 grep -v '^ *+' conftest.er1 >conftest.err
41847 cat conftest.err >&5
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); } && {
41850 test -z "$ac_c_werror_flag" ||
41851 test ! -s conftest.err
41852 } && test -s conftest$ac_exeext &&
41853 $as_test_x conftest$ac_exeext; then
41854 ac_cv_func_pthread_attr_setstacksize=yes
41856 echo "$as_me: failed program was:" >&5
41857 sed 's/^/| /' conftest.$ac_ext >&5
41859 ac_cv_func_pthread_attr_setstacksize=no
41862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41863 conftest$ac_exeext conftest.$ac_ext
41865 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41866 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41867 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41868 cat >>confdefs.h <<\_ACEOF
41869 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41876 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41877 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41878 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41879 echo $ECHO_N "(cached) $ECHO_C" >&6
41882 cat >conftest.$ac_ext <<_ACEOF
41885 cat confdefs.h >>conftest.$ac_ext
41886 cat >>conftest.$ac_ext <<_ACEOF
41887 /* end confdefs.h. */
41888 #include <pthread.h>
41893 pthread_mutexattr_t attr;
41894 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41900 rm -f conftest.$ac_objext
41901 if { (ac_try="$ac_compile"
41902 case "(($ac_try" in
41903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41904 *) ac_try_echo=$ac_try;;
41906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41907 (eval "$ac_compile") 2>conftest.er1
41909 grep -v '^ *+' conftest.er1 >conftest.err
41911 cat conftest.err >&5
41912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41913 (exit $ac_status); } && {
41914 test -z "$ac_c_werror_flag" ||
41915 test ! -s conftest.err
41916 } && test -s conftest.$ac_objext; then
41917 wx_cv_type_pthread_mutexattr_t=yes
41919 echo "$as_me: failed program was:" >&5
41920 sed 's/^/| /' conftest.$ac_ext >&5
41922 wx_cv_type_pthread_mutexattr_t=no
41926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41929 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41930 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41932 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41933 cat >>confdefs.h <<\_ACEOF
41934 #define HAVE_PTHREAD_MUTEXATTR_T 1
41938 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41939 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41940 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41941 echo $ECHO_N "(cached) $ECHO_C" >&6
41944 cat >conftest.$ac_ext <<_ACEOF
41947 cat confdefs.h >>conftest.$ac_ext
41948 cat >>conftest.$ac_ext <<_ACEOF
41949 /* end confdefs.h. */
41950 #include <pthread.h>
41955 pthread_mutexattr_t attr;
41956 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41962 rm -f conftest.$ac_objext
41963 if { (ac_try="$ac_compile"
41964 case "(($ac_try" in
41965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41966 *) ac_try_echo=$ac_try;;
41968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41969 (eval "$ac_compile") 2>conftest.er1
41971 grep -v '^ *+' conftest.er1 >conftest.err
41973 cat conftest.err >&5
41974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41975 (exit $ac_status); } && {
41976 test -z "$ac_c_werror_flag" ||
41977 test ! -s conftest.err
41978 } && test -s conftest.$ac_objext; then
41979 wx_cv_func_pthread_mutexattr_settype_decl=yes
41981 echo "$as_me: failed program was:" >&5
41982 sed 's/^/| /' conftest.$ac_ext >&5
41984 wx_cv_func_pthread_mutexattr_settype_decl=no
41988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41991 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41992 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41993 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41994 cat >>confdefs.h <<\_ACEOF
41995 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42000 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42001 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42002 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42003 echo $ECHO_N "(cached) $ECHO_C" >&6
42006 cat >conftest.$ac_ext <<_ACEOF
42009 cat confdefs.h >>conftest.$ac_ext
42010 cat >>conftest.$ac_ext <<_ACEOF
42011 /* end confdefs.h. */
42012 #include <pthread.h>
42017 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42023 rm -f conftest.$ac_objext
42024 if { (ac_try="$ac_compile"
42025 case "(($ac_try" in
42026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42027 *) ac_try_echo=$ac_try;;
42029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42030 (eval "$ac_compile") 2>conftest.er1
42032 grep -v '^ *+' conftest.er1 >conftest.err
42034 cat conftest.err >&5
42035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42036 (exit $ac_status); } && {
42037 test -z "$ac_c_werror_flag" ||
42038 test ! -s conftest.err
42039 } && test -s conftest.$ac_objext; then
42041 wx_cv_type_pthread_rec_mutex_init=yes
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.$ac_ext >&5
42048 wx_cv_type_pthread_rec_mutex_init=no
42053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42056 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42057 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42058 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42059 cat >>confdefs.h <<\_ACEOF
42060 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42064 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42065 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42069 if test "$wxUSE_COMPILER_TLS" = "auto"; then
42070 if test "$USE_NETBSD" = 1; then
42071 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
42072 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
42073 wxUSE_COMPILER_TLS=no
42075 wxUSE_COMPILER_TLS=yes
42079 if test "$wxUSE_COMPILER_TLS" = "yes"; then
42080 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
42081 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
42082 if test "${wx_cv_cc___thread+set}" = set; then
42083 echo $ECHO_N "(cached) $ECHO_C" >&6
42086 cat >conftest.$ac_ext <<_ACEOF
42089 cat confdefs.h >>conftest.$ac_ext
42090 cat >>conftest.$ac_ext <<_ACEOF
42091 /* end confdefs.h. */
42092 #include <pthread.h>
42097 static __thread int n = 0;
42098 static __thread int *p = 0;
42104 rm -f conftest.$ac_objext
42105 if { (ac_try="$ac_compile"
42106 case "(($ac_try" in
42107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42108 *) ac_try_echo=$ac_try;;
42110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42111 (eval "$ac_compile") 2>conftest.er1
42113 grep -v '^ *+' conftest.er1 >conftest.err
42115 cat conftest.err >&5
42116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42117 (exit $ac_status); } && {
42118 test -z "$ac_c_werror_flag" ||
42119 test ! -s conftest.err
42120 } && test -s conftest.$ac_objext; then
42121 wx_cv_cc___thread=yes
42123 echo "$as_me: failed program was:" >&5
42124 sed 's/^/| /' conftest.$ac_ext >&5
42126 wx_cv_cc___thread=no
42130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42134 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
42135 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
42137 if test "$wx_cv_cc___thread" = "yes"; then
42143 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
42144 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
42146 if test "x$GCC" = "xyes" ; then
42148 if test -z "" ; then
42150 ax_gcc_option_test="int main()
42157 ax_gcc_option_test=""
42162 # Dump the test program to file
42163 cat <<EOF > conftest.c
42164 $ax_gcc_option_test
42167 # Dump back the file to the log, useful for debugging purposes
42168 { ac_try='cat conftest.c 1>&5'
42169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42170 (eval $ac_try) 2>&5
42172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42173 (exit $ac_status); }; }
42175 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
42176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42177 (eval $ac_try) 2>&5
42179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42180 (exit $ac_status); }; } ; then
42182 { echo "$as_me:$LINENO: result: yes" >&5
42183 echo "${ECHO_T}yes" >&6; }
42185 ax_gcc_version_option=yes
42190 { echo "$as_me:$LINENO: result: no" >&5
42191 echo "${ECHO_T}no" >&6; }
42193 ax_gcc_version_option=no
42201 { echo "$as_me:$LINENO: result: no gcc available" >&5
42202 echo "${ECHO_T}no gcc available" >&6; }
42207 if test "x$GXX" = "xyes"; then
42209 if test "x$ax_gxx_version_option" != "no"; then
42211 { echo "$as_me:$LINENO: checking gxx version" >&5
42212 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
42213 if test "${ax_cv_gxx_version+set}" = set; then
42214 echo $ECHO_N "(cached) $ECHO_C" >&6
42217 ax_cv_gxx_version="`$CXX -dumpversion`"
42218 if test "x$ax_cv_gxx_version" = "x"; then
42220 ax_cv_gxx_version=""
42226 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
42227 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
42228 GXX_VERSION=$ax_cv_gxx_version
42237 if test -n "$ax_cv_gxx_version"; then
42238 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
42239 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
42240 case "$ax_cv_gxx_version" in
42242 { echo "$as_me:$LINENO: result: no, it's broken" >&5
42243 echo "${ECHO_T}no, it's broken" >&6; }
42244 wx_cv_cc___thread=no
42247 { echo "$as_me:$LINENO: result: yes, it works" >&5
42248 echo "${ECHO_T}yes, it works" >&6; }
42254 if test "$wx_cv_cc___thread" = "yes"; then
42255 cat >>confdefs.h <<\_ACEOF
42256 #define HAVE___THREAD_KEYWORD 1
42264 if test "$wxUSE_THREADS" = "yes" ; then
42266 x86_64-*-mingw32* )
42269 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42270 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42271 if test "${wx_cv_cflags_mthread+set}" = set; then
42272 echo $ECHO_N "(cached) $ECHO_C" >&6
42275 CFLAGS_OLD="$CFLAGS"
42276 CFLAGS="-mthreads $CFLAGS"
42277 cat >conftest.$ac_ext <<_ACEOF
42280 cat confdefs.h >>conftest.$ac_ext
42281 cat >>conftest.$ac_ext <<_ACEOF
42282 /* end confdefs.h. */
42292 rm -f conftest.$ac_objext
42293 if { (ac_try="$ac_compile"
42294 case "(($ac_try" in
42295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42296 *) ac_try_echo=$ac_try;;
42298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42299 (eval "$ac_compile") 2>conftest.er1
42301 grep -v '^ *+' conftest.er1 >conftest.err
42303 cat conftest.err >&5
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); } && {
42306 test -z "$ac_c_werror_flag" ||
42307 test ! -s conftest.err
42308 } && test -s conftest.$ac_objext; then
42309 wx_cv_cflags_mthread=yes
42311 echo "$as_me: failed program was:" >&5
42312 sed 's/^/| /' conftest.$ac_ext >&5
42314 wx_cv_cflags_mthread=no
42318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42322 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42323 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42325 if test "$wx_cv_cflags_mthread" = "yes"; then
42326 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42327 LDFLAGS="$LDFLAGS -mthreads"
42329 CFLAGS="$CFLAGS_OLD"
42333 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42334 LDFLAGS="$LDFLAGS -Zmt"
42340 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42341 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42342 if test "${ac_cv_func_localtime_r+set}" = set; then
42343 echo $ECHO_N "(cached) $ECHO_C" >&6
42345 cat >conftest.$ac_ext <<_ACEOF
42348 cat confdefs.h >>conftest.$ac_ext
42349 cat >>conftest.$ac_ext <<_ACEOF
42350 /* end confdefs.h. */
42351 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42353 #define localtime_r innocuous_localtime_r
42355 /* System header to define __stub macros and hopefully few prototypes,
42356 which can conflict with char localtime_r (); below.
42357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42358 <limits.h> exists even on freestanding compilers. */
42361 # include <limits.h>
42363 # include <assert.h>
42368 /* Override any GCC internal prototype to avoid an error.
42369 Use char because int might match the return type of a GCC
42370 builtin and then its argument prototype would still apply. */
42374 char localtime_r ();
42375 /* The GNU C library defines this for functions which it implements
42376 to always fail with ENOSYS. Some functions are actually named
42377 something starting with __ and the normal name is an alias. */
42378 #if defined __stub_localtime_r || defined __stub___localtime_r
42385 return localtime_r ();
42390 rm -f conftest.$ac_objext conftest$ac_exeext
42391 if { (ac_try="$ac_link"
42392 case "(($ac_try" in
42393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42394 *) ac_try_echo=$ac_try;;
42396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42397 (eval "$ac_link") 2>conftest.er1
42399 grep -v '^ *+' conftest.er1 >conftest.err
42401 cat conftest.err >&5
42402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42403 (exit $ac_status); } && {
42404 test -z "$ac_c_werror_flag" ||
42405 test ! -s conftest.err
42406 } && test -s conftest$ac_exeext &&
42407 $as_test_x conftest$ac_exeext; then
42408 ac_cv_func_localtime_r=yes
42410 echo "$as_me: failed program was:" >&5
42411 sed 's/^/| /' conftest.$ac_ext >&5
42413 ac_cv_func_localtime_r=no
42416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42417 conftest$ac_exeext conftest.$ac_ext
42419 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42420 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42421 if test $ac_cv_func_localtime_r = yes; then
42422 cat >>confdefs.h <<\_ACEOF
42423 #define HAVE_LOCALTIME_R 1
42428 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42429 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42430 if test "${ac_cv_func_gmtime_r+set}" = set; then
42431 echo $ECHO_N "(cached) $ECHO_C" >&6
42433 cat >conftest.$ac_ext <<_ACEOF
42436 cat confdefs.h >>conftest.$ac_ext
42437 cat >>conftest.$ac_ext <<_ACEOF
42438 /* end confdefs.h. */
42439 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42441 #define gmtime_r innocuous_gmtime_r
42443 /* System header to define __stub macros and hopefully few prototypes,
42444 which can conflict with char gmtime_r (); below.
42445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42446 <limits.h> exists even on freestanding compilers. */
42449 # include <limits.h>
42451 # include <assert.h>
42456 /* Override any GCC internal prototype to avoid an error.
42457 Use char because int might match the return type of a GCC
42458 builtin and then its argument prototype would still apply. */
42463 /* The GNU C library defines this for functions which it implements
42464 to always fail with ENOSYS. Some functions are actually named
42465 something starting with __ and the normal name is an alias. */
42466 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42473 return gmtime_r ();
42478 rm -f conftest.$ac_objext conftest$ac_exeext
42479 if { (ac_try="$ac_link"
42480 case "(($ac_try" in
42481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42482 *) ac_try_echo=$ac_try;;
42484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42485 (eval "$ac_link") 2>conftest.er1
42487 grep -v '^ *+' conftest.er1 >conftest.err
42489 cat conftest.err >&5
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); } && {
42492 test -z "$ac_c_werror_flag" ||
42493 test ! -s conftest.err
42494 } && test -s conftest$ac_exeext &&
42495 $as_test_x conftest$ac_exeext; then
42496 ac_cv_func_gmtime_r=yes
42498 echo "$as_me: failed program was:" >&5
42499 sed 's/^/| /' conftest.$ac_ext >&5
42501 ac_cv_func_gmtime_r=no
42504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42505 conftest$ac_exeext conftest.$ac_ext
42507 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42508 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42509 if test $ac_cv_func_gmtime_r = yes; then
42510 cat >>confdefs.h <<\_ACEOF
42511 #define HAVE_GMTIME_R 1
42520 ac_cpp='$CPP $CPPFLAGS'
42521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42525 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42526 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42528 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42529 echo $ECHO_N "(cached) $ECHO_C" >&6
42533 ################################################################
42535 ac_cv_func_which_gethostbyname_r=unknown
42538 # ONE ARGUMENT (sanity check)
42541 # This should fail, as there is no variant of gethostbyname_r() that takes
42542 # a single argument. If it actually compiles, then we can assume that
42543 # netdb.h is not declaring the function, and the compiler is thereby
42544 # assuming an implicit prototype. In which case, we're out of luck.
42546 cat >conftest.$ac_ext <<_ACEOF
42549 cat confdefs.h >>conftest.$ac_ext
42550 cat >>conftest.$ac_ext <<_ACEOF
42551 /* end confdefs.h. */
42557 char *name = "www.gnu.org";
42558 (void)gethostbyname_r(name) /* ; */
42565 rm -f conftest.$ac_objext
42566 if { (ac_try="$ac_compile"
42567 case "(($ac_try" in
42568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42569 *) ac_try_echo=$ac_try;;
42571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42572 (eval "$ac_compile") 2>conftest.er1
42574 grep -v '^ *+' conftest.er1 >conftest.err
42576 cat conftest.err >&5
42577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42578 (exit $ac_status); } && {
42579 test -z "$ac_c_werror_flag" ||
42580 test ! -s conftest.err
42581 } && test -s conftest.$ac_objext; then
42582 ac_cv_func_which_gethostbyname_r=no
42585 echo "$as_me: failed program was:" >&5
42586 sed 's/^/| /' conftest.$ac_ext >&5
42591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42598 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42600 cat >conftest.$ac_ext <<_ACEOF
42603 cat confdefs.h >>conftest.$ac_ext
42604 cat >>conftest.$ac_ext <<_ACEOF
42605 /* end confdefs.h. */
42611 char *name = "www.gnu.org";
42612 struct hostent ret, *retp;
42616 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42623 rm -f conftest.$ac_objext
42624 if { (ac_try="$ac_compile"
42625 case "(($ac_try" in
42626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42627 *) ac_try_echo=$ac_try;;
42629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42630 (eval "$ac_compile") 2>conftest.er1
42632 grep -v '^ *+' conftest.er1 >conftest.err
42634 cat conftest.err >&5
42635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42636 (exit $ac_status); } && {
42637 test -z "$ac_c_werror_flag" ||
42638 test ! -s conftest.err
42639 } && test -s conftest.$ac_objext; then
42640 ac_cv_func_which_gethostbyname_r=six
42643 echo "$as_me: failed program was:" >&5
42644 sed 's/^/| /' conftest.$ac_ext >&5
42649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42658 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42660 cat >conftest.$ac_ext <<_ACEOF
42663 cat confdefs.h >>conftest.$ac_ext
42664 cat >>conftest.$ac_ext <<_ACEOF
42665 /* end confdefs.h. */
42671 char *name = "www.gnu.org";
42672 struct hostent ret;
42676 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42683 rm -f conftest.$ac_objext
42684 if { (ac_try="$ac_compile"
42685 case "(($ac_try" in
42686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42687 *) ac_try_echo=$ac_try;;
42689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42690 (eval "$ac_compile") 2>conftest.er1
42692 grep -v '^ *+' conftest.er1 >conftest.err
42694 cat conftest.err >&5
42695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42696 (exit $ac_status); } && {
42697 test -z "$ac_c_werror_flag" ||
42698 test ! -s conftest.err
42699 } && test -s conftest.$ac_objext; then
42700 ac_cv_func_which_gethostbyname_r=five
42703 echo "$as_me: failed program was:" >&5
42704 sed 's/^/| /' conftest.$ac_ext >&5
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42715 # (e.g. AIX, HP-UX, Tru64)
42718 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42720 cat >conftest.$ac_ext <<_ACEOF
42723 cat confdefs.h >>conftest.$ac_ext
42724 cat >>conftest.$ac_ext <<_ACEOF
42725 /* end confdefs.h. */
42731 char *name = "www.gnu.org";
42732 struct hostent ret;
42733 struct hostent_data data;
42734 (void)gethostbyname_r(name, &ret, &data) /* ; */
42741 rm -f conftest.$ac_objext
42742 if { (ac_try="$ac_compile"
42743 case "(($ac_try" in
42744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42745 *) ac_try_echo=$ac_try;;
42747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42748 (eval "$ac_compile") 2>conftest.er1
42750 grep -v '^ *+' conftest.er1 >conftest.err
42752 cat conftest.err >&5
42753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754 (exit $ac_status); } && {
42755 test -z "$ac_c_werror_flag" ||
42756 test ! -s conftest.err
42757 } && test -s conftest.$ac_objext; then
42758 ac_cv_func_which_gethostbyname_r=three
42761 echo "$as_me: failed program was:" >&5
42762 sed 's/^/| /' conftest.$ac_ext >&5
42767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42771 ################################################################
42776 case "$ac_cv_func_which_gethostbyname_r" in
42778 { echo "$as_me:$LINENO: result: three" >&5
42779 echo "${ECHO_T}three" >&6; }
42780 cat >>confdefs.h <<\_ACEOF
42781 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42787 { echo "$as_me:$LINENO: result: five" >&5
42788 echo "${ECHO_T}five" >&6; }
42789 cat >>confdefs.h <<\_ACEOF
42790 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42796 { echo "$as_me:$LINENO: result: six" >&5
42797 echo "${ECHO_T}six" >&6; }
42798 cat >>confdefs.h <<\_ACEOF
42799 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42805 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42806 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42810 { echo "$as_me:$LINENO: result: can't tell" >&5
42811 echo "${ECHO_T}can't tell" >&6; }
42815 { { echo "$as_me:$LINENO: error: internal error" >&5
42816 echo "$as_me: error: internal error" >&2;}
42817 { (exit 1); exit 1; }; }
42822 ac_cpp='$CPP $CPPFLAGS'
42823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42829 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42830 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42831 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42832 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42833 if test "${ac_cv_func_gethostbyname+set}" = set; then
42834 echo $ECHO_N "(cached) $ECHO_C" >&6
42836 cat >conftest.$ac_ext <<_ACEOF
42839 cat confdefs.h >>conftest.$ac_ext
42840 cat >>conftest.$ac_ext <<_ACEOF
42841 /* end confdefs.h. */
42842 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42844 #define gethostbyname innocuous_gethostbyname
42846 /* System header to define __stub macros and hopefully few prototypes,
42847 which can conflict with char gethostbyname (); below.
42848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42849 <limits.h> exists even on freestanding compilers. */
42852 # include <limits.h>
42854 # include <assert.h>
42857 #undef gethostbyname
42859 /* Override any GCC internal prototype to avoid an error.
42860 Use char because int might match the return type of a GCC
42861 builtin and then its argument prototype would still apply. */
42865 char gethostbyname ();
42866 /* The GNU C library defines this for functions which it implements
42867 to always fail with ENOSYS. Some functions are actually named
42868 something starting with __ and the normal name is an alias. */
42869 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42876 return gethostbyname ();
42881 rm -f conftest.$ac_objext conftest$ac_exeext
42882 if { (ac_try="$ac_link"
42883 case "(($ac_try" in
42884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42885 *) ac_try_echo=$ac_try;;
42887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42888 (eval "$ac_link") 2>conftest.er1
42890 grep -v '^ *+' conftest.er1 >conftest.err
42892 cat conftest.err >&5
42893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42894 (exit $ac_status); } && {
42895 test -z "$ac_c_werror_flag" ||
42896 test ! -s conftest.err
42897 } && test -s conftest$ac_exeext &&
42898 $as_test_x conftest$ac_exeext; then
42899 ac_cv_func_gethostbyname=yes
42901 echo "$as_me: failed program was:" >&5
42902 sed 's/^/| /' conftest.$ac_ext >&5
42904 ac_cv_func_gethostbyname=no
42907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42908 conftest$ac_exeext conftest.$ac_ext
42910 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42911 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42912 if test $ac_cv_func_gethostbyname = yes; then
42913 cat >>confdefs.h <<\_ACEOF
42914 #define HAVE_GETHOSTBYNAME 1
42921 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42922 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42923 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42924 echo $ECHO_N "(cached) $ECHO_C" >&6
42928 ac_cpp='$CXXCPP $CPPFLAGS'
42929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42934 cat >conftest.$ac_ext <<_ACEOF
42937 cat confdefs.h >>conftest.$ac_ext
42938 cat >>conftest.$ac_ext <<_ACEOF
42939 /* end confdefs.h. */
42947 struct servent *se, *res;
42950 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42956 rm -f conftest.$ac_objext
42957 if { (ac_try="$ac_compile"
42958 case "(($ac_try" in
42959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42960 *) ac_try_echo=$ac_try;;
42962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42963 (eval "$ac_compile") 2>conftest.er1
42965 grep -v '^ *+' conftest.er1 >conftest.err
42967 cat conftest.err >&5
42968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42969 (exit $ac_status); } && {
42970 test -z "$ac_cxx_werror_flag" ||
42971 test ! -s conftest.err
42972 } && test -s conftest.$ac_objext; then
42973 ac_cv_func_which_getservbyname_r=six
42975 echo "$as_me: failed program was:" >&5
42976 sed 's/^/| /' conftest.$ac_ext >&5
42979 cat >conftest.$ac_ext <<_ACEOF
42982 cat confdefs.h >>conftest.$ac_ext
42983 cat >>conftest.$ac_ext <<_ACEOF
42984 /* end confdefs.h. */
42992 struct servent *se;
42995 (void) getservbyname_r(name, proto, se, buffer, buflen)
43001 rm -f conftest.$ac_objext
43002 if { (ac_try="$ac_compile"
43003 case "(($ac_try" in
43004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43005 *) ac_try_echo=$ac_try;;
43007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43008 (eval "$ac_compile") 2>conftest.er1
43010 grep -v '^ *+' conftest.er1 >conftest.err
43012 cat conftest.err >&5
43013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43014 (exit $ac_status); } && {
43015 test -z "$ac_cxx_werror_flag" ||
43016 test ! -s conftest.err
43017 } && test -s conftest.$ac_objext; then
43018 ac_cv_func_which_getservbyname_r=five
43020 echo "$as_me: failed program was:" >&5
43021 sed 's/^/| /' conftest.$ac_ext >&5
43024 cat >conftest.$ac_ext <<_ACEOF
43027 cat confdefs.h >>conftest.$ac_ext
43028 cat >>conftest.$ac_ext <<_ACEOF
43029 /* end confdefs.h. */
43037 struct servent *se;
43038 struct servent_data data;
43039 (void) getservbyname_r(name, proto, se, &data);
43045 rm -f conftest.$ac_objext
43046 if { (ac_try="$ac_compile"
43047 case "(($ac_try" in
43048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43049 *) ac_try_echo=$ac_try;;
43051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43052 (eval "$ac_compile") 2>conftest.er1
43054 grep -v '^ *+' conftest.er1 >conftest.err
43056 cat conftest.err >&5
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); } && {
43059 test -z "$ac_cxx_werror_flag" ||
43060 test ! -s conftest.err
43061 } && test -s conftest.$ac_objext; then
43062 ac_cv_func_which_getservbyname_r=four
43064 echo "$as_me: failed program was:" >&5
43065 sed 's/^/| /' conftest.$ac_ext >&5
43067 ac_cv_func_which_getservbyname_r=no
43071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43083 ac_cpp='$CPP $CPPFLAGS'
43084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43091 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43092 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43094 if test $ac_cv_func_which_getservbyname_r = six; then
43095 cat >>confdefs.h <<\_ACEOF
43096 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43099 elif test $ac_cv_func_which_getservbyname_r = five; then
43100 cat >>confdefs.h <<\_ACEOF
43101 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43104 elif test $ac_cv_func_which_getservbyname_r = four; then
43105 cat >>confdefs.h <<\_ACEOF
43106 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43112 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43113 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43115 for ac_func in getservbyname
43117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43118 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43120 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43121 echo $ECHO_N "(cached) $ECHO_C" >&6
43123 cat >conftest.$ac_ext <<_ACEOF
43126 cat confdefs.h >>conftest.$ac_ext
43127 cat >>conftest.$ac_ext <<_ACEOF
43128 /* end confdefs.h. */
43129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43131 #define $ac_func innocuous_$ac_func
43133 /* System header to define __stub macros and hopefully few prototypes,
43134 which can conflict with char $ac_func (); below.
43135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43136 <limits.h> exists even on freestanding compilers. */
43139 # include <limits.h>
43141 # include <assert.h>
43146 /* Override any GCC internal prototype to avoid an error.
43147 Use char because int might match the return type of a GCC
43148 builtin and then its argument prototype would still apply. */
43153 /* The GNU C library defines this for functions which it implements
43154 to always fail with ENOSYS. Some functions are actually named
43155 something starting with __ and the normal name is an alias. */
43156 #if defined __stub_$ac_func || defined __stub___$ac_func
43163 return $ac_func ();
43168 rm -f conftest.$ac_objext conftest$ac_exeext
43169 if { (ac_try="$ac_link"
43170 case "(($ac_try" in
43171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43172 *) ac_try_echo=$ac_try;;
43174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43175 (eval "$ac_link") 2>conftest.er1
43177 grep -v '^ *+' conftest.er1 >conftest.err
43179 cat conftest.err >&5
43180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43181 (exit $ac_status); } && {
43182 test -z "$ac_c_werror_flag" ||
43183 test ! -s conftest.err
43184 } && test -s conftest$ac_exeext &&
43185 $as_test_x conftest$ac_exeext; then
43186 eval "$as_ac_var=yes"
43188 echo "$as_me: failed program was:" >&5
43189 sed 's/^/| /' conftest.$ac_ext >&5
43191 eval "$as_ac_var=no"
43194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43195 conftest$ac_exeext conftest.$ac_ext
43197 ac_res=`eval echo '${'$as_ac_var'}'`
43198 { echo "$as_me:$LINENO: result: $ac_res" >&5
43199 echo "${ECHO_T}$ac_res" >&6; }
43200 if test `eval echo '${'$as_ac_var'}'` = yes; then
43201 cat >>confdefs.h <<_ACEOF
43202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43204 cat >>confdefs.h <<\_ACEOF
43205 #define HAVE_GETSERVBYNAME 1
43213 if test "$wxUSE_THREADS" = "yes"; then
43214 cat >>confdefs.h <<\_ACEOF
43215 #define wxUSE_THREADS 1
43219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43221 if test "$wx_cv_func_strtok_r" = "yes"; then
43222 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43223 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43224 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43225 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43226 { echo "$as_me:$LINENO: result: yes" >&5
43227 echo "${ECHO_T}yes" >&6; }
43229 { echo "$as_me:$LINENO: result: no" >&5
43230 echo "${ECHO_T}no" >&6; }
43235 if test "$WXGTK2" = 1 ; then
43236 cat >>confdefs.h <<_ACEOF
43237 #define __WXGTK20__ $WXGTK2
43242 if test "$WXGTK127" = 1 ; then
43243 cat >>confdefs.h <<_ACEOF
43244 #define __WXGTK127__ $WXGTK127
43249 if test "$WXGPE" = 1 ; then
43250 cat >>confdefs.h <<_ACEOF
43251 #define __WXGPE__ $WXGPE
43257 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
43258 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
43259 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
43260 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
43264 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43265 wxUSE_DEBUG_INFO=yes
43266 if test "$GCC" = yes; then
43267 DEBUG_CFLAGS="-ggdb"
43271 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
43272 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
43274 if test "$wxUSE_GTK" = 1 ; then
43275 if test "x$wxGTK_VERSION" = "x1" ; then
43276 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43278 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
43283 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43284 cat >>confdefs.h <<\_ACEOF
43285 #define wxUSE_MEMORY_TRACING 1
43288 cat >>confdefs.h <<\_ACEOF
43289 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43292 cat >>confdefs.h <<\_ACEOF
43293 #define wxUSE_DEBUG_NEW_ALWAYS 1
43296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43299 if test "$wxUSE_DMALLOC" = "yes" ; then
43300 DMALLOC_LIBS="-ldmallocthcxx"
43304 if test "$wxUSE_PROFILE" = "yes" ; then
43305 PROFILE_FLAGS=" -pg"
43308 if test "$GCC" = "yes" ; then
43309 if test "$wxUSE_NO_RTTI" = "yes" ; then
43310 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43312 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43313 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43315 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43316 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43321 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43324 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43330 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
43331 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43332 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43334 if test "$wxUSE_OPTIMISE" = "no" ; then
43335 if test "$GCC" = yes ; then
43336 OPTIMISE_CFLAGS="-O0"
43339 if test "$GCC" = yes ; then
43341 *-pc-os2_emx | *-pc-os2-emx )
43342 OPTIMISE_CFLAGS="-O2"
43345 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43349 OPTIMISE_CFLAGS="-O"
43355 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43356 cat >>confdefs.h <<\_ACEOF
43357 #define WXWIN_COMPATIBILITY_2_6 1
43361 WXWIN_COMPATIBILITY_2_8="yes"
43364 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43365 cat >>confdefs.h <<\_ACEOF
43366 #define WXWIN_COMPATIBILITY_2_8 1
43372 if test "$wxUSE_GUI" = "yes"; then
43373 cat >>confdefs.h <<\_ACEOF
43374 #define wxUSE_GUI 1
43381 if test "$wxUSE_UNIX" = "yes"; then
43382 cat >>confdefs.h <<\_ACEOF
43383 #define wxUSE_UNIX 1
43389 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43393 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43394 if test "$USE_DOS" = 1; then
43398 for ac_func in dlopen
43400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43404 echo $ECHO_N "(cached) $ECHO_C" >&6
43406 cat >conftest.$ac_ext <<_ACEOF
43409 cat confdefs.h >>conftest.$ac_ext
43410 cat >>conftest.$ac_ext <<_ACEOF
43411 /* end confdefs.h. */
43412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43414 #define $ac_func innocuous_$ac_func
43416 /* System header to define __stub macros and hopefully few prototypes,
43417 which can conflict with char $ac_func (); below.
43418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43419 <limits.h> exists even on freestanding compilers. */
43422 # include <limits.h>
43424 # include <assert.h>
43429 /* Override any GCC internal prototype to avoid an error.
43430 Use char because int might match the return type of a GCC
43431 builtin and then its argument prototype would still apply. */
43436 /* The GNU C library defines this for functions which it implements
43437 to always fail with ENOSYS. Some functions are actually named
43438 something starting with __ and the normal name is an alias. */
43439 #if defined __stub_$ac_func || defined __stub___$ac_func
43446 return $ac_func ();
43451 rm -f conftest.$ac_objext conftest$ac_exeext
43452 if { (ac_try="$ac_link"
43453 case "(($ac_try" in
43454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43455 *) ac_try_echo=$ac_try;;
43457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43458 (eval "$ac_link") 2>conftest.er1
43460 grep -v '^ *+' conftest.er1 >conftest.err
43462 cat conftest.err >&5
43463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43464 (exit $ac_status); } && {
43465 test -z "$ac_c_werror_flag" ||
43466 test ! -s conftest.err
43467 } && test -s conftest$ac_exeext &&
43468 $as_test_x conftest$ac_exeext; then
43469 eval "$as_ac_var=yes"
43471 echo "$as_me: failed program was:" >&5
43472 sed 's/^/| /' conftest.$ac_ext >&5
43474 eval "$as_ac_var=no"
43477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43478 conftest$ac_exeext conftest.$ac_ext
43480 ac_res=`eval echo '${'$as_ac_var'}'`
43481 { echo "$as_me:$LINENO: result: $ac_res" >&5
43482 echo "${ECHO_T}$ac_res" >&6; }
43483 if test `eval echo '${'$as_ac_var'}'` = yes; then
43484 cat >>confdefs.h <<_ACEOF
43485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43488 cat >>confdefs.h <<\_ACEOF
43489 #define HAVE_DLOPEN 1
43496 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43497 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43498 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43499 echo $ECHO_N "(cached) $ECHO_C" >&6
43501 ac_check_lib_save_LIBS=$LIBS
43503 cat >conftest.$ac_ext <<_ACEOF
43506 cat confdefs.h >>conftest.$ac_ext
43507 cat >>conftest.$ac_ext <<_ACEOF
43508 /* end confdefs.h. */
43510 /* Override any GCC internal prototype to avoid an error.
43511 Use char because int might match the return type of a GCC
43512 builtin and then its argument prototype would still apply. */
43525 rm -f conftest.$ac_objext conftest$ac_exeext
43526 if { (ac_try="$ac_link"
43527 case "(($ac_try" in
43528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43529 *) ac_try_echo=$ac_try;;
43531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43532 (eval "$ac_link") 2>conftest.er1
43534 grep -v '^ *+' conftest.er1 >conftest.err
43536 cat conftest.err >&5
43537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43538 (exit $ac_status); } && {
43539 test -z "$ac_c_werror_flag" ||
43540 test ! -s conftest.err
43541 } && test -s conftest$ac_exeext &&
43542 $as_test_x conftest$ac_exeext; then
43543 ac_cv_lib_dl_dlopen=yes
43545 echo "$as_me: failed program was:" >&5
43546 sed 's/^/| /' conftest.$ac_ext >&5
43548 ac_cv_lib_dl_dlopen=no
43551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43552 conftest$ac_exeext conftest.$ac_ext
43553 LIBS=$ac_check_lib_save_LIBS
43555 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43556 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43557 if test $ac_cv_lib_dl_dlopen = yes; then
43559 cat >>confdefs.h <<\_ACEOF
43560 #define HAVE_DLOPEN 1
43564 DL_LINK=" -ldl$DL_LINK"
43569 for ac_func in shl_load
43571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43572 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43574 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43575 echo $ECHO_N "(cached) $ECHO_C" >&6
43577 cat >conftest.$ac_ext <<_ACEOF
43580 cat confdefs.h >>conftest.$ac_ext
43581 cat >>conftest.$ac_ext <<_ACEOF
43582 /* end confdefs.h. */
43583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43585 #define $ac_func innocuous_$ac_func
43587 /* System header to define __stub macros and hopefully few prototypes,
43588 which can conflict with char $ac_func (); below.
43589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43590 <limits.h> exists even on freestanding compilers. */
43593 # include <limits.h>
43595 # include <assert.h>
43600 /* Override any GCC internal prototype to avoid an error.
43601 Use char because int might match the return type of a GCC
43602 builtin and then its argument prototype would still apply. */
43607 /* The GNU C library defines this for functions which it implements
43608 to always fail with ENOSYS. Some functions are actually named
43609 something starting with __ and the normal name is an alias. */
43610 #if defined __stub_$ac_func || defined __stub___$ac_func
43617 return $ac_func ();
43622 rm -f conftest.$ac_objext conftest$ac_exeext
43623 if { (ac_try="$ac_link"
43624 case "(($ac_try" in
43625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43626 *) ac_try_echo=$ac_try;;
43628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43629 (eval "$ac_link") 2>conftest.er1
43631 grep -v '^ *+' conftest.er1 >conftest.err
43633 cat conftest.err >&5
43634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43635 (exit $ac_status); } && {
43636 test -z "$ac_c_werror_flag" ||
43637 test ! -s conftest.err
43638 } && test -s conftest$ac_exeext &&
43639 $as_test_x conftest$ac_exeext; then
43640 eval "$as_ac_var=yes"
43642 echo "$as_me: failed program was:" >&5
43643 sed 's/^/| /' conftest.$ac_ext >&5
43645 eval "$as_ac_var=no"
43648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43649 conftest$ac_exeext conftest.$ac_ext
43651 ac_res=`eval echo '${'$as_ac_var'}'`
43652 { echo "$as_me:$LINENO: result: $ac_res" >&5
43653 echo "${ECHO_T}$ac_res" >&6; }
43654 if test `eval echo '${'$as_ac_var'}'` = yes; then
43655 cat >>confdefs.h <<_ACEOF
43656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43659 cat >>confdefs.h <<\_ACEOF
43660 #define HAVE_SHL_LOAD 1
43667 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43668 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43669 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43670 echo $ECHO_N "(cached) $ECHO_C" >&6
43672 ac_check_lib_save_LIBS=$LIBS
43673 LIBS="-lshl_load $LIBS"
43674 cat >conftest.$ac_ext <<_ACEOF
43677 cat confdefs.h >>conftest.$ac_ext
43678 cat >>conftest.$ac_ext <<_ACEOF
43679 /* end confdefs.h. */
43681 /* Override any GCC internal prototype to avoid an error.
43682 Use char because int might match the return type of a GCC
43683 builtin and then its argument prototype would still apply. */
43696 rm -f conftest.$ac_objext conftest$ac_exeext
43697 if { (ac_try="$ac_link"
43698 case "(($ac_try" in
43699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43700 *) ac_try_echo=$ac_try;;
43702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43703 (eval "$ac_link") 2>conftest.er1
43705 grep -v '^ *+' conftest.er1 >conftest.err
43707 cat conftest.err >&5
43708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43709 (exit $ac_status); } && {
43710 test -z "$ac_c_werror_flag" ||
43711 test ! -s conftest.err
43712 } && test -s conftest$ac_exeext &&
43713 $as_test_x conftest$ac_exeext; then
43714 ac_cv_lib_shl_load_dld=yes
43716 echo "$as_me: failed program was:" >&5
43717 sed 's/^/| /' conftest.$ac_ext >&5
43719 ac_cv_lib_shl_load_dld=no
43722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43723 conftest$ac_exeext conftest.$ac_ext
43724 LIBS=$ac_check_lib_save_LIBS
43726 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43727 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43728 if test $ac_cv_lib_shl_load_dld = yes; then
43731 DL_LINK=" -ldld$DL_LINK"
43747 if test "$HAVE_DL_FUNCS" = 1; then
43749 for ac_func in dlerror
43751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43752 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43754 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43755 echo $ECHO_N "(cached) $ECHO_C" >&6
43757 cat >conftest.$ac_ext <<_ACEOF
43760 cat confdefs.h >>conftest.$ac_ext
43761 cat >>conftest.$ac_ext <<_ACEOF
43762 /* end confdefs.h. */
43763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43765 #define $ac_func innocuous_$ac_func
43767 /* System header to define __stub macros and hopefully few prototypes,
43768 which can conflict with char $ac_func (); below.
43769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43770 <limits.h> exists even on freestanding compilers. */
43773 # include <limits.h>
43775 # include <assert.h>
43780 /* Override any GCC internal prototype to avoid an error.
43781 Use char because int might match the return type of a GCC
43782 builtin and then its argument prototype would still apply. */
43787 /* The GNU C library defines this for functions which it implements
43788 to always fail with ENOSYS. Some functions are actually named
43789 something starting with __ and the normal name is an alias. */
43790 #if defined __stub_$ac_func || defined __stub___$ac_func
43797 return $ac_func ();
43802 rm -f conftest.$ac_objext conftest$ac_exeext
43803 if { (ac_try="$ac_link"
43804 case "(($ac_try" in
43805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43806 *) ac_try_echo=$ac_try;;
43808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43809 (eval "$ac_link") 2>conftest.er1
43811 grep -v '^ *+' conftest.er1 >conftest.err
43813 cat conftest.err >&5
43814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43815 (exit $ac_status); } && {
43816 test -z "$ac_c_werror_flag" ||
43817 test ! -s conftest.err
43818 } && test -s conftest$ac_exeext &&
43819 $as_test_x conftest$ac_exeext; then
43820 eval "$as_ac_var=yes"
43822 echo "$as_me: failed program was:" >&5
43823 sed 's/^/| /' conftest.$ac_ext >&5
43825 eval "$as_ac_var=no"
43828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43829 conftest$ac_exeext conftest.$ac_ext
43831 ac_res=`eval echo '${'$as_ac_var'}'`
43832 { echo "$as_me:$LINENO: result: $ac_res" >&5
43833 echo "${ECHO_T}$ac_res" >&6; }
43834 if test `eval echo '${'$as_ac_var'}'` = yes; then
43835 cat >>confdefs.h <<_ACEOF
43836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43838 cat >>confdefs.h <<\_ACEOF
43839 #define HAVE_DLERROR 1
43844 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43845 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43846 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43847 echo $ECHO_N "(cached) $ECHO_C" >&6
43849 ac_check_lib_save_LIBS=$LIBS
43851 cat >conftest.$ac_ext <<_ACEOF
43854 cat confdefs.h >>conftest.$ac_ext
43855 cat >>conftest.$ac_ext <<_ACEOF
43856 /* end confdefs.h. */
43858 /* Override any GCC internal prototype to avoid an error.
43859 Use char because int might match the return type of a GCC
43860 builtin and then its argument prototype would still apply. */
43873 rm -f conftest.$ac_objext conftest$ac_exeext
43874 if { (ac_try="$ac_link"
43875 case "(($ac_try" in
43876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43877 *) ac_try_echo=$ac_try;;
43879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43880 (eval "$ac_link") 2>conftest.er1
43882 grep -v '^ *+' conftest.er1 >conftest.err
43884 cat conftest.err >&5
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); } && {
43887 test -z "$ac_c_werror_flag" ||
43888 test ! -s conftest.err
43889 } && test -s conftest$ac_exeext &&
43890 $as_test_x conftest$ac_exeext; then
43891 ac_cv_lib_dl_dlerror=yes
43893 echo "$as_me: failed program was:" >&5
43894 sed 's/^/| /' conftest.$ac_ext >&5
43896 ac_cv_lib_dl_dlerror=no
43899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43900 conftest$ac_exeext conftest.$ac_ext
43901 LIBS=$ac_check_lib_save_LIBS
43903 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43904 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43905 if test $ac_cv_lib_dl_dlerror = yes; then
43906 cat >>confdefs.h <<\_ACEOF
43907 #define HAVE_DLERROR 1
43920 if test "$USE_DARWIN" = 1; then
43924 if test "$HAVE_DL_FUNCS" = 0; then
43925 if test "$HAVE_SHL_FUNCS" = 0; then
43926 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43927 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43928 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43929 wxUSE_DYNAMIC_LOADER=no
43930 wxUSE_DYNLIB_CLASS=no
43932 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43933 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43940 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43941 cat >>confdefs.h <<\_ACEOF
43942 #define wxUSE_DYNAMIC_LOADER 1
43946 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43947 cat >>confdefs.h <<\_ACEOF
43948 #define wxUSE_DYNLIB_CLASS 1
43955 if test "$wxUSE_PLUGINS" = "yes" ; then
43956 if test "$wxUSE_SHARED" = "no" ; then
43957 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43958 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43961 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43962 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43963 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43966 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43967 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43968 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43971 if test "$wxUSE_PLUGINS" = "yes" ; then
43972 cat >>confdefs.h <<\_ACEOF
43973 #define wxUSE_PLUGINS 1
43980 if test "$wxUSE_FSWATCHER" = "yes"; then
43981 if test "$wxUSE_MSW" != "1"; then
43982 if test "$wxUSE_UNIX" = "yes"; then
43984 for ac_header in sys/inotify.h
43986 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43987 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43989 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43990 echo $ECHO_N "(cached) $ECHO_C" >&6
43992 cat >conftest.$ac_ext <<_ACEOF
43995 cat confdefs.h >>conftest.$ac_ext
43996 cat >>conftest.$ac_ext <<_ACEOF
43997 /* end confdefs.h. */
43998 $ac_includes_default
44000 #include <$ac_header>
44002 rm -f conftest.$ac_objext
44003 if { (ac_try="$ac_compile"
44004 case "(($ac_try" in
44005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44006 *) ac_try_echo=$ac_try;;
44008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44009 (eval "$ac_compile") 2>conftest.er1
44011 grep -v '^ *+' conftest.er1 >conftest.err
44013 cat conftest.err >&5
44014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44015 (exit $ac_status); } && {
44016 test -z "$ac_c_werror_flag" ||
44017 test ! -s conftest.err
44018 } && test -s conftest.$ac_objext; then
44019 eval "$as_ac_Header=yes"
44021 echo "$as_me: failed program was:" >&5
44022 sed 's/^/| /' conftest.$ac_ext >&5
44024 eval "$as_ac_Header=no"
44027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44029 ac_res=`eval echo '${'$as_ac_Header'}'`
44030 { echo "$as_me:$LINENO: result: $ac_res" >&5
44031 echo "${ECHO_T}$ac_res" >&6; }
44032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44033 cat >>confdefs.h <<_ACEOF
44034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44041 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxHAS_INOTIFY 1
44048 for ac_header in sys/event.h
44050 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44051 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44054 echo $ECHO_N "(cached) $ECHO_C" >&6
44056 cat >conftest.$ac_ext <<_ACEOF
44059 cat confdefs.h >>conftest.$ac_ext
44060 cat >>conftest.$ac_ext <<_ACEOF
44061 /* end confdefs.h. */
44062 $ac_includes_default
44064 #include <$ac_header>
44066 rm -f conftest.$ac_objext
44067 if { (ac_try="$ac_compile"
44068 case "(($ac_try" in
44069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44070 *) ac_try_echo=$ac_try;;
44072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44073 (eval "$ac_compile") 2>conftest.er1
44075 grep -v '^ *+' conftest.er1 >conftest.err
44077 cat conftest.err >&5
44078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079 (exit $ac_status); } && {
44080 test -z "$ac_c_werror_flag" ||
44081 test ! -s conftest.err
44082 } && test -s conftest.$ac_objext; then
44083 eval "$as_ac_Header=yes"
44085 echo "$as_me: failed program was:" >&5
44086 sed 's/^/| /' conftest.$ac_ext >&5
44088 eval "$as_ac_Header=no"
44091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44093 ac_res=`eval echo '${'$as_ac_Header'}'`
44094 { echo "$as_me:$LINENO: result: $ac_res" >&5
44095 echo "${ECHO_T}$ac_res" >&6; }
44096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44097 cat >>confdefs.h <<_ACEOF
44098 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44105 if test "$ac_cv_header_sys_event_h" = "yes"; then
44106 cat >>confdefs.h <<\_ACEOF
44107 #define wxHAS_KQUEUE 1
44118 if test "$wxUSE_THREADS" != "yes"; then
44119 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
44120 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
44125 if test "$wxUSE_FSWATCHER" = "yes"; then
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_FSWATCHER 1
44130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
44132 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
44133 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
44138 if test "$wxUSE_STL" = "yes"; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_STL 1
44145 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44146 cat >>confdefs.h <<\_ACEOF
44147 #define wxUSE_EXTENDED_RTTI 1
44152 if test "$wxUSE_ANY" = "yes"; then
44153 cat >>confdefs.h <<\_ACEOF
44154 #define wxUSE_ANY 1
44159 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44160 cat >>confdefs.h <<\_ACEOF
44161 #define wxUSE_APPLE_IEEE 1
44166 if test "$wxUSE_TIMER" = "yes"; then
44167 cat >>confdefs.h <<\_ACEOF
44168 #define wxUSE_TIMER 1
44173 if test "$USE_UNIX" = 1 ; then
44174 if test "$wxUSE_MGL" != 1; then
44175 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44176 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44177 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44178 echo $ECHO_N "(cached) $ECHO_C" >&6
44181 cat >conftest.$ac_ext <<_ACEOF
44184 cat confdefs.h >>conftest.$ac_ext
44185 cat >>conftest.$ac_ext <<_ACEOF
44186 /* end confdefs.h. */
44188 #include <sys/ioctl.h>
44189 #include <sys/soundcard.h>
44195 ioctl(0, SNDCTL_DSP_SPEED, 0);
44201 rm -f conftest.$ac_objext conftest$ac_exeext
44202 if { (ac_try="$ac_link"
44203 case "(($ac_try" in
44204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44205 *) ac_try_echo=$ac_try;;
44207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44208 (eval "$ac_link") 2>conftest.er1
44210 grep -v '^ *+' conftest.er1 >conftest.err
44212 cat conftest.err >&5
44213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44214 (exit $ac_status); } && {
44215 test -z "$ac_c_werror_flag" ||
44216 test ! -s conftest.err
44217 } && test -s conftest$ac_exeext &&
44218 $as_test_x conftest$ac_exeext; then
44219 ac_cv_header_sys_soundcard=yes
44221 echo "$as_me: failed program was:" >&5
44222 sed 's/^/| /' conftest.$ac_ext >&5
44226 LIBS="$saveLibs -lossaudio"
44227 cat >conftest.$ac_ext <<_ACEOF
44230 cat confdefs.h >>conftest.$ac_ext
44231 cat >>conftest.$ac_ext <<_ACEOF
44232 /* end confdefs.h. */
44234 #include <sys/ioctl.h>
44235 #include <sys/soundcard.h>
44241 ioctl(0, SNDCTL_DSP_SPEED, 0);
44247 rm -f conftest.$ac_objext conftest$ac_exeext
44248 if { (ac_try="$ac_link"
44249 case "(($ac_try" in
44250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44251 *) ac_try_echo=$ac_try;;
44253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44254 (eval "$ac_link") 2>conftest.er1
44256 grep -v '^ *+' conftest.er1 >conftest.err
44258 cat conftest.err >&5
44259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44260 (exit $ac_status); } && {
44261 test -z "$ac_c_werror_flag" ||
44262 test ! -s conftest.err
44263 } && test -s conftest$ac_exeext &&
44264 $as_test_x conftest$ac_exeext; then
44265 ac_cv_header_sys_soundcard=yes
44267 echo "$as_me: failed program was:" >&5
44268 sed 's/^/| /' conftest.$ac_ext >&5
44272 ac_cv_header_sys_soundcard=no
44277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44278 conftest$ac_exeext conftest.$ac_ext
44283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44284 conftest$ac_exeext conftest.$ac_ext
44287 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44288 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44291 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44292 cat >>confdefs.h <<\_ACEOF
44293 #define HAVE_SYS_SOUNDCARD_H 1
44300 if test "$wxUSE_SOUND" = "yes"; then
44301 if test "$USE_UNIX" = 1 ; then
44302 if test "$wxUSE_LIBSDL" != "no"; then
44304 # Check whether --with-sdl-prefix was given.
44305 if test "${with_sdl_prefix+set}" = set; then
44306 withval=$with_sdl_prefix; sdl_prefix="$withval"
44312 # Check whether --with-sdl-exec-prefix was given.
44313 if test "${with_sdl_exec_prefix+set}" = set; then
44314 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44319 # Check whether --enable-sdltest was given.
44320 if test "${enable_sdltest+set}" = set; then
44321 enableval=$enable_sdltest;
44327 if test x$sdl_exec_prefix != x ; then
44328 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44329 if test x${SDL_CONFIG+set} != xset ; then
44330 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44333 if test x$sdl_prefix != x ; then
44334 sdl_args="$sdl_args --prefix=$sdl_prefix"
44335 if test x${SDL_CONFIG+set} != xset ; then
44336 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44340 if test "x$prefix" != xNONE; then
44341 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44343 # Extract the first word of "sdl-config", so it can be a program name with args.
44344 set dummy sdl-config; ac_word=$2
44345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44347 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44348 echo $ECHO_N "(cached) $ECHO_C" >&6
44350 case $SDL_CONFIG in
44352 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44356 for as_dir in $PATH
44359 test -z "$as_dir" && as_dir=.
44360 for ac_exec_ext in '' $ac_executable_extensions; do
44361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44362 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44370 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44374 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44375 if test -n "$SDL_CONFIG"; then
44376 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44377 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44379 { echo "$as_me:$LINENO: result: no" >&5
44380 echo "${ECHO_T}no" >&6; }
44384 min_sdl_version=1.2.0
44385 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44386 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44388 if test "$SDL_CONFIG" = "no" ; then
44391 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44392 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44394 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44396 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44398 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44400 if test "x$enable_sdltest" = "xyes" ; then
44401 ac_save_CFLAGS="$CFLAGS"
44402 ac_save_CXXFLAGS="$CXXFLAGS"
44403 ac_save_LIBS="$LIBS"
44404 CFLAGS="$CFLAGS $SDL_CFLAGS"
44405 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44406 LIBS="$LIBS $SDL_LIBS"
44408 if test "$cross_compiling" = yes; then
44409 echo $ac_n "cross compiling; assumed OK... $ac_c"
44411 cat >conftest.$ac_ext <<_ACEOF
44414 cat confdefs.h >>conftest.$ac_ext
44415 cat >>conftest.$ac_ext <<_ACEOF
44416 /* end confdefs.h. */
44419 #include <stdlib.h>
44420 #include <string.h>
44424 my_strdup (char *str)
44430 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44431 strcpy (new_str, str);
44439 int main (int argc, char *argv[])
44441 int major, minor, micro;
44444 /* This hangs on some systems (?)
44445 system ("touch conf.sdltest");
44447 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44449 /* HP/UX 9 (%@#!) writes to sscanf strings */
44450 tmp_version = my_strdup("$min_sdl_version");
44451 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44452 printf("%s, bad version string\n", "$min_sdl_version");
44456 if (($sdl_major_version > major) ||
44457 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44458 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44464 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44465 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44466 printf("*** best to upgrade to the required version.\n");
44467 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44468 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44469 printf("*** config.cache before re-running configure\n");
44476 rm -f conftest$ac_exeext
44477 if { (ac_try="$ac_link"
44478 case "(($ac_try" in
44479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44480 *) ac_try_echo=$ac_try;;
44482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44483 (eval "$ac_link") 2>&5
44485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44486 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44487 { (case "(($ac_try" in
44488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44489 *) ac_try_echo=$ac_try;;
44491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44492 (eval "$ac_try") 2>&5
44494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44495 (exit $ac_status); }; }; then
44498 echo "$as_me: program exited with status $ac_status" >&5
44499 echo "$as_me: failed program was:" >&5
44500 sed 's/^/| /' conftest.$ac_ext >&5
44502 ( exit $ac_status )
44505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44509 CFLAGS="$ac_save_CFLAGS"
44510 CXXFLAGS="$ac_save_CXXFLAGS"
44511 LIBS="$ac_save_LIBS"
44514 if test "x$no_sdl" = x ; then
44515 { echo "$as_me:$LINENO: result: yes" >&5
44516 echo "${ECHO_T}yes" >&6; }
44518 EXTRALIBS_SDL="$SDL_LIBS"
44519 CFLAGS="$SDL_CFLAGS $CFLAGS"
44520 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44521 cat >>confdefs.h <<\_ACEOF
44522 #define wxUSE_LIBSDL 1
44527 { echo "$as_me:$LINENO: result: no" >&5
44528 echo "${ECHO_T}no" >&6; }
44529 if test "$SDL_CONFIG" = "no" ; then
44530 echo "*** The sdl-config script installed by SDL could not be found"
44531 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44532 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44533 echo "*** full path to sdl-config."
44535 if test -f conf.sdltest ; then
44538 echo "*** Could not run SDL test program, checking why..."
44539 CFLAGS="$CFLAGS $SDL_CFLAGS"
44540 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44541 LIBS="$LIBS $SDL_LIBS"
44542 cat >conftest.$ac_ext <<_ACEOF
44545 cat confdefs.h >>conftest.$ac_ext
44546 cat >>conftest.$ac_ext <<_ACEOF
44547 /* end confdefs.h. */
44552 int main(int argc, char *argv[])
44555 #define main K_and_R_C_main
44565 rm -f conftest.$ac_objext conftest$ac_exeext
44566 if { (ac_try="$ac_link"
44567 case "(($ac_try" in
44568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44569 *) ac_try_echo=$ac_try;;
44571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44572 (eval "$ac_link") 2>conftest.er1
44574 grep -v '^ *+' conftest.er1 >conftest.err
44576 cat conftest.err >&5
44577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44578 (exit $ac_status); } && {
44579 test -z "$ac_c_werror_flag" ||
44580 test ! -s conftest.err
44581 } && test -s conftest$ac_exeext &&
44582 $as_test_x conftest$ac_exeext; then
44583 echo "*** The test program compiled, but did not run. This usually means"
44584 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44585 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44586 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44587 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44588 echo "*** is required on your system"
44590 echo "*** If you have an old version installed, it is best to remove it, although"
44591 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44593 echo "$as_me: failed program was:" >&5
44594 sed 's/^/| /' conftest.$ac_ext >&5
44596 echo "*** The test program failed to compile or link. See the file config.log for the"
44597 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44598 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44599 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44603 conftest$ac_exeext conftest.$ac_ext
44604 CFLAGS="$ac_save_CFLAGS"
44605 CXXFLAGS="$ac_save_CXXFLAGS"
44606 LIBS="$ac_save_LIBS"
44617 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44622 if test "$wxUSE_MGL" = 1; then
44623 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44624 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44630 if test "$wxUSE_SOUND" = "yes"; then
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_SOUND 1
44635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44638 if test "$WXGTK2" = 1; then
44641 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44642 if test -n "$ac_tool_prefix"; then
44643 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44644 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44647 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44648 echo $ECHO_N "(cached) $ECHO_C" >&6
44650 case $PKG_CONFIG in
44652 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44656 for as_dir in $PATH
44659 test -z "$as_dir" && as_dir=.
44660 for ac_exec_ext in '' $ac_executable_extensions; do
44661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44662 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44673 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44674 if test -n "$PKG_CONFIG"; then
44675 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44676 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44678 { echo "$as_me:$LINENO: result: no" >&5
44679 echo "${ECHO_T}no" >&6; }
44684 if test -z "$ac_cv_path_PKG_CONFIG"; then
44685 ac_pt_PKG_CONFIG=$PKG_CONFIG
44686 # Extract the first word of "pkg-config", so it can be a program name with args.
44687 set dummy pkg-config; ac_word=$2
44688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44690 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44691 echo $ECHO_N "(cached) $ECHO_C" >&6
44693 case $ac_pt_PKG_CONFIG in
44695 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44699 for as_dir in $PATH
44702 test -z "$as_dir" && as_dir=.
44703 for ac_exec_ext in '' $ac_executable_extensions; do
44704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44705 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44716 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44717 if test -n "$ac_pt_PKG_CONFIG"; then
44718 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44719 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44721 { echo "$as_me:$LINENO: result: no" >&5
44722 echo "${ECHO_T}no" >&6; }
44725 if test "x$ac_pt_PKG_CONFIG" = x; then
44728 case $cross_compiling:$ac_tool_warned in
44730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44731 whose name does not start with the host triplet. If you think this
44732 configuration is useful to you, please write to autoconf@gnu.org." >&5
44733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44734 whose name does not start with the host triplet. If you think this
44735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44736 ac_tool_warned=yes ;;
44738 PKG_CONFIG=$ac_pt_PKG_CONFIG
44741 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44745 if test -n "$PKG_CONFIG"; then
44746 _pkg_min_version=0.9.0
44747 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44748 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44749 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44750 { echo "$as_me:$LINENO: result: yes" >&5
44751 echo "${ECHO_T}yes" >&6; }
44753 { echo "$as_me:$LINENO: result: no" >&5
44754 echo "${ECHO_T}no" >&6; }
44760 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44762 if test "$wxUSE_GTKPRINT" = "yes" ; then
44766 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44767 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44769 if test -n "$PKG_CONFIG"; then
44770 if test -n "$GTKPRINT_CFLAGS"; then
44771 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44773 if test -n "$PKG_CONFIG" && \
44774 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44775 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); }; then
44779 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44787 if test -n "$PKG_CONFIG"; then
44788 if test -n "$GTKPRINT_LIBS"; then
44789 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44791 if test -n "$PKG_CONFIG" && \
44792 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44793 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44796 (exit $ac_status); }; then
44797 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44808 if test $pkg_failed = yes; then
44810 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44811 _pkg_short_errors_supported=yes
44813 _pkg_short_errors_supported=no
44815 if test $_pkg_short_errors_supported = yes; then
44816 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44818 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44820 # Put the nasty error message in config.log where it belongs
44821 echo "$GTKPRINT_PKG_ERRORS" >&5
44824 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44825 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44826 wxUSE_GTKPRINT="no"
44829 elif test $pkg_failed = untried; then
44831 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44832 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44833 wxUSE_GTKPRINT="no"
44837 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44838 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44839 { echo "$as_me:$LINENO: result: yes" >&5
44840 echo "${ECHO_T}yes" >&6; }
44842 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44843 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_GTKPRINT 1
44852 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44856 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44857 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44859 if test -n "$PKG_CONFIG"; then
44860 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44861 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44863 if test -n "$PKG_CONFIG" && \
44864 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44865 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44868 (exit $ac_status); }; then
44869 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44877 if test -n "$PKG_CONFIG"; then
44878 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44879 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44881 if test -n "$PKG_CONFIG" && \
44882 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44883 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886 (exit $ac_status); }; then
44887 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44898 if test $pkg_failed = yes; then
44900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44901 _pkg_short_errors_supported=yes
44903 _pkg_short_errors_supported=no
44905 if test $_pkg_short_errors_supported = yes; then
44906 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44908 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44910 # Put the nasty error message in config.log where it belongs
44911 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44914 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44915 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44916 wxUSE_LIBGNOMEPRINT="no"
44919 elif test $pkg_failed = untried; then
44921 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44922 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44923 wxUSE_LIBGNOMEPRINT="no"
44927 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44928 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44929 { echo "$as_me:$LINENO: result: yes" >&5
44930 echo "${ECHO_T}yes" >&6; }
44932 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44933 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_LIBGNOMEPRINT 1
44943 if test "$wxUSE_MIMETYPE" = "yes" ; then
44944 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44948 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44949 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44951 if test -n "$PKG_CONFIG"; then
44952 if test -n "$GNOMEVFS_CFLAGS"; then
44953 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44955 if test -n "$PKG_CONFIG" && \
44956 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44957 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44960 (exit $ac_status); }; then
44961 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44969 if test -n "$PKG_CONFIG"; then
44970 if test -n "$GNOMEVFS_LIBS"; then
44971 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44973 if test -n "$PKG_CONFIG" && \
44974 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44975 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44978 (exit $ac_status); }; then
44979 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44990 if test $pkg_failed = yes; then
44992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44993 _pkg_short_errors_supported=yes
44995 _pkg_short_errors_supported=no
44997 if test $_pkg_short_errors_supported = yes; then
44998 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45000 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45002 # Put the nasty error message in config.log where it belongs
45003 echo "$GNOMEVFS_PKG_ERRORS" >&5
45006 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45007 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45008 wxUSE_LIBGNOMEVFS="no"
45011 elif test $pkg_failed = untried; then
45013 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45014 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45015 wxUSE_LIBGNOMEVFS="no"
45019 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45020 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45021 { echo "$as_me:$LINENO: result: yes" >&5
45022 echo "${ECHO_T}yes" >&6; }
45024 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45025 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45026 cat >>confdefs.h <<\_ACEOF
45027 #define wxUSE_LIBGNOMEVFS 1
45035 if test "$wxUSE_LIBHILDON" = "yes" ; then
45038 { echo "$as_me:$LINENO: checking for HILDON" >&5
45039 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45041 if test -n "$PKG_CONFIG"; then
45042 if test -n "$HILDON_CFLAGS"; then
45043 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45045 if test -n "$PKG_CONFIG" && \
45046 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45047 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45050 (exit $ac_status); }; then
45051 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45059 if test -n "$PKG_CONFIG"; then
45060 if test -n "$HILDON_LIBS"; then
45061 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45063 if test -n "$PKG_CONFIG" && \
45064 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45065 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45068 (exit $ac_status); }; then
45069 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45080 if test $pkg_failed = yes; then
45082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45083 _pkg_short_errors_supported=yes
45085 _pkg_short_errors_supported=no
45087 if test $_pkg_short_errors_supported = yes; then
45088 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45090 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45092 # Put the nasty error message in config.log where it belongs
45093 echo "$HILDON_PKG_ERRORS" >&5
45096 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45097 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45098 wxUSE_LIBHILDON="no"
45102 elif test $pkg_failed = untried; then
45104 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45105 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45106 wxUSE_LIBHILDON="no"
45111 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45112 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45113 { echo "$as_me:$LINENO: result: yes" >&5
45114 echo "${ECHO_T}yes" >&6; }
45116 EXTRALIBS_HILDON="$HILDON_LIBS"
45117 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45118 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_LIBHILDON 1
45127 if test "$ac_hildon_lgpl" = 0 ; then
45130 { echo "$as_me:$LINENO: checking for HILDON2" >&5
45131 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
45133 if test -n "$PKG_CONFIG"; then
45134 if test -n "$HILDON2_CFLAGS"; then
45135 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
45137 if test -n "$PKG_CONFIG" && \
45138 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
45139 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
45141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45142 (exit $ac_status); }; then
45143 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
45151 if test -n "$PKG_CONFIG"; then
45152 if test -n "$HILDON2_LIBS"; then
45153 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
45155 if test -n "$PKG_CONFIG" && \
45156 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
45157 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
45159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45160 (exit $ac_status); }; then
45161 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
45172 if test $pkg_failed = yes; then
45174 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45175 _pkg_short_errors_supported=yes
45177 _pkg_short_errors_supported=no
45179 if test $_pkg_short_errors_supported = yes; then
45180 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
45182 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
45184 # Put the nasty error message in config.log where it belongs
45185 echo "$HILDON2_PKG_ERRORS" >&5
45188 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
45189 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
45190 wxUSE_LIBHILDON2="no"
45193 elif test $pkg_failed = untried; then
45195 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
45196 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
45197 wxUSE_LIBHILDON2="no"
45201 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
45202 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
45203 { echo "$as_me:$LINENO: result: yes" >&5
45204 echo "${ECHO_T}yes" >&6; }
45206 EXTRALIBS_HILDON="$HILDON2_LIBS"
45207 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
45208 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
45209 cat >>confdefs.h <<\_ACEOF
45210 #define wxUSE_LIBHILDON2 1
45219 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45220 cat >>confdefs.h <<\_ACEOF
45221 #define wxUSE_CMDLINE_PARSER 1
45226 if test "$wxUSE_STOPWATCH" = "yes"; then
45227 cat >>confdefs.h <<\_ACEOF
45228 #define wxUSE_STOPWATCH 1
45233 if test "$wxUSE_DATETIME" = "yes"; then
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_DATETIME 1
45240 if test "$wxUSE_FILE" = "yes"; then
45241 cat >>confdefs.h <<\_ACEOF
45242 #define wxUSE_FILE 1
45247 if test "$wxUSE_FFILE" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_FFILE 1
45254 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45255 if test "$wxUSE_STREAMS" != yes; then
45256 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45257 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45258 wxUSE_ARCHIVE_STREAMS=no
45260 cat >>confdefs.h <<\_ACEOF
45261 #define wxUSE_ARCHIVE_STREAMS 1
45267 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45268 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45269 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45270 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45271 elif test "$wxUSE_ZLIB" = "no"; then
45272 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45273 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45275 cat >>confdefs.h <<\_ACEOF
45276 #define wxUSE_ZIPSTREAM 1
45282 if test "$wxUSE_TARSTREAM" = "yes"; then
45283 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45284 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45285 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_TARSTREAM 1
45294 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45295 cat >>confdefs.h <<\_ACEOF
45296 #define wxUSE_FILE_HISTORY 1
45301 if test "$wxUSE_FILESYSTEM" = "yes"; then
45302 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45303 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45304 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45305 wxUSE_FILESYSTEM=no
45307 cat >>confdefs.h <<\_ACEOF
45308 #define wxUSE_FILESYSTEM 1
45314 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45315 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45316 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45317 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45319 cat >>confdefs.h <<\_ACEOF
45320 #define wxUSE_FS_ARCHIVE 1
45326 if test "$wxUSE_FS_ZIP" = "yes"; then
45327 if test "$wxUSE_FS_ARCHIVE" != yes; then
45328 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45329 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_FS_ZIP 1
45338 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45339 if test "$USE_UNIX" != 1; then
45340 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45341 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45342 wxUSE_ON_FATAL_EXCEPTION=no
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_ON_FATAL_EXCEPTION 1
45351 if test "$wxUSE_STACKWALKER" = "yes"; then
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_STACKWALKER 1
45358 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45359 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45360 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45361 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45362 wxUSE_DEBUGREPORT=no
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_DEBUGREPORT 1
45368 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45374 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45375 cat >>confdefs.h <<\_ACEOF
45376 #define wxUSE_SNGLINST_CHECKER 1
45381 if test "$wxUSE_BUSYINFO" = "yes"; then
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_BUSYINFO 1
45388 if test "$wxUSE_HOTKEY" = "yes"; then
45389 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
45390 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
45391 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
45394 elif test "$wxUSE_HOTKEY" = "auto"; then
45395 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
45399 if test "$wxUSE_HOTKEY" = "yes"; then
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_HOTKEY 1
45406 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_STD_CONTAINERS 1
45413 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45414 cat >>confdefs.h <<\_ACEOF
45415 #define wxUSE_STD_IOSTREAM 1
45420 if test "$wxUSE_STD_STRING" = "yes"; then
45421 cat >>confdefs.h <<\_ACEOF
45422 #define wxUSE_STD_STRING 1
45427 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45428 cat >>confdefs.h <<\_ACEOF
45429 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45434 if test "$wxUSE_STDPATHS" = "yes"; then
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_STDPATHS 1
45441 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45442 cat >>confdefs.h <<\_ACEOF
45443 #define wxUSE_TEXTBUFFER 1
45448 if test "$wxUSE_TEXTFILE" = "yes"; then
45449 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45450 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45451 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_TEXTFILE 1
45460 if test "$wxUSE_CONFIG" = "yes" ; then
45461 if test "$wxUSE_TEXTFILE" != "yes"; then
45462 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45463 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45465 cat >>confdefs.h <<\_ACEOF
45466 #define wxUSE_CONFIG 1
45469 cat >>confdefs.h <<\_ACEOF
45470 #define wxUSE_CONFIG_NATIVE 1
45473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45477 if test "$wxUSE_INTL" = "yes" ; then
45478 if test "$wxUSE_FILE" != "yes"; then
45479 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45480 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_INTL 1
45486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45487 GUIDIST="$GUIDIST INTL_DIST"
45491 if test "$wxUSE_XLOCALE" = "yes" ; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_XLOCALE 1
45496 { echo "$as_me:$LINENO: checking for locale_t" >&5
45497 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45498 if test "${ac_cv_type_locale_t+set}" = set; then
45499 echo $ECHO_N "(cached) $ECHO_C" >&6
45501 cat >conftest.$ac_ext <<_ACEOF
45504 cat confdefs.h >>conftest.$ac_ext
45505 cat >>conftest.$ac_ext <<_ACEOF
45506 /* end confdefs.h. */
45507 #include <xlocale.h>
45508 #include <locale.h>
45510 typedef locale_t ac__type_new_;
45514 if ((ac__type_new_ *) 0)
45516 if (sizeof (ac__type_new_))
45522 rm -f conftest.$ac_objext
45523 if { (ac_try="$ac_compile"
45524 case "(($ac_try" in
45525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45526 *) ac_try_echo=$ac_try;;
45528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45529 (eval "$ac_compile") 2>conftest.er1
45531 grep -v '^ *+' conftest.er1 >conftest.err
45533 cat conftest.err >&5
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); } && {
45536 test -z "$ac_c_werror_flag" ||
45537 test ! -s conftest.err
45538 } && test -s conftest.$ac_objext; then
45539 ac_cv_type_locale_t=yes
45541 echo "$as_me: failed program was:" >&5
45542 sed 's/^/| /' conftest.$ac_ext >&5
45544 ac_cv_type_locale_t=no
45547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45549 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45550 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45551 if test $ac_cv_type_locale_t = yes; then
45553 cat >>confdefs.h <<_ACEOF
45554 #define HAVE_LOCALE_T 1
45562 if test "$wxUSE_LOG" = "yes"; then
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_LOG 1
45568 if test "$wxUSE_LOGGUI" = "yes"; then
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_LOGGUI 1
45575 if test "$wxUSE_LOGWINDOW" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_LOGWINDOW 1
45582 if test "$wxUSE_LOGDIALOG" = "yes"; then
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_LOG_DIALOG 1
45589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45592 if test "$wxUSE_LONGLONG" = "yes"; then
45593 cat >>confdefs.h <<\_ACEOF
45594 #define wxUSE_LONGLONG 1
45599 if test "$wxUSE_GEOMETRY" = "yes"; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_GEOMETRY 1
45606 if test "$wxUSE_BASE64" = "yes"; then
45607 cat >>confdefs.h <<\_ACEOF
45608 #define wxUSE_BASE64 1
45613 if test "$wxUSE_STREAMS" = "yes" ; then
45614 cat >>confdefs.h <<\_ACEOF
45615 #define wxUSE_STREAMS 1
45620 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_PRINTF_POS_PARAMS 1
45627 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_OBJC_UNIQUIFYING 1
45635 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45636 cat >>confdefs.h <<\_ACEOF
45637 #define wxUSE_CONSOLE_EVENTLOOP 1
45641 if test "$wxUSE_UNIX" = "yes"; then
45642 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_SELECT_DISPATCHER 1
45649 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45651 for ac_header in sys/epoll.h
45653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45657 echo $ECHO_N "(cached) $ECHO_C" >&6
45659 cat >conftest.$ac_ext <<_ACEOF
45662 cat confdefs.h >>conftest.$ac_ext
45663 cat >>conftest.$ac_ext <<_ACEOF
45664 /* end confdefs.h. */
45665 $ac_includes_default
45667 #include <$ac_header>
45669 rm -f conftest.$ac_objext
45670 if { (ac_try="$ac_compile"
45671 case "(($ac_try" in
45672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45673 *) ac_try_echo=$ac_try;;
45675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45676 (eval "$ac_compile") 2>conftest.er1
45678 grep -v '^ *+' conftest.er1 >conftest.err
45680 cat conftest.err >&5
45681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45682 (exit $ac_status); } && {
45683 test -z "$ac_c_werror_flag" ||
45684 test ! -s conftest.err
45685 } && test -s conftest.$ac_objext; then
45686 eval "$as_ac_Header=yes"
45688 echo "$as_me: failed program was:" >&5
45689 sed 's/^/| /' conftest.$ac_ext >&5
45691 eval "$as_ac_Header=no"
45694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45696 ac_res=`eval echo '${'$as_ac_Header'}'`
45697 { echo "$as_me:$LINENO: result: $ac_res" >&5
45698 echo "${ECHO_T}$ac_res" >&6; }
45699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45700 cat >>confdefs.h <<_ACEOF
45701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45708 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45709 cat >>confdefs.h <<\_ACEOF
45710 #define wxUSE_EPOLL_DISPATCHER 1
45714 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45715 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45724 for ac_func in gettimeofday ftime
45726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45730 echo $ECHO_N "(cached) $ECHO_C" >&6
45732 cat >conftest.$ac_ext <<_ACEOF
45735 cat confdefs.h >>conftest.$ac_ext
45736 cat >>conftest.$ac_ext <<_ACEOF
45737 /* end confdefs.h. */
45738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45740 #define $ac_func innocuous_$ac_func
45742 /* System header to define __stub macros and hopefully few prototypes,
45743 which can conflict with char $ac_func (); below.
45744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45745 <limits.h> exists even on freestanding compilers. */
45748 # include <limits.h>
45750 # include <assert.h>
45755 /* Override any GCC internal prototype to avoid an error.
45756 Use char because int might match the return type of a GCC
45757 builtin and then its argument prototype would still apply. */
45762 /* The GNU C library defines this for functions which it implements
45763 to always fail with ENOSYS. Some functions are actually named
45764 something starting with __ and the normal name is an alias. */
45765 #if defined __stub_$ac_func || defined __stub___$ac_func
45772 return $ac_func ();
45777 rm -f conftest.$ac_objext conftest$ac_exeext
45778 if { (ac_try="$ac_link"
45779 case "(($ac_try" in
45780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45781 *) ac_try_echo=$ac_try;;
45783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45784 (eval "$ac_link") 2>conftest.er1
45786 grep -v '^ *+' conftest.er1 >conftest.err
45788 cat conftest.err >&5
45789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45790 (exit $ac_status); } && {
45791 test -z "$ac_c_werror_flag" ||
45792 test ! -s conftest.err
45793 } && test -s conftest$ac_exeext &&
45794 $as_test_x conftest$ac_exeext; then
45795 eval "$as_ac_var=yes"
45797 echo "$as_me: failed program was:" >&5
45798 sed 's/^/| /' conftest.$ac_ext >&5
45800 eval "$as_ac_var=no"
45803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45804 conftest$ac_exeext conftest.$ac_ext
45806 ac_res=`eval echo '${'$as_ac_var'}'`
45807 { echo "$as_me:$LINENO: result: $ac_res" >&5
45808 echo "${ECHO_T}$ac_res" >&6; }
45809 if test `eval echo '${'$as_ac_var'}'` = yes; then
45810 cat >>confdefs.h <<_ACEOF
45811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45818 if test "$ac_cv_func_gettimeofday" = "yes"; then
45819 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45820 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45821 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45822 echo $ECHO_N "(cached) $ECHO_C" >&6
45825 cat >conftest.$ac_ext <<_ACEOF
45828 cat confdefs.h >>conftest.$ac_ext
45829 cat >>conftest.$ac_ext <<_ACEOF
45830 /* end confdefs.h. */
45832 #include <sys/time.h>
45833 #include <unistd.h>
45840 gettimeofday(&tv, NULL);
45846 rm -f conftest.$ac_objext
45847 if { (ac_try="$ac_compile"
45848 case "(($ac_try" in
45849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45850 *) ac_try_echo=$ac_try;;
45852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45853 (eval "$ac_compile") 2>conftest.er1
45855 grep -v '^ *+' conftest.er1 >conftest.err
45857 cat conftest.err >&5
45858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45859 (exit $ac_status); } && {
45860 test -z "$ac_c_werror_flag" ||
45861 test ! -s conftest.err
45862 } && test -s conftest.$ac_objext; then
45863 wx_cv_func_gettimeofday_has_2_args=yes
45865 echo "$as_me: failed program was:" >&5
45866 sed 's/^/| /' conftest.$ac_ext >&5
45868 cat >conftest.$ac_ext <<_ACEOF
45871 cat confdefs.h >>conftest.$ac_ext
45872 cat >>conftest.$ac_ext <<_ACEOF
45873 /* end confdefs.h. */
45875 #include <sys/time.h>
45876 #include <unistd.h>
45889 rm -f conftest.$ac_objext
45890 if { (ac_try="$ac_compile"
45891 case "(($ac_try" in
45892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45893 *) ac_try_echo=$ac_try;;
45895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45896 (eval "$ac_compile") 2>conftest.er1
45898 grep -v '^ *+' conftest.er1 >conftest.err
45900 cat conftest.err >&5
45901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45902 (exit $ac_status); } && {
45903 test -z "$ac_c_werror_flag" ||
45904 test ! -s conftest.err
45905 } && test -s conftest.$ac_objext; then
45906 wx_cv_func_gettimeofday_has_2_args=no
45908 echo "$as_me: failed program was:" >&5
45909 sed 's/^/| /' conftest.$ac_ext >&5
45912 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45913 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45914 wx_cv_func_gettimeofday_has_2_args=unknown
45919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45926 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45927 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45929 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45930 cat >>confdefs.h <<\_ACEOF
45931 #define WX_GETTIMEOFDAY_NO_TZ 1
45937 if test "$wxUSE_DATETIME" = "yes"; then
45938 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45939 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45940 if test "${wx_cv_var_timezone+set}" = set; then
45941 echo $ECHO_N "(cached) $ECHO_C" >&6
45945 ac_cpp='$CXXCPP $CPPFLAGS'
45946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45950 cat >conftest.$ac_ext <<_ACEOF
45953 cat confdefs.h >>conftest.$ac_ext
45954 cat >>conftest.$ac_ext <<_ACEOF
45955 /* end confdefs.h. */
45970 rm -f conftest.$ac_objext
45971 if { (ac_try="$ac_compile"
45972 case "(($ac_try" in
45973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45974 *) ac_try_echo=$ac_try;;
45976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45977 (eval "$ac_compile") 2>conftest.er1
45979 grep -v '^ *+' conftest.er1 >conftest.err
45981 cat conftest.err >&5
45982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45983 (exit $ac_status); } && {
45984 test -z "$ac_cxx_werror_flag" ||
45985 test ! -s conftest.err
45986 } && test -s conftest.$ac_objext; then
45988 wx_cv_var_timezone=timezone
45991 echo "$as_me: failed program was:" >&5
45992 sed 's/^/| /' conftest.$ac_ext >&5
45995 cat >conftest.$ac_ext <<_ACEOF
45998 cat confdefs.h >>conftest.$ac_ext
45999 cat >>conftest.$ac_ext <<_ACEOF
46000 /* end confdefs.h. */
46015 rm -f conftest.$ac_objext
46016 if { (ac_try="$ac_compile"
46017 case "(($ac_try" in
46018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46019 *) ac_try_echo=$ac_try;;
46021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46022 (eval "$ac_compile") 2>conftest.er1
46024 grep -v '^ *+' conftest.er1 >conftest.err
46026 cat conftest.err >&5
46027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46028 (exit $ac_status); } && {
46029 test -z "$ac_cxx_werror_flag" ||
46030 test ! -s conftest.err
46031 } && test -s conftest.$ac_objext; then
46033 wx_cv_var_timezone=_timezone
46036 echo "$as_me: failed program was:" >&5
46037 sed 's/^/| /' conftest.$ac_ext >&5
46040 cat >conftest.$ac_ext <<_ACEOF
46043 cat confdefs.h >>conftest.$ac_ext
46044 cat >>conftest.$ac_ext <<_ACEOF
46045 /* end confdefs.h. */
46060 rm -f conftest.$ac_objext
46061 if { (ac_try="$ac_compile"
46062 case "(($ac_try" in
46063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46064 *) ac_try_echo=$ac_try;;
46066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46067 (eval "$ac_compile") 2>conftest.er1
46069 grep -v '^ *+' conftest.er1 >conftest.err
46071 cat conftest.err >&5
46072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46073 (exit $ac_status); } && {
46074 test -z "$ac_cxx_werror_flag" ||
46075 test ! -s conftest.err
46076 } && test -s conftest.$ac_objext; then
46078 wx_cv_var_timezone=__timezone
46081 echo "$as_me: failed program was:" >&5
46082 sed 's/^/| /' conftest.$ac_ext >&5
46085 if test "$USE_DOS" = 0 ; then
46086 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46087 echo "$as_me: WARNING: no timezone variable" >&2;}
46093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46105 ac_cpp='$CPP $CPPFLAGS'
46106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46113 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46114 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46116 if test "x$wx_cv_var_timezone" != x ; then
46117 cat >>confdefs.h <<_ACEOF
46118 #define WX_TIMEZONE $wx_cv_var_timezone
46124 for ac_func in localtime
46126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46130 echo $ECHO_N "(cached) $ECHO_C" >&6
46132 cat >conftest.$ac_ext <<_ACEOF
46135 cat confdefs.h >>conftest.$ac_ext
46136 cat >>conftest.$ac_ext <<_ACEOF
46137 /* end confdefs.h. */
46138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46140 #define $ac_func innocuous_$ac_func
46142 /* System header to define __stub macros and hopefully few prototypes,
46143 which can conflict with char $ac_func (); below.
46144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46145 <limits.h> exists even on freestanding compilers. */
46148 # include <limits.h>
46150 # include <assert.h>
46155 /* Override any GCC internal prototype to avoid an error.
46156 Use char because int might match the return type of a GCC
46157 builtin and then its argument prototype would still apply. */
46162 /* The GNU C library defines this for functions which it implements
46163 to always fail with ENOSYS. Some functions are actually named
46164 something starting with __ and the normal name is an alias. */
46165 #if defined __stub_$ac_func || defined __stub___$ac_func
46172 return $ac_func ();
46177 rm -f conftest.$ac_objext conftest$ac_exeext
46178 if { (ac_try="$ac_link"
46179 case "(($ac_try" in
46180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46181 *) ac_try_echo=$ac_try;;
46183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46184 (eval "$ac_link") 2>conftest.er1
46186 grep -v '^ *+' conftest.er1 >conftest.err
46188 cat conftest.err >&5
46189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190 (exit $ac_status); } && {
46191 test -z "$ac_c_werror_flag" ||
46192 test ! -s conftest.err
46193 } && test -s conftest$ac_exeext &&
46194 $as_test_x conftest$ac_exeext; then
46195 eval "$as_ac_var=yes"
46197 echo "$as_me: failed program was:" >&5
46198 sed 's/^/| /' conftest.$ac_ext >&5
46200 eval "$as_ac_var=no"
46203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46204 conftest$ac_exeext conftest.$ac_ext
46206 ac_res=`eval echo '${'$as_ac_var'}'`
46207 { echo "$as_me:$LINENO: result: $ac_res" >&5
46208 echo "${ECHO_T}$ac_res" >&6; }
46209 if test `eval echo '${'$as_ac_var'}'` = yes; then
46210 cat >>confdefs.h <<_ACEOF
46211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46218 if test "$ac_cv_func_localtime" = "yes"; then
46219 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46220 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46221 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46222 echo $ECHO_N "(cached) $ECHO_C" >&6
46225 cat >conftest.$ac_ext <<_ACEOF
46228 cat confdefs.h >>conftest.$ac_ext
46229 cat >>conftest.$ac_ext <<_ACEOF
46230 /* end confdefs.h. */
46245 rm -f conftest.$ac_objext
46246 if { (ac_try="$ac_compile"
46247 case "(($ac_try" in
46248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46249 *) ac_try_echo=$ac_try;;
46251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46252 (eval "$ac_compile") 2>conftest.er1
46254 grep -v '^ *+' conftest.er1 >conftest.err
46256 cat conftest.err >&5
46257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46258 (exit $ac_status); } && {
46259 test -z "$ac_c_werror_flag" ||
46260 test ! -s conftest.err
46261 } && test -s conftest.$ac_objext; then
46263 wx_cv_struct_tm_has_gmtoff=yes
46266 echo "$as_me: failed program was:" >&5
46267 sed 's/^/| /' conftest.$ac_ext >&5
46269 wx_cv_struct_tm_has_gmtoff=no
46273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46276 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46277 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46280 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46281 cat >>confdefs.h <<\_ACEOF
46282 #define WX_GMTOFF_IN_TM 1
46287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46291 if test "$wxUSE_SOCKETS" = "yes"; then
46292 if test "$wxUSE_MGL" = 1; then
46293 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46294 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46299 if test "$wxUSE_SOCKETS" = "yes"; then
46300 if test "$TOOLKIT" != "MSW"; then
46301 { echo "$as_me:$LINENO: checking for socket" >&5
46302 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46303 if test "${ac_cv_func_socket+set}" = set; then
46304 echo $ECHO_N "(cached) $ECHO_C" >&6
46306 cat >conftest.$ac_ext <<_ACEOF
46309 cat confdefs.h >>conftest.$ac_ext
46310 cat >>conftest.$ac_ext <<_ACEOF
46311 /* end confdefs.h. */
46312 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46314 #define socket innocuous_socket
46316 /* System header to define __stub macros and hopefully few prototypes,
46317 which can conflict with char socket (); below.
46318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46319 <limits.h> exists even on freestanding compilers. */
46322 # include <limits.h>
46324 # include <assert.h>
46329 /* Override any GCC internal prototype to avoid an error.
46330 Use char because int might match the return type of a GCC
46331 builtin and then its argument prototype would still apply. */
46336 /* The GNU C library defines this for functions which it implements
46337 to always fail with ENOSYS. Some functions are actually named
46338 something starting with __ and the normal name is an alias. */
46339 #if defined __stub_socket || defined __stub___socket
46351 rm -f conftest.$ac_objext conftest$ac_exeext
46352 if { (ac_try="$ac_link"
46353 case "(($ac_try" in
46354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46355 *) ac_try_echo=$ac_try;;
46357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46358 (eval "$ac_link") 2>conftest.er1
46360 grep -v '^ *+' conftest.er1 >conftest.err
46362 cat conftest.err >&5
46363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46364 (exit $ac_status); } && {
46365 test -z "$ac_c_werror_flag" ||
46366 test ! -s conftest.err
46367 } && test -s conftest$ac_exeext &&
46368 $as_test_x conftest$ac_exeext; then
46369 ac_cv_func_socket=yes
46371 echo "$as_me: failed program was:" >&5
46372 sed 's/^/| /' conftest.$ac_ext >&5
46374 ac_cv_func_socket=no
46377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46378 conftest$ac_exeext conftest.$ac_ext
46380 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46381 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46382 if test $ac_cv_func_socket = yes; then
46386 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46387 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46388 if test "${ac_cv_lib_socket_socket+set}" = set; then
46389 echo $ECHO_N "(cached) $ECHO_C" >&6
46391 ac_check_lib_save_LIBS=$LIBS
46392 LIBS="-lsocket $LIBS"
46393 cat >conftest.$ac_ext <<_ACEOF
46396 cat confdefs.h >>conftest.$ac_ext
46397 cat >>conftest.$ac_ext <<_ACEOF
46398 /* end confdefs.h. */
46400 /* Override any GCC internal prototype to avoid an error.
46401 Use char because int might match the return type of a GCC
46402 builtin and then its argument prototype would still apply. */
46415 rm -f conftest.$ac_objext conftest$ac_exeext
46416 if { (ac_try="$ac_link"
46417 case "(($ac_try" in
46418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46419 *) ac_try_echo=$ac_try;;
46421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46422 (eval "$ac_link") 2>conftest.er1
46424 grep -v '^ *+' conftest.er1 >conftest.err
46426 cat conftest.err >&5
46427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46428 (exit $ac_status); } && {
46429 test -z "$ac_c_werror_flag" ||
46430 test ! -s conftest.err
46431 } && test -s conftest$ac_exeext &&
46432 $as_test_x conftest$ac_exeext; then
46433 ac_cv_lib_socket_socket=yes
46435 echo "$as_me: failed program was:" >&5
46436 sed 's/^/| /' conftest.$ac_ext >&5
46438 ac_cv_lib_socket_socket=no
46441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46442 conftest$ac_exeext conftest.$ac_ext
46443 LIBS=$ac_check_lib_save_LIBS
46445 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46446 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46447 if test $ac_cv_lib_socket_socket = yes; then
46448 if test "$INET_LINK" != " -lsocket"; then
46449 INET_LINK="$INET_LINK -lsocket"
46453 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46454 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46467 if test "$wxUSE_SOCKETS" = "yes" ; then
46468 if test "$TOOLKIT" != "MSW"; then
46469 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46470 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46471 if test "${wx_cv_type_getsockname3+set}" = set; then
46472 echo $ECHO_N "(cached) $ECHO_C" >&6
46476 ac_cpp='$CXXCPP $CPPFLAGS'
46477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46481 cat >conftest.$ac_ext <<_ACEOF
46484 cat confdefs.h >>conftest.$ac_ext
46485 cat >>conftest.$ac_ext <<_ACEOF
46486 /* end confdefs.h. */
46488 #include <sys/types.h>
46489 #include <sys/socket.h>
46496 getsockname(0, 0, &len);
46502 rm -f conftest.$ac_objext
46503 if { (ac_try="$ac_compile"
46504 case "(($ac_try" in
46505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46506 *) ac_try_echo=$ac_try;;
46508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46509 (eval "$ac_compile") 2>conftest.er1
46511 grep -v '^ *+' conftest.er1 >conftest.err
46513 cat conftest.err >&5
46514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46515 (exit $ac_status); } && {
46516 test -z "$ac_cxx_werror_flag" ||
46517 test ! -s conftest.err
46518 } && test -s conftest.$ac_objext; then
46519 wx_cv_type_getsockname3=socklen_t
46521 echo "$as_me: failed program was:" >&5
46522 sed 's/^/| /' conftest.$ac_ext >&5
46525 CFLAGS_OLD="$CFLAGS"
46526 if test "$GCC" = yes ; then
46527 CFLAGS="-Werror $CFLAGS"
46530 cat >conftest.$ac_ext <<_ACEOF
46533 cat confdefs.h >>conftest.$ac_ext
46534 cat >>conftest.$ac_ext <<_ACEOF
46535 /* end confdefs.h. */
46537 #include <sys/types.h>
46538 #include <sys/socket.h>
46545 getsockname(0, 0, &len);
46551 rm -f conftest.$ac_objext
46552 if { (ac_try="$ac_compile"
46553 case "(($ac_try" in
46554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46555 *) ac_try_echo=$ac_try;;
46557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46558 (eval "$ac_compile") 2>conftest.er1
46560 grep -v '^ *+' conftest.er1 >conftest.err
46562 cat conftest.err >&5
46563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564 (exit $ac_status); } && {
46565 test -z "$ac_cxx_werror_flag" ||
46566 test ! -s conftest.err
46567 } && test -s conftest.$ac_objext; then
46568 wx_cv_type_getsockname3=size_t
46570 echo "$as_me: failed program was:" >&5
46571 sed 's/^/| /' conftest.$ac_ext >&5
46573 cat >conftest.$ac_ext <<_ACEOF
46576 cat confdefs.h >>conftest.$ac_ext
46577 cat >>conftest.$ac_ext <<_ACEOF
46578 /* end confdefs.h. */
46580 #include <sys/types.h>
46581 #include <sys/socket.h>
46588 getsockname(0, 0, &len);
46594 rm -f conftest.$ac_objext
46595 if { (ac_try="$ac_compile"
46596 case "(($ac_try" in
46597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46598 *) ac_try_echo=$ac_try;;
46600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46601 (eval "$ac_compile") 2>conftest.er1
46603 grep -v '^ *+' conftest.er1 >conftest.err
46605 cat conftest.err >&5
46606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46607 (exit $ac_status); } && {
46608 test -z "$ac_cxx_werror_flag" ||
46609 test ! -s conftest.err
46610 } && test -s conftest.$ac_objext; then
46611 wx_cv_type_getsockname3=int
46613 echo "$as_me: failed program was:" >&5
46614 sed 's/^/| /' conftest.$ac_ext >&5
46616 wx_cv_type_getsockname3=unknown
46620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46626 CFLAGS="$CFLAGS_OLD"
46631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46633 ac_cpp='$CPP $CPPFLAGS'
46634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46640 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46641 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46643 if test "$wx_cv_type_getsockname3" = "unknown"; then
46645 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46646 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46648 cat >>confdefs.h <<_ACEOF
46649 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46653 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46654 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46655 if test "${wx_cv_type_getsockopt5+set}" = set; then
46656 echo $ECHO_N "(cached) $ECHO_C" >&6
46660 ac_cpp='$CXXCPP $CPPFLAGS'
46661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46665 cat >conftest.$ac_ext <<_ACEOF
46668 cat confdefs.h >>conftest.$ac_ext
46669 cat >>conftest.$ac_ext <<_ACEOF
46670 /* end confdefs.h. */
46672 #include <sys/types.h>
46673 #include <sys/socket.h>
46680 getsockopt(0, 0, 0, 0, &len);
46686 rm -f conftest.$ac_objext
46687 if { (ac_try="$ac_compile"
46688 case "(($ac_try" in
46689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46690 *) ac_try_echo=$ac_try;;
46692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46693 (eval "$ac_compile") 2>conftest.er1
46695 grep -v '^ *+' conftest.er1 >conftest.err
46697 cat conftest.err >&5
46698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699 (exit $ac_status); } && {
46700 test -z "$ac_cxx_werror_flag" ||
46701 test ! -s conftest.err
46702 } && test -s conftest.$ac_objext; then
46703 wx_cv_type_getsockopt5=socklen_t
46705 echo "$as_me: failed program was:" >&5
46706 sed 's/^/| /' conftest.$ac_ext >&5
46709 cat >conftest.$ac_ext <<_ACEOF
46712 cat confdefs.h >>conftest.$ac_ext
46713 cat >>conftest.$ac_ext <<_ACEOF
46714 /* end confdefs.h. */
46716 #include <sys/types.h>
46717 #include <sys/socket.h>
46724 getsockopt(0, 0, 0, 0, &len);
46730 rm -f conftest.$ac_objext
46731 if { (ac_try="$ac_compile"
46732 case "(($ac_try" in
46733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46734 *) ac_try_echo=$ac_try;;
46736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46737 (eval "$ac_compile") 2>conftest.er1
46739 grep -v '^ *+' conftest.er1 >conftest.err
46741 cat conftest.err >&5
46742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46743 (exit $ac_status); } && {
46744 test -z "$ac_cxx_werror_flag" ||
46745 test ! -s conftest.err
46746 } && test -s conftest.$ac_objext; then
46747 wx_cv_type_getsockopt5=size_t
46749 echo "$as_me: failed program was:" >&5
46750 sed 's/^/| /' conftest.$ac_ext >&5
46752 cat >conftest.$ac_ext <<_ACEOF
46755 cat confdefs.h >>conftest.$ac_ext
46756 cat >>conftest.$ac_ext <<_ACEOF
46757 /* end confdefs.h. */
46759 #include <sys/types.h>
46760 #include <sys/socket.h>
46767 getsockopt(0, 0, 0, 0, &len);
46773 rm -f conftest.$ac_objext
46774 if { (ac_try="$ac_compile"
46775 case "(($ac_try" in
46776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46777 *) ac_try_echo=$ac_try;;
46779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46780 (eval "$ac_compile") 2>conftest.er1
46782 grep -v '^ *+' conftest.er1 >conftest.err
46784 cat conftest.err >&5
46785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46786 (exit $ac_status); } && {
46787 test -z "$ac_cxx_werror_flag" ||
46788 test ! -s conftest.err
46789 } && test -s conftest.$ac_objext; then
46790 wx_cv_type_getsockopt5=int
46792 echo "$as_me: failed program was:" >&5
46793 sed 's/^/| /' conftest.$ac_ext >&5
46795 wx_cv_type_getsockopt5=unknown
46799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46810 ac_cpp='$CPP $CPPFLAGS'
46811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46817 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46818 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46820 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46822 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46823 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46825 cat >>confdefs.h <<_ACEOF
46826 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46833 if test "$wxUSE_SOCKETS" = "yes" ; then
46834 if test "$wxUSE_IPV6" = "yes"; then
46835 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46836 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46837 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46838 echo $ECHO_N "(cached) $ECHO_C" >&6
46841 cat >conftest.$ac_ext <<_ACEOF
46844 cat confdefs.h >>conftest.$ac_ext
46845 cat >>conftest.$ac_ext <<_ACEOF
46846 /* end confdefs.h. */
46848 #include <sys/types.h>
46849 #include <sys/socket.h>
46850 #include <netinet/in.h>
46856 struct sockaddr_in6 sa6;
46862 rm -f conftest.$ac_objext
46863 if { (ac_try="$ac_compile"
46864 case "(($ac_try" in
46865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46866 *) ac_try_echo=$ac_try;;
46868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46869 (eval "$ac_compile") 2>conftest.er1
46871 grep -v '^ *+' conftest.er1 >conftest.err
46873 cat conftest.err >&5
46874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46875 (exit $ac_status); } && {
46876 test -z "$ac_c_werror_flag" ||
46877 test ! -s conftest.err
46878 } && test -s conftest.$ac_objext; then
46879 wx_cv_type_sockaddr_in6=yes
46881 echo "$as_me: failed program was:" >&5
46882 sed 's/^/| /' conftest.$ac_ext >&5
46884 wx_cv_type_sockaddr_in6=no
46888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46892 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46893 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46895 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46896 cat >>confdefs.h <<\_ACEOF
46897 #define wxUSE_IPV6 1
46901 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46902 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46906 cat >>confdefs.h <<\_ACEOF
46907 #define wxUSE_SOCKETS 1
46910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46913 if test "$wxUSE_PROTOCOL" = "yes"; then
46914 if test "$wxUSE_SOCKETS" != "yes"; then
46915 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46916 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46921 if test "$wxUSE_PROTOCOL" = "yes"; then
46922 cat >>confdefs.h <<\_ACEOF
46923 #define wxUSE_PROTOCOL 1
46927 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_PROTOCOL_HTTP 1
46933 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46934 cat >>confdefs.h <<\_ACEOF
46935 #define wxUSE_PROTOCOL_FTP 1
46939 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46940 cat >>confdefs.h <<\_ACEOF
46941 #define wxUSE_PROTOCOL_FILE 1
46946 if test "$wxUSE_FS_INET" = "yes"; then
46947 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46948 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46953 if test "$wxUSE_URL" = "yes"; then
46954 if test "$wxUSE_PROTOCOL" != "yes"; then
46955 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46956 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46959 if test "$wxUSE_URL" = "yes"; then
46960 cat >>confdefs.h <<\_ACEOF
46961 #define wxUSE_URL 1
46967 if test "$wxUSE_VARIANT" = "yes"; then
46968 cat >>confdefs.h <<\_ACEOF
46969 #define wxUSE_VARIANT 1
46974 if test "$wxUSE_FS_INET" = "yes"; then
46975 cat >>confdefs.h <<\_ACEOF
46976 #define wxUSE_FS_INET 1
46982 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46985 if test "$TOOLKIT" = "MSW"; then
46988 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46989 if test "$USE_DARWIN" = 1; then
46990 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46991 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46993 ac_cpp='$CXXCPP $CPPFLAGS'
46994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46998 cat >conftest.$ac_ext <<_ACEOF
47001 cat confdefs.h >>conftest.$ac_ext
47002 cat >>conftest.$ac_ext <<_ACEOF
47003 /* end confdefs.h. */
47004 #include <IOKit/hid/IOHIDLib.h>
47008 IOHIDQueueInterface *qi = NULL;
47009 IOHIDCallbackFunction cb = NULL;
47010 qi->setEventCallout(NULL, cb, NULL, NULL);
47015 rm -f conftest.$ac_objext
47016 if { (ac_try="$ac_compile"
47017 case "(($ac_try" in
47018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47019 *) ac_try_echo=$ac_try;;
47021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47022 (eval "$ac_compile") 2>conftest.er1
47024 grep -v '^ *+' conftest.er1 >conftest.err
47026 cat conftest.err >&5
47027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47028 (exit $ac_status); } && {
47029 test -z "$ac_cxx_werror_flag" ||
47030 test ! -s conftest.err
47031 } && test -s conftest.$ac_objext; then
47035 echo "$as_me: failed program was:" >&5
47036 sed 's/^/| /' conftest.$ac_ext >&5
47041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47043 ac_cpp='$CPP $CPPFLAGS'
47044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47048 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47049 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47053 if test "$wxUSE_MGL" != 1; then
47055 for ac_header in linux/joystick.h
47057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47061 echo $ECHO_N "(cached) $ECHO_C" >&6
47063 cat >conftest.$ac_ext <<_ACEOF
47066 cat confdefs.h >>conftest.$ac_ext
47067 cat >>conftest.$ac_ext <<_ACEOF
47068 /* end confdefs.h. */
47069 $ac_includes_default
47071 #include <$ac_header>
47073 rm -f conftest.$ac_objext
47074 if { (ac_try="$ac_compile"
47075 case "(($ac_try" in
47076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47077 *) ac_try_echo=$ac_try;;
47079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47080 (eval "$ac_compile") 2>conftest.er1
47082 grep -v '^ *+' conftest.er1 >conftest.err
47084 cat conftest.err >&5
47085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47086 (exit $ac_status); } && {
47087 test -z "$ac_c_werror_flag" ||
47088 test ! -s conftest.err
47089 } && test -s conftest.$ac_objext; then
47090 eval "$as_ac_Header=yes"
47092 echo "$as_me: failed program was:" >&5
47093 sed 's/^/| /' conftest.$ac_ext >&5
47095 eval "$as_ac_Header=no"
47098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47100 ac_res=`eval echo '${'$as_ac_Header'}'`
47101 { echo "$as_me:$LINENO: result: $ac_res" >&5
47102 echo "${ECHO_T}$ac_res" >&6; }
47103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47104 cat >>confdefs.h <<_ACEOF
47105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47115 if test "$wxUSE_JOYSTICK" = "yes"; then
47116 cat >>confdefs.h <<\_ACEOF
47117 #define wxUSE_JOYSTICK 1
47120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47122 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47123 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47129 if test "$wxUSE_FONTENUM" = "yes" ; then
47130 cat >>confdefs.h <<\_ACEOF
47131 #define wxUSE_FONTENUM 1
47136 if test "$wxUSE_FONTMAP" = "yes" ; then
47137 cat >>confdefs.h <<\_ACEOF
47138 #define wxUSE_FONTMAP 1
47143 if test "$wxUSE_UNICODE" = "yes" ; then
47144 cat >>confdefs.h <<\_ACEOF
47145 #define wxUSE_UNICODE 1
47149 if test "$USE_WIN32" != 1; then
47150 wxUSE_UNICODE_MSLU=no
47153 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47154 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47155 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47156 if test "${ac_cv_lib_unicows_main+set}" = set; then
47157 echo $ECHO_N "(cached) $ECHO_C" >&6
47159 ac_check_lib_save_LIBS=$LIBS
47160 LIBS="-lunicows $LIBS"
47161 cat >conftest.$ac_ext <<_ACEOF
47164 cat confdefs.h >>conftest.$ac_ext
47165 cat >>conftest.$ac_ext <<_ACEOF
47166 /* end confdefs.h. */
47177 rm -f conftest.$ac_objext conftest$ac_exeext
47178 if { (ac_try="$ac_link"
47179 case "(($ac_try" in
47180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47181 *) ac_try_echo=$ac_try;;
47183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47184 (eval "$ac_link") 2>conftest.er1
47186 grep -v '^ *+' conftest.er1 >conftest.err
47188 cat conftest.err >&5
47189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47190 (exit $ac_status); } && {
47191 test -z "$ac_c_werror_flag" ||
47192 test ! -s conftest.err
47193 } && test -s conftest$ac_exeext &&
47194 $as_test_x conftest$ac_exeext; then
47195 ac_cv_lib_unicows_main=yes
47197 echo "$as_me: failed program was:" >&5
47198 sed 's/^/| /' conftest.$ac_ext >&5
47200 ac_cv_lib_unicows_main=no
47203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47204 conftest$ac_exeext conftest.$ac_ext
47205 LIBS=$ac_check_lib_save_LIBS
47207 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47208 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47209 if test $ac_cv_lib_unicows_main = yes; then
47211 cat >>confdefs.h <<\_ACEOF
47212 #define wxUSE_UNICODE_MSLU 1
47218 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47219 Applications will only run on Windows NT/2000/XP!" >&5
47220 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47221 Applications will only run on Windows NT/2000/XP!" >&2;}
47222 wxUSE_UNICODE_MSLU=no
47229 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47230 cat >>confdefs.h <<\_ACEOF
47231 #define wxUSE_UNICODE_UTF8 1
47235 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47236 cat >>confdefs.h <<\_ACEOF
47237 #define wxUSE_UTF8_LOCALE_ONLY 1
47244 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47245 cat >>confdefs.h <<\_ACEOF
47246 #define wxUSE_CONSTRAINTS 1
47249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47252 if test "$wxUSE_MDI" = "yes"; then
47253 cat >>confdefs.h <<\_ACEOF
47254 #define wxUSE_MDI 1
47258 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_MDI_ARCHITECTURE 1
47263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47267 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47268 cat >>confdefs.h <<\_ACEOF
47269 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47275 if test "$wxUSE_HELP" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_HELP 1
47280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47282 if test "$wxUSE_MSW" = 1; then
47283 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47284 cat >>confdefs.h <<\_ACEOF
47285 #define wxUSE_MS_HTML_HELP 1
47291 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47292 if test "$wxUSE_HTML" = "yes"; then
47293 cat >>confdefs.h <<\_ACEOF
47294 #define wxUSE_WXHTML_HELP 1
47298 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47299 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47300 wxUSE_WXHTML_HELP=no
47305 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47306 cat >>confdefs.h <<\_ACEOF
47307 #define wxUSE_PRINTING_ARCHITECTURE 1
47310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47313 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_POSTSCRIPT 1
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47325 if test "$wxUSE_SVG" = "yes"; then
47326 cat >>confdefs.h <<\_ACEOF
47327 #define wxUSE_SVG 1
47333 if test "$wxUSE_METAFILE" = "yes"; then
47334 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47335 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47336 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47339 elif test "$wxUSE_METAFILE" = "auto"; then
47340 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
47345 if test "$wxUSE_METAFILE" = "yes"; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_METAFILE 1
47350 if test "$wxUSE_MSW" = 1; then
47351 cat >>confdefs.h <<\_ACEOF
47352 #define wxUSE_ENH_METAFILE 1
47359 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47360 -o "$wxUSE_CLIPBOARD" = "yes" \
47361 -o "$wxUSE_OLE" = "yes" \
47362 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47363 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47364 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47365 if test "${ac_cv_header_ole2_h+set}" = set; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47368 cat >conftest.$ac_ext <<_ACEOF
47371 cat confdefs.h >>conftest.$ac_ext
47372 cat >>conftest.$ac_ext <<_ACEOF
47373 /* end confdefs.h. */
47378 rm -f conftest.$ac_objext
47379 if { (ac_try="$ac_compile"
47380 case "(($ac_try" in
47381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47382 *) ac_try_echo=$ac_try;;
47384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47385 (eval "$ac_compile") 2>conftest.er1
47387 grep -v '^ *+' conftest.er1 >conftest.err
47389 cat conftest.err >&5
47390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47391 (exit $ac_status); } && {
47392 test -z "$ac_c_werror_flag" ||
47393 test ! -s conftest.err
47394 } && test -s conftest.$ac_objext; then
47395 ac_cv_header_ole2_h=yes
47397 echo "$as_me: failed program was:" >&5
47398 sed 's/^/| /' conftest.$ac_ext >&5
47400 ac_cv_header_ole2_h=no
47403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47405 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47406 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47410 if test "$ac_cv_header_ole2_h" = "yes" ; then
47411 if test "$GCC" = yes ; then
47412 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47413 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47414 cat >conftest.$ac_ext <<_ACEOF
47417 cat confdefs.h >>conftest.$ac_ext
47418 cat >>conftest.$ac_ext <<_ACEOF
47419 /* end confdefs.h. */
47420 #include <windows.h>
47430 rm -f conftest.$ac_objext
47431 if { (ac_try="$ac_compile"
47432 case "(($ac_try" in
47433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47434 *) ac_try_echo=$ac_try;;
47436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47437 (eval "$ac_compile") 2>conftest.er1
47439 grep -v '^ *+' conftest.er1 >conftest.err
47441 cat conftest.err >&5
47442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47443 (exit $ac_status); } && {
47444 test -z "$ac_c_werror_flag" ||
47445 test ! -s conftest.err
47446 } && test -s conftest.$ac_objext; then
47447 { echo "$as_me:$LINENO: result: no" >&5
47448 echo "${ECHO_T}no" >&6; }
47450 echo "$as_me: failed program was:" >&5
47451 sed 's/^/| /' conftest.$ac_ext >&5
47453 { echo "$as_me:$LINENO: result: yes" >&5
47454 echo "${ECHO_T}yes" >&6; }
47455 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47459 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47460 if test "$wxUSE_OLE" = "yes" ; then
47461 cat >>confdefs.h <<\_ACEOF
47462 #define wxUSE_OLE 1
47465 cat >>confdefs.h <<\_ACEOF
47466 #define wxUSE_OLE_AUTOMATION 1
47469 cat >>confdefs.h <<\_ACEOF
47470 #define wxUSE_ACTIVEX 1
47473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47477 if test "$wxUSE_DATAOBJ" = "yes" ; then
47478 cat >>confdefs.h <<\_ACEOF
47479 #define wxUSE_DATAOBJ 1
47484 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47485 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47488 wxUSE_DRAG_AND_DROP=no
47494 if test "$wxUSE_IPC" = "yes"; then
47495 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47496 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47497 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47501 if test "$wxUSE_IPC" = "yes"; then
47502 cat >>confdefs.h <<\_ACEOF
47503 #define wxUSE_IPC 1
47506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47510 if test "$wxUSE_DATAOBJ" = "yes"; then
47511 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47512 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47513 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_DATAOBJ 1
47522 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47523 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47525 wxUSE_DRAG_AND_DROP=no
47528 if test "$wxUSE_CLIPBOARD" = "yes"; then
47529 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47530 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47531 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47535 if test "$wxUSE_CLIPBOARD" = "yes"; then
47536 cat >>confdefs.h <<\_ACEOF
47537 #define wxUSE_CLIPBOARD 1
47543 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47544 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47545 "$wxUSE_DFB" = 1; then
47546 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47547 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47548 wxUSE_DRAG_AND_DROP=no
47551 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47552 cat >>confdefs.h <<\_ACEOF
47553 #define wxUSE_DRAG_AND_DROP 1
47560 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47564 if test "$wxUSE_CLIPBOARD" = "yes"; then
47565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47568 if test "$wxUSE_SPLINES" = "yes" ; then
47569 cat >>confdefs.h <<\_ACEOF
47570 #define wxUSE_SPLINES 1
47575 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47576 cat >>confdefs.h <<\_ACEOF
47577 #define wxUSE_MOUSEWHEEL 1
47582 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47583 cat >>confdefs.h <<\_ACEOF
47584 #define wxUSE_UIACTIONSIMULATOR 1
47587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47590 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47591 cat >>confdefs.h <<\_ACEOF
47592 #define wxUSE_DC_TRANSFORM_MATRIX 1
47599 if test "$wxUSE_CONTROLS" = "yes"; then
47603 if test "$wxUSE_MARKUP" = "yes"; then
47604 cat >>confdefs.h <<\_ACEOF
47605 #define wxUSE_MARKUP 1
47610 if test "$wxUSE_ACCEL" = "yes"; then
47611 cat >>confdefs.h <<\_ACEOF
47612 #define wxUSE_ACCEL 1
47618 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47619 cat >>confdefs.h <<\_ACEOF
47620 #define wxUSE_ANIMATIONCTRL 1
47624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47627 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47628 cat >>confdefs.h <<\_ACEOF
47629 #define wxUSE_BANNERWINDOW 1
47634 if test "$wxUSE_BUTTON" = "yes"; then
47635 cat >>confdefs.h <<\_ACEOF
47636 #define wxUSE_BUTTON 1
47642 if test "$wxUSE_BMPBUTTON" = "yes"; then
47643 cat >>confdefs.h <<\_ACEOF
47644 #define wxUSE_BMPBUTTON 1
47650 if test "$wxUSE_CALCTRL" = "yes"; then
47651 cat >>confdefs.h <<\_ACEOF
47652 #define wxUSE_CALENDARCTRL 1
47656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47659 if test "$wxUSE_CARET" = "yes"; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_CARET 1
47665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47668 if test "$wxUSE_COLLPANE" = "yes"; then
47669 cat >>confdefs.h <<\_ACEOF
47670 #define wxUSE_COLLPANE 1
47674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47677 if test "$wxUSE_COMBOBOX" = "yes"; then
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_COMBOBOX 1
47685 if test "$wxUSE_COMBOCTRL" = "yes"; then
47686 cat >>confdefs.h <<\_ACEOF
47687 #define wxUSE_COMBOCTRL 1
47693 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47694 cat >>confdefs.h <<\_ACEOF
47695 #define wxUSE_COMMANDLINKBUTTON 1
47701 if test "$wxUSE_CHOICE" = "yes"; then
47702 cat >>confdefs.h <<\_ACEOF
47703 #define wxUSE_CHOICE 1
47709 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47710 cat >>confdefs.h <<\_ACEOF
47711 #define wxUSE_CHOICEBOOK 1
47717 if test "$wxUSE_CHECKBOX" = "yes"; then
47718 cat >>confdefs.h <<\_ACEOF
47719 #define wxUSE_CHECKBOX 1
47725 if test "$wxUSE_CHECKLST" = "yes"; then
47726 cat >>confdefs.h <<\_ACEOF
47727 #define wxUSE_CHECKLISTBOX 1
47733 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47734 cat >>confdefs.h <<\_ACEOF
47735 #define wxUSE_COLOURPICKERCTRL 1
47741 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47742 cat >>confdefs.h <<\_ACEOF
47743 #define wxUSE_DATEPICKCTRL 1
47749 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47750 cat >>confdefs.h <<\_ACEOF
47751 #define wxUSE_DIRPICKERCTRL 1
47757 if test "$wxUSE_FILECTRL" = "yes"; then
47758 cat >>confdefs.h <<\_ACEOF
47759 #define wxUSE_FILECTRL 1
47765 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_FILEPICKERCTRL 1
47773 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_FONTPICKERCTRL 1
47781 if test "$wxUSE_DISPLAY" = "yes"; then
47782 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47783 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47784 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_DISPLAY 1
47791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47795 if test "$wxUSE_DETECT_SM" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_DETECT_SM 1
47802 if test "$wxUSE_GAUGE" = "yes"; then
47803 cat >>confdefs.h <<\_ACEOF
47804 #define wxUSE_GAUGE 1
47810 if test "$wxUSE_GRID" = "yes"; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_GRID 1
47816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47819 if test "$wxUSE_HEADERCTRL" = "yes"; then
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_HEADERCTRL 1
47827 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47828 cat >>confdefs.h <<\_ACEOF
47829 #define wxUSE_HYPERLINKCTRL 1
47835 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_BITMAPCOMBOBOX 1
47843 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_DATAVIEWCTRL 1
47849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47852 if test "$wxUSE_IMAGLIST" = "yes"; then
47853 cat >>confdefs.h <<\_ACEOF
47854 #define wxUSE_IMAGLIST 1
47859 if test "$wxUSE_INFOBAR" = "yes"; then
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_INFOBAR 1
47866 if test "$wxUSE_LISTBOOK" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_LISTBOOK 1
47874 if test "$wxUSE_LISTBOX" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_LISTBOX 1
47882 if test "$wxUSE_LISTCTRL" = "yes"; then
47883 if test "$wxUSE_IMAGLIST" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_LISTCTRL 1
47889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47891 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47892 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47896 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_EDITABLELISTBOX 1
47904 if test "$wxUSE_NOTEBOOK" = "yes"; then
47905 cat >>confdefs.h <<\_ACEOF
47906 #define wxUSE_NOTEBOOK 1
47910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47913 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47914 cat >>confdefs.h <<\_ACEOF
47915 #define wxUSE_NOTIFICATION_MESSAGE 1
47920 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47921 cat >>confdefs.h <<\_ACEOF
47922 #define wxUSE_ODCOMBOBOX 1
47926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47929 if test "$wxUSE_RADIOBOX" = "yes"; then
47930 cat >>confdefs.h <<\_ACEOF
47931 #define wxUSE_RADIOBOX 1
47937 if test "$wxUSE_RADIOBTN" = "yes"; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_RADIOBTN 1
47945 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47946 cat >>confdefs.h <<\_ACEOF
47947 #define wxUSE_REARRANGECTRL 1
47952 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47953 cat >>confdefs.h <<\_ACEOF
47954 #define wxUSE_RICHMSGDLG 1
47959 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
47960 cat >>confdefs.h <<\_ACEOF
47961 #define wxUSE_RICHTOOLTIP 1
47966 if test "$wxUSE_SASH" = "yes"; then
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_SASH 1
47971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47974 if test "$wxUSE_SCROLLBAR" = "yes"; then
47975 cat >>confdefs.h <<\_ACEOF
47976 #define wxUSE_SCROLLBAR 1
47980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47983 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47984 cat >>confdefs.h <<\_ACEOF
47985 #define wxUSE_SEARCHCTRL 1
47991 if test "$wxUSE_SLIDER" = "yes"; then
47992 cat >>confdefs.h <<\_ACEOF
47993 #define wxUSE_SLIDER 1
47999 if test "$wxUSE_SPINBTN" = "yes"; then
48000 cat >>confdefs.h <<\_ACEOF
48001 #define wxUSE_SPINBTN 1
48007 if test "$wxUSE_SPINCTRL" = "yes"; then
48008 cat >>confdefs.h <<\_ACEOF
48009 #define wxUSE_SPINCTRL 1
48015 if test "$wxUSE_SPLITTER" = "yes"; then
48016 cat >>confdefs.h <<\_ACEOF
48017 #define wxUSE_SPLITTER 1
48020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48023 if test "$wxUSE_STATBMP" = "yes"; then
48024 cat >>confdefs.h <<\_ACEOF
48025 #define wxUSE_STATBMP 1
48031 if test "$wxUSE_STATBOX" = "yes"; then
48032 cat >>confdefs.h <<\_ACEOF
48033 #define wxUSE_STATBOX 1
48039 if test "$wxUSE_STATTEXT" = "yes"; then
48040 cat >>confdefs.h <<\_ACEOF
48041 #define wxUSE_STATTEXT 1
48047 if test "$wxUSE_STATLINE" = "yes"; then
48048 cat >>confdefs.h <<\_ACEOF
48049 #define wxUSE_STATLINE 1
48055 if test "$wxUSE_STATUSBAR" = "yes"; then
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_NATIVE_STATUSBAR 1
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_STATUSBAR 1
48066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48069 if test "$wxUSE_TEXTCTRL" = "yes"; then
48070 cat >>confdefs.h <<\_ACEOF
48071 #define wxUSE_TEXTCTRL 1
48075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48077 cat >>confdefs.h <<\_ACEOF
48078 #define wxUSE_RICHEDIT 1
48081 cat >>confdefs.h <<\_ACEOF
48082 #define wxUSE_RICHEDIT2 1
48087 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
48088 cat >>confdefs.h <<\_ACEOF
48089 #define wxUSE_TIMEPICKCTRL 1
48095 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48096 if test "$wxUSE_OLD_COCOA" = 1 ; then
48097 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48098 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48102 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48103 cat >>confdefs.h <<\_ACEOF
48104 #define wxUSE_TOGGLEBTN 1
48111 if test "$wxUSE_TOOLBAR" = "yes"; then
48112 cat >>confdefs.h <<\_ACEOF
48113 #define wxUSE_TOOLBAR 1
48118 if test "$wxUSE_UNIVERSAL" = "yes"; then
48119 wxUSE_TOOLBAR_NATIVE="no"
48121 wxUSE_TOOLBAR_NATIVE="yes"
48122 cat >>confdefs.h <<\_ACEOF
48123 #define wxUSE_TOOLBAR_NATIVE 1
48128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48131 if test "$wxUSE_TOOLTIPS" = "yes"; then
48132 if test "$wxUSE_MOTIF" = 1; then
48133 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48134 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48136 if test "$wxUSE_UNIVERSAL" = "yes"; then
48137 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48138 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_TOOLTIPS 1
48148 if test "$wxUSE_TREEBOOK" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_TREEBOOK 1
48156 if test "$wxUSE_TOOLBOOK" = "yes"; then
48157 cat >>confdefs.h <<\_ACEOF
48158 #define wxUSE_TOOLBOOK 1
48164 if test "$wxUSE_TREECTRL" = "yes"; then
48165 if test "$wxUSE_IMAGLIST" = "yes"; then
48166 cat >>confdefs.h <<\_ACEOF
48167 #define wxUSE_TREECTRL 1
48171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48173 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48174 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48178 if test "$wxUSE_TREELISTCTRL" = "yes"; then
48179 cat >>confdefs.h <<\_ACEOF
48180 #define wxUSE_TREELISTCTRL 1
48186 if test "$wxUSE_POPUPWIN" = "yes"; then
48187 if test "$wxUSE_OLD_COCOA" = 1 ; then
48188 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48189 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48191 if test "$wxUSE_PM" = 1; then
48192 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48193 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48195 cat >>confdefs.h <<\_ACEOF
48196 #define wxUSE_POPUPWIN 1
48199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48206 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48207 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48208 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48209 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_DIALUP_MANAGER 1
48215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48219 if test "$wxUSE_TIPWINDOW" = "yes"; then
48220 if test "$wxUSE_PM" = 1; then
48221 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48222 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48224 cat >>confdefs.h <<\_ACEOF
48225 #define wxUSE_TIPWINDOW 1
48231 if test "$USES_CONTROLS" = 1; then
48232 cat >>confdefs.h <<\_ACEOF
48233 #define wxUSE_CONTROLS 1
48239 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_ACCESSIBILITY 1
48244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48247 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
48248 cat >>confdefs.h <<\_ACEOF
48249 #define wxUSE_ARTPROVIDER_STD 1
48254 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
48255 if test "$wxUSE_GTK" != 1; then
48256 if test "$wxUSE_LIBPNG" != no -a \
48257 "$wxUSE_IMAGE" = yes -a \
48258 "$wxUSE_STREAMS" = yes; then
48259 wxUSE_ARTPROVIDER_TANGO="yes"
48264 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_ARTPROVIDER_TANGO 1
48271 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48272 cat >>confdefs.h <<\_ACEOF
48273 #define wxUSE_DRAGIMAGE 1
48276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48279 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48280 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48281 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48282 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_EXCEPTIONS 1
48288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48293 if test "$wxUSE_HTML" = "yes"; then
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_HTML 1
48299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48301 if test "$wxUSE_WEBKIT" = "yes"; then
48302 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48303 old_CPPFLAGS="$CPPFLAGS"
48304 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48305 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48306 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48307 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48308 echo $ECHO_N "(cached) $ECHO_C" >&6
48310 cat >conftest.$ac_ext <<_ACEOF
48313 cat confdefs.h >>conftest.$ac_ext
48314 cat >>conftest.$ac_ext <<_ACEOF
48315 /* end confdefs.h. */
48317 #include <Carbon/Carbon.h>
48318 #include <WebKit/WebKit.h>
48321 #include <WebKit/HIWebView.h>
48323 rm -f conftest.$ac_objext
48324 if { (ac_try="$ac_compile"
48325 case "(($ac_try" in
48326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48327 *) ac_try_echo=$ac_try;;
48329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48330 (eval "$ac_compile") 2>conftest.er1
48332 grep -v '^ *+' conftest.er1 >conftest.err
48334 cat conftest.err >&5
48335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48336 (exit $ac_status); } && {
48337 test -z "$ac_c_werror_flag" ||
48338 test ! -s conftest.err
48339 } && test -s conftest.$ac_objext; then
48340 ac_cv_header_WebKit_HIWebView_h=yes
48342 echo "$as_me: failed program was:" >&5
48343 sed 's/^/| /' conftest.$ac_ext >&5
48345 ac_cv_header_WebKit_HIWebView_h=no
48348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48350 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48351 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48352 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48354 cat >>confdefs.h <<\_ACEOF
48355 #define wxUSE_WEBKIT 1
48358 WEBKIT_LINK="-framework WebKit"
48362 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48363 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48369 CPPFLAGS="$old_CPPFLAGS"
48370 elif test "$wxUSE_OLD_COCOA" = 1; then
48371 cat >>confdefs.h <<\_ACEOF
48372 #define wxUSE_WEBKIT 1
48378 if test "$wxUSE_WEBKIT" = "yes"; then
48379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48384 if test "$wxUSE_XRC" = "yes"; then
48385 if test "$wxUSE_XML" != "yes"; then
48386 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48387 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48390 cat >>confdefs.h <<\_ACEOF
48391 #define wxUSE_XRC 1
48395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48400 if test "$wxUSE_AUI" = "yes"; then
48401 cat >>confdefs.h <<\_ACEOF
48402 #define wxUSE_AUI 1
48406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48410 if test "$wxUSE_PROPGRID" = "yes"; then
48411 cat >>confdefs.h <<\_ACEOF
48412 #define wxUSE_PROPGRID 1
48416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48420 if test "$wxUSE_RIBBON" = "yes"; then
48421 cat >>confdefs.h <<\_ACEOF
48422 #define wxUSE_RIBBON 1
48426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48430 if test "$wxUSE_STC" = "yes"; then
48431 cat >>confdefs.h <<\_ACEOF
48432 #define wxUSE_STC 1
48436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48438 # Extract the first word of "python", so it can be a program name with args.
48439 set dummy python; ac_word=$2
48440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48442 if test "${ac_cv_path_PYTHON+set}" = set; then
48443 echo $ECHO_N "(cached) $ECHO_C" >&6
48447 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48451 for as_dir in $PATH
48454 test -z "$as_dir" && as_dir=.
48455 for ac_exec_ext in '' $ac_executable_extensions; do
48456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48457 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48468 PYTHON=$ac_cv_path_PYTHON
48469 if test -n "$PYTHON"; then
48470 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48471 echo "${ECHO_T}$PYTHON" >&6; }
48473 { echo "$as_me:$LINENO: result: no" >&5
48474 echo "${ECHO_T}no" >&6; }
48478 if test "x$PYTHON" = "x"; then
48484 if test "$wxUSE_MENUS" = "yes"; then
48485 cat >>confdefs.h <<\_ACEOF
48486 #define wxUSE_MENUS 1
48489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48492 if test "$wxUSE_MIMETYPE" = "yes"; then
48493 cat >>confdefs.h <<\_ACEOF
48494 #define wxUSE_MIMETYPE 1
48499 if test "$wxUSE_MINIFRAME" = "yes"; then
48500 cat >>confdefs.h <<\_ACEOF
48501 #define wxUSE_MINIFRAME 1
48506 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48507 cat >>confdefs.h <<\_ACEOF
48508 #define wxUSE_SYSTEM_OPTIONS 1
48513 if test "$wxUSE_TASKBARICON" = "yes"; then
48514 cat >>confdefs.h <<\_ACEOF
48515 #define wxUSE_TASKBARICON 1
48518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48522 if test "$wxUSE_VALIDATORS" = "yes"; then
48523 cat >>confdefs.h <<\_ACEOF
48524 #define wxUSE_VALIDATORS 1
48527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48530 if test "$wxUSE_PALETTE" = "yes" ; then
48531 if test "$wxUSE_DFB" = 1; then
48532 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48533 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48536 cat >>confdefs.h <<\_ACEOF
48537 #define wxUSE_PALETTE 1
48543 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48544 LIBS=" -lunicows $LIBS"
48548 if test "$wxUSE_RICHTEXT" = "yes"; then
48549 cat >>confdefs.h <<\_ACEOF
48550 #define wxUSE_RICHTEXT 1
48554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48557 if test "$wxUSE_WEBVIEW" = "yes"; then
48558 USE_WEBVIEW_WEBKIT=0
48559 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
48560 if test "$wxUSE_GTK" = 1; then
48561 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
48562 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
48565 for ac_dir in $SEARCH_LIB
48567 for ac_extension in a so sl dylib dll.a; do
48568 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
48569 ac_find_libraries=$ac_dir
48575 if test "$ac_find_libraries" != "" ; then
48577 if test "$ac_find_libraries" = "default location"; then
48580 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
48582 if test $result = 0; then
48585 ac_path_to_link=" -L$ac_find_libraries"
48589 if test "$ac_path_to_link" != " -L/usr/lib" ; then
48590 LDFLAGS="$LDFLAGS $ac_path_to_link"
48592 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
48593 { echo "$as_me:$LINENO: result: yes" >&5
48594 echo "${ECHO_T}yes" >&6; }
48596 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
48597 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
48600 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
48602 if test -f "$ac_dir/webkit/webkit.h"; then
48603 ac_find_includes=$ac_dir
48608 if test "$ac_find_includes" != "" ; then
48609 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
48610 echo "${ECHO_T}found in $ac_find_includes" >&6; }
48612 if test "x$ac_find_includes" = "x/usr/include"; then
48613 ac_path_to_include=""
48615 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
48617 if test $result = 0; then
48618 ac_path_to_include=""
48620 ac_path_to_include=" -I$ac_find_includes"
48624 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
48626 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
48627 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
48630 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
48632 if test -f "$ac_dir/libsoup/soup.h"; then
48633 ac_find_includes=$ac_dir
48638 if test "$ac_find_includes" != "" ; then
48639 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
48640 echo "${ECHO_T}found in $ac_find_includes" >&6; }
48642 if test "x$ac_find_includes" = "x/usr/include"; then
48643 ac_path_to_include=""
48645 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
48647 if test $result = 0; then
48648 ac_path_to_include=""
48650 ac_path_to_include=" -I$ac_find_includes"
48654 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
48656 USE_WEBVIEW_WEBKIT=1
48658 { echo "$as_me:$LINENO: result: not found" >&5
48659 echo "${ECHO_T}not found" >&6; }
48660 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
48661 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
48664 { echo "$as_me:$LINENO: result: not found" >&5
48665 echo "${ECHO_T}not found" >&6; }
48666 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
48667 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
48670 { echo "$as_me:$LINENO: result: no" >&5
48671 echo "${ECHO_T}no" >&6; }
48672 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
48673 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
48675 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48676 old_CPPFLAGS="$CPPFLAGS"
48677 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48678 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48679 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48680 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48681 echo $ECHO_N "(cached) $ECHO_C" >&6
48683 cat >conftest.$ac_ext <<_ACEOF
48686 cat confdefs.h >>conftest.$ac_ext
48687 cat >>conftest.$ac_ext <<_ACEOF
48688 /* end confdefs.h. */
48690 #include <Carbon/Carbon.h>
48691 #include <WebKit/WebKit.h>
48694 #include <WebKit/HIWebView.h>
48696 rm -f conftest.$ac_objext
48697 if { (ac_try="$ac_compile"
48698 case "(($ac_try" in
48699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48700 *) ac_try_echo=$ac_try;;
48702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48703 (eval "$ac_compile") 2>conftest.er1
48705 grep -v '^ *+' conftest.er1 >conftest.err
48707 cat conftest.err >&5
48708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48709 (exit $ac_status); } && {
48710 test -z "$ac_c_werror_flag" ||
48711 test ! -s conftest.err
48712 } && test -s conftest.$ac_objext; then
48713 ac_cv_header_WebKit_HIWebView_h=yes
48715 echo "$as_me: failed program was:" >&5
48716 sed 's/^/| /' conftest.$ac_ext >&5
48718 ac_cv_header_WebKit_HIWebView_h=no
48721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48723 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48724 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48725 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48727 USE_WEBVIEW_WEBKIT=1
48728 WEBKIT_LINK="-framework WebKit"
48732 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
48733 echo "$as_me: WARNING: WebKit headers not found" >&2;}
48738 CPPFLAGS="$old_CPPFLAGS"
48743 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
48744 if test "$USE_WEBVIEW_WEBKIT" = 1; then
48745 wxUSE_WEBVIEW="yes"
48746 cat >>confdefs.h <<\_ACEOF
48747 #define wxUSE_WEBVIEW_WEBKIT 1
48751 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
48752 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
48754 elif test "$wxUSE_MSW" = 1; then
48755 if test "wxUSE_WEBVIEW_IE" = "yes"; then
48756 wxUSE_WEBVIEW="yes"
48757 cat >>confdefs.h <<\_ACEOF
48758 #define wxUSE_WEBVIEW_IE 1
48765 if test "$wxUSE_WEBVIEW" = "yes"; then
48767 cat >>confdefs.h <<\_ACEOF
48768 #define wxUSE_WEBVIEW 1
48771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
48777 if test "$wxUSE_IMAGE" = "yes" ; then
48778 cat >>confdefs.h <<\_ACEOF
48779 #define wxUSE_IMAGE 1
48783 if test "$wxUSE_GIF" = "yes" ; then
48784 cat >>confdefs.h <<\_ACEOF
48785 #define wxUSE_GIF 1
48790 if test "$wxUSE_PCX" = "yes" ; then
48791 cat >>confdefs.h <<\_ACEOF
48792 #define wxUSE_PCX 1
48797 if test "$wxUSE_TGA" = "yes" ; then
48798 cat >>confdefs.h <<\_ACEOF
48799 #define wxUSE_TGA 1
48804 if test "$wxUSE_IFF" = "yes" ; then
48805 cat >>confdefs.h <<\_ACEOF
48806 #define wxUSE_IFF 1
48811 if test "$wxUSE_PNM" = "yes" ; then
48812 cat >>confdefs.h <<\_ACEOF
48813 #define wxUSE_PNM 1
48818 if test "$wxUSE_XPM" = "yes" ; then
48819 cat >>confdefs.h <<\_ACEOF
48820 #define wxUSE_XPM 1
48825 if test "$wxUSE_ICO_CUR" = "yes" ; then
48826 cat >>confdefs.h <<\_ACEOF
48827 #define wxUSE_ICO_CUR 1
48834 if test "$wxUSE_ABOUTDLG" = "yes"; then
48835 cat >>confdefs.h <<\_ACEOF
48836 #define wxUSE_ABOUTDLG 1
48841 if test "$wxUSE_CHOICEDLG" = "yes"; then
48842 cat >>confdefs.h <<\_ACEOF
48843 #define wxUSE_CHOICEDLG 1
48848 if test "$wxUSE_COLOURDLG" = "yes"; then
48849 cat >>confdefs.h <<\_ACEOF
48850 #define wxUSE_COLOURDLG 1
48855 if test "$wxUSE_FILEDLG" = "yes"; then
48856 cat >>confdefs.h <<\_ACEOF
48857 #define wxUSE_FILEDLG 1
48862 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48863 cat >>confdefs.h <<\_ACEOF
48864 #define wxUSE_FINDREPLDLG 1
48869 if test "$wxUSE_FONTDLG" = "yes"; then
48870 cat >>confdefs.h <<\_ACEOF
48871 #define wxUSE_FONTDLG 1
48876 if test "$wxUSE_DIRDLG" = "yes"; then
48877 if test "$wxUSE_TREECTRL" != "yes"; then
48878 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48879 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48881 cat >>confdefs.h <<\_ACEOF
48882 #define wxUSE_DIRDLG 1
48888 if test "$wxUSE_MSGDLG" = "yes"; then
48889 cat >>confdefs.h <<\_ACEOF
48890 #define wxUSE_MSGDLG 1
48895 if test "$wxUSE_NUMBERDLG" = "yes"; then
48896 cat >>confdefs.h <<\_ACEOF
48897 #define wxUSE_NUMBERDLG 1
48902 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48903 cat >>confdefs.h <<\_ACEOF
48904 #define wxUSE_PROGRESSDLG 1
48909 if test "$wxUSE_SPLASH" = "yes"; then
48910 cat >>confdefs.h <<\_ACEOF
48911 #define wxUSE_SPLASH 1
48914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48917 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48918 cat >>confdefs.h <<\_ACEOF
48919 #define wxUSE_STARTUP_TIPS 1
48924 if test "$wxUSE_TEXTDLG" = "yes"; then
48925 cat >>confdefs.h <<\_ACEOF
48926 #define wxUSE_TEXTDLG 1
48931 if test "$wxUSE_WIZARDDLG" = "yes"; then
48932 cat >>confdefs.h <<\_ACEOF
48933 #define wxUSE_WIZARDDLG 1
48936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48940 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48941 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48942 cat >>confdefs.h <<\_ACEOF
48943 #define wxUSE_OWNER_DRAWN 1
48950 if test "$wxUSE_MSW" = 1 ; then
48952 if test "$wxUSE_DC_CACHEING" = "yes"; then
48953 cat >>confdefs.h <<\_ACEOF
48954 #define wxUSE_DC_CACHEING 1
48959 if test "$wxUSE_DIB" = "yes"; then
48960 cat >>confdefs.h <<\_ACEOF
48961 #define wxUSE_WXDIB 1
48966 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48967 cat >>confdefs.h <<\_ACEOF
48968 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48973 if test "$wxUSE_UXTHEME" = "yes"; then
48974 cat >>confdefs.h <<\_ACEOF
48975 #define wxUSE_UXTHEME 1
48982 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48983 cat >>confdefs.h <<\_ACEOF
48984 #define wxUSE_AUTOID_MANAGEMENT 1
48989 if test "$USE_WIN32" = 1 ; then
48990 if test "$wxUSE_INICONF" = "yes"; then
48991 cat >>confdefs.h <<\_ACEOF
48992 #define wxUSE_INICONF 1
48997 if test "$wxUSE_REGKEY" = "yes"; then
48998 cat >>confdefs.h <<\_ACEOF
48999 #define wxUSE_REGKEY 1
49006 if test "$wxUSE_MAC" = 1; then
49007 wxUSE_GRAPHICS_CONTEXT="yes"
49010 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49012 if test "$wxUSE_MSW" = 1; then
49013 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
49014 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
49015 if test "${wx_cv_lib_gdiplus+set}" = set; then
49016 echo $ECHO_N "(cached) $ECHO_C" >&6
49020 ac_cpp='$CXXCPP $CPPFLAGS'
49021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49025 cat >conftest.$ac_ext <<_ACEOF
49028 cat confdefs.h >>conftest.$ac_ext
49029 cat >>conftest.$ac_ext <<_ACEOF
49030 /* end confdefs.h. */
49031 #include <windows.h>
49032 #include <gdiplus.h>
49037 using namespace Gdiplus;
49043 rm -f conftest.$ac_objext
49044 if { (ac_try="$ac_compile"
49045 case "(($ac_try" in
49046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49047 *) ac_try_echo=$ac_try;;
49049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49050 (eval "$ac_compile") 2>conftest.er1
49052 grep -v '^ *+' conftest.er1 >conftest.err
49054 cat conftest.err >&5
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); } && {
49057 test -z "$ac_cxx_werror_flag" ||
49058 test ! -s conftest.err
49059 } && test -s conftest.$ac_objext; then
49060 wx_cv_lib_gdiplus=yes
49062 echo "$as_me: failed program was:" >&5
49063 sed 's/^/| /' conftest.$ac_ext >&5
49065 wx_cv_lib_gdiplus=no
49069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49071 ac_cpp='$CPP $CPPFLAGS'
49072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49079 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
49080 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
49081 if test "$wx_cv_lib_gdiplus" = "yes"; then
49084 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
49087 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49088 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49090 if test -n "$PKG_CONFIG"; then
49091 if test -n "$CAIRO_CFLAGS"; then
49092 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49094 if test -n "$PKG_CONFIG" && \
49095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49096 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49099 (exit $ac_status); }; then
49100 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49108 if test -n "$PKG_CONFIG"; then
49109 if test -n "$CAIRO_LIBS"; then
49110 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49112 if test -n "$PKG_CONFIG" && \
49113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49114 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49117 (exit $ac_status); }; then
49118 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49129 if test $pkg_failed = yes; then
49131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49132 _pkg_short_errors_supported=yes
49134 _pkg_short_errors_supported=no
49136 if test $_pkg_short_errors_supported = yes; then
49137 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49139 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49141 # Put the nasty error message in config.log where it belongs
49142 echo "$CAIRO_PKG_ERRORS" >&5
49144 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
49145 echo "$as_me: WARNING: Cairo library not found" >&2;}
49147 elif test $pkg_failed = untried; then
49148 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
49149 echo "$as_me: WARNING: Cairo library not found" >&2;}
49152 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49153 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49154 { echo "$as_me:$LINENO: result: yes" >&5
49155 echo "${ECHO_T}yes" >&6; }
49158 if test "$wx_has_graphics" = 1; then
49160 LIBS="$LIBS $CAIRO_LIBS"
49162 for ac_func in cairo_push_group
49164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49165 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49167 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49168 echo $ECHO_N "(cached) $ECHO_C" >&6
49170 cat >conftest.$ac_ext <<_ACEOF
49173 cat confdefs.h >>conftest.$ac_ext
49174 cat >>conftest.$ac_ext <<_ACEOF
49175 /* end confdefs.h. */
49176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49178 #define $ac_func innocuous_$ac_func
49180 /* System header to define __stub macros and hopefully few prototypes,
49181 which can conflict with char $ac_func (); below.
49182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49183 <limits.h> exists even on freestanding compilers. */
49186 # include <limits.h>
49188 # include <assert.h>
49193 /* Override any GCC internal prototype to avoid an error.
49194 Use char because int might match the return type of a GCC
49195 builtin and then its argument prototype would still apply. */
49200 /* The GNU C library defines this for functions which it implements
49201 to always fail with ENOSYS. Some functions are actually named
49202 something starting with __ and the normal name is an alias. */
49203 #if defined __stub_$ac_func || defined __stub___$ac_func
49210 return $ac_func ();
49215 rm -f conftest.$ac_objext conftest$ac_exeext
49216 if { (ac_try="$ac_link"
49217 case "(($ac_try" in
49218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49219 *) ac_try_echo=$ac_try;;
49221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49222 (eval "$ac_link") 2>conftest.er1
49224 grep -v '^ *+' conftest.er1 >conftest.err
49226 cat conftest.err >&5
49227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49228 (exit $ac_status); } && {
49229 test -z "$ac_c_werror_flag" ||
49230 test ! -s conftest.err
49231 } && test -s conftest$ac_exeext &&
49232 $as_test_x conftest$ac_exeext; then
49233 eval "$as_ac_var=yes"
49235 echo "$as_me: failed program was:" >&5
49236 sed 's/^/| /' conftest.$ac_ext >&5
49238 eval "$as_ac_var=no"
49241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49242 conftest$ac_exeext conftest.$ac_ext
49244 ac_res=`eval echo '${'$as_ac_var'}'`
49245 { echo "$as_me:$LINENO: result: $ac_res" >&5
49246 echo "${ECHO_T}$ac_res" >&6; }
49247 if test `eval echo '${'$as_ac_var'}'` = yes; then
49248 cat >>confdefs.h <<_ACEOF
49249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49256 if test "$ac_cv_func_cairo_push_group" = "no"; then
49258 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
49259 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
49261 cat >>confdefs.h <<\_ACEOF
49262 #define wxUSE_CAIRO 1
49266 if test "$wxUSE_GTK" != 1; then
49267 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
49268 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
49276 if test "$wx_has_graphics" = 1; then
49277 cat >>confdefs.h <<\_ACEOF
49278 #define wxUSE_GRAPHICS_CONTEXT 1
49282 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
49283 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
49290 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
49293 if test "$wxUSE_GTK" = 1; then
49294 wxUSE_GSTREAMER="no"
49296 GST_VERSION_MAJOR=0
49297 GST_VERSION_MINOR=10
49298 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49300 if test "$wxUSE_GSTREAMER8" = "no"; then
49303 { echo "$as_me:$LINENO: checking for GST" >&5
49304 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49306 if test -n "$PKG_CONFIG"; then
49307 if test -n "$GST_CFLAGS"; then
49308 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49310 if test -n "$PKG_CONFIG" && \
49311 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49312 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49315 (exit $ac_status); }; then
49316 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49324 if test -n "$PKG_CONFIG"; then
49325 if test -n "$GST_LIBS"; then
49326 pkg_cv_GST_LIBS="$GST_LIBS"
49328 if test -n "$PKG_CONFIG" && \
49329 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49330 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49333 (exit $ac_status); }; then
49334 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49345 if test $pkg_failed = yes; then
49347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49348 _pkg_short_errors_supported=yes
49350 _pkg_short_errors_supported=no
49352 if test $_pkg_short_errors_supported = yes; then
49353 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49355 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49357 # Put the nasty error message in config.log where it belongs
49358 echo "$GST_PKG_ERRORS" >&5
49361 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49362 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49363 GST_VERSION_MINOR=8
49366 elif test $pkg_failed = untried; then
49368 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49369 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49370 GST_VERSION_MINOR=8
49374 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49375 GST_LIBS=$pkg_cv_GST_LIBS
49376 { echo "$as_me:$LINENO: result: yes" >&5
49377 echo "${ECHO_T}yes" >&6; }
49379 wxUSE_GSTREAMER="yes"
49380 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49384 GST_VERSION_MINOR=8
49387 if test $GST_VERSION_MINOR = "8"; then
49388 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49391 { echo "$as_me:$LINENO: checking for GST" >&5
49392 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49394 if test -n "$PKG_CONFIG"; then
49395 if test -n "$GST_CFLAGS"; then
49396 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49398 if test -n "$PKG_CONFIG" && \
49399 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49400 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49403 (exit $ac_status); }; then
49404 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49412 if test -n "$PKG_CONFIG"; then
49413 if test -n "$GST_LIBS"; then
49414 pkg_cv_GST_LIBS="$GST_LIBS"
49416 if test -n "$PKG_CONFIG" && \
49417 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49418 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49421 (exit $ac_status); }; then
49422 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49433 if test $pkg_failed = yes; then
49435 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49436 _pkg_short_errors_supported=yes
49438 _pkg_short_errors_supported=no
49440 if test $_pkg_short_errors_supported = yes; then
49441 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49443 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49445 # Put the nasty error message in config.log where it belongs
49446 echo "$GST_PKG_ERRORS" >&5
49449 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49450 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49452 elif test $pkg_failed = untried; then
49454 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49455 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49458 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49459 GST_LIBS=$pkg_cv_GST_LIBS
49460 { echo "$as_me:$LINENO: result: yes" >&5
49461 echo "${ECHO_T}yes" >&6; }
49462 wxUSE_GSTREAMER="yes"
49467 if test "$wxUSE_GSTREAMER" = "yes"; then
49468 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49469 EXTRALIBS_MEDIA="$GST_LIBS"
49471 cat >>confdefs.h <<\_ACEOF
49472 #define wxUSE_GSTREAMER 1
49480 if test $USE_MEDIA = 1; then
49481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49482 cat >>confdefs.h <<\_ACEOF
49483 #define wxUSE_MEDIACTRL 1
49487 if test "$wxUSE_MEDIACTRL" = "yes"; then
49488 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
49489 echo "$as_me: error: GStreamer not available" >&2;}
49490 { (exit 1); exit 1; }; }
49492 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
49493 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
49499 if test "$cross_compiling" != "no"; then
49502 OSINFO=`uname -s -r -m`
49503 OSINFO="\"$OSINFO\""
49506 cat >>confdefs.h <<_ACEOF
49507 #define WXWIN_OS_DESCRIPTION $OSINFO
49512 if test "x$prefix" != "xNONE"; then
49515 wxPREFIX=$ac_default_prefix
49518 cat >>confdefs.h <<_ACEOF
49519 #define wxINSTALL_PREFIX "$wxPREFIX"
49525 STD_BASE_LIBS="base"
49527 BUILT_WX_LIBS="base"
49528 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49530 if test "$wxUSE_SOCKETS" = "yes" ; then
49531 STD_BASE_LIBS="net $STD_BASE_LIBS"
49532 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49534 if test "$wxUSE_XML" = "yes" ; then
49535 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49536 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49539 if test "$wxUSE_GUI" = "yes"; then
49540 STD_GUI_LIBS="adv core"
49541 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49543 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49544 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49545 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49547 if test "$wxUSE_HTML" = "yes" ; then
49548 STD_GUI_LIBS="html $STD_GUI_LIBS"
49549 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49551 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49552 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49554 if test "$wxUSE_OPENGL" = "yes" ; then
49555 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49557 if test "$wxUSE_AUI" = "yes" ; then
49558 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49560 if test "$wxUSE_PROPGRID" = "yes" ; then
49561 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49563 if test "$wxUSE_RIBBON" = "yes" ; then
49564 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49566 if test "$wxUSE_RICHTEXT" = "yes" ; then
49567 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49569 if test "$wxUSE_STC" = "yes" ; then
49570 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49572 if test "$wxUSE_WEBVIEW" = "yes" ; then
49573 STD_GUI_LIBS="webview $STD_GUI_LIBS"
49574 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
49576 if test "$wxUSE_XRC" = "yes" ; then
49577 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49578 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49589 if test "$wxUSE_MAC" = 1 ; then
49590 if test "$USE_DARWIN" = 1; then
49591 if test "$wxUSE_OSX_IPHONE" = 1; then
49592 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49594 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49598 if test "$wxUSE_OLD_COCOA" = 1 ; then
49599 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49600 if test "$wxUSE_MEDIACTRL" = "yes"; then
49601 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49604 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49605 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49608 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49609 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49611 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49613 if test "$wxUSE_GUI" = "yes"; then
49616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49617 erase event exec font image minimal render \
49618 shaped svg taborder vscroll widgets wrapsizer"
49620 if test "$wxUSE_MONOLITHIC" != "yes"; then
49621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49623 if test "$TOOLKIT" = "MSW"; then
49624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49625 if test "$wxUSE_UNIVERSAL" != "yes"; then
49626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49629 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49633 SAMPLES_SUBDIRS="console"
49634 if test "$wxUSE_SOCKETS" = "yes" ; then
49635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49637 if test "$wxUSE_IPC" = "yes" ; then
49638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49643 if test "x$INTELCC" = "xyes" ; then
49644 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49645 elif test "$GCC" = yes ; then
49646 CWARNINGS="-Wall -Wundef"
49649 if test "x$INTELCXX" = "xyes" ; then
49650 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49651 elif test "$GXX" = yes ; then
49652 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49653 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49654 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49655 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49656 echo $ECHO_N "(cached) $ECHO_C" >&6
49658 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49661 ac_cpp='$CXXCPP $CPPFLAGS'
49662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49666 ac_save_CXXFLAGS="$CXXFLAGS"
49667 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49668 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49669 cat >conftest.$ac_ext <<_ACEOF
49672 cat confdefs.h >>conftest.$ac_ext
49673 cat >>conftest.$ac_ext <<_ACEOF
49674 /* end confdefs.h. */
49684 rm -f conftest.$ac_objext
49685 if { (ac_try="$ac_compile"
49686 case "(($ac_try" in
49687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49688 *) ac_try_echo=$ac_try;;
49690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49691 (eval "$ac_compile") 2>conftest.er1
49693 grep -v '^ *+' conftest.er1 >conftest.err
49695 cat conftest.err >&5
49696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49697 (exit $ac_status); } && {
49698 test -z "$ac_cxx_werror_flag" ||
49699 test ! -s conftest.err
49700 } && test -s conftest.$ac_objext; then
49701 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49703 echo "$as_me: failed program was:" >&5
49704 sed 's/^/| /' conftest.$ac_ext >&5
49709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49711 CXXFLAGS="$ac_save_CXXFLAGS"
49713 ac_cpp='$CPP $CPPFLAGS'
49714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49720 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49721 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49722 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49726 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49727 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49728 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49731 (exit $ac_status); }
49732 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49733 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49736 (exit $ac_status); }
49737 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49743 if test "$wxUSE_MAC" = 1 ; then
49744 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49749 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49750 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49753 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49754 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49755 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49758 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49759 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49760 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49761 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49762 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49764 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49767 if test "x$MWCC" = "xyes"; then
49769 CC="$CC -cwd source -I-"
49770 CXX="$CXX -cwd source -I-"
49775 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49776 EXTRALIBS_XML="$EXPAT_LINK"
49777 EXTRALIBS_HTML="$MSPACK_LINK"
49778 EXTRALIBS_MEDIA="$GST_LIBS"
49779 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49780 if test "$wxUSE_GUI" = "yes"; then
49781 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49783 if test "$wxUSE_OPENGL" = "yes"; then
49784 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49787 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49789 WXCONFIG_LIBS="$LIBS"
49791 if test "$wxUSE_REGEX" = "builtin" ; then
49792 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49794 if test "$wxUSE_EXPAT" = "builtin" ; then
49795 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49797 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49798 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49800 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49801 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49803 if test "$wxUSE_LIBPNG" = "builtin" ; then
49804 wxconfig_3rdparty="png $wxconfig_3rdparty"
49806 if test "$wxUSE_ZLIB" = "builtin" ; then
49807 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49810 for i in $wxconfig_3rdparty ; do
49811 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49815 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49818 case "$wxUNIV_THEMES" in
49820 cat >>confdefs.h <<\_ACEOF
49821 #define wxUSE_ALL_THEMES 1
49827 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49828 cat >>confdefs.h <<_ACEOF
49829 #define wxUSE_THEME_$t 1
49845 if test $wxUSE_MONOLITHIC = "yes" ; then
49851 if test $wxUSE_PLUGINS = "yes" ; then
49857 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49863 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49895 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49908 TOOLKIT_DESC="GTK+"
49909 if test "$WXGTK2" = 1; then
49910 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49911 if test "$wxUSE_GTKPRINT" = "yes" ; then
49912 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49914 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49915 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49917 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49918 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49920 if test "$wxUSE_LIBHILDON" = "yes"; then
49921 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49923 if test "$wxUSE_LIBHILDON2" = "yes"; then
49924 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49927 if test "$TOOLKIT_EXTRA" != ""; then
49928 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49934 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49938 TOOLKIT_DESC="base only"
49942 if test "$wxUSE_WINE" = "yes"; then
49943 BAKEFILE_FORCE_PLATFORM=win32
49946 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49948 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49949 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49950 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49951 echo $ECHO_N "(cached) $ECHO_C" >&6
49954 echo '#include <stdio.h>
49955 const wchar_t test_var[] = L"awidetest";' > conftest.h
49957 echo '#include "conftest.h"
49960 printf("%ls", test_var);
49964 wx_cv_gcc_pch_bug="pch not supported"
49966 if $CXX conftest.h >/dev/null 2>&1
49970 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49972 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49973 grep awidetest >/dev/null
49975 wx_cv_gcc_pch_bug=no
49977 wx_cv_gcc_pch_bug=yes
49982 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49985 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49986 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49988 if test "$wx_cv_gcc_pch_bug" = yes; then
49999 if test "x$BAKEFILE_HOST" = "x"; then
50000 if test "x${host}" = "x" ; then
50001 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
50002 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
50003 { (exit 1); exit 1; }; }
50006 BAKEFILE_HOST="${host}"
50009 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
50011 if test -n "$ac_tool_prefix"; then
50012 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50013 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
50014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50016 if test "${ac_cv_prog_RANLIB+set}" = set; then
50017 echo $ECHO_N "(cached) $ECHO_C" >&6
50019 if test -n "$RANLIB"; then
50020 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
50022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50023 for as_dir in $PATH
50026 test -z "$as_dir" && as_dir=.
50027 for ac_exec_ext in '' $ac_executable_extensions; do
50028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50029 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
50030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50039 RANLIB=$ac_cv_prog_RANLIB
50040 if test -n "$RANLIB"; then
50041 { echo "$as_me:$LINENO: result: $RANLIB" >&5
50042 echo "${ECHO_T}$RANLIB" >&6; }
50044 { echo "$as_me:$LINENO: result: no" >&5
50045 echo "${ECHO_T}no" >&6; }
50050 if test -z "$ac_cv_prog_RANLIB"; then
50051 ac_ct_RANLIB=$RANLIB
50052 # Extract the first word of "ranlib", so it can be a program name with args.
50053 set dummy ranlib; ac_word=$2
50054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50056 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50057 echo $ECHO_N "(cached) $ECHO_C" >&6
50059 if test -n "$ac_ct_RANLIB"; then
50060 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50063 for as_dir in $PATH
50066 test -z "$as_dir" && as_dir=.
50067 for ac_exec_ext in '' $ac_executable_extensions; do
50068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50069 ac_cv_prog_ac_ct_RANLIB="ranlib"
50070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50079 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50080 if test -n "$ac_ct_RANLIB"; then
50081 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50082 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50084 { echo "$as_me:$LINENO: result: no" >&5
50085 echo "${ECHO_T}no" >&6; }
50088 if test "x$ac_ct_RANLIB" = x; then
50091 case $cross_compiling:$ac_tool_warned in
50093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50094 whose name does not start with the host triplet. If you think this
50095 configuration is useful to you, please write to autoconf@gnu.org." >&5
50096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50097 whose name does not start with the host triplet. If you think this
50098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50099 ac_tool_warned=yes ;;
50101 RANLIB=$ac_ct_RANLIB
50104 RANLIB="$ac_cv_prog_RANLIB"
50107 # Find a good install program. We prefer a C program (faster),
50108 # so one script is as good as another. But avoid the broken or
50109 # incompatible versions:
50110 # SysV /etc/install, /usr/sbin/install
50111 # SunOS /usr/etc/install
50112 # IRIX /sbin/install
50114 # AmigaOS /C/install, which installs bootblocks on floppy discs
50115 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
50116 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
50117 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
50118 # OS/2's system install, which has a completely different semantic
50119 # ./install, which can be erroneously created by make from ./install.sh.
50120 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
50121 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
50122 if test -z "$INSTALL"; then
50123 if test "${ac_cv_path_install+set}" = set; then
50124 echo $ECHO_N "(cached) $ECHO_C" >&6
50126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50127 for as_dir in $PATH
50130 test -z "$as_dir" && as_dir=.
50131 # Account for people who put trailing slashes in PATH elements.
50133 ./ | .// | /cC/* | \
50134 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
50135 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
50138 # OSF1 and SCO ODT 3.0 have their own names for install.
50139 # Don't use installbsd from OSF since it installs stuff as root
50141 for ac_prog in ginstall scoinst install; do
50142 for ac_exec_ext in '' $ac_executable_extensions; do
50143 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
50144 if test $ac_prog = install &&
50145 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50146 # AIX install. It has an incompatible calling convention.
50148 elif test $ac_prog = install &&
50149 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50150 # program-specific install script used by HP pwplus--don't use.
50153 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
50166 if test "${ac_cv_path_install+set}" = set; then
50167 INSTALL=$ac_cv_path_install
50169 # As a last resort, use the slow shell script. Don't cache a
50170 # value for INSTALL within a source directory, because that will
50171 # break other packages using the cache if that directory is
50172 # removed, or if the value is a relative name.
50173 INSTALL=$ac_install_sh
50176 { echo "$as_me:$LINENO: result: $INSTALL" >&5
50177 echo "${ECHO_T}$INSTALL" >&6; }
50179 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
50180 # It thinks the first close brace ends the variable substitution.
50181 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
50183 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50185 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50187 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
50188 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
50190 if test "$LN_S" = "ln -s"; then
50191 { echo "$as_me:$LINENO: result: yes" >&5
50192 echo "${ECHO_T}yes" >&6; }
50194 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50195 echo "${ECHO_T}no, using $LN_S" >&6; }
50199 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50200 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50201 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50202 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50203 echo $ECHO_N "(cached) $ECHO_C" >&6
50205 cat >conftest.make <<\_ACEOF
50208 @echo '@@@%%%=$(MAKE)=@@@%%%'
50210 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50211 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50212 *@@@%%%=?*=@@@%%%*)
50213 eval ac_cv_prog_make_${ac_make}_set=yes;;
50215 eval ac_cv_prog_make_${ac_make}_set=no;;
50217 rm -f conftest.make
50219 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50220 { echo "$as_me:$LINENO: result: yes" >&5
50221 echo "${ECHO_T}yes" >&6; }
50224 { echo "$as_me:$LINENO: result: no" >&5
50225 echo "${ECHO_T}no" >&6; }
50226 SET_MAKE="MAKE=${MAKE-make}"
50231 if test "x$SUNCXX" = "xyes"; then
50233 AROPTIONS="-xar -o"
50235 elif test "x$SGICC" = "xyes"; then
50240 if test -n "$ac_tool_prefix"; then
50241 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50242 set dummy ${ac_tool_prefix}ar; ac_word=$2
50243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50245 if test "${ac_cv_prog_AR+set}" = set; then
50246 echo $ECHO_N "(cached) $ECHO_C" >&6
50248 if test -n "$AR"; then
50249 ac_cv_prog_AR="$AR" # Let the user override the test.
50251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50252 for as_dir in $PATH
50255 test -z "$as_dir" && as_dir=.
50256 for ac_exec_ext in '' $ac_executable_extensions; do
50257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50258 ac_cv_prog_AR="${ac_tool_prefix}ar"
50259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50269 if test -n "$AR"; then
50270 { echo "$as_me:$LINENO: result: $AR" >&5
50271 echo "${ECHO_T}$AR" >&6; }
50273 { echo "$as_me:$LINENO: result: no" >&5
50274 echo "${ECHO_T}no" >&6; }
50279 if test -z "$ac_cv_prog_AR"; then
50281 # Extract the first word of "ar", so it can be a program name with args.
50282 set dummy ar; ac_word=$2
50283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50285 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50286 echo $ECHO_N "(cached) $ECHO_C" >&6
50288 if test -n "$ac_ct_AR"; then
50289 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50292 for as_dir in $PATH
50295 test -z "$as_dir" && as_dir=.
50296 for ac_exec_ext in '' $ac_executable_extensions; do
50297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50298 ac_cv_prog_ac_ct_AR="ar"
50299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50308 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50309 if test -n "$ac_ct_AR"; then
50310 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50311 echo "${ECHO_T}$ac_ct_AR" >&6; }
50313 { echo "$as_me:$LINENO: result: no" >&5
50314 echo "${ECHO_T}no" >&6; }
50317 if test "x$ac_ct_AR" = x; then
50320 case $cross_compiling:$ac_tool_warned in
50322 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50323 whose name does not start with the host triplet. If you think this
50324 configuration is useful to you, please write to autoconf@gnu.org." >&5
50325 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50326 whose name does not start with the host triplet. If you think this
50327 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50328 ac_tool_warned=yes ;;
50333 AR="$ac_cv_prog_AR"
50340 if test -n "$ac_tool_prefix"; then
50341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50342 set dummy ${ac_tool_prefix}strip; ac_word=$2
50343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50345 if test "${ac_cv_prog_STRIP+set}" = set; then
50346 echo $ECHO_N "(cached) $ECHO_C" >&6
50348 if test -n "$STRIP"; then
50349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50352 for as_dir in $PATH
50355 test -z "$as_dir" && as_dir=.
50356 for ac_exec_ext in '' $ac_executable_extensions; do
50357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50368 STRIP=$ac_cv_prog_STRIP
50369 if test -n "$STRIP"; then
50370 { echo "$as_me:$LINENO: result: $STRIP" >&5
50371 echo "${ECHO_T}$STRIP" >&6; }
50373 { echo "$as_me:$LINENO: result: no" >&5
50374 echo "${ECHO_T}no" >&6; }
50379 if test -z "$ac_cv_prog_STRIP"; then
50381 # Extract the first word of "strip", so it can be a program name with args.
50382 set dummy strip; ac_word=$2
50383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50385 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50386 echo $ECHO_N "(cached) $ECHO_C" >&6
50388 if test -n "$ac_ct_STRIP"; then
50389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50392 for as_dir in $PATH
50395 test -z "$as_dir" && as_dir=.
50396 for ac_exec_ext in '' $ac_executable_extensions; do
50397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50398 ac_cv_prog_ac_ct_STRIP="strip"
50399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50409 if test -n "$ac_ct_STRIP"; then
50410 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50411 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50413 { echo "$as_me:$LINENO: result: no" >&5
50414 echo "${ECHO_T}no" >&6; }
50417 if test "x$ac_ct_STRIP" = x; then
50420 case $cross_compiling:$ac_tool_warned in
50422 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50423 whose name does not start with the host triplet. If you think this
50424 configuration is useful to you, please write to autoconf@gnu.org." >&5
50425 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50426 whose name does not start with the host triplet. If you think this
50427 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50428 ac_tool_warned=yes ;;
50433 STRIP="$ac_cv_prog_STRIP"
50436 if test -n "$ac_tool_prefix"; then
50437 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50438 set dummy ${ac_tool_prefix}nm; ac_word=$2
50439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50441 if test "${ac_cv_prog_NM+set}" = set; then
50442 echo $ECHO_N "(cached) $ECHO_C" >&6
50444 if test -n "$NM"; then
50445 ac_cv_prog_NM="$NM" # Let the user override the test.
50447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50448 for as_dir in $PATH
50451 test -z "$as_dir" && as_dir=.
50452 for ac_exec_ext in '' $ac_executable_extensions; do
50453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50454 ac_cv_prog_NM="${ac_tool_prefix}nm"
50455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50465 if test -n "$NM"; then
50466 { echo "$as_me:$LINENO: result: $NM" >&5
50467 echo "${ECHO_T}$NM" >&6; }
50469 { echo "$as_me:$LINENO: result: no" >&5
50470 echo "${ECHO_T}no" >&6; }
50475 if test -z "$ac_cv_prog_NM"; then
50477 # Extract the first word of "nm", so it can be a program name with args.
50478 set dummy nm; ac_word=$2
50479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50481 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50482 echo $ECHO_N "(cached) $ECHO_C" >&6
50484 if test -n "$ac_ct_NM"; then
50485 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50488 for as_dir in $PATH
50491 test -z "$as_dir" && as_dir=.
50492 for ac_exec_ext in '' $ac_executable_extensions; do
50493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50494 ac_cv_prog_ac_ct_NM="nm"
50495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50504 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50505 if test -n "$ac_ct_NM"; then
50506 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50507 echo "${ECHO_T}$ac_ct_NM" >&6; }
50509 { echo "$as_me:$LINENO: result: no" >&5
50510 echo "${ECHO_T}no" >&6; }
50513 if test "x$ac_ct_NM" = x; then
50516 case $cross_compiling:$ac_tool_warned in
50518 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50519 whose name does not start with the host triplet. If you think this
50520 configuration is useful to you, please write to autoconf@gnu.org." >&5
50521 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50522 whose name does not start with the host triplet. If you think this
50523 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50524 ac_tool_warned=yes ;;
50529 NM="$ac_cv_prog_NM"
50533 INSTALL_DIR="mkdir -p"
50537 case ${BAKEFILE_HOST} in
50538 *-*-cygwin* | *-*-mingw32* )
50539 LDFLAGS_GUI="-mwindows"
50545 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50546 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50547 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50548 echo $ECHO_N "(cached) $ECHO_C" >&6
50551 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50552 egrep -s GNU > /dev/null); then
50553 bakefile_cv_prog_makeisgnu="yes"
50555 bakefile_cv_prog_makeisgnu="no"
50559 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50560 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50562 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50579 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50580 case "${BAKEFILE_HOST}" in
50587 *-pc-os2_emx | *-pc-os2-emx )
50597 powerpc-apple-macos* )
50606 case "$BAKEFILE_FORCE_PLATFORM" in
50627 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50628 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50629 { (exit 1); exit 1; }; }
50644 # Check whether --enable-omf was given.
50645 if test "${enable_omf+set}" = set; then
50646 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50650 case "${BAKEFILE_HOST}" in
50652 if test "x$GCC" = "xyes"; then
50653 CFLAGS="$CFLAGS -fno-common"
50654 CXXFLAGS="$CXXFLAGS -fno-common"
50656 if test "x$XLCC" = "xyes"; then
50657 CFLAGS="$CFLAGS -qnocommon"
50658 CXXFLAGS="$CXXFLAGS -qnocommon"
50662 *-pc-os2_emx | *-pc-os2-emx )
50663 if test "x$bk_os2_use_omf" = "xyes" ; then
50666 LDFLAGS="-Zomf $LDFLAGS"
50667 CFLAGS="-Zomf $CFLAGS"
50668 CXXFLAGS="-Zomf $CXXFLAGS"
50676 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50682 SO_SUFFIX_MODULE="so"
50687 DLLPREFIX_MODULE=""
50691 case "${BAKEFILE_HOST}" in
50696 SO_SUFFIX_MODULE="sl"
50700 SO_SUFFIX_MODULE="a"
50704 SO_SUFFIX_MODULE="dll"
50705 DLLIMP_SUFFIX="dll.a"
50712 SO_SUFFIX_MODULE="dll"
50713 DLLIMP_SUFFIX="dll.a"
50723 *-pc-os2_emx | *-pc-os2-emx )
50725 SO_SUFFIX_MODULE="dll"
50726 DLLIMP_SUFFIX=$OS2_LIBEXT
50730 LIBEXT=".$OS2_LIBEXT"
50735 SO_SUFFIX_MODULE="bundle"
50739 if test "x$DLLIMP_SUFFIX" = "x" ; then
50740 DLLIMP_SUFFIX="$SO_SUFFIX"
50755 if test "x$GCC" = "xyes"; then
50759 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50760 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50763 case "${BAKEFILE_HOST}" in
50765 if test "x$GCC" != "xyes"; then
50766 LDFLAGS="$LDFLAGS -L/usr/lib"
50768 SHARED_LD_CC="${CC} -b -o"
50769 SHARED_LD_CXX="${CXX} -b -o"
50775 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50777 elif test "x$SUNCXX" = "xyes"; then
50778 SHARED_LD_CC="${CC} -G -o"
50779 SHARED_LD_CXX="${CXX} -G -o"
50785 if test "x$SUNCXX" = xyes ; then
50786 SHARED_LD_CC="${CC} -G -o"
50787 SHARED_LD_CXX="${CXX} -G -o"
50795 cat <<EOF >shared-ld-sh
50797 #-----------------------------------------------------------------------------
50798 #-- Name: distrib/mac/shared-ld-sh
50799 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50800 #-- Author: Gilles Depeyrot
50801 #-- Copyright: (c) 2002 Gilles Depeyrot
50802 #-- Licence: any use permitted
50803 #-----------------------------------------------------------------------------
50808 linking_flag="-dynamiclib"
50809 ldargs="-r -keep_private_externs -nostdlib"
50811 if test "x${D}CXX" = "x"; then
50815 while test ${D}# -gt 0; do
50822 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50823 # collect these options and values
50824 args="${D}{args} ${D}1 ${D}2"
50829 # collect these options and values
50830 ldargs="${D}{ldargs} ${D}1 ${D}2"
50835 # collect these load args
50836 ldargs="${D}{ldargs} ${D}1"
50839 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50840 # collect these options
50841 args="${D}{args} ${D}1"
50844 -dynamiclib|-bundle)
50845 linking_flag="${D}1"
50849 echo "shared-ld: unhandled option '${D}1'"
50853 *.o | *.a | *.dylib)
50854 # collect object files
50855 objects="${D}{objects} ${D}1"
50859 echo "shared-ld: unhandled argument '${D}1'"
50870 # Link one module containing all the others
50872 if test ${D}{verbose} = 1; then
50873 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50875 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50879 # Link the shared library from the single module created, but only if the
50880 # previous command didn't fail:
50882 if test ${D}{status} = 0; then
50883 if test ${D}{verbose} = 1; then
50884 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50886 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50891 # Remove intermediate module
50893 rm -f master.${D}${D}.o
50898 chmod +x shared-ld-sh
50900 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50901 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50904 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50905 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50906 if test "${bakefile_cv_gcc31+set}" = set; then
50907 echo $ECHO_N "(cached) $ECHO_C" >&6
50910 cat >conftest.$ac_ext <<_ACEOF
50913 cat confdefs.h >>conftest.$ac_ext
50914 cat >>conftest.$ac_ext <<_ACEOF
50915 /* end confdefs.h. */
50921 #if (__GNUC__ < 3) || \
50922 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50930 rm -f conftest.$ac_objext
50931 if { (ac_try="$ac_compile"
50932 case "(($ac_try" in
50933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50934 *) ac_try_echo=$ac_try;;
50936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50937 (eval "$ac_compile") 2>conftest.er1
50939 grep -v '^ *+' conftest.er1 >conftest.err
50941 cat conftest.err >&5
50942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50943 (exit $ac_status); } && {
50944 test -z "$ac_c_werror_flag" ||
50945 test ! -s conftest.err
50946 } && test -s conftest.$ac_objext; then
50948 bakefile_cv_gcc31=yes
50951 echo "$as_me: failed program was:" >&5
50952 sed 's/^/| /' conftest.$ac_ext >&5
50955 bakefile_cv_gcc31=no
50960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50963 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50964 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50965 if test "$bakefile_cv_gcc31" = "no"; then
50966 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50967 SHARED_LD_CXX="$SHARED_LD_CC"
50969 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50970 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50973 if test "x$GCC" == "xyes"; then
50974 PIC_FLAG="-dynamic -fPIC"
50976 if test "x$XLCC" = "xyes"; then
50977 PIC_FLAG="-dynamic -DPIC"
50982 if test "x$GCC" = "xyes"; then
50985 case "${BAKEFILE_HOST}" in
50987 LD_EXPFULL="-Wl,-bexpfull"
50991 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50992 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50994 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50995 set dummy makeC++SharedLib; ac_word=$2
50996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50998 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50999 echo $ECHO_N "(cached) $ECHO_C" >&6
51001 if test -n "$AIX_CXX_LD"; then
51002 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
51004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51005 for as_dir in $PATH
51008 test -z "$as_dir" && as_dir=.
51009 for ac_exec_ext in '' $ac_executable_extensions; do
51010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51011 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
51012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51019 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
51022 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
51023 if test -n "$AIX_CXX_LD"; then
51024 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
51025 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
51027 { echo "$as_me:$LINENO: result: no" >&5
51028 echo "${ECHO_T}no" >&6; }
51032 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
51033 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
51038 SHARED_LD_CC="${LD} -nostart -o"
51039 SHARED_LD_CXX="${LD} -nostart -o"
51043 if test "x$GCC" != "xyes"; then
51048 *-*-cygwin* | *-*-mingw32* )
51050 SHARED_LD_CC="\$(CC) -shared -o"
51051 SHARED_LD_CXX="\$(CXX) -shared -o"
51055 *-pc-os2_emx | *-pc-os2-emx )
51056 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51057 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51061 cat <<EOF >dllar.sh
51064 # dllar - a tool to build both a .dll and an .a file
51065 # from a set of object (.o) files for EMX/OS2.
51067 # Written by Andrew Zabolotny, bit@freya.etu.ru
51068 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
51070 # This script will accept a set of files on the command line.
51071 # All the public symbols from the .o files will be exported into
51072 # a .DEF file, then linker will be run (through gcc) against them to
51073 # build a shared library consisting of all given .o files. All libraries
51074 # (.a) will be first decompressed into component .o files then act as
51075 # described above. You can optionally give a description (-d "description")
51076 # which will be put into .DLL. To see the list of accepted options (as well
51077 # as command-line format) simply run this program without options. The .DLL
51078 # is built to be imported by name (there is no guarantee that new versions
51079 # of the library you build will have same ordinals for same symbols).
51081 # dllar is free software; you can redistribute it and/or modify
51082 # it under the terms of the GNU General Public License as published by
51083 # the Free Software Foundation; either version 2, or (at your option)
51084 # any later version.
51086 # dllar is distributed in the hope that it will be useful,
51087 # but WITHOUT ANY WARRANTY; without even the implied warranty of
51088 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51089 # GNU General Public License for more details.
51091 # You should have received a copy of the GNU General Public License
51092 # along with dllar; see the file COPYING. If not, write to the Free
51093 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
51096 # To successfuly run this program you will need:
51097 # - Current drive should have LFN support (HPFS, ext2, network, etc)
51098 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
51100 # (used to build the .dll)
51102 # (used to create .def file from .o files)
51104 # (used to create .a file from .def file)
51105 # - GNU text utilites (cat, sort, uniq)
51106 # used to process emxexp output
51107 # - GNU file utilities (mv, rm)
51109 # - lxlite (optional, see flag below)
51110 # (used for general .dll cleanup)
51117 # basnam, variant of basename, which does _not_ remove the path, _iff_
51118 # second argument (suffix to remove) is given
51122 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
51125 echo ${D}1 | sed 's/'${D}2'${D}//'
51128 echo "error in basnam ${D}*"
51134 # Cleanup temporary files and output
51137 for i in ${D}inputFiles ; do
51140 rm -rf \`basnam ${D}i !\`
51147 # Kill result in case of failure as there is just to many stupid make/nmake
51148 # things out there which doesn't do this.
51149 if [ ${D}# -eq 0 ]; then
51150 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
51154 # Print usage and exit script with rc=1.
51156 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
51157 echo ' [-name-mangler-script script.sh]'
51158 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
51159 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
51160 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
51161 echo ' [*.o] [*.a]'
51162 echo '*> "output_file" should have no extension.'
51163 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
51164 echo ' The import library name is derived from this and is set to "name".a,'
51165 echo ' unless overridden by -import'
51166 echo '*> "importlib_name" should have no extension.'
51167 echo ' If it has the .o, or .a extension, it is automatically removed.'
51168 echo ' This name is used as the import library name and may be longer and'
51169 echo ' more descriptive than the DLL name which has to follow the old '
51170 echo ' 8.3 convention of FAT.'
51171 echo '*> "script.sh may be given to override the output_file name by a'
51172 echo ' different name. It is mainly useful if the regular make process'
51173 echo ' of some package does not take into account OS/2 restriction of'
51174 echo ' DLL name lengths. It takes the importlib name as input and is'
51175 echo ' supposed to procude a shorter name as output. The script should'
51176 echo ' expect to get importlib_name without extension and should produce'
51177 echo ' a (max.) 8 letter name without extension.'
51178 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
51179 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
51180 echo ' These flags will be put at the start of GCC command line.'
51181 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
51182 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
51183 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
51184 echo ' If the last character of a symbol is "*", all symbols beginning'
51185 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
51186 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
51187 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
51188 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
51189 echo ' C runtime DLLs.'
51190 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
51191 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
51192 echo ' unchanged to GCC at the end of command line.'
51193 echo '*> If you create a DLL from a library and you do not specify -o,'
51194 echo ' the basename for DLL and import library will be set to library name,'
51195 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
51196 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
51197 echo ' library will be renamed into gcc_s.a.'
51200 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
51201 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
51206 # Execute a command.
51207 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51208 # @Uses Whatever CleanUp() uses.
51214 if [ ${D}rcCmd -ne 0 ]; then
51215 echo "command failed, exit code="${D}rcCmd
51230 CFLAGS="-s -Zcrtdll"
51232 EXPORT_BY_ORDINALS=0
51237 case ${D}curDirS in
51241 curDirS=${D}{curDirS}"/"
51244 # Parse commandline
51247 while [ ${D}1 ]; do
51250 EXPORT_BY_ORDINALS=1;
51260 -name-mangler-script)
51281 exclude_symbols=${D}{exclude_symbols}${D}1" "
51285 library_flags=${D}{library_flags}${D}1" "
51304 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51307 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51308 if [ ${D}omfLinking -eq 1 ]; then
51309 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51311 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51316 if [ ${D}libsToLink -ne 0 ]; then
51317 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51319 for file in ${D}1 ; do
51320 if [ -f ${D}file ]; then
51321 inputFiles="${D}{inputFiles} ${D}file"
51325 if [ ${D}found -eq 0 ]; then
51326 echo "ERROR: No file(s) found: "${D}1
51333 done # iterate cmdline words
51336 if [ -z "${D}inputFiles" ]; then
51337 echo "dllar: no input files"
51341 # Now extract all .o files from .a files
51343 for file in ${D}inputFiles ; do
51354 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51359 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51361 if [ ${D}? -ne 0 ]; then
51362 echo "Failed to create subdirectory ./${D}dirname"
51366 # Append '!' to indicate archive
51367 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51368 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51371 for subfile in ${D}dirname/*.o* ; do
51372 if [ -f ${D}subfile ]; then
51374 if [ -s ${D}subfile ]; then
51375 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51376 newInputFiles="${D}newInputFiles ${D}subfile"
51380 if [ ${D}found -eq 0 ]; then
51381 echo "WARNING: there are no files in archive \\'${D}file\\'"
51385 newInputFiles="${D}{newInputFiles} ${D}file"
51389 inputFiles="${D}newInputFiles"
51391 # Output filename(s).
51393 if [ -z ${D}outFile ]; then
51395 set outFile ${D}inputFiles; outFile=${D}2
51398 # If it is an archive, remove the '!' and the '_%' suffixes
51399 case ${D}outFile in
51401 outFile=\`basnam ${D}outFile _%!\`
51406 case ${D}outFile in
51408 outFile=\`basnam ${D}outFile .dll\`
51411 outFile=\`basnam ${D}outFile .DLL\`
51414 outFile=\`basnam ${D}outFile .o\`
51417 outFile=\`basnam ${D}outFile .obj\`
51420 outFile=\`basnam ${D}outFile .a\`
51423 outFile=\`basnam ${D}outFile .lib\`
51428 case ${D}outimpFile in
51430 outimpFile=\`basnam ${D}outimpFile .a\`
51433 outimpFile=\`basnam ${D}outimpFile .lib\`
51438 if [ -z ${D}outimpFile ]; then
51439 outimpFile=${D}outFile
51441 defFile="${D}{outFile}.def"
51442 arcFile="${D}{outimpFile}.a"
51443 arcFile2="${D}{outimpFile}.lib"
51445 #create ${D}dllFile as something matching 8.3 restrictions,
51446 if [ -z ${D}renameScript ] ; then
51447 dllFile="${D}outFile"
51449 dllFile=\`${D}renameScript ${D}outimpFile\`
51452 if [ ${D}do_backup -ne 0 ] ; then
51453 if [ -f ${D}arcFile ] ; then
51454 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51456 if [ -f ${D}arcFile2 ] ; then
51457 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51461 # Extract public symbols from all the object files.
51462 tmpdefFile=${D}{defFile}_%
51463 rm -f ${D}tmpdefFile
51464 for file in ${D}inputFiles ; do
51469 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51474 # Create the def file.
51476 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51477 dllFile="${D}{dllFile}.dll"
51478 if [ ! -z ${D}description ]; then
51479 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51481 echo "EXPORTS" >> ${D}defFile
51483 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51484 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51486 # Checks if the export is ok or not.
51487 for word in ${D}exclude_symbols; do
51488 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51489 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51493 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51494 sed "=" < ${D}tmpdefFile | \\
51498 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51500 ' > ${D}{tmpdefFile}%
51501 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51503 rm -f ${D}{tmpdefFile}%
51505 cat ${D}tmpdefFile >> ${D}defFile
51506 rm -f ${D}tmpdefFile
51508 # Do linking, create implib, and apply lxlite.
51510 for file in ${D}inputFiles ; do
51515 gccCmdl="${D}gccCmdl ${D}file"
51519 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51520 touch "${D}{outFile}.dll"
51522 doCommand "emximp -o ${D}arcFile ${D}defFile"
51523 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51525 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51528 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51530 doCommand "emxomf -s -l ${D}arcFile"
51540 powerpc-apple-macos* | \
51541 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51551 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51552 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51553 { (exit 1); exit 1; }; }
51556 if test "x$PIC_FLAG" != "x" ; then
51557 PIC_FLAG="$PIC_FLAG -DPIC"
51560 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51561 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51563 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51564 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51579 USE_SOTWOSYMLINKS=0
51583 case "${BAKEFILE_HOST}" in
51584 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51585 *-*-k*bsd*-gnu | *-*-mirbsd* )
51586 if test "x$SUNCXX" = "xyes"; then
51589 SONAME_FLAG="-Wl,-soname,"
51593 USE_SOTWOSYMLINKS=1
51605 USE_SOTWOSYMLINKS=1
51623 # Check whether --enable-dependency-tracking was given.
51624 if test "${enable_dependency_tracking+set}" = set; then
51625 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51629 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51630 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51633 if test "x$bk_use_trackdeps" = "xno" ; then
51635 { echo "$as_me:$LINENO: result: disabled" >&5
51636 echo "${ECHO_T}disabled" >&6; }
51640 if test "x$GCC" = "xyes"; then
51642 case "${BAKEFILE_HOST}" in
51644 DEPSFLAG="-no-cpp-precomp -MMD"
51650 { echo "$as_me:$LINENO: result: gcc" >&5
51651 echo "${ECHO_T}gcc" >&6; }
51652 elif test "x$MWCC" = "xyes"; then
51655 { echo "$as_me:$LINENO: result: mwcc" >&5
51656 echo "${ECHO_T}mwcc" >&6; }
51657 elif test "x$SUNCC" = "xyes"; then
51660 { echo "$as_me:$LINENO: result: Sun cc" >&5
51661 echo "${ECHO_T}Sun cc" >&6; }
51662 elif test "x$SGICC" = "xyes"; then
51665 { echo "$as_me:$LINENO: result: SGI cc" >&5
51666 echo "${ECHO_T}SGI cc" >&6; }
51667 elif test "x$HPCC" = "xyes"; then
51670 { echo "$as_me:$LINENO: result: HP cc" >&5
51671 echo "${ECHO_T}HP cc" >&6; }
51672 elif test "x$COMPAQCC" = "xyes"; then
51675 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51676 echo "${ECHO_T}Compaq cc" >&6; }
51679 { echo "$as_me:$LINENO: result: none" >&5
51680 echo "${ECHO_T}none" >&6; }
51683 if test $DEPS_TRACKING = 1 ; then
51689 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51690 # script. It is used to track C/C++ files dependencies in portable way.
51692 # Permission is given to use this file in any way.
51694 DEPSMODE=${DEPSMODE}
51695 DEPSFLAG="${DEPSFLAG}"
51698 if test ${D}DEPSMODE = gcc ; then
51699 ${D}* ${D}{DEPSFLAG}
51702 # determine location of created files:
51703 while test ${D}# -gt 0; do
51717 objfilebase=\`basename ${D}objfile\`
51718 builddir=\`dirname ${D}objfile\`
51719 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51720 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51721 depsdir=${D}builddir/${D}DEPSDIRBASE
51722 mkdir -p ${D}depsdir
51724 # if the compiler failed, we're done:
51725 if test ${D}{status} != 0 ; then
51730 # move created file to the location we want it in:
51731 if test -f ${D}depfile ; then
51732 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51735 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51736 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51737 if test ! -f ${D}depfile ; then
51738 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51739 depfile="${D}objfile.d"
51741 if test -f ${D}depfile ; then
51742 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51748 elif test ${D}DEPSMODE = mwcc ; then
51749 ${D}* || exit ${D}?
51750 # Run mwcc again with -MM and redirect into the dep file we want
51751 # NOTE: We can't use shift here because we need ${D}* to be valid
51753 for arg in ${D}* ; do
51754 if test "${D}prevarg" = "-o"; then
51768 objfilebase=\`basename ${D}objfile\`
51769 builddir=\`dirname ${D}objfile\`
51770 depsdir=${D}builddir/${D}DEPSDIRBASE
51771 mkdir -p ${D}depsdir
51773 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51776 elif test ${D}DEPSMODE = unixcc; then
51777 ${D}* || exit ${D}?
51778 # Run compiler again with deps flag and redirect into the dep file.
51779 # It doesn't work if the '-o FILE' option is used, but without it the
51780 # dependency file will contain the wrong name for the object. So it is
51781 # removed from the command line, and the dep file is fixed with sed.
51783 while test ${D}# -gt 0; do
51790 eval arg${D}#=\\${D}1
51791 cmd="${D}cmd \\${D}arg${D}#"
51797 objfilebase=\`basename ${D}objfile\`
51798 builddir=\`dirname ${D}objfile\`
51799 depsdir=${D}builddir/${D}DEPSDIRBASE
51800 mkdir -p ${D}depsdir
51802 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51812 BK_DEPS="`pwd`/bk-deps"
51820 case ${BAKEFILE_HOST} in
51821 *-*-cygwin* | *-*-mingw32* )
51822 if test -n "$ac_tool_prefix"; then
51823 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51824 set dummy ${ac_tool_prefix}windres; ac_word=$2
51825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51827 if test "${ac_cv_prog_WINDRES+set}" = set; then
51828 echo $ECHO_N "(cached) $ECHO_C" >&6
51830 if test -n "$WINDRES"; then
51831 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51834 for as_dir in $PATH
51837 test -z "$as_dir" && as_dir=.
51838 for ac_exec_ext in '' $ac_executable_extensions; do
51839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51840 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51850 WINDRES=$ac_cv_prog_WINDRES
51851 if test -n "$WINDRES"; then
51852 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51853 echo "${ECHO_T}$WINDRES" >&6; }
51855 { echo "$as_me:$LINENO: result: no" >&5
51856 echo "${ECHO_T}no" >&6; }
51861 if test -z "$ac_cv_prog_WINDRES"; then
51862 ac_ct_WINDRES=$WINDRES
51863 # Extract the first word of "windres", so it can be a program name with args.
51864 set dummy windres; ac_word=$2
51865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51867 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51868 echo $ECHO_N "(cached) $ECHO_C" >&6
51870 if test -n "$ac_ct_WINDRES"; then
51871 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51874 for as_dir in $PATH
51877 test -z "$as_dir" && as_dir=.
51878 for ac_exec_ext in '' $ac_executable_extensions; do
51879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51880 ac_cv_prog_ac_ct_WINDRES="windres"
51881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51890 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51891 if test -n "$ac_ct_WINDRES"; then
51892 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51893 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51895 { echo "$as_me:$LINENO: result: no" >&5
51896 echo "${ECHO_T}no" >&6; }
51899 if test "x$ac_ct_WINDRES" = x; then
51902 case $cross_compiling:$ac_tool_warned in
51904 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51905 whose name does not start with the host triplet. If you think this
51906 configuration is useful to you, please write to autoconf@gnu.org." >&5
51907 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51908 whose name does not start with the host triplet. If you think this
51909 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51910 ac_tool_warned=yes ;;
51912 WINDRES=$ac_ct_WINDRES
51915 WINDRES="$ac_cv_prog_WINDRES"
51920 *-*-darwin* | powerpc-apple-macos* )
51921 # Extract the first word of "Rez", so it can be a program name with args.
51922 set dummy Rez; ac_word=$2
51923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51925 if test "${ac_cv_prog_REZ+set}" = set; then
51926 echo $ECHO_N "(cached) $ECHO_C" >&6
51928 if test -n "$REZ"; then
51929 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51932 for as_dir in $PATH
51935 test -z "$as_dir" && as_dir=.
51936 for ac_exec_ext in '' $ac_executable_extensions; do
51937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51938 ac_cv_prog_REZ="Rez"
51939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51946 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51949 REZ=$ac_cv_prog_REZ
51950 if test -n "$REZ"; then
51951 { echo "$as_me:$LINENO: result: $REZ" >&5
51952 echo "${ECHO_T}$REZ" >&6; }
51954 { echo "$as_me:$LINENO: result: no" >&5
51955 echo "${ECHO_T}no" >&6; }
51959 # Extract the first word of "SetFile", so it can be a program name with args.
51960 set dummy SetFile; ac_word=$2
51961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51963 if test "${ac_cv_prog_SETFILE+set}" = set; then
51964 echo $ECHO_N "(cached) $ECHO_C" >&6
51966 if test -n "$SETFILE"; then
51967 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51970 for as_dir in $PATH
51973 test -z "$as_dir" && as_dir=.
51974 for ac_exec_ext in '' $ac_executable_extensions; do
51975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51976 ac_cv_prog_SETFILE="SetFile"
51977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51984 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51987 SETFILE=$ac_cv_prog_SETFILE
51988 if test -n "$SETFILE"; then
51989 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51990 echo "${ECHO_T}$SETFILE" >&6; }
51992 { echo "$as_me:$LINENO: result: no" >&5
51993 echo "${ECHO_T}no" >&6; }
52008 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
52011 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
52015 # Check whether --enable-precomp-headers was given.
52016 if test "${enable_precomp_headers+set}" = set; then
52017 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
52026 case ${BAKEFILE_HOST} in
52032 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
52033 if test "x$GCC" = "xyes"; then
52034 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
52035 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
52036 cat >conftest.$ac_ext <<_ACEOF
52039 cat confdefs.h >>conftest.$ac_ext
52040 cat >>conftest.$ac_ext <<_ACEOF
52041 /* end confdefs.h. */
52047 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
52048 There is no PCH support
52051 There is no PCH support
52053 #if (__GNUC__ == 3) && \
52054 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
52055 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
52056 ( defined(__INTEL_COMPILER) )
52057 There is no PCH support
52064 rm -f conftest.$ac_objext
52065 if { (ac_try="$ac_compile"
52066 case "(($ac_try" in
52067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52068 *) ac_try_echo=$ac_try;;
52070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52071 (eval "$ac_compile") 2>conftest.er1
52073 grep -v '^ *+' conftest.er1 >conftest.err
52075 cat conftest.err >&5
52076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52077 (exit $ac_status); } && {
52078 test -z "$ac_c_werror_flag" ||
52079 test ! -s conftest.err
52080 } && test -s conftest.$ac_objext; then
52082 { echo "$as_me:$LINENO: result: yes" >&5
52083 echo "${ECHO_T}yes" >&6; }
52087 echo "$as_me: failed program was:" >&5
52088 sed 's/^/| /' conftest.$ac_ext >&5
52091 if test "$INTELCXX8" = "yes"; then
52092 { echo "$as_me:$LINENO: result: yes" >&5
52093 echo "${ECHO_T}yes" >&6; }
52095 if test "$INTELCXX10" = "yes"; then
52096 ICC_PCH_CREATE_SWITCH="-pch-create"
52097 ICC_PCH_USE_SWITCH="-pch-use"
52099 ICC_PCH_CREATE_SWITCH="-create-pch"
52100 ICC_PCH_USE_SWITCH="-use-pch"
52103 { echo "$as_me:$LINENO: result: no" >&5
52104 echo "${ECHO_T}no" >&6; }
52109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52110 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
52114 cat <<EOF >bk-make-pch
52117 # This script is part of Bakefile (http://www.bakefile.org) autoconf
52118 # script. It is used to generated precompiled headers.
52120 # Permission is given to use this file in any way.
52127 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
52132 while test ${D}{#} -gt 0; do
52136 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
52137 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
52138 headerfile="${D}{incdir}/${D}{header}"
52141 -use-pch|-use_pch|-pch-use )
52146 if test ${D}add_to_cmdline = 1 ; then
52147 compiler="${D}{compiler} ${D}{1}"
52152 if test "x${D}{headerfile}" = "x" ; then
52153 echo "error: can't find header ${D}{header} in include paths" >&2
52155 if test -f ${D}{outfile} ; then
52156 rm -f ${D}{outfile}
52158 mkdir -p \`dirname ${D}{outfile}\`
52160 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
52161 mkdir -p ${D}{builddir}/.deps
52162 if test "x${GCC_PCH}" = "x1" ; then
52163 # can do this because gcc is >= 3.4:
52164 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
52165 elif test "x${ICC_PCH}" = "x1" ; then
52166 filename=pch_gen-${D}${D}
52167 file=${D}{filename}.c
52168 dfile=${D}{filename}.d
52169 cat > ${D}file <<EOT
52170 #include "${D}header"
52172 # using -MF icc complains about differing command lines in creation/use
52173 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
52174 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
52175 rm -f ${D}file ${D}dfile ${D}{filename}.o
52181 chmod +x bk-make-pch
52182 BK_MAKE_PCH="`pwd`/bk-make-pch"
52193 COND_BUILD_DEBUG="#"
52194 if test "x$BUILD" = "xdebug" ; then
52195 COND_BUILD_DEBUG=""
52198 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
52199 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52200 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52203 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52204 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52205 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52208 COND_BUILD_DEBUG_UNICODE_0="#"
52209 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52210 COND_BUILD_DEBUG_UNICODE_0=""
52213 COND_BUILD_DEBUG_UNICODE_1="#"
52214 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52215 COND_BUILD_DEBUG_UNICODE_1=""
52218 COND_BUILD_RELEASE="#"
52219 if test "x$BUILD" = "xrelease" ; then
52220 COND_BUILD_RELEASE=""
52223 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52224 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52225 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52228 COND_BUILD_RELEASE_UNICODE_0="#"
52229 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52230 COND_BUILD_RELEASE_UNICODE_0=""
52233 COND_BUILD_RELEASE_UNICODE_1="#"
52234 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52235 COND_BUILD_RELEASE_UNICODE_1=""
52238 COND_BUILD_debug="#"
52239 if test "x$BUILD" = "xdebug" ; then
52240 COND_BUILD_debug=""
52243 COND_BUILD_debug_DEBUG_FLAG_default="#"
52244 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52245 COND_BUILD_debug_DEBUG_FLAG_default=""
52248 COND_BUILD_debug_DEBUG_INFO_default="#"
52249 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52250 COND_BUILD_debug_DEBUG_INFO_default=""
52253 COND_BUILD_debug_UNICODE_0="#"
52254 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52255 COND_BUILD_debug_UNICODE_0=""
52258 COND_BUILD_debug_UNICODE_1="#"
52259 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52260 COND_BUILD_debug_UNICODE_1=""
52263 COND_BUILD_release="#"
52264 if test "x$BUILD" = "xrelease" ; then
52265 COND_BUILD_release=""
52268 COND_BUILD_release_DEBUG_INFO_default="#"
52269 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52270 COND_BUILD_release_DEBUG_INFO_default=""
52273 COND_BUILD_release_UNICODE_0="#"
52274 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52275 COND_BUILD_release_UNICODE_0=""
52278 COND_BUILD_release_UNICODE_1="#"
52279 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52280 COND_BUILD_release_UNICODE_1=""
52283 COND_DEBUG_FLAG_0="#"
52284 if test "x$DEBUG_FLAG" = "x0" ; then
52285 COND_DEBUG_FLAG_0=""
52288 COND_DEBUG_FLAG_1="#"
52289 if test "x$DEBUG_FLAG" = "x1" ; then
52290 COND_DEBUG_FLAG_1=""
52293 COND_DEBUG_INFO_0="#"
52294 if test "x$DEBUG_INFO" = "x0" ; then
52295 COND_DEBUG_INFO_0=""
52298 COND_DEBUG_INFO_1="#"
52299 if test "x$DEBUG_INFO" = "x1" ; then
52300 COND_DEBUG_INFO_1=""
52303 COND_DEPS_TRACKING_0="#"
52304 if test "x$DEPS_TRACKING" = "x0" ; then
52305 COND_DEPS_TRACKING_0=""
52308 COND_DEPS_TRACKING_1="#"
52309 if test "x$DEPS_TRACKING" = "x1" ; then
52310 COND_DEPS_TRACKING_1=""
52314 if test "x$GCC_PCH" = "x1" ; then
52319 if test "x$ICC_PCH" = "x1" ; then
52323 COND_MONOLITHIC_0="#"
52324 if test "x$MONOLITHIC" = "x0" ; then
52325 COND_MONOLITHIC_0=""
52328 COND_MONOLITHIC_0_SHARED_0="#"
52329 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52330 COND_MONOLITHIC_0_SHARED_0=""
52333 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52334 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52335 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52338 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52339 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52340 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52343 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52344 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52345 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52348 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52349 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52350 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52353 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52354 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52355 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52358 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
52359 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
52360 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
52363 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
52364 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52365 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
52368 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
52369 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52370 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
52373 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52375 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52378 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52380 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52383 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52384 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52385 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52388 COND_MONOLITHIC_0_SHARED_1="#"
52389 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52390 COND_MONOLITHIC_0_SHARED_1=""
52393 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52394 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52395 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52398 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52400 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52403 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52405 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52408 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52409 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52410 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52413 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52414 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52415 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52418 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
52419 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
52420 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
52423 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
52424 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
52425 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
52428 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
52429 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
52430 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
52433 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52434 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52435 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52438 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52439 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52440 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52443 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52444 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52445 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52448 COND_MONOLITHIC_0_USE_AUI_1="#"
52449 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52450 COND_MONOLITHIC_0_USE_AUI_1=""
52453 COND_MONOLITHIC_0_USE_GUI_1="#"
52454 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52455 COND_MONOLITHIC_0_USE_GUI_1=""
52458 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52459 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52460 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52463 COND_MONOLITHIC_0_USE_HTML_1="#"
52464 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52465 COND_MONOLITHIC_0_USE_HTML_1=""
52468 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52469 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52470 COND_MONOLITHIC_0_USE_MEDIA_1=""
52473 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
52474 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52475 COND_MONOLITHIC_0_USE_PROPGRID_1=""
52478 COND_MONOLITHIC_0_USE_QA_1="#"
52479 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52480 COND_MONOLITHIC_0_USE_QA_1=""
52483 COND_MONOLITHIC_0_USE_RIBBON_1="#"
52484 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52485 COND_MONOLITHIC_0_USE_RIBBON_1=""
52488 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52489 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52490 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52493 COND_MONOLITHIC_0_USE_STC_1="#"
52494 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52495 COND_MONOLITHIC_0_USE_STC_1=""
52498 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
52499 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
52500 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
52503 COND_MONOLITHIC_0_USE_XRC_1="#"
52504 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52505 COND_MONOLITHIC_0_USE_XRC_1=""
52508 COND_MONOLITHIC_1="#"
52509 if test "x$MONOLITHIC" = "x1" ; then
52510 COND_MONOLITHIC_1=""
52513 COND_MONOLITHIC_1_SHARED_0="#"
52514 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52515 COND_MONOLITHIC_1_SHARED_0=""
52518 COND_MONOLITHIC_1_SHARED_1="#"
52519 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52520 COND_MONOLITHIC_1_SHARED_1=""
52523 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52524 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52525 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52528 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52529 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52530 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52533 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52534 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52535 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52538 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52539 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52540 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52543 COND_PLATFORM_MACOSX_1="#"
52544 if test "x$PLATFORM_MACOSX" = "x1" ; then
52545 COND_PLATFORM_MACOSX_1=""
52548 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
52549 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52550 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
52553 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
52554 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52555 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
52558 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52560 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52563 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52565 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52568 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52570 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52573 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52575 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52578 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52580 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52583 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52584 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52585 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52588 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52589 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52590 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52593 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52594 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52595 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52598 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52599 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52600 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52603 COND_PLATFORM_MACOS_1="#"
52604 if test "x$PLATFORM_MACOS" = "x1" ; then
52605 COND_PLATFORM_MACOS_1=""
52608 COND_PLATFORM_MAC_0="#"
52609 if test "x$PLATFORM_MAC" = "x0" ; then
52610 COND_PLATFORM_MAC_0=""
52613 COND_PLATFORM_MAC_1="#"
52614 if test "x$PLATFORM_MAC" = "x1" ; then
52615 COND_PLATFORM_MAC_1=""
52618 COND_PLATFORM_MSDOS_0="#"
52619 if test "x$PLATFORM_MSDOS" = "x0" ; then
52620 COND_PLATFORM_MSDOS_0=""
52623 COND_PLATFORM_MSDOS_1="#"
52624 if test "x$PLATFORM_MSDOS" = "x1" ; then
52625 COND_PLATFORM_MSDOS_1=""
52628 COND_PLATFORM_OS2_1="#"
52629 if test "x$PLATFORM_OS2" = "x1" ; then
52630 COND_PLATFORM_OS2_1=""
52633 COND_PLATFORM_UNIX_0="#"
52634 if test "x$PLATFORM_UNIX" = "x0" ; then
52635 COND_PLATFORM_UNIX_0=""
52638 COND_PLATFORM_UNIX_1="#"
52639 if test "x$PLATFORM_UNIX" = "x1" ; then
52640 COND_PLATFORM_UNIX_1=""
52643 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52644 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52645 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52648 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52649 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52650 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52653 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52654 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52655 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52658 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52659 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52660 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52663 COND_PLATFORM_WIN32_0="#"
52664 if test "x$PLATFORM_WIN32" = "x0" ; then
52665 COND_PLATFORM_WIN32_0=""
52668 COND_PLATFORM_WIN32_1="#"
52669 if test "x$PLATFORM_WIN32" = "x1" ; then
52670 COND_PLATFORM_WIN32_1=""
52673 COND_PLATFORM_WIN32_1_SHARED_0="#"
52674 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52675 COND_PLATFORM_WIN32_1_SHARED_0=""
52679 if test "x$SHARED" = "x0" ; then
52683 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52684 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52685 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52688 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52689 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52690 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52693 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52694 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52695 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52698 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52699 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52700 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52703 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52704 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52705 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52708 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52709 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52710 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52713 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52714 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52715 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52718 COND_SHARED_0_USE_STC_1="#"
52719 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52720 COND_SHARED_0_USE_STC_1=""
52723 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52724 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52725 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52728 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52729 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52730 COND_SHARED_0_wxUSE_REGEX_builtin=""
52733 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52734 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52735 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52739 if test "x$SHARED" = "x1" ; then
52743 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52744 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52745 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52749 if test "x$TOOLKIT" = "x" ; then
52753 COND_TOOLKIT_COCOA="#"
52754 if test "x$TOOLKIT" = "xCOCOA" ; then
52755 COND_TOOLKIT_COCOA=""
52758 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52759 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52760 COND_TOOLKIT_COCOA_USE_GUI_1=""
52763 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52764 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52765 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52768 COND_TOOLKIT_DFB="#"
52769 if test "x$TOOLKIT" = "xDFB" ; then
52770 COND_TOOLKIT_DFB=""
52773 COND_TOOLKIT_DFB_USE_GUI_1="#"
52774 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52775 COND_TOOLKIT_DFB_USE_GUI_1=""
52778 COND_TOOLKIT_GTK="#"
52779 if test "x$TOOLKIT" = "xGTK" ; then
52780 COND_TOOLKIT_GTK=""
52783 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52784 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52785 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52788 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52789 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52790 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52793 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52794 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52795 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52798 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52799 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52800 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52803 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52804 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52805 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52808 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52809 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52810 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52813 COND_TOOLKIT_GTK_USE_GUI_1="#"
52814 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52815 COND_TOOLKIT_GTK_USE_GUI_1=""
52818 COND_TOOLKIT_MAC="#"
52819 if test "x$TOOLKIT" = "xMAC" ; then
52820 COND_TOOLKIT_MAC=""
52823 COND_TOOLKIT_MGL="#"
52824 if test "x$TOOLKIT" = "xMGL" ; then
52825 COND_TOOLKIT_MGL=""
52828 COND_TOOLKIT_MGL_USE_GUI_1="#"
52829 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52830 COND_TOOLKIT_MGL_USE_GUI_1=""
52833 COND_TOOLKIT_MOTIF="#"
52834 if test "x$TOOLKIT" = "xMOTIF" ; then
52835 COND_TOOLKIT_MOTIF=""
52838 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52839 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52840 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52843 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52844 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52845 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52848 COND_TOOLKIT_MSW="#"
52849 if test "x$TOOLKIT" = "xMSW" ; then
52850 COND_TOOLKIT_MSW=""
52853 COND_TOOLKIT_MSW_USE_GUI_1="#"
52854 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52855 COND_TOOLKIT_MSW_USE_GUI_1=""
52858 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52859 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52860 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52863 COND_TOOLKIT_MSW_WXUNIV_0="#"
52864 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52865 COND_TOOLKIT_MSW_WXUNIV_0=""
52868 COND_TOOLKIT_OSX_CARBON="#"
52869 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52870 COND_TOOLKIT_OSX_CARBON=""
52873 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52874 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52875 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52878 COND_TOOLKIT_OSX_COCOA="#"
52879 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52880 COND_TOOLKIT_OSX_COCOA=""
52883 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52884 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52885 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52888 COND_TOOLKIT_OSX_IPHONE="#"
52889 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52890 COND_TOOLKIT_OSX_IPHONE=""
52893 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52894 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52895 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52898 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52899 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52900 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52903 COND_TOOLKIT_PM="#"
52904 if test "x$TOOLKIT" = "xPM" ; then
52908 COND_TOOLKIT_PM_USE_GUI_1="#"
52909 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52910 COND_TOOLKIT_PM_USE_GUI_1=""
52913 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52914 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52915 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52918 COND_TOOLKIT_WINCE="#"
52919 if test "x$TOOLKIT" = "xWINCE" ; then
52920 COND_TOOLKIT_WINCE=""
52923 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52924 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52925 COND_TOOLKIT_WINCE_USE_GUI_1=""
52928 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52929 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52933 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52934 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52935 COND_TOOLKIT_WINCE_WXUNIV_0=""
52938 COND_TOOLKIT_X11="#"
52939 if test "x$TOOLKIT" = "xX11" ; then
52940 COND_TOOLKIT_X11=""
52943 COND_TOOLKIT_X11_USE_GUI_1="#"
52944 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52945 COND_TOOLKIT_X11_USE_GUI_1=""
52949 if test "x$UNICODE" = "x1" ; then
52953 COND_USE_CAIRO_1="#"
52954 if test "x$USE_CAIRO" = "x1" ; then
52955 COND_USE_CAIRO_1=""
52958 COND_USE_EXCEPTIONS_0="#"
52959 if test "x$USE_EXCEPTIONS" = "x0" ; then
52960 COND_USE_EXCEPTIONS_0=""
52963 COND_USE_EXCEPTIONS_1="#"
52964 if test "x$USE_EXCEPTIONS" = "x1" ; then
52965 COND_USE_EXCEPTIONS_1=""
52969 if test "x$USE_GUI" = "x0" ; then
52974 if test "x$USE_GUI" = "x1" ; then
52978 COND_USE_GUI_1_USE_OPENGL_1="#"
52979 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52980 COND_USE_GUI_1_USE_OPENGL_1=""
52983 COND_USE_GUI_1_WXUNIV_0="#"
52984 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52985 COND_USE_GUI_1_WXUNIV_0=""
52988 COND_USE_GUI_1_WXUNIV_1="#"
52989 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52990 COND_USE_GUI_1_WXUNIV_1=""
52993 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52994 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52995 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52998 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52999 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53000 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
53003 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
53004 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53005 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
53008 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
53009 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53010 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
53013 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
53014 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53015 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
53018 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
53019 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53020 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
53023 COND_USE_OPENGL_1="#"
53024 if test "x$USE_OPENGL" = "x1" ; then
53025 COND_USE_OPENGL_1=""
53029 if test "x$USE_PCH" = "x1" ; then
53033 COND_USE_PLUGINS_0="#"
53034 if test "x$USE_PLUGINS" = "x0" ; then
53035 COND_USE_PLUGINS_0=""
53038 COND_USE_RTTI_0="#"
53039 if test "x$USE_RTTI" = "x0" ; then
53043 COND_USE_RTTI_1="#"
53044 if test "x$USE_RTTI" = "x1" ; then
53048 COND_USE_SOTWOSYMLINKS_1="#"
53049 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
53050 COND_USE_SOTWOSYMLINKS_1=""
53053 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
53054 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53055 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
53058 COND_USE_SOVERLINUX_1="#"
53059 if test "x$USE_SOVERLINUX" = "x1" ; then
53060 COND_USE_SOVERLINUX_1=""
53063 COND_USE_SOVERSION_0="#"
53064 if test "x$USE_SOVERSION" = "x0" ; then
53065 COND_USE_SOVERSION_0=""
53068 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
53069 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
53070 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
53073 COND_USE_SOVERSOLARIS_1="#"
53074 if test "x$USE_SOVERSOLARIS" = "x1" ; then
53075 COND_USE_SOVERSOLARIS_1=""
53079 if test "x$USE_STC" = "x1" ; then
53083 COND_USE_THREADS_0="#"
53084 if test "x$USE_THREADS" = "x0" ; then
53085 COND_USE_THREADS_0=""
53088 COND_USE_THREADS_1="#"
53089 if test "x$USE_THREADS" = "x1" ; then
53090 COND_USE_THREADS_1=""
53094 if test "x$USE_XRC" = "x1" ; then
53098 COND_WINDOWS_IMPLIB_1="#"
53099 if test "x$WINDOWS_IMPLIB" = "x1" ; then
53100 COND_WINDOWS_IMPLIB_1=""
53103 COND_WITH_PLUGIN_SDL_1="#"
53104 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
53105 COND_WITH_PLUGIN_SDL_1=""
53109 if test "x$WXUNIV" = "x0" ; then
53114 if test "x$WXUNIV" = "x1" ; then
53118 COND_WXUSE_EXPAT_BUILTIN="#"
53119 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
53120 COND_WXUSE_EXPAT_BUILTIN=""
53123 COND_WXUSE_LIBJPEG_BUILTIN="#"
53124 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53125 COND_WXUSE_LIBJPEG_BUILTIN=""
53128 COND_WXUSE_LIBPNG_BUILTIN="#"
53129 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53130 COND_WXUSE_LIBPNG_BUILTIN=""
53133 COND_WXUSE_LIBTIFF_BUILTIN="#"
53134 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53135 COND_WXUSE_LIBTIFF_BUILTIN=""
53138 COND_WXUSE_REGEX_BUILTIN="#"
53139 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
53140 COND_WXUSE_REGEX_BUILTIN=""
53143 COND_WXUSE_ZLIB_BUILTIN="#"
53144 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
53145 COND_WXUSE_ZLIB_BUILTIN=""
53148 COND_wxUSE_EXPAT_builtin="#"
53149 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
53150 COND_wxUSE_EXPAT_builtin=""
53153 COND_wxUSE_LIBJPEG_builtin="#"
53154 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53155 COND_wxUSE_LIBJPEG_builtin=""
53158 COND_wxUSE_LIBPNG_builtin="#"
53159 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53160 COND_wxUSE_LIBPNG_builtin=""
53163 COND_wxUSE_LIBTIFF_builtin="#"
53164 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53165 COND_wxUSE_LIBTIFF_builtin=""
53168 COND_wxUSE_REGEX_builtin="#"
53169 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
53170 COND_wxUSE_REGEX_builtin=""
53173 COND_wxUSE_ZLIB_builtin="#"
53174 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
53175 COND_wxUSE_ZLIB_builtin=""
53180 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
53181 { { 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
53182 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;}
53183 { (exit 1); exit 1; }; }
53186 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
53187 { { 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
53188 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;}
53189 { (exit 1); exit 1; }; }
53196 ?:* ) # Drive letter, considered as absolute.
53199 INSTALL=`pwd`/${INSTALL} ;;
53202 if test "$wxUSE_GUI" = "yes"; then
53204 if test "$wxUSE_MSW" = 1 ; then
53205 if test "x$WINDRES" = "x"; then
53206 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
53207 echo "$as_me: error: Required windres program not found" >&2;}
53208 { (exit 1); exit 1; }; }
53214 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
53215 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
53216 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
53218 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
53220 # Extract the first word of "DeRez", so it can be a program name with args.
53221 set dummy DeRez; ac_word=$2
53222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53224 if test "${ac_cv_prog_DEREZ+set}" = set; then
53225 echo $ECHO_N "(cached) $ECHO_C" >&6
53227 if test -n "$DEREZ"; then
53228 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
53230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53231 for as_dir in $PATH
53234 test -z "$as_dir" && as_dir=.
53235 for ac_exec_ext in '' $ac_executable_extensions; do
53236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53237 ac_cv_prog_DEREZ="DeRez"
53238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53245 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
53248 DEREZ=$ac_cv_prog_DEREZ
53249 if test -n "$DEREZ"; then
53250 { echo "$as_me:$LINENO: result: $DEREZ" >&5
53251 echo "${ECHO_T}$DEREZ" >&6; }
53253 { echo "$as_me:$LINENO: result: no" >&5
53254 echo "${ECHO_T}no" >&6; }
53259 MACSETFILE="\$(SETFILE)"
53261 if test "$wxUSE_OSX_CARBON" = 1; then
53262 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
53264 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
53266 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
53267 RESCOMP="cat /dev/null \| $REZ"
53268 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
53274 if test "$wxUSE_PM" = 1; then
53276 WXCONFIG_RESFLAGS="-ep"
53278 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
53280 POSTLINK_COMMAND="@true"
53287 if test $GCC_PCH = 1
53289 if test "$wx_cv_gcc_pch_bug" = yes; then
53290 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
53291 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
53292 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
53293 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
53294 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
53295 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
53298 # Our WX_PRECOMP flag does not make sense for any language except C++ because
53299 # the headers that benefit from precompilation are mostly C++ headers.
53300 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
53301 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
53302 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
53306 if test "$wxUSE_MAC" = 1 ; then
53307 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
53308 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
53314 if test "$wxUSE_SHARED" = "yes"; then
53316 *-pc-os2_emx | *-pc-os2-emx )
53317 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53318 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53319 cp -p ${srcdir}/src/os2/dllnames.sh .
53320 cp -p ${srcdir}/src/os2/dllar.sh .
53324 if test "$wxUSE_OMF" = "yes"; then
53326 *-pc-os2_emx | *-pc-os2-emx )
53327 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
53328 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53329 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53334 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53339 if test "$GCC" = yes; then
53340 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
53341 LIBS=`echo $LIBS | sed 's/-mt//'`
53342 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53347 if test "x$SUNCXX" = xyes; then
53348 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
53349 LIBS=`echo $LIBS | sed 's/-pthread//'`
53350 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53355 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
53356 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53357 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
53358 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
53360 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53421 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53422 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53423 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53424 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
53425 echo $ECHO_N "(cached) $ECHO_C" >&6
53427 cat >conftest.make <<\_ACEOF
53430 @echo '@@@%%%=$(MAKE)=@@@%%%'
53432 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53433 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53434 *@@@%%%=?*=@@@%%%*)
53435 eval ac_cv_prog_make_${ac_make}_set=yes;;
53437 eval ac_cv_prog_make_${ac_make}_set=no;;
53439 rm -f conftest.make
53441 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53442 { echo "$as_me:$LINENO: result: yes" >&5
53443 echo "${ECHO_T}yes" >&6; }
53446 { echo "$as_me:$LINENO: result: no" >&5
53447 echo "${ECHO_T}no" >&6; }
53448 SET_MAKE="MAKE=${MAKE-make}"
53453 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53456 if test "$USE_WIN32" = 1; then
53457 ac_config_commands="$ac_config_commands rcdefs.h"
53461 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53464 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53467 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
53470 if test "$wx_cv_version_script" = "yes"; then
53471 ac_config_files="$ac_config_files version-script"
53474 ac_config_files="$ac_config_files Makefile"
53477 ac_config_commands="$ac_config_commands wx-config"
53481 if test "$wxWITH_SUBDIRS" != "no"; then
53482 if test "$wxUSE_GUI" = "yes"; then
53483 SUBDIRS="samples demos utils"
53485 SUBDIRS="samples utils"
53490 # Check whether --with-cppunit-prefix was given.
53491 if test "${with_cppunit_prefix+set}" = set; then
53492 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53494 cppunit_config_prefix=""
53498 # Check whether --with-cppunit-exec-prefix was given.
53499 if test "${with_cppunit_exec_prefix+set}" = set; then
53500 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53502 cppunit_config_exec_prefix=""
53506 if test x$cppunit_config_exec_prefix != x ; then
53507 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53508 if test x${CPPUNIT_CONFIG+set} != xset ; then
53509 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53512 if test x$cppunit_config_prefix != x ; then
53513 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53514 if test x${CPPUNIT_CONFIG+set} != xset ; then
53515 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53519 # Extract the first word of "cppunit-config", so it can be a program name with args.
53520 set dummy cppunit-config; ac_word=$2
53521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53523 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53524 echo $ECHO_N "(cached) $ECHO_C" >&6
53526 case $CPPUNIT_CONFIG in
53528 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53532 for as_dir in $PATH
53535 test -z "$as_dir" && as_dir=.
53536 for ac_exec_ext in '' $ac_executable_extensions; do
53537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53538 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53546 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53550 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53551 if test -n "$CPPUNIT_CONFIG"; then
53552 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53553 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53555 { echo "$as_me:$LINENO: result: no" >&5
53556 echo "${ECHO_T}no" >&6; }
53560 cppunit_version_min=1.8.0
53562 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53563 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53565 if test "$CPPUNIT_CONFIG" = "no" ; then
53566 { echo "$as_me:$LINENO: result: no" >&5
53567 echo "${ECHO_T}no" >&6; }
53570 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53571 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53572 cppunit_version=`$CPPUNIT_CONFIG --version`
53574 cppunit_major_version=`echo $cppunit_version | \
53575 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53576 cppunit_minor_version=`echo $cppunit_version | \
53577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53578 cppunit_micro_version=`echo $cppunit_version | \
53579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53581 cppunit_major_min=`echo $cppunit_version_min | \
53582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53583 cppunit_minor_min=`echo $cppunit_version_min | \
53584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53585 cppunit_micro_min=`echo $cppunit_version_min | \
53586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53588 cppunit_version_proper=`expr \
53589 $cppunit_major_version \> $cppunit_major_min \| \
53590 $cppunit_major_version \= $cppunit_major_min \& \
53591 $cppunit_minor_version \> $cppunit_minor_min \| \
53592 $cppunit_major_version \= $cppunit_major_min \& \
53593 $cppunit_minor_version \= $cppunit_minor_min \& \
53594 $cppunit_micro_version \>= $cppunit_micro_min `
53596 if test "$cppunit_version_proper" = "1" ; then
53597 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53598 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53600 { echo "$as_me:$LINENO: result: no" >&5
53601 echo "${ECHO_T}no" >&6; }
53606 if test "x$no_cppunit" = x ; then
53607 SUBDIRS="$SUBDIRS tests"
53618 for subdir in $SUBDIRS; do
53619 if test -d ${srcdir}/${subdir} ; then
53620 if test "$wxUSE_GUI" = "yes"; then
53621 if test ${subdir} = "samples"; then
53622 makefiles="samples/Makefile.in $makefiles"
53623 for sample in $SAMPLES_SUBDIRS; do
53624 if test -d $srcdir/samples/$sample; then
53625 makefiles="samples/$sample/Makefile.in $makefiles"
53629 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53630 eval "disabled=\$$disabled_var"
53631 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53632 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53635 if test ${subdir} = "samples"; then
53636 makefiles="samples/Makefile.in $makefiles"
53637 for sample in `echo $SAMPLES_SUBDIRS`; do
53638 if test -d $srcdir/samples/$sample; then
53639 makefiles="samples/$sample/Makefile.in $makefiles"
53642 elif test ${subdir} = "utils"; then
53644 for util in ifacecheck ; do
53645 if test -d $srcdir/utils/$util ; then
53646 makefiles="utils/$util/src/Makefile.in \
53651 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53655 for mkin in $makefiles ; do
53656 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53657 ac_config_files="$ac_config_files $mk"
53663 cat >confcache <<\_ACEOF
53664 # This file is a shell script that caches the results of configure
53665 # tests run on this system so they can be shared between configure
53666 # scripts and configure runs, see configure's option --config-cache.
53667 # It is not useful on other systems. If it contains results you don't
53668 # want to keep, you may remove or edit it.
53670 # config.status only pays attention to the cache file if you give it
53671 # the --recheck option to rerun configure.
53673 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53675 # following values.
53679 # The following way of writing the cache mishandles newlines in values,
53680 # but we know of no workaround that is simple, portable, and efficient.
53681 # So, we kill variables containing newlines.
53682 # Ultrix sh set writes to stderr and can't be redirected directly,
53683 # and sets the high bit in the cache file unless we assign to the vars.
53685 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53686 eval ac_val=\$$ac_var
53690 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53691 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53694 _ | IFS | as_nl) ;; #(
53695 *) $as_unset $ac_var ;;
53701 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53702 *${as_nl}ac_space=\ *)
53703 # `set' does not quote correctly, so add quotes (double-quote
53704 # substitution turns \\\\ into \\, and sed turns \\ into \).
53707 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53710 # `set' quotes correctly as required by POSIX, so do not add quotes.
53711 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53720 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53722 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53724 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53725 if test -w "$cache_file"; then
53726 test "x$cache_file" != "x/dev/null" &&
53727 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53728 echo "$as_me: updating cache $cache_file" >&6;}
53729 cat confcache >$cache_file
53731 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53732 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53737 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53738 # Let make expand exec_prefix.
53739 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53741 DEFS=-DHAVE_CONFIG_H
53745 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53746 # 1. Remove the extension, and $U if already installed.
53747 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53748 ac_i=`echo "$ac_i" | sed "$ac_script"`
53749 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53750 # will be set to the directory where LIBOBJS objects are built.
53751 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53752 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53754 LIBOBJS=$ac_libobjs
53756 LTLIBOBJS=$ac_ltlibobjs
53760 : ${CONFIG_STATUS=./config.status}
53761 ac_clean_files_save=$ac_clean_files
53762 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53763 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53764 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53765 cat >$CONFIG_STATUS <<_ACEOF
53767 # Generated by $as_me.
53768 # Run this file to recreate the current configuration.
53769 # Compiler output produced by configure, useful for debugging
53770 # configure, is in config.log if it exists.
53773 ac_cs_recheck=false
53775 SHELL=\${CONFIG_SHELL-$SHELL}
53778 cat >>$CONFIG_STATUS <<\_ACEOF
53779 ## --------------------- ##
53780 ## M4sh Initialization. ##
53781 ## --------------------- ##
53783 # Be more Bourne compatible
53784 DUALCASE=1; export DUALCASE # for MKS sh
53785 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53788 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53789 # is contrary to our usage. Disable this feature.
53790 alias -g '${1+"$@"}'='"$@"'
53791 setopt NO_GLOB_SUBST
53793 case `(set -o) 2>/dev/null` in
53794 *posix*) set -o posix ;;
53803 # Avoid depending upon Character Ranges.
53804 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53805 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53806 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53807 as_cr_digits='0123456789'
53808 as_cr_alnum=$as_cr_Letters$as_cr_digits
53810 # The user is always right.
53811 if test "${PATH_SEPARATOR+set}" != set; then
53812 echo "#! /bin/sh" >conf$$.sh
53813 echo "exit 0" >>conf$$.sh
53815 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53823 # Support unset when possible.
53824 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53832 # We need space, tab and new line, in precisely that order. Quoting is
53833 # there to prevent editors from complaining about space-tab.
53834 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53835 # splitting by setting IFS to empty value.)
53840 # Find who we are. Look in the path if we contain no directory separator.
53842 *[\\/]* ) as_myself=$0 ;;
53843 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53844 for as_dir in $PATH
53847 test -z "$as_dir" && as_dir=.
53848 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53854 # We did not find ourselves, most probably we were run as `sh COMMAND'
53855 # in which case we are not to be found in the path.
53856 if test "x$as_myself" = x; then
53859 if test ! -f "$as_myself"; then
53860 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53861 { (exit 1); exit 1; }
53864 # Work around bugs in pre-3.0 UWIN ksh.
53865 for as_var in ENV MAIL MAILPATH
53866 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53874 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53875 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53876 LC_TELEPHONE LC_TIME
53878 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53879 eval $as_var=C; export $as_var
53881 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53885 # Required to use basename.
53886 if expr a : '\(a\)' >/dev/null 2>&1 &&
53887 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53893 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53894 as_basename=basename
53900 # Name of the executable.
53901 as_me=`$as_basename -- "$0" ||
53902 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53903 X"$0" : 'X\(//\)$' \| \
53904 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53906 sed '/^.*\/\([^/][^/]*\)\/*$/{
53925 as_lineno_1=$LINENO
53926 as_lineno_2=$LINENO
53927 test "x$as_lineno_1" != "x$as_lineno_2" &&
53928 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53930 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53931 # uniformly replaced by the line number. The first 'sed' inserts a
53932 # line-number line after each line using $LINENO; the second 'sed'
53933 # does the real work. The second script uses 'N' to pair each
53934 # line-number line with the line containing $LINENO, and appends
53935 # trailing '-' during substitution so that $LINENO is not a special
53936 # case at line end.
53937 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53938 # scripts with optimization help from Paolo Bonzini. Blame Lee
53939 # E. McMahon (1931-1989) for sed's syntax. :-)
53951 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53954 ' >$as_me.lineno &&
53955 chmod +x "$as_me.lineno" ||
53956 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53957 { (exit 1); exit 1; }; }
53959 # Don't try to exec as it changes $[0], causing all sort of problems
53960 # (the dirname of $[0] is not the place where we might find the
53961 # original and so on. Autoconf is especially sensitive to this).
53962 . "./$as_me.lineno"
53963 # Exit status is that of the last command.
53968 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53974 ECHO_C= ECHO_N= ECHO_T=
53975 case `echo -n x` in
53977 case `echo 'x\c'` in
53978 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53985 if expr a : '\(a\)' >/dev/null 2>&1 &&
53986 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53992 rm -f conf$$ conf$$.exe conf$$.file
53993 if test -d conf$$.dir; then
53994 rm -f conf$$.dir/conf$$.file
54000 if ln -s conf$$.file conf$$ 2>/dev/null; then
54002 # ... but there are two gotchas:
54003 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
54004 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
54005 # In both cases, we have to default to `cp -p'.
54006 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
54008 elif ln conf$$.file conf$$ 2>/dev/null; then
54013 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
54014 rmdir conf$$.dir 2>/dev/null
54016 if mkdir -p . 2>/dev/null; then
54019 test -d ./-p && rmdir ./-p
54023 if test -x / >/dev/null 2>&1; then
54024 as_test_x='test -x'
54026 if ls -dL / >/dev/null 2>&1; then
54033 if test -d "$1"; then
54039 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
54040 ???[sx]*):;;*)false;;esac;fi
54044 as_executable_p=$as_test_x
54046 # Sed expression to map a string onto a valid CPP name.
54047 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
54049 # Sed expression to map a string onto a valid variable name.
54050 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
54055 # Save the log message, to keep $[0] and so on meaningful, and to
54056 # report actual input values of CONFIG_FILES etc. instead of their
54057 # values after options handling.
54059 This file was extended by wxWidgets $as_me 2.9.3, which was
54060 generated by GNU Autoconf 2.61. Invocation command line was
54062 CONFIG_FILES = $CONFIG_FILES
54063 CONFIG_HEADERS = $CONFIG_HEADERS
54064 CONFIG_LINKS = $CONFIG_LINKS
54065 CONFIG_COMMANDS = $CONFIG_COMMANDS
54068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
54073 cat >>$CONFIG_STATUS <<_ACEOF
54074 # Files that config.status was made for.
54075 config_files="$ac_config_files"
54076 config_headers="$ac_config_headers"
54077 config_commands="$ac_config_commands"
54081 cat >>$CONFIG_STATUS <<\_ACEOF
54083 \`$as_me' instantiates files from templates according to the
54084 current configuration.
54086 Usage: $0 [OPTIONS] [FILE]...
54088 -h, --help print this help, then exit
54089 -V, --version print version number and configuration settings, then exit
54090 -q, --quiet do not print progress messages
54091 -d, --debug don't remove temporary files
54092 --recheck update $as_me by reconfiguring in the same conditions
54093 --file=FILE[:TEMPLATE]
54094 instantiate the configuration file FILE
54095 --header=FILE[:TEMPLATE]
54096 instantiate the configuration header FILE
54098 Configuration files:
54101 Configuration headers:
54104 Configuration commands:
54107 Report bugs to <bug-autoconf@gnu.org>."
54110 cat >>$CONFIG_STATUS <<_ACEOF
54112 wxWidgets config.status 2.9.3
54113 configured by $0, generated by GNU Autoconf 2.61,
54114 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
54116 Copyright (C) 2006 Free Software Foundation, Inc.
54117 This config.status script is free software; the Free Software Foundation
54118 gives unlimited permission to copy, distribute and modify it."
54125 cat >>$CONFIG_STATUS <<\_ACEOF
54126 # If no file are specified by the user, then we need to provide default
54127 # value. By we need to know if files were specified by the user.
54133 ac_option=`expr "X$1" : 'X\([^=]*\)='`
54134 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
54145 # Handling of the options.
54146 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
54148 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
54149 echo "$ac_cs_version"; exit ;;
54150 --debug | --debu | --deb | --de | --d | -d )
54152 --file | --fil | --fi | --f )
54154 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
54155 ac_need_defaults=false;;
54156 --header | --heade | --head | --hea )
54158 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
54159 ac_need_defaults=false;;
54161 # Conflict between --help and --header
54162 { echo "$as_me: error: ambiguous option: $1
54163 Try \`$0 --help' for more information." >&2
54164 { (exit 1); exit 1; }; };;
54165 --help | --hel | -h )
54166 echo "$ac_cs_usage"; exit ;;
54167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
54168 | -silent | --silent | --silen | --sile | --sil | --si | --s)
54171 # This is an error.
54172 -*) { echo "$as_me: error: unrecognized option: $1
54173 Try \`$0 --help' for more information." >&2
54174 { (exit 1); exit 1; }; } ;;
54176 *) ac_config_targets="$ac_config_targets $1"
54177 ac_need_defaults=false ;;
54183 ac_configure_extra_args=
54185 if $ac_cs_silent; then
54187 ac_configure_extra_args="$ac_configure_extra_args --silent"
54191 cat >>$CONFIG_STATUS <<_ACEOF
54192 if \$ac_cs_recheck; then
54193 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
54194 CONFIG_SHELL=$SHELL
54195 export CONFIG_SHELL
54196 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
54200 cat >>$CONFIG_STATUS <<\_ACEOF
54204 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
54205 ## Running $as_me. ##
54211 cat >>$CONFIG_STATUS <<_ACEOF
54217 infile="$srcdir/include/wx/msw/genrcdefs.h"
54218 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
54221 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54222 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54223 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54229 cat >>$CONFIG_STATUS <<\_ACEOF
54231 # Handling of arguments.
54232 for ac_config_target in $ac_config_targets
54234 case $ac_config_target in
54235 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
54236 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
54237 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
54238 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
54239 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
54240 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
54241 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
54242 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
54243 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
54245 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54246 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54247 { (exit 1); exit 1; }; };;
54252 # If the user did not use the arguments to specify the items to instantiate,
54253 # then the envvar interface is used. Set only those that are not.
54254 # We use the long form for the default assignment because of an extremely
54255 # bizarre bug on SunOS 4.1.3.
54256 if $ac_need_defaults; then
54257 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
54258 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
54259 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
54262 # Have a temporary directory for convenience. Make it in the build tree
54263 # simply because there is no reason against having it here, and in addition,
54264 # creating and moving files from /tmp can sometimes cause problems.
54265 # Hook for its removal unless debugging.
54266 # Note that there is a small window in which the directory will not be cleaned:
54267 # after its creation but before its name has been assigned to `$tmp'.
54271 trap 'exit_status=$?
54272 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54274 trap '{ (exit 1); exit 1; }' 1 2 13 15
54276 # Create a (secure) tmp directory for tmp files.
54279 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54280 test -n "$tmp" && test -d "$tmp"
54283 tmp=./conf$$-$RANDOM
54284 (umask 077 && mkdir "$tmp")
54287 echo "$me: cannot create a temporary directory in ." >&2
54288 { (exit 1); exit 1; }
54292 # Set up the sed scripts for CONFIG_FILES section.
54295 # No need to generate the scripts if there are no CONFIG_FILES.
54296 # This happens for instance when ./config.status config.h
54297 if test -n "$CONFIG_FILES"; then
54304 for ac_last_try in false false false false false :; do
54305 cat >conf$$subs.sed <<_ACEOF
54306 SHELL!$SHELL$ac_delim
54307 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54308 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
54309 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54310 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54311 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
54312 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54313 exec_prefix!$exec_prefix$ac_delim
54314 prefix!$prefix$ac_delim
54315 program_transform_name!$program_transform_name$ac_delim
54316 bindir!$bindir$ac_delim
54317 sbindir!$sbindir$ac_delim
54318 libexecdir!$libexecdir$ac_delim
54319 datarootdir!$datarootdir$ac_delim
54320 datadir!$datadir$ac_delim
54321 sysconfdir!$sysconfdir$ac_delim
54322 sharedstatedir!$sharedstatedir$ac_delim
54323 localstatedir!$localstatedir$ac_delim
54324 includedir!$includedir$ac_delim
54325 oldincludedir!$oldincludedir$ac_delim
54326 docdir!$docdir$ac_delim
54327 infodir!$infodir$ac_delim
54328 htmldir!$htmldir$ac_delim
54329 dvidir!$dvidir$ac_delim
54330 pdfdir!$pdfdir$ac_delim
54331 psdir!$psdir$ac_delim
54332 libdir!$libdir$ac_delim
54333 localedir!$localedir$ac_delim
54334 mandir!$mandir$ac_delim
54335 DEFS!$DEFS$ac_delim
54336 ECHO_C!$ECHO_C$ac_delim
54337 ECHO_N!$ECHO_N$ac_delim
54338 ECHO_T!$ECHO_T$ac_delim
54339 LIBS!$LIBS$ac_delim
54340 build_alias!$build_alias$ac_delim
54341 host_alias!$host_alias$ac_delim
54342 target_alias!$target_alias$ac_delim
54343 build!$build$ac_delim
54344 build_cpu!$build_cpu$ac_delim
54345 build_vendor!$build_vendor$ac_delim
54346 build_os!$build_os$ac_delim
54347 host!$host$ac_delim
54348 host_cpu!$host_cpu$ac_delim
54349 host_vendor!$host_vendor$ac_delim
54350 host_os!$host_os$ac_delim
54351 wx_top_builddir!$wx_top_builddir$ac_delim
54353 CFLAGS!$CFLAGS$ac_delim
54354 LDFLAGS!$LDFLAGS$ac_delim
54355 CPPFLAGS!$CPPFLAGS$ac_delim
54356 ac_ct_CC!$ac_ct_CC$ac_delim
54357 EXEEXT!$EXEEXT$ac_delim
54358 OBJEXT!$OBJEXT$ac_delim
54360 GREP!$GREP$ac_delim
54361 EGREP!$EGREP$ac_delim
54363 CXXFLAGS!$CXXFLAGS$ac_delim
54364 ac_ct_CXX!$ac_ct_CXX$ac_delim
54366 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
54367 CXXCPP!$CXXCPP$ac_delim
54368 subdirs!$subdirs$ac_delim
54369 PKG_CONFIG!$PKG_CONFIG$ac_delim
54370 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54371 GTK_LIBS!$GTK_LIBS$ac_delim
54372 GTK_CONFIG!$GTK_CONFIG$ac_delim
54373 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54374 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54375 XMKMF!$XMKMF$ac_delim
54376 X_CFLAGS!$X_CFLAGS$ac_delim
54377 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54378 X_LIBS!$X_LIBS$ac_delim
54379 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54380 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54381 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54382 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54383 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54384 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54385 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54386 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54387 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54388 LIBICONV!$LIBICONV$ac_delim
54389 GXX_VERSION!$GXX_VERSION$ac_delim
54390 SDL_CONFIG!$SDL_CONFIG$ac_delim
54391 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54392 SDL_LIBS!$SDL_LIBS$ac_delim
54393 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
54394 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
54395 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54396 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54397 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54398 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54399 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54400 HILDON_LIBS!$HILDON_LIBS$ac_delim
54401 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
54402 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
54405 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54407 elif $ac_last_try; then
54408 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54409 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54410 { (exit 1); exit 1; }; }
54412 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54416 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54417 if test -n "$ac_eof"; then
54418 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54419 ac_eof=`expr $ac_eof + 1`
54422 cat >>$CONFIG_STATUS <<_ACEOF
54423 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54424 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54427 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54428 s/^/s,@/; s/!/@,|#_!!_#|/
54431 s/'"$ac_delim"'$/,g/; t
54433 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54434 ' >>$CONFIG_STATUS <conf$$subs.sed
54435 rm -f conf$$subs.sed
54436 cat >>$CONFIG_STATUS <<_ACEOF
54442 for ac_last_try in false false false false false :; do
54443 cat >conf$$subs.sed <<_ACEOF
54444 PYTHON!$PYTHON$ac_delim
54445 COND_PYTHON!$COND_PYTHON$ac_delim
54446 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54447 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54448 GST_CFLAGS!$GST_CFLAGS$ac_delim
54449 GST_LIBS!$GST_LIBS$ac_delim
54450 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54451 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54452 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54453 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54454 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54455 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54456 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54457 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54458 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54459 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54460 VENDOR!$VENDOR$ac_delim
54461 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54462 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54463 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54464 WXUNIV!$WXUNIV$ac_delim
54465 MONOLITHIC!$MONOLITHIC$ac_delim
54466 USE_PLUGINS!$USE_PLUGINS$ac_delim
54467 CXXWARNINGS!$CXXWARNINGS$ac_delim
54468 EXTRALIBS!$EXTRALIBS$ac_delim
54469 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54470 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54471 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
54472 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54473 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54474 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54475 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
54476 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54477 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
54478 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54479 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54480 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54481 UNICODE!$UNICODE$ac_delim
54482 DEBUG_INFO!$DEBUG_INFO$ac_delim
54483 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54484 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54485 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54486 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
54487 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
54488 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54489 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
54490 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54491 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54492 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54493 RANLIB!$RANLIB$ac_delim
54494 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54495 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54496 INSTALL_DATA!$INSTALL_DATA$ac_delim
54497 LN_S!$LN_S$ac_delim
54498 SET_MAKE!$SET_MAKE$ac_delim
54499 MAKE_SET!$MAKE_SET$ac_delim
54500 AROPTIONS!$AROPTIONS$ac_delim
54501 STRIP!$STRIP$ac_delim
54503 INSTALL_DIR!$INSTALL_DIR$ac_delim
54504 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54505 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54506 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54507 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54508 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54509 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54510 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54511 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54512 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54513 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54514 SO_SUFFIX!$SO_SUFFIX$ac_delim
54515 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54516 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54517 LIBPREFIX!$LIBPREFIX$ac_delim
54518 LIBEXT!$LIBEXT$ac_delim
54519 DLLPREFIX!$DLLPREFIX$ac_delim
54520 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54521 dlldir!$dlldir$ac_delim
54522 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54523 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54524 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54525 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54526 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54527 PIC_FLAG!$PIC_FLAG$ac_delim
54528 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54529 USE_SOVERSION!$USE_SOVERSION$ac_delim
54530 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54531 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54532 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54533 USE_MACVERSION!$USE_MACVERSION$ac_delim
54534 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54535 SONAME_FLAG!$SONAME_FLAG$ac_delim
54536 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54537 BK_DEPS!$BK_DEPS$ac_delim
54538 WINDRES!$WINDRES$ac_delim
54540 SETFILE!$SETFILE$ac_delim
54543 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54545 elif $ac_last_try; then
54546 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54547 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54548 { (exit 1); exit 1; }; }
54550 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54554 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54555 if test -n "$ac_eof"; then
54556 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54557 ac_eof=`expr $ac_eof + 1`
54560 cat >>$CONFIG_STATUS <<_ACEOF
54561 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54562 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54565 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54566 s/^/s,@/; s/!/@,|#_!!_#|/
54569 s/'"$ac_delim"'$/,g/; t
54571 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54572 ' >>$CONFIG_STATUS <conf$$subs.sed
54573 rm -f conf$$subs.sed
54574 cat >>$CONFIG_STATUS <<_ACEOF
54580 for ac_last_try in false false false false false :; do
54581 cat >conf$$subs.sed <<_ACEOF
54582 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54583 GCC_PCH!$GCC_PCH$ac_delim
54584 ICC_PCH!$ICC_PCH$ac_delim
54585 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54586 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54587 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54588 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54589 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54590 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54591 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54592 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54593 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54594 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54595 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54596 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54597 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54598 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54599 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54600 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54601 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54602 COND_BUILD_release!$COND_BUILD_release$ac_delim
54603 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54604 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54605 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54606 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54607 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54608 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54609 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54610 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54611 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54612 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54613 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54614 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54615 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54616 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54617 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54618 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54619 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54620 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54621 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
54622 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54623 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54624 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54625 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54626 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54627 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54628 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54629 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54630 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54631 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54632 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54633 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
54634 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54635 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54636 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54637 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54638 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54639 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54640 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54641 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54642 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54643 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54644 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54645 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54646 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54647 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54648 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54649 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
54650 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54651 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54652 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54653 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54654 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54655 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54656 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54657 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54658 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54659 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54660 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54661 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54662 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
54663 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54664 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
54665 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54666 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
54667 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54668 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54669 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54670 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54671 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54672 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54673 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54674 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54675 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54676 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54677 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54678 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54681 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54683 elif $ac_last_try; then
54684 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54685 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54686 { (exit 1); exit 1; }; }
54688 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54692 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54693 if test -n "$ac_eof"; then
54694 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54695 ac_eof=`expr $ac_eof + 1`
54698 cat >>$CONFIG_STATUS <<_ACEOF
54699 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54700 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54703 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54704 s/^/s,@/; s/!/@,|#_!!_#|/
54707 s/'"$ac_delim"'$/,g/; t
54709 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54710 ' >>$CONFIG_STATUS <conf$$subs.sed
54711 rm -f conf$$subs.sed
54712 cat >>$CONFIG_STATUS <<_ACEOF
54718 for ac_last_try in false false false false false :; do
54719 cat >conf$$subs.sed <<_ACEOF
54720 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54721 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54722 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54723 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54724 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54725 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54726 COND_SHARED_0!$COND_SHARED_0$ac_delim
54727 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54728 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54729 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54730 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54731 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54732 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54733 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54734 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54735 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54736 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54737 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54738 COND_SHARED_1!$COND_SHARED_1$ac_delim
54739 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54740 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54741 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54742 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54743 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54744 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54745 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54746 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54751 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54752 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54753 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54754 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54755 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54756 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54757 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54758 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54759 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54760 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54761 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54762 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54763 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54764 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54765 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54766 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54767 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54768 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54769 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54770 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54771 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54772 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54773 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54774 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54775 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54776 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54777 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54778 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54779 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54780 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54781 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54782 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54783 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54784 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54785 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54786 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54787 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54788 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54789 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54790 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54791 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54792 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54793 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54794 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54795 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54796 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54797 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54798 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54799 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54800 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54801 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54802 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54803 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54804 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54805 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54806 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54807 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54808 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54809 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54810 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54811 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54812 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54813 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54814 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54815 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54816 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54819 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54821 elif $ac_last_try; then
54822 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54823 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54824 { (exit 1); exit 1; }; }
54826 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54830 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54831 if test -n "$ac_eof"; then
54832 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54833 ac_eof=`expr $ac_eof + 1`
54836 cat >>$CONFIG_STATUS <<_ACEOF
54837 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54838 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54841 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54842 s/^/s,@/; s/!/@,|#_!!_#|/
54845 s/'"$ac_delim"'$/,g/; t
54847 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54848 ' >>$CONFIG_STATUS <conf$$subs.sed
54849 rm -f conf$$subs.sed
54850 cat >>$CONFIG_STATUS <<_ACEOF
54856 for ac_last_try in false false false false false :; do
54857 cat >conf$$subs.sed <<_ACEOF
54858 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54859 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54860 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54861 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54862 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54863 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54864 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54865 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54866 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54867 DEREZ!$DEREZ$ac_delim
54868 SHARED!$SHARED$ac_delim
54869 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54870 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54871 USE_GUI!$USE_GUI$ac_delim
54872 AFMINSTALL!$AFMINSTALL$ac_delim
54873 WIN32INSTALL!$WIN32INSTALL$ac_delim
54874 TOOLKIT!$TOOLKIT$ac_delim
54875 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54876 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54877 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54878 cross_compiling!$cross_compiling$ac_delim
54879 WIDGET_SET!$WIDGET_SET$ac_delim
54880 WX_RELEASE!$WX_RELEASE$ac_delim
54881 WX_VERSION!$WX_VERSION$ac_delim
54882 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54883 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54884 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54885 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54886 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54887 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54888 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54889 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54890 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54891 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54892 GUIDIST!$GUIDIST$ac_delim
54893 DISTDIR!$DISTDIR$ac_delim
54894 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54895 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54896 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54897 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54898 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54899 RESCOMP!$RESCOMP$ac_delim
54900 RESFLAGS!$RESFLAGS$ac_delim
54901 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54902 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54903 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54904 LIBWXMACRES!$LIBWXMACRES$ac_delim
54905 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54906 MACSETFILE!$MACSETFILE$ac_delim
54908 DLLTOOL!$DLLTOOL$ac_delim
54909 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54910 LIBOBJS!$LIBOBJS$ac_delim
54911 LTLIBOBJS!$LTLIBOBJS$ac_delim
54914 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
54916 elif $ac_last_try; then
54917 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54918 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54919 { (exit 1); exit 1; }; }
54921 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54925 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54926 if test -n "$ac_eof"; then
54927 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54928 ac_eof=`expr $ac_eof + 1`
54931 cat >>$CONFIG_STATUS <<_ACEOF
54932 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54933 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54936 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54937 s/^/s,@/; s/!/@,|#_!!_#|/
54940 s/'"$ac_delim"'$/,g/; t
54942 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54943 ' >>$CONFIG_STATUS <conf$$subs.sed
54944 rm -f conf$$subs.sed
54945 cat >>$CONFIG_STATUS <<_ACEOF
54952 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54953 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54954 # trailing colons and then remove the whole line if VPATH becomes empty
54955 # (actually we leave an empty line to preserve line numbers).
54956 if test "x$srcdir" = x.; then
54957 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54958 s/:*\$(srcdir):*/:/
54959 s/:*\${srcdir}:*/:/
54961 s/^\([^=]*=[ ]*\):*/\1/
54967 cat >>$CONFIG_STATUS <<\_ACEOF
54968 fi # test -n "$CONFIG_FILES"
54971 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54974 :[FHLC]) ac_mode=$ac_tag; continue;;
54976 case $ac_mode$ac_tag in
54978 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54979 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54980 { (exit 1); exit 1; }; };;
54981 :[FH]-) ac_tag=-:-;;
54982 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54999 -) ac_f="$tmp/stdin";;
55000 *) # Look for the file first in the build tree, then in the source tree
55001 # (if the path is not absolute). The absolute path cannot be DOS-style,
55002 # because $ac_f cannot contain `:'.
55006 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
55008 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
55009 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
55010 { (exit 1); exit 1; }; };;
55012 ac_file_inputs="$ac_file_inputs $ac_f"
55015 # Let's still pretend it is `configure' which instantiates (i.e., don't
55016 # use $as_me), people would be surprised to read:
55017 # /* config.h. Generated by config.status. */
55018 configure_input="Generated from "`IFS=:
55019 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
55020 if test x"$ac_file" != x-; then
55021 configure_input="$ac_file. $configure_input"
55022 { echo "$as_me:$LINENO: creating $ac_file" >&5
55023 echo "$as_me: creating $ac_file" >&6;}
55027 *:-:* | *:-) cat >"$tmp/stdin";;
55032 ac_dir=`$as_dirname -- "$ac_file" ||
55033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55034 X"$ac_file" : 'X\(//\)[^/]' \| \
55035 X"$ac_file" : 'X\(//\)$' \| \
55036 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
55038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55042 /^X\(\/\/\)[^/].*/{
55057 -*) as_dir=./$as_dir;;
55059 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55063 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55064 *) as_qdir=$as_dir;;
55066 as_dirs="'$as_qdir' $as_dirs"
55067 as_dir=`$as_dirname -- "$as_dir" ||
55068 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55069 X"$as_dir" : 'X\(//\)[^/]' \| \
55070 X"$as_dir" : 'X\(//\)$' \| \
55071 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55077 /^X\(\/\/\)[^/].*/{
55090 test -d "$as_dir" && break
55092 test -z "$as_dirs" || eval "mkdir $as_dirs"
55093 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55094 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55095 { (exit 1); exit 1; }; }; }
55099 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55101 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55102 # A ".." for each directory in $ac_dir_suffix.
55103 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55104 case $ac_top_builddir_sub in
55105 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55106 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55109 ac_abs_top_builddir=$ac_pwd
55110 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55111 # for backward compatibility:
55112 ac_top_builddir=$ac_top_build_prefix
55115 .) # We are building in place.
55117 ac_top_srcdir=$ac_top_builddir_sub
55118 ac_abs_top_srcdir=$ac_pwd ;;
55119 [\\/]* | ?:[\\/]* ) # Absolute name.
55120 ac_srcdir=$srcdir$ac_dir_suffix;
55121 ac_top_srcdir=$srcdir
55122 ac_abs_top_srcdir=$srcdir ;;
55123 *) # Relative name.
55124 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55125 ac_top_srcdir=$ac_top_build_prefix$srcdir
55126 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55128 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55138 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
55139 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
55143 cat >>$CONFIG_STATUS <<\_ACEOF
55144 # If the template does not know about datarootdir, expand it.
55145 # FIXME: This hack should be removed a few years after 2.60.
55146 ac_datarootdir_hack=; ac_datarootdir_seen=
55148 case `sed -n '/datarootdir/ {
55157 ' $ac_file_inputs` in
55158 *datarootdir*) ac_datarootdir_seen=yes;;
55159 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
55160 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
55161 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
55163 cat >>$CONFIG_STATUS <<_ACEOF
55164 ac_datarootdir_hack='
55165 s&@datadir@&$datadir&g
55166 s&@docdir@&$docdir&g
55167 s&@infodir@&$infodir&g
55168 s&@localedir@&$localedir&g
55169 s&@mandir@&$mandir&g
55170 s&\\\${datarootdir}&$datarootdir&g' ;;
55174 # Neutralize VPATH when `$srcdir' = `.'.
55175 # Shell code in configure.ac might set extrasub.
55176 # FIXME: do we really want to maintain this feature?
55177 cat >>$CONFIG_STATUS <<_ACEOF
55181 cat >>$CONFIG_STATUS <<\_ACEOF
55183 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55184 s&@configure_input@&$configure_input&;t t
55185 s&@top_builddir@&$ac_top_builddir_sub&;t t
55186 s&@srcdir@&$ac_srcdir&;t t
55187 s&@abs_srcdir@&$ac_abs_srcdir&;t t
55188 s&@top_srcdir@&$ac_top_srcdir&;t t
55189 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
55190 s&@builddir@&$ac_builddir&;t t
55191 s&@abs_builddir@&$ac_abs_builddir&;t t
55192 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
55193 s&@INSTALL@&$ac_INSTALL&;t t
55194 $ac_datarootdir_hack
55195 " $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
55197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
55198 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
55199 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
55200 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55201 which seems to be undefined. Please make sure it is defined." >&5
55202 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55203 which seems to be undefined. Please make sure it is defined." >&2;}
55207 -) cat "$tmp/out"; rm -f "$tmp/out";;
55208 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
55217 # Transform confdefs.h into a sed script `conftest.defines', that
55218 # substitutes the proper values into config.h.in to produce config.h.
55219 rm -f conftest.defines conftest.tail
55220 # First, append a space to every undef/define line, to ease matching.
55221 echo 's/$/ /' >conftest.defines
55222 # Then, protect against being on the right side of a sed subst, or in
55223 # an unquoted here document, in config.status. If some macros were
55224 # called several times there might be several #defines for the same
55225 # symbol, which is useless. But do not sort them, since the last
55226 # AC_DEFINE must be honored.
55227 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
55228 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
55229 # NAME is the cpp macro being defined, VALUE is the value it is being given.
55230 # PARAMS is the parameter list in the macro definition--in most cases, it's
55231 # just an empty string.
55232 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
55233 ac_dB='\\)[ (].*,\\1define\\2'
55241 s/^[ ]*#[ ]*define[ ][ ]*//
55246 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
55247 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
55248 ' >>conftest.defines
55250 # Remove the space that was appended to ease matching.
55251 # Then replace #undef with comments. This is necessary, for
55252 # example, in the case of _POSIX_SOURCE, which is predefined and required
55253 # on some systems where configure will not decide to define it.
55254 # (The regexp can be short, since the line contains either #define or #undef.)
55256 s,^[ #]*u.*,/* & */,' >>conftest.defines
55258 # Break up conftest.defines:
55259 ac_max_sed_lines=50
55261 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55262 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55263 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55265 ac_in='$ac_file_inputs'
55266 ac_out='"$tmp/out1"'
55267 ac_nxt='"$tmp/out2"'
55271 # Write a here document:
55272 cat >>$CONFIG_STATUS <<_ACEOF
55273 # First, check the format of the line:
55274 cat >"\$tmp/defines.sed" <<\\CEOF
55275 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55276 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55280 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
55282 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55283 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
55284 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
55285 grep . conftest.tail >/dev/null || break
55286 rm -f conftest.defines
55287 mv conftest.tail conftest.defines
55289 rm -f conftest.defines conftest.tail
55291 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55292 cat >>$CONFIG_STATUS <<\_ACEOF
55293 if test x"$ac_file" != x-; then
55294 echo "/* $configure_input */" >"$tmp/config.h"
55295 cat "$ac_result" >>"$tmp/config.h"
55296 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
55297 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55298 echo "$as_me: $ac_file is unchanged" >&6;}
55301 mv "$tmp/config.h" $ac_file
55304 echo "/* $configure_input */"
55310 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
55311 echo "$as_me: executing $ac_file commands" >&6;}
55316 case $ac_file$ac_mode in
55318 mkdir -p $outdir &&
55319 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
55321 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
55322 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
55323 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
55324 "wx-config":C) rm -f wx-config
55325 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
55332 { (exit 0); exit 0; }
55334 chmod +x $CONFIG_STATUS
55335 ac_clean_files=$ac_clean_files_save
55338 # configure is writing to config.log, and then calls config.status.
55339 # config.status does its own redirection, appending to config.log.
55340 # Unfortunately, on DOS this fails, as config.log is still kept open
55341 # by configure, so config.status won't be able to write to it; its
55342 # output is simply discarded. So we exec the FD to /dev/null,
55343 # effectively closing config.log, so it can be properly (re)opened and
55344 # appended to by config.status. When coming back to configure, we
55345 # need to make the FD available again.
55346 if test "$no_create" != yes; then
55348 ac_config_status_args=
55349 test "$silent" = yes &&
55350 ac_config_status_args="$ac_config_status_args --quiet"
55352 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
55354 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
55355 # would make configure fail if this is the last instruction.
55356 $ac_cs_success || { (exit 1); exit 1; }
55360 # CONFIG_SUBDIRS section.
55362 if test "$no_recursion" != yes; then
55364 # Remove --cache-file and --srcdir arguments so they do not pile up.
55365 ac_sub_configure_args=
55367 eval "set x $ac_configure_args"
55371 if test -n "$ac_prev"; then
55376 -cache-file | --cache-file | --cache-fil | --cache-fi \
55377 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55378 ac_prev=cache_file ;;
55379 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55380 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55383 --config-cache | -C)
55385 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55387 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55389 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55391 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55395 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55397 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
55401 # Always prepend --prefix to ensure using the same prefix
55402 # in subdir configurations.
55403 ac_arg="--prefix=$prefix"
55405 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55407 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
55410 if test "$silent" = yes; then
55411 ac_sub_configure_args="--silent $ac_sub_configure_args"
55415 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
55417 # Do not complain, so a configure script can configure whichever
55418 # parts of a large source tree are present.
55419 test -d "$srcdir/$ac_dir" || continue
55421 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55422 echo "$as_me:$LINENO: $ac_msg" >&5
55426 -*) as_dir=./$as_dir;;
55428 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55432 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55433 *) as_qdir=$as_dir;;
55435 as_dirs="'$as_qdir' $as_dirs"
55436 as_dir=`$as_dirname -- "$as_dir" ||
55437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55438 X"$as_dir" : 'X\(//\)[^/]' \| \
55439 X"$as_dir" : 'X\(//\)$' \| \
55440 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55446 /^X\(\/\/\)[^/].*/{
55459 test -d "$as_dir" && break
55461 test -z "$as_dirs" || eval "mkdir $as_dirs"
55462 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55463 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55464 { (exit 1); exit 1; }; }; }
55468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55470 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55471 # A ".." for each directory in $ac_dir_suffix.
55472 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55473 case $ac_top_builddir_sub in
55474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55478 ac_abs_top_builddir=$ac_pwd
55479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55480 # for backward compatibility:
55481 ac_top_builddir=$ac_top_build_prefix
55484 .) # We are building in place.
55486 ac_top_srcdir=$ac_top_builddir_sub
55487 ac_abs_top_srcdir=$ac_pwd ;;
55488 [\\/]* | ?:[\\/]* ) # Absolute name.
55489 ac_srcdir=$srcdir$ac_dir_suffix;
55490 ac_top_srcdir=$srcdir
55491 ac_abs_top_srcdir=$srcdir ;;
55492 *) # Relative name.
55493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55494 ac_top_srcdir=$ac_top_build_prefix$srcdir
55495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55502 # Check for guested configure; otherwise get Cygnus style configure.
55503 if test -f "$ac_srcdir/configure.gnu"; then
55504 ac_sub_configure=$ac_srcdir/configure.gnu
55505 elif test -f "$ac_srcdir/configure"; then
55506 ac_sub_configure=$ac_srcdir/configure
55507 elif test -f "$ac_srcdir/configure.in"; then
55508 # This should be Cygnus configure.
55509 ac_sub_configure=$ac_aux_dir/configure
55511 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55512 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55516 # The recursion is here.
55517 if test -n "$ac_sub_configure"; then
55518 # Make the cache file name correct relative to the subdirectory.
55519 case $cache_file in
55520 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55521 *) # Relative name.
55522 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55525 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55526 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55527 # The eval makes quoting arguments work.
55528 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55529 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55530 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55531 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55532 { (exit 1); exit 1; }; }
55541 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55543 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55544 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55545 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55546 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55547 if test "$wxUSE_UNICODE" = "yes"; then
55548 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55549 echo " (using UTF-8)"
55551 echo " (using wchar_t)"
55557 echo " What level of wxWidgets compatibility should be enabled?"
55558 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55559 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55561 echo " Which libraries should wxWidgets use?"
55562 echo " STL ${wxUSE_STL}"
55563 echo " jpeg ${wxUSE_LIBJPEG-none}"
55564 echo " png ${wxUSE_LIBPNG-none}"
55565 echo " regex ${wxUSE_REGEX}"
55566 echo " tiff ${wxUSE_LIBTIFF-none}"
55567 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55568 echo " xpm ${wxUSE_LIBXPM-none}"
55570 echo " zlib ${wxUSE_ZLIB}"
55571 echo " expat ${wxUSE_EXPAT}"
55572 echo " libmspack ${wxUSE_LIBMSPACK}"
55573 echo " sdl ${wxUSE_LIBSDL}"